/* ==============================================
   NHIỆT ĐỚI XANH — Premium Landing Page
   Font: Be Vietnam Pro
   Palette: Cream → Tropical Green → Gold Accent
   ============================================== */

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

:root {
    --cream: #FDFBF7;
    --cream-dark: #F5F0E8;
    --cream-warm: #F8EED8;
    --green: #2A5C38;
    --green-dark: #1E3F27;
    --green-light: #3A7D4A;
    --gold: #F4A261;
    --gold-light: #F9C784;
    --white: #FFFFFF;
    --text-dark: #1A2E1A;
    --text-body: #4A5D4A;
    --text-muted: #7A8D7A;
    --border: #E8E0D0;

    --font: 'Be Vietnam Pro', sans-serif;
    --section-py: 100px;
    --max-w: 1200px;
    --radius: 20px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.4s var(--ease);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Bù chiều cao navbar fixed khi cuộn mượt tới các section neo (#story, #values, #team, #menu) —
   không có dòng này thì section bị nhảy lên khuất một phần sau navbar. */
#story, #values, #team, #menu { scroll-margin-top: 90px; }

body {
    font-family: var(--font);
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--text-dark);
    line-height: 1.15;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-py) 0; position: relative; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 18px;
    color: var(--green-dark);
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== PARALLAX LEAVES ===== */
.parallax-leaf {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

/* ================================================================
   NAVBAR — Glassmorphism
   ================================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 12px 0;
    box-shadow: 0 1px 30px rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(42, 92, 56, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    width: 46px; height: 46px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(42,92,56,0.22);
    border: 2px solid rgba(42,92,56,0.18);
    overflow: hidden;
    padding: 3px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 6px 18px rgba(42,92,56,0.3);
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.navbar-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: -0.3px;
}

.navbar-name span { color: var(--green-light); }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 8px 18px;
    border-radius: 50px;
}

.nav-links a:hover {
    color: var(--green);
    background: rgba(42,92,56,0.06);
}

.nav-links a.active {
    color: var(--green);
    background: var(--cream-warm);
    font-weight: 600;
}

.nav-cart-link.active {
    background: var(--cream-warm);
    border-radius: 50px;
}

/* Nút phụ trước CTA chính "Đặt Hàng" — viền outline, phân biệt rõ với text-link thường
   và không cạnh tranh thị giác với CTA chủ đạo (được tô đặc màu xanh). */
.nav-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600 !important;
    color: var(--green) !important;
    border: 1.5px solid var(--green);
    padding: 7px 20px !important;
    margin-left: 4px;
}

.nav-login-link:hover {
    background: var(--green) !important;
    color: var(--white) !important;
}

.nav-cta {
    font-weight: 600 !important;
    color: var(--white) !important;
    background: var(--green) !important;
    padding: 10px 26px !important;
    box-shadow: 0 4px 16px rgba(42,92,56,0.3);
}

.nav-cta:hover {
    background: var(--green-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42,92,56,0.4) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--green-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ================================================================
   USER DROPDOWN (header — khách đã đăng nhập)
   ================================================================ */
.nav-user-wrap { position: relative; }

/* Thay thế CTA "Đặt Hàng" khi đã đăng nhập — giữ trọng lượng thị giác tương đương
   (nền đặc, bo tròn, đổ bóng) để header không bị "hụt" mất điểm nhấn chính bên phải.
   Hiệu ứng "bong bóng" khi hover (::before/::after radial-gradient) tông xanh lá đậm. */
.nav-user-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    padding: 10px 22px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(42,92,56,0.3);
    transition: all 0.2s ease;
}

.nav-user-trigger:active { transform: scale(0.96); }

.nav-user-trigger:hover,
.nav-user-trigger.active,
.nav-user-wrap.open .nav-user-trigger {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42,92,56,0.4);
}

.nav-user-trigger:before,
.nav-user-trigger:after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1;
    background-repeat: no-repeat;
    border-radius: 50px;
}

.nav-user-trigger:active:before {
    top: -70%;
    background-image:
        radial-gradient(circle, var(--green) 20%, transparent 20%),
        radial-gradient(circle, transparent 20%, var(--green) 20%, transparent 30%),
        radial-gradient(circle, var(--green-dark) 20%, transparent 20%),
        radial-gradient(circle, var(--green) 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, var(--green-dark) 15%, transparent 20%),
        radial-gradient(circle, var(--green) 20%, transparent 20%),
        radial-gradient(circle, var(--green-dark) 20%, transparent 20%),
        radial-gradient(circle, var(--green) 20%, transparent 20%),
        radial-gradient(circle, var(--green-dark) 20%, transparent 20%);
    background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
    background-position: 50% 120%;
    animation: navUserTopBubbles 0.6s ease;
}

