/* ==========================================================================
   QT COFFEE & TEA - MODERN PREMIUM F&B DESIGN SYSTEM STYLESHEET
   Tone: Light, Airy, Translucent ("Trong Trong"), Warm Cream & Muted Gold
   Palette: Deep Forest Green (#0F5C4C), Warm Cream (#F9F7F2), Soft Muted Gold (#C89D56), Accent Orange (#E85D04)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Color Palette */
    --brand-primary: #0F5C4C;              /* Primary Deep Forest Green */
    --brand-primary-hover: #0A4236;
    --brand-primary-light: #EBF5F3;        /* Soft Mint Cream */
    --brand-cream: #F9F7F2;                /* Warm Cream Off-white (Trong trong) */
    --brand-cream-border: #E8DFD3;
    --brand-gold: #C89D56;                 /* Soft Muted Gold */
    --brand-gold-text: #E5C378;            /* Warm Muted Gold for Dark Backgrounds */
    --brand-gold-light: #FAF3E6;
    --brand-orange: #E85D04;               /* Accent Vivid Orange */
    --brand-orange-hover: #D04F00;
    --brand-orange-light: #FFF2EA;
    --brand-dark: #07251E;                 /* Deep Forest Near-Black for Footer */
    --footer-bg: #07251E;

    /* Neutrals & Surfaces - Tone "trong trong" (No pure white background or pure white text) */
    --bg-page: #F9F7F2;                    /* Warm soft cream, never pure white */
    --bg-surface: #FCFAF7;                 /* Translucent Soft Cream Surface */
    --bg-subtle: #F4EFE6;
    --bg-cream-soft: #FAF7F2;
    --text-primary: #1C2E2A;               /* Deep Forest Charcoal - Never pure black */
    --text-secondary: #4A5568;             /* Slate Charcoal */
    --text-muted: #7E8B85;                 /* Soft Muted Sage/Gray */
    --text-cream: #EDE8DF;                 /* Soft Cream Text on Dark - Never pure white */
    --border-light: #EFE9DE;
    --border-medium: #E2DACD;
    --border-dark: #CBD5E1;

    /* Semantic Accents */
    --success: #10B981;
    --success-light: #ECFDF5;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #0284C7;

    /* Typography: Playfair Display / Cormorant Garamond for Headings; Inter / Manrope for Body */
    --font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Radius System: 12-16px for cards, 24px for primary buttons */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-card: 16px;
    --radius-btn: 24px;
    --radius-full: 9999px;

    /* Layered Elevation Shadows (Airy & Soft) */
    --elevation-1: 0 2px 8px -2px rgba(15, 92, 76, 0.05), 0 1px 3px -1px rgba(15, 23, 42, 0.04);
    --elevation-2: 0 8px 20px -3px rgba(15, 92, 76, 0.08), 0 3px 8px -2px rgba(15, 23, 42, 0.05);
    --elevation-3: 0 16px 36px -6px rgba(15, 92, 76, 0.12), 0 6px 14px -3px rgba(15, 23, 42, 0.06);

    /* Transitions */
    --trans-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* --------------------------------------------------------------------------
   0. SMOOTH PAGE TRANSITIONS & MICRO-INTERACTIONS
   -------------------------------------------------------------------------- */
@keyframes smoothPageFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

