@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

/* ==========================================================================
   FnF SHOP — Comprehensive Enterprise Mega Storefront Stylesheet (storefront.css)
   Aesthetic: Vibrant Enterprise Mega Shop Commerce Theme
   Curated Palette:
     --primary:        #2563EB (Royal Sapphire Blue / Enterprise Standard)
     --primary-dark:   #1D4ED8 (Deep Sapphire Blue)
     --primary-light:  #3B82F6 (Vivid Sky Blue)
     --primary-soft:   #EFF6FF (Clean Ice Blue Tint)
     --secondary:      #E11D48 (Crimson Coral / Flash Deals Accent)
     --dark:           #0F172A (Midnight Slate Navy)
     --dark-bg:        #0B1120 (Deep Midnight Dark)
     --bg-light:       #F8FAFC (Clean Modern Slate Canvas)
     --card-border:    #E2E8F0 (Modern Crisp Border)
     --wa-color:       #25D366 (Official WhatsApp Green)
   ========================================================================== */

:root {
    /* Brand Design Tokens — Enterprise Mega Shop Theme */
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-deep: #1E3A8A;
    --primary-light: #3B82F6;
    --primary-soft: #EFF6FF;
    --primary-subtle: #DBEAFE;
    --secondary: #E11D48;
    --secondary-dark: #BE123C;
    --secondary-light: #FB7185;
    --secondary-soft: #FFF1F2;
    --secondary-subtle: #FFE4E6;
    --accent: #EFF6FF;
    --accent-gold: #F59E0B;
    --gold: #F59E0B;
    --gold-subtle: #FEF3C7;
    --dark: #0F172A;
    --dark-bg: #0B1120;
    --text-dark: #0F172A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --bg-light: #F8FAFC;
    --bg-faint: #F1F5F9;
    --card-border: #E2E8F0;
    --border: #E2E8F0;
    --wa-color: #25D366;
    --wa-hover: #1EBD5A;

    /* Bootstrap 5 Variable Overrides */
    --bs-primary: #2563EB;
    --bs-primary-rgb: 37, 99, 235;
    --bs-primary-bg-subtle: #EFF6FF;
    --bs-primary-border-subtle: #DBEAFE;
    --bs-primary-text-emphasis: #1D4ED8;
    --bs-success: #2563EB;
    --bs-success-rgb: 37, 99, 235;
    --bs-success-bg-subtle: #EFF6FF;
    --bs-success-border-subtle: #DBEAFE;
    --bs-success-text-emphasis: #1D4ED8;
    --bs-danger: #EF4444;
    --bs-danger-rgb: 239, 68, 68;
    --bs-warning: #F59E0B;
    --bs-warning-rgb: 245, 158, 11;
    --bs-info: #0EA5E9;
    --bs-info-rgb: 14, 165, 233;

    /* Shadows & Radii */
    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-sm: 0 2px 10px rgba(37, 99, 235, 0.08);
    --shadow-md: 0 8px 24px rgba(37, 99, 235, 0.12);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 50px;
}

/* ==========================================================================
   GLOBAL BASE & TYPOGRAPHY
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body, button, input, select, textarea, .btn, .badge {
    font-family: 'Hind Siliguri', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
/* ==========================================================================
   PREVENT MODAL / OFFCANVAS LAYOUT SHIFT & PAGE JERK (CLS FIX)
   ========================================================================== */
html {
    scrollbar-gutter: stable;
}

body.modal-open,
body.offcanvas-open {
    padding-right: 0 !important;
    overflow-y: auto !important;
}

.catalog-header.sticky-top,
.mobile-bottom-nav,
.cart-sticky-bar,
.floating-agribot-hub,
.floating-support-hub {
    padding-right: 0 !important;
    margin-right: 0 !important;
}



body {
    background-color: var(--bg-light);
    color: var(--dark);
    margin: 0;
    padding-bottom: 0 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 65px !important;
    }
}

main {
    flex: 1 0 auto;
}

::selection {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover {
    color: var(--primary-dark);
}

.text-inherit {
    color: inherit !important;
}

/* Form Inputs Focus Ring */
.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15) !important;
}

/* ==========================================================================
   TOP MEGA ANNOUNCEMENT STRIP (TIER 0)
   ========================================================================== */
