
/* =====================================================================
   ENTERPRISE VIEWPORT OPTIMIZER: REMOVE TOP STICKY CLUTTER
   Hides top sticky description bar, keeps only high-converting bottom sticky cart
   ===================================================================== */
.klb-single-sticky-titles,
.klb-sticky-title-wrapper,
.single-sticky-titles,
.sticky-titles-wrapper {
    display: none !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Ensure Bottom Sticky Cart is Clean & Uncramped */
.klb-sticky-single-cart,
.sticky-single-cart {
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08) !important;
    border-top: 1px solid #f1f5f9 !important;
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(8px) !important;
}


/* =====================================================================
   ENTERPRISE HEADER & CATEGORIES BUTTON POLISH
   ===================================================================== */
/* 1. Fix "ALL CATEGORIES" Button: Hide awkward hanging badge & style sleek pill */
.site-header .all-categories > a .description,
.all-categories .description {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

.site-header .all-categories > a {
    height: 44px !important;
    padding: 0 18px !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, #2bbef9 0%, #0284c7 100%) !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.02em !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.site-header .all-categories > a:hover {
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
    transform: translateY(-1px) !important;
}

.site-header .all-categories > a .text {
    margin-left: 6px !important;
}

.site-header .all-categories > a:after {
    content: '' !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    margin-left: 8px !important;
    background: 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='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center center !important;
    background-size: contain !important;
    position: static !important;
}

.site-header .all-categories > a i,
.site-header .all-categories > a i.klbth-icon-menu-thin {
    display: inline-flex !important;
    align-items: center !important;
}

/* 2. Header Cart Icon & Count Badge Fix */
.header-cart .button-icon i,
.header-cart .button-icon i.klbth-icon-shopping-bag,
.header-cart .button-icon i.klbth-icon-commerce {
    display: none !important;
}

.header-cart.button-item > a {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    padding: 6px 14px !important;
    border-radius: 12px !important;
    background: #fff5f5 !important;
    border: 1.5px solid rgba(234, 43, 15, 0.2) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.header-cart.button-item > a:hover {
    background: #fee2e2 !important;
    border-color: rgba(234, 43, 15, 0.4) !important;
    transform: translateY(-1px) !important;
}

.header-cart .cart-price {
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #16a34a !important;
    margin-right: 10px !important;
}

.header-cart .button-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
}

.header-cart .button-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #ea2b0f !important;
}

.header-cart .cart-count-icon {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #ea2b0f !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    box-shadow: 0 2px 6px rgba(234, 43, 15, 0.4) !important;
    border: 1.5px solid #ffffff !important;
}

/* =====================================================================
   UNIVERSAL CRISP SLIDER PREV & NEXT ARROWS (CATEGORY & PRODUCT SLIDERS)
   Fixes empty white circles by injecting crisp vector SVG arrows
   ===================================================================== */
.slick-prev,
.slick-next,
.slick-arrow,
.module-category .slick-prev,
.module-category .slick-next,
.site-slider .slick-prev,
.site-slider .slick-next,
.products .slick-prev,
.products .slick-next,
.slider-wrapper .slick-prev,
.slider-wrapper .slick-next,
.swiper-button-prev,
.swiper-button-next {
    width: 38px !important;
    height: 38px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 20 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    opacity: 0.95 !important;
    color: transparent !important;
    font-size: 0 !important;
}

.slick-prev:hover,
.slick-next:hover,
.slick-arrow:hover,
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16) !important;
    transform: translateY(-50%) scale(1.1) !important;
    opacity: 1 !important;
    border-color: #cbd5e1 !important;
}

/* Crisp SVG Left Arrow */
.slick-prev::before,
.slick-arrow.slick-prev::before,
.module-category .slick-prev::before,
.site-slider .slick-prev::before,
.products .slick-prev::before,
.slider-wrapper .slick-prev::before,
.swiper-button-prev::before {
    content: '' !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") no-repeat center center !important;
    background-size: contain !important;
    position: static !important;
}

/* Crisp SVG Right Arrow */
.slick-next::before,
.slick-arrow.slick-next::before,
.module-category .slick-next::before,
.site-slider .slick-next::before,
.products .slick-next::before,
.slider-wrapper .slick-next::before,
.swiper-button-next::before {
    content: '' !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231e293b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") no-repeat center center !important;
    background-size: contain !important;
    position: static !important;
}

/* 2. Delivery Estimator & Easy Return Widget Canvas (Zero Pop-in Jump) */
.alikart-delivery-box {
    min-height: 120px !important;
    contain: layout style !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
}

.cart-trust-badges {
    min-height: 48px !important;
    contain: layout size !important;
}