@keyframes navUserTopBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }
    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }
    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.nav-user-trigger:active:after {
    bottom: -70%;
    background-image:
        radial-gradient(circle, var(--green) 20%, transparent 20%),
        radial-gradient(circle, var(--green-dark) 20%, transparent 20%),
        radial-gradient(circle, transparent 10%, var(--green) 15%, transparent 20%),
        radial-gradient(circle, var(--green-dark) 20%, transparent 20%),
        radial-gradient(circle, var(--green) 20%, transparent 20%),
        radial-gradient(circle, var(--green-dark) 20%, transparent 20%),
        radial-gradient(circle, var(--green) 20%, transparent 20%);
    background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 20% 20%, 18% 18%;
    background-position: 50% 0%;
    animation: navUserBottomBubbles 0.6s ease;
}

@keyframes navUserBottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }
    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }
    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

.nav-user-caret { font-size: 0.68rem; transition: transform 0.25s var(--ease); }
.nav-user-wrap.open .nav-user-caret { transform: rotate(180deg); }

.nav-user-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(30,63,39,0.16);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
    z-index: 1100;
}

.nav-user-wrap.open .nav-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-user-menu a,
.nav-user-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.nav-user-menu a i,
.nav-user-menu button i { width: 16px; color: var(--green-light); }

.nav-user-menu a:hover,
.nav-user-menu button:hover {
    background: var(--cream-dark);
    color: var(--green-dark);
}

.nav-user-menu-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.nav-user-logout-form { margin: 0; }
.nav-user-logout-form button { color: #b44242; }
.nav-user-logout-form button:hover { background: rgba(180,66,66,0.08); color: #b44242; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(244,162,97,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob 14s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(42,92,56,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob 18s ease-in-out infinite reverse;
}

@keyframes floatBlob {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(30px,-30px) scale(1.05); }
    66% { transform: translate(-20px,20px) scale(0.95); }
}

.hero .container {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { max-width: 540px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(42,92,56,0.08);
    border: 1px solid rgba(42,92,56,0.15);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 28px;
    animation: fadeInDown 0.8s var(--ease) 0.2s both;
}

.hero-badge svg { width: 16px; height: 16px; fill: var(--gold); }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    color: var(--green-dark);
    margin-bottom: 10px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeInUp 0.8s var(--ease) 0.6s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.8s var(--ease) 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 36px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(42,92,56,0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(42,92,56,0.45);
    background: var(--green-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--green);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--green);
    transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; }

/* Hero Visual — 3D Floating */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s var(--ease) 0.5s both;
    perspective: 800px;
}

.hero-3d-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-3d-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--cream-warm) 0%, rgba(244,162,97,0.15) 50%, var(--cream-dark) 100%);
    border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
    animation: morphBlob 12s ease-in-out infinite;
}

@keyframes morphBlob {
    0%, 100% { border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%; }
    25% { border-radius: 55% 45% 40% 60% / 40% 60% 45% 55%; }
    50% { border-radius: 45% 55% 60% 40% / 60% 40% 55% 45%; }
    75% { border-radius: 60% 40% 45% 55% / 45% 55% 40% 60%; }
}

.hero-product-img {
    position: relative;
    z-index: 2;
    width: 65%;
    /* height:auto + object-fit:contain: rule mobile (2 breakpoint dưới) đã có sẵn cặp này,
       base rule desktop thì thiếu — nếu ảnh hero sau này đổi kích thước/tỉ lệ khác vuông,
       thiếu 2 dòng này sẽ khiến ảnh bị kéo méo (đúng lỗi "kéo lỗi format" đã gặp). */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(42,92,56,0.2));
    animation: float3D 5s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float3D {
    0%, 100% { transform: translateY(0) rotateY(0deg) rotateX(0deg); }
    25% { transform: translateY(-12px) rotateY(3deg) rotateX(2deg); }
    50% { transform: translateY(-20px) rotateY(0deg) rotateX(-2deg); }
    75% { transform: translateY(-8px) rotateY(-3deg) rotateX(1deg); }
}

.floating-fruit {
    position: absolute;
    font-size: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    animation: floatAround 7s ease-in-out infinite;
    z-index: 3;
}

.fruit-1 { top: 8%; left: 5%; animation-delay: 0s; }
.fruit-2 { top: 5%; right: 10%; animation-delay: 1.2s; }
.fruit-3 { bottom: 15%; left: 8%; animation-delay: 2.4s; }
.fruit-4 { bottom: 8%; right: 5%; animation-delay: 3.6s; }

@keyframes floatAround {
    0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
    25% { transform: translate(8px,-14px) rotate(8deg) scale(1.1); }
    50% { transform: translate(-6px,-22px) rotate(-5deg) scale(1); }
    75% { transform: translate(12px,-8px) rotate(10deg) scale(1.05); }
}

/* ================================================================
   BRAND STORY — Enhanced
   ================================================================ */
