/* =========================================================
   ทับหลี เปา แอนด์ โก — stylesheet
   โทนสี: แดงพริก (ปุ่มหลัก) · ทองไม้ไผ่ · ครีม · น้ำตาลเข้ม
   ========================================================= */

:root {
  --red: #b8322a;
  --red-600: #9c2922;
  --red-50: #fcefec;
  --gold: #c4862b;
  --gold-300: #e9c98f;
  --cream: #fbf3e6;
  --cream-2: #f6ead6;
  --bg: #fffbf5;
  --surface: #ffffff;
  --ink: #2a1e18;
  --ink-2: #4a3b32;
  --muted: #76655a;
  --line: #eadfcf;
  --green: #2f7d5b;
  --green-50: #e9f5ef;
  --line-green: #06c755;
  --line-green-600: #05a948;
  --dark: #241a15;
  --dark-2: #33251d;
  --warn-bg: #fff6e0;
  --warn-ink: #7a4b00;

  --font-head: "Mitr", "Leelawadee UI", "Thonburi", system-ui, sans-serif;
  --font-body: "Sarabun", "Leelawadee UI", "Thonburi", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(60, 30, 10, .05), 0 4px 14px rgba(60, 30, 10, .06);
  --shadow: 0 14px 34px -14px rgba(60, 30, 10, .28);
  --shadow-lg: 0 34px 70px -24px rgba(60, 30, 10, .38);
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html.od-lock { overflow: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); line-height: 1.22; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.22rem; font-weight: 500; }
p { margin: 0 0 1em; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-600); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: var(--ink); font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--gold-300); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: #e9ddd2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--dark .section__head p { color: #cdbfb3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .9rem; letter-spacing: .02em;
  color: var(--red); background: var(--red-50); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow--gold { color: #8a5a12; background: #fbeed3; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--red); --bh: var(--red-600); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--c); font-family: var(--font-head); font-weight: 500; font-size: 1.02rem;
  text-decoration: none; line-height: 1.2; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 10px 22px -12px rgba(184, 50, 42, .6); white-space: nowrap;
}
.btn:hover { background: var(--bh); border-color: var(--bh); color: var(--c); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn--dark { --b: var(--ink); --bh: #000; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .5); }
.btn--line { --b: var(--line-green); --bh: var(--line-green-600); box-shadow: 0 10px 22px -12px rgba(6, 199, 85, .55); }
.btn--outline { --b: transparent; --bh: var(--red-50); --c: var(--red); border-color: var(--red); box-shadow: none; }
.btn--outline:hover { border-color: var(--red); color: var(--red-600); }
.btn--ghost { --b: #fff; --bh: var(--cream); --c: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--gold-300); color: var(--ink); }
.btn--white { --b: #fff; --bh: #fff4ec; --c: var(--red); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .45); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.linkish { background: none; border: 0; padding: 0; color: var(--red); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--dark); color: #d9c9bb; font-size: .86rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .icon { width: 1em; height: 1em; color: var(--gold-300); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 245, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(60, 30, 10, .35); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.28rem; color: var(--ink); }
.brand__tag { font-family: var(--font-head); font-size: .68rem; letter-spacing: .16em; color: var(--gold); font-weight: 500; margin-top: 3px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav__list a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-family: var(--font-head); font-weight: 400; font-size: .98rem; transition: background .2s, color .2s; }
.nav__list a:hover { background: var(--cream); color: var(--ink); }
.nav__list a[aria-current="page"] { color: var(--red); background: var(--red-50); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
  radial-gradient(900px 520px at 88% 8%, rgba(233, 201, 143, .45), transparent 60%),
  radial-gradient(700px 460px at 8% 90%, rgba(252, 239, 236, .9), transparent 60%),
  var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--red); }
.hero__lead { font-size: clamp(1.06rem, 1.5vw, 1.18rem); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.trust-list .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green); flex: none; }
.trust-list .tick .icon { width: 15px; height: 15px; stroke-width: 3; }

.hero__visual { position: relative; min-height: 560px; }
.hero__photo { position: absolute; inset: 0 0 64px 64px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--cream-2); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 26, 21, 0) 55%, rgba(36, 26, 21, .35)); }
.hero__circle { position: absolute; right: -6px; top: -10px; width: 168px; height: 168px; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); z-index: 2; }
.hero__circle img { width: 100%; height: 100%; object-fit: cover; }
.price-chip { position: absolute; right: 28px; bottom: 120px; z-index: 3; background: #fff; border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow); text-align: center; line-height: 1.2; }
.price-chip small { display: block; color: var(--muted); font-size: .8rem; }
.price-chip strong { font-family: var(--font-head); font-size: 1.6rem; color: var(--red); font-weight: 600; }

/* Company verification card */
.company-card {
  position: relative; z-index: 3; background: #fff; border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; max-width: 390px;
}
.company-card::before {
  content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle, transparent 0 7px, rgba(196, 134, 43, .22) 7px 8px);
}
.hero .company-card { position: absolute; left: 0; bottom: 0; }
.company-card__top { display: flex; gap: 12px; align-items: center; position: relative; }
.company-card__top svg { width: 40px; height: 40px; flex: none; }
.company-card__name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.3; margin: 0; }
.company-card__sub { font-size: .8rem; color: var(--muted); margin: 0; letter-spacing: .02em; }
.company-card__label { font-size: .82rem; color: var(--muted); margin: 14px 0 0; position: relative; }
.company-card__no { font-family: var(--font-head); font-size: 1.72rem; letter-spacing: .06em; color: var(--red); font-weight: 600; margin: 0; line-height: 1.25; position: relative; }
.company-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--ink-2); margin: 8px 0 12px; position: relative; }
.company-card__verify { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--green); text-decoration: none; position: relative; }
.company-card__verify:hover { color: var(--green); text-decoration: underline; }