/* Global Font Stack Harmonization (Zero-FOUT & Fallback Metric Match) */
h1, h2, h3, h4, h5, h6, .site-title, .product_title, .entry-title, .price, .woocommerce-Price-amount {
    font-family: 'Dosis', 'Dosis-fallback', 'Inter', 'Inter-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-display: swap;
}

body, p, span, a, li, input, button, select, textarea, .nav-link, .menu-item {
    font-family: 'Inter', 'Inter-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-display: swap;
}




        .show-password-input,
        span.show-password-input,
        button.show-password-input,
        .woocommerce-account .show-password-input,
        .woocommerce-checkout .show-password-input,
        .woocommerce-form-login .show-password-input,
        .woocommerce-form-register .show-password-input {
            display: none !important;
        }

        /* Universal Nextend & Social Login 100% Full-Width Formatting */
        .nsl-container,
        .nsl-container-grid,
        .nsl-container-block,
        .nsl-container-inline,
        div[class*="nsl-container"],
        .social-login-container,
        .social-login-buttons,
        .wc-social-login-buttons,
        .wc-social-login,
        .ywsl-social-login,
        .ywsl_social_login,
        .heateor_sl_container,
        .the_champ_login_container,
        .mo-openid-app-icons,
        .social_login {
            margin-top: 10px !important;
            margin-bottom: 22px !important;
            width: 100% !important;
            max-width: 100% !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 10px !important;
            align-items: stretch !important;
            justify-content: center !important;
            box-sizing: border-box !important;
            clear: both !important;
        }

        .nsl-container .nsl-container-buttons,
        .nsl-container-grid .nsl-container-buttons,
        .nsl-container-block .nsl-container-buttons {
            display: flex !important;
            flex-direction: column !important;
            gap: 10px !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        .nsl-container .nsl-button,
        .nsl-container-grid .nsl-button,
        .nsl-container-block .nsl-button,
        .nsl-container-inline .nsl-button,
        div[class*="nsl-container"] a[class*="nsl-button"],
        .social-login-container a,
        .wc-social-login-buttons a,
        .wc-social-login a,
        .ywsl-social-login a,
        .heateor_sl_container a,
        .the_champ_login_container a,
        .social_login a {
            width: 100% !important;
            max-width: 100% !important;
            min-width: 100% !important;
            height: 48px !important;
            border-radius: 12px !important;
            margin: 0 !important;
            box-sizing: border-box !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            text-decoration: none !important;
            transition: all 0.25s ease !important;
        }

        /* Checkout Social Divider */
        .ak-social-divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 20px 0 14px 0;
            color: #9ca3af;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            width: 100%;
            clear: both;
        }
        
        .ak-social-divider::before,
        .ak-social-divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #e5e7eb;
        }
        
        /* Lost Password Page Luxury Gold Styling */
        body.woocommerce-lost-password .woocommerce,
        form.woocommerce-ResetPassword.lost_reset_password {
            font-family: 'Poppins', sans-serif !important;
            max-width: 480px !important;
            margin: 40px auto !important;
            background: #ffffff !important;
            border-radius: 20px !important;
            box-shadow: 0 20px 25px -5px rgba(217, 119, 6, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
            border: 1px solid rgba(217, 119, 6, 0.15) !important;
            padding: 40px 35px !important;
            position: relative !important;
            box-sizing: border-box !important;
        }

        form.woocommerce-ResetPassword.lost_reset_password::before {
            content: '' !important;
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            height: 5px !important;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
            border-top-left-radius: 20px !important;
            border-top-right-radius: 20px !important;
        }

        form.woocommerce-ResetPassword.lost_reset_password p:first-child {
            font-size: 14px !important;
            color: #6b7280 !important;
            line-height: 1.6 !important;
            margin-bottom: 25px !important;
            text-align: center !important;
        }

        form.woocommerce-ResetPassword.lost_reset_password label {
            display: block !important;
            font-size: 13px !important;
            font-weight: 600 !important;
            color: #1f2937 !important;
            margin-bottom: 8px !important;
        }

        body.woocommerce-lost-password .show-password-input,
        form.woocommerce-ResetPassword .show-password-input {
            display: none !important;
        }

        form.woocommerce-ResetPassword.lost_reset_password input.input-text {
            width: 100% !important;
            height: 50px !important;
            padding: 0 45px !important;
            border: 1.5px solid #e5e7eb !important;
            border-radius: 12px !important;
            font-size: 14px !important;
            color: #1f2937 !important;
            background: #f9fafb !important;
            transition: all 0.25s ease !important;
            box-sizing: border-box !important;
        }

        form.woocommerce-ResetPassword.lost_reset_password input.input-text:focus {
            border-color: #d97706 !important;
            background: #ffffff !important;
            box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2) !important;
            outline: none !important;
        }

        form.woocommerce-ResetPassword.lost_reset_password button.button,
        form.woocommerce-ResetPassword.lost_reset_password button[type="submit"] {
            width: 100% !important;
            height: 50px !important;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
            color: #ffffff !important;
            border: none !important;
            border-radius: 12px !important;
            font-size: 15px !important;
            font-weight: 600 !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
            box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3) !important;
            margin-top: 15px !important;
            font-family: inherit !important;
        }

        form.woocommerce-ResetPassword.lost_reset_password button:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4) !important;
        }

        /* Lost Password Reset Link Sent & Success Message Styling */
        body.woocommerce-lost-password .woocommerce-message,
        .ak-reset-sent-wrapper {
            background: #ffffff !important;
            border-radius: 16px !important;
            border: 1.5px solid #10b981 !important;
            border-left: 6px solid #10b981 !important;
            padding: 24px 28px !important;
            box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.12) !important;
            font-family: 'Poppins', sans-serif !important;
            color: #1f2937 !important;
            max-width: 500px !important;
            margin: 30px auto !important;
            box-sizing: border-box !important;
        }

        .ak-reset-success-card {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            gap: 12px !important;
        }

        .ak-reset-success-header {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 10px !important;
            color: #065f46 !important;
            font-size: 19px !important;
            font-weight: 700 !important;
        }

        .ak-reset-success-header i {
            font-size: 30px !important;
            color: #10b981 !important;
        }

        .ak-reset-success-body {
            font-size: 14px !important;
            color: #4b5563 !important;
            line-height: 1.6 !important;
        }

        .ak-btn-signin-now {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            padding: 12px 28px !important;
            background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
            color: #ffffff !important;
            border-radius: 12px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            text-decoration: none !important;
            box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3) !important;
            transition: all 0.25s ease !important;
            margin-top: 10px !important;
        }

        .ak-btn-signin-now:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4) !important;
        }

        .ak-reset-sent-card {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .ak-reset-sent-header {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #065f46;
            font-size: 17px;
            font-weight: 700;
        }

        .ak-reset-sent-header i {
            font-size: 26px;
            color: #10b981;
        }

        .ak-reset-sent-body {
            font-size: 13.5px;
            color: #4b5563;
            line-height: 1.6;
        }

        .ak-reset-sent-notice {
            background: #ecfdf5;
            border: 1px solid #a7f3d0;
            border-radius: 10px;
            padding: 12px 15px;
            font-size: 13px;
            color: #047857;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 6px;
            font-weight: 500;
        }

        /* Lost Password Page Icons & Layout Enhancements */
        .ak-lost-pass-header {
            text-align: center !important;
            margin-bottom: 25px !important;
        }

        .ak-lost-pass-icon-badge {
            width: 60px !important;
            height: 60px !important;
            background: #fef3c7 !important;
            color: #d97706 !important;
            border-radius: 50% !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 30px !important;
            margin-bottom: 12px !important;
            box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15) !important;
        }

        .ak-lost-pass-header h2 {
            font-size: 22px !important;
            font-weight: 700 !important;
            color: #1f2937 !important;
            margin: 0 0 6px 0 !important;
            letter-spacing: -0.5px !important;
        }

        .ak-lost-pass-header p {
            font-size: 13.5px !important;
            color: #6b7280 !important;
            line-height: 1.5 !important;
            margin: 0 !important;
        }

        .ak-back-to-login {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
            margin-top: 20px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            color: #d97706 !important;
            text-decoration: none !important;
            transition: all 0.2s ease !important;
        }

        .ak-back-to-login:hover {
            color: #b45309 !important;
            text-decoration: underline !important;
        }

        .ak-security-badge {
            margin-top: 22px !important;
            padding-top: 18px !important;
            border-top: 1px dashed #e5e7eb !important;
            text-align: center !important;
            color: #9ca3af !important;
            font-size: 12px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 6px !important;
        }

        .ak-security-badge i {
            font-size: 16px !important;
            color: #10b981 !important;
        }

