/* ===== Butter and Flour - Global Styles ===== */

/* Self-hosted fonts — no external requests, no FOUT */
@font-face {
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url('../fonts/funnel-sans-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Funnel Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: optional;
  src: url('../fonts/funnel-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-vietnamese-400.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/playfair-vietnamese-700.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/playfair-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/playfair-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Design Variables */
:root {
  --surface-primary: #F5F0E8;
  --surface-secondary: #EDE7DC;
  --surface-warm: #E8DFD0;
  --surface-dark: #3E2723;
  --foreground-primary: #3E2723;
  --foreground-secondary: #5D4037;
  --foreground-muted: #7A5C52;
  --border-subtle: #D7CFC3;
  --accent-primary: #6D4C2F;
  --accent-secondary: #A67C52;
  --accent-warm: #C4956A;
  --white: #FFFFFF;
  --facebook-blue: #1877F2;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Funnel Sans', sans-serif;
  color: var(--foreground-primary);
  background: var(--surface-primary);
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ===== Typography ===== */
.font-heading { font-family: 'Playfair Display', serif; }
.font-body { font-family: 'Funnel Sans', sans-serif; }

/* ===== Layout ===== */
.container { max-width: 1440px; margin: 0 auto; }
.section-padding { padding: 80px 120px; }

/* ===== Navigation ===== */
#site-nav { min-height: 80px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 48px;
  background: var(--surface-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, border-color 0.2s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  padding: 6px 48px;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
/* SVG canvas: 720×718.5. Text content at x=93–632 (13%–88%), y=167–509 (23%–71%).
   Wrapper is sized to content area. Image overflows and is cropped by wrapper. */
/* PNG logo: 298×190px native, transparent bg — simple height constraint */
.nav-logo {
  height: 64px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}
.nav.scrolled .nav-logo { height: 48px; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a { font-size: 15px; color: var(--foreground-primary); transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-primary); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  display: none; position: absolute; top: 100%; left: -16px;
  background: var(--white); border-radius: 12px; padding: 8px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1); min-width: 200px; z-index: 200;
}
.nav-links .dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: 14px; }
.dropdown-menu a:hover { background: var(--surface-secondary); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; border-radius: 9999px;
  background: var(--accent-primary); color: var(--white);
  font-size: 14px; font-weight: 600; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 9999px;
  border: 2px solid var(--accent-primary); color: var(--accent-primary);
  font-size: 16px; font-weight: 600; background: transparent; transition: all 0.2s;
}
.btn-outline:hover { background: var(--accent-primary); color: var(--white); }
.lang-toggle {
  padding: 8px 16px; border-radius: 9999px; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; background: var(--surface-secondary); color: var(--accent-primary);
  border: 1.5px solid var(--border-subtle); cursor: pointer; transition: all 0.2s;
}
.lang-toggle:hover { background: var(--accent-primary); color: var(--white); border-color: var(--accent-primary); }
/* Hide Vietnamese text in English, show in VN mode */
.vn { display: none; }
html[lang="vi"] .vn { display: block; }
/* Hide Vietnamese subtitle when VN language is active (desc already in VN) */
html[lang="vi"] .vn-subtitle { display: none; }
.btn-facebook {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; border-radius: 9999px;
  background: var(--accent-primary); color: var(--white);
  font-size: 16px; font-weight: 600; transition: opacity 0.2s;
}
.btn-facebook:hover { opacity: 0.9; }

/* Brand icons */
.brand-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
/* Order Form */
.order-form {
  max-width: 480px; margin: 0 auto; text-align: left;
  display: flex; flex-direction: column; gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px; font-weight: 700; color: var(--foreground-secondary);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.form-group input, .form-group select {
  padding: 12px 16px; border: 1.5px solid var(--border-subtle);
  border-radius: 8px; font-size: 15px; font-family: inherit;
  background: var(--white); color: var(--foreground-primary);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--accent-primary);
}
.roll-ticker {
  display: flex; align-items: center;
  border: 1.5px solid var(--border-subtle); border-radius: 8px;
  overflow: hidden; width: fit-content; background: var(--white);
}
.roll-ticker input {
  border: none; text-align: center; width: 64px;
  font-size: 18px; font-weight: 700; padding: 10px 0;
  background: transparent;
}
.ticker-btn {
  background: var(--surface-secondary); border: none;
  padding: 10px 18px; font-size: 20px; font-weight: 400;
  cursor: pointer; color: var(--accent-primary); line-height: 1;
  transition: background 0.15s;
}
.ticker-btn:hover { background: var(--surface-warm); }
.order-item {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.order-item .item-flavor {
  flex: 1; min-width: 0; padding: 8px 10px;
  border: 1.5px solid var(--border-subtle); border-radius: 8px;
  font-size: 13px; font-family: inherit; background: var(--white);
  color: var(--foreground-primary);
}
.order-item .roll-ticker { flex-shrink: 0; }
.order-item .roll-ticker input {
  width: 36px; font-size: 13px; padding: 6px 0;
  text-align: center; line-height: 1;
  -moz-appearance: textfield;
}
.order-item .roll-ticker input::-webkit-inner-spin-button,
.order-item .roll-ticker input::-webkit-outer-spin-button { -webkit-appearance: none; }
.order-item .ticker-btn { padding: 6px 10px; font-size: 15px; }
.item-price {
  font-size: 12px; font-weight: 600; color: var(--accent-primary);
  white-space: nowrap; min-width: 84px; text-align: right; flex-shrink: 0;
}
.remove-item-btn {
  background: none; border: none; color: var(--foreground-muted);
  cursor: pointer; font-size: 13px; padding: 4px; flex-shrink: 0;
  line-height: 1; transition: color 0.15s;
}
.remove-item-btn:hover { color: var(--foreground-primary); }
.order-form-footer-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}
.add-item-btn {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600; color: var(--accent-primary);
  background: var(--surface-warm); border: 1px solid var(--border-subtle);
  border-radius: 6px; cursor: pointer; padding: 5px 12px; gap: 4px;
}
.add-item-btn:hover { background: var(--surface-secondary); }
.order-total {
  font-size: 13px; font-weight: 700; color: var(--foreground-primary);
}
.form-min-note { font-size: 12px; color: var(--foreground-muted); margin-top: 6px; }
/* Delivery date + time, side by side. Named apart from the contact form's
   .form-row, which is a different width and gap and is defined further down. */
.order-form-row { display: flex; gap: 12px; align-items: start; }
.order-form-row > .form-group { flex: 1 1 0; min-width: 0; }
@media (max-width: 520px) {
  .order-form-row { flex-direction: column; gap: 20px; }
}
/* Date field — matched to the neighbouring <select>, not to the beige text
   inputs, so the pair reads as one control. */
.date-field { position: relative; }
.date-field-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 12px 16px; border: 1.5px solid var(--border-subtle);
  border-radius: 8px; background: var(--white); color: var(--foreground-primary);
  font-size: 15px; font-family: inherit; text-align: left; cursor: pointer;
  transition: border-color 0.2s;
}
.date-field-btn:hover { border-color: var(--accent-secondary); }
.date-field-btn:focus-visible,
.date-field.is-open .date-field-btn { outline: none; border-color: var(--accent-primary); }
.date-field-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.date-field-icon { flex-shrink: 0; color: var(--accent-primary); }
/* Calendar popup */
.cal-panel {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0;
  width: 284px; padding: 12px; background: var(--white);
  border: 1.5px solid var(--border-subtle); border-radius: 12px;
  box-shadow: 0 2px 4px rgba(62,39,35,0.04), 0 12px 32px rgba(62,39,35,0.16);
}
.cal-panel-above { top: auto; bottom: calc(100% + 6px); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-title {
  font-size: 14px; font-weight: 700; color: var(--foreground-primary);
  text-transform: none; letter-spacing: 0;
}
.cal-nav {
  background: none; border: none; cursor: pointer; line-height: 1;
  font-size: 20px; padding: 2px 10px; border-radius: 6px; color: var(--accent-primary);
}
.cal-nav:hover:not(:disabled) { background: var(--surface-secondary); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-weekdays span {
  text-align: center; font-size: 11px; font-weight: 700; padding: 4px 0;
  color: var(--foreground-muted); text-transform: uppercase; letter-spacing: 0.5px;
}
.cal-day {
  aspect-ratio: 1; border: none; background: none; cursor: pointer;
  border-radius: 50%; font-size: 13px; font-family: inherit;
  color: var(--foreground-primary); transition: background 0.15s;
}
.cal-day:hover:not(:disabled) { background: var(--surface-secondary); }
.cal-day:disabled { color: var(--border-subtle); cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--border-subtle); }
.cal-day.is-selected, .cal-day.is-selected:hover {
  background: var(--accent-primary); color: var(--white); font-weight: 700;
}
.cal-day:focus-visible { outline: 2px solid var(--accent-warm); outline-offset: 1px; }
.cal-hint {
  margin: 10px 2px 0; padding-top: 8px; border-top: 1px solid var(--border-subtle);
  font-size: 11px; line-height: 1.4; color: var(--foreground-muted); text-align: center;
}
/* Note toggle */
.form-note-toggle { border: none; margin-top: 4px; }
.form-note-toggle summary {
  font-size: 12px; font-weight: 600; color: var(--accent-primary);
  cursor: pointer; list-style: none; padding: 4px 0;
}
.form-note-toggle summary::-webkit-details-marker { display: none; }
.form-note-toggle summary::before { content: '+ '; }
details[open].form-note-toggle summary::before { content: '− '; }
.form-note-toggle textarea {
  width: 100%; margin-top: 8px; padding: 10px 14px;
  border: 1.5px solid var(--border-subtle); border-radius: 8px;
  font-size: 14px; font-family: inherit; resize: vertical; min-height: 80px;
  background: var(--white); color: var(--foreground-primary); box-sizing: border-box;
}
/* Confirmation message */
.order-confirm {
  display: none; text-align: center; padding: 40px 20px;
}
.order-confirm h3 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 12px; color: var(--foreground-primary); }
.order-confirm p { font-size: 16px; color: var(--foreground-secondary); }
@media (max-width: 640px) { .item-price { min-width: 60px; } }
/* Product page video hero */
video.product-hero { width: 100%; height: 480px; object-fit: cover; display: block; }
@media (max-width: 640px) { video.product-hero { height: 260px; } }
/* Gold stars */
.star-gold { color: #C4956A; font-size: 20px; line-height: 1; }

/* ===== Hero ===== */
.hero {
  display: flex; height: 640px; background: var(--surface-primary);
}
.hero-text {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px 80px 80px; gap: 24px;
}
.hero-text .label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--accent-secondary); text-transform: uppercase;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif; font-size: 52px;
  font-weight: 700; line-height: 1.1; color: var(--foreground-primary);
}
/* Hero heading on the inner pages. Deliberately shares every size step with
   .hero-text h1 below, so a phone gets the same headline size site-wide and the
   two cannot drift apart. Must stay a class, not an inline font-size — inline
   wins over the media queries, which is how the menu page ended up shipping a
   52px headline to a 375px screen. */
.page-title { font-size: 52px; font-weight: 700; }
.hero-text .subtitle {
  font-family: 'Playfair Display', serif; font-size: 24px;
  font-style: italic; color: var(--accent-secondary);
}
.hero-text .desc { font-size: 16px; color: var(--foreground-secondary); line-height: 1.7; }
.hero-badge {
  width: fit-content;
  font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--accent-primary); background: var(--surface-warm);
  border: 1.5px dashed var(--accent-warm); border-radius: 999px;
  padding: 6px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.btn-zalo {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 9999px; background: var(--accent-warm); color: var(--white);
  font-size: 16px; font-weight: 600; transition: opacity 0.2s;
}
.btn-zalo:hover { opacity: 0.9; }
.sticky-order-cta { display: none; }
@media (max-width: 768px) {
  .sticky-order-cta {
    display: block; position: fixed; bottom: 24px; right: 20px; z-index: 9999;
    background: var(--accent-primary); color: var(--white);
    font-size: 15px; font-weight: 700; padding: 14px 28px;
    border-radius: 9999px; box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }
}
.hero-quote {
  margin: 0; padding: 14px 18px;
  border-left: 3px solid var(--accent-secondary);
  background: var(--surface-secondary); border-radius: 0 8px 8px 0;
}
.hero-quote p {
  font-size: 14px; font-style: italic; color: var(--foreground-secondary);
  line-height: 1.6; margin: 0 0 6px;
}
.hero-quote cite {
  font-size: 12px; font-style: normal; font-weight: 600;
  color: var(--foreground-muted); letter-spacing: 0.3px;
}
.hero-buttons { display: flex; gap: 16px; align-items: center; }
.hero-video {
  flex: 1; overflow: hidden;
  padding: 24px 24px 24px 0;
}
.hero-video video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 16px 16px 16px 16px;
  clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ===== Info Strip ===== */
.info-strip {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 20px;
  background: var(--surface-dark); color: #D7CFC3;
  padding: 16px 24px; font-size: 15px; font-weight: 500; letter-spacing: 0.2px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative; z-index: 1;
}
.info-strip-divider { color: var(--accent-warm); opacity: 0.6; }
@media (max-width: 640px) {
  .info-strip { font-size: 14px; padding: 14px 16px; gap: 6px 14px; }
}

/* ===== Products / Flavors ===== */
/* Homepage sections alternate ground so they read as distinct bands rather than
   one continuous field of cream. Order down the page:
   hero primary → flavors secondary → reviews primary → order warm →
   gallery secondary → about primary → social warm → closing CTA secondary → footer dark. */
.flavors { text-align: center; background: var(--surface-secondary); }
.flavors h2 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; }
.flavors .subtitle { font-size: 16px; color: var(--foreground-secondary); max-width: 600px; margin: 0 auto; }
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  width: 100%; margin-top: 16px;
}
.product-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 12px 32px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card .card-body { padding: 20px; text-align: left; }
.product-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.product-card .price { font-size: 16px; font-weight: 600; color: var(--accent-primary); margin-bottom: 8px; }
.product-card .desc { font-size: 14px; color: var(--foreground-secondary); line-height: 1.5; }
.product-card .vn { font-size: 13px; color: var(--foreground-muted); font-style: italic; margin-top: 6px; }
.order-notes {
  font-size: 13px; color: var(--foreground-muted); margin-top: 8px;
}

