:root {
  --bg: #f6f1e8;
  --bg-2: #fffaf2;
  --ink: #1c2430;
  --muted: #6d645a;
  --line: #e7dccb;
  --yellow: #f2c10d;
  --yellow-deep: #e0a800;
  --gold: #c8892a;
  --green: #3f7a45;
  --navy: #1c2430;
  --white: #fffdf8;
  --card: #ffffff;
  --amber: #c45c12;
  --shadow: 0 18px 50px rgba(28, 36, 48, 0.08);
  --radius: 28px;
  --header: 72px;
  --max: 1180px;
  --font: "Outfit", "IBM Plex Sans Thai", "Noto Sans SC", sans-serif;
}

html[lang="th"] { --font: "IBM Plex Sans Thai", "Outfit", sans-serif; }
html[lang="zh"] { --font: "Noto Sans SC", "Outfit", sans-serif; }
html[lang="th"] body,
html[lang="zh"] body {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100dvh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  width: min(calc(100% - 24px), var(--max));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-2);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.logo-text span { font-size: 11px; color: var(--muted); }

.desktop-nav { display: none; gap: 6px; }
.desktop-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--ink);
  background: #fff;
}

.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang {
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  border: 0;
  background: transparent;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.lang button.active {
  background: var(--ink);
  color: #fff;
}

.burger {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
  flex: 0 0 auto;
}

.mobile-nav {
  display: none;
  padding: 8px 16px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(242, 193, 13, 0.28);
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--yellow-deep); }
.btn-ghost {
  background: #fff;
  box-shadow: none;
  border: 1px solid var(--line);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.hero {
  position: relative;
  padding: 28px 0 20px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(34px, 8vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 22px;
}
.hero-visual {
  position: relative;
  min-height: 340px;
}
@media (max-width: 639px) {
  .float.c, .float.d { display: none; }
  .hero-visual { min-height: 300px; }
}
.hero-visual .pack {
  width: min(86%, 420px);
  margin: 0 auto;
  border-radius: 32px;
  filter: drop-shadow(0 24px 40px rgba(28,36,48,.18));
}
.float {
  position: absolute;
  width: 88px;
  animation: float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 16px rgba(28,36,48,.12));
  pointer-events: none;
}
.float.a { top: 6%; left: 0; animation-delay: -1s; width: 96px; }
.float.b { top: 8%; right: 0; animation-delay: -2.2s; width: 84px; }
.float.c { bottom: 8%; left: 4%; animation-delay: -3s; width: 78px; }
.float.d { bottom: 4%; right: 2%; width: 92px; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.flavors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.section { padding: 64px 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
.story-card, .card, .product-card, .faq-item, .info-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 16/11;
}
.photo-portrait {
  aspect-ratio: 1;
  object-position: center;
  margin-inline: auto;
  max-width: 520px;
  width: 100%;
}
.buy-card img[src*="shop-sign"] {
  width: 160px;
  height: 160px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}
.story-copy p { color: var(--muted); margin-bottom: 14px; }
.values { display: grid; gap: 12px; margin-top: 18px; }
.value {
  background: var(--bg-2);
  border-radius: 18px;
  padding: 16px 18px;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.55;
}
.value strong { display: block; margin-bottom: 4px; }

.brand-grid, .product-grid, .buy-grid {
  display: grid;
  gap: 16px;
}
.brand-card, .product-card {
  overflow: hidden;
  padding: 0 0 18px;
}
.brand-card img, .product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-2);
}
.brand-card img[src$=".png"],
.product-card img[src$=".png"] {
  object-fit: contain;
  padding: 18px;
}
.brand-card h3, .product-card h3 {
  padding: 14px 18px 4px;
  font-size: 18px;
}
.product-card p, .brand-card p {
  padding: 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.price {
  padding: 10px 18px 0;
  font-weight: 800;
  color: var(--amber);
  font-size: 18px;
}
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
}
.filter {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.product-card[hidden] { display: none; }

.milestone {
  display: grid;
  gap: 16px;
}
.mile {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.mile b { color: var(--gold); }

.buy-card {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.buy-card img {
  width: 160px;
  height: 160px;
  aspect-ratio: 1;
  margin: 0 auto 12px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 20px 18px; color: var(--muted); }

.contact-grid { display: grid; gap: 18px; }
.info-card, .form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.info-card h3 { margin-bottom: 8px; }
.info-card p, .info-card a { color: var(--muted); }
.info-card a { color: var(--ink); font-weight: 600; }
.form-grid { display: grid; gap: 12px; }
label { font-size: 13px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 14px;
  padding: 12px 14px;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.map {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
}

.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 32px;
  padding: 36px 24px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: #d7cbb8; margin-bottom: 18px; }

.site-footer {
  padding: 48px 0 24px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.foot-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}
.foot-brand img { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 10px; }
.foot-brand p, .site-footer li, .copy { color: var(--muted); font-size: 14px; }
.site-footer h4 { margin-bottom: 10px; }
.site-footer a:hover { color: var(--ink); }
.copy { text-align: center; padding-top: 12px; border-top: 1px solid var(--line); }

.page-hero {
  padding: 36px 0 10px;
}
.page-hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 640px) {
  .brand-grid, .product-grid, .buy-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 420px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .burger { display: none; }
  .desktop-nav { display: flex; }
  .buy-grid { grid-template-columns: repeat(3, 1fr); }
  .split .buy-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 18px 0 40px; }
  .hero-grid, .split, .contact-grid, .foot-grid { grid-template-columns: 1.05fr 0.95fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .milestone { grid-template-columns: repeat(3, 1fr); }
  .float { width: 110px; }
  .float.a, .float.b { width: 120px; }
}

@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-visual { min-height: 520px; }
}
