/* ==========================================================================
   Dedicated Product Card Styles (product-cards.css)
   Isolated to prevent conflicts and ensure clean, high-contrast rendering
   ========================================================================== */

/* --- 1. Base Product Card Box --- */
.product-card,
.woocommerce ul.products li.product .product-card,
.woocommerce-page ul.products li.product .product-card,
.card.product-card,
.product-item .product-card {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1.5px solid #eaeaea !important;
    border-radius: 18px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* --- 2. Hover Effect (No Movement / No Zoom, just sleek border & shadow) --- */
.product-card:hover,
.woocommerce ul.products li.product .product-card:hover,
.woocommerce-page ul.products li.product .product-card:hover,
.card.product-card:hover,
.product-item .product-card:hover {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-color: var(--primary-color, #5A6FDC) !important;
    box-shadow: 0 12px 28px rgba(90, 111, 220, 0.12) !important;
    transform: none !important;
}

/* --- 3. Product Image Wrapper --- */
.product-card .product-image-wrapper {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-radius: 18px 18px 0 0 !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .product-card .product-image-wrapper {
        padding: 12px !important;
    }
}

.product-card .product-image-wrapper a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
}

.product-card .product-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: none !important; /* Prevent jumping or zooming on hover */
}

/* --- 4. Product Info & Text --- */
.product-card .product-info {
    background-color: #ffffff !important;
    background: #ffffff !important;
    padding: 1rem 1.25rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    text-align: center !important;
    border-top: 1px solid #f8f9fa !important;
}

.product-card .product-title {
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.52 !important;
    margin: 0.5rem 0 !important;
    height: auto !important;
    min-height: 44px;
}