.luxury-announcement-bar, .top-announcement {
    background: linear-gradient(90deg, #0B1120 0%, #1E3A8A 50%, #0B1120 100%);
    color: #F8FAFC;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1060;
}

.luxury-announcement-bar a, .top-announcement a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.15s ease;
}

.luxury-announcement-bar a:hover, .top-announcement a:hover {
    color: #ffffff;
}

.announcement-badge-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   MAIN TOPBAR & BRAND NAVIGATION (TIER 1)
   ========================================================================== */
.catalog-header, .catalog-navbar {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid var(--border);
}

.header-topbar {
    padding: 8px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.brand-logo-img {
    width: 42px;
    height: 42px;
    max-width: 42px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
}

.brand-logo-fallback {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.nav-hamburger-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #EFE4DC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-hamburger-btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

.topbar-search-wrapper {
    max-width: 520px;
    width: 100%;
}

.topbar-search-box {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

.topbar-search-box:hover, .topbar-search-box:focus-within {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.topbar-search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 13.5px;
    color: var(--dark);
    font-weight: 500;
    cursor: pointer;
}

.topbar-kbd-shortcut {
    background: #e2e8f0;
    color: #64748b;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
    font-weight: 700;
}

.topbar-hotline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--primary-soft);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
}

.topbar-hotline-pill:hover {
    background: var(--primary-subtle);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.topbar-cart-btn {
    position: relative;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-cart-btn:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--primary);
}

/* ==========================================================================
   NAVIGATION STRIP & MEGA CATEGORY MENU (TIER 2)
   ========================================================================== */
.header-navstrip {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1040;
}

.mega-menu-container {
    position: relative;
}

.mega-menu-trigger {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mega-menu-trigger:hover {
    background: var(--primary-dark);
}

.mega-menu-panel {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #EFE4DC;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    min-width: 720px;
    z-index: 1050;
    margin-top: 6px;
    overflow: hidden;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu-container:hover .mega-menu-panel,
.mega-menu-panel.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.mega-panel-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 380px;
}

.mega-parent-list {
    background: #f8fafc;
    border-right: 1px solid #EFE4DC;
    padding: 12px 8px;
}

.mega-parent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.mega-parent-item:hover, .mega-parent-item.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.mega-children-pane {
    padding: 16px 20px;
    background: #ffffff;
    max-height: 480px;
    overflow-y: auto;
}

.mega-child-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mega-child-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    font-size: 12.5px;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.mega-child-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: var(--border);
    transform: translateX(2px);
}

.navstrip-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 48px;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.navstrip-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 6px 9px;
    color: #4b3e39;
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}

.navstrip-link:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.navstrip-link.active {
    color: var(--primary);
    font-weight: 700;
    background: var(--primary-soft);
}

/* Navstrip Badges */
.navstrip-badge-new {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    display: inline-block;
    line-height: 1.2;
}

.navstrip-badge-hot {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    display: inline-block;
    line-height: 1.2;
}

/* Navstrip Sub-Dropdown Menus */
.navstrip-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 48px;
    flex-shrink: 0;
}

.navstrip-chevron {
    font-size: 10px;
    opacity: 0.6;
    margin-left: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navstrip-dropdown:hover .navstrip-chevron,
.navstrip-dropdown.show .navstrip-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--primary);
}

.navstrip-dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    border: 1px solid var(--border);
    padding: 10px;
    z-index: 1060;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

/* Hover bridge prevents losing dropdown when moving cursor */
.navstrip-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 18px;
    z-index: 1059;
}

.navstrip-dropdown:hover .navstrip-dropdown-menu,
.navstrip-dropdown.show .navstrip-dropdown-menu,
.navstrip-dropdown-menu:hover,
.navstrip-dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.navstrip-dropdown-header {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px 8px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 6px;
}

.navstrip-drop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 9px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.navstrip-drop-item:hover,
.navstrip-drop-item.active {
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateX(3px);
}

.navstrip-drop-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 4px;
}

.navstrip-drop-all {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    padding: 7px;
    border-radius: 8px;
    text-decoration: none;
    background: var(--primary-soft);
    transition: all 0.15s ease;
}

.navstrip-drop-all:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Wide Multi-Category Dropdown (for More Categories) */
.navstrip-dropdown-menu.navstrip-dropdown-menu-wide {
    width: 480px;
    max-width: 90vw;
    padding: 12px;
}