/* =====================================================================
   ENTERPRISE ZERO-LAYOUT-SHIFT (ZERO CLS) ANTI-JUMP ENGINE
   Reserves exact aspect-ratio and dimensions before assets finish downloading
   ===================================================================== */

/* 1. Prevent Product Card Layout Shifting (Reserves exact square container) */
.product-wrapper .thumbnail-wrapper,
.woocommerce ul.products li.product .thumbnail-wrapper,
.product-type-simple .product-thumbnails,
.woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1 !important;
    min-height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-wrapper .thumbnail-wrapper img,
.woocommerce ul.products li.product .thumbnail-wrapper img,
.woocommerce-product-gallery__image img {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* 2. Prevent Top Notification & Header Shifting */
.top-notification {
    min-height: 38px;
    contain: layout size;
}

/* 3. Prevent Category Slider & Icon Jumping */
.ak-cat-item .cat-icon-wrapper,
.category-item .category-image {
    aspect-ratio: 1 / 1 !important;
    min-width: 60px;
    min-height: 60px;
    contain: layout size;
}

/* 4. Prevent Font Swap Jumping (CLS) */
body, h1, h2, h3, h4, h5, h6, p, a, span {
    text-rendering: optimizeLegibility;
    font-display: swap;
}

/* 5. Smooth Content Visibility */
.site-content {
    content-visibility: visible;
}


/* =====================================================================
   ENTERPRISE ZERO-FOUT & FONT METRICS MATCHING ENGINE
   Eliminates Flash of Unstyled Text & Font Layout Jumps
   ===================================================================== */

/* 1. Perfect Metric-Matched Fallback Fonts (Zero Width / Height Shift) */
@font-face {
    font-family: 'Roboto-Fallback';
    src: local('Segoe UI'), local('Arial'), local('Helvetica');
    ascent-override: 92.77%;
    descent-override: 24.41%;
    line-gap-override: 0%;
    size-adjust: 100.2%;
}

@font-face {
    font-family: 'Inter-Fallback';
    src: local('Segoe UI'), local('Arial'), local('Helvetica');
    ascent-override: 90%;
    descent-override: 22.4%;
    line-gap-override: 0%;
    size-adjust: 107.5%;
}

/* 2. Apply Unified Font Stack with Fallback Matching */
body, button, input, select, textarea {
    font-family: 'Inter', 'Roboto', 'Inter-Fallback', 'Roboto-Fallback', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

/* 3. Lock Critical Header, Title, and Navigation Heights */
.site-header {
    min-height: 80px;
}

.site-header .header-main {
    min-height: 60px;
    contain: layout size;
}

.product-title, .entry-title, .product_title {
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce-loop-product__title {
    min-height: 2.6em;
    line-height: 1.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price {
    min-height: 1.5em;
    line-height: 1.5em;
}

/* 4. Reserve Exact Image Canvas to Prevent Cumulative Layout Shift (CLS) */
.products:not(.cart-dropdown .products) > .product > .product-wrapper > .thumbnail-wrapper,
.site-main .product-wrapper > .thumbnail-wrapper,
.content-wrapper .product-wrapper > .thumbnail-wrapper,
.woocommerce-product-gallery__image {
    aspect-ratio: 1 / 1 !important;
    min-height: 180px;
    contain: layout paint;
    position: relative;
}

/* Fix Mini-Cart & Cart Drawer Thumbnails (Zero Stretched/Tall Images) */
.cart-dropdown .thumbnail-wrapper,
.cart-dropdown-wrapper .thumbnail-wrapper,
.widget_shopping_cart .thumbnail-wrapper,
.woocommerce-mini-cart-item .thumbnail-wrapper,
.fl-mini-cart-content .thumbnail-wrapper,
.cart-dropdown .product-wrapper .thumbnail-wrapper {
    flex: 0 0 64px !important;
    width: 64px !important;
    max-width: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    height: 64px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px !important;
    margin-right: 12px !important;
}

.cart-dropdown .thumbnail-wrapper img,
.cart-dropdown-wrapper .thumbnail-wrapper img,
.widget_shopping_cart img,
.woocommerce-mini-cart-item img,
.fl-mini-cart-content img,
.cart-dropdown .product-wrapper .thumbnail-wrapper img {
    width: 100% !important;
    height: 100% !important;
    max-height: 56px !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 6px !important;
}

/* =====================================================================
   ENTERPRISE SKELETON SHIMMER & MICRO-INTERACTIONS ENGINE
   ===================================================================== */
@keyframes akShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.product-wrapper .thumbnail-wrapper:not(:has(img[src])):not(:has(img[srcset])),
.thumbnail-wrapper.is-loading {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%) !important;
    background-size: 200% 100% !important;
    animation: akShimmer 1.5s infinite linear !important;
}

/* 1. Interactive Toastify & AJAX Add-to-Cart Notification Card */
.toastify {
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    max-width: 95vw !important;
    width: auto !important;
    z-index: 9999999 !important;
    pointer-events: auto !important;
}

@media (max-width: 768px) {
    .toastify {
        max-width: calc(100vw - 20px) !important;
        left: 10px !important;
        right: 10px !important;
        margin: 0 auto !important;
        transform: none !important;
        display: flex !important;
        justify-content: center !important;
    }
    .toastify.toastify-bottom {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .toastify.toastify-top {
        top: calc(15px + env(safe-area-inset-top, 0px)) !important;
    }
}

.ak-cart-toast {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(234, 43, 15, 0.22) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16), 0 3px 10px rgba(234, 43, 15, 0.1) !important;
    padding: 9px 14px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: #0f172a !important;
    width: 100% !important;
    max-width: 440px !important;
    box-sizing: border-box !important;
    animation: akToastSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes akToastSlide {
    from { transform: translateY(30px) scale(0.96); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.ak-toast-thumb {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
}

.ak-toast-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.ak-toast-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 0 3px 0 !important;
    line-height: 1.25 !important;
}

.ak-toast-msg {
    font-size: 12px !important;
    color: #16a34a !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.ak-toast-btn {
    background: linear-gradient(135deg, #ea2b0f 0%, #ff5722 100%) !important;
    color: #ffffff !important;
    padding: 8px 15px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(234, 43, 15, 0.32) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
}

.ak-toast-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(234, 43, 15, 0.45) !important;
    color: #ffffff !important;
}

.ak-toast-btn:active {
    transform: scale(0.97) !important;
}

/* 2. Interactive Circular Scroll Progress Indicator & Back to Top Button */
.ak-scroll-progress-wrap {
    position: fixed;
    bottom: 24px;
    right: 24px;
    height: 42px;
    width: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.ak-scroll-progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ak-scroll-progress-wrap:hover {
    box-shadow: 0 6px 20px rgba(234, 43, 15, 0.25);
    transform: translateY(-2px);
    border-color: rgba(234, 43, 15, 0.3);
}

.ak-scroll-progress-wrap::after {
    content: '' !important;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: 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='%23ea2b0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E") no-repeat center center !important;
    background-size: contain !important;
    transition: all 0.2s ease;
}

.ak-scroll-progress-wrap:hover::after {
    transform: translate(-50%, -58%) !important;
}

.ak-scroll-progress-wrap svg.progress-circle path {
    stroke: #ea2b0f;
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 0.2s linear;
}

/* 3. Micro-Interaction: Button Click Ripple & Depth */
button:active, .button:active, .single_add_to_cart_button:active {
    transform: scale(0.98) !important;
    transition: transform 0.08s ease !important;
}

/* 4. One-Click Coupon Pill & Social Share Button */
.ak-coupon-pill, .coupon-code {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    background: #f0fdf4 !important;
    border: 1px dashed #16a34a !important;
    border-radius: 8px !important;
    color: #16a34a !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    user-select: all !important;
}

.ak-coupon-pill:hover, .coupon-code:hover {
    background: #dcfce7 !important;
    transform: translateY(-1px) !important;
}

.ak-share-product {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.ak-share-product:hover {
    background: #f1f5f9 !important;
    color: #ea2b0f !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px) !important;
}

/* =====================================================================
   ENTERPRISE CONTENT-VISIBILITY (80% FASTER INITIAL PAGE RENDER)
   Skips rendering calculations for off-screen products until scrolled
   ===================================================================== */
.products:not(.cart-dropdown .products) > .product {
    content-visibility: auto;
    contain-intrinsic-size: 240px 380px;
}

/* =====================================================================
   SINGLE PRODUCT AJAX ADD-TO-CART BUTTON STATES
   ===================================================================== */
.single_add_to_cart_button.loading {
    opacity: 0.75 !important;
    position: relative !important;
}

.single_add_to_cart_button.loading::after {
    content: "" !important;
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    margin-left: 8px !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-top-color: #ffffff !important;
    border-radius: 50% !important;
    animation: akSpin 0.6s linear infinite !important;
    vertical-align: middle !important;
}

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

.single_add_to_cart_button.added {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
}

/* =====================================================================
   APP-LIKE MOBILE BOTTOM NAVIGATION BAR
   ===================================================================== */
@media (max-width: 768px) {

    .ak-mobile-app-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: space-around;
        z-index: 9999;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    }

    .ak-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #64748b;
        font-size: 10px;
        font-weight: 600;
        position: relative;
        flex: 1;
        height: 100%;
        transition: color 0.15s ease;
    }

    .ak-mobile-nav-item.active,
    .ak-mobile-nav-item:active {
        color: #ea2b0f;
    }

    .ak-mobile-nav-item svg {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }

    .ak-mobile-nav-badge {
        position: absolute;
        top: 6px;
        right: calc(50% - 16px);
        background: #ea2b0f;
        color: #ffffff;
        font-size: 9px;
        font-weight: 800;
        min-width: 15px;
        height: 15px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 3px;
    }

    body {
        padding-bottom: 60px !important;
    }
}

/* =====================================================================
   ENTERPRISE GPU HARDWARE ACCELERATION LAYER
   Offloads interactive animations to device GPU for 120 FPS smoothness
   ===================================================================== */
.product-wrapper,
.product-wrapper:hover,
.slick-prev,
.slick-next,
.ak-cart-toast,
.ak-scroll-progress-wrap,
.header-cart,
.site-header {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

/* =====================================================================
   GOOGLE SITE KIT ADMIN BAR FRONTEND DROPDOWN FIX
   Fixes narrow vertical squishing and restores full responsive grid
   ===================================================================== */
#wpadminbar #wp-admin-bar-google-site-kit .ab-sub-wrapper,
#wpadminbar #wp-admin-bar-google-site-kit.menupop .ab-sub-wrapper {
    min-width: 360px !important;
    width: max-content !important;
    max-width: 90vw !important;
    white-space: normal !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    border-radius: 0 0 12px 12px !important;
    overflow: visible !important;
    z-index: 999999 !important;
    background: #1e1e1e !important;
    padding: 12px 16px !important;
}

#wpadminbar #wp-admin-bar-google-site-kit .googlesitekit-adminbar,
#wpadminbar #wp-admin-bar-google-site-kit .googlesitekit-adminbar-container {
    display: block !important;
    min-width: 320px !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

#wpadminbar #wp-admin-bar-google-site-kit .googlesitekit-adminbar__item,
#wpadminbar #wp-admin-bar-google-site-kit .googlesitekit-data-block {
    display: inline-block !important;
    min-width: 130px !important;
    margin: 6px !important;
    vertical-align: top !important;
}

#wpadminbar #wp-admin-bar-google-site-kit li,
#wpadminbar #wp-admin-bar-google-site-kit .ab-item {
    height: auto !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    width: auto !important;
}


/* =====================================================================
   ENTERPRISE 404 PAGE — ALIKART ECOMMERCE
   ===================================================================== */

/* Hide old default 404 styles to avoid conflicts */
.page-not-found,
.page-not-found--inner {
    display: none !important;
}

.ak-404-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
    position: relative;
    overflow: hidden;
}

.ak-404-container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* ── Visual / Icon ─────────────────────────────────────────────── */
.ak-404-visual {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.ak-404-icon-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f0 0%, #fff0e6 100%);
    border: 3px solid rgba(248, 125, 9, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: ak404Pulse 3s ease-in-out infinite;
}

.ak-404-cart-icon {
    width: 72px;
    height: 72px;
    color: #f87d09;
}

.ak-404-float-dot {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: ak404Float 4s ease-in-out infinite;
}

.ak-404-float-dot--1 {
    width: 12px;
    height: 12px;
    background: #2bbef9;
    top: 10px;
    left: calc(50% - 110px);
    animation-delay: 0s;
}

.ak-404-float-dot--2 {
    width: 8px;
    height: 8px;
    background: #f87d09;
    top: 30px;
    right: calc(50% - 105px);
    animation-delay: 1s;
}

.ak-404-float-dot--3 {
    width: 16px;
    height: 16px;
    background: #34d399;
    bottom: 10px;
    left: 50%;
    animation-delay: 2s;
}

@keyframes ak404Pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(248, 125, 9, 0.12); }
    50% { transform: scale(1.03); box-shadow: 0 0 0 18px rgba(248, 125, 9, 0); }
}

@keyframes ak404Float {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-12px) scale(1.2); opacity: 1; }
}