main, .page-transition-enter {
    animation: smoothPageFadeUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Micro-interaction: Button Soft Scale Press (0.95) with Ripple */
button, .btn, .btn-primary, .btn-hero-primary, .btn-hero-outline, .btn-custom-add, 
.add-to-cart-btn, .order-mode-btn, .btn-drawer-checkout, .btn-quick-add, .cat-btn,
.btn-add-circle, .btn-modal-submit, .btn-checkout-submit, .fab-cart {
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

button:active, .btn:active, .btn-primary:active, .btn-hero-primary:active, 
.btn-hero-outline:active, .btn-custom-add:active, .add-to-cart-btn:active, 
.btn-drawer-checkout:active, .btn-quick-add:active, .cat-btn:active, .btn-checkout-submit:active,
.btn-add-circle:active, .btn-modal-submit:active, .fab-cart:active {
    transform: scale(0.95) !important;
}

/* Micro-interaction: Product Card Light Lift + Soft Deep Shadow */
.product-card, .menu-product-card, .article-card, .trust-card, .promo-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.product-card:hover, .menu-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -8px rgba(84, 51, 16, 0.1), 0 4px 12px -2px rgba(15, 92, 76, 0.04);
}

.product-card:hover .product-img, .menu-product-card:hover .menu-card-img {
    transform: scale(1.05);
}

/* Micro-interaction: Fly to Cart Particle */
.fly-to-cart-particle {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-orange);
    color: var(--text-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(232, 93, 4, 0.45);
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.65s ease;
}

/* Scroll Reveal on Scroll */
.reveal-on-scroll,
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible,
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Smart Sticky Header Scrolled State */
.store-header {
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.store-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(15, 92, 76, 0.08) !important;
}

.store-header.is-scrolled .header-top-row {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Floating Live Tracking Badge (Live Tracking Floating Pill) */
.live-tracking-pill {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 92, 76, 0.95);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 28px -5px rgba(15, 92, 76, 0.4), 0 4px 12px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.88rem;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.live-tracking-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -4px rgba(15, 92, 76, 0.5);
}

.live-tracking-pill .pill-content-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
}

.live-tracking-pill .pill-icon {
    font-size: 1.1rem;
}

.live-tracking-pill .pill-action-text {
    color: #FDE047;
    font-weight: 700;
    margin-left: 2px;
}

.live-tracking-pill .pill-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-left: 4px;
    flex-shrink: 0;
}

.live-tracking-pill .pill-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

@media (max-width: 640px) {
    .live-tracking-pill {
        bottom: 70px;
        left: 16px;
        right: 16px;
        justify-content: space-between;
        font-size: 0.8rem;
        padding: 8px 14px;
    }
}

/* Micro-interaction: Cart Badge Bounce */
@keyframes cartBadgeBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.35); }
    70% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

.cart-bounce {
    animation: cartBadgeBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Micro-interaction: Loading Skeleton Shimmer */
@keyframes shimmerSweep {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #EFE8DF 25%, #FAF5EE 50%, #EFE8DF 75%);
    background-size: 200% 100%;
    animation: shimmerSweep 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* Micro-interaction: Success Checkmark Light Scale Pop */
@keyframes checkmarkPop {
    0% { transform: scale(0.6); opacity: 0; }
    70% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.success-checkmark {
    animation: checkmarkPop 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* --------------------------------------------------------------------------
   1. TOP ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-bar {
    background: var(--brand-primary);
    color: var(--text-cream);
    font-size: 0.82rem;
    padding: 8px 24px;
}

.top-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.top-bar-item i { color: #A7F3D0; }

.status-badge {
    background: rgba(237, 232, 223, 0.15);
    border: 1px solid rgba(237, 232, 223, 0.3);
    color: var(--text-cream);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #34D399;
    box-shadow: 0 0 8px #34D399;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.top-bar-right a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--text-cream);
    transition: opacity var(--trans-fast);
}

.top-bar-right a:hover { opacity: 0.9; }

/* --------------------------------------------------------------------------
   2. MAIN HEADER & FIXED NAVIGATION (NEVER DISAPPEARS, ZERO SIDEBAR)
   -------------------------------------------------------------------------- */
.store-header {
    background: rgba(249, 247, 242, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200, 157, 86, 0.22);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px -4px rgba(15, 92, 76, 0.06);
}

.header-top-row {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    max-width: 640px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-circle-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: var(--brand-gold-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 12px rgba(15, 92, 76, 0.25);
    flex-shrink: 0;
    transition: transform var(--trans-spring);
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    background: transparent;
    display: block;
    flex-shrink: 0;
    transition: transform var(--trans-spring);
}

.brand-link:hover .brand-circle-logo {
    transform: rotate(-8deg) scale(1.05);
}

.brand-link:hover .brand-logo-img {
    transform: scale(1.05);
}

.brand-info h1 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-info span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* Pill-shape Search Bar */
.search-pill-box {
    position: relative;
    flex: 1;
    max-width: 360px;
}

.search-pill-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.search-pill-input {
    width: 100%;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-medium);
    background: var(--bg-subtle);
    padding: 0 16px 0 42px;
    font-size: 0.88rem;
    color: var(--text-primary);
    transition: all var(--trans-fast);
}

.search-pill-input:focus {
    outline: none;
    background: var(--bg-surface);
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(15, 92, 76, 0.12);
}

/* Right Group: Mode Switcher, Tracking, Cart */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.order-mode-toggle {
    display: inline-flex;
    background: var(--brand-cream);
    border-radius: var(--radius-full);
    padding: 3px;
    border: 1px solid var(--brand-cream-border);
}

.order-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all var(--trans-fast);
}

.order-mode-btn.active {
    background: var(--brand-primary);
    color: var(--text-cream);
    box-shadow: 0 2px 6px rgba(15, 92, 76, 0.25);
}

.header-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-medium);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all var(--trans-fast);
}

.header-action-link:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.btn-header-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-primary);
    color: var(--text-cream);
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    font-size: 0.88rem;
    font-weight: 700;
    transition: all var(--trans-fast);
    box-shadow: 0 4px 12px rgba(15, 92, 76, 0.25);
    position: relative;
}