/* ===== Gallery ===== */
.gallery { text-align: center; background: var(--surface-secondary); }
.gallery h2 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; }
.gallery .subtitle { font-size: 16px; color: var(--foreground-secondary); max-width: 500px; margin: 0 auto; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%;
}
.gallery-grid img {
  width: 100%; height: 320px; object-fit: cover; border-radius: 12px;
  transition: transform 0.3s;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* ===== About Section ===== */
.about-section {
  display: flex; gap: 64px; align-items: center; background: var(--surface-primary);
}
.about-section img, .about-section video { width: 480px; height: 480px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.about-content { flex: 1; }
.about-content .label {
  font-size: 13px; font-weight: 600; letter-spacing: 3px;
  color: var(--accent-secondary); text-transform: uppercase; margin-bottom: 12px;
}
.about-content h2 { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; margin-bottom: 24px; }
.about-content p { font-size: 16px; color: var(--foreground-secondary); line-height: 1.7; margin-bottom: 16px; }
.about-content .placeholder { font-size: 14px; font-style: italic; color: var(--foreground-muted); }

/* ===== Contact Form ===== */
/* Warm is the most saturated of the three grounds — the ordering section is the
   one that should carry the most weight on the page. */
.contact-section { text-align: center; background: var(--surface-warm); }
.contact-section .label {
  font-size: 13px; font-weight: 600; letter-spacing: 3px;
  color: var(--accent-secondary); text-transform: uppercase;
}
.contact-section h2 { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; margin: 16px 0; }
.contact-section .subtitle { font-size: 16px; color: var(--foreground-secondary); max-width: 550px; margin: 0 auto 32px; line-height: 1.6; }
.contact-form {
  max-width: 640px; margin: 0 auto; padding: 40px;
  background: var(--surface-primary); border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 12px 32px rgba(0,0,0,0.06);
  text-align: left;
}
.form-row { display: flex; gap: 16px; margin-bottom: 24px; }
.form-group { flex: 1; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-subtle);
  border-radius: 8px; font-size: 14px; background: var(--surface-primary);
  color: var(--foreground-primary); outline: none; transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%; padding: 16px; border-radius: 9999px;
  background: var(--accent-primary); color: var(--white);
  font-size: 16px; font-weight: 600; transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.9; }

/* ===== Facebook / Social Section ===== */
.social-section {
  display: flex; gap: 64px; align-items: center; justify-content: center;
  background: var(--surface-warm);
}
.social-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.social-content .label {
  font-size: 13px; font-weight: 600; letter-spacing: 3px;
  color: var(--accent-secondary); text-transform: uppercase;
}
.social-content h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; }
.social-content .desc { font-size: 16px; color: var(--foreground-secondary); max-width: 420px; line-height: 1.6; }
.quick-cards { display: flex; flex-direction: row; flex-wrap: wrap; gap: 16px; }
.quick-card {
  display: flex; align-items: center; gap: 16px; padding: 20px;
  background: var(--surface-primary); border-radius: 12px; width: 320px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.03), 0 8px 20px rgba(0,0,0,0.06);
}
.quick-card .icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-warm); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 20px; flex-shrink: 0;
}
.quick-card h4 { font-size: 15px; font-weight: 600; }
.quick-card p { font-size: 13px; color: var(--foreground-muted); line-height: 1.5; }

