/*
Theme Name: STB Theme
Theme URI: #
Author: TAMGID
Author URI: #
Description: A premium e-commerce WordPress theme tailored for performance and conversions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stb
*/

/* =========================================
   STB THEME - PREMIUM 2-ROW HEADER ARCHITECTURE
========================================= */

:root {
    --ship-dhaka: 60;
    --ship-outside: 0;
    --free-shipping: 0;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --bg-white: #ffffff;
    --flash-card-img-height: 125px;
    --qc-desc-collapsed-height: 280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    touch-action: pan-y;
    -ms-touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: visible;
    max-width: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 60px !important;
    padding-bottom: calc(var(--nav-height, 65px) + 15px);
    touch-action: pan-y;
    -ms-touch-action: pan-y;
    overflow-x: visible;
    max-width: 100%;
    width: 100%;
}

body,
#page {
    padding-top: 60px !important;
}

/* Enforce 16px font-size on all mobile inputs to prevent iOS auto-zoom */
input, select, textarea, .qc-input, #cName, #cPhone, #cDistrict, #cThana, #cAddress, #searchInput, #trackSearchInput, #pName, #pPhone, #pDistrict, #pThana, #pAddress, #qcReviewName, #qcReviewText {
    font-size: 16px !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   🎯 MODULAR FREE-CANVAS HEADER ENGINE ARCHITECTURE
   ========================================================================== */
:root {
    --stb-header-height: 70px;
    --stb-header-sticky: sticky;
    --stb-canvas-bg: #ffffff;
    --stb-brand-title-size: 20px;
    --stb-brand-title-spacing: 0px;
    --stb-brand-title-weight: 800;
    --stb-brand-title-color: #0f172a;
    --stb-brand-slogan-size: 11px;
    --stb-brand-slogan-color: #64748b;
    --stb-nav-link-color: #334155;
    --stb-nav-link-hover: #0ea5e9;
    --stb-nav-font-size: 14px;
    --stb-nav-font-weight: 600;
    --stb-cart-icon-size: 24px;
    --stb-cart-stroke-width: 2.0;
    --stb-cart-icon-color: #0f172a;
    --stb-cart-badge-bg: #ef4444;
    --stb-cart-badge-text: #ffffff;

    /* Flash Sale Urgency Strip Default Variables */
    --stb-flash-bg: #ffffff;
    --stb-flash-border: #e2e8f0;
    --stb-flash-badge-bg: rgba(239, 68, 68, 0.08);
    --stb-flash-badge-color: #ef4444;
    --stb-flash-badge-border: rgba(239, 68, 68, 0.2);
    --stb-flash-badge-radius: 50px;
    --stb-flash-link-color: #0ea5e9;
    --stb-flash-link-hover: #0284c7;
    --stb-flash-link-size: 14px;
    --stb-flash-timer-bg: #0f172a;
    --stb-flash-timer-color: #ffffff;
    --stb-flash-timer-radius: 6px;
    --stb-flash-label-color: #64748b;
}

/* ==========================================================================
   UNIFIED SINGLE-LINE ECOMMERCE HEADER (TRUE STICKY / FIXED HEADER)
   ========================================================================== */