.btn-header-cart:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
}

.cart-count-badge {
    background: var(--brand-orange);
    color: var(--text-cream);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    line-height: 1;
}

/* Centered Main Nav Bar */
.header-main-nav {
    border-top: 1px solid rgba(200, 157, 86, 0.18);
    background: transparent;
}

.nav-links-centered {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-links-centered a {
    display: inline-block;
    padding: 12px 0;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--trans-fast);
}

.nav-links-centered a:hover,
.nav-links-centered a.active {
    color: var(--brand-primary);
}

.nav-links-centered a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand-primary);
    transition: width var(--trans-fast);
    border-radius: 3px 3px 0 0;
}

.nav-links-centered a:hover::after,
.nav-links-centered a.active::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   3. HERO BANNER IMAGE CAROUSEL (SHARP PHOTOS + TEXT OVERLAY + CROSS-FADE)
   -------------------------------------------------------------------------- */
.hero-carousel-wrapper {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: 64vh;
    max-height: 660px;
    overflow: hidden;
    background: #092B24;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 37, 30, 0.55) 0%, rgba(9, 43, 36, 0.78) 50%, rgba(7, 32, 26, 0.92) 100%);
    z-index: 2;
}

/* Elegant Net / Subtle Grid Overlay for Hero & About Banners */
.hero-net-grid-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: 
        radial-gradient(rgba(229, 195, 120, 0.18) 1.2px, transparent 1.2px),
        linear-gradient(rgba(229, 195, 120, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 195, 120, 0.05) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    pointer-events: none;
    opacity: 0.85;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-cream);
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(237, 232, 223, 0.15);
    border: 1px solid rgba(229, 195, 120, 0.35);
    padding: 7px 18px;
    border-radius: var(--radius-btn);
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
    color: var(--brand-gold-text);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: var(--text-cream);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-headline span {
    color: var(--brand-gold-text);
    font-style: italic;
    font-weight: 700;
}