/* ---------- Facts strip ---------- */
.facts { background: var(--dark); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 20px; display: flex; gap: 14px; align-items: center; border-left: 1px solid rgba(255, 255, 255, .08); }
.fact:first-child { border-left: 0; }
.fact__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(233, 201, 143, .14); color: var(--gold-300); flex: none; }
.fact strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; line-height: 1.3; }
.fact span { color: #cbbcae; font-size: .9rem; line-height: 1.4; display: block; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 12, 8, .05) 30%, rgba(20, 12, 8, .82)); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card__body { padding: 26px; }
.cat-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.cat-card p { color: #f1e6dc; margin: 0 0 12px; font-size: .98rem; line-height: 1.6; }
.cat-card__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 500; color: var(--gold-300); }
.cat-card:hover { color: #fff; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid--2 { grid-template-columns: repeat(2, minmax(0, 384px)); justify-content: center; }
.product { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product__media { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product__media img { transform: scale(1.04); }
.product__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.tag--red { background: var(--red); color: #fff; }
.tag .icon { width: 13px; height: 13px; }
.product__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product__name { margin: 0 0 2px; font-size: 1.22rem; }
.product__pack { color: var(--gold); font-weight: 600; font-size: .92rem; margin: 0 0 10px; }
.product__desc { color: var(--muted); font-size: .97rem; line-height: 1.65; margin: 0 0 18px; flex: 1; }
.product__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { margin: 0; line-height: 1.15; }
.price__amount { font-family: var(--font-head); font-weight: 600; font-size: 1.75rem; color: var(--red); }
.price__unit { color: var(--muted); font-size: .92rem; margin-left: 4px; }
.price__each { display: block; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.product .btn { flex: none; }
.img-note { margin: 18px 0 0; color: var(--muted); font-size: .86rem; text-align: center; }

/* ---------- Tabs / filter ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 36px; }
.tab { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 9px 18px; font-family: var(--font-head); font-size: .98rem; min-height: 44px; transition: all .2s; }
.tab:hover { border-color: var(--gold-300); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-cat { scroll-margin-top: calc(var(--header-h) + 24px); }
.menu-cat:not([hidden]) ~ .menu-cat:not([hidden]) { margin-top: 64px; }
.menu-cat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.menu-cat__head h2 { margin: 0; }
.menu-cat__head p { margin: 0; color: var(--muted); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.feature__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 16px; }
.feature__icon .icon { width: 26px; height: 26px; }
.feature:nth-child(3n+2) .feature__icon { background: #fbeed3; color: #8a5a12; }
.feature:nth-child(3n+3) .feature__icon { background: var(--green-50); color: var(--green); }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.7; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step__num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: #fff; background: var(--red); margin-bottom: 14px; box-shadow: 0 10px 20px -10px rgba(184, 50, 42, .7); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.7; }
.section--dark .step { background: var(--dark-2); border-color: rgba(255, 255, 255, .08); }
.section--dark .step p { color: #cdbfb3; }

/* ---------- Segments (customers) ---------- */
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.segment { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.segment__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--cream); color: var(--red); display: grid; place-items: center; flex: none; }
.segment__icon .icon { width: 24px; height: 24px; }
.segment h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.segment p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media .badge-float { position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 280px; }
.badge-float strong { display: block; font-family: var(--font-head); color: var(--ink); font-weight: 500; line-height: 1.3; }
.badge-float span { color: var(--muted); font-size: .86rem; line-height: 1.4; display: block; }
.badge-float .fact__icon { background: var(--red-50); color: var(--red); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--green); margin-top: 5px; stroke-width: 3; width: 18px; height: 18px; }

/* ---------- Info table ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .98rem; }
.info-table th, .info-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th { width: 38%; color: var(--muted); font-weight: 500; background: #fffaf2; }
.info-table td { color: var(--ink); font-weight: 500; }
.info-table .num { font-family: var(--font-head); letter-spacing: .05em; color: var(--red); font-size: 1.1rem; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--green); }
.status-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }

.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table caption { text-align: left; color: var(--muted); padding: 0 0 10px; font-size: .92rem; }
.price-table th, .price-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.price-table tbody tr:nth-child(even) { background: #fffaf2; }
.price-table td.r, .price-table th.r { text-align: right; white-space: nowrap; }
.price-table .price-cell { font-family: var(--font-head); color: var(--red); font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px dashed var(--gold-300); display: grid; gap: 26px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 4px solid var(--bg); box-shadow: 0 0 0 2px var(--red); }
.timeline time, .timeline .when { font-family: var(--font-head); color: var(--red); font-weight: 500; display: block; }
.timeline h3 { margin: 2px 0 4px; font-size: 1.12rem; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-300); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--font-head); font-weight: 500; color: var(--ink); position: relative; font-size: 1.06rem; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8322a' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 8px; }
.contact-card__icon--line { background: #e6f9ee; color: var(--line-green-600); }
.contact-card__icon--phone { background: var(--red-50); color: var(--red); }
.contact-card__icon--mail { background: #fbeed3; color: #8a5a12; }
.contact-card__icon .icon { width: 26px; height: 26px; }
.contact-card h3 { margin: 0; font-size: 1.1rem; }
.contact-card .value { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); font-weight: 500; word-break: break-word; line-height: 1.35; }
.contact-card .value--sm { font-size: 1.02rem; }
.contact-card p { margin: 0 0 8px; color: var(--muted); font-size: .94rem; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.copy-btn:hover { border-color: var(--gold-300); background: var(--cream); }
.copy-btn .icon { width: 16px; height: 16px; }

.map-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 28px; }
.map-info { padding: 32px; }
.map-info address { font-style: normal; font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }
.map-info dl { margin: 0; display: grid; gap: 10px; }
.map-info dt { color: var(--muted); font-size: .88rem; }
.map-info dd { margin: 0; color: var(--ink); font-weight: 500; }
.map-frame { position: relative; min-height: 360px; background: linear-gradient(135deg, #f3e7d3, #efe0c8); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background:
    linear-gradient(rgba(255, 251, 245, .55), rgba(255, 251, 245, .55)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(196, 134, 43, .18) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(196, 134, 43, .18) 38px 39px),
    linear-gradient(135deg, #f6ead6, #efdcbd); }
.map-facade__pin { width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--shadow); }
.map-facade__pin .icon { transform: rotate(45deg); color: #fff; width: 28px; height: 28px; }
.map-facade p { margin: 0 0 14px; color: var(--ink); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--red) 0%, #8f241e 100%); color: #fff; border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 10px, rgba(255, 255, 255, .08) 10px 11px); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #ffe6df; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 36px 0 56px; background:
  radial-gradient(700px 380px at 92% 0%, rgba(233, 201, 143, .42), transparent 60%), var(--bg); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero__grid--solo { grid-template-columns: 1fr; max-width: 860px; }
.page-hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.page-hero .lead { margin-bottom: 22px; }
.breadcrumb { margin: 0 0 22px; font-size: .9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--gold); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); text-decoration: underline; }
.mini-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--ink); font-weight: 500; font-size: .95rem; }
.mini-trust li { display: inline-flex; align-items: center; gap: 8px; }
.mini-trust .icon { color: var(--green); width: 18px; height: 18px; stroke-width: 3; }

/* ---------- Prose (policies, articles) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.8em; padding-top: .2em; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose .meta { color: var(--muted); font-size: .95rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream); color: var(--ink); font-weight: 600; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 32px; }
.toc p { font-family: var(--font-head); color: var(--ink); margin: 0 0 8px; font-weight: 500; }
.toc ol { margin: 0; }
.note { border-left: 4px solid var(--gold); background: #fff8ea; padding: 14px 18px; border-radius: 0 12px 12px 0; color: var(--ink-2); margin: 0 0 1.4em; }
.howto { counter-reset: how; list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.howto li { position: relative; padding: 14px 16px 14px 60px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.howto li::before { counter-increment: how; content: counter(how); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--red-50); color: var(--red); font-family: var(--font-head); font-weight: 600; display: grid; place-items: center; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.panel h3 { margin-top: 0; }
.ship-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ship-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: #fffaf2; border: 1px solid var(--line); }
.ship-list .fact__icon { background: var(--red-50); color: var(--red); width: 42px; height: 42px; }
.ship-list strong { display: block; font-family: var(--font-head); font-weight: 500; }
.ship-list span { color: var(--muted); font-size: .94rem; line-height: 1.55; display: block; }
.ship-list .fee { font-family: var(--font-head); color: var(--red); font-weight: 600; margin-left: auto; white-space: nowrap; }

/* ---------- Thank you ---------- */
.result { max-width: 680px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px 32px; box-shadow: var(--shadow); }
.result__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.result__icon .icon { width: 40px; height: 40px; stroke-width: 2.6; }
.result--ok .result__icon { background: var(--green-50); color: var(--green); }
.result--fail .result__icon { background: var(--red-50); color: var(--red); }
.result--wait .result__icon { background: #fbeed3; color: #8a5a12; }
.result__order { display: inline-block; font-family: var(--font-head); background: var(--cream); color: var(--ink); padding: 6px 16px; border-radius: 999px; margin: 0 0 18px; }
.result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cdbfb3; padding: 72px 0 0; font-size: .97rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand { margin-bottom: 16px; }
.footer__title { color: #fff; font-size: 1.05rem; margin: 0 0 14px; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e9ddd2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { margin: 16px 0 0; display: grid; gap: 10px; font-size: .9rem; }
.footer__legal div { display: grid; }
.footer__legal dt { color: #a8978a; font-size: .82rem; }
.footer__legal dd { margin: 0; color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--gold-300); margin-top: 5px; width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding: 22px 20px 26px; font-size: .88rem; color: #a8978a; }
.footer__bottom p { margin: 0; }
.footer-cookie { background: none; border: 0; padding: 0; color: #e9ddd2; text-decoration: none; font-size: inherit; }
.footer-cookie:hover { color: #fff; text-decoration: underline; }
.paybadges { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.paybadge { height: 30px; min-width: 50px; padding: 0 10px; border-radius: 6px; background: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: .8rem; letter-spacing: .02em; color: #1a1f71; font-family: Arial, Helvetica, sans-serif; }
.paybadge--visa { font-style: italic; font-size: .95rem; color: #1a1f71; }
.paybadge--mc { gap: 0; padding: 0 8px; }
.paybadge--mc span { display: block; width: 16px; height: 16px; border-radius: 50%; }
.paybadge--mc span:first-child { background: #eb001b; }
.paybadge--mc span:last-child { background: #f79e1b; margin-left: -6px; mix-blend-mode: multiply; }
.paybadge--mc { display: inline-flex; align-items: center; justify-content: center; }
.paybadge--jcb { color: #0b4ea2; }
.paybadge--lock { background: rgba(255, 255, 255, .08); color: #e9ddd2; font-weight: 600; font-family: var(--font-body); gap: 6px; display: inline-flex; align-items: center; }
.paybadge--lock .icon { width: 14px; height: 14px; }

/* ---------- Floating actions ---------- */
.fab-line { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: var(--line-green); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 500; padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 16px 30px -12px rgba(6, 199, 85, .7); transition: transform .2s, background .2s; }
.fab-line:hover { color: #fff; background: var(--line-green-600); transform: translateY(-2px); }
.fab-line svg { width: 30px; height: 30px; }
.mobilebar { display: none; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 60; max-width: 430px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: .93rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 12px; line-height: 1.6; }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { min-height: 42px; padding: 8px 16px; font-size: .92rem; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 2000; box-shadow: var(--shadow); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Order dialog (ซื้อ / ติดต่อ)
   ========================================================= */
.od { padding: 0; border: 0; background: transparent; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; overflow: visible; color: var(--ink-2); }
.od__title:focus { outline: none; }
.fieldset-reset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset-reset[disabled] .field, .fieldset-reset[disabled] .check { opacity: .55; }
.ship-opt.is-checked { border-color: var(--red); background: #fff8f6; }
.od::backdrop { background: rgba(30, 18, 12, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.od[open] { animation: od-in .28s ease-out; }
@keyframes od-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.od__panel { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: hidden; }
.od__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.od__head-text { flex: 1; min-width: 0; }
.od__eyebrow { margin: 0; font-size: .82rem; color: var(--muted); }
.od__title { margin: 0; font-size: 1.22rem; line-height: 1.35; }
.od__iconbtn { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); }
.od__iconbtn:hover { background: var(--cream); }
.od__iconbtn .icon { width: 20px; height: 20px; }
.od__progress { display: flex; gap: 8px; padding: 12px 20px 0; }
.od__progress span { flex: 1; font-size: .8rem; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.od__progress span.is-on { color: var(--red); border-top-color: var(--red); font-weight: 600; }
.od__body { padding: 18px 20px 22px; overflow-y: auto; overscroll-behavior: contain; }
.od-step[hidden] { display: none; }
.od-prod { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fffaf2; }
.od-prod img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: none; }
.od-prod__name { margin: 0; font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 1.08rem; line-height: 1.35; }
.od-prod__pack { margin: 0; color: var(--muted); font-size: .9rem; }
.od-prod__price { margin: 2px 0 0; font-family: var(--font-head); color: var(--red); font-weight: 600; font-size: 1.15rem; }
.od-qtyrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0 6px; }
.od-qtyrow label { font-weight: 600; color: var(--ink); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: transparent; font-size: 1.3rem; color: var(--ink); line-height: 1; }
.qty button:hover { background: var(--cream); }
.qty input { width: 52px; height: 42px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; height: 34px; font-size: 1.1rem; }
.qty--sm input { width: 40px; height: 34px; font-size: .95rem; }
.od-sub { display: flex; justify-content: space-between; color: var(--muted); margin: 6px 0 18px; }
.od-sub strong { color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.od-q { font-family: var(--font-head); color: var(--ink); font-weight: 500; margin: 0 0 10px; }
.od-options { display: grid; gap: 10px; }
.od-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.od-opt:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.od-opt__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--red-50); color: var(--red); }
.od-opt__icon--line { background: #e6f9ee; color: var(--line-green-600); }
.od-opt__icon .icon { width: 24px; height: 24px; }
.od-opt__text { flex: 1; display: flex; flex-direction: column; }
.od-opt__text strong { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; }
.od-opt__text small { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.od-opt > .icon { color: var(--muted); }
.od-cards { display: flex; gap: 6px; margin-top: 6px; }
.od-cards .paybadge { height: 22px; min-width: 38px; font-size: .66rem; padding: 0 6px; border: 1px solid var(--line); }
.od-cards .paybadge--mc span { width: 12px; height: 12px; }

.od-h { font-family: var(--font-head); font-size: 1rem; color: var(--ink); font-weight: 500; margin: 18px 0 10px; }
.od-h:first-child { margin-top: 0; }
.od-items { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 8px; }
.od-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.od-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.od-item__name { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.od-item__meta { margin: 0; color: var(--muted); font-size: .84rem; }
.od-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.od-item__total { font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.od-item__ctrl { display: flex; align-items: center; gap: 6px; }
.od-remove { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center; }
.od-remove:hover { color: var(--red); border-color: var(--red); }
.od-remove .icon { width: 16px; height: 16px; }

.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label, .field .label { font-weight: 600; color: var(--ink); font-size: .94rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 84px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 134, 43, .18); }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(184, 50, 42, .12); }
.field__err { color: var(--red); font-size: .85rem; margin: 0; min-height: 0; }
.field__err:empty { display: none; }
.field__hint { color: var(--muted); font-size: .84rem; margin: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.ship-opts { display: grid; gap: 8px; margin-bottom: 6px; border: 0; padding: 0; margin-inline: 0; }
.ship-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.ship-opt:has(input:checked) { border-color: var(--red); background: #fff8f6; }
.ship-opt input { margin-top: 5px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.ship-opt__text { flex: 1; }
.ship-opt__text strong { display: block; color: var(--ink); font-weight: 600; font-size: .96rem; }
.ship-opt__text small { color: var(--muted); font-size: .84rem; line-height: 1.45; display: block; }
.ship-opt__fee { font-family: var(--font-head); font-weight: 600; color: var(--ink); white-space: nowrap; }

.od-totals { background: #fffaf2; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 14px 0 16px; display: grid; gap: 6px; }
.od-totals div { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.od-totals .grand { border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 2px; color: var(--ink); font-weight: 700; }
.od-totals .grand span:last-child { font-family: var(--font-head); color: var(--red); font-size: 1.35rem; font-weight: 600; }
.od-totals .free { color: var(--green); font-weight: 600; }
.od-alt { text-align: center; color: var(--muted); font-size: .92rem; margin: 12px 0 0; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: .92rem; line-height: 1.6; margin-bottom: 14px; }
.notice .icon { margin-top: 2px; flex: none; }
.notice p { margin: 0; }
.notice--warn { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid #f3d9a0; }
.notice--info { background: #eef5ff; color: #1f4b84; border: 1px solid #cfe0fb; }
.notice--ok { background: var(--green-50); color: #1f5a40; border: 1px solid #bfe3cf; }
.notice .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.notice .btn { min-height: 40px; padding: 6px 14px; font-size: .9rem; }

.cc-visual { position: relative; aspect-ratio: 1.586; max-width: 340px; margin: 0 auto 18px; border-radius: 18px; padding: 20px 22px; color: #fff; overflow: hidden; background: linear-gradient(135deg, #3a2a22 0%, #6e2a22 55%, #b8322a 100%); box-shadow: 0 22px 40px -18px rgba(110, 42, 34, .7); font-family: "Courier New", ui-monospace, monospace; display: flex; flex-direction: column; justify-content: space-between; }
.cc-visual::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 9px, rgba(255, 255, 255, .07) 9px 10px); }
.cc-visual__top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.cc-chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #f3d58f, #c4862b); position: relative; }
.cc-chip::after { content: ""; position: absolute; inset: 7px 9px; border: 1.5px solid rgba(90, 55, 10, .35); border-radius: 4px; }
.cc-brand { font-family: Arial, Helvetica, sans-serif; font-weight: 800; font-style: italic; letter-spacing: .04em; font-size: 1.1rem; min-height: 1.4em; }
.cc-number { font-size: clamp(1.02rem, 4.6vw, 1.32rem); letter-spacing: .1em; position: relative; white-space: nowrap; }
.cc-bottom { display: flex; justify-content: space-between; gap: 12px; position: relative; font-size: .82rem; text-transform: uppercase; }
.cc-bottom small { display: block; font-size: .6rem; opacity: .7; letter-spacing: .08em; font-family: var(--font-body); }
.cc-name { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-input { position: relative; }
.cc-input .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.6; margin: 6px 0 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex: none; }
.secure-note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .84rem; line-height: 1.6; margin: 14px 0 0; }
.secure-note .icon { color: var(--green); flex: none; margin-top: 2px; }
.od-ordertext { background: #fffaf2; border: 1px dashed var(--gold-300); border-radius: 14px; padding: 14px; margin: 0 0 12px; font-size: .9rem; white-space: pre-wrap; line-height: 1.6; color: var(--ink); max-height: 220px; overflow: auto; font-family: var(--font-body); }
.od-contact { display: grid; gap: 10px; margin-top: 4px; }
.od-contact .btn { justify-content: flex-start; padding-left: 18px; }
.od-contact .btn span.sub { margin-left: auto; font-family: var(--font-body); font-weight: 600; font-size: .86rem; opacity: .9; }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--cream-2); border-top-color: var(--red); animation: spin 1s linear infinite; margin: 20px auto 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
.od-center { text-align: center; padding: 10px 0; }
.test-badge { display: inline-flex; align-items: center; gap: 6px; background: #eef5ff; color: #1f4b84; font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list a { padding: 8px 9px; font-size: .94rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: inline-block; }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); background: #fffbf5; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(60, 30, 10, .35); padding: 10px 20px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 13px 14px; font-size: 1.05rem; border-radius: 12px; }
  .hero__grid, .page-hero__grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 36px; }
  .hero__visual { min-height: 0; display: grid; gap: 16px; }
  .hero__photo { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero .company-card { position: relative; left: auto; bottom: auto; max-width: none; margin: -70px 16px 0; }
  .hero__circle { width: 120px; height: 120px; right: 10px; top: -18px; }
  .price-chip { left: 16px; right: auto; bottom: auto; top: 16px; }
  .cat-grid, .product-grid, .feature-grid, .segment-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact { border-top: 1px solid rgba(255, 255, 255, .08); }
  .map-wrap { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 36px 28px; }
  .cta-band__actions { justify-content: flex-start; }
  .two-col { grid-template-columns: 1fr; }
  .split__media .badge-float { left: 12px; }
  .page-hero__media { order: -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .topbar__legal { display: none !important; }
  .topbar__inner { justify-content: center; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.12rem; }
  .brand__tag { font-size: .6rem; }
  .header__actions .btn { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .cat-grid, .product-grid, .feature-grid, .segment-grid, .contact-grid, .steps { grid-template-columns: 1fr; }
  .cat-card { min-height: 300px; }
  .facts__grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding: 18px 4px; }
  .product__foot { flex-wrap: wrap; }
  .product__foot .btn { flex: 1 1 auto; }
  .company-card__no { font-size: 1.45rem; }
  .hero .company-card { margin: -56px 10px 0; padding: 18px; }
  .info-table th { width: 42%; }
  .info-table th, .info-table td { padding: 12px 14px; }
  .map-info { padding: 24px; }
  .result { padding: 36px 20px; }
  .fab-line { display: none; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 251, 245, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(60, 30, 10, .4); }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink); background: #fff; border: 1px solid var(--line); }
  .mobilebar a .icon { width: 20px; height: 20px; }
  .mobilebar .mb-line { background: var(--line-green); border-color: var(--line-green); color: #fff; }
  .mobilebar .mb-buy { background: var(--red); border-color: var(--red); color: #fff; }
  .site-footer { padding-bottom: 76px; padding-top: 52px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cookie { left: 10px; right: 10px; bottom: 82px; max-width: none; }
  .toast { bottom: 150px; }
  .od { width: 100vw; max-width: 100vw; max-height: 100vh; max-height: 100dvh; margin: auto 0 0; }
  .od__panel { border-radius: 22px 22px 0 0; max-height: 94vh; max-height: 94dvh; }
  .od[open] { animation: od-up .3s ease-out; }
}
@media (max-width: 480px) {
  .row2:not(.row2--keep) { grid-template-columns: 1fr; gap: 0; }
  .od__body { padding: 16px 16px 20px; }
  .od__head { padding: 14px 16px 12px; }
  .cc-visual { padding: 16px 18px; }
}
@keyframes od-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .site-header, .fab-line, .mobilebar, .cookie, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; }
}