.story {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.story::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(244,162,97,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob 16s ease-in-out infinite;
}

.story .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.story-visual {
    position: relative;
}

.story-ambient-glow {
    position: absolute;
    /* Đây mới là quầng sáng thật sự nhìn thấy được bao quanh card (không phải
       .story-glow-container — cái đó nằm dưới ảnh poster.jpg opaque nên bị che khuất
       hoàn toàn, chỉnh scale nó không có tác dụng gì). Thu nhỏ + giảm blur/mờ để bớt "thô". */
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    background: radial-gradient(circle,
        rgba(29, 209, 161, 0.22) 0%,
        rgba(255, 159, 67, 0.16) 40%,
        transparent 75%
    );
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
    animation: ambientPulse 12s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0% { transform: scale(0.9) translate(-10px, -10px); opacity: 0.55; }
    100% { transform: scale(1.05) translate(10px, 10px); opacity: 0.75; }
}

.story-image-wrapper {
    width: 100%;
    /* poster.jpg gốc tỉ lệ ~0.567 (805x1419, khá cao/hẹp). 2/3 (0.667) trước đó tuy giảm
       crop nhưng làm cả card cao vượt trội, lấn át cột chữ bên cạnh — lùi về 3/4 (0.75),
       cân bằng hơn giữa "đỡ crop" và "không to thô". */
    aspect-ratio: 3/4;
    border-radius: 30px;
    overflow: hidden;
    background: #fffbf5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 24px 60px rgba(42,92,56,0.12),
        0 0 0 1px rgba(42,92,56,0.04);
    position: relative;
    transition: var(--transition);
    padding: 24px;
    z-index: 1;
}

.story-image-wrapper:hover {
    transform: translateY(-6px);
    box-shadow:
        0 32px 80px rgba(42,92,56,0.16),
        0 0 0 1px rgba(42,92,56,0.06);
}

.story-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(30,63,39,0.06) 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 3;
}

/* Glow container inside the card */
.story-glow-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    transform: scale(0.75);
    filter: blur(35px);
    opacity: 0.9;
    background: #fffdfc;
}

.story-glow-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
    opacity: 0.75;
}

.story-glow-blob.blob-1 {
    top: -10%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(29, 209, 161, 0.8) 0%, transparent 70%);
    animation: blobMove1 14s ease-in-out infinite alternate;
}

.story-glow-blob.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(255, 159, 67, 0.82) 0%, transparent 70%);
    animation: blobMove2 16s ease-in-out infinite alternate-reverse;
}

.story-glow-blob.blob-3 {
    top: 35%;
    left: 25%;
    width: 75%;
    height: 75%;
    background: radial-gradient(circle, rgba(238, 82, 53, 0.65) 0%, transparent 70%);
    animation: blobMove3 12s ease-in-out infinite alternate;
}

@keyframes blobMove1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.15); }
    100% { transform: translate(-30px, 60px) scale(0.9); }
}

@keyframes blobMove2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -50px) scale(0.85); }
    100% { transform: translate(40px, 30px) scale(1.2); }
}

@keyframes blobMove3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-60px, 30px) scale(1.25); }
    100% { transform: translate(50px, -40px) scale(0.85); }
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 
        0 16px 36px rgba(0,0,0,0.1),
        0 0 0 1px rgba(0,0,0,0.02);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-image-wrapper:hover .story-img {
    transform: scale(1.03) translateY(-4px);
}

/* Floating accent shapes around story image */
.story-visual::before {
    content: '🍃';
    position: absolute;
    top: -16px; right: -16px;
    font-size: 2.5rem;
    opacity: 0.6;
    animation: floatAround 8s ease-in-out infinite;
    z-index: 2;
}

.story-visual::after {
    content: '';
    position: absolute;
    bottom: 40px; left: -30px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    opacity: 0.15;
    animation: floatBlob 10s ease-in-out infinite reverse;
    z-index: 2;
}

.story-stat {
    position: absolute;
    bottom: -16px; right: -16px;
    background: var(--white);
    padding: 22px 32px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 3;
    border: 1px solid rgba(42,92,56,0.06);
    transition: var(--transition);
}

.story-stat:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

.story-stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.story-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
    font-weight: 700;
}

.story-content p {
    font-size: 1.05rem;
    margin-bottom: 22px;
    line-height: 1.9;
}

.story-content p:first-of-type::first-letter {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--green);
    float: left;
    line-height: 0.85;
    margin-right: 14px;
    margin-top: 6px;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.story-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(42,92,56,0.03), rgba(244,162,97,0.04));
    border: 1px solid rgba(42,92,56,0.06);
    transition: var(--transition);
}

.story-highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(42,92,56,0.08);
    border-color: rgba(244,162,97,0.15);
}