/* ===== Footer ===== */
.footer { background: var(--surface-dark); color: #D7CFC3; }
.footer-top { display: flex; justify-content: space-between; align-items: start; }
.footer-brand { max-width: 250px; }
.footer-brand img:not(.footer-social-icon) { width: 280px; height: auto; display: block; border-radius: 0; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 14px; align-items: center; }
.footer-socials a { display: flex; transition: opacity 0.2s; }
.footer-socials a:hover { opacity: 0.8; }
.footer-social-icon { width: 24px; height: 24px; border-radius: 4px; object-fit: contain; display: block; }
.footer-links { display: flex; gap: 64px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--surface-primary); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: #D7CFC3; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.08); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: var(--foreground-muted); }

/* ===== Product Page ===== */
.product-hero { width: 100%; height: 480px; object-fit: cover; }
.product-content { display: flex; gap: 64px; align-items: start; }
.product-details { flex: 1; }
.product-details .breadcrumb { font-size: 13px; color: var(--foreground-muted); margin-bottom: 20px; }
.product-details h1 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; margin-bottom: 12px; }
.product-details .price { font-size: 22px; font-weight: 600; color: var(--accent-primary); margin-bottom: 16px; }
.product-details .desc { font-size: 16px; color: var(--foreground-secondary); line-height: 1.7; margin-bottom: 12px; }
.product-details .vn { font-size: 14px; font-style: italic; color: var(--foreground-muted); margin-bottom: 20px; }
.product-details hr { border: none; border-top: 1px solid var(--border-subtle); margin: 20px 0; }
.order-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.order-info ul { font-size: 14px; color: var(--foreground-secondary); line-height: 1.6; padding-left: 0; }
.order-info li { margin-bottom: 4px; }
.sidebar { width: 360px; flex-shrink: 0; }
.sidebar h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.related-card {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: var(--surface-secondary); border-radius: 12px; margin-bottom: 12px;
}
.related-card img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; }
.related-card h4 { font-size: 14px; font-weight: 600; }
.related-card .price { font-size: 13px; color: var(--accent-secondary); }