#site-header,
.site-header,
.stb-site-header,
.stb-canvas-header,
header.main-header,
.top-navbar,
.top-header-bar,
#masthead {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important; /* Keeps header strictly above all content, sliders, and popups */
    background: #ffffff !important; /* Prevents underlying content from showing through during scroll */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.stb-header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60px;
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Left: Navigation (Intact) */
.stb-header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.stb-drawer-toggle,
.stb-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin: 0;
    border-radius: 8px;
    color: var(--stb-header-brand-color, #0f172a);
    font-size: 24px;
    line-height: 1;
    transition: background 0.15s ease, transform 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.stb-drawer-toggle:hover,
.stb-menu-btn:hover {
    background: #f1f5f9;
}

.stb-drawer-toggle:active,
.stb-menu-btn:active {
    transform: scale(0.95);
}

.stb-hamburger-icon {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
}

/* Center: Brand Identity */
.stb-header-center {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    min-width: 0;
    margin-left: 10px; /* Small gap: 8px to 14px after Hamburger */
}

/* Dedicated flex container: Logo + Brand Name */
.stb-brand-combo {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    min-width: 0;
}

.stb-header-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.stb-header-logo-img {
    height: var(--stb-logo-height, 36px);
    max-height: var(--stb-logo-height, 36px);
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.stb-header-brand-text {
    font-size: var(--stb-brand-font-size, 18px);
    font-weight: var(--stb-brand-font-weight, 700);
    color: var(--stb-header-brand-color, #0f172a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
    display: inline-block;
    line-height: 1.2;
}

/* Two-Tone Accent Styling */
.stb-header-brand-text span,
.stb-header-brand-text .stb-brand-accent,
.stb-header-brand-text .accent {
    color: var(--stb-brand-accent-color, var(--stb-header-brand-accent, #0ea5e9));
}

@media (max-width: 480px) {
    .stb-header-brand-text {
        font-size: clamp(14px, calc(var(--stb-brand-font-size, 18px) * 0.9), var(--stb-brand-font-size, 18px));
        max-width: calc(100vw - 140px);
    }
}

/* Spacer pushing cart bag to the far right */
.stb-header-spacer {
    flex: 1 1 auto;
    min-width: 8px;
}

/* Right: Shopping Bag */
.stb-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.stb-header-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin: 0;
    border-radius: 8px;
    color: var(--stb-header-brand-color, #0f172a);
    transition: background 0.15s ease, transform 0.15s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.stb-header-cart-btn:hover {
    background: #f1f5f9;
}

.stb-header-cart-btn:active {
    transform: scale(0.95);
}

.stb-header-bag-svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    display: block;
}

.stb-header-cart-badge {
    background: var(--stb-cart-badge-bg, #ef4444);
    color: var(--stb-cart-badge-text, #ffffff);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -4px;
    right: -6px;
    padding: 0 4px;
    line-height: 1;
    box-sizing: border-box;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
    z-index: 10;
}

/* 1. Canvas Frame & Boundary Guard (Legacy/Compatibility Layout) */
.stb-canvas-frame {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    height: var(--stb-header-height, 70px);
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-sizing: border-box;
    overflow: visible; /* Allows badge popping and clean dropdowns */
}

/* Auto-fit boundary guard on internal layers */
.stb-canvas-inner-guard {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

/* 2. Modular Alignment Zones */
.stb-canvas-zone {
    display: flex;
    align-items: center;
    position: relative;
    max-height: 100%;
    box-sizing: border-box;
}

.stb-canvas-zone-left {
    justify-content: flex-start;
    flex: 0 1 auto;
    gap: 12px;
    z-index: 20;
}

.stb-canvas-zone-center {
    justify-content: center;
    flex: 1 1 auto;
    text-align: center;
    z-index: 10;
    min-width: 0;
}

.stb-canvas-zone-right {
    justify-content: flex-end;
    flex: 0 1 auto;
    gap: 12px;
    z-index: 20;
}

/* 3. Multi-Image & Logo Repeater Layer */
.stb-logo-repeater-stack {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-height: 100%;
}

.stb-canvas-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
    max-height: 100%;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.stb-canvas-logo-item:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.stb-canvas-logo-img,
.stb-canvas-badge-img {
    display: block;
    height: auto;
    max-height: calc(var(--stb-header-height, 70px) - 10px);
    object-fit: contain;
    border-radius: 4px;
}

.stb-brand-badge-fallback {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--primary-color, #0ea5e9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

/* 4. Multi-Color Brand & Company Title Engine */
.stb-brand-engine {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    line-height: 1.15;
    max-width: 100%;
    min-width: 0;
    transition: opacity 0.2s ease;
}

.stb-brand-engine:hover {
    opacity: 0.9;
}

.stb-brand-title {
    font-size: var(--stb-brand-title-size, 20px);
    letter-spacing: var(--stb-brand-title-spacing, 0px);
    font-weight: var(--stb-brand-title-weight, 800);
    color: var(--stb-brand-title-color, #0f172a);
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.stb-brand-title span {
    display: inline-block;
    transition: color 0.2s ease;
}

.stb-brand-slogan {
    font-size: var(--stb-brand-slogan-size, 11px);
    color: var(--stb-brand-slogan-color, #64748b);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 5. Modular Announcements & Slogan Ticker */
.stb-canvas-announcements {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.stb-ann-ticker-list {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stb-ann-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.stb-ann-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

/* 6. Flexible Floating Navigation Menu */
.stb-canvas-nav-wrap {
    display: flex;
    align-items: center;
}

.stb-canvas-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.stb-canvas-nav-list > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.stb-canvas-nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--stb-nav-link-color, #334155);
    font-size: var(--stb-nav-font-size, 14px);
    font-weight: var(--stb-nav-font-weight, 600);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.stb-canvas-nav-list > li > a:hover,
.stb-canvas-nav-list > li.current-menu-item > a {
    color: var(--stb-nav-link-hover, #0ea5e9);
    background: rgba(14, 165, 233, 0.08);
}

.stb-dropdown-arrow {
    font-size: 9px;
    transition: transform 0.2s ease;
}

.stb-canvas-nav-list > li:hover .stb-dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Sub-menus */
.stb-canvas-nav-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 0;
    margin: 4px 0 0;
    list-style: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.stb-canvas-nav-list > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.stb-canvas-nav-list .sub-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.stb-canvas-nav-list .sub-menu li a:hover {
    background: #f8fafc;
    color: var(--primary-color, #0ea5e9);
}

/* 7. Advanced WooCommerce Cart & Action Icons */
.stb-canvas-actions-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.stb-canvas-lang-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.stb-canvas-lang-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.stb-canvas-cart-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.stb-canvas-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--stb-cart-icon-size, 24px) + 18px);
    height: calc(var(--stb-cart-icon-size, 24px) + 18px);
    min-width: 40px;
    min-height: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: var(--stb-cart-icon-color, #0f172a);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.stb-canvas-icon-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stb-canvas-cart-icon {
    width: var(--stb-cart-icon-size, 24px);
    height: var(--stb-cart-icon-size, 24px);
    stroke: var(--stb-cart-icon-color, #0f172a);
    stroke-width: var(--stb-cart-stroke-width, 2.0);
    fill: none;
}

/* Live Floating Cart Counter Badge */
.stb-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--stb-cart-badge-bg, #ef4444);
    color: var(--stb-cart-badge-text, #ffffff);
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    z-index: 30;
    line-height: 1;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stb-cart-badge.bump,
.stb-cart-count.bump {
    animation: cartBadgePop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cartBadgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Mobile Toggle Button */
.stb-canvas-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    cursor: pointer;
    padding: 0;
}

/* 8. Responsive Slide-Out Mobile Drawer */
.stb-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10010;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0.3s ease;
}

.stb-mobile-drawer.is-active {
    visibility: visible;
    pointer-events: auto;
}

.stb-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stb-mobile-drawer.is-active .stb-drawer-overlay {
    opacity: 1;
}

.stb-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 290px;
    max-width: 85%;
    height: 100%;
    background: #ffffff;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.stb-mobile-drawer.is-active .stb-drawer-panel {
    transform: translateX(0);
}

.stb-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.stb-drawer-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    color: #475569;
}

.stb-drawer-body {
    padding: 16px 20px 110px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    flex: 1;
}

.stb-drawer-body .stb-canvas-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.stb-drawer-body .stb-canvas-nav-list > li > a {
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.stb-drawer-body .stb-canvas-nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    margin: 4px 0 0 12px;
    padding: 4px 0;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .stb-canvas-nav-wrap {
        display: none;
    }
    .stb-canvas-mobile-toggle {
        display: inline-flex;
    }
}

@media (max-width: 640px) {
    .stb-canvas-frame {
        padding: 0 12px;
    }
    .stb-brand-title {
        font-size: clamp(14px, 4vw, 18px);
    }
    .stb-brand-slogan {
        font-size: 10px;
    }
    .stb-canvas-announcements {
        display: none; /* Auto-fit boundary guard collapses ticker on tight mobile view */
    }
}

/* =========================================
   ROW 2: Search + WhatsApp Split Layout
========================================= */
.header-row-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px; /* Strict single row gap */
    flex-wrap: nowrap;
}

/* Left: Search Bar */
.search-bar-wrapper {
    display: var(--show-search, flex);
    align-items: center;
    flex: 0 1 var(--search-width-ratio, 65%);
    width: 100%;
    background: var(--search-bg, #f8fafc);
    border: 1px solid var(--search-border, #e2e8f0);
    border-radius: 50px;
    padding: 8px 20px; /* Slim padding */
    transition: var(--transition-fast);
    position: relative; 
}

.search-bar-wrapper:focus-within {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
}

.search-input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0;
    font-family: inherit;
    font-size: 0.9rem; /* Sleeker font size */
    color: var(--search-text-color, #334155);
    outline: none;
    min-width: 0;
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--search-text-color, #334155);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition-fast);
}
.search-btn:hover { opacity: 1; transform: scale(1.1); }
.search-btn svg { width: 18px; height: 18px; } /* Slimmer search icon */

/* Right: WhatsApp Button */
.wa-action-btn {
    display: var(--show-wa, flex);
    flex: 0 1 calc(100% - var(--search-width-ratio, 65%) - 8px); /* Remaining space */
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 15px;
    background-color: var(--wa-bg, #25D366);
    color: var(--wa-color, #ffffff);
    border: 1px solid var(--wa-border, transparent);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    transition: var(--transition-fast);
}
.wa-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.25);
    opacity: 0.95;
}
.wa-action-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.wa-action-btn span {
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Search Dropdown Preview */
.search-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--search-border, #e2e8f0);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-smooth);
    z-index: 1050;
    max-height: 400px;
    overflow-y: auto;
}
.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.search-results-list { list-style: none; padding: 10px 0; }
.search-result-item {
    padding: 12px 20px; display: flex; align-items: center; gap: 15px; cursor: pointer;
    transition: var(--transition-fast); border-bottom: 1px solid rgba(0,0,0,0.03);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background-color: #f8fafc; }
.search-result-item img { width: 45px; height: 45px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.search-result-info { min-width: 0; overflow: hidden; }
.search-result-info h4 { font-size: 0.95rem; color: #0f172a; margin-bottom: 3px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-info span { font-size: 0.85rem; color: #64748b; }
.no-results { padding: 20px; text-align: center; color: #64748b; font-size: 0.95rem; }

/* =========================================
   FLASH SALE URGENCY STRIP (Strict Single-Line Horizontal Layout)
========================================= */
.stb-flash-strip {
    width: 100%;
    background: var(--stb-flash-bg, #ffffff);
    border-bottom: 1px solid var(--stb-flash-border, #e2e8f0);
    padding-top: var(--stb-flash-padding, clamp(6px, 1.5vw, 10px));
    padding-bottom: var(--stb-flash-padding, clamp(6px, 1.5vw, 10px));
    padding-left: clamp(8px, 2.5vw, 20px);
    padding-right: clamp(8px, 2.5vw, 20px);
    margin: 0;
    position: relative;
    z-index: 20;
    transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.2s ease;
    box-sizing: border-box;
    display: block !important;
}

.stb-flash-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    gap: clamp(6px, 1.8vw, 16px);
    box-sizing: border-box;
}

/* 1. Left (Start): Flash Sale Pill Badge */
.stb-flash-badge-wrap {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}

.stb-flash-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(0.72rem, 1.8vw, 0.85rem);
    font-weight: 700;
    color: var(--stb-flash-badge-color, #ef4444);
    background: var(--stb-flash-badge-bg, rgba(239, 68, 68, 0.08));
    border: 1px solid var(--stb-flash-badge-border, rgba(239, 68, 68, 0.2));
    padding: clamp(3px, 0.6vw, 4px) clamp(6px, 1.2vw, 10px);
    border-radius: var(--stb-flash-badge-radius, 50px);
    letter-spacing: 0.2px;
    white-space: nowrap !important;
    line-height: 1.2;
    flex-shrink: 0 !important;
}

/* 2. Middle: Live Ticking Countdown Unit (Tight Micro Gap with Badge) */
.stb-flash-timer-unit {
    display: inline-flex !important;
    align-items: center !important;
    gap: clamp(2px, 0.8vw, 5px);
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin-left: clamp(4px, 1vw, 8px); /* Tight micro gap with badge */
}

.stb-flash-timer-boxes {
    display: inline-flex !important;
    align-items: center !important;
    gap: clamp(2px, 0.8vw, 5px);
    flex-shrink: 0 !important;
}

.stb-flash-timer-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, 0.5vw, 4px);
    background: var(--stb-flash-timer-bg, #0f172a);
    color: var(--stb-flash-timer-color, #ffffff);
    border-radius: var(--stb-flash-timer-radius, 6px);
    padding: clamp(3px, 0.7vw, 5px) clamp(5px, 1vw, 8px);
    min-width: clamp(32px, 4.8vw, 42px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1;
}

.stb-flash-digit {
    font-family: var(--font-heading, inherit);
    font-size: clamp(0.78rem, 2vw, 0.95rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
}

.stb-flash-unit {
    font-size: clamp(0.55rem, 1.3vw, 0.65rem);
    opacity: 0.85;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap !important;
}

.stb-flash-sep {
    color: var(--stb-flash-timer-bg, #0f172a);
    font-weight: 800;
    font-size: clamp(0.75rem, 1.8vw, 0.92rem);
    line-height: 1;
    user-select: none;
    flex-shrink: 0 !important;
    padding: 0 1px;
}

/* 3. Right (End): View Link with Preserved Arrow (Extended Macro Gap) */
.stb-flash-action {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin-left: auto !important; /* Extended macro gap pushing to far right */
    display: inline-flex;
    align-items: center;
    padding-right: 2px;
}

.stb-flash-link {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 1vw, 7px);
    color: var(--stb-flash-link-color, #0ea5e9);
    font-size: var(--stb-flash-link-size, clamp(12px, 2.2vw, 14px));
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 3px 6px;
    cursor: pointer;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    border-radius: 4px;
}

.stb-flash-link:hover {
    color: var(--stb-flash-link-hover, #0284c7);
    text-decoration: none;
    background: rgba(14, 165, 233, 0.08);
    opacity: 0.95;
    transform: translateX(1px);
}

.stb-flash-arrow {
    width: clamp(13px, 2.2vw, 16px);
    height: clamp(13px, 2.2vw, 16px);
    transition: transform 0.2s ease;
    flex-shrink: 0 !important;
}

.stb-flash-link:hover .stb-flash-arrow {
    transform: translateX(3px);
}

/* Ultra-compact screens (<380px) responsive scaling guard */
@media (max-width: 380px) {
    .stb-flash-strip {
        padding: 5px 6px;
    }
    .stb-flash-container {
        gap: 3px;
    }
    .stb-flash-badge {
        padding: 2px 5px;
        font-size: 0.68rem;
    }
    .stb-flash-timer-unit {
        margin-left: 2px;
        gap: 2px;
    }
    .stb-flash-timer-box {
        padding: 2px 4px;
        min-width: 27px;
        gap: 1px;
    }
    .stb-flash-digit {
        font-size: 0.72rem;
    }
    .stb-flash-unit {
        font-size: 0.48rem;
    }
    .stb-flash-sep {
        font-size: 0.7rem;
    }
    .stb-flash-link {
        font-size: 0.7rem;
        gap: 2px;
    }
    .stb-flash-arrow {
        width: 10px;
        height: 10px;
    }
}

/* =========================================
   DEDICATED FLASH SALE ARCHIVE VIEW
========================================= */
.stb-flash-archive-main {
    padding-top: 0;
    padding-bottom: 40px;
}

.flash-archive-slim-bar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--stb-flash-border, #e2e8f0);
    padding: 6px 12px;
    margin: 0 0 6px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.flash-archive-slim-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    max-width: 1280px;
    margin: 0 auto;
}

.flash-archive-slim-inner .stb-flash-badge {
    margin: 0;
    font-size: clamp(11px, 2.2vw, 13px);
    padding: 3px 10px;
}

.flash-archive-countdown-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.flash-archive-countdown-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(11px, 2.2vw, 13px);
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.flash-archive-grid-container {
    max-width: 1280px;
    margin: 4px auto 0;
    padding: 0 12px;
}

.flash-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 4px;
    padding-top: 0;
}

@media (min-width: 768px) {
    .flash-archive-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .flash-archive-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* =========================================
   Flash Deals Archive Preview Modal
========================================= */
.flash-archive-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(8px, 2.5vw, 24px);
    box-sizing: border-box;
    overflow-y: auto;
}

.flash-archive-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.flash-archive-modal-dialog {
    background: #ffffff;
    border-radius: 14px;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    margin: auto;
    overflow: hidden;
    position: relative;
    animation: flashModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes flashModalSlideUp {
    from {
        transform: translateY(16px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.flash-archive-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #0f172a;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flash-archive-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flash-archive-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.flash-archive-modal-close:hover {
    background: rgba(239, 68, 68, 0.8);
}

.flash-archive-modal-body {
    padding: 8px 12px 20px;
    max-height: 85vh;
    overflow-y: auto;
}

.flash-archive-modal-body .flash-archive-slim-bar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 6px 10px;
}

/* =========================================
   Cart Slide-over Drawer
========================================= */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(3px); z-index: 10010;
    opacity: 0; visibility: hidden; transition: all var(--transition-smooth);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed; top: 0; right: -450px;
    width: 100%; max-width: 420px; height: 100vh;
    background: #ffffff; z-index: 10020;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right var(--transition-smooth); display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }

.cart-drawer-header { padding: 25px 30px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }
.cart-drawer-header h3 { font-size: 1.3rem; color: #0f172a; font-weight: 800; }
.close-cart-btn { background: transparent; border: none; font-size: 2rem; line-height: 1; color: #64748b; cursor: pointer; transition: var(--transition-fast); }
.close-cart-btn:hover { color: #ef4444; transform: scale(1.1); }

.cart-drawer-body { flex: 1; overflow-y: auto; padding: 30px; }
.empty-cart-msg { text-align: center; color: #94a3b8; font-size: 1rem; margin-top: 50px; }

.cart-drawer-footer { padding: 30px; border-top: 1px solid #e2e8f0; background: #f8fafc; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 1.2rem; font-weight: 800; color: #0f172a; }
.checkout-btn {
    width: 100%; padding: 18px; border: none; border-radius: 12px;
    background: linear-gradient(90deg, var(--brand-grad-1, #0ea5e9), var(--brand-grad-2, #3b82f6)); color: #fff; font-size: 1.1rem; font-weight: 700;
    cursor: pointer; transition: var(--transition-fast);
}
.checkout-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2); }
.checkout-btn:disabled { background: #cbd5e1; cursor: not-allowed; }

/* =========================================
   Main Container
========================================= */
#main-container { flex: 1; width: 100%; background-color: var(--bg-white); }

/* =========================================
   HERO BANNER & SLIDER ENGINE
========================================= */
.hero-banner-section,
#hero-banner,
#stbHeroSliderWrap {
    display: var(--show-hero, block);
    width: 100%;
    max-width: 100vw;
    aspect-ratio: 16 / 7;
    height: auto;
    min-height: clamp(150px, 42vw, 380px);
    max-height: clamp(240px, 45vw, 560px);
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    margin: 0;
    padding: 0;
    border: none;
}

.hero-slider,
#heroSlider {
    width: 100%;
    height: 100%;
    min-height: 0;
    position: relative;
    transform-style: preserve-3d;
    margin: 0;
    padding: 0;
}

.hero-slide,
.stb-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    display: flex;
    padding: clamp(8px, 2vh, 30px) 6%;
    box-sizing: border-box;
    pointer-events: none;
    /* Hardware-accelerated GPU slide transitions (default right-to-left showcase motion) */
    transform: translate3d(100%, 0, 0);
    will-change: transform, opacity;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.prev-slide {
    opacity: 0;
    visibility: visible;
    z-index: 2;
    transform: translate3d(-100%, 0, 0);
    pointer-events: none;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base structural elements */
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -2;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.hero-tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-tint, rgba(15, 23, 42, 0.4));
    z-index: -1;
}

/* Flex Alignments via data-attribute & explicit modifier classes */
.hero-slide[data-align="center-center"],
.hero-slide--align-center { 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}
.hero-slide[data-align="bottom-left"] { 
    justify-content: flex-start; 
    align-items: flex-end; 
    text-align: left; 
    padding-bottom: 50px;
}
.hero-slide[data-align="center-left"],
.hero-slide--align-left { 
    justify-content: flex-start; 
    align-items: center; 
    text-align: left; 
}
.hero-slide[data-align="center-right"],
.hero-slide--align-right { 
    justify-content: flex-end; 
    align-items: center; 
    text-align: right; 
}

/* Clickable link wrapper for edge-to-edge graphic banners */
.hero-slide-link-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.hero-content {
    max-width: 620px;
    z-index: 10;
    width: 100%;
    /* Entrance Animation Initial State */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s; /* Wait for slide to fade in */
}
.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-content--left {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-content--right {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--hero-sub-color, #cbd5e1);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-desc {
    font-size: clamp(0.875rem, 1.5vw, 1.05rem);
    color: #e2e8f0;
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 520px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #ffffff;
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-fast);
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* =========================================
   ANIMATION MODES (Controlled by container class/data)
========================================= */
/* 1. Fade (Default above) */

/* 2. Slide - Smooth GPU accelerated product showcase rotation */
.hero-banner-section[data-anim-mode="slide"] .hero-slide {
    transform: translate3d(100%, 0, 0);
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-banner-section[data-anim-mode="slide"] .hero-slide.active { 
    transform: translate3d(0, 0, 0); 
    opacity: 1;
    visibility: visible;
    z-index: 5;
    pointer-events: auto;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-banner-section[data-anim-mode="slide"] .hero-slide.prev-slide { 
    transform: translate3d(-100%, 0, 0); 
    opacity: 0; 
    visibility: visible;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 3. Zoom & Fade (Ken Burns) */
.hero-banner-section[data-anim-mode="zoom"] .hero-slide {
    will-change: opacity;
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-banner-section[data-anim-mode="zoom"] .hero-bg-img {
    transform: scale(1.08) translate3d(0, 0, 0);
    will-change: transform;
    transition: transform 4.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-banner-section[data-anim-mode="zoom"] .hero-slide.active .hero-bg-img {
    transform: scale(1) translate3d(0, 0, 0);
}

/* 4. 3D Flip */
.hero-banner-section[data-anim-mode="flip"] { perspective: 1500px; }
.hero-banner-section[data-anim-mode="flip"] .hero-slide {
    transform: rotateY(90deg) translate3d(0, 0, 0);
    will-change: transform, opacity;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-banner-section[data-anim-mode="flip"] .hero-slide.active { 
    transform: rotateY(0deg) translate3d(0, 0, 0); 
    opacity: 1;
}


/* =========================================
   Navigation Controls (Dots & Arrows)
========================================= */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--hero-nav-color, #ffffff);
    cursor: pointer;
    z-index: 20;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-fast);
}
.hero-nav-btn:hover { background: rgba(255, 255, 255, 0.3); }
.hero-nav-btn svg { width: 24px; height: 24px; }
.hero-nav-btn.prev { left: 20px; }
.hero-nav-btn.next { right: 20px; }

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}
.hero-dot.active {
    background: var(--hero-nav-color, #ffffff);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .hero-banner-section,
    #hero-banner,
    #stbHeroSliderWrap { 
        aspect-ratio: 16 / 7;
        height: auto;
        min-height: clamp(140px, 42vw, 240px);
        max-height: clamp(170px, 45vw, 320px);
    }
    .hero-slide,
    .stb-hero-slide { 
        padding: clamp(6px, 1.5vh, 20px) 5%; 
        min-height: 0;
    }
    .hero-title { font-size: 1.25rem; margin-bottom: 6px; }
    .hero-subtitle { font-size: 0.7rem; margin-bottom: 4px; letter-spacing: 1px; }
    .hero-btn { padding: 6px 18px; font-size: 0.85rem; border-radius: 30px; }
    .hero-slide[data-align="bottom-left"] { padding-bottom: 20px; }
    
    .hero-nav-btn { width: 28px; height: 28px; }
    .hero-nav-btn svg { width: 14px; height: 14px; }
    .hero-nav-btn.prev { left: 8px; }
    .hero-nav-btn.next { right: 8px; }
    
    .hero-dots { bottom: 10px; gap: 8px; }
    .hero-dot { width: 6px; height: 6px; }
    
    /* Mobile Row 2 Adjustments */
    .header-row-bottom { gap: 6px; }
    .search-bar-wrapper { padding: 6px 14px; }
    .wa-action-btn { padding: 6px 12px; font-size: 0.8rem; }
    .wa-action-btn svg { width: 16px; height: 16px; }
}

/* =========================================
   PRODUCT SHOWCASE (Infinite Scroll)
========================================= */
.product-showcase-section {
    display: var(--show-products, block);
    width: 100%;
    background: var(--prod-bg, #f8fafc);
    padding: 0; /* Zero-gap to category bar */
    margin: 0;
    overflow: hidden;
}

.prod-track-wrapper {
    width: 100%;
    overflow: visible;
    position: relative;
    padding: 0;
    margin: 0;
    min-height: 0;
}

/* Flash Deals Carousel Track: Strict 8px-10px Gap & Zero Dead Space */
.prod-track,
.flash-deals-track,
#prodTrack {
    display: flex;
    gap: 8px; /* Strictly locked to 8px on mobile */
    align-items: stretch;
    overflow-x: auto;
    scroll-behavior: auto;
    padding: 2px 10px 4px 10px; /* Snug edge margin avoiding wide horizontal gap */
    margin: 0;
    cursor: grab;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
@media (min-width: 769px) {
    .prod-track,
    .flash-deals-track,
    #prodTrack {
        gap: 10px; /* Strictly 10px on desktop */
        padding: 4px 16px 6px 16px;
    }
}
.prod-track::-webkit-scrollbar { display: none; }
.prod-track:active { cursor: grabbing; }

/* =========================================
   STATIC PILL BADGE STRIP (Zero-Gap)
========================================= */
.static-badge-strip {
    display: var(--show-badge-strip, flex);
    width: 100%;
    background: var(--badge-strip-bg, #f8fafc);
    padding: var(--badge-strip-pad, 0); /* 0px vertical for flush contact */
    border: none; /* Strictly 0px flush contact, no border */
    margin: 0;
    justify-content: center;
}

.static-badge-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--badge-gap, 10px);
    flex-wrap: nowrap;
    overflow-x: auto;
    /* Hide scrollbar for a clean look */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.static-badge-container::-webkit-scrollbar { display: none; }

.static-pill-badge {
    /* Strict Display-Only Behavior */
    pointer-events: none;
    cursor: default;
    user-select: none;
    
    flex: 0 0 auto;
    padding: var(--badge-padding, 8px 18px);
    font-size: var(--badge-font-size, 0.8rem);
    font-weight: 700;
    border-radius: var(--badge-radius, 50px);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.badge-1 {
    display: var(--show-badge-1, inline-flex);
    background: var(--badge-bg-1, #0f172a);
    color: var(--badge-text-1, #ffffff);
    border: 1px solid var(--badge-border-1, transparent);
}

.badge-2 {
    display: var(--show-badge-2, inline-flex);
    background: var(--badge-bg-2, #ea580c);
    color: var(--badge-text-2, #ffffff);
    border: 1px solid var(--badge-border-2, transparent);
}

.badge-3 {
    display: var(--show-badge-3, inline-flex);
    background: var(--badge-bg-3, #10b981);
    color: var(--badge-text-3, #ffffff);
    border: 1px solid var(--badge-border-3, transparent);
}

/* =========================================
   DEDICATED SHOWCASE / COMBO CATEGORY SECTION
========================================= */
.combo-category-section {
    width: 100%;
    max-width: 1200px;
    margin: 18px auto 28px;
    padding: 0 12px;
    box-sizing: border-box;
}

.combo-category-container {
    width: 100%;
}

/* 1. Header Styling (Matching Underline Accent Reference) */
.combo-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
    box-sizing: border-box;
}

.combo-category-title-wrap {
    display: flex;
    align-items: center;
}

.combo-category-title {
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    border-bottom: 2.5px solid #000000;
    padding-bottom: 4px;
    display: inline-block;
    letter-spacing: -0.2px;
}

.combo-category-action-wrap {
    display: flex;
    align-items: center;
}

/* Soft Pill Link Container with Hover Transition & Safe Arrow Padding */
.combo-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: clamp(12px, 2.2vw, 13.5px);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 1px 2px rgba(79, 70, 229, 0.05);
}

.combo-pill-link:hover {
    background: #e0e7ff;
    opacity: 0.95;
    transform: translateX(2px);
}

.combo-pill-arrow {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.combo-pill-link:hover .combo-pill-arrow {
    transform: translateX(2px);
}

/* 2. Responsive 2-Col Mobile / 4-Col Desktop Grid */
.combo-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

@media (min-width: 768px) {
    .combo-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .combo-product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

.combo-product-grid .prod-card.combo-item-hidden {
    display: none !important;
}

/* 3. Bottom Central Dynamic Expand / Collapse Toggle Button */
.combo-expand-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 8px;
}

.combo-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    user-select: none;
}

.combo-expand-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.combo-expand-btn:active {
    transform: translateY(0);
}

.combo-expand-btn .combo-toggle-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: currentColor;
    flex-shrink: 0;
}

.combo-expand-btn.is-expanded .combo-toggle-icon {
    transform: rotate(180deg);
}

.combo-expand-btn.is-expanded {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
}

@keyframes comboItemFadeIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Action A: Showcase / Combo Modal Overlay */
.combo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 10050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(8px, 2.5vw, 24px);
    box-sizing: border-box;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .combo-modal-overlay {
        padding-bottom: 75px;
    }
}

.combo-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.combo-modal-dialog {
    background: #ffffff;
    border-radius: 14px;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    margin: auto;
    overflow: hidden;
    position: relative;
    animation: comboModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes comboModalSlideUp {
    from {
        transform: translateY(16px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.combo-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #0f172a;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.combo-modal-title-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.combo-modal-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
}

.combo-modal-count {
    background: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.combo-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.combo-modal-close:hover {
    background: rgba(239, 68, 68, 0.85);
}

.combo-modal-body {
    padding: 16px 14px clamp(28px, 6vw, 75px);
    max-height: 82vh;
    overflow-y: auto;
}

.combo-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .combo-modal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .combo-modal-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* =========================================
   MAIN PRODUCT CATALOG GRID
========================================= */
.main-catalog-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* 0 padding to ensure 0px gap with next element */
}

/* Secondary Offer Banner / Badge Strip */
.secondary-offer-strip {
    display: var(--sec-offer-display, flex);
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: var(--sec-offer-pad-y, 6px); /* Ultra slim vertical padding */
    padding-bottom: var(--sec-offer-pad-y, 6px);
    padding-left: var(--sec-offer-pad-x, 15px);
    padding-right: var(--sec-offer-pad-x, 15px);
    background-color: var(--sec-offer-bg, #0f172a);
    border-top: var(--sec-offer-border-top, none);
    border-bottom: var(--sec-offer-border-bottom, none);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.secondary-offer-content {
    display: flex;
    flex-direction: row; /* Force inline flex alignment */
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: var(--sec-offer-max-width, 1200px);
    border-radius: var(--sec-offer-radius, 0px); /* 0px to stay flush */
}

.secondary-offer-text {
    font-size: var(--sec-offer-text-size, 0.85rem);
    font-weight: var(--sec-offer-text-weight, 700);
    letter-spacing: var(--sec-offer-letter-spacing, 0.5px);
    color: var(--sec-offer-text-color, #ffffff);
    text-align: center;
    white-space: nowrap;
}

.secondary-offer-cta {
    display: var(--sec-offer-cta-display, inline-block);
    padding: var(--sec-offer-cta-pad, 4px 12px);
    font-size: var(--sec-offer-cta-size, 0.75rem);
    font-weight: var(--sec-offer-cta-weight, 800);
    color: var(--sec-offer-cta-color, #0f172a);
    background-color: var(--sec-offer-cta-bg, #10b981);
    border-radius: var(--sec-offer-cta-radius, 4px);
    border: var(--sec-offer-cta-border, none);
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s;
    white-space: nowrap;
}

.secondary-offer-cta:hover {
    transform: scale(1.05);
}

.secondary-catalog-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 30px 0; /* Changed from 110px to 30px so footer flows naturally */
}

/* =========================================
   FOOTER SECTION
========================================= */
.site-footer {
    background: var(--footer-bg, #f8fafc);
    padding: 35px 20px 115px 20px; /* 115px bottom padding for safe app-nav clearance */
    border-top: 1px solid #e2e8f0;
    color: #334155;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 1. 2x2 Value & Trust Proposition Grid */
.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 35px;
}
@media (min-width: 768px) {
    .footer-trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}
.trust-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trust-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.trust-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-icon svg {
    width: 28px;
    height: 28px;
}
.trust-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}
.trust-text p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

/* 2. Main Footer Hierarchy Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 35px;
    text-align: left;
}
@media (min-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 1.4fr 1.1fr 1fr;
        gap: 32px;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    margin-bottom: 12px;
}
.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}
.footer-about-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 16px 0;
}

/* Authentic Social Connectivity Strip */
.footer-social-strip {
    display: flex;
    align-items: center;
    gap: 10px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}
.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.social-icon svg {
    width: 18px;
    height: 18px;
}
.fb-icon { background: #1877f2; }
.insta-icon { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.wa-icon { background: #25d366; }
.yt-icon { background: #ff0000; }
.tt-icon { background: #000000; }

/* Headings in Footer */
.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    position: relative;
    padding-bottom: 6px;
    display: inline-block;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #0ea5e9;
    border-radius: 2px;
}

/* Contact Us Typography Rows */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #334155;
}
.footer-contact-icon {
    flex-shrink: 0;
    font-size: 1rem;
    margin-top: 1px;
}
.footer-contact-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.footer-contact-link:hover {
    color: #0ea5e9;
}
.footer-contact-text {
    color: #334155;
}

/* Quick Policy Links */
.footer-policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-policy-btn {
    background: none;
    border: none;
    padding: 4px 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.footer-policy-btn:hover {
    color: #0ea5e9;
    transform: translateX(3px);
}

/* 3. Trusted Payment & Delivery Partner Badges */
.footer-payment-badges {
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-bottom: 24px;
}
.footer-payment-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin: 0 0 12px 0;
}
.badge-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.pay-badge img {
    height: 28px;
    width: auto;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 4. Copyright */
.footer-copyright {
    text-align: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}
.footer-copyright p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* Policy Drawer */
.policy-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}
.policy-overlay.active {
    opacity: 1;
    visibility: visible;
}
.policy-drawer {
    position: fixed;
    bottom: -100%; left: 0; right: 0;
    background: #fff;
    height: 80vh;
    z-index: 1001;
    border-radius: 24px 24px 0 0;
    transition: bottom 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
}
.policy-drawer.active {
    bottom: 0;
}
.policy-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.policy-drawer-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}
.close-policy-btn {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.policy-drawer-body {
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
}
.policy-drawer-body h4 {
    color: #1e293b;
    margin-top: 0;
}
.policy-drawer-body p {
    margin-bottom: 15px;
}

.main-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 20px; /* Internal padding for desktop to match max-width bounds */
}

/* Make grid cards match showcase styling */
.main-catalog-grid .prod-card {
    flex: auto; /* Reset flex */
    height: var(--grid-card-height, 100%);
    border-radius: var(--grid-card-radius, 16px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.main-catalog-grid .prod-info {
    padding: var(--grid-card-pad, 15px);
}

@media (max-width: 480px) {
    .main-catalog-grid {
        grid-template-columns: repeat(var(--catalog-layout, 2), 1fr);
        gap: 10px;
        padding: 0; /* Strict edge-to-edge alignment */
    }
    
    /* Layout Switcher Adjustments for 1-Column */
    .main-catalog-grid[style*="--catalog-layout: 1;"] .prod-card,
    :root[style*="--catalog-layout: 1;"] .main-catalog-grid .prod-card {
        border-radius: 0; /* True edge to edge for 1 column */
    }
    :root[style*="--catalog-layout: 1;"] .main-catalog-grid .prod-info {
        padding: 20px; /* Larger touch targets for 1 col */
    }
    :root[style*="--catalog-layout: 1;"] .main-catalog-grid .prod-title {
        font-size: 1.1rem;
    }
}

/* Product Card */
.prod-card {
    flex: 0 0 calc(var(--prod-card-w, 260px) * var(--prod-card-scale, 1));
    background: var(--prod-card-bg, #ffffff);
    border-radius: 16px 16px 0 0;
    box-shadow: none; /* Removed to eliminate rogue jagged lines */
    border: 1px solid rgba(0,0,0,0.04);
    border-bottom: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast);
    position: relative;
    user-select: none;
}
.prod-card:hover {
    transform: translateY(-2px);
}

.prod-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f1f5f9;
}
.prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Badges */
.prod-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--prod-badge-bg, #ef4444);
    color: var(--prod-badge-text, #ffffff);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
}

/* Share Button */
.prod-share-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition-fast);
}
.prod-share-btn:hover { background: #ffffff; color: #0ea5e9; transform: scale(1.1); }
.prod-share-btn svg { width: 16px; height: 16px; }

/* Product Info */
.prod-info {
    padding: var(--prod-card-pad, 12px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prod-title-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
}

.prod-title {
    flex: 0 1 auto;
    min-width: 0;
    font-size: var(--prod-title-size, 0.95rem);
    font-weight: 700;
    color: var(--prod-title-color, #0f172a);
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.prod-title.expanded {
    white-space: normal;
}

.prod-desc {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.prod-desc.expanded {
    white-space: normal;
}

.prod-title-more-btn, .prod-desc-more-btn {
    flex-shrink: 0;
    background: none; border: none; color: #3b82f6; font-size: 0.75rem; font-weight: 600; cursor: pointer; padding: 0; margin-top: 2px;
}

.prod-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.prod-price-stack {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.prod-offer-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.prod-offer {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--prod-price-color, #0ea5e9);
    line-height: 1;
}
.prod-regular {
    font-size: 0.7rem;
    color: #94a3b8;
    text-decoration: line-through;
    line-height: 1;
    margin-bottom: 2px;
    margin-left: 1px;
}
.prod-savings {
    font-size: 0.6rem;
    color: var(--prod-save-text, #ffffff);
    background: var(--prod-save-bg, #10b981);
    padding: 2px 5px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.2;
}

/* Order CTA */
.prod-order-btn {
    margin: 8px auto 0 auto;
    width: 100%;
    max-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 0 16px;
    height: var(--prod-btn-h, 36px);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--prod-btn-g1), var(--prod-btn-g2), var(--prod-btn-g3));
    color: var(--prod-btn-text, #fff);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(14,165,233,0.3);
    transition: all var(--transition-fast);
}
.prod-order-btn:hover {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
    opacity: 0.95;
}

/* ==========================================================================
   FLASH DEALS COMPACT PROPORTIONAL CARDS & TIGHT GRID ALIGNMENT
   ========================================================================== */

/* Flash Deals Showcase Section: Zero Dead Vertical Whitespace */
.product-showcase-section,
.flash-deals-section {
    padding: 0;
    margin: 0;
    min-height: 0;
    height: auto;
    overflow: hidden;
}

/* Compact Proportional Card Container (Dynamically Scalable via --flash-card-img-height) */
.flash-deal-card,
.prod-track .prod-card,
.flash-deals-track .prod-card,
.swiper-slide.flash-deal-card {
    /* Exactly two visible cards on mobile with strictly locked 8-10px gap */
    flex: 0 0 clamp(140px, calc(50vw - 16px), 175px);
    width: clamp(140px, calc(50vw - 16px), 175px);
    max-width: 175px;
    height: auto !important;
    background: var(--prod-card-bg, #ffffff);
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    transition: transform var(--transition-fast);
    box-sizing: border-box;
}

@media (min-width: 769px) {
    .flash-deal-card,
    .prod-track .prod-card,
    .flash-deals-track .prod-card,
    .swiper-slide.flash-deal-card {
        flex: 0 0 clamp(165px, 14vw, 195px);
        width: clamp(165px, 14vw, 195px);
        max-width: 200px;
        height: auto !important;
    }
}

/* Card Image Box: Scaled dynamically with var(--flash-card-img-height, 125px) !important */
.flash-deal-card .prod-img-box,
.prod-track .prod-card .prod-img-box,
.flash-deals-track .prod-card .prod-img-box {
    position: relative;
    width: 100%;
    height: var(--flash-card-img-height, 125px) !important;
    max-height: var(--flash-card-img-height, 125px) !important;
    aspect-ratio: auto;
    overflow: hidden;
    background: #f8fafc;
    border-radius: 10px 10px 0 0;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .flash-deal-card .prod-img-box,
    .prod-track .prod-card .prod-img-box,
    .flash-deals-track .prod-card .prod-img-box {
        height: var(--flash-card-img-height, 125px) !important;
        max-height: var(--flash-card-img-height, 125px) !important;
    }
}

/* Dynamic Flash Deal Card Image Height & Object-fit Cover Maintenance */
.flash-deal-card img,
.prod-card img {
    object-fit: cover !important;
}

.flash-deal-card img,
.prod-card.flash-deal-card img,
.prod-track .prod-card img,
.flash-deals-track .prod-card img,
.product-showcase-section .prod-card img,
.flash-deals-section .prod-card img,
.flash-deal-card .prod-img,
.prod-track .prod-card .prod-img,
.flash-deals-track .prod-card .prod-img {
    width: 100%;
    height: var(--flash-card-img-height, 125px) !important;
    max-height: var(--flash-card-img-height, 125px) !important;
    object-fit: cover !important;
    display: block;
    pointer-events: none;
}

/* Compact Badges & Share Icon */
.flash-deal-card .prod-badge,
.prod-track .prod-card .prod-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

.flash-deal-card .prod-share-btn,
.prod-track .prod-card .prod-share-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    z-index: 2;
}
.flash-deal-card .prod-share-btn svg,
.prod-track .prod-card .prod-share-btn svg {
    width: 12px;
    height: 12px;
}

/* Card Info Container */
.flash-deal-card .prod-info,
.prod-track .prod-card .prod-info,
.flash-deals-track .prod-card .prod-info {
    padding: 6px 8px 8px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

/* Product Title: 12px-13px, 1-line clamp with ellipsis */
.flash-deal-card .prod-title-box,
.prod-track .prod-card .prod-title-box,
.flash-deals-track .prod-card .prod-title-box {
    margin-bottom: 2px;
    display: block;
    width: 100%;
}

.flash-deal-card .prod-title,
.prod-track .prod-card .prod-title,
.flash-deals-track .prod-card .prod-title {
    font-size: clamp(12px, 2.5vw, 13px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--prod-title-color, #0f172a);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.flash-deal-card .prod-title-more-btn,
.prod-track .prod-card .prod-title-more-btn {
    display: none !important;
}

/* Bottom Row & Price */
.flash-deal-card .prod-bottom-row,
.prod-track .prod-card .prod-bottom-row,
.flash-deals-track .prod-card .prod-bottom-row {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.flash-deal-card .prod-price-stack,
.prod-track .prod-card .prod-price-stack,
.flash-deals-track .prod-card .prod-price-stack {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    line-height: 1;
}

/* Price Label: 13px, Bold */
.flash-deal-card .prod-offer,
.prod-track .prod-card .prod-offer,
.flash-deals-track .prod-card .prod-offer {
    font-size: 13px;
    font-weight: 700;
    color: var(--prod-price-color, #0ea5e9);
    line-height: 1.1;
}

.flash-deal-card .prod-regular,
.prod-track .prod-card .prod-regular,
.flash-deals-track .prod-card .prod-regular {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Order CTA Button: Compact padding 6px 10px; font-size 11px-12px */
.flash-deal-card .prod-order-btn,
.prod-track .prod-card .prod-order-btn,
.flash-deals-track .prod-card .prod-order-btn {
    margin: 4px auto 0 auto;
    width: 100%;
    max-width: 100%;
    height: 28px;
    padding: 6px 10px;
    font-size: clamp(11px, 2.2vw, 12px);
    font-weight: 700;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.flash-deal-card .prod-order-btn svg,
.prod-track .prod-card .prod-order-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

/* =========================================
   QUICK CHECKOUT MODAL
========================================= */
.checkout-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10100;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.checkout-overlay.active { opacity: 1; visibility: visible; }

.checkout-drawer {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 10101;
    opacity: 0; visibility: hidden;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.checkout-drawer.active {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}

.close-drawer-btn {
    position: absolute;
    top: 15px; right: 15px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #0f172a;
    border: none;
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition-fast);
    z-index: 100;
}
.close-drawer-btn:hover { background: #e2e8f0; }

.checkout-view-container {
    display: none;
    flex-direction: column;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.checkout-view-container.active-view {
    display: flex;
}
.qc-body-content {
    padding-bottom: 110px; /* Safe scrolling clearance for bottom nav/cta */
}

.qc-drawer-media-wrap {
    width: 100%;
    margin-bottom: 12px;
}
.qc-header-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    background: #f1f5f9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    margin-bottom: 0;
    touch-action: pan-y pinch-zoom;
    user-select: none;
}
.qc-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: opacity 0.15s ease-in-out;
}

/* Ultra-Compact App-Icon Sizing (Space-Saving Design 36px x 36px) */
.qc-drawer-gallery-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 4px;
    overflow-x: auto;
    padding: 2px 0;
    -webkit-overflow-scrolling: touch;
}
.qc-drawer-gallery-strip[style*="display: none"],
.qc-drawer-gallery-strip:empty,
.qc-drawer-gallery-strip.is-hidden {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    border: none !important;
}
.qc-drawer-gallery-thumb {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    border-radius: 6px;
    border: 1.5px solid #e2e8f0;
    cursor: pointer;
    object-fit: cover;
    transition: border-color 0.2s ease, transform 0.1s ease;
    padding: 1px;
    box-sizing: border-box;
    flex-shrink: 0;
}
.qc-drawer-gallery-thumb:hover {
    transform: scale(1.05);
}
.qc-drawer-gallery-thumb.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.qc-body-content {
    padding: 20px;
    flex: 1;
    max-width: 600px; /* Keep center aligned on larger screens */
    margin: 0 auto;
    width: 100%;
}

.qc-main-title { font-size: 1.15rem; color: #0f172a; font-weight: 800; margin-bottom: 6px; line-height: 1.3; }
.qc-intro { font-size: 0.85rem; color: #64748b; line-height: 1.4; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.qc-selectors-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}
.qc-size-wrap, .qc-qty-wrap { display: flex; flex-direction: column; gap: 8px; }
.qc-size-wrap label, .qc-qty-wrap label { font-size: 0.85rem; font-weight: 600; color: #334155; }

.qc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qc-chip { 
    padding: 6px 12px; 
    border: 1px solid #cbd5e1; 
    border-radius: 6px; 
    background: #ffffff; 
    color: #475569; 
    font-size: 0.85rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: var(--transition-fast);
}
.qc-chip.active { background: #0f172a; color: #ffffff; border-color: #0f172a; }

.qc-qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    height: 32px;
}
.qc-qty-controls button {
    width: 32px; height: 100%;
    background: #f8fafc; border: none; color: #334155; font-size: 1.1rem; cursor: pointer;
}
.qc-qty-controls button:hover { background: #e2e8f0; }
.qc-qty-controls input {
    width: 40px; text-align: center; border: none; border-left: 1px solid #cbd5e1; border-right: 1px solid #cbd5e1; font-weight: 600; color: #0f172a;
    pointer-events: none;
}

.qc-divider { border: none; height: 1px; background: #e2e8f0; margin: 20px 0; }

.qc-form-group { margin-bottom: 15px; flex: 1; }
.qc-form-row { display: flex; gap: 10px; }
.qc-form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: #475569; margin-bottom: 6px; }
.qc-form-group label .req { color: #ef4444; }
.qc-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    outline: none;
    background: #f8fafc;
    font-family: inherit;
    transition: border-color 0.2s;
}
.qc-input:focus { border-color: #3b82f6; background: #ffffff; }
textarea.qc-input { resize: none; }

.qc-summary-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px dashed #cbd5e1;
}
.qc-summary-row {
    display: flex; justify-content: space-between; font-size: 0.9rem; color: #475569; margin-bottom: 8px;
}
.qc-summary-row:last-child { margin-bottom: 0; }
.qc-summary-row.total-row {
    font-weight: 800; color: #0f172a; font-size: 1.05rem;
    padding-top: 8px; border-top: 1px solid #e2e8f0; margin-top: 8px;
}
.delivery-badge { font-size: 0.7rem; background: #dbeafe; color: #2563eb; padding: 2px 6px; border-radius: 4px; margin-left: 6px; font-weight: 700; display: inline-block; }

.qc-confirm-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    background: #00875A;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}
.qc-confirm-btn:hover { box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); }

/* Twin Quick Action Buttons */
.qc-quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}
.qc-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity var(--transition-fast);
    border: none;
}
.qc-action-btn:hover {
    opacity: 0.9;
}
.qc-call-btn {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}
.qc-wa-btn {
    background: #25D366;
    color: #ffffff;
}


.qc-storytelling { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.story-img { width: 100%; border-radius: 10px; aspect-ratio: 16/9; object-fit: cover; }
.story-text { font-size: 0.85rem; color: #475569; line-height: 1.5; text-align: center; font-weight: 500; }

.success-view { padding: 40px 20px; text-align: center; }
.success-icon-wrap {
    width: 60px; height: 60px; background: #d1fae5; color: #10b981; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto;
}
.success-icon { width: 30px; height: 30px; }
.success-view h2 { color: #0f172a; font-size: 1.4rem; margin-bottom: 10px; }
.success-view p { color: #64748b; font-size: 0.9rem; line-height: 1.5; margin-bottom: 25px; }
.invoice-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 15px; text-align: left; margin-bottom: 25px; }
.inv-row { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 8px; color: #475569; }
.inv-row strong { color: #0f172a; }
.inv-row.total { font-size: 1rem; color: #0f172a; margin-top: 10px; }
.invoice-card hr { border: none; border-top: 1px dashed #cbd5e1; margin: 10px 0; }
.return-home-btn { background: #0f172a; }
.return-home-btn:hover { box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3); }

/* Drawer Catalog Grid */
.drawer-catalog-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}
.drawer-catalog-section h4 {
    font-size: 1.1rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
}
.drawer-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}
.drawer-catalog-grid .prod-card {
    flex: auto; /* Reset flex */
    height: 100%;
}
.drawer-catalog-grid .prod-info {
    padding: 10px;
}
.drawer-catalog-grid .prod-title {
    font-size: 0.85rem;
}
.drawer-catalog-grid .prod-offer {
    font-size: 1rem;
}
.drawer-catalog-grid .prod-order-btn {
    margin: 8px auto 0 auto;
    width: 100%;
    max-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 0 16px;
    height: var(--prod-btn-h, 36px);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--prod-btn-g1), var(--prod-btn-g2), var(--prod-btn-g3));
    color: var(--prod-btn-text, #fff);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(14,165,233,0.3);
    transition: all var(--transition-fast);
}
/* Mini Card for Catalog (legacy fallback if used) */
.mini-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.mini-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.mini-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mini-card-info { padding: 10px; }
.mini-card-title { font-size: 0.8rem; font-weight: 700; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card-price { font-size: 0.85rem; font-weight: 800; color: #0ea5e9; margin-top: 4px; }

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1; visibility: visible;
}
.lightbox-overlay img {
    max-width: 100vw; max-height: 100vh;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: zoom-out;
    /* Allow native pinch zoom */
    touch-action: pan-x pan-y pinch-zoom;
}
.lightbox-overlay.active img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffffff;
    font-size: 2rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 20001;
    transition: background 0.2s;
}
.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* =========================================
   Bottom Navigation Bar
========================================= */
.bottom-nav-bar {
    display: var(--show-bottom-nav, flex);
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    height: var(--nav-height, 65px);
    background-color: var(--nav-bg, rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(var(--nav-blur, 16px));
    -webkit-backdrop-filter: blur(var(--nav-blur, 16px));
    border-radius: var(--nav-radius, 20px 20px 0 0);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 990;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    border-top: 1px solid rgba(0,0,0,0.03);
}

.b-nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--nav-inactive-color, #64748b);
    cursor: pointer;
    flex: 1;
    transition: color 0.2s;
}
#navOrdersBtn { display: var(--nav-item-orders, flex); }
#navTrackBtn { display: var(--nav-item-track, flex); }
#navWhatsAppBtn { display: var(--nav-item-wa, flex); }
#navAccountBtn { display: var(--nav-item-account, flex); }

.b-nav-item svg {
    width: calc(24px * var(--nav-icon-scale, 1));
    height: calc(24px * var(--nav-icon-scale, 1));
}
.b-nav-item span {
    font-size: var(--nav-label-size, 0.65rem);
    font-weight: 600;
}
.b-nav-item.active {
    color: var(--nav-active-color, #0f172a);
}

.b-nav-center-wrap {
    display: var(--nav-item-home, flex);
    flex: 1;
    justify-content: center;
    position: relative;
    top: -15px; /* Float upwards */
}
.b-nav-center-btn {
    width: var(--nav-center-size, 56px);
    height: var(--nav-center-size, 56px);
    border-radius: 50%;
    background-color: var(--nav-center-bg, #0f172a);
    color: var(--nav-center-color, #ffffff);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
    transition: transform 0.2s;
}
.b-nav-center-btn:active {
    transform: scale(0.95);
}
.b-nav-center-btn svg {
    width: calc(24px * var(--nav-icon-scale, 1));
    height: calc(24px * var(--nav-icon-scale, 1));
}

/* =========================================
   Floating Official Facebook Messenger Chat Button
========================================= */
.stb-messenger-btn {
    position: fixed;
    z-index: 9990;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00B2FE 0%, #0084FF 30%, #A033FF 70%, #FF5280 100%);
    box-shadow: 0 4px 16px rgba(0, 132, 255, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.stb-messenger-btn.pos-bottom-right {
    bottom: var(--stb-float-bottom, calc(var(--nav-height, 65px) + 14px));
    right: var(--stb-float-side, 16px);
}

.stb-messenger-btn.pos-bottom-left {
    bottom: var(--stb-float-bottom, calc(var(--nav-height, 65px) + 14px));
    left: var(--stb-float-side, 16px);
}

.stb-messenger-btn svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
    transition: transform 0.2s ease;
}

.stb-messenger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(160, 51, 255, 0.5), 0 3px 8px rgba(0, 0, 0, 0.16);
}

.stb-messenger-btn:hover svg {
    transform: scale(1.05);
}

.stb-messenger-btn:active {
    transform: scale(0.94);
}

/* Subtle Pulsing Wave Ripple Animation */
.stb-messenger-btn.has-pulse {
    animation: messengerPulse 2.8s infinite ease-in-out;
}

@keyframes messengerPulse {
    0% {
        box-shadow: 0 4px 16px rgba(0, 132, 255, 0.38), 0 0 0 0 rgba(0, 132, 255, 0.55);
    }
    40% {
        box-shadow: 0 6px 20px rgba(160, 51, 255, 0.45), 0 0 0 14px rgba(0, 132, 255, 0);
    }
    100% {
        box-shadow: 0 4px 16px rgba(0, 132, 255, 0.38), 0 0 0 0 rgba(0, 132, 255, 0);
    }
}

/* Desktop screen adjustments */
@media (min-width: 1024px) {
    .stb-messenger-btn.pos-bottom-right {
        bottom: var(--stb-float-bottom, 24px);
        right: var(--stb-float-side, 24px);
    }
    .stb-messenger-btn.pos-bottom-left {
        bottom: var(--stb-float-bottom, 24px);
        left: var(--stb-float-side, 24px);
    }
}

/* =========================================
   Utility Drawers (Orders, Track, Account)
========================================= */
.utility-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10200;
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
}
.utility-overlay.active { opacity: 1; visibility: visible; }

.utility-drawer {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    z-index: 10201;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}
.utility-drawer.active { transform: translateY(0); }

.u-drawer-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}
.u-drawer-header h3 { font-size: 1.1rem; color: #0f172a; font-weight: 800; }
.u-drawer-close {
    background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; color: #64748b;
}

.u-drawer-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Orders List */
.orders-list-wrap { display: flex; flex-direction: column; gap: 15px; }
.order-card {
    border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px; background: #f8fafc;
}
.order-card-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; color: #64748b; }
.order-card-title { font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.order-card-details { font-size: 0.85rem; color: #475569; }

/* ==========================================
   LIVE ORDER TRACKING SYSTEM
   ========================================== */
.track-search-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
}
.track-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.track-search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    pointer-events: none;
}
.track-search-field {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.track-search-field:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.track-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    transition: all 0.2s ease;
}
.track-submit-btn:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}
.track-submit-btn:active {
    transform: translateY(0);
}
.track-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Quick Search Suggestions / Chips */
.track-quick-wrap {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.track-quick-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}
.track-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    transition: all 0.15s ease;
}
.track-chip:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
    background: #f0f9ff;
}
.track-chip.recent {
    border-color: #10b981;
    background: #ecfdf5;
    color: #047857;
}

/* Loading & Result Containers */
.track-loading-state {
    display: none;
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
}
.track-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #0ea5e9;
    border-radius: 50%;
    margin: 0 auto 12px;
    animation: trackSpin 0.8s linear infinite;
}
@keyframes trackSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.track-result-container {
    display: none;
    animation: fadeInTrack 0.3s ease-in-out;
}
@keyframes fadeInTrack {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Order Header Card */
.track-header-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}
.track-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.track-order-num {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
}
.track-order-date {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 2px;
}
.track-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}
.track-status-pill.processing {
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}
.track-status-pill.courier {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.4);
}
.track-status-pill.transit {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border: 1px solid rgba(192, 132, 252, 0.4);
}
.track-status-pill.delivered {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.4);
}
.track-status-pill.placed {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.4);
}

.track-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    font-size: 0.85rem;
}
.track-header-meta span:first-child {
    color: #94a3b8;
}
.track-header-meta .track-total-val {
    color: #38bdf8;
    font-weight: 800;
    font-size: 1rem;
}

/* 5-Step Visual Progress Timeline */
.track-timeline-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 16px;
    margin-bottom: 16px;
}
.track-timeline-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.track-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-left: 10px;
}
.track-timeline::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 12px;
    bottom: 16px;
    width: 3px;
    background: #e2e8f0;
    border-radius: 2px;
}
.track-timeline-progress-line {
    position: absolute;
    left: 21px;
    top: 12px;
    width: 3px;
    background: linear-gradient(to bottom, #10b981, #0ea5e9);
    border-radius: 2px;
    transition: height 0.5s ease-in-out;
    z-index: 1;
}

.tl-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 2;
    opacity: 0.45;
    transition: opacity 0.3s ease;
}
.tl-step.completed,
.tl-step.active {
    opacity: 1;
}
.tl-node {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: #64748b;
    transition: all 0.3s ease;
}
.tl-step.completed .tl-node {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.tl-step.active .tl-node {
    background: #0ea5e9;
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.35);
    animation: radarPulse 1.8s infinite;
}
@keyframes radarPulse {
    0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.tl-content {
    flex: 1;
}
.tl-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.tl-step.active .tl-title {
    color: #0284c7;
}
.tl-step.completed .tl-title {
    color: #0f172a;
}
.tl-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.4;
}
.tl-time {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
}

/* Courier Consignment Info Box */
.track-courier-card {
    background: #f0f9ff;
    border: 1.5px dashed #0284c7;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}
.track-courier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.track-courier-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 6px;
}
.track-courier-code-wrap {
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.track-courier-code {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}
.track-copy-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    color: #0284c7;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.2s ease;
}
.track-copy-btn:hover {
    background: #e0f2fe;
}
.track-courier-live-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px;
    background: #0284c7;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 3px 8px rgba(2, 132, 199, 0.2);
    transition: all 0.2s ease;
}
.track-courier-live-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

/* Ordered Products & Price Breakdown */
.track-section-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}
.track-section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.track-items-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.track-item-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}
.track-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.track-item-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}
.track-item-info {
    flex: 1;
    min-width: 0;
}
.track-item-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.track-item-variant {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}
.track-item-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
}

/* Delivery Details Breakdown */
.track-details-grid {
    display: grid;
    gap: 8px;
    font-size: 0.85rem;
}
.track-detail-row {
    display: flex;
    justify-content: space-between;
    color: #475569;
}
.track-detail-row strong {
    color: #0f172a;
}

/* Error / Not Found Card */
.track-empty-card {
    display: none;
    text-align: center;
    padding: 25px 15px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}
.track-empty-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.track-empty-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.track-empty-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
}
.track-wa-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.track-wa-support-btn:hover {
    background: #1da851;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .prod-card { flex: 0 0 240px; }
    .prod-track .prod-card,
    .flash-deals-track .prod-card,
    .flash-deal-card {
        flex: 0 0 clamp(140px, calc(50vw - 16px), 175px) !important;
        width: clamp(140px, calc(50vw - 16px), 175px) !important;
        max-width: 175px !important;
    }
    .drawer-catalog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .prod-order-btn {
        margin: 8px auto 0 auto;
        width: 100%;
        max-width: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        text-align: center;
        padding: 0 16px;
        height: var(--prod-btn-h, 36px);
        border-radius: 18px;
        background: linear-gradient(135deg, var(--prod-btn-g1), var(--prod-btn-g2), var(--prod-btn-g3));
        color: var(--prod-btn-text, #fff);
        font-size: 0.85rem;
        font-weight: 700;
        border: none;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(14,165,233,0.3);
        transition: all var(--transition-fast);
    }
    .prod-track .prod-order-btn,
    .flash-deals-track .prod-order-btn,
    .flash-deal-card .prod-order-btn {
        margin: 4px auto 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 28px !important;
        padding: 6px 10px !important;
        font-size: clamp(11px, 2.2vw, 12px) !important;
        border-radius: 14px !important;
    }
}

/* Bottom Nav Brand Accents */
.nav-orders-tab { color: var(--nav-inactive-color); }
.nav-orders-tab.active { color: #0ea5e9; }
.nav-orders-tab.active svg { fill: #0ea5e9; }

.nav-track-tab { color: var(--nav-inactive-color); }
.nav-track-tab.active { color: #f97316; }
.nav-track-tab.active svg { fill: #f97316; }

.nav-wa-tab { color: #25D366; }
.nav-wa-tab svg { fill: #25D366; }
.nav-wa-tab.active { color: #1da851; }

.nav-account-tab { color: var(--nav-inactive-color); }
.nav-account-tab.active { color: var(--nav-active-color); }
.nav-track-tab svg { stroke: currentColor; fill: none; }
.nav-track-tab svg path { fill: currentColor; stroke: none; }
.nav-track-tab.active svg { stroke: #f97316; }

/* Drawer Tabs */
.qc-tabs-nav {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 25px;
    margin-bottom: 15px;
}
.qc-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}
.qc-tab-btn.active {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
}
.qc-tab-pane {
    display: none;
}
.qc-tab-pane.active {
    display: block;
}

/* Eliminate Hardcoded Promo Offer Container */
.qc-offer-banner,
.combo-offer-box {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.qc-view-more-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 10px;
    padding: 5px 10px;
}

/* Value Props */
.qc-value-props {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.qc-vp-card {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}
.qc-vp-icon {
    font-size: 1.2rem;
}

/* Gallery & Checklist */
.qc-details-gallery {
    margin-bottom: 20px;
}
.qc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}
.qc-gallery-grid img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 1;
    object-fit: cover;
}
.qc-checklist-card {
    background: #1e293b;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
}
.qc-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.qc-checklist li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Size Chart */
.qc-size-chart-section {
    margin-bottom: 25px;
}
.qc-table-responsive {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.qc-size-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.9rem;
}
.qc-size-table th, .qc-size-table td {
    padding: 10px;
    border: 1px solid #e2e8f0;
}
.qc-size-table th {
    background: #f39c12; /* Customizer WP Option */
    color: #fff;
    font-weight: 700;
}
.qc-size-note {
    background: #fef3c7;
    color: #b45309;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-top: 10px;
    text-align: center;
}

/* Policies */
.qc-policy-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}
.qc-policy-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.qc-policy-icon {
    font-size: 1.5rem;
}
.qc-policy-text p {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

/* Related Products Grid */
.qc-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Reviews */
.qc-review-form-box {
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.qc-star-selector {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #cbd5e1;
    cursor: pointer;
}
.qc-star-selector .star.active {
    color: #fbbf24;
}
.qc-review-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 15px 0;
}
.qc-rev-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.qc-rev-name {
    font-weight: 700;
    font-size: 0.95rem;
}
.qc-rev-stars {
    color: #fbbf24;
    font-size: 0.9rem;
}
.qc-rev-text {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
}

/* ========================================================
   DYNAMIC PRODUCT DESCRIPTION ACCORDION & COLLAPSIBLE SYSTEM
   ======================================================== */
.product-desc-wrapper {
    margin-bottom: 24px;
    position: relative;
}

.product-desc-container {
    position: relative;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-desc-container.product-desc-collapsed,
.qc-collapsible-desc:not(.expanded) {
    max-height: var(--qc-desc-collapsed-height, 280px);
    overflow: hidden;
    position: relative;
}

.product-desc-container.product-desc-expanded,
.product-desc-container:not(.product-desc-collapsed),
.qc-collapsible-desc.expanded {
    max-height: none !important;
    overflow: visible !important;
}

.product-desc-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2;
}

.product-desc-container.product-desc-expanded .product-desc-gradient,
.product-desc-container:not(.product-desc-collapsed) .product-desc-gradient,
.qc-collapsible-desc.expanded ~ .product-desc-gradient,
.qc-collapsible-desc.expanded + .product-desc-gradient {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

.desc-toggle-wrap {
    text-align: center;
    margin-top: 12px;
    position: relative;
    z-index: 5;
}

.desc-toggle-btn,
.qc-view-more-btn,
#drawer-view-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.desc-toggle-btn:hover,
.qc-view-more-btn:hover,
#drawer-view-more-btn:hover {
    background: #e2e8f0;
    color: #0284c7;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

/* Rich Description Full HTML Support (Tables, Lists, Headings, Images) */
.product-rich-desc,
.sp-desc-content,
.qc-wysiwyg-content {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.75;
}

.product-rich-desc p,
.sp-desc-content p {
    margin-bottom: 12px;
}

.product-rich-desc h1, .product-rich-desc h2, .product-rich-desc h3,
.product-rich-desc h4, .product-rich-desc h5, .product-rich-desc h6 {
    color: #0f172a;
    font-weight: 800;
    margin-top: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-rich-desc ul,
.product-rich-desc ol {
    margin: 12px 0 16px 20px;
    padding-left: 10px;
}

.product-rich-desc ul li {
    list-style-type: disc;
    margin-bottom: 6px;
}

.product-rich-desc ol li {
    list-style-type: decimal;
    margin-bottom: 6px;
}

.product-rich-desc table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.product-rich-desc th {
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    padding: 10px 14px;
    text-align: left;
    border: 1px solid #334155;
}

.product-rich-desc td {
    padding: 9px 14px;
    border: 1px solid #e2e8f0;
    color: #334155;
}

.product-rich-desc tr:nth-child(even) {
    background: #f8fafc;
}

/* Responsive Image Sizing Inside Description Container */
.tab-content-description img,
.woocommerce-Tabs-panel--description img,
#tab-description img,
.product-desc-content.product-rich-desc img,
#spProductDescContent img,
#drawer-rich-description-body img,
.product-rich-desc img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 10px auto;
    object-fit: contain;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Completely remove static promotional combo offer container and prevent leftover spacing */
.combo-offer-box,
.qc-offer-banner {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    border: none !important;
    visibility: hidden !important;
}

/* Quick Checkout Drawer Description Wrapper & Natural Stacking for Related Products */
.qc-desc-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.qc-related-products {
    margin-top: 28px !important;
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
}

/* ========================================================
   QUICK-VIEW PRODUCT MODAL & RELATED PRODUCTS STYLES
   ======================================================== */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-body-scroll {
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .product-modal-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.modal-media-col .modal-main-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    aspect-ratio: 1/1;
}

.modal-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
}

.modal-meta-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.modal-cat-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 3px 8px;
    border-radius: 6px;
}

.modal-stock-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 6px;
}

.modal-product-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 12px;
}

.modal-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.modal-sale-price {
    font-size: 1.45rem;
    font-weight: 900;
    color: #0ea5e9;
}

.modal-reg-price {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.modal-variant-section {
    margin-bottom: 18px;
}

.variant-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.variant-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.size-pill {
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-pill.active,
.size-pill:hover {
    border-color: #0284c7;
    background: #0284c7;
    color: #ffffff;
}

.modal-cta-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-modal-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-modal-order:hover {
    background: #0284c7;
}

.btn-modal-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-modal-wa:hover {
    background: #1eb956;
}

.btn-modal-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-modal-call:hover {
    background: #e2e8f0;
}

/* Modal Tabs Navigation */
.modal-tabs-wrapper {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.modal-tab-headers {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 16px;
}

.modal-tab-nav {
    background: none;
    border: none;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #64748b;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-tab-nav.active {
    color: #0284c7;
    border-bottom-color: #0284c7;
}

.modal-tab-pane {
    display: none;
}

.modal-tab-pane.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* Reviews Styling */
.reviews-summary-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.stars-row {
    font-size: 1.1rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 4px;
}

.verified-sub {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 700;
    margin: 0;
}

.user-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-review-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
}

.reviewer-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.review-date {
    color: #94a3b8;
    font-size: 0.75rem;
}

/* Modal & Drawer Multi-Category Cross-Sell Sections */
.modal-cat-crosssell-block,
.sp-cat-crosssell-block,
.drawer-cat-crosssell-block {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}
.modal-cat-crosssell-block:last-child,
.sp-cat-crosssell-block:last-child,
.drawer-cat-crosssell-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.modal-cat-header,
.sp-cat-header,
.drawer-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.modal-cat-title,
.sp-cat-title,
.drawer-cat-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cat-modal-trigger-btn {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0284c7;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 20px;
    padding: 4px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cat-modal-trigger-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}
.modal-cat-expand-wrap,
.sp-cat-expand-wrap,
.drawer-cat-expand-wrap,
.combo-expand-wrap {
    text-align: center;
    margin-top: 14px;
    display: flex;
    justify-content: center;
}
.cat-expand-toggle-btn,
.combo-expand-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.cat-expand-toggle-btn:hover,
.combo-expand-btn:hover {
    background: #e2e8f0;
    color: #0284c7;
    border-color: #94a3b8;
    transform: translateY(-1px);
}
.combo-item-hidden {
    display: none !important;
}

/* Modal Related Products Grid */
.modal-related-products-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    margin-top: 28px;
}

.related-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.modal-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
}

.modal-related-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.modal-related-card .prod-img-box {
    aspect-ratio: 1/1;
    width: 100%;
    overflow: hidden;
    background: #f1f5f9;
}

.modal-related-card .prod-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-related-card .prod-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.modal-related-card .prod-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background: #f1f5f9;
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
    position: relative;
    z-index: 1;
}
.lang-btn {
    background: transparent;
    border: none;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang-btn.active {
    background: #ffffff;
    color: #0ea5e9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* =========================================
   Cart / Shopping Bag Slide-Over Drawer
========================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10005;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-overlay.open, .cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    z-index: 10006;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open, .cart-drawer.active {
    transform: translateX(0);
}

@media (max-width: 480px) {
    .cart-drawer {
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        top: auto;
        height: 85vh;
        transform: translateY(100%);
    }
    .cart-drawer.open, .cart-drawer.active {
        transform: translateY(0);
    }
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}
.cart-drawer-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.close-cart-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.close-cart-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px 20px 24px 20px;
}

.cart-drawer-footer {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
    padding-bottom: calc(var(--nav-height, 65px) + 15px);
}
@media (min-width: 481px) {
    .cart-drawer-footer {
        padding-bottom: 20px;
    }
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.cart-total-row span:last-child {
    font-size: 1.2rem;
    color: #0ea5e9;
    font-weight: 800;
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-grad-1, #00875A), var(--brand-grad-2, #0ea5e9));
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
}
.checkout-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
}

/* Bag Sections & Cards */
.bag-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin: 16px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bag-order-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.bag-order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.bag-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #64748b;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 8px;
}
.bag-order-id {
    font-weight: 800;
    color: #0f172a;
}
.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: #ecfdf5;
    color: #059669;
}
.order-status-badge.cod {
    background: #eff6ff;
    color: #2563eb;
}
.bag-order-item {
    display: flex;
    gap: 12px;
    align-items: center;
}
.bag-order-img {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e2e8f0;
}
.bag-order-info {
    flex: 1;
    min-width: 0;
}
.bag-order-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.bag-order-variant {
    font-size: 0.78rem;
    color: #64748b;
}
.bag-order-total {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-top: 4px;
}

/* Active Cart Item in Bag */
.bag-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 10px;
}
.bag-cart-item-left {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
    flex: 1;
}
.bag-cart-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.bag-cart-info {
    min-width: 0;
    flex: 1;
}
.bag-cart-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.bag-cart-price {
    font-size: 0.82rem;
    color: #64748b;
}
.bag-cart-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 6px;
    transition: background 0.2s;
}
.bag-cart-remove:hover {
    background: #fee2e2;
}

.empty-cart-msg {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-size: 0.95rem;
}

/* =========================================
   Responsive Header Canvas Adaptations
========================================= */
@media (max-width: 640px) {
    .header-canvas-row {
        gap: 8px;
        padding: 4px 0;
    }
    .stb-primary-logo-img,
    .brand-logo,
    .custom-logo {
        max-width: min(var(--stb-logo-w1, 85px), 90px);
        max-height: 42px;
    }
    .stb-secondary-logo-img {
        max-width: min(var(--stb-logo-w2, 60px), 50px);
        max-height: 32px;
    }
    .header-col-right {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .site-header {
        min-height: 52px;
    }
    .header-canvas-row {
        gap: 6px;
        padding: 3px 0;
    }
    .stb-primary-logo-img,
    .brand-logo,
    .custom-logo {
        max-width: min(var(--stb-logo-w1, 85px), 72px);
        max-height: 36px;
    }
    .stb-secondary-logo-img {
        max-width: min(var(--stb-logo-w2, 60px), 42px);
        max-height: 28px;
    }
    .stb-header-title {
        font-size: clamp(12px, 3.8vw, var(--stb-header-title-size, 18px));
    }
    .stb-header-slogan {
        font-size: clamp(8.5px, 2.4vw, var(--stb-header-slogan-size, 11px));
        letter-spacing: 0.4px;
    }
    .lang-btn {
        padding: 3px 6px;
        font-size: 0.68rem;
    }
    .icon-btn {
        width: 38px;
        height: 38px;
    }
}

/* =========================================
   Side Drawer Category Links & Contact Hub
========================================= */
.stb-drawer-section {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}
.stb-drawer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.stb-drawer-section-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    margin-bottom: 10px;
    padding: 0 4px;
}

/* Category List with Scalable Thumbnails */
.stb-drawer-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stb-drawer-cat-item {
    margin: 0;
    padding: 0;
}
.stb-drawer-cat-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.92rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.stb-drawer-cat-link:hover,
.stb-drawer-cat-link:active {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary-color, #0ea5e9);
    transform: translateX(2px);
}
.stb-drawer-cat-thumb {
    width: var(--stb-cat-thumb-sz, 34px);
    height: var(--stb-cat-thumb-sz, 34px);
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    background: #f1f5f9;
}
.stb-drawer-cat-icon {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--stb-cat-thumb-sz, 34px);
    height: var(--stb-cat-thumb-sz, 34px);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    flex-shrink: 0;
}
.stb-drawer-cat-text {
    flex: 1;
    font-weight: 600;
    font-size: 0.92rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.stb-drawer-cat-chevron,
.stb-drawer-cat-arrow {
    font-size: 1.25rem;
    line-height: 1;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}
.stb-drawer-cat-link:hover .stb-drawer-cat-chevron,
.stb-drawer-cat-link:hover .stb-drawer-cat-arrow {
    color: var(--primary-color, #0ea5e9);
    transform: translateX(3px);
}

/* Multi-Channel Contact & Support Hub Accordion */
.stb-drawer-contact-hub {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.stb-drawer-contact-hub.is-open {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.stb-drawer-contact-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    min-height: 44px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.stb-drawer-contact-toggle:hover,
.stb-drawer-contact-toggle:active {
    background: #f1f5f9;
}
.stb-contact-toggle-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.stb-contact-toggle-icon {
    font-size: 1rem;
}
.stb-contact-toggle-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
}
.stb-contact-toggle-indicator,
.stb-contact-toggle-arrow {
    font-size: 0.95rem;
    font-weight: 700;
    color: #64748b;
    line-height: 1;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.stb-drawer-contact-hub.is-open .stb-contact-toggle-arrow {
    transform: rotate(180deg);
}
.stb-drawer-contact-dropdown {
    display: none;
    padding: 10px 12px 12px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    animation: contactDropFade 0.2s ease-out;
}
.stb-drawer-contact-hub.is-open .stb-drawer-contact-dropdown {
    display: block;
}
@keyframes contactDropFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.stb-drawer-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.stb-drawer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    min-height: 44px;
    border: none;
    text-align: center;
}
.stb-drawer-contact-item:hover,
.stb-drawer-contact-item:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    filter: brightness(1.05);
}
.stb-drawer-contact-item.stb-contact-call {
    background: #1e293b;
    color: #ffffff;
}
.stb-drawer-contact-item.stb-contact-wa {
    background: #25D366;
    color: #ffffff;
}
.stb-drawer-contact-item.stb-contact-msg {
    background: linear-gradient(135deg, #0084ff, #a033ff);
    color: #ffffff;
}
.stb-drawer-contact-item.stb-contact-imo {
    background: #1880e7;
    color: #ffffff;
}
.stb-contact-btn-icon {
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stb-contact-label {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

/* Category Section Scroll Anchor Offset */
.combo-category-section {
    scroll-margin-top: 80px;
}

/* ==========================================================================
   8. Native WooCommerce Core Pages Baseline Styling
   Scoped strictly to WooCommerce templates (/shop, /cart, /checkout, /my-account, /order-received)
   0% Regression on custom landing pages, hero slider, or quick checkout drawers
   ========================================================================== */

.woocommerce-page .stb-native-wc-wrapper,
.woocommerce-page #main-container,
.stb-native-wc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 60px;
    box-sizing: border-box;
}

/* Base WooCommerce Typography & Notices */
.woocommerce .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.92rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    border-left: 4px solid;
}
.woocommerce-message {
    background-color: #ecfdf5;
    border-left-color: #10b981;
    color: #065f46;
}
.woocommerce-info {
    background-color: #f0f9ff;
    border-left-color: #0ea5e9;
    color: #0369a1;
}
.woocommerce-error {
    background-color: #fef2f2;
    border-left-color: #ef4444;
    color: #991b1b;
    list-style: none;
}

/* Native Tables (/cart, /checkout review, order details) */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 24px;
    background: #ffffff;
    overflow: hidden;
}
.woocommerce table.shop_table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}
.woocommerce table.shop_table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    font-size: 0.95rem;
    vertical-align: middle;
}
.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Form Inputs on Native Pages */
.woocommerce form .form-row {
    margin-bottom: 16px;
}
.woocommerce form .form-row label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form select,
.woocommerce .woocommerce-cart-form input.input-text {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form select:focus {
    border-color: #0ea5e9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* Buttons on Native Pages */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0ea5e9;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 22px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background: #0284c7;
    color: #ffffff;
}
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
    background: #0f172a;
    color: #ffffff;
}
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover {
    background: #1e293b;
    color: #ffffff;
}

/* Cart Collaterals & Totals Box */
.woocommerce .cart-collaterals {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}
.woocommerce .cart-collaterals .cart_totals {
    width: 100%;
    max-width: 480px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}
.woocommerce .cart-collaterals .cart_totals h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}
.woocommerce .cart-collaterals .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
    margin-top: 15px;
}

/* Native Checkout Two-Column / Review Box */
.woocommerce-checkout #customer_details {
    margin-bottom: 24px;
}
.woocommerce-checkout #order_review_heading {
    margin-top: 24px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
}
.woocommerce-checkout #order_review {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-top: 16px;
}
.woocommerce-checkout .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.woocommerce-checkout .wc_payment_methods li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}
.woocommerce-checkout .place-order button#place_order {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
}

/* My Account Navigation & Dashboard */
.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 24px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #0ea5e9;
    color: #ffffff;
}
.woocommerce-account .woocommerce-MyAccount-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .woocommerce table.shop_table_responsive tr {
        display: block;
        margin-bottom: 14px;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        background: #ffffff;
    }
    .woocommerce table.shop_table_responsive tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 10px 14px;
    }
    .woocommerce table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
        color: #64748b;
        text-align: left;
    }
    .woocommerce .cart-collaterals .cart_totals {
        max-width: 100%;
    }
}

/* =========================================================================
   🌟 CUSTOMER REVIEWS SLIDER SECTION
   ========================================================================= */
.stb-reviews-section {
    padding: 60px 0;
    background-color: var(--body-bg-color);
    overflow: hidden;
    border-top: 1px solid #e2e8f0;
}

.stb-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.stb-reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.stb-reviews-main-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.stb-reviews-underline {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.stb-reviews-slider-wrap {
    position: relative;
    width: 100%;
}

.stb-reviews-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 20px;
}

.stb-review-card {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 640px) {
    .stb-review-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (min-width: 1024px) {
    .stb-review-card {
        flex: 0 0 calc(33.333% - 13.333px);
    }
}

.stb-review-card-inner {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stb-review-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stb-review-img-box {
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f1f5f9;
    background: #f1f5f9;
}

.stb-review-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stb-review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.stb-star {
    width: 18px;
    height: 18px;
    color: #e2e8f0;
}

.stb-star.active {
    color: #fbbf24;
}

.stb-review-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
}

.stb-review-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.stb-reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.stb-rev-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.stb-rev-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Animations */
@keyframes stbFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stb-review-card {
    animation: stbFadeInUp 0.6s ease forwards;
}

/* Ensure section is visible and has clear spacing */
.stb-reviews-section {
    display: block !important;
    min-height: 300px;
    position: relative;
    z-index: 100;
    margin: 40px 0;
    background: #ffffff !important;
}