.story-highlight-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(42,92,56,0.08), rgba(244,162,97,0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.story-highlight-item:hover .story-highlight-icon {
    transform: scale(1.15) rotate(8deg);
    background: linear-gradient(135deg, rgba(244,162,97,0.2), rgba(42,92,56,0.12));
}

.story-highlight-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ================================================================
   STATS COUNTER BAR
   ================================================================ */
.stats-bar {
    background: var(--green-dark);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(244,162,97,0.05) 0%, transparent 30%, transparent 70%, rgba(244,162,97,0.05) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(253,251,247,0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .stat-number { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-number { font-size: 1.4rem; }
}

/* ================================================================
   CORE VALUES
   ================================================================ */
.values { background: var(--cream); }

.values-header { text-align: center; margin-bottom: 60px; }
.values-header .section-subtitle { margin: 0 auto; }

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

.value-card {
    text-align: center;
    padding: 48px 28px 40px;
    transition: var(--transition);
    position: relative;
}

.value-icon {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(42,92,56,0.06), rgba(244,162,97,0.08));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.12) rotate(8deg);
    background: linear-gradient(135deg, rgba(244,162,97,0.15), rgba(42,92,56,0.1));
}

.value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--green-dark);
    font-weight: 700;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ================================================================
   MENU — Magazine + Cream Sweep Style
   ================================================================ */
.menu {
    background: var(--white);
    overflow: hidden;
}

.menu-header { text-align: center; margin-bottom: 80px; }
.menu-header .section-subtitle { margin: 0 auto; }

/* ── Best Sellers Zone ── */
.bestseller-zone { margin-bottom: 80px; }

.bestseller-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

/* Zigzag Block with Cream Sweep */
.zigzag-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 40px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.zigzag-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cream-warm) 0%, rgba(248,238,216,0.5) 40%, transparent 70%);
    z-index: 0;
    border-radius: var(--radius);
}

.zigzag-block:nth-child(odd)::before {
    background: linear-gradient(135deg, transparent 30%, rgba(248,238,216,0.5) 60%, var(--cream-warm) 100%);
}

/* Gradient riêng theo loại trái cây — dưa hấu: đỏ, thơm/dứa: vàng.
   Block "reverse" đưa ảnh qua bên phải (direction:rtl) nhưng background-gradient không tự
   lật theo — phải định nghĩa chiều ngược lại riêng để màu luôn tụ quanh phía có ảnh. */
.zigzag-block.zigzag-watermelon::before {
    background: linear-gradient(135deg, rgba(217,58,58,0.16) 0%, rgba(250,190,190,0.4) 45%, transparent 75%);
}

.zigzag-block.zigzag-reverse.zigzag-watermelon::before {
    background: linear-gradient(135deg, transparent 25%, rgba(250,190,190,0.4) 55%, rgba(217,58,58,0.16) 100%);
}

.zigzag-block.zigzag-pineapple::before {
    background: linear-gradient(135deg, rgba(244,162,97,0.2) 0%, rgba(255,224,130,0.45) 45%, transparent 75%);
}

.zigzag-block.zigzag-reverse.zigzag-pineapple::before {
    background: linear-gradient(135deg, transparent 25%, rgba(255,224,130,0.45) 55%, rgba(244,162,97,0.2) 100%);
}

.zigzag-block > * { position: relative; z-index: 1; }

.zigzag-block:last-child { margin-bottom: 0; }

.zigzag-reverse { direction: rtl; }
.zigzag-reverse > * { direction: ltr; }

/* Image — smaller, cropped, 3D effect */
.zigzag-image {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 600px;
}

.zigzag-img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(42,92,56,0.15));
    transition: transform 0.6s var(--ease);
    animation: levitate 4s ease-in-out infinite;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-14px) rotateY(3deg); }
}

.zigzag-block:hover .zigzag-img {
    transform: scale(1.06) translateY(-8px) rotateY(5deg);
}

.zigzag-content { padding: 16px 0; }

.zigzag-name {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 14px;
}

.zigzag-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 400px;
}

.zigzag-prices {
    display: flex;
    align-items: center;
    gap: 16px;
}

.zigzag-price {
    font-size: 0.92rem;
    color: var(--text-body);
}

.zigzag-price strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green);
}

.zigzag-divider {
    color: var(--border);
    font-size: 1.2rem;
    font-weight: 300;
}

/* ── Category Menu (Image 2 style) ── */
.category-menu-zone {
    margin-top: 80px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-category {
    display: grid;
    grid-template-columns: 180px 1fr 200px;
    gap: 0;
    align-items: center;
    padding: 36px 44px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 220px;
}

.menu-category + .menu-category { margin-top: 0; }

.menu-category::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.menu-category--coffee::before {
    background: linear-gradient(120deg, var(--cream-warm) 0%, rgba(248,238,216,0.6) 50%, rgba(253,251,247,0.3) 100%);
}

.menu-category--smoothie::before {
    background: linear-gradient(120deg, rgba(253,251,247,0.3) 0%, rgba(248,238,216,0.4) 40%, var(--cream-warm) 100%);
}

.menu-category--juice::before {
    background: linear-gradient(120deg, var(--cream-warm) 0%, rgba(248,238,216,0.5) 60%, rgba(253,251,247,0.2) 100%);
}

.menu-category > * { position: relative; z-index: 1; }

.category-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 32px;
    border-right: 2px solid rgba(42,92,56,0.1);
}