/* ===== Hamburger Menu ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--surface-secondary); }
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--foreground-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 115px;
  left: 0; right: 0;
  background: var(--surface-primary);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 99;
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 115px);
  overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--foreground-primary);
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-mobile-menu a:hover { background: var(--surface-secondary); }
.nav-mobile-menu .mobile-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 8px 0;
}
.nav-mobile-menu .mobile-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--foreground-muted);
  padding: 8px 16px 4px;
}
.nav-mobile-menu .btn-facebook {
  margin-top: 8px;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
}
.nav-mobile-menu a.btn-primary,
.nav-mobile-menu a.btn-primary:hover,
.nav-mobile-menu a.btn-primary span,
.nav-mobile-menu a.btn-primary .material-symbols-outlined {
  background: var(--accent-primary) !important;
  color: #fff !important;
}

/* Reviews — 3 columns on desktop */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .section-padding { padding: 60px 40px; }
  .hero { flex-direction: column; height: auto; }
  .hero-text { padding: 60px 40px; }
  .hero-text h1, .page-title { font-size: 48px; }
  .hero-video { height: 400px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { flex-direction: column; }
  .about-section img, .about-section video { width: 100%; max-width: 480px; height: 300px; align-self: center; }
  .social-section { flex-direction: column; }

  .product-content { flex-direction: column; }
  .sidebar { width: 100%; }
}
@media (max-width: 850px) {
  html[data-lang="vn"] .nav-links { display: none; }
  html[data-lang="vn"] .nav-hamburger { display: flex; margin-left: 12px; }
  html[data-lang="vn"] .nav .btn-primary { display: none; }
  html[data-lang="vn"] .lang-toggle { margin-left: auto; }
}
@media (max-width: 780px) {
  html:not([data-lang="vn"]) .nav-links { display: none; }
  html:not([data-lang="vn"]) .nav-hamburger { display: flex; margin-left: 12px; }
  html:not([data-lang="vn"]) .nav .btn-primary { display: none; }
  html:not([data-lang="vn"]) .lang-toggle { margin-left: auto; }
}
@media (max-width: 640px) {
  .section-padding { padding: 40px 20px; }
  .nav { padding: 16px 20px; }
  .hero { min-height: auto; }
  .hero-text { padding: 40px 20px; gap: 16px; }
  .hero-text h1, .page-title { font-size: 36px; }
  .hero-video { height: 280px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons a { text-align: center; justify-content: center; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 160px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .form-row { flex-direction: column; }
  .quick-card { width: 100%; }
  .quick-cards { flex-direction: column; }
  /* Reviews: horizontal swipe carousel on mobile */
  .reviews-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .reviews-section .reviews-header {
    padding-left: 20px;
    padding-right: 20px;
  }
  .reviews-grid {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid::before,
  .reviews-grid::after {
    content: '';
    min-width: 20px;
    flex-shrink: 0;
  }
  .reviews-grid > div {
    min-width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  /* Product page */
  .product-hero { height: 260px; }
  .product-details h1 { font-size: 32px; }
}