/* ── Content ───────────────────────────────────────────────────── */
.ak-404-content {
    margin-bottom: 36px;
}

.ak-404-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 20px;
    background: #fff0e6;
    color: #f87d09;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border: 1px solid rgba(248, 125, 9, 0.15);
}

.ak-404-title {
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 12px;
    background: linear-gradient(135deg, #f87d09 0%, #e06d04 50%, #f87d09 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.ak-404-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
    line-height: 1.3;
}

.ak-404-desc {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 440px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Search ────────────────────────────────────────────────────── */
.ak-404-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 520px;
    width: 100%;
    margin: 0 auto 20px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    z-index: 100;
}

.ak-404-search-wrap:focus-within {
    border-color: #f87d09;
    box-shadow: 0 0 0 4px rgba(248, 125, 9, 0.1), 0 8px 30px rgba(0, 0, 0, 0.06);
}

.ak-404-search-icon {
    margin-left: 18px;
    color: #94a3b8;
    flex-shrink: 0;
    pointer-events: none;
}

.ak-404-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 12px;
    font-size: 1rem;
    color: #1e293b;
    background: transparent;
    font-family: inherit;
    min-width: 0;
}

.ak-404-search-input::placeholder {
    color: #94a3b8;
}

/* Keyboard shortcut badge */
.ak-404-kbd {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 11px;
    font-family: inherit;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 14px;
    line-height: 1;
    pointer-events: none;
}