.category-name-vn {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--green-dark);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.category-name-en {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 8px;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 36px;
    justify-content: center;
}

.category-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.category-item-info { display: flex; flex-direction: column; }

.category-item-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-item-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.category-item-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green);
    white-space: nowrap;
}

.category-image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 20px;
}

.category-product-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.12));
    animation: levitate 5s ease-in-out infinite;
    transition: var(--transition);
}

.menu-category:hover .category-product-img {
    transform: scale(1.08) translateY(-6px);
}

/* ── Classic Menu List (remaining items + Mix) — dùng cho "Các Món Khác" trên
   trang chủ (home.jsp), viền chấm nối tên/giá kiểu bảng menu quán cổ điển. ── */
.classic-item-name { text-decoration: none; }
.classic-menu-item:hover .classic-item-name { color: var(--green); }
.classic-menu-zone {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.classic-menu-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 6px;
    margin-bottom: 32px;
}

.classic-menu-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-dark);
}

.classic-menu-size-legend {
    display: flex;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.classic-menu-item {
    /* center thay vì baseline: .classic-item-left cao 1 hoặc 2 dòng tùy mô tả dài/ngắn —
       baseline canh theo dòng đầu nên khi item bên cạnh chỉ có 1 dòng, giá bị lệch hẳn lên trên. */
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(232,224,208,0.5);
    transition: var(--transition);
}

.classic-menu-item:hover { padding-left: 10px; }

.classic-item-left {
    flex-shrink: 0;
    /* Chặn mô tả dài đẩy rộng cột trái, ép cột chấm/giá bị bóp méo — xem .classic-item-note. */
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.classic-item-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--green-dark);
}

.classic-item-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
    margin-top: 2px;
    /* Mô tả quá ~50 ký tự (dòng 2 tràn) thì cắt còn "…" — gợi tò mò, bấm vào xem chi tiết
       thay vì tràn dòng phá layout. line-clamp theo dòng (không phải đếm ký tự) vì nó tự
       thích ứng theo độ rộng cột thật của từng màn hình, ổn định hơn cắt cứng theo số ký tự. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.classic-item-dots {
    flex: 1;
    min-width: 30px;
    border-bottom: 2px dotted var(--border);
    margin-bottom: 6px;
}

.classic-item-price {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green);
    white-space: nowrap;
}

.classic-menu-mix {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(244,162,97,0.08), rgba(42,92,56,0.04));
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.classic-mix-badge {
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(244,162,97,0.12);
    padding: 8px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.classic-mix-content {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.classic-mix-left {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 420px;
}

/* ================================================================
   TEAM SECTION
   ================================================================ */
.team {
    background: var(--cream);
}

.team-header { text-align: center; margin-bottom: 60px; }
.team-header .section-subtitle { margin: 0 auto; }

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

.team-card {
    text-align: center;
    padding: 36px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
    border: 1px solid transparent;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(42,92,56,0.1);
    border-color: rgba(42,92,56,0.08);
}

.team-avatar {
    width: 100px; height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green-light);
    box-shadow: 0 4px 16px rgba(42,92,56,0.12);
    filter: grayscale(30%);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    filter: grayscale(0%);
    transform: scale(1.1);
    border-color: var(--gold);
}

