/* Mobile Menu Transition */
.mobile-menu {
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.4s;
}

.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

html {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: clip;
    max-width: 100vw;
}

.font-display {
    font-family: 'Manrope', sans-serif;
}

/* MARQUEE ANIMATION */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* GRADIENT TEXT ANIMATION */
@keyframes gradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    animation: gradient 3s ease infinite;
}

/* ============================================
   SHOP PAGE STYLES
   ============================================ */

/* Pagination */
.welkem-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.welkem-pagination .page-numbers li {
    display: inline-flex;
}

.welkem-pagination .page-numbers a,
.welkem-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background: white;
    color: #475569;
}

.welkem-pagination .page-numbers a:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
    box-shadow: 0 4px 12px -2px rgba(14, 165, 233, 0.2);
    transform: translateY(-2px);
}

.welkem-pagination .page-numbers .current {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.3);
}

.welkem-pagination .page-numbers .prev,
.welkem-pagination .page-numbers .next {
    background: #f1f5f9;
    border-color: transparent;
}

.welkem-pagination .page-numbers .prev:hover,
.welkem-pagination .page-numbers .next:hover {
    background: #0ea5e9;
    color: white;
}

/* Sorting Dropdown */
.welkem-sorting .woocommerce-ordering {
    margin: 0;
}

.welkem-sorting select {
    appearance: none;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.welkem-sorting select:hover {
    border-color: #0ea5e9;
}

.welkem-sorting select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Hide scrollbar for category pills */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Subcategory card animation */
.subcat-card {
    opacity: 0;
    transform: translateY(20px);
    animation: subcatFadeIn 0.5s ease forwards;
}

@keyframes subcatFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SIDEBAR & FILTER WIDGETS
   ============================================ */

/* Widget Container */
.widget {
    margin-bottom: 1.5rem;
}

.widget:last-child {
    margin-bottom: 0;
}

/* Widget Title */
.widget-title,
.widget .widgettitle {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Filter Lists */
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li:last-child {
    margin-bottom: 0;
}

.widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid transparent;
    border-radius: 0.625rem;
    transition: all 0.2s ease;
}

.widget ul li a:hover {
    background: white;
    border-color: #0ea5e9;
    color: #0ea5e9;
    transform: translateX(4px);
}

.widget ul li a .count {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #94a3b8;
    background: #e2e8f0;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.widget ul li a:hover .count {
    background: #0ea5e9;
    color: white;
}

/* Price Filter Widget */
.widget_price_filter .price_slider_wrapper {
    padding-top: 0.5rem;
}

.widget_price_filter .ui-slider {
    background: #e2e8f0;
    border: none;
    border-radius: 9999px;
    height: 6px;
    margin: 0 0.5rem;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
    border-radius: 9999px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background: white;
    border: 3px solid #0ea5e9;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    top: -6px;
    cursor: grab;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.widget_price_filter .ui-slider .ui-slider-handle:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

.widget_price_filter .price_slider_amount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.widget_price_filter .price_label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    order: 1;
    flex: 1;
}

.widget_price_filter .button {
    order: 2;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.widget_price_filter .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

/* Active Filters Widget */
.woocommerce-widget-layered-nav-list__item--chosen a,
.widget_layered_nav_filters ul li a {
    background: #0ea5e9 !important;
    color: white !important;
    border-color: #0ea5e9 !important;
}

.widget_layered_nav_filters ul li a::before {
    content: '✕';
    margin-right: 0.5rem;
    font-size: 0.625rem;
}

/* Product Card Enhancements */
.product-card {
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 50%, rgba(14, 165, 233, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

/* 3. SCI-FI GRID BACKGROUND */
.sci-fi-grid {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    opacity: 0.6;
}


/* 4. QUANTUM BORDER GLOW */
@keyframes borderRotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Quantum Border Animation */
.quantum-border {
    position: relative;
    overflow: hidden;
}

.quantum-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    animation: borderRotate 6s linear infinite;
    z-index: 0;
}

.quantum-border::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    z-index: 1;
}

.quantum-content {
    position: relative;
    z-index: 2;
}



/* 5. LIQUID GLASS SHIMMER (The "Squeaky Clean" look) */
.glass-shimmer {
    position: relative;
    overflow: hidden;
}

.glass-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    transform: skewX(-25deg);
    animation: shimmerPass 6s infinite;
    pointer-events: none;
}

@keyframes shimmerPass {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}



/* 6. BIO-DIGITAL PULSE (The "Active Formula" look) */
.bio-pulse {
    background-size: 200% 200%;
    animation: liquidFlow 4s ease infinite;
}

@keyframes liquidFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}



/* 7. NANO-PARTICLE (The "Cleaning Agent") */
.nano-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 20;
}

/* 8. SINGLE PRODUCT IMAGE STYLES */
img#singleproductimage {
    border-radius: 5%;
    border-style: solid;
    border-width: 10px;
    transition: transform 0.3s ease;
}