.hero-subhead {
    font-size: 1.12rem;
    color: rgba(237, 232, 223, 0.92);
    line-height: 1.65;
    margin-bottom: 34px;
    max-width: 680px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Hero Slide Entrance Micro-animations */
.hero-slide .hero-pill-badge,
.hero-slide .hero-headline,
.hero-slide .hero-subhead,
.hero-slide .hero-cta-group {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-pill-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

.hero-slide.active .hero-headline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.22s;
}

.hero-slide.active .hero-subhead {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.32s;
}

.hero-slide.active .hero-cta-group {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.42s;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Carousel Arrow Controls */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(237, 232, 223, 0.16);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(229, 195, 120, 0.35);
    color: var(--text-cream);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-nav-btn:hover {
    background: rgba(237, 232, 223, 0.32);
    transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn.prev { left: 24px; }
.carousel-nav-btn.next { right: 24px; }

/* Carousel Dots Indicator */
.carousel-dots-wrap {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(237, 232, 223, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.carousel-dot.active {
    width: 32px;
    background: var(--brand-orange);
    box-shadow: 0 0 10px rgba(232, 93, 4, 0.6);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-orange);
    color: var(--text-cream);
    padding: 14px 30px;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(232, 93, 4, 0.35);
    transition: all var(--trans-fast);
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232, 93, 4, 0.45);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(237, 232, 223, 0.12);
    border: 1px solid rgba(229, 195, 120, 0.35);
    color: var(--text-cream);
    padding: 14px 26px;
    border-radius: var(--radius-btn);
    font-size: 0.95rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    transition: all var(--trans-fast);
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(237, 232, 223, 0.22);
    border-color: var(--brand-gold-text);
}

/* --------------------------------------------------------------------------
   4. REFINED & LIGHTER TRUST SECTION
   -------------------------------------------------------------------------- */
.trust-section {
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-light);
    padding: 24px 20px;
}

.trust-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-surface);
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: all var(--trans-fast);
}

.trust-item:hover {
    transform: translateY(-2px);
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.trust-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(15, 92, 76, 0.07);
    color: #0F5C4C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.trust-content {
    display: flex;
    flex-direction: column;
}

.trust-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}

.trust-label {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 2px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. PROMOTION CARDS SECTION
   -------------------------------------------------------------------------- */
.promo-section {
    max-width: 1280px;
    margin: 54px auto 36px;
    padding: 0 24px;
}

.section-head-clean {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-head-clean h2 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.section-head-clean p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.promo-card {
    background: var(--bg-surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-medium);
    overflow: hidden;
    box-shadow: var(--elevation-1);
    transition: all var(--trans-normal);
    display: flex;
    flex-direction: column;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-3);
    border-color: rgba(15, 92, 76, 0.25);
}

.promo-img-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--brand-cream);
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promo-card:hover .promo-img {
    transform: scale(1.06);
}

.promo-badge-large {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--brand-orange);
    color: var(--text-cream);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(232, 93, 4, 0.4);
}

.promo-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.promo-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.promo-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.promo-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-primary);
}

/* --------------------------------------------------------------------------
   6. STICKY CATEGORY PILLS BAR
   -------------------------------------------------------------------------- */
.category-nav-wrapper {
    position: sticky;
    top: 110px;
    z-index: 900;
    background: rgba(249, 247, 242, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-medium);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.category-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar { display: none; }

.cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all var(--trans-fast);
}

.cat-btn i { font-size: 0.92rem; color: var(--text-muted); }

.cat-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.cat-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--text-cream);
    box-shadow: 0 4px 12px rgba(15, 92, 76, 0.25);
}

.cat-btn.active i { color: var(--brand-gold-text); }

/* --------------------------------------------------------------------------
   7. PRODUCT CATALOG GRID
   -------------------------------------------------------------------------- */
.catalog-section {
    max-width: 1280px;
    margin: 36px auto 60px;
    padding: 0 24px;
}

.category-group-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-group-header h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--elevation-1);
    transition: all var(--trans-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-3);
    border-color: rgba(15, 92, 76, 0.25);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: var(--brand-cream);
    overflow: hidden;
}

.product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--brand-primary);
    color: var(--text-cream);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product-badge.badge-new {
    background: var(--brand-orange);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 6px;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.btn-add-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--trans-fast);
}

.product-card:hover .btn-add-circle {
    background: var(--brand-primary);
    color: var(--text-cream);
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   8. REDESIGNED PRODUCT CUSTOMIZATION MODAL (KEY SCREEN #3)
   Bottom Sheet on Mobile / Centered Modal on Desktop
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-surface);
    width: 100%;
    max-width: 580px;
    max-height: 88vh;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    animation: modalPopIn 0.25s ease-out;
}

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