.avatar-oanh { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.avatar-tien { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.avatar-ky   { background: linear-gradient(135deg, #d4fc79, #96e6a1); }
.avatar-thu  { background: linear-gradient(135deg, #fbc2eb, #a6c1ee); }
.avatar-truc { background: linear-gradient(135deg, #ffeaa7, #dfe6e9); }

.team-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green-dark);
    margin-top: 12px;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ================================================================
   CHECKOUT — Dark Section, Floating Labels
   ================================================================ */
.checkout {
    background: var(--green-dark);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.checkout::before {
    content: '';
    position: absolute;
    top: -40%; right: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(244,162,97,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.checkout::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(42,92,56,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.checkout .container {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.checkout-info { padding-top: 20px; }

.checkout .section-label { color: var(--gold-light); }
.checkout .section-label::before { background: var(--gold); }
.checkout .section-title { color: var(--white); }
.checkout .section-subtitle { color: rgba(253,251,247,0.6); }

.checkout-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.checkout-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.checkout-feature-icon {
    width: 50px; height: 50px;
    background: rgba(244,162,97,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.checkout-feature-text h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 2px;
    font-weight: 600;
}

.checkout-feature-text p {
    font-size: 0.82rem;
    color: rgba(253,251,247,0.5);
}

/* ── Order Form — Floating Labels ── */
.order-form-wrapper {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 44px;
}

.order-form-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Floating Label Group */
.form-group {
    position: relative;
    margin-bottom: 28px;
}

.form-group label {
    position: absolute;
    left: 0;
    top: 16px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(253,251,247,0.5);
    transition: var(--transition);
    pointer-events: none;
    transform-origin: left top;
}

.form-group label .required { color: var(--gold); }

.form-control {
    width: 100%;
    padding: 16px 0;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 0;
    transition: var(--transition);
    outline: none;
}

.form-control::placeholder { color: transparent; }

.form-control:focus,
.form-control:not(:placeholder-shown) {
    border-bottom-color: var(--gold);
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    top: -6px;
    font-size: 0.7rem;
    color: var(--gold-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--green-dark);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(244,162,97,0.35);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(244,162,97,0.5);
}

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

.freeship-notice {
    text-align: center;
    color: var(--gold-light);
    font-weight: 600;
    margin-top: 20px;
    font-size: 0.92rem;
    opacity: 0.8;
}

.alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(255,107,107,0.12);
    border: 1px solid rgba(255,107,107,0.25);
    color: #ff8a8a;
}

.alert-success {
    background: rgba(42,92,56,0.12);
    border: 1px solid rgba(42,92,56,0.25);
    color: var(--gold-light);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer-nhiet-doi {
    font-family: var(--font);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0A1F0E 0%, #000000 100%);
    color: #ffffff;
    padding: 5rem 2rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(42,92,56,0.1);
}

.footer-content {
    position: relative; z-index: 10;
    max-width: 1000px; width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-brand-header {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-img {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    object-fit: contain;
    background: #ffffff;
    border-radius: 50% !important;
    padding: 5px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.footer-logo-img:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 12px 30px rgba(42,92,56,0.4);
}

.brand-title {
    color: var(--gold);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(244,162,97,0.3);
    letter-spacing: 1px;
}

.brand-slogan {
    color: rgba(253,251,247,0.5);
    font-size: 1rem;
    margin-bottom: 3rem;
    font-weight: 400;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
    transform: translateY(-5px);
    background: rgba(244,162,97,0.12);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(244,162,97,0.4);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.25);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 2rem;
    letter-spacing: 0.5px;
}

.cursor-glow {
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(244,162,97,0.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(30px);
    top: -1000px; left: -1000px;
}

.footer-nhiet-doi:hover .cursor-glow { opacity: 1; }

/* ================================================================
   THANK YOU PAGE
   ================================================================ */
.thankyou-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    text-align: center;
    padding: 40px 24px;
}

.thankyou-card {
    background: var(--white);
    padding: 60px 48px;
    border-radius: var(--radius);
    box-shadow: 0 16px 60px rgba(0,0,0,0.06);
    max-width: 520px; width: 100%;
}

.thankyou-check {
    width: 80px; height: 80px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s var(--ease);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.thankyou-check svg {
    width: 36px; height: 36px;
    fill: none;
    stroke: var(--white);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawCheck 0.6s var(--ease) 0.4s forwards;
}

@keyframes drawCheck { to { stroke-dashoffset: 0; } }

.thankyou-card h1 { font-size: 1.8rem; color: var(--green-dark); margin-bottom: 12px; }
.thankyou-card p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.8; }

/* ================================================================
   ERROR PAGE
   ================================================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    text-align: center;
    padding: 40px 24px;
}

.error-card { max-width: 480px; }

.error-code {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--green), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-card h1 { font-size: 1.5rem; color: var(--green-dark); margin-bottom: 12px; }
.error-card p { color: var(--text-muted); margin-bottom: 32px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }

    .menu-category {
        grid-template-columns: 140px 1fr 160px;
        padding: 28px 32px;
        min-height: auto;
    }

    .category-name-vn { font-size: 1.8rem; }
    .category-product-img { width: 140px; height: 140px; }
}

@media (max-width: 768px) {
    :root { --section-py: 44px; }

    .container {
        padding: 0 16px !important;
        max-width: 100% !important;
    }

    .section-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.94rem;
        text-align: center;
        margin: 0 auto 20px;
        line-height: 1.55;
    }

    .section-label {
        justify-content: center;
        margin-bottom: 12px;
        width: 100%;
    }

    .btn {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 0.92rem;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 40px;
        gap: 6px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
        transition: right 0.4s var(--ease);
        z-index: 999;
    }

    .nav-close-btn {
        position: absolute;
        top: 18px;
        right: 18px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--green-dark);
        cursor: pointer;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s ease;
    }

    .nav-close-btn:active {
        background: rgba(42, 92, 56, 0.1);
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        padding: 12px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
        border-radius: 12px;
        font-size: 0.98rem;
    }

    .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-user-wrap { width: 100%; }

    .nav-user-trigger {
        width: 100%;
        min-height: 44px;
        justify-content: space-between;
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 0.98rem;
    }

    .nav-user-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-top: 4px;
        padding: 4px 0 4px 10px;
        border-left: 2px solid var(--cream-warm);
        display: none;
        min-width: 0;
    }

    .nav-user-wrap.open .nav-user-menu { display: flex; }

    .hero .container {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
        gap: 28px;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
        margin-bottom: 14px;
        display: inline-flex;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-slogan {
        font-size: 0.96rem;
        margin: 12px 0 20px;
        line-height: 1.55;
    }

    .hero-content { max-width: 100%; }
    
    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 46px;
    }

    .hero-visual { order: -1; }
    .hero-3d-container { max-width: 240px; margin: 0 auto; }
    .hero-product-img { width: 80%; max-height: 260px; object-fit: contain; }
    .floating-fruit { font-size: 1.3rem; opacity: 0.75; }

    .story .container { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .story-visual { order: -1; }
    .story-image-wrapper { aspect-ratio: 4/3; max-height: 280px; border-radius: 20px; }
    .story-img { object-fit: cover; width: 100%; height: 100%; border-radius: 20px; }
    .story-stat {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 16px auto 0;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 20px;
        border-radius: 14px;
    }
    .story-content p {
        font-size: 0.94rem;
        line-height: 1.6;
        text-align: left;
    }
    .story-highlights { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
    .story-highlight-item {
        flex-direction: row;
        text-align: left;
        padding: 14px 16px;
        border-radius: 14px;
        min-height: 44px;
    }

    .stats-bar { padding: 24px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .stat-item { padding: 12px 8px; border-radius: 14px; text-align: center; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.78rem; line-height: 1.4; }

    .values-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .value-card { padding: 22px 18px; border-radius: 18px; text-align: center; }
    .value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
    .value-card p { font-size: 0.92rem; line-height: 1.55; }
    .value-icon { font-size: 2rem; margin-bottom: 10px; }

    .zigzag-block {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 22px 16px;
        border-radius: 20px;
    }

    .zigzag-reverse { direction: ltr; }
    .zigzag-img { width: 180px; height: 180px; max-height: 200px; object-fit: contain; margin: 0 auto; }
    .zigzag-content { text-align: center; }
    .zigzag-name { font-size: 1.15rem; }
    .zigzag-desc { max-width: 100%; font-size: 0.92rem; line-height: 1.55; }
    .zigzag-prices { justify-content: center; flex-wrap: wrap; gap: 6px; }
    .zigzag-price { font-size: 0.88rem; }

    .other-item-desc { white-space: normal; font-size: 0.88rem; }
    .other-item-price { text-align: left; }

    /* Classic Menu Zone mobile */
    .classic-menu-zone { padding: 18px 14px; border-radius: 18px; }
    .classic-menu-title { font-size: 1.15rem; text-align: center; }
    .classic-menu-item {
        padding: 12px 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .classic-item-left { flex-shrink: 1; min-width: 0; max-width: 58%; }
    .classic-item-name { font-size: 0.92rem; }
    .classic-item-note { font-size: 0.8rem; }
    .classic-item-dots { min-width: 6px; }
    .classic-item-price { font-size: 0.84rem; white-space: nowrap; }

    .menu-category {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        padding: 22px 16px;
        gap: 16px;
        min-height: auto;
        border-radius: 18px;
    }

    .category-label {
        border-right: none;
        border-bottom: none;
        padding-right: 0;
        padding-bottom: 0;
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
        text-align: center;
        justify-content: center;
    }

    .category-name-vn { font-size: 1.4rem; }
    .category-name-en { margin-top: 0; }
    .category-items { padding: 0; gap: 10px; }
    .category-image { justify-content: center; padding-left: 0; order: -1; }
    .category-product-img { width: 120px; height: 120px; object-fit: contain; }

    .classic-menu-mix { flex-direction: column; }
    .classic-mix-content { flex-direction: column; gap: 8px; }

    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .team-card { padding: 16px 12px; border-radius: 16px; }
    .team-avatar { width: 72px; height: 72px; }
    .team-name { font-size: 0.98rem; }
    .team-role { font-size: 0.8rem; }

    /* Footer mobile */
    .footer-nhiet-doi { padding: 2.5rem 16px 2rem; }
    .brand-title { font-size: 1.8rem; margin-bottom: 0.4rem; }
    .brand-slogan { font-size: 0.88rem; margin-bottom: 1.5rem; line-height: 1.5; }
    .social-links { gap: 0.8rem; margin-bottom: 2rem; }
    .social-btn { width: 44px; height: 44px; font-size: 1.1rem; }
    .copyright { font-size: 0.76rem; padding-top: 1.2rem; line-height: 1.5; }
    .cursor-glow { display: none; }

    /* Thank You page mobile */
    .thankyou-page { padding: 24px 16px; }
    .thankyou-card { padding: 32px 22px; border-radius: 20px; }
    .thankyou-check { width: 64px; height: 64px; margin-bottom: 20px; }
    .thankyou-check svg { width: 28px; height: 28px; }
    .thankyou-card h1 { font-size: 1.45rem; }
    .thankyou-card p { font-size: 0.92rem; line-height: 1.6; margin-bottom: 24px; }

    /* Error page mobile */
    .error-page { padding: 24px 16px; }
    .error-code { font-size: 4rem; }
    .error-card h1 { font-size: 1.3rem; }
    .error-card p { font-size: 0.9rem; margin-bottom: 24px; }

    /* Form groups / Checkout section mobile */
    .checkout .container { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .order-form-wrapper { padding: 22px 16px; border-radius: 18px; }
    .order-form-title { font-size: 1.1rem; margin-bottom: 24px; }
    .form-group { margin-bottom: 22px; }
    .form-control { font-size: 16px; padding: 14px 0; }
    .btn-submit {
        min-height: 48px;
        font-size: 0.94rem;
        padding: 16px;
        border-radius: 14px;
    }

    /* Parallax leaves hidden on mobile for performance */
    .parallax-leaf { display: none; }

    /* Alert banners mobile */
    .alert { padding: 12px 14px; font-size: 0.86rem; border-radius: 14px; }
}

@media (max-width: 480px) {
    :root { --section-py: 36px; }

    .container { padding: 0 14px !important; }

    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.88rem; }

    .hero h1 { font-size: 1.85rem; }
    .hero-slogan { font-size: 0.88rem; }
    .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
    .hero-3d-container { max-width: 200px; }
    .hero-product-img { width: 85%; max-height: 220px; }

    .btn { padding: 12px 20px; font-size: 0.88rem; min-height: 44px; }

    .story-image-wrapper { max-height: 220px; }
    .story-content p { font-size: 0.88rem; }
    .story-stat {
        position: relative;
        bottom: auto; right: auto;
        margin-top: 14px;
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    .story-stat-number { font-size: 1.2rem; }

    .stats-grid { gap: 10px; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.72rem; }

    .value-card { padding: 18px 14px; }

    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .team-card { padding: 12px 10px; }
    .team-avatar { width: 60px; height: 60px; }
    .team-name { font-size: 0.9rem; }
    .team-role { font-size: 0.75rem; }

    .category-name-vn { font-size: 1.2rem; }
    .zigzag-img { width: 140px; height: 140px; }
    .zigzag-name { font-size: 1.05rem; }
    .zigzag-price { font-size: 0.82rem; }

    .classic-menu-item { padding: 10px 0; }
    .classic-item-name { font-size: 0.88rem; }

    .footer-nhiet-doi { padding: 2rem 14px 1.5rem; }
    .brand-title { font-size: 1.5rem; }
    .brand-slogan { font-size: 0.82rem; margin-bottom: 1.2rem; }
    .social-btn { width: 40px; height: 40px; font-size: 1rem; }
    .copyright { font-size: 0.72rem; }

    .thankyou-card { padding: 24px 16px; }
    .thankyou-card h1 { font-size: 1.3rem; }
    .error-code { font-size: 3.5rem; }

    .order-form-wrapper { padding: 18px 14px; }
}

/* ==============================================
   RESPONSIVE DISPLAY SYSTEM (Window vs Mobile)
   ============================================== */
.mobile-only-flex { display: flex; }

@media (min-width: 769px) {
    .mobile-only,
    .mobile-only-flex,
    .mobile-only-grid {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
}

/* ── Mobile header: giỏ hàng cạnh nút mở menu, tài khoản/đăng xuất trực tiếp trong drawer ── */
.nav-mobile-actions {
    align-items: center;
    gap: 4px;
}

.nav-cart-link--icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--green-dark);
    font-size: 1.05rem;
    transition: background 0.2s ease;
}

.nav-cart-link--icon:active,
.nav-cart-link--icon.active {
    background: rgba(42, 92, 56, 0.08);
}

.nav-logout-form-mobile { width: 100%; }

.nav-logout-btn-mobile {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 0.98rem;
    font-weight: 500;
    color: #b44242;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.nav-logout-btn-mobile:active { background: rgba(180, 66, 66, 0.08); }

@media (max-width: 768px) {
    .window-only,
    .window-only-flex,
    .window-only-grid {
        display: none !important;
    }
}


/* Mobile Navigation Backdrop Overlay */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 46, 26, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}


/* Mobile Cards & Mobile Utilities */
.mobile-card {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    margin-bottom: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-card:active {
    transform: scale(0.99);
}

.mobile-chip-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-chip-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
}