/* 9. CHEMICAL FILL SCROLLBAR */
.chemical-scroll-track {
    position: fixed;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 6px;
    height: 60vh;
    border-radius: 10px;
    z-index: 90;
    overflow: hidden;
}

.chemical-scroll-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 0.1s linear;
    border-radius: 10px;
}

.chemical-scroll-fill::after {
    /* Bubbles inside the tube */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 4px 8px;
    opacity: 0.5;
}


/* 10. LASER SCAN HOVER (For Specs) */
.spec-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    filter: blur(1px);
    transform: skewX(-20deg);
    opacity: 0;
    pointer-events: none;
}

.spec-row-hover {
    position: relative;
    overflow: hidden;
}

/* WRITING VERTICAL FIX */
.writing-vertical {
    writing-mode: horizontal-tb;
    text-orientation: upright;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Grid pattern for the blueprint */
.blueprint-grid {
    background-image:
        linear-gradient(rgba(0, 210, 239, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 239, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    border: 1px solid rgba(0, 210, 239, 0.3);
}





/* Footer Widget Styling */
.site-footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* space-y-3 */
}

.site-footer .widget ul li a {
    color: #94a3b8;
    /* slate-400 */
    transition: color 0.2s;
    text-decoration: none;
}

.site-footer .widget ul li a:hover {
    color: #0ea5e9;
    /* primary/sky-500 */
}

/* Shop Sidebar Styling */
#shop-sidebar-area .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#shop-sidebar-area .widget ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #475569;
    /* slate-600 */
}

#shop-sidebar-area .widget ul li a {
    color: inherit;
    text-decoration: none;
}

#shop-sidebar-area .widget ul li a:hover {
    color: var(--primary);
}




/* --- SHOP SIDEBAR WIDGETS --- */

/* Price Slider */
.widget_price_filter .price_slider {
    background: #e2e8f0;
    height: 4px;
    border-radius: 99px;
    margin-bottom: 20px;
    position: relative;
}

.widget_price_filter .price_slider_bar {
    background: #be1e2d;
    height: 4px;
    border-radius: 99px;
    position: absolute;
}

.widget_price_filter .price_slider_handle {
    background: white;
    border: 2px solid #be1e2d;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: -6px;
    position: absolute;
    cursor: pointer;
    outline: none;
}

.widget_price_filter .price_label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.widget_price_filter .button {
    background: #0f172a;
    color: white;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 6px;
    float: right;
    font-weight: bold;
}

/* Product Categories List */
.widget_product_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_product_categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.widget_product_categories li a {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.widget_product_categories li a:hover,
.widget_product_categories li.current-cat>a {
    color: #be1e2d;
}

/* Count Badge */
.widget_product_categories li .count {
    font-size: 10px;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 99px;
    color: #94a3b8;
    font-weight: 700;
}

/* Active Filters */
.widget_layered_nav_filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}

.widget_layered_nav_filters li {
    list-style: none;
}

.widget_layered_nav_filters a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fee2e2;
    /* red-50 */
    color: #be1e2d;
    border: 1px solid #fecaca;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
}

.widget_layered_nav_filters a::before {
    content: 'x';
    font-size: 10px;
}





/* --- SHOP SORTING --- */
.welkem-sorting .woocommerce-ordering {
    margin: 0;
}

.welkem-sorting select {
    background-color: white;
    border: 1px solid #e2e8f0;
    /* slate-200 */
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    /* slate-600 */
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    transition: all 0.2s;
}

.welkem-sorting select:hover {
    border-color: #cbd5e1;
    /* slate-300 */
    color: #1e293b;
    /* slate-800 */
}

.welkem-sorting select:focus {
    border-color: #be1e2d;
    /* primary */
    ring: 2px solid rgba(190, 30, 45, 0.2);
}

/* --- PAGINATION --- */
.welkem-pagination ul {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.welkem-pagination li {
    margin: 0;
}

.welkem-pagination span.current,
.welkem-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

/* Default Link */
.welkem-pagination a {
    background: transparent;
    color: #475569;
    /* slate-600 */
}

.welkem-pagination a:hover {
    background: #f1f5f9;
    /* slate-100 */
    color: #1e293b;
    /* slate-800 */
}

/* Active Page */
.welkem-pagination span.current {
    background: #0f172a;
    /* slate-900 */
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}



/* Toast Animations */
#toast-container {
    pointer-events: none;
}

#toast-container>div {
    pointer-events: auto;
}

/* Quick View Mobile Fix */
#quick-view-content {
    max-height: 90vh;
}

/* ============================================
   QUICK VIEW MODAL - ENHANCED & RESPONSIVE
   ============================================ */

/* Modal Container & Spring Animation */
#quick-view-modal {
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#quick-view-content {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-overflow-scrolling: touch;
}

#quick-view-modal:not(.opacity-0) #quick-view-content {
    transform: translateY(0);
}