.product-card .product-title a {
    color: var(--secondary-color, #2D376E) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
}

@media (max-width: 768px) {
    .product-card .product-title {
        font-size: 0.88rem !important;
        line-height: 1.48 !important;
        min-height: 40px;
        margin: 0.35rem 0 !important;
    }
}

.product-card:hover .product-title a {
    color: var(--primary-color, #5A6FDC) !important;
}

/* --- 5. Price Display --- */
.product-card .price-wrapper {
    margin-top: 0.75rem !important;
    font-weight: 700 !important;
    font-size: clamp(0.9rem, 4vw, 1.05rem) !important;
    color: var(--primary-color, #5A6FDC) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    row-gap: 4px !important;
    max-width: 100% !important;
}

.product-card .price-wrapper .price {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    row-gap: 4px !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.product-card .price-wrapper del, 
.product-card .price-wrapper del *, 
.product-card .price-wrapper del .woocommerce-Price-amount {
    color: #94a3b8 !important;
    font-size: clamp(0.75rem, 3vw, 0.85rem) !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    position: relative !important;
    display: inline-block !important;
    padding: 0 3px !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

@keyframes strike-anim {
    from { width: 0; }
    to { width: 100%; }
}

.product-card .price-wrapper del::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    top: var(--sparko-strike-top, 50%) !important;
    bottom: var(--sparko-strike-bottom, auto) !important;
    width: 0;
    height: 1.5px !important;
    background-color: #ef4444 !important;
    transform: translateY(var(--sparko-strike-translateY, -50%)) rotate(var(--sparko-strike-angle, 4deg)) !important;
    transform-origin: var(--sparko-strike-origin, right center) !important;
    animation: strike-anim 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-delay: 0.1s !important;
    opacity: 0.8 !important;
}

.product-card .price-wrapper ins, .product-card .price-wrapper ins .woocommerce-Price-amount {
    text-decoration: none !important;
    color: #10b981 !important;
    font-weight: 700 !important;
    font-size: clamp(0.9rem, 4vw, 1.05rem) !important;
}

.product-card .price-wrapper > .woocommerce-Price-amount {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

.product-card .price-wrapper .woocommerce-Price-currencySymbol {
    font-size: 0.85em !important;
    font-weight: normal !important;
    vertical-align: 1px !important;
    display: inline-block !important;
    position: relative !important;
    top: -1px !important;
    margin-right: 4px !important;
}

/* --- 6. Action Buttons inside Card --- */
.product-card .btn-outline-custom {
    border: 1.5px solid var(--primary-color, #5A6FDC) !important;
    color: var(--primary-color, #5A6FDC) !important;
    background: transparent !important;
    font-weight: 600 !important;
    border-radius: 50rem !important;
    transition: all 0.25s ease !important;
}

.product-card:hover .btn-outline-custom,
.product-card .btn-outline-custom:hover {
    background: var(--primary-color, #5A6FDC) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(90, 111, 220, 0.25) !important;
}

/* --- 7. Badges (Sale / New / Discount) --- */
.product-card .badge,
.product-card .onsale,
.product-card .new-badge {
    z-index: 10 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

/* --- 8. Shop Sidebar Sticky Wrapper & Recently Viewed Widget --- */
.shop-sidebar-sticky-wrapper {
    position: sticky;
    top: 155px !important;
    z-index: 10;
    align-self: flex-start;
    width: 100%;
    transition: top 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Move the sidebar up when the sticky header hides on scroll */
body:has(.site-header.header-hidden) .shop-sidebar-sticky-wrapper,
body:has(.main-header.header-hidden) .shop-sidebar-sticky-wrapper {
    top: 20px !important;
}

.shop-sidebar-sticky-wrapper .filter-sidebar.premium-filter-box {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
}

/* Smaller titles and icons in sticky boxes (Filters & Recently Viewed) */
.filter-box-header .filter-icon-wrapper {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
}

.filter-box-header h5,
.filter-box-header h6,
.filter-box-header .fs-6 {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
}

/* Recently Viewed Box Styling (Clean, no border, no shaking on hover) */
.recently-viewed-widget-box,
#recently-viewed-widget-box {
    transition: all 0.3s ease !important;
    border-radius: 24px !important;
    background: #ffffff !important;
}

.recently-viewed-widget-box .recently-viewed-card,
#recently-viewed-widget-box .recently-viewed-card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.recently-viewed-widget-box .recently-viewed-card:hover,
#recently-viewed-widget-box .recently-viewed-card:hover {
    border: none !important;
    background: #f8fafd !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Product title inside Recently Viewed (max 2 lines with ellipsis) */
.recently-viewed-widget-box .recently-viewed-card h6,
.recently-viewed-widget-box .recently-viewed-card h6 a,
#recently-viewed-widget-box .recently-viewed-card h6,
#recently-viewed-widget-box .recently-viewed-card h6 a {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    height: auto !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
}

/* Slider Pagination Dots (Active dot = Primary Theme Color) */
.recently-viewed-widget-box .recently-viewed-splide,
#recently-viewed-widget-box #recentlyViewedSplide {
    padding-bottom: 25px !important;
}

.recently-viewed-widget-box .splide__pagination,
#recently-viewed-widget-box .splide__pagination {
    bottom: -5px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.recently-viewed-widget-box .splide__pagination__page,
#recently-viewed-widget-box .splide__pagination__page {
    background-color: #cbd5e1 !important;
    background: #cbd5e1 !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 3px !important;
    opacity: 0.6 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.recently-viewed-widget-box .splide__pagination__page.is-active,
#recently-viewed-widget-box .splide__pagination__page.is-active {
    background-color: var(--primary-color, #5A6FDC) !important;
    background: var(--primary-color, #5A6FDC) !important;
    width: 18px !important;
    border-radius: 10px !important;
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Hide Left/Right Arrows completely in Recently Viewed Slider */
.recently-viewed-widget-box .splide__arrows,
.recently-viewed-widget-box .splide__arrow,
#recently-viewed-widget-box .splide__arrows,
#recently-viewed-widget-box .splide__arrow {
    display: none !important;
}

/* --- 9. Mobile/Tablet Filter Offcanvas Fixes & Category Spacing --- */
#filterOffcanvas .shop-sidebar-sticky-wrapper,
#filterOffcanvas .filter-sidebar.premium-filter-box,
.offcanvas .shop-sidebar-sticky-wrapper,
.offcanvas .filter-sidebar.premium-filter-box,
@media (max-width: 991.98px) {
    .shop-sidebar-sticky-wrapper,
    .filter-sidebar.premium-filter-box {
        position: static !important;
        top: 0 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    #filterOffcanvas .filter-sidebar.premium-filter-box,
    .offcanvas .filter-sidebar.premium-filter-box {
        border: none !important;
        box-shadow: none !important;
        padding: 5px 0 !important;
        margin-bottom: 15px !important;
    }
    
    #filterOffcanvas .filter-box-header,
    .offcanvas .filter-box-header {
        display: none !important;
    }
}

/* Guarantee space between category title and count badge in mobile & desktop */
.cat-link-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
}

.cat-count-badge,
.filter-options .count,
.filter-options .badge {
    margin-right: 15px !important;
    margin-left: 15px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* --- 10. Guarantee Filter Action Button Icons Sit Before Text in RTL --- */
.filter-actions .btn,
.filter-actions button,
.filter-actions a.btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    direction: rtl !important;
}

.filter-actions .btn i,
.filter-actions button i,
.filter-actions a.btn i {
    order: 1 !important;
    margin-left: 6px !important;
    margin-right: 0 !important;
}

.filter-actions .btn span,
.filter-actions button span,
.filter-actions a.btn span {
    order: 2 !important;
}

/* ==========================================================================
   --- 11. Single Product Page Dedicated Styles (Namespace: .single-product / .single-shop-page) ---
   ========================================================================== */
.single-product .product-title-single,
.single-product h1.product_title,
.single-product .product-main-info h1,
.single-shop-page .product-title-single,
.single-shop-page h1.product_title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--secondary-color, #1e293b) !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
}

@media (max-width: 768px) {
    .single-product .product-title-single,
    .single-product h1.product_title,
    .single-product .product-main-info h1,
    .single-shop-page .product-title-single,
    .single-shop-page h1.product_title {
        font-size: 1.15rem !important;
        line-height: 1.5 !important;
    }
}

/* ==========================================================================
   --- 12. Wishlist Toggle Button Alignment & Distinct Vivid Color ---
   ========================================================================== */
/* 1. Exact Center Alignment for Circle Wishlist Buttons */
.wishlist-toggle-btn.rounded-circle,
button.wishlist-toggle-btn.rounded-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border: 0.75px solid #eaeaea !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Fix vertical centering of font-awesome heart glyph precisely */
.wishlist-toggle-btn.rounded-circle i,
button.wishlist-toggle-btn.rounded-circle i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 1.15rem !important;
    transform: translateY(1.5px) !important; /* Perfect dead center */
    transition: all 0.25s ease !important;
}

/* 2. Inactive Hover State */
.wishlist-toggle-btn:not(.active):hover {
    background-color: #fff0f6 !important;
    border-color: #ff007f !important;
    transform: scale(1.08) !important;
}
.wishlist-toggle-btn:not(.active):hover i {
    color: #ff007f !important;
}

/* 3. Active State (Added to Wishlist) -> Vivid Magenta / Hot Pink (#ff007f) */
.wishlist-toggle-btn.active,
button.wishlist-toggle-btn.active,
.btn-action-pill.wishlist-btn.active {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid #ff007f !important;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.18) !important;
}

.wishlist-toggle-btn.active i,
button.wishlist-toggle-btn.active i,
.btn-action-pill.wishlist-btn.active i {
    color: #ff007f !important; /* Vivid Magenta / Hot Pink so heart is crystal clear */
}

/* 4. Active Hover State (When removing from wishlist) -> No background clash! */
.wishlist-toggle-btn.active:hover,
button.wishlist-toggle-btn.active:hover,
.btn-action-pill.wishlist-btn.active:hover {
    background-color: #ffe4f2 !important;
    background: #ffe4f2 !important;
    border-color: #d6006b !important;
    transform: scale(1.06) !important;
}

.wishlist-toggle-btn.active:hover i,
button.wishlist-toggle-btn.active:hover i,
.btn-action-pill.wishlist-btn.active:hover i {
    color: #d6006b !important; /* Even deeper magenta on light pink background */
}

.wishlist-toggle-btn.active .wishlist-text,
.btn-action-pill.wishlist-btn.active .wishlist-text {
    color: #d6006b !important;
    font-weight: 700 !important;
}

/* 5. Hide Magnifying Glass / Zoom Icon on Single Product & Galleries */
.woocommerce-product-gallery__trigger,
.single-product-gallery-container .fa-search-plus,
.single-product-gallery-container .fa-search,
.quick-view-image span[title*="بزرگنمایی"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   --- 13. Minimal & Sleek Inline Header Bars (Replacing Bulky Banners) ---
   ========================================================================== */
/* Fallback for any legacy page-header / page-title across other pages or plugins */
.page-header {
    padding: 12px 0 !important;
    margin-bottom: 20px !important;
    background: transparent !important;
    border: none !important;
}

.page-header .page-title,
h1.page-title,
h2.page-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--secondary-color, #2D376E) !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   --- 14. Smart Mobile & Responsive Product Title Overrides (Max 3 Lines) ---
   ========================================================================== */
.product-card .product-title,
.product-card h3.product-title,
.product-title,
.recently-viewed-widget-box .recently-viewed-card h6 {
    height: auto !important;
    min-height: 42px !important;
    max-height: none !important;
    line-height: 1.5 !important;
}

.product-card .product-title a,
.product-card h3.product-title a,
.product-title a,
.recently-viewed-widget-box .recently-viewed-card h6 a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
}

@media (max-width: 768px) {
    .product-card .product-title,
    .product-card h3.product-title,
    .product-title {
        min-height: 40px !important;
        margin: 0.35rem 0 !important;
        line-height: 1.45 !important;
    }
}

/* ==========================================================================
   --- 15. Touch-Proof & Hardware-Accelerated Wishlist Heartbeat Animations ---
   ========================================================================== */
@keyframes wishlistHeartBeat {
    0% { transform: scale(1); -webkit-transform: scale(1); }
    18% { transform: scale(1.6); -webkit-transform: scale(1.6); }
    36% { transform: scale(0.82); -webkit-transform: scale(0.82); }
    54% { transform: scale(1.45); -webkit-transform: scale(1.45); }
    72% { transform: scale(0.95); -webkit-transform: scale(0.95); }
    100% { transform: scale(1); -webkit-transform: scale(1); }
}

@keyframes wishlistButtonPop {
    0% { transform: scale(1); -webkit-transform: scale(1); }
    25% { transform: scale(1.22); -webkit-transform: scale(1.22); box-shadow: 0 0 20px rgba(255, 0, 127, 0.55) !important; }
    50% { transform: scale(0.9); -webkit-transform: scale(0.9); }
    75% { transform: scale(1.1); -webkit-transform: scale(1.1); }
    100% { transform: scale(1); -webkit-transform: scale(1); }
}

button.wishlist-toggle-btn.animating,
button.wishlist-toggle-btn.heartbeat-anim,
.wishlist-toggle-btn.animating,
.wishlist-toggle-btn.heartbeat-anim,
button.btn-action-pill.wishlist-btn.animating,
button.btn-action-pill.wishlist-btn.heartbeat-anim,
.btn-action-pill.wishlist-btn.animating,
.btn-action-pill.wishlist-btn.heartbeat-anim {
    animation: wishlistButtonPop 0.62s cubic-bezier(0.17, 0.89, 0.32, 1.49) !important;
    -webkit-animation: wishlistButtonPop 0.62s cubic-bezier(0.17, 0.89, 0.32, 1.49) !important;
    transition: none !important;
    -webkit-transition: none !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transform-origin: center center !important;
    -webkit-transform-origin: center center !important;
    will-change: transform, box-shadow !important;
    -webkit-transform-style: preserve-3d !important;
}

button.wishlist-toggle-btn.animating i,
button.wishlist-toggle-btn.heartbeat-anim i,
.wishlist-toggle-btn.animating i,
.wishlist-toggle-btn.heartbeat-anim i,
button.btn-action-pill.wishlist-btn.animating i,
button.btn-action-pill.wishlist-btn.heartbeat-anim i,
.btn-action-pill.wishlist-btn.animating i,
.btn-action-pill.wishlist-btn.heartbeat-anim i,
i.heartbeat-icon {
    animation: wishlistHeartBeat 0.65s cubic-bezier(0.17, 0.89, 0.32, 1.49) !important;
    -webkit-animation: wishlistHeartBeat 0.65s cubic-bezier(0.17, 0.89, 0.32, 1.49) !important;
    transition: none !important;
    -webkit-transition: none !important;
    display: inline-block !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    transform-origin: center center !important;
    -webkit-transform-origin: center center !important;
    will-change: transform !important;
    -webkit-transform-style: preserve-3d !important;
}

/* ==========================================================================
   --- 16. Mobile Touch Tactile Feedback & Hardware-Accelerated Heartbeat ---
   ========================================================================== */
@media (max-width: 992px) {
    .wishlist-toggle-btn.rounded-circle,
    button.wishlist-toggle-btn.rounded-circle,
    .product-card .wishlist-toggle-btn,
    .btn-action-pill.wishlist-btn {
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
        will-change: transform, box-shadow !important;
        -webkit-transform-style: preserve-3d !important;
    }
    
    /* Active touch tactile micro-bounce when pressed on mobile screen */
    .wishlist-toggle-btn.rounded-circle:active,
    button.wishlist-toggle-btn.rounded-circle:active,
    .product-card .wishlist-toggle-btn:active,
    .btn-action-pill.wishlist-btn:active {
        transform: scale(0.85) !important;
        -webkit-transform: scale(0.85) !important;
        transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1) !important;
        -webkit-transition: -webkit-transform 0.12s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .wishlist-toggle-btn.rounded-circle:active i,
    button.wishlist-toggle-btn.rounded-circle:active i,
    .product-card .wishlist-toggle-btn:active i,
    .btn-action-pill.wishlist-btn:active i {
        transform: scale(1.18) translateY(1.5px) !important;
        -webkit-transform: scale(1.18) translateY(1.5px) !important;
        transition: transform 0.12s ease !important;
    }
}
/* --- Advanced Dynamic Filter Styles --- */
.sparko-custom-scroll::-webkit-scrollbar {
    width: 5px;
}
.sparko-custom-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.sparko-custom-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.sparko-custom-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Color Swatches */
.color-option-label {
    margin: 0;
    padding: 5px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.color-option-label:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}
.color-swatch-circle {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 2px 5px rgba(0,0,0,0.05);
}
.sparko-filter-checkbox:checked + .color-swatch-circle {
    transform: scale(0.9);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sparko-primary, #5a6fdc);
}

/* Box Swatches (Sizes/Capacities) */
.box-option-label {
    user-select: none;
}
.box-swatch {
    border-color: #e2e8f0 !important;
    color: #64748b;
}
.box-option-label:hover .box-swatch {
    background: #fff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-1px);
    color: #334155;
}
.sparko-filter-checkbox:checked + .box-swatch {
    background: var(--sparko-primary-light, #eff6ff) !important;
    border-color: var(--sparko-primary, #3b82f6) !important;
    color: var(--sparko-primary, #3b82f6) !important;
    box-shadow: inset 0 0 0 1px var(--sparko-primary, #3b82f6), 0 4px 10px rgba(59, 130, 246, 0.15);
    font-weight: 700 !important;
}

/* Standard Checkboxes */
.sparko-filter-checkbox {
    accent-color: var(--sparko-primary, #3b82f6);
}
.filter-option .form-check-label {
    padding: 6px 8px;
    border-radius: 8px;
    transition: background-color 0.2s;
}
.filter-option:hover .form-check-label {
    background-color: #f8fafc;
}
