/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Nov 27 2025 | 03:31:36 */
/* Smooth transitions for product filtering animations */
.custom-product-grid-item {
    transition: opacity 0.4s ease-in-out, 
                transform 0.4s ease-in-out, 
                filter 0.4s ease-in-out;
}

/* Hidden state for filtered out products */
.custom-product-grid-item.filter-hidden {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(5px);
    pointer-events: none;
    /* Remove from flex flow entirely */
    display: none !important;
}

/* Active state for visible products - smooth repositioning */
/* Note: Your existing CSS already handles the flexbox layout,
   so we just add transition support here */
.product-grid-custom-row {
    transition: all 0.3s ease-in-out;
}

/* Active tag styling */
.sp-tag-link {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    /* Smooth anti-aliased rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Preserve tag container alignment */
.product_tags {
    text-align: center;
}

.sp-tag-link:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background-color: #FF1497;
    color: white !important;
}

.sp-tag-link.active {
    background: linear-gradient(135deg, #ff1497 0%, #ff4db3 50%, #ff1497 100%);
    background-size: 200% 100%;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 20, 151, 0.4);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Clear filter button */
.clear-filters-btn {
    display: inline-block;
    margin-left: 10px;
    padding: 6px 16px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    /* Remove from layout flow when hidden */
    position: absolute;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    visibility: hidden;
}

.clear-filters-btn.show {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
    visibility: visible;
}

.clear-filters-btn:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

/* Product count indicator */
.products-count {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 12px;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    color: #6c757d;
    transition: all 0.3s ease;
}

/* Load More button adjustments */
.load-more-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
    transition: opacity 0.3s ease;
}

.load-more-container.filter-hidden {
    opacity: 0;
    pointer-events: none;
}

/* Stagger animation delay classes (added dynamically by JS) */
.custom-product-grid-item[style*="transition-delay"] {
    transition: opacity 0.4s ease-in-out, 
                transform 0.4s ease-in-out, 
                filter 0.4s ease-in-out;
}

/* Ensure moreBox items are hidden */
.custom-product-grid-item.moreBox {
    display: none !important;
}