:root {
  --ink: #14202e;
  --ink-2: #2b3a4b;
  --muted: #5d6b7a;
  --line: #dfe4ea;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --accent: #f2a900;
  --accent-ink: #1d1600;
  --line-green: #06c755;
  --line-green-dark: #05a547;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 32, 46, .06), 0 4px 16px rgba(20, 32, 46, .06);
  --wrap: 1180px;
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; font-size: 1rem; line-height: 1.2; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.3em; height: 1.3em; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: var(--line-green-dark); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-sm { padding: .5em .95em; font-size: .95rem; }

/* ---------- top bar + header */
.topbar { background: var(--ink); color: #c9d3de; font-size: .85rem; }
.topbar .wrap { display: flex; gap: 22px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar a { color: #fff; font-weight: 600; }
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.brand img { height: 40px; width: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 1.2rem; }
.brand small { font-size: .7rem; letter-spacing: .06em; color: var(--muted); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current] { color: #9a6b00; background: #fff6df; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- search */
.search { position: relative; flex: 1 1 auto; min-width: 250px; max-width: 360px; margin-left: auto; }
.search > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; font: inherit; font-size: 1rem; padding: 10px 14px 10px 42px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--ink); background: #fff; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 32, 46, .18); max-height: 70vh; overflow: auto; padding: 6px; z-index: 60; }
.search-results a { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 8px; text-decoration: none; }
.search-results a b { font-weight: 600; }
.search-results a small { color: var(--muted); font-size: .82rem; }
.search-results a:hover, .search-results a[aria-selected="true"] { background: #fff6df; }
.search-results mark { background: none; color: #9a6b00; font-weight: 700; }
.search-empty { padding: 12px; font-size: .95rem; }
.search-empty p { margin: 0 0 10px; }

/* ---------- hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 32, 46, .95) 0%, rgba(20, 32, 46, .6) 60%, rgba(20, 32, 46, .2) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); max-width: 18em; }
.hero .lead { font-size: 1.1rem; color: #d7dee6; max-width: 38em; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--accent); margin-bottom: 12px; }
.hero-btns, .head-btns, .cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- blocks */
.block { padding-top: 56px; padding-bottom: 8px; }
.block-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.block-h { font-size: 1.5rem; margin-bottom: 20px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: #9a6b00; white-space: nowrap; }
.grid { display: grid; gap: 16px; }

/* ---------- category cards */
.cards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20, 32, 46, .12); }
.card-img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.card-img img { max-height: 100%; width: auto; object-fit: contain; }
.card-body { padding: 12px 16px 14px; }
.card-body h2, .card-body h3 { font-size: 1.05rem; margin: 0; }
.card-body p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- feature + promises */
.feature { margin-top: 56px; background: #fff6df; border-top: 1px solid #f3e2b5; border-bottom: 1px solid #f3e2b5; }
.feature-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.feature h2 { font-size: 1.8rem; }
.feature .eyebrow { color: #9a6b00; }
.promises { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.promise { background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.promise > svg { width: 34px; height: 34px; padding: 7px; background: var(--accent); color: var(--accent-ink); border-radius: 50%; margin-bottom: 12px; }
.promise h3 { font-size: 1.1rem; margin-bottom: 6px; }
.promise p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- posts */
.posts { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: border-color .15s; }
.post:hover { border-color: var(--ink); }
.post span { font-size: .8rem; font-weight: 600; color: #9a6b00; }
.post h2, .post h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.post p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- visit / map */
.visit { display: grid; grid-template-columns: 1fr 1.3fr; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.visit-info { padding: 30px; }
.visit-info h2 { font-size: 1.4rem; }
.visit-info p { display: flex; gap: 10px; margin-bottom: 10px; }
.visit-info p > svg { margin-top: .3em; color: var(--muted); }
.visit-info .btn { margin-top: 8px; }
.map { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.directions { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.directions li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; background: var(--surface); padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line); }
.map-img { background: #fff; padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); margin: 0; }
.map-img figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* ---------- inner page head */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 26px 0 32px; }
.page-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.page-head h1 span { display: block; font-size: .5em; font-weight: 500; color: var(--muted); letter-spacing: .02em; margin-top: 4px; }
.page-head .lead { color: var(--ink-2); max-width: 48em; }
.page-head .head-btns { margin-top: 16px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- product items */
.jump { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 0; }
.jump a { text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }
.jump a:hover { border-color: var(--ink); }
.items { display: grid; gap: 18px; padding-top: 22px; }
.page-head + .wrap > .grid.cards { margin-top: 22px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; background: var(--surface); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.item-full { grid-template-columns: 1fr; }
.item h2 { font-size: 1.35rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; align-content: start; }
.gallery-1 { grid-template-columns: 1fr; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gallery-1 figure { border: 0; padding: 0; }
.gallery img { max-height: 340px; width: auto; object-fit: contain; }
.gallery figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 6px; }
.spec { margin-bottom: 16px; }
.spec-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .03em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; }
.chips li { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 4px 11px; font-size: .95rem; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: var(--bg); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 18px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; }
.ticks svg { color: #2f9e5a; margin-top: .3em; }
.ask { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; color: var(--line-green-dark); text-decoration: none; }
.ask:hover { text-decoration: underline; }
.ask svg { width: 1.4em; height: 1.4em; }

/* ---------- CTA band */
.cta { background: var(--ink); color: #fff; margin-top: 56px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.cta h2 { font-size: 1.6rem; margin-bottom: 6px; }
.cta p { margin: 0; color: #c9d3de; }
.cta-btns { margin-top: 0; }

/* ---------- about + article */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.about-img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.prose { font-size: 1.05rem; }
.article { background: var(--surface); border-radius: var(--radius); padding: 34px 38px; margin-top: 28px; border: 1px solid var(--line); }
.article h2 { font-size: 1.4rem; margin-top: 1.4em; }
.article h3 { font-size: 1.15rem; margin-top: 1.2em; }
.article ul { padding-left: 1.2em; margin: 0 0 1em; }
.article li { margin-bottom: .35em; }
.article figure { margin: 1.4em 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.article figure img { margin: 0 auto; max-height: 420px; width: auto; border-radius: 8px; }
.article figcaption { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- footer + mobile dock */
.footer { background: #0e1722; color: #b8c3cf; margin-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; padding-top: 48px; padding-bottom: 32px; }
.foot-brand { color: #fff; font-weight: 700; font-size: 1.1rem; }
.foot-h { color: #fff; font-weight: 600; margin-bottom: 12px; }
.foot-list, .foot-cats { list-style: none; padding: 0; margin: 0; }
.foot-list li { margin-bottom: 8px; }
.foot-list a, .foot-list span { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.foot-list a:hover, .foot-cats a:hover { color: #fff; }
.foot-cats { columns: 2; }
.foot-cats li { margin-bottom: 6px; break-inside: avoid; }
.foot-cats a { text-decoration: none; }
.copy { border-top: 1px solid #223042; padding-top: 16px; padding-bottom: 24px; font-size: .85rem; }
.dock { display: none; }
.cta + .block, .cta + .footer { margin-top: 0; }

@media (max-width: 1200px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20, 32, 46, .12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .menu-btn { display: block; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .wrap { padding: 0 16px; }
  .topbar { display: none; }
  .header-in { flex-wrap: wrap; gap: 10px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  .brand { max-width: calc(100% - 60px); }
  .brand img { height: auto; max-height: 34px; max-width: 100%; }
  .brand small { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; min-width: 0; }
  .search-results { min-width: 0; }
  .menu-btn { margin-left: auto; }
  .hide-sm { display: none; }
  .hero-in { padding-top: 48px; padding-bottom: 52px; }
  .hero::after { background: linear-gradient(180deg, rgba(20, 32, 46, .82), rgba(20, 32, 46, .92)); }
  .block { padding-top: 40px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-body { padding: 10px 12px 12px; }
  .card-body h2, .card-body h3 { font-size: .98rem; }
  .feature-in, .visit, .about, .footer-grid { grid-template-columns: 1fr; }
  .feature-in { gap: 20px; padding-top: 36px; padding-bottom: 36px; }
  .item { grid-template-columns: 1fr; padding: 18px; gap: 16px; }
  .gallery img { max-height: 260px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-1 { grid-template-columns: 1fr; }
  .directions li { grid-template-columns: 1fr; gap: 2px; }
  .article { padding: 22px 18px; }
  .map { min-height: 280px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(20, 32, 46, .15); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px calc(14px + env(safe-area-inset-bottom)); font-weight: 700; text-decoration: none; color: #fff; }
  .dock svg { width: 1.4em; height: 1.4em; }
  .dock-call { background: var(--ink); }
  .dock-line { background: var(--line-green); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- sub-products inside one item */
.variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 8px; }
.variant { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; }
.variant-img { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.variant-img img { max-height: 180px; width: auto; object-fit: contain; }
.variant h3 { font-size: 1.05rem; margin-bottom: 10px; }
.variant .ask { margin-top: auto; padding-top: 6px; }
.variant .chips { margin-bottom: 12px; }
.dock-line span { display: flex; flex-direction: column; line-height: 1.15; }
.dock-line small { font-weight: 500; font-size: .78rem; opacity: .9; }
.header .btn-line { white-space: nowrap; }
.map-scroll { overflow-x: auto; }
.shop-map { display: block; width: 100%; height: auto; min-width: 720px; font-family: var(--font); }
.article ol { padding-left: 1.4em; margin: 0 0 1em; }
.article a { color: #9a6b00; font-weight: 600; }
.note { background: #fff6df; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 8px; margin: 1.4em 0; }
.article figure.fig-1 { grid-template-columns: 1fr; }