@media (min-width: 640px) {
    #quick-view-content {
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    #quick-view-modal:not(.opacity-0) #quick-view-content {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Safe Area Inset Support for Modern Mobile Viewports */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .qv-container .sticky.bottom-0 {
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    }
}

/* Container */
.qv-container {
    background: white;
}

/* Gallery Section & Smooth Image Crossfade */
.qv-gallery {
    position: relative;
}

#qv-main-image {
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

#qv-main-image.switching {
    opacity: 0.2;
    transform: scale(0.96);
}

/* Thumbnail Micro-interactions */
.qv-thumb {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.qv-thumb:hover {
    transform: translateY(-2px);
}

.qv-thumb:active {
    transform: scale(0.92);
}

/* Variable Product Swatches */
.qv-swatch-btn {
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.qv-swatch-btn:hover {
    transform: translateY(-1px);
}

.qv-swatch-btn:active {
    transform: scale(0.94);
}

.qv-swatch-btn.qv-selected {
    box-shadow: 0 2px 8px -1px rgba(14, 165, 233, 0.4);
}

/* Primary Add to Cart Button (Brand Gradient) */
.qv-add-to-cart .single_add_to_cart_button,
.qv-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0284c7, #2563eb 50%, #1e40af);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px -3px rgba(37, 99, 235, 0.35);
}

.qv-add-to-cart .single_add_to_cart_button:hover,
.qv-btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0369a1, #1d4ed8 50%, #1e3a8a);
    box-shadow: 0 8px 25px -5px rgba(37, 99, 235, 0.45);
}

/* Quantity Input in Quick View */
.qv-add-to-cart .quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.qv-add-to-cart .quantity input[type="number"] {
    width: 80px;
    height: 48px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #f8fafc;
}

.qv-add-to-cart .quantity input[type="number"]:focus {
    outline: none;
    border-color: #0ea5e9;
}

/* Disabled Button */
.qv-btn-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 1rem;
    cursor: not-allowed;
}

/* Quantity Selector */
.qv-quantity-wrapper {
    display: flex;
    align-items: center;
}