.navstrip-more-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    padding: 2px;
}

.navstrip-more-col {
    background: #f8fafc;
    border-radius: 9px;
    padding: 8px 10px;
    border: 1px solid #edf2f7;
    transition: all 0.15s ease;
}

.navstrip-more-col:hover {
    background: #ffffff;
    border-color: #f1bfae;
    box-shadow: 0 4px 12px rgba(184, 93, 67, 0.08);
}

.navstrip-more-parent {
    padding-bottom: 4px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}

.navstrip-more-subs {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.navstrip-more-subitem {
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.1s ease;
}

.navstrip-more-subitem:hover {
    color: var(--primary) !important;
    background: var(--primary-soft);
    padding-left: 6px;
}

/* Dark mode support */
[data-bs-theme="dark"] .navstrip-dropdown-menu {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
[data-bs-theme="dark"] .navstrip-dropdown-header {
    color: #94a3b8;
    border-color: #334155;
}
[data-bs-theme="dark"] .navstrip-drop-item {
    color: #e2e8f0;
}
[data-bs-theme="dark"] .navstrip-drop-item:hover,
[data-bs-theme="dark"] .navstrip-drop-item.active {
    background: #334155;
    color: #f87171;
}
[data-bs-theme="dark"] .navstrip-drop-divider {
    background: #334155;
}
[data-bs-theme="dark"] .navstrip-drop-all {
    background: #0f172a;
    color: #fca5a5;
}
[data-bs-theme="dark"] .navstrip-more-col {
    background: #0f172a;
    border-color: #334155;
}
[data-bs-theme="dark"] .navstrip-more-col:hover {
    background: #1e293b;
    border-color: #475569;
}
[data-bs-theme="dark"] .navstrip-more-parent span {
    color: #e2e8f0 !important;
}
[data-bs-theme="dark"] .navstrip-more-subitem:hover {
    background: #334155;
}

/* Interactive Studio & Branches Dropdown Panel */
.branches-nav-container {
    position: relative;
    flex-shrink: 0;
}

.branches-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.branches-trigger-btn:hover {
    background: var(--primary-soft);
    border-color: var(--border);
    color: var(--primary);
}

.branches-chevron {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.branches-nav-container:hover .branches-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.branches-dropdown-panel {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    border: 1px solid var(--border);
    z-index: 1060;
    transform: translateY(6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.branches-nav-container:hover .branches-dropdown-panel,
.branches-dropdown-panel:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Mobile Quick Navigation Strip */
.mobile-touch-navstrip {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 8px 12px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 8px;
}

.mobile-touch-navstrip::-webkit-scrollbar {
    display: none;
}

.mob-navstrip-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: #334155;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.mob-navstrip-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

.mob-navstrip-chip:active, .mob-navstrip-chip.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

/* Responsive Navbar Tightening for Small Desktop / Laptops */
@media (max-width: 1399.98px) {
    .navstrip-link {
        font-size: 11.5px;
        padding: 5px 6px;
        gap: 2px;
    }
    .mega-menu-trigger {
        font-size: 12.5px;
        padding: 7px 11px;
    }
    .branches-trigger-btn {
        padding: 4px 8px;
        font-size: 11.5px;
    }
}

@media (max-width: 1199.98px) {
    .navstrip-link {
        font-size: 11px;
        padding: 4px 5px;
        gap: 2px;
    }
    .mega-menu-trigger {
        padding: 6px 9px;
        font-size: 12px;
    }
    .branches-nav-container {
        display: none !important;
    }
}

/* ==========================================================================
   BRAND LOGO & NAVSTRIP SPECIAL HELPERS
   ========================================================================== */
.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.chevron-icon {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.navstrip-hot-link {
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid #fecdd3;
    font-weight: 700 !important;
}

.navstrip-hot-link:hover {
    background: #ffe4e6 !important;
    color: #be123c !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22);
    transform: translateY(-1px);
}

        /* Modern Hero Banner */
        .hero-banner {
            background: linear-gradient(135deg, #0B1120 0%, #1E293B 45%, #1E40AF 100%);
            color: #ffffff;
            padding: 40px 0 35px 0;
            position: relative;
            overflow: hidden;
        }

        .hero-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(11, 17, 32, 0) 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #fef08a;
            font-size: 13px;
            font-weight: 700;
            padding: 6px 14px;
            border-radius: 30px;
            margin-bottom: 16px;
        }

        .hero-title {
            font-size: 2.1rem;
            font-weight: 800;
            line-height: 1.25;
            margin-bottom: 12px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.15);
        }

        .hero-subtitle {
            font-size: 15px;
            max-width: 680px;
            margin: 0 auto 24px auto;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.5;
        }

        .search-container {
            max-width: 620px;
            margin: 0 auto 20px auto;
            position: relative;
        }

        .search-box {
            background: #ffffff;
            border-radius: 50px;
            padding: 6px 8px 6px 20px;
            display: flex;
            align-items: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .search-box:focus-within {
            transform: scale(1.02);
            box-shadow: 0 12px 30px rgba(0,0,0,0.28);
        }

        .search-input {
            border: none;
            outline: none;
            width: 100%;
            font-size: 15px;
            color: #1e293b;
            font-family: inherit;
        }

        .search-btn {
            background: var(--primary);
            color: #ffffff;
            border: none;
            border-radius: 50px;
            padding: 10px 22px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .search-btn:hover {
            background: var(--primary-dark);
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
        }

        /* Search Popup Modal Styles */
        .search-modal-overlay {
            z-index: 1070 !important;
        }

        .search-modal-dialog {
            max-width: 780px;
            margin: 30px auto;
        }

        .search-modal-content {
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
            border-radius: 24px;
        }

        .modal-search-box {
            background: #f8fafc;
            border: 2px solid var(--primary);
            border-radius: 50px;
            padding: 8px 18px;
            transition: all 0.2s ease;
        }

        .modal-search-box:focus-within {
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
        }

        .modal-search-input {
            border: none;
            background: transparent;
            outline: none;
            font-size: 16px;
            font-weight: 600;
            color: #0f172a;
            font-family: inherit;
        }

        .modal-tag-chip {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 5px 14px;
            font-size: 12px;
            font-weight: 600;
            color: #334155;
            transition: all 0.2s ease;
            cursor: pointer;
        }

        .modal-tag-chip:hover {
            background: var(--primary-soft);
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-1px);
        }

        .modal-search-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            transition: all 0.2s ease;
            text-decoration: none;
            color: inherit;
        }

        .modal-search-card:hover {
            border-color: var(--primary);
            box-shadow: 0 6px 18px rgba(37, 99, 235, 0.10);
            transform: translateY(-2px);
        }

        .modal-search-img {
            width: 58px;
            height: 58px;
            border-radius: 12px;
            object-fit: cover;
            flex-shrink: 0;
            background: #f1f5f9;
        }

        .search-pulse-icon {
            font-size: 40px;
            animation: pulse 2s infinite ease-in-out;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.15); opacity: 1; }
        }

        /* Search Quick Tags */
        .search-quick-tags {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
            font-size: 12px;
        }

        .quick-tag-pill {
            background: rgba(255, 255, 255, 0.12);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #ffffff;
            padding: 3px 10px;
            border-radius: 20px;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .quick-tag-pill:hover {
            background: #ffffff;
            color: var(--primary-dark);
            font-weight: 600;
        }

        /* Hero Trust Strip */
        .hero-trust-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px;
            max-width: 950px;
            margin: 28px auto 0 auto;
        }

        .hero-trust-item {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(6px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            padding: 10px 12px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #ffffff;
            font-size: 13px;
            font-weight: 600;
            transition: transform 0.2s ease;
        }

        .hero-trust-item:hover {
            background: rgba(255, 255, 255, 0.18);
            transform: translateY(-2px);
        }

        .hero-trust-icon {
            font-size: 20px;
            color: #fef08a;
        }

        @media (max-width: 768px) {
            .hero-title { font-size: 1.5rem; }
            .hero-trust-grid { grid-template-columns: repeat(2, 1fr); }
            .hero-banner { padding: 25px 0 20px 0; }
        }

        /* Story-Style Circular Category Bar */
        .story-cat-section {
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            padding: 16px 0;
            position: relative;
            box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        }

        .story-cat-scroll {
            display: flex;
            gap: 18px;
            overflow-x: auto;
            padding: 6px 12px;
            scrollbar-width: none;
            scroll-behavior: smooth;
        }

        .story-cat-scroll::-webkit-scrollbar {
            display: none;
        }

        .story-cat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            width: 95px;
            min-width: 95px;
            max-width: 95px;
            flex-shrink: 0;
            text-align: center;
            transition: transform 0.2s ease;
        }

        .story-cat-item:hover {
            transform: translateY(-3px);
        }

        .story-cat-avatar {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            background: #f1f5f9;
            border: 2px solid #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin-bottom: 6px;
            transition: all 0.25s ease;
        }

        .story-cat-item.active .story-cat-avatar,
        .story-cat-item:hover .story-cat-avatar {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
            background: var(--primary-soft);
            transform: scale(1.06);
        }

        .story-cat-name {
            font-size: 12px;
            font-weight: 600;
            color: #475569;
            line-height: 1.25;
            height: 30px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
            text-align: center;
            white-space: normal;
        }

        .story-cat-item.active .story-cat-name {
            color: var(--primary);
            font-weight: 700;
        }

        .story-cat-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            color: var(--dark);
            box-shadow: 0 4px 12px rgba(0,0,0,0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s ease;
        }

        .story-cat-nav-btn:hover {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
        }

        .story-cat-nav-btn.prev { left: 4px; }
        .story-cat-nav-btn.next { right: 4px; }

        /* Promo Banner Cards */
        .promo-card {
            min-height: 130px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: none;
        }
        .promo-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 24px rgba(0,0,0,0.12);
        }
        .promo-mango { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); }
        .promo-coconut { background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%); }
        .promo-soil { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
        .promo-winter { background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%); }
        .promo-icon-bg {
            font-size: 65px;
            opacity: 0.25;
            position: absolute;
            right: 12px;
            bottom: -6px;
            user-select: none;
            transition: transform 0.3s ease;
        }
        .promo-card:hover .promo-icon-bg {
            transform: scale(1.15) rotate(8deg);
        }

        /* Story Badges */
        .story-badge-hot {
            position: absolute;
            top: -4px;
            right: -6px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: #ffffff;
            font-size: 9px;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 10px;
            box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
            animation: bounce 2s infinite ease-in-out;
            letter-spacing: 0.3px;
            line-height: 1.2;
            z-index: 2;
        }

        .story-badge-new {
            position: absolute;
            top: -4px;
            right: -6px;
            background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
            color: #ffffff;
            font-size: 9px;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 10px;
            box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
            line-height: 1.2;
            z-index: 2;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }

        /* Sticky Category Filter Pills Bar */
        .category-pills-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .cat-pills-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            color: #0f172a;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 13px;
        }
        .cat-pills-nav-btn:hover {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
        }
        .cat-pills-nav-btn.prev {
            left: -8px;
        }
        .cat-pills-nav-btn.next {
            right: -8px;
        }

        .category-pills-bar {
            display: flex;
            align-items: center;
            gap: 8px;
            overflow-x: auto;
            white-space: nowrap;
            padding: 6px 2px 10px 2px;
            scrollbar-width: none;
            -ms-overflow-style: none;
            width: 100%;
            scroll-behavior: smooth;
            cursor: grab;
        }
        .category-pills-bar:active,
        .category-pills-bar.is-dragging {
            cursor: grabbing;
            user-select: none;
            scroll-behavior: auto;
        }
        .category-pills-bar::-webkit-scrollbar {
            display: none;
        }
        .cat-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 50px;
            font-size: 13px;
            font-weight: 600;
            color: #334155;
            text-decoration: none;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            flex-shrink: 0;
            box-shadow: 0 1px 3px rgba(0,0,0,0.03);
        }
        .cat-pill:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: var(--primary-soft);
            transform: translateY(-1px);
        }
        .cat-pill.active {
            background: var(--primary) !important;
            border-color: var(--primary) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
        }
        .cat-pill-count {
            background: rgba(0, 0, 0, 0.06);
            color: inherit;
            font-size: 11px;
            font-weight: 700;
            padding: 1px 7px;
            border-radius: 20px;
            line-height: 1.3;
        }
        .cat-pill.active .cat-pill-count {
            background: rgba(255, 255, 255, 0.25);
            color: #ffffff;
        }

        /* Mobile Drawer Category Hierarchy */
        .drawer-cat-parent {
            font-weight: 700;
            color: #1e293b;
            background: #f8fafc;
            border-radius: 10px;
            padding: 10px 14px;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-decoration: none;
            transition: background 0.15s ease;
        }
        .drawer-cat-parent:hover {
            background: var(--primary-soft);
            color: var(--primary);
        }
        .drawer-cat-child {
            padding: 6px 12px 6px 34px;
            font-size: 13px;
            color: #475569;
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-decoration: none;
            border-radius: 8px;
            transition: all 0.15s ease;
        }
        .drawer-cat-child:hover {
            background: #f1f5f9;
            color: var(--primary);
            padding-left: 38px;
        }
        .drawer-cat-child.active {
            background: var(--primary-soft);
            color: var(--primary);
            font-weight: 700;
        }

        /* Filter & Sorting Bar */
        .filter-chip {
            background: #f1f5f9;
            color: #475569;
            border: 1px solid #e2e8f0;
            padding: 5px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        .filter-chip:hover, .filter-chip.active {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
            box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
        }

        /* Trending Spotlight Ribbon */
        .spotlight-card {
            background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 55%, #3B82F6 100%);
            border-radius: 20px;
            padding: 20px;
            color: #ffffff;
            box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
            position: relative;
            overflow: hidden;
            margin-bottom: 28px;
        }

        .spotlight-scroll {
            display: flex;
            gap: 14px;
            overflow-x: auto;
            padding: 8px 2px;
            scrollbar-width: none;
            scroll-behavior: smooth;
            cursor: grab;
        }

        .spotlight-scroll:active {
            cursor: grabbing;
        }

        .spotlight-scroll::-webkit-scrollbar {
            display: none;
        }

        .spotlight-nav-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255, 255, 255, 0.35);
            color: #ffffff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s ease;
        }

        .spotlight-nav-btn:hover {
            background: #ffffff;
            color: var(--primary-dark);
        }

        .spotlight-plant-pill {
            background: rgba(255, 255, 255, 0.96);
            border-radius: 14px;
            padding: 8px 12px;
            min-width: 220px;
            max-width: 220px;
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--dark);
            transition: all 0.2s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
            flex-shrink: 0;
        }

        .spotlight-plant-pill:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 18px rgba(0,0,0,0.15);
            background: #ffffff;
        }

        .spotlight-img {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            object-fit: cover;
        }

        /* Product Cards */

