:root {
  --navy: #2C3E50;
  --accent: #ef5659;
  --accent-soft: #ffe4e5;
  --gold: #FDC438;
  --bg: #fffaf8;
  --card: #fff;
  --text: #2C3E50;
  --muted: #6b7280;
  --line: #efe6e2;
  --ok: #1f7a4d;
  --bad: #b42318;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
.app { min-height: 100vh; display: flex; flex-direction: column; }
button, a { font: inherit; }
button { color: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 84px;
  padding: 12px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 4px; }
.nav-right { justify-content: flex-end; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.lang-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  cursor: pointer;
}
.lang-switch button.on { background: var(--accent); color: #fff; }
.flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.flag-fr {
  background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%);
}
.flag-vn {
  background: #da251d;
  position: relative;
}
.flag-vn::after {
  content: "★";
  color: #ff0;
  font-size: 9px;
  line-height: 12px;
  display: block;
  text-align: center;
}
.logo-btn { background: none; border: 0; padding: 0; cursor: pointer; }
.logo-btn img { height: 72px; width: 72px; object-fit: contain; display: block; }
.nav-link, .nav-cta {
  isolation: isolate;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  background: none; border: 0;
  padding: 8px 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  color: var(--navy);
  text-decoration: none;
}
.nav-link::before, .nav-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  z-index: -1;
  transform: scale(.5);
  opacity: 0;
  transition: transform .3s cubic-bezier(.58,.3,.005,1), opacity .3s;
}
.nav-link:hover, .nav-cta:hover { color: #fff; }
.nav-link:hover::before, .nav-cta:hover::before { transform: scale(1); opacity: 1; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px; background: var(--accent); color: #fff;
  padding: 10px 16px; font-weight: 800; cursor: pointer;
}
.cart-count {
  background: #fff; color: var(--accent);
  min-width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center; font-size: 12px;
}
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }

.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 28px 28px;
  text-align: center;
}
.hero .eyebrow {
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 13px;
}
.hero h1 {
  margin: 0 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(56px, 9vw, 96px);
  line-height: .92;
  letter-spacing: -.03em;
}
.hero .lede {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  justify-content: center;
}

.hero-collage {
  max-width: 1280px;
  margin: 0 auto 8px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 10px;
}
.hero-collage img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 18px;
}
.hero-collage img:first-child { grid-row: 1 / span 2; }

.facts {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 28px 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  text-align: center;
}
.fact strong { display: block; color: var(--accent); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--muted); line-height: 1.45; }

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 28px 32px;
  text-align: center;
}
.section h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900; line-height: 1.05;
}
.section .intro { color: var(--muted); max-width: 680px; line-height: 1.55; margin: 0 auto; }

.cats { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px auto; justify-content: center; }
.cats button {
  border: 2px solid var(--line); background: #fff; border-radius: 999px;
  padding: 10px 16px; font-weight: 800; cursor: pointer;
}
.cats button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--navy); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column;
}
.product-media { background: var(--accent-soft); }
.product-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.product-body { padding: 18px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.product-name { margin: 0; font-size: 20px; font-weight: 900; }
.product-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.price-tag {
  display: inline-flex;
  background: var(--gold); color: var(--navy);
  border-radius: 10px; padding: 6px 14px; font-weight: 800; width: fit-content;
}
.qty-row { display: flex; align-items: center; justify-content: center; gap: 10px; }
.qty-row button {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 800; cursor: pointer;
}
.add-btn {
  border: 0; border-radius: 12px; background: var(--accent); color: #fff;
  padding: 12px 14px; font-weight: 800; cursor: pointer; width: 100%;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 14px 22px;
  font-weight: 800; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-gold { background: var(--gold); color: var(--navy); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.soft-card, .event-card, .photo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.soft-card, .event-card { padding: 22px; text-align: center; }
.photo-card { text-align: center; }
.soft-card h3, .event-card h3, .photo-card h3 { margin: 0 0 8px; font-size: 20px; }
.soft-card p, .event-card p, .photo-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.event-card ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); }
.event-card li { padding-left: 14px; position: relative; margin-bottom: 6px; }
.event-card li::before { content: "•"; color: var(--accent); position: absolute; left: 0; }
.photo-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.photo-card div { padding: 18px; }

.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  margin-top: 24px;
}
.split-box {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  text-align: left;
}
.split-box h3 { text-align: center; }
.split-box ul { list-style: none; padding: 0; margin: 16px 0 0; }
.split-box li { display: flex; gap: 10px; margin-bottom: 10px; color: var(--muted); justify-content: center; }
.split-box li b { color: var(--accent); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
  text-align: left;
  max-width: 980px;
  margin: 28px auto 0;
}
.map { width: 100%; height: 360px; border: 0; border-radius: 18px; }
.contact-form, .form-grid { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; font: inherit; background: #fff;
}
.ok { color: var(--ok); min-height: 20px; }
.err { color: var(--bad); min-height: 20px; }

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 36px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.site-footer a { color: var(--accent); text-decoration: none; font-weight: 700; }
.site-footer img { height: 28px; margin-top: 12px; }

.drawer-back {
  position: fixed; inset: 0; background: rgba(44,62,80,.35); z-index: 50;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: #fff; z-index: 60; display: flex; flex-direction: column;
  box-shadow: -16px 0 40px rgba(44,62,80,.12);
}
.drawer header, .drawer footer { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer footer { border-bottom: 0; border-top: 1px solid var(--line); }
.drawer h3 { margin: 0; }
.drawer-close { background: none; border: 0; font-size: 22px; cursor: pointer; }
.drawer header { display: flex; justify-content: space-between; align-items: center; }
.cart-list { padding: 16px 22px; overflow: auto; flex: 1; display: grid; gap: 14px; align-content: start; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.cart-item strong { display: block; }
.cart-item span, .cart-item small { color: var(--muted); font-size: 13px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.totals { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14px; }
.totals b { display: flex; justify-content: space-between; font-size: 18px; }

.checkout { max-width: 820px; margin: 0 auto; padding: 40px 28px 80px; text-align: center; }
.checkout h1 { margin: 0 0 8px; font-size: 42px; font-weight: 900; }
.checkout .lede { color: var(--muted); }
.checkout .form-grid, .checkout .totals { text-align: left; }
.checkout .btn { margin: 0 auto; }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.types button {
  border: 2px solid var(--line); background: #fff; border-radius: 14px;
  padding: 14px; font-weight: 800; cursor: pointer; text-align: left;
}
.types button.on { border-color: var(--accent); background: var(--accent-soft); }
.thanks { text-align: center; padding: 80px 28px; }
.thanks h1 { font-size: 48px; }

@media (max-width: 980px) {
  .site-header-inner { grid-template-columns: auto 1fr auto; }
  .nav-left { display: none; }
  .burger { display: inline-flex; }
  .logo-btn img { height: 62px; width: 62px; }
  .hero { padding-top: 36px; }
  .hero-collage, .facts, .product-grid, .card-grid, .contact-grid, .split, .row, .types {
    grid-template-columns: 1fr;
  }
  .hero-collage { grid-template-rows: 180px 140px 140px; }
  .hero-collage img:first-child { grid-row: auto; }
  .mobile-nav {
    display: grid; gap: 8px; padding: 12px 20px 20px;
    border-top: 1px solid var(--line); background: #fff;
    justify-items: center;
  }
  .nav-right .lang-switch { display: none; }
}