/* ── AJAX Results Dropdown ─────────────────────────────────────── */
.ak-404-results {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    max-height: 380px;
    overflow-y: auto;
    z-index: 999;
    padding: 6px;
}

.ak-404-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.15s ease;
}

.ak-404-result-item:hover,
.ak-404-result-active {
    background: #fff7f0;
}

.ak-404-result-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.ak-404-result-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.ak-404-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ak-404-result-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f87d09;
}

.ak-404-result-empty,
.ak-404-result-loading {
    padding: 20px 16px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.ak-404-result-view-all {
    display: block;
    text-align: center;
    padding: 12px 16px;
    margin: 4px 6px 6px;
    border-radius: 10px;
    background: #f8fafc;
    color: #f87d09;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.ak-404-result-view-all:hover {
    background: #fff5f0;
    border-color: #f87d09;
}

.ak-404-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2.5px solid #e2e8f0;
    border-top-color: #f87d09;
    border-radius: 50%;
    animation: ak404Spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes ak404Spin {
    to { transform: rotate(360deg); }
}

/* ── Recent Searches ───────────────────────────────────────────── */
.ak-404-recent {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto 20px;
    flex-wrap: wrap;
}

.ak-404-recent-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.ak-404-recent-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.ak-404-recent-chip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ak-404-recent-chip:hover {
    background: #fff5f0;
    border-color: #f87d09;
    color: #f87d09;
}

.ak-404-recent-clear {
    padding: 5px 10px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
    font-family: inherit;
}

.ak-404-recent-clear:hover {
    color: #ef4444;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.ak-404-btn-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: 8px;
}

.ak-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.ak-404-btn--primary {
    background: linear-gradient(135deg, #f87d09 0%, #ff7b00 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(248, 125, 9, 0.3);
}

.ak-404-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 125, 9, 0.4);
    background: linear-gradient(135deg, #e06d04 0%, #f87d09 100%);
}

.ak-404-btn--secondary {
    background: #ffffff;
    color: #334155;
    border: 2px solid #e2e8f0;
}

.ak-404-btn--secondary:hover {
    border-color: #f87d09;
    color: #f87d09;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ── Quick Links / Chips ───────────────────────────────────────── */
.ak-404-quick-links {
    border-top: 1px solid #f1f5f9;
    padding-top: 32px;
}

.ak-404-quick-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 14px;
}

.ak-404-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ak-404-chip {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ak-404-chip:hover {
    background: #fff5f0;
    border-color: #f87d09;
    color: #f87d09;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(248, 125, 9, 0.1);
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ak-404-hero {
        min-height: 60vh;
        padding: 40px 16px 60px;
    }

    .ak-404-icon-ring {
        width: 120px;
        height: 120px;
    }

    .ak-404-cart-icon {
        width: 56px;
        height: 56px;
    }

    .ak-404-title {
        font-size: 4.5rem;
    }

    .ak-404-subtitle {
        font-size: 1.2rem;
    }

    .ak-404-desc {
        font-size: 0.9rem;
    }

    .ak-404-btn {
        padding: 12px 22px;
        font-size: 0.85rem;
    }

    .ak-404-chip {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    .ak-404-kbd {
        display: none;
    }

    .ak-404-search-input {
        padding: 14px 10px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .ak-404-title {
        font-size: 3.5rem;
    }

    .ak-404-search-wrap {
        border-radius: 12px;
    }

    .ak-404-results {
        border-radius: 12px;
        max-height: 300px;
    }

    .ak-404-result-img {
        width: 40px;
        height: 40px;
    }

    .ak-404-btn-row {
        flex-direction: column;
        width: 100%;
    }

    .ak-404-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================================
   ENTERPRISE BANNER & LOCAL ZONE PICKUP — MOBILE/TABLET ALIGNMENT ENGINE
   Fixes: Hidden banner on mobile, nested HTML doc structure,
   Local Zone slider edge alignment on mobile Chrome (360–414px)
   CTO APPROVED — ECOMMERCE STANDARDS COMPLIANT
   ===================================================================== */

/* ── 1. Force-show Welcome Banner on Mobile & Tablet ────────────────── */
/* Overrides Elementor's elementor-hidden-mobile / elementor-hidden-tablet */
.elementor-element-4d9f652.elementor-hidden-mobile,
.elementor-element-4d9f652.elementor-hidden-tablet {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}

/* ── 2. Strip Nested HTML Document Structure (Elementor Text-Editor Bug) */
/* The banner widget contains a full <!DOCTYPE html><html><head><body> —
   these nested tags cause mobile Chrome to break layout. Hide them. */
.elementor-element-4d9f652 .elementor-widget-container {
    display: block !important;
}

.elementor-element-4d9f652 .elementor-widget-container > .banner-container {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Hide everything in the widget container that isn't the banner or styles */
.elementor-element-4d9f652 .elementor-widget-container > *:not(.banner-container):not(style):not(link):not(meta) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ── 3. Welcome Banner — Mobile/Tablet Alignment ─────────────────────── */
@media (max-width: 1024px) {
    .elementor-element-4d9f652 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }

    .elementor-element-4d9f652 .elementor-widget-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .banner-container {
        border: 2px solid #FF9933 !important;
        background-color: #fffaf5 !important;
        padding: 16px 14px !important;
        margin: 10px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .banner-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .banner-text {
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: center !important;
        padding: 0 4px !important;
    }

    .flag-icon {
        width: 20px !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .elementor-element-4d9f652 {
        padding: 0 12px !important;
    }

    .banner-container {
        padding: 14px 12px !important;
        border-radius: 6px !important;
    }

    .banner-title {
        font-size: 16px !important;
    }

    .banner-text {
        font-size: 12px !important;
    }
}

/* ── 3b. Mobile: Fix Elementor boxed sections overflowing (1200px) ───── */
/* Root-cause fix: page-50's `.elementor-container` keeps its desktop
   width (1200px) on phones because Elementor's mobile width:100% reset
   isn't applied, clipping/overlapping the hot-deal + catalog blocks.
   Force boxed sections to full width under 768px. */
@media (max-width: 767px) {
    body.elementor-page-50 .elementor-section {
        width: 100%;
    }
    body.elementor-page-50 .elementor-section > .elementor-container {
        width: 100%;
        max-width: 100%;
        flex-basis: 100%;
    }
}

/* ── 4. Local Zone Pickup Slider — Mobile/Tablet Alignment ───────────── */
@media (max-width: 1024px) {
    /* Fix the 94% width — align with page content edges */
    .custom-beverage-slider-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 16px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    /* Fix Elementor section that wraps the slider */
    .elementor-section.elementor-reverse-mobile {
        overflow: visible !important;
    }

    /* Ensure the Elementor widget container doesn't clip */
    .elementor-element-f7563d3 .elementor-widget-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .elementor-element-f7563d3 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Align the slider header with page content */
    .custom-slider-header {
        padding: 0 4px 15px 4px !important;
    }

    .custom-slider-title {
        font-size: 22px !important;
    }

    .custom-slider-see-all {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .custom-beverage-slider-wrapper {
        padding: 16px 12px !important;
    }

    .custom-slider-title {
        font-size: 20px !important;
    }

    /* Ensure swiper slides don't overflow on narrow screens */
    .custom-beverage-slider-wrapper [class*="swiper-container-woo_slider"] {
        overflow: hidden !important;
        padding: 10px 4px 25px 4px !important;
    }
}

/* ── 5. Fix ALL Elementor Sections Containing Banners/Sliders ────────── */
/* Ensure no horizontal overflow on mobile Chrome */
@media (max-width: 768px) {
    .elementor-section.elementor-top-section {
        overflow: visible !important;
    }

    .elementor-column.elementor-col-100 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .elementor-widget-wrap.elementor-element-populated {
        padding: 0 !important;
        width: 100% !important;
    }
}

/* =====================================================================
   WCAG 2.1 SKIP-NAVIGATION LINK
   Visually hidden until focused via keyboard (Tab key)
   ===================================================================== */
.skip-link.screen-reader-text {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999999;
    background: #f87d09;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(248, 125, 9, 0.4);
    transition: top 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.skip-link.screen-reader-text:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* =====================================================================
   CTO APPROVED — ECOMMERCE STANDARDS: VISIBLE H1 FOR HOMEPAGE
   H1 is hidden by Elementor; CSS override to expose it for SEO/a11y
   ===================================================================== */
.home .elementor-section .elementor-heading-title.elementor-size-default[style*="display: none"],
.home .elementor-section h1[style*="display: none"],
.home h1.elementor-heading-title[style*="display: none"] {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    position: relative !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =====================================================================
   CTO APPROVED — ECOMMERCE STANDARDS: PRODUCT CARD BUTTON CLIPPING FIX
   On mobile Chrome, the add-to-cart button gets clipped by overflow:hidden
   on .product-inner. Fix: ensure no overflow clip on the card container.
   ===================================================================== */
@media (max-width: 768px) {
    .product-inner,
    .product {
        overflow: visible !important;
    }
    .product-inner .add_to_cart_button,
    .product-inner .custom-add-to-cart-plus,
    .product-inner .button {
        position: relative;
        z-index: 2;
    }
}

/* =====================================================================
   CTO APPROVED — ECOMMERCE STANDARDS: BROKEN IMAGE PLACEHOLDER
   For images with empty src (Elementor bug), show a styled placeholder
   ===================================================================== */
img[src=""],
img[src="data:,"] {
    visibility: hidden !important;
}
img[src=""]::after,
img[src="data:,"]::after {
    content: "Image unavailable";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
    background: #f8f9fa;
    color: #6b7280;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    text-align: center;
}