/* ==========================================================================
   PRODUCT CARDS (CATALOG GRID)
   ========================================================================== */
.plant-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    position: relative;
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(184, 93, 67, 0.12);
    border-color: var(--primary-soft);
}

.plant-img-wrapper {
    position: relative;
    background: #f8fafc;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.plant-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.plant-card:hover .plant-img {
    transform: scale(1.08);
}

.plant-placeholder-icon {
    font-size: 50px;
    color: #cbd5e1;
}

.featured-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(217, 119, 6, 0.95);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2;
}

.stock-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.stock-tag.out-of-stock {
    background: rgba(220, 38, 38, 0.9);
}

.quick-view-overlay-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--dark);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    opacity: 0.9;
    transition: all 0.2s ease;
    z-index: 2;
}

.quick-view-overlay-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    opacity: 1;
}

.plant-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plant-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.plant-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.plant-pricing {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: auto;
    margin-bottom: 12px;
}

.price-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-dark);
}

.price-unit {
    font-size: 12px;
    color: var(--text-muted);
}

.add-cart-btn {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.add-cart-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(184, 93, 67, 0.25);
}

/* ==========================================================================
   FLOATING STICKY CART BAR & MOBILE APP BOTTOM BAR
   ========================================================================== */
.cart-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 500px;
    background: #ffffff;
    border-radius: 18px;
    padding: 10px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: 1px solid var(--border);
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991px) {
    .cart-sticky-bar {
        bottom: 70px;
    }
}

@keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.cart-checkout-btn {
    background: var(--wa-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: 0.2s;
}

.cart-checkout-btn:hover {
    background: var(--wa-hover);
}

/* Mobile Bottom App Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1035;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.mob-nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    width: 20%;
    padding: 6px 0;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.mob-nav-item i {
    font-size: 18px;
    margin-bottom: 2px;
}

.mob-nav-item.active, .mob-nav-item:hover {
    color: var(--primary);
}

.mob-cart-badge {
    position: absolute;
    top: 2px;
    right: 18px;
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Cart Offcanvas Modal Rows */
.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.qty-btn {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.qty-val {
    font-weight: 700;
    margin: 0 8px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE LAYOUT (SHOW / PLANT)
   ========================================================================== */
.plant-main-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.plant-image-stage {
    background: #f8fafc;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.plant-hero-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plant-hero-img:hover {
    transform: scale(1.05);
}

.plant-badge-top {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.delivery-estimator-box {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 16px;
}

[data-bs-theme="dark"] .delivery-estimator-box {
    background: #1e293b;
    border-color: #334155;
}

[data-bs-theme="dark"] .delivery-estimator-box select {
    background-color: #0f172a;
    color: #f1f5f9;
    border-color: #334155;
}

[data-bs-theme="dark"] #detailDeliveryFeeBadge {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}

[data-bs-theme="dark"] #orderCustDistrict {
    background-color: #1e293b !important;
    color: #f1f5f9 !important;
    border-color: #334155 !important;
}

.spec-item-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    height: 100%;
    transition: all 0.2s;
}

.spec-item-box:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.spec-icon {
    font-size: 20px;
    margin-bottom: 6px;
    display: inline-block;
}

.spec-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
}

.spec-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.related-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.10);
    transform: translateY(-2px);
}