/* Modal Hero Image & Header */
.modal-top-hero {
    position: relative;
    height: 160px;
    width: 100%;
    background: linear-gradient(135deg, var(--brand-primary), #0A362D);
    overflow: hidden;
    flex-shrink: 0;
}

.modal-top-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.modal-top-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(7, 37, 30, 0.88) 100%);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-top-nav .modal-badge {
    background: var(--brand-orange);
    color: var(--text-cream);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.modal-close-btn-round {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(249, 247, 242, 0.9);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all var(--trans-fast);
}

.modal-close-btn-round:hover {
    background: var(--bg-surface);
    transform: scale(1.08);
}

.modal-top-meta h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-cream);
    line-height: 1.2;
    margin-bottom: 4px;
}

.modal-top-meta p {
    font-size: 0.82rem;
    color: rgba(237, 232, 223, 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Live Selected Options Summary Badge Bar */
.modal-selected-pills-bar {
    background: var(--brand-cream);
    border-bottom: 1px solid var(--brand-cream-border);
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.modal-selected-pills-bar::-webkit-scrollbar { display: none; }

.modal-summary-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    padding: 3px 10px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Modal Body */
.modal-scroll-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.customizer-section {
    margin-bottom: 22px;
}

.customizer-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

/* Segmented Control Chips (Size, Sweetness, Ice) */
.segmented-control-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.segmented-card {
    flex: 1;
    min-width: 90px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-medium);
    background: var(--bg-subtle);
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all var(--trans-fast);
    text-align: center;
}

.segmented-card:hover {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
    color: var(--brand-primary);
}

.segmented-card.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--text-cream);
    box-shadow: 0 3px 10px rgba(15, 92, 76, 0.25);
}

.segmented-name {
    font-size: 0.84rem;
    font-weight: 700;
}

.segmented-price {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Toppings Grid with miniature product representation */
.toppings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.topping-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    cursor: pointer;
    transition: all var(--trans-fast);
}

.topping-card:hover {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.topping-card.selected {
    border-color: var(--brand-primary);
    background: var(--brand-primary-light);
}

.topping-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topping-check-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: var(--text-cream);
    background: var(--bg-surface);
    transition: all var(--trans-fast);
}

.topping-card.selected .topping-check-box {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}

.topping-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.topping-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-primary);
}

/* Modal Sticky Bottom Bar */
.modal-bottom-bar {
    padding: 16px 20px;
    border-top: 1px solid var(--border-medium);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.04);
}

.stepper-control {
    display: inline-flex;
    align-items: center;
    background: var(--bg-subtle);
    border-radius: var(--radius-btn);
    padding: 4px;
    border: 1px solid var(--border-medium);
}

.stepper-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform var(--trans-fast);
}

.stepper-btn:hover {
    transform: scale(1.08);
}

.stepper-num {
    min-width: 36px;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.btn-modal-submit {
    flex: 1;
    background: var(--brand-primary);
    color: var(--text-cream);
    padding: 13px 20px;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(15, 92, 76, 0.35);
    transition: all var(--trans-fast);
}

.btn-modal-submit:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
}

.price-pulse {
    animation: priceBounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes priceBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); color: var(--brand-orange); }
    100% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   9. SLIDE-OVER CART DRAWER & CHECKOUT
   -------------------------------------------------------------------------- */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--bg-surface);
    z-index: 1600;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-drawer-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 18px 22px;
    background: var(--bg-subtle);
}

.cart-item-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: var(--elevation-1);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 0.94rem;
    margin-bottom: 4px;
}

.cart-item-modifiers {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
    margin-bottom: 10px;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-qty-pill {
    display: inline-flex;
    align-items: center;
    background: var(--bg-subtle);
    border-radius: var(--radius-full);
    padding: 2px 6px;
    gap: 6px;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.cart-qty-num {
    font-size: 0.85rem;
    font-weight: 800;
    min-width: 20px;
    text-align: center;
}

.cart-remove-btn {
    font-size: 0.78rem;
    color: var(--danger);
    font-weight: 700;
}

.cart-footer-fixed {
    padding: 18px 22px;
    border-top: 1px solid var(--border-medium);
    background: var(--bg-surface);
}

.voucher-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.voucher-input {
    flex: 1;
    height: 38px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 0 12px;
    font-size: 0.85rem;
    background: var(--bg-subtle);
}

.voucher-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--bg-surface);
}