.qv-qty-btn {
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.qv-qty-btn:active {
    transform: scale(0.92);
}

#qv-qty-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

#qv-qty-input::-webkit-outer-spin-button,
#qv-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add Button & Tactile Springs */
.qv-add-btn {
    min-height: 48px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.qv-add-btn:active {
    transform: scale(0.97);
}

/* Zoom Overlay */
#qv-zoom-overlay img {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Share Buttons */
.qv-info a[href*="facebook"]:hover {
    background: #1877f2;
}

.qv-info a[href*="twitter"]:hover {
    background: #1da1f2;
}

.qv-info a[href*="wa.me"]:hover {
    background: #25d366;
}

/* Thumbnails */
.qv-thumb {
    transition: all 0.2s ease;
}

.qv-thumb:hover {
    transform: scale(1.05);
}

/* Attributes Grid */
.qv-attributes {
    font-size: 0.875rem;
}

/* ============================================
   SIDEBAR FILTERS - ENHANCED v2
   ============================================ */

/* Filter Section Headers - Collapsible */
.widget-title,
.widget .widgettitle {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.widget-title::after,
.widget .widgettitle::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center no-repeat;
    transition: transform 0.2s ease;
}

/* Color Swatches */
.widget ul li.wc-layered-nav-term a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.widget .swatch-color {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #e2e8f0;
}

/* Rating Filter Stars */
.widget .star-rating {
    display: inline-flex;
    gap: 2px;
    color: #fbbf24;
}

/* Checkbox Style Filters */
.widget input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.widget input[type="checkbox"]:checked {
    background: #0ea5e9;
    border-color: #0ea5e9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}

/* Clear Filters Button */
.widget_layered_nav_filters {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #fcd34d;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.widget_layered_nav_filters .widgettitle {
    color: #92400e;
    border-bottom-color: #fcd34d;
}

.widget_layered_nav_filters ul li a {
    background: white;
    border-color: #fcd34d;
    color: #92400e;
}

.widget_layered_nav_filters ul li a:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

/* Filter Tags Display */
.woocommerce-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.woocommerce-active-filters .filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: #0ea5e9;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce-active-filters .filter-tag:hover {
    background: #dc2626;
}

/* --- ADD TO CART BUTTON FIXES --- */

/* 1. Hide "View Cart" text injected by WooCommerce */
.add_to_cart_button.added {
    display: flex !important;
    /* Keep flex to center icon */
    text-indent: -9999px;
    /* Push text away */
    position: relative;
    overflow: hidden;
}

/* 2. Restore Icon Position */
.add_to_cart_button.added::before {
    content: '';
    /* We will inject icon via JS, but this keeps layout stable */
    text-indent: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* --- HEADER CART COUNT BUBBLE --- */
.cart-count-bubble {
    font-family: 'Manrope', sans-serif;
    /* Use theme font */
    box-shadow: 0 2px 5px rgba(190, 30, 45, 0.4);
    /* Glow effect */
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animation class added via JS on update */
.cart-count-bubble.bump {
    transform: scale(1.5);
}




/* --- CRITICAL: HIDE "VOIR LE PANIER" TEXT --- */

/* 1. Hide the separate "View Cart" link that WC adds after the button */
a.added_to_cart {
    display: none !important;
}

/* 2. Hide text inside the button when product is added */
.add_to_cart_button.added {
    font-size: 0 !important;
    /* Hides text */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    /* Reset padding to keep circle shape */
}

/* 3. Ensure the icon remains visible */
.add_to_cart_button.added i,
.add_to_cart_button.added svg {
    font-size: 16px !important;
    /* Restore icon size */
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

/* --- MINI CART BADGE STYLING --- */
.cart-count-badge {
    background-color: rgba(6, 182, 212, 0.1);
    /* Primary/10 */
    color: #06b6d4;
    /* Primary */
    font-size: 12px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 99px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: inline-block;
    min-width: 24px;
    text-align: center;
}


/* ========================================
   WOOCOMMERCE PRODUCT GRID - HOMEPAGE FIX
   ======================================== */

/* Main Products Grid Container */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

/* Responsive Grid */
@media (max-width: 1024px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr;
    }
}

/* Individual Product Card */
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

/* Product Card Inner Styling */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
}

/* Product Image Container */
.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

/* Product Price */
.woocommerce ul.products li.product .price {
    color: #be1e2d;
    font-weight: 800;
    font-size: 1.1rem;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0f172a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: 1rem;
    transition: all 0.2s;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #be1e2d;
    transform: scale(1.05);
}

/* Clear floats Fix */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    content: none !important;
    display: none !important;
}

/* ==========================================================================
   HIDE WOOCOMMERCE ORDERING/FILTER ON SINGLE PRODUCT
   ========================================================================== */
.single-product .woocommerce-ordering,
.single-product .woocommerce-result-count,
.single-product .woocommerce-breadcrumb,
.single-product p.woocommerce-result-count {
    display: none !important;
}

/* Also hide any catalog ordering that might appear */
body.single-product select.orderby,
body.single-product form.woocommerce-ordering {
    display: none !important;
}

/* ==========================================================================
   FOOTER WIDGET MENU STYLING (Remove Button Appearance)
   ========================================================================== */
/* Reset widget menu list */
footer .widget ul,
footer .widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Reset widget menu items */
footer .widget li,
footer .widget_nav_menu li {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

/* Style footer links as simple text links */
footer .widget a,
footer .widget_nav_menu a {
    display: inline-block;
    color: rgba(148, 163, 184, 1);
    /* slate-400 */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0;
    border: none;
    background: transparent;
    transition: color 0.2s ease, transform 0.2s ease;
}

footer .widget a:hover,
footer .widget_nav_menu a:hover {
    color: #0ea5e9;
    /* primary */
    transform: translateX(4px);
}

/* Widget titles in footer */
footer .widget-title,
footer h2.widget-title,
footer h3.widget-title,
footer .widgettitle {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Space between menu items */
footer .widget li+li,
footer .widget_nav_menu li+li {
    margin-top: 0.25rem;
}

/* Submenu styling if any */
footer .widget ul ul,
footer .widget_nav_menu ul ul {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

/* Footer text widget */
footer .widget_text p {
    color: rgba(148, 163, 184, 1);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ==========================================================================
   AGGRESSIVE FOOTER WIDGET MENU RESET (with !important)
   Fixes Navigation Menu widgets displaying as buttons
   ========================================================================== */

/* Full reset for footer menu links - remove ALL button styling */
footer .widget_nav_menu .menu,
footer .widget_nav_menu ul.menu,
footer .widget_nav_menu ul,
footer .menu-footer-links-container ul,
footer .menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    background: transparent !important;
}

footer .widget_nav_menu .menu li,
footer .widget_nav_menu ul li,
footer .menu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

footer .widget_nav_menu .menu li a,
footer .widget_nav_menu ul li a,
footer .menu li a,
footer .widget a {
    display: inline-block !important;
    padding: 0.35rem 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: rgba(148, 163, 184, 1) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

footer .widget_nav_menu .menu li a:hover,
footer .widget_nav_menu ul li a:hover,
footer .menu li a:hover,
footer .widget a:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #0ea5e9 !important;
    transform: translateX(6px) !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ensure no button classes affect footer links */
footer .widget .button,
footer .widget .btn,
footer .widget [class*="button"],
footer .widget_nav_menu .button,
footer .widget_nav_menu .btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.35rem 0 !important;
}

/* ==========================================================================
   HIDE SHOP SIDEBAR ON SINGLE PRODUCT PAGES
   ========================================================================== */
body.single-product #shop-sidebar-area,
body.single-product .shop-sidebar,
body.single-product aside.widget-area,
body.single-product #secondary,
body.single-product .woocommerce-sidebar {
    display: none !important;
}

/* ==========================================================================
   MY ACCOUNT PAGE STYLES
   ========================================================================== */

/* General form field reset for My Account */
.myaccount-dark .woocommerce-Input,
.myaccount-dark .input-text,
.myaccount-dark select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
}

.myaccount-dark .woocommerce-Input:focus,
.myaccount-dark .input-text:focus,
.myaccount-dark select:focus {
    border-color: #0ea5e9 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}

.myaccount-dark .woocommerce-Input::placeholder,
.myaccount-dark .input-text::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Light theme inputs */
.myaccount-light .woocommerce-Input,
.myaccount-light .input-text,
.myaccount-light select {
    background: rgb(248, 250, 252) !important;
    border: 1px solid rgb(226, 232, 240) !important;
    color: rgb(15, 23, 42) !important;
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
}

.myaccount-light .woocommerce-Input:focus,
.myaccount-light .input-text:focus,
.myaccount-light select:focus {
    border-color: #0ea5e9 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
}

/* WooCommerce form field wrappers */
.myaccount-dark .form-row,
.myaccount-light .form-row {
    margin-bottom: 0 !important;
}

.myaccount-dark .form-row label,
.myaccount-dark .woocommerce-address-fields label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.myaccount-light .form-row label,
.myaccount-light .woocommerce-address-fields label {
    color: rgb(71, 85, 105) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

/* Required field asterisk */
.myaccount-dark .form-row label .required,
.myaccount-light .form-row label .required {
    color: #ef4444 !important;
}

/* Select dropdown arrow fix */
.myaccount-dark select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.myaccount-light select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.75rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* WooCommerce notices */
.myaccount-dark .woocommerce-message,
.myaccount-dark .woocommerce-info {
    background: rgba(14, 165, 233, 0.08) !important;
    border: 1px solid rgba(14, 165, 233, 0.3) !important;
    color: white !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

.myaccount-dark .woocommerce-error {
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: white !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

.myaccount-light .woocommerce-message,
.myaccount-light .woocommerce-info {
    background: rgba(14, 165, 233, 0.06) !important;
    border: 1px solid rgba(14, 165, 233, 0.25) !important;
    color: #0f172a !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

.myaccount-light .woocommerce-error {
    background: rgba(239, 68, 68, 0.06) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #0f172a !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0.75rem !important;
    margin-bottom: 1.5rem !important;
}

/* Hide default WooCommerce navigation (we use our custom one) */
.woocommerce-account .woocommerce-MyAccount-navigation-link a {
    text-decoration: none !important;
}

/* Price styling in dashboard */
.myaccount-dark .woocommerce-Price-amount {
    color: white !important;
}

.myaccount-light .woocommerce-Price-amount {
    color: #0f172a !important;
}

/* View order page styling */
.myaccount-dark .woocommerce-order-details,
.myaccount-dark .woocommerce-customer-details {
    color: white;
}

.myaccount-dark .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
}

.myaccount-dark .woocommerce-table--order-details th,
.myaccount-dark .woocommerce-table--order-details td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.myaccount-dark .woocommerce-table--order-details th {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.myaccount-light .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
}

.myaccount-light .woocommerce-table--order-details th,
.myaccount-light .woocommerce-table--order-details td {
    padding: 1rem;
    border-bottom: 1px solid rgb(226, 232, 240);
    text-align: left;
}

.myaccount-light .woocommerce-table--order-details th {
    color: rgb(100, 116, 139);
    font-weight: 600;
}

/* ==========================================================================
   CART & CHECKOUT PAGE STYLES
   ========================================================================== */

/* Cart quantity input styling */
.woocommerce-cart-form .quantity input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.woocommerce-cart-form .quantity input::-webkit-outer-spin-button,
.woocommerce-cart-form .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Checkout Dark Theme Form Fields */
.checkout-dark .woocommerce-input-wrapper input,
.checkout-dark .woocommerce-input-wrapper select,
.checkout-dark #billing_country_field select,
.checkout-dark #shipping_country_field select,
.checkout-dark input.input-text,
.checkout-dark select {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 0.75rem !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.95rem !important;
    height: auto !important;
}

.checkout-dark .woocommerce-input-wrapper input:focus,
.checkout-dark .woocommerce-input-wrapper select:focus,
.checkout-dark input.input-text:focus,
.checkout-dark select:focus {
    border-color: #0ea5e9 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}

.checkout-dark .woocommerce-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.checkout-dark label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
}

.checkout-dark .form-row label .required {
    color: #ef4444 !important;
}

/* Checkout Light Theme Form Fields */
.checkout-light .woocommerce-input-wrapper input,
.checkout-light .woocommerce-input-wrapper select,
.checkout-light input.input-text,
.checkout-light select {
    background: rgb(248, 250, 252) !important;
    border: 1px solid rgb(226, 232, 240) !important;
    color: rgb(15, 23, 42) !important;
    border-radius: 0.75rem !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.95rem !important;
    height: auto !important;
}

.checkout-light .woocommerce-input-wrapper input:focus,
.checkout-light .woocommerce-input-wrapper select:focus,
.checkout-light input.input-text:focus,
.checkout-light select:focus {
    border-color: #0ea5e9 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1) !important;
}

.checkout-light label {
    color: rgb(71, 85, 105) !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
}

/* Order Review Table Styling */
.checkout-dark .woocommerce-checkout-review-order-table {
    width: 100%;
    margin-bottom: 1rem;
}

.checkout-dark .woocommerce-checkout-review-order-table th,
.checkout-dark .woocommerce-checkout-review-order-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-dark .woocommerce-checkout-review-order-table .order-total {
    font-weight: 700;
    font-size: 1.125rem;
}

.checkout-dark .woocommerce-checkout-review-order-table .order-total td {
    color: #0ea5e9;
}

.checkout-light .woocommerce-checkout-review-order-table,
.checkout-dark .woocommerce-checkout-review-order-table {
    width: 100%;
}

/* Payment Methods Styling */
.checkout-dark .wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.checkout-dark .wc_payment_method {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.checkout-dark .wc_payment_method label {
    color: white !important;
    font-weight: 600;
    cursor: pointer;
}

.checkout-dark .payment_box {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.checkout-light .wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.checkout-light .wc_payment_method {
    background: rgb(248, 250, 252);
    border: 1px solid rgb(226, 232, 240);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.checkout-light .wc_payment_method label {
    color: rgb(15, 23, 42) !important;
    font-weight: 600;
    cursor: pointer;
}

.checkout-light .payment_box {
    background: white !important;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 0.75rem;
    color: rgb(71, 85, 105);
    border: 1px solid rgb(226, 232, 240);
}

/* Place Order Button */
.checkout-dark #place_order,
.checkout-light #place_order {
    width: 100%;
    padding: 1rem 2rem;
    background: #0ea5e9 !important;
    color: white !important;
    border: none !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 40px -10px rgba(14, 165, 233, 0.4);
}

.checkout-dark #place_order:hover,
.checkout-light #place_order:hover {
    background: #0284c7 !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(14, 165, 233, 0.5);
}

/* Select2 Dropdown Styling (if used) */
.checkout-dark .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.75rem !important;
    height: auto !important;
    padding: 0.5rem !important;
}

.checkout-dark .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
}

/* WooCommerce notices in checkout */
.checkout-dark .woocommerce-NoticeGroup,
.checkout-dark .woocommerce-error,
.checkout-dark .woocommerce-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: white;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.checkout-dark .woocommerce-message {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

/* Cart totals in summary */
.woocommerce-checkout-review-order .cart_item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.woocommerce-checkout-review-order .product-name {
    flex: 1;
}

.woocommerce-checkout-review-order .product-total {
    font-weight: 600;
}

/* Accessibility: Respect Reduced Motion Preferences (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ============================================================
   PULIRE TUNISIE GROUP ECOSYSTEM BAR (FOOTER & MOBILE MENU)
   ============================================================ */
.wk-ft-eco {
    padding: 22px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wk-ft-eco__in {
    display: grid;
    gap: 16px 28px;
    align-items: center;
}

@media (min-width: 1120px) {
    .wk-ft-eco__in {
        grid-template-columns: minmax(200px, 0.25fr) minmax(0, 1fr);
    }
}

.wk-ft-eco__head {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wk-ft-eco__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f8fafc;
}

.wk-ft-eco__dot {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), 0 0 10px rgba(56, 189, 248, 0.65);
}

.wk-ft-eco__sub {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(203, 213, 225, 0.64);
    max-width: 30ch;
}

.wk-ft-eco__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .wk-ft-eco__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.wk-ft-eco__list > li {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.wk-ft-eco__card {
    --ec: #0ea5e9;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 13px;
    padding: 10px 12px 10px 10px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%);
    color: #f8fafc;
    text-decoration: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.28s ease;
}

.wk-ft-eco__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(120% 100% at 0% 50%, color-mix(in srgb, var(--ec) 20%, transparent) 0%, transparent 68%);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.wk-ft-eco__card:where(:hover, :focus-visible) {
    border-color: color-mix(in srgb, var(--ec) 68%, #ffffff);
    background: rgba(255, 255, 255, 0.075);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.55);
    outline: none;
}

.wk-ft-eco__card:where(:hover, :focus-visible)::after {
    opacity: 1;
}

.wk-ft-eco__logo {
    width: 72px;
    height: 40px;
    border-radius: 10px;
    background: #fffcf7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.75);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: box-shadow 0.28s ease;
}

.wk-ft-eco__logo img {
    display: block;
    width: 86%;
    height: 78%;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.wk-ft-eco__card:where(:hover, :focus-visible) .wk-ft-eco__logo img {
    transform: scale(1.06);
}

.wk-ft-eco__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.wk-ft-eco__body strong {
    order: 1;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fffcf7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wk-ft-eco__body em {
    order: 2;
    font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1.25;
    font-style: normal;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--ec) 60%, #fffcf7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wk-ft-eco__body small {
    order: 3;
    font-size: 11.5px;
    line-height: 1.35;
    color: rgba(226, 232, 240, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wk-ft-eco__go {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    color: rgba(248, 250, 252, 0.78);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.wk-ft-eco__go svg {
    flex: none;
    width: 13px;
    height: 13px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wk-ft-eco__card:where(:hover, :focus-visible) .wk-ft-eco__go {
    background: var(--ec);
    border-color: var(--ec);
    color: #ffffff;
}

.wk-ft-eco__card:where(:hover, :focus-visible) .wk-ft-eco__go svg {
    transform: translate(1.5px, -1.5px);
}

@media (max-width: 1280px) {
    .wk-ft-eco__go > span {
        display: none;
    }
    .wk-ft-eco__go {
        padding: 7px;
    }
}

/* Mobile Menu Group Ecosystem */
.wk-mob-eco {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 360px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.wk-mob-eco__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.wk-mob-eco__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.wk-mob-eco__grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wk-mob-eco__pill {
    --ec: #0ea5e9;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #f8fafc;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wk-mob-eco__pill:where(:hover, :focus-visible) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ec);
}

.wk-mob-eco__logo {
    width: 56px;
    height: 30px;
    border-radius: 7px;
    background: #fffcf7;
    padding: 3px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wk-mob-eco__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.wk-mob-eco__txt {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.wk-mob-eco__txt em {
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: color-mix(in srgb, var(--ec) 65%, #e2e8f0);
}

.wk-mob-eco__txt strong {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
}

/* ============================================================
   QUICK VIEW & SINGLE PRODUCT ORBITAL STAGE + COMPATIBILITY
   ============================================================ */
@keyframes wk-orbit-spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.wk-qv-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
}

.wk-qv-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(76%, 340px);
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.22);
    pointer-events: none;
    animation: wk-orbit-spin 26s linear infinite;
}

.wk-qv-orbit::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--wk-orbit-color, #0ea5e9);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.wk-compat-details summary::-webkit-details-marker {
    display: none;
}

.wk-compat-details summary {
    list-style: none;
}

.wk-compat-details[open] .wk-compat-chevron {
    transform: rotate(180deg);
}


/* ============================================================
   DOSI DREAM 4-LIQUID ANIMATED SVG & COMPATIBILITY ACCORDION
   ============================================================ */
.wk-compat-details[open] .wk-compat-lbl-open {
    display: none;
}

.wk-compat-details[open] .wk-compat-lbl-close {
    display: inline;
}

.wk-dosi-svg-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.wk-dosi-svg {
    width: 100%;
    max-width: 310px;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.1));
}

.wk-dosi-svg .d {
    stroke: #0f172a;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wk-dosi-svg .d.thin {
    stroke-width: 1.1;
}

.wk-dosi-svg .d.dim {
    stroke: rgba(15, 23, 42, 0.25);
    stroke-width: 1;
}

.wk-dosi-svg .d.f {
    fill: #ffffff;
}

.wk-dosi-svg .d.f2 {
    fill: #f1f5f9;
}

.wk-dosi-svg .d.f3 {
    fill: #0f172a;
}

.wk-dosi-svg .d.a {
    stroke: #0284c7;
}

.wk-dosi-svg .dd-y {
    stroke: #eab308;
    fill: rgba(234, 179, 8, 0.22);
}

.wk-dosi-svg .dd-r {
    stroke: #e11d48;
    fill: rgba(225, 29, 72, 0.22);
}

.wk-dosi-svg .dd-b {
    stroke: #0284c7;
    fill: rgba(2, 132, 199, 0.22);
}

.wk-dosi-svg .dd-g {
    stroke: #16a34a;
    fill: rgba(22, 163, 74, 0.22);
}

.wk-dosi-svg .dd-liq {
    transform-box: fill-box;
    transform-origin: 50% 100%;
}

.wk-dosi-svg .dd-lvl-y {
    fill: rgba(234, 179, 8, 0.52);
    animation: wkDdSloshY 3.4s ease-in-out infinite alternate;
}

.wk-dosi-svg .dd-lvl-r {
    fill: rgba(225, 29, 72, 0.5);
    animation: wkDdSloshR 3.9s ease-in-out -0.9s infinite alternate;
}

.wk-dosi-svg .dd-lvl-b {
    fill: rgba(2, 132, 199, 0.5);
    animation: wkDdSloshB 3.6s ease-in-out -1.7s infinite alternate;
}

.wk-dosi-svg .dd-lvl-g {
    fill: rgba(22, 163, 74, 0.5);
    animation: wkDdSloshG 4.1s ease-in-out -2.4s infinite alternate;
}

.wk-dosi-svg .dd-wave {
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

.wk-dosi-svg .dd-wave-y {
    stroke: #ca8a04;
    animation: wkDdWave 2.6s ease-in-out infinite alternate;
}

.wk-dosi-svg .dd-wave-r {
    stroke: #be123c;
    animation: wkDdWave 2.9s ease-in-out -0.7s infinite alternate;
}

.wk-dosi-svg .dd-wave-b {
    stroke: #0369a1;
    animation: wkDdWave 2.7s ease-in-out -1.4s infinite alternate;
}

.wk-dosi-svg .dd-wave-g {
    stroke: #15803d;
    animation: wkDdWave 3.1s ease-in-out -2.1s infinite alternate;
}

.wk-dosi-svg .dd-bub {
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

.wk-dosi-svg .dd-bub-y { fill: #ca8a04; }
.wk-dosi-svg .dd-bub-r { fill: #be123c; }
.wk-dosi-svg .dd-bub-b { fill: #0369a1; }
.wk-dosi-svg .dd-bub-g { fill: #15803d; }

.wk-dosi-svg .dd-b1 { animation: wkDdBubble 2.7s ease-in infinite; }
.wk-dosi-svg .dd-b2 { animation: wkDdBubble 3.1s ease-in -0.8s infinite; }
.wk-dosi-svg .dd-b3 { animation: wkDdBubble 2.9s ease-in -1.5s infinite; }
.wk-dosi-svg .dd-b4 { animation: wkDdBubble 3.4s ease-in -2.2s infinite; }

.wk-dosi-svg .dd-flow {
    fill: none;
    stroke: #0284c7;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-dasharray: 3 5;
    animation: wkDdFlow 1.4s linear infinite;
}

.wk-dosi-svg .dd-wheel {
    transform-origin: 98px 46px;
    animation: wkDdWheel 9s linear infinite;
}

.wk-dosi-svg .dd-jet {
    stroke-dasharray: 4 4;
    animation: wkDdJet 0.8s linear infinite;
}

.wk-dosi-svg .dd-stream {
    stroke-dasharray: 4 4;
    animation: wkDdStream 0.85s linear infinite;
}

.wk-dosi-svg .drop {
    fill: rgba(2, 132, 199, 0.35);
    animation: wkDdDrop 1.6s ease-in infinite;
}

.wk-dosi-svg .drop2 {
    fill: rgba(2, 132, 199, 0.25);
    animation: wkDdDrop 1.6s ease-in -0.55s infinite;
}

.wk-dosi-svg .drop3 {
    fill: rgba(2, 132, 199, 0.25);
    animation: wkDdDrop 1.6s ease-in -1.1s infinite;
}

@keyframes wkDdSloshY {
    0%   { transform: scaleY(0.92) skewX(-2.5deg); }
    50%  { transform: scaleY(1.06) skewX(2deg); }
    100% { transform: scaleY(0.96) skewX(-1.5deg); }
}

@keyframes wkDdSloshR {
    0%   { transform: scaleY(1.05) skewX(2.5deg); }
    50%  { transform: scaleY(0.91) skewX(-2deg); }
    100% { transform: scaleY(1.03) skewX(1.5deg); }
}

@keyframes wkDdSloshB {
    0%   { transform: scaleY(0.94) skewX(2deg); }
    50%  { transform: scaleY(1.07) skewX(-2.5deg); }
    100% { transform: scaleY(0.97) skewX(1.5deg); }
}

@keyframes wkDdSloshG {
    0%   { transform: scaleY(1.04) skewX(-2deg); }
    50%  { transform: scaleY(0.90) skewX(2.5deg); }
    100% { transform: scaleY(1.02) skewX(-1.5deg); }
}

@keyframes wkDdWave {
    0%   { transform: translateY(1px) scaleX(0.97); }
    100% { transform: translateY(-1.8px) scaleX(1.03); }
}

@keyframes wkDdBubble {
    0%   { transform: translateY(0) scale(0.75); opacity: 0; }
    25%  { opacity: 0.85; }
    85%  { opacity: 0.65; }
    100% { transform: translateY(-16px) scale(1.2); opacity: 0; }
}

@keyframes wkDdFlow {
    to { stroke-dashoffset: -16; }
}

@keyframes wkDdWheel {
    to { transform: rotate(360deg); }
}

@keyframes wkDdJet {
    to { stroke-dashoffset: -16; }
}

@keyframes wkDdStream {
    to { stroke-dashoffset: -16; }
}

@keyframes wkDdDrop {
    0%   { transform: translateY(-4px) scale(0.7); opacity: 0; }
    35%  { opacity: 1; }
    100% { transform: translateY(7px) scale(1.1); opacity: 0; }
}