.related-img {
    width: 75px;
    height: 75px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f8fafc;
}

.gallery-thumb-btn {
    border: 2px solid transparent;
    background: #ffffff;
    padding: 2px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumb-btn:hover, .gallery-thumb-btn.active {
    border-color: var(--primary);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15);
}

.cart-icon-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.qty-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 4px 8px;
    width: 120px;
    justify-content: space-between;
    background: #ffffff;
}

.qty-btn-circle {
    background: #f1f5f9;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--dark);
}

.qty-btn-circle:hover {
    background: var(--primary);
    color: #ffffff;
}

.qty-number {
    font-weight: 800;
    font-size: 15px;
    color: var(--dark);
}

/* ==========================================================================
   ORDER TRACKING PAGE (TRACK)
   ========================================================================== */
.track-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(15, 34, 61, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 35px 0 25px;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 35px;
    right: 35px;
    height: 5px;
    background: var(--border);
    border-radius: 10px;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.timeline-step.active .step-icon {
    background: var(--primary);
    border-color: #93c5fd;
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.25);
}

.timeline-step.completed .step-icon {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.step-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    line-height: 1.3;
}

.timeline-step.completed .step-label {
    color: #0f172a;
    font-weight: 800;
}

.timeline-step.active .step-label {
    color: var(--primary);
    font-weight: 800;
}