.btn-apply-voucher {
    background: var(--brand-primary);
    color: var(--text-cream);
    padding: 0 16px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.cart-summary-row.total-row {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    border-top: 1px dashed var(--border-medium);
    padding-top: 10px;
    margin-top: 10px;
}

.btn-drawer-checkout {
    width: 100%;
    margin-top: 14px;
    background: var(--brand-primary);
    color: var(--text-cream);
    padding: 13px;
    border-radius: var(--radius-btn);
    font-size: 0.98rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(15, 92, 76, 0.35);
    transition: all var(--trans-fast);
}

.btn-drawer-checkout:hover {
    background: var(--brand-primary-hover);
}

/* --------------------------------------------------------------------------
   10. STICKY BOTTOM CART BAR ON MOBILE (REQUIREMENT #2)
   -------------------------------------------------------------------------- */
.mobile-bottom-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-medium);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.1);
    padding: 10px 16px;
    z-index: 1400;
    display: none;
    align-items: center;
    justify-content: space-between;
}

.mobile-cart-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-cart-icon-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.mobile-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--brand-orange);
    color: var(--text-cream);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

.mobile-cart-price-info {
    display: flex;
    flex-direction: column;
}

.mobile-cart-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.mobile-cart-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.btn-mobile-open-cart {
    background: var(--brand-primary);
    color: var(--text-cream);
    padding: 10px 20px;
    border-radius: var(--radius-btn);
    font-size: 0.88rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(15, 92, 76, 0.25);
}

/* --------------------------------------------------------------------------
   11. FLOATING ACTION BUTTON (FAB) (DESKTOP)
   -------------------------------------------------------------------------- */
.fab-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 800;
    background: var(--brand-primary);
    color: var(--text-cream);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 24px rgba(15, 92, 76, 0.4);
    transition: all var(--trans-spring);
    cursor: pointer;
}

.fab-cart:hover {
    background: var(--brand-primary-hover);
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 92, 76, 0.5);
}

.fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--brand-orange);
    color: var(--text-cream);
    font-size: 0.76rem;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   12. ELEGANT DARK FOOTER (4-COLUMN ARCHITECTURE - MUTED GOLD & SOFT CREAM)
   Tone: Deep Forest Near-Black (#07251E), Warm Muted Gold (#E5C378), Soft Cream (#EDE8DF)
   -------------------------------------------------------------------------- */
.site-footer, .store-footer {
    background: var(--footer-bg, #07251E);
    color: var(--text-cream, #EDE8DF);
    border-top: 1px solid rgba(200, 157, 86, 0.28);
    padding: 64px 24px 28px;
    font-size: 0.88rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before, .store-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: radial-gradient(ellipse at center, rgba(229, 195, 120, 0.5) 0%, transparent 75%);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1.3fr 1.3fr 1.6fr;
    gap: 44px;
    margin-bottom: 44px;
}

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

/* Col 1: Brand Info & Contact */
.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(200, 157, 86, 0.22), rgba(15, 92, 76, 0.45));
    border: 1px solid rgba(229, 195, 120, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold-text, #E5C378);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.footer-brand-title h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-gold-text, #E5C378);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.footer-brand-title span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(237, 232, 223, 0.65);
    display: block;
    margin-top: 2px;
}

.footer-brand-desc {
    color: rgba(237, 232, 223, 0.78);
    font-size: 0.86rem;
    line-height: 1.65;
    margin-bottom: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(237, 232, 223, 0.82);
    font-size: 0.86rem;
    line-height: 1.5;
}

.footer-contact-item i {
    color: var(--brand-gold-text, #E5C378);
    margin-top: 3px;
    font-size: 0.95rem;
}

.footer-contact-item strong {
    color: var(--brand-gold-text, #E5C378);
    font-weight: 700;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-links a, .social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(237, 232, 223, 0.08);
    border: 1px solid rgba(229, 195, 120, 0.22);
    color: var(--brand-gold-text, #E5C378);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.footer-social-links a:hover, .social-link:hover {
    background: var(--brand-primary, #0F5C4C);
    border-color: var(--brand-gold-text, #E5C378);
    color: #FAF5EE;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(7, 37, 30, 0.4);
}

/* Titles */
.footer-col-title, .footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--brand-gold-text, #E5C378);
    margin-bottom: 20px;
    position: relative;
    letter-spacing: -0.01em;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 28px;
    height: 2px;
    background: var(--brand-gold-text, #E5C378);
    border-radius: 2px;
    opacity: 0.6;
}

/* Col 2: Giờ Mở Cửa */
.footer-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(229, 195, 120, 0.18);
    font-size: 0.86rem;
}

.schedule-item .day {
    color: rgba(237, 232, 223, 0.75);
}

.schedule-item .time {
    color: var(--brand-gold-text, #E5C378);
    font-weight: 600;
}

.footer-notice-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(15, 92, 76, 0.35);
    border: 1px solid rgba(229, 195, 120, 0.22);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.8rem;
    color: rgba(237, 232, 223, 0.82);
    line-height: 1.5;
}

.notice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    margin-top: 5px;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    flex-shrink: 0;
}

/* Col 3: Chính Sách & Hỗ Trợ Links */
.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    color: rgba(237, 232, 223, 0.75);
    font-size: 0.86rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-list li a::before {
    content: '›';
    color: var(--brand-gold-text, #E5C378);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.footer-links-list li a:hover {
    color: var(--brand-gold-text, #E5C378);
    transform: translateX(4px);
}

.footer-links-list li a:hover::before {
    transform: translateX(2px);
}

/* Col 4: Chứng Nhận Chất Lượng */
.footer-cert-desc {
    color: rgba(237, 232, 223, 0.75);
    font-size: 0.86rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-badges-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cert-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(237, 232, 223, 0.04);
    border: 1px solid rgba(229, 195, 120, 0.2);
    padding: 10px 14px;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.cert-badge-item:hover {
    background: rgba(200, 157, 86, 0.12);
    border-color: rgba(229, 195, 120, 0.45);
    transform: translateX(3px);
}

.cert-badge-item i {
    font-size: 1.35rem;
    color: var(--brand-gold-text, #E5C378);
    flex-shrink: 0;
}

.cert-badge-item strong {
    display: block;
    color: #FAF5EE;
    font-size: 0.84rem;
    font-weight: 700;
}

.cert-badge-item span {
    display: block;
    color: rgba(237, 232, 223, 0.65);
    font-size: 0.74rem;
    margin-top: 1px;
}

/* Bottom Bar */
.footer-bottom-bar, .footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(229, 195, 120, 0.18);
    font-size: 0.82rem;
    color: rgba(237, 232, 223, 0.6);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a {
    color: rgba(237, 232, 223, 0.7);
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--brand-gold-text, #E5C378);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE DESIGN (MOBILE-FIRST POLISH)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-headline { font-size: 2.6rem; }
    .hero-subhead { margin: 0 auto 24px; }
    .hero-cta-group { justify-content: center; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header-top-row { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
    .search-pill-box { display: none; }
    .hero-wrapper { padding: 40px 16px; }
    .hero-headline { font-size: 2rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .fab-cart { display: none; } /* On mobile, use sticky bottom bar */
    .mobile-bottom-cart-bar { display: flex; }

    /* Bottom Sheet on Mobile for Customizer Modal */
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal-content {
        max-width: 100%;
        max-height: 85vh;
        border-radius: 24px 24px 0 0;
        animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes sheetSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}

/* --------------------------------------------------------------------------
   14. ABOUT US PAGE SMOOTH IMAGE HOVER TRANSITIONS
   -------------------------------------------------------------------------- */
.about-page-main img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    will-change: transform;
}

.about-page-main img:hover {
    transform: scale(1.035);
}