/* ==========================================================================
   ABOUT US PAGE (ABOUT)
   ========================================================================== */
.about-hero {
    background: linear-gradient(135deg, #0B1120 0%, #1E293B 55%, #1E40AF 100%);
    color: #ffffff;
    padding: 60px 0 55px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.badge-craft-hero {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: #fef08a;
    padding: 6px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    color: #ffffff;
    transition: transform 0.2s;
}

.kpi-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
}

.kpi-number {
    font-size: 28px;
    font-weight: 800;
    color: #f6c77f;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 12.5px;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.award-gold-card {
    background: linear-gradient(135deg, #fdf7ec 0%, #faebd7 100%);
    border: 1px solid #ebd3be;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px 20px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

/* ==========================================================================
   SITEMAP PAGE (SITEMAP)
   ========================================================================== */
.sitemap-hero {
    background: linear-gradient(135deg, #0B1120 0%, #1E293B 50%, #1E40AF 100%);
    color: #ffffff;
    padding: 45px 0 35px;
    border-bottom: 3px solid var(--primary);
}

.category-sitemap-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-sitemap-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
    border-color: var(--primary);
}

.sitemap-plant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: var(--dark);
    transition: background 0.15s ease;
}

.sitemap-plant-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.quick-page-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.quick-page-pill:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING CART & MOBILE APP BAR
   ========================================================================== */
.cart-sticky-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 500px;
    background: #ffffff;
    border-radius: 18px;
    padding: 10px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: 1px solid #EFE4DC;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 991px) {
    .cart-sticky-bar {
        bottom: 70px;
    }
}

.cart-checkout-btn {
    background: var(--wa-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
    transition: 0.2s;
}

.cart-checkout-btn:hover {
    background: var(--wa-hover);
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #EFE4DC;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1035;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.mob-nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    width: 20%;
    padding: 6px 0;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.mob-nav-item.active, .mob-nav-item:hover {
    color: var(--primary);
}

.mob-cart-badge {
    position: absolute;
    top: 2px;
    right: 18px;
    background: var(--primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

/* ==========================================================================
   MAIN FOOTER & FEATURES STRIP
   ========================================================================== */
.catalog-features-strip {
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.catalog-footer {
    background: linear-gradient(180deg, #0F223D 0%, #0A1628 60%, #060E1A 100%);
    border-top: 4px solid #2563EB;
    color: #ffffff;
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.footer-social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   UNIFIED BUTTONS & UTILITIES (ENTERPRISE MEGA SHOP THEME WITH WHATSAPP PRESERVED)
   ========================================================================== */
/* Primary Buttons */
.btn-primary { 
    background-color: var(--primary) !important; 
    border-color: var(--primary) !important; 
    color: #fff !important; 
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { 
    background-color: var(--primary-dark) !important; 
    border-color: var(--primary-dark) !important; 
    color: #fff !important; 
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

/* Success Buttons (Mapped to Enterprise Primary, WhatsApp preserved) */
.btn-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]) { 
    background-color: var(--primary) !important; 
    border-color: var(--primary) !important; 
    color: #fff !important; 
}
.btn-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]):hover, 
.btn-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]):focus, 
.btn-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]):active { 
    background-color: var(--primary-dark) !important; 
    border-color: var(--primary-dark) !important; 
    color: #fff !important; 
}
.btn-outline-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]) {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}
.btn-outline-success:not([style*="25D366"]):not(.btn-whatsapp):not([class*="whatsapp"]):hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

/* Text & Border Color Utilities */
.text-primary { 
    color: var(--primary) !important; 
}
.border-primary { 
    border-color: var(--primary) !important; 
}
.text-success:not(.fa-whatsapp):not(.text-whatsapp):not([style*="25D366"]):not([class*="whatsapp"]) { 
    color: var(--primary) !important; 
}
a.text-success:not(.fa-whatsapp):not(.text-whatsapp):not([style*="25D366"]):not([class*="whatsapp"]) {
    color: var(--primary) !important;
}
a.text-success:not(.fa-whatsapp):not(.text-whatsapp):not([style*="25D366"]):not([class*="whatsapp"]):hover {
    color: var(--primary-dark) !important;
}
.border-success, .border-success-subtle { 
    border-color: var(--border) !important; 
}

/* Solid Backgrounds */
.bg-primary:not([class*="bg-opacity-"]) { 
    background-color: var(--primary) !important; 
    color: #fff !important; 
}
.bg-success:not([class*="bg-opacity-"]):not([style*="25D366"]):not(.bg-whatsapp):not([class*="whatsapp"]) { 
    background-color: var(--primary) !important; 
    color: #fff !important; 
}

/* Subtle Badges */
.bg-success-subtle, .bg-primary-subtle,
.badge.bg-success-subtle, .badge.bg-primary-subtle {
    background-color: #EFF6FF !important;
    color: #1D4ED8 !important;
    border-color: #DBEAFE !important;
}
.badge.border-success-subtle, .badge.border-primary-subtle {
    border-color: #DBEAFE !important;
}

/* Soft Opacity Helpers */
.bg-primary.bg-opacity-10, .bg-primary-soft, .bg-soft-primary,
.bg-success.bg-opacity-10, .bg-success-soft, .bg-soft-success {
    background-color: rgba(37, 99, 235, 0.12) !important;
    color: var(--primary-dark) !important;
}
.bg-primary.bg-opacity-20, .bg-success.bg-opacity-20 {
    background-color: rgba(37, 99, 235, 0.20) !important;
    color: var(--primary-dark) !important;
}

/* WHATSAPP ACTION BUTTONS & ICONS (EXCLUSIVE BRAND GREEN) */
.text-whatsapp, .fa-whatsapp, .fab.fa-whatsapp, a[href*="wa.me"] i {
    color: #25D366 !important;
}
.btn-whatsapp, a[href*="wa.me"].btn-success {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
}
.btn-whatsapp:hover, a[href*="wa.me"].btn-success:hover {
    background-color: #1EBD5A !important;
    border-color: #1EBD5A !important;
    color: #ffffff !important;
}
