/* บริษัท กรอบดี แคบหมู จำกัด — สไตล์ชีตหลัก
   แนวคิด: กระทะเหล็กดำกับน้ำมันร้อน ภาพหลักอยู่ในกระทะทรงกลม ภาพสินค้าอยู่ในกระทะใบเล็ก
   และฟองน้ำมันเป็นเครื่องหมายใต้หัวข้อ
   สี: ดำกระทะ เหลืองอำพันของน้ำมันทอด ครีมของมันหมู */

:root {
  --wok: #1b1613;           /* ดำกระทะ */
  --soot: #2a221c;
  --rim: #0c0907;           /* ขอบกระทะ */
  --oil: #f6a821;           /* อำพันน้ำมันทอด */
  --oil-hot: #ffd166;
  --oil-deep: #8a4b00;      /* น้ำตาลอำพัน: ลิงก์บนพื้นสว่าง */
  --lard: #fdf4e0;          /* ครีมมันหมู: พื้นหลัก */
  --white: #ffffff;
  --ink: #1b1613;
  --muted: #6a5a4b;
  --rule: #ecdcc0;
  --smoke: #cdbfae;         /* ตัวหนังสือรองบนพื้นดำ */

  --display: "Kanit", "Athiti", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  --body: "Athiti", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;

  --s--1: 0.9rem;
  --s-0: 1rem;
  --s-1: 1.2rem;
  --s-2: 1.5rem;
  --s-3: 1.9rem;
  --s-4: 2.4rem;
  --s-5: 3.3rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --wrap: 72rem;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 112%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0; background: var(--lard); color: var(--ink);
  font-family: var(--body); font-weight: 500; font-size: var(--s-0); line-height: 1.75;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--oil-deep); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--oil); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.35; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(var(--s-4), 5.2vw, var(--s-5)); line-height: 1.25; }
h2 { font-weight: 700; font-size: clamp(var(--s-3), 3.2vw, var(--s-4)); }
h3 { font-weight: 500; font-size: var(--s-1); line-height: 1.45; }

p { margin: 0 0 1em; max-width: 40em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 700; }
.nw { white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 0; background: var(--oil); color: var(--ink); padding: 0.6em 1em; z-index: 60; }
.skip:focus { left: 0; }

/* พื้นน้ำมันทอดมีฟอง: ใช้เป็นพื้นสำรองเมื่อภาพโหลดไม่ขึ้น */
.oilbg {
  background:
    radial-gradient(circle at 22% 28%, rgba(255,241,200,.9) 0 5%, transparent 5.6%),
    radial-gradient(circle at 68% 22%, rgba(255,231,160,.75) 0 8%, transparent 8.6%),
    radial-gradient(circle at 80% 66%, rgba(255,241,200,.85) 0 4%, transparent 4.6%),
    radial-gradient(circle at 38% 72%, rgba(255,231,160,.7) 0 11%, transparent 11.6%),
    radial-gradient(circle at 55% 45%, rgba(255,241,200,.8) 0 3%, transparent 3.6%),
    linear-gradient(140deg, #f9b938, #d98206);
}

/* ฟองน้ำมันสามฟองใต้หัวข้อ */
.bub { display: flex; align-items: flex-end; gap: 0.32rem; margin-top: 0.85rem; }
.bub i { display: block; border-radius: 50%; background: var(--oil); }
.bub i:nth-child(1) { width: 0.95rem; height: 0.95rem; }
.bub i:nth-child(2) { width: 0.62rem; height: 0.62rem; background: transparent; border: 2px solid var(--oil); }
.bub i:nth-child(3) { width: 0.36rem; height: 0.36rem; }
.band--oil .bub i { background: var(--ink); }
.band--oil .bub i:nth-child(2) { background: transparent; border-color: var(--ink); }

/* ---------- ส่วนหัว ---------- */
.site-head { background: var(--wok); color: var(--lard); border-bottom: 3px solid var(--oil); position: sticky; top: 0; z-index: 30; }
.site-head__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--lard); text-decoration: none; }
.brand:hover { color: var(--lard); }
.brand svg { width: 2.7rem; height: 2.7rem; flex: none; }
.brand__name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--oil); }
.brand__legal { display: block; font-size: 0.8rem; color: var(--smoke); line-height: 1.3; }

.nav ul { list-style: none; display: flex; gap: 0.15rem; }
.nav a {
  display: block; padding: 0.4em 0.8em; border-radius: 999px;
  color: var(--lard); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.nav a:hover { background: var(--soot); color: var(--oil-hot); }
.nav a[aria-current="page"] { background: var(--oil); color: var(--ink); }

.nav-toggle {
  display: none; font: inherit; font-weight: 700; cursor: pointer;
  background: transparent; color: var(--oil); border: 2px solid var(--oil); border-radius: 999px; padding: 0.25em 1.1em;
}
@media (max-width: 68rem) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--wok); border-bottom: 3px solid var(--oil); padding: 0.6rem var(--gutter) 1rem; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0.3rem; }
  .nav a { padding: 0.65em 1.1em; }
}
@media (max-width: 34rem) { .brand__legal { display: none; } }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 500; font-size: 1.05rem; line-height: 1.4;
  padding: 0.7em 1.5em; border-radius: 999px; cursor: pointer; text-decoration: none;
  background: var(--oil); color: var(--ink); border: 2px solid var(--oil);
}
.btn:hover { background: var(--oil-hot); border-color: var(--oil-hot); color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--lard); }
.btn--dark:hover { background: var(--soot); border-color: var(--soot); color: var(--oil-hot); }
.btn--line { background: transparent; border-color: currentColor; color: var(--lard); }
.btn--line:hover { background: var(--lard); border-color: var(--lard); color: var(--ink); }
.btn--ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--lard); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; list-style: none; }
.pills li { border: 1.5px solid rgba(246,168,33,.6); border-radius: 999px; padding: 0.25em 1em; font-size: 0.95rem; color: var(--lard); }
.pills a { color: var(--oil-hot); font-weight: 700; text-decoration: none; white-space: nowrap; }
.pills a:hover { text-decoration: underline; }

/* ---------- แบนเนอร์หน้าแรก: กระทะใบใหญ่ ---------- */
.hero { position: relative; overflow: hidden; background: var(--wok); color: var(--lard); padding: clamp(2.4rem, 6vw, 4.6rem) 0 clamp(2.8rem, 7vw, 5rem); }
.hero::before { content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 70%; background: radial-gradient(closest-side, rgba(246,168,33,.2), transparent); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(2.2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; }
@media (max-width: 56rem) { .hero__grid { grid-template-columns: 1fr; } }
.hero__place { font-family: var(--display); font-weight: 500; color: var(--oil); letter-spacing: 0.04em; margin-bottom: 0.7rem; }
.hero__lead { font-size: var(--s-1); line-height: 1.75; color: var(--smoke); margin-top: 1.2rem; max-width: 32em; }

.wok { position: relative; width: min(100% - 4.6rem, 27rem); aspect-ratio: 1; margin-inline: auto; }
.wok::before, .wok::after {                 /* หูกระทะสองข้าง */
  content: ""; position: absolute; top: 50%; width: 2.9rem; height: 5.6rem; transform: translateY(-50%);
  border: 0.62rem solid var(--rim); border-radius: 1.4rem; box-shadow: 0 0 0 2px #4b3e35;
}
.wok::before { left: -2.1rem; }
.wok::after { right: -2.1rem; }
.wok__pan {
  position: absolute; inset: 0; z-index: 1; border-radius: 50%; overflow: hidden;
  border: 1.05rem solid var(--rim);
  box-shadow: 0 0 0 3px #5a4a3f, 0 0 0 8px var(--rim), 0 1.8rem 4.5rem rgba(246,168,33,.3);
}
.wok__pan img { width: 100%; height: 100%; object-fit: cover; }
.wok__pan::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 3.2rem rgba(0,0,0,.6); pointer-events: none; }
.hero__credit { display: block; text-align: center; margin-top: 1.5rem; font-size: 0.74rem; color: #a99a89; }
.hero__credit a { color: inherit; }

.fizz { position: absolute; inset: 0; pointer-events: none; }
.fizz i { position: absolute; border: 2px solid var(--oil); border-radius: 50%; opacity: 0.5; }
.fizz i:nth-child(1) { width: 1.6rem; height: 1.6rem; left: 0.6%; top: 7%; }
.fizz i:nth-child(2) { width: 0.7rem; height: 0.7rem; left: 1.8%; top: 46%; background: var(--oil); }
.fizz i:nth-child(3) { width: 2.6rem; height: 2.6rem; right: 3%; top: 8%; }
.fizz i:nth-child(4) { width: 1rem; height: 1rem; right: 9%; bottom: 14%; background: var(--oil); }
.fizz i:nth-child(5) { width: 1.9rem; height: 1.9rem; left: 46%; bottom: 6%; }
.fizz i:nth-child(6) { width: 0.6rem; height: 0.6rem; left: 52%; top: 9%; background: var(--oil); }
@media (max-width: 56rem) { .fizz i:nth-child(1), .fizz i:nth-child(2), .fizz i:nth-child(3), .fizz i:nth-child(6) { display: none; } }

/* ---------- แบนเนอร์หน้าใน ---------- */
.page-head { position: relative; overflow: hidden; background: var(--wok); color: var(--lard); }
.page-head__media { position: absolute; right: 0; top: 0; bottom: 0; width: 56%; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wok) 0%, rgba(27,22,19,.55) 45%, rgba(27,22,19,.15) 100%); }
@media (max-width: 54rem) {
  .page-head__media { width: 100%; }
  .page-head__media::after { background: rgba(27,22,19,.8); }
}
.page-head__body { position: relative; z-index: 1; padding: clamp(2.6rem, 7vw, 4.8rem) 0; max-width: 36rem; }
.page-head__body h1 { font-size: clamp(var(--s-3), 4.4vw, 3rem); }
.page-head__body p { font-size: var(--s-1); line-height: 1.75; margin-top: 1.1rem; color: var(--smoke); }
.page-head--plain .page-head__body { max-width: 44rem; }
.page-head__credit { position: absolute; z-index: 1; right: 0.9rem; bottom: 0.5rem; font-size: 0.72rem; color: #e8dccb; text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.page-head__credit a { color: inherit; }

/* ---------- ส่วนเนื้อหา ---------- */
.band { padding: clamp(3rem, 7vw, 5.2rem) 0; }
.band--white { background: var(--white); }
.band--dark { background: var(--wok); color: var(--lard); }
.band--dark p { color: var(--smoke); }
.band--dark a { color: var(--oil-hot); }
.band--oil { background: var(--oil); color: var(--ink); }
.band--oil a { color: var(--ink); }
.band--oil .btn--dark, .band--oil .btn--ink:hover { color: var(--lard); }
.band--oil .btn--dark:hover { color: var(--oil-hot); }
.band--dark .btn { color: var(--ink); }

.band__head { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); max-width: 44rem; }
.band__head p { margin-top: 1rem; color: var(--muted); font-size: var(--s-1); line-height: 1.7; }
.band--dark .band__head p { color: var(--smoke); }
.lead-gap { margin-top: 1.5rem; }

.split { display: grid; gap: clamp(1.8rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }
.split--top { align-items: start; }
.split--flip { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 54rem) { .split, .split--flip { grid-template-columns: 1fr; } }

/* ---------- ภาพถ่าย ---------- */
.photo { margin: 0; }
.photo__frame { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.photo--tall .photo__frame { aspect-ratio: 4 / 5; }
.photo--round { width: min(100%, 17rem); margin-inline: auto; }
.photo--round .photo__frame { aspect-ratio: 1; border-radius: 50%; border: 0.6rem solid var(--rim); box-shadow: 0 0 0 2px #5a4a3f, 0 0.9rem 1.8rem rgba(27,22,19,.25); }
.photo--round figcaption { text-align: center; }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 0.5rem; }
.photo figcaption a { color: inherit; }
.band--dark .photo figcaption { color: #a99a89; }
img.is-missing { visibility: hidden; }

/* ---------- สินค้า: กระทะใบเล็กสามใบ ---------- */
.pans { list-style: none; display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 54rem) { .pans { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }
.pans li { text-align: center; }
.pans h3 { font-weight: 700; font-size: var(--s-2); margin-top: 1rem; }
.pans p { color: var(--muted); margin: 0.4rem auto 0; max-width: 22em; }
.pans .more { display: inline-block; margin-top: 0.6rem; font-weight: 700; }

/* ---------- ขั้นตอนแนวตั้ง (บนพื้นดำ) ---------- */
.steps { list-style: none; counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 0 1rem; padding: 1rem 0; border-top: 1px dashed rgba(253,244,224,.3); }
.steps li:last-child { border-bottom: 1px dashed rgba(253,244,224,.3); }
.steps li::before { content: counter(st); grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: var(--s-4); line-height: 1; color: var(--oil); }
.steps h3 { color: var(--lard); }
.steps p { margin-top: 0.2rem; }

/* ---------- ขั้นตอนแนวนอน: เลขอยู่ในฟองน้ำมัน ---------- */
.flow { list-style: none; counter-reset: fl; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow li { counter-increment: fl; }
.flow li::before {
  content: counter(fl); display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%;
  background: var(--oil); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: var(--s-2); margin-bottom: 0.8rem;
}
.flow p { margin-top: 0.3rem; }
@media (max-width: 58rem) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 32rem) { .flow { grid-template-columns: 1fr; } }

/* ---------- กินกับอะไร ---------- */
.pairs { list-style: none; display: grid; gap: 1.3rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.6rem; }
@media (max-width: 34rem) { .pairs { grid-template-columns: 1fr; } }
.pairs li { position: relative; padding-left: 1.5rem; }
.pairs li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--oil); }
.pairs p { margin-top: 0.2rem; color: var(--muted); }

/* ---------- การ์ดเรียงแถว ---------- */
.ways { list-style: none; display: grid; gap: 1.2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ways--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 62rem) { .ways, .ways--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .ways, .ways--3 { grid-template-columns: 1fr; } }
.ways li { background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.5rem; border-bottom: 5px solid var(--oil); }
.band--white .ways li { background: var(--lard); }
.ways p { margin-top: 0.4rem; color: var(--muted); }
.note { margin-top: 1.8rem; font-size: 0.95rem; color: var(--muted); }
.band--dark .note { color: #a99a89; }

/* ---------- รายการหัวข้อ-คำอธิบาย ---------- */
.deflist { margin: 0; }
.deflist div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 0.3rem 1.8rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.deflist div:last-child { border-bottom: 1px solid var(--rule); }
.deflist dt { font-family: var(--display); font-weight: 500; font-size: 1.12rem; line-height: 1.5; }
.deflist dd { margin: 0; color: var(--muted); max-width: 40em; }
@media (max-width: 46rem) { .deflist div { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin-top: 0.7rem; }
.ticks li { position: relative; padding-left: 1.5rem; margin-top: 0.35rem; max-width: 38em; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 2.5px solid var(--oil); }

/* ---------- รายละเอียดสินค้า (หน้าสินค้าและบริการ) ---------- */
.item { padding: clamp(2.2rem, 5vw, 3.4rem) 0; border-top: 1px solid var(--rule); }
.item:first-of-type { border-top: 0; padding-top: 0; }
.item:last-of-type { padding-bottom: 0; }
.item h3 { font-weight: 700; font-size: clamp(var(--s-2), 2.6vw, var(--s-3)); }
.item h4 { font-family: var(--display); font-weight: 500; font-size: 1.08rem; margin: 1.3rem 0 0; }
.item p { margin-top: 0.8rem; }
.item:nth-of-type(even) .split > .photo { order: -1; }
@media (max-width: 54rem) { .item .split > .photo { order: -1; } }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq { max-width: 50rem; }
.faq details { background: var(--white); border-radius: var(--radius); margin-top: 0.7rem; }
.band--white .faq details { background: var(--lard); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--display); font-weight: 500; font-size: 1.12rem; line-height: 1.5;
  padding: 0.95rem 3.6rem 0.95rem 1.3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--oil); color: var(--ink); font-size: 1.4rem; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* ---------- ช่องติดต่อท้ายหน้า ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
@media (max-width: 54rem) { .cta { grid-template-columns: 1fr; } }
.cta__card { background: var(--wok); color: var(--lard); border-radius: var(--radius); padding: 0.5rem 1.6rem; }
.cta__card div { padding: 0.9rem 0; border-top: 1px dashed rgba(253,244,224,.3); }
.cta__card div:first-child { border-top: 0; }
.cta__card small { display: block; font-size: var(--s--1); color: #a99a89; }
.cta__card b, .band--oil .cta__card a { font-family: var(--display); font-weight: 500; font-size: 1.2rem; line-height: 1.5; color: var(--oil-hot); text-decoration: none; }
.cta__card b { color: var(--lard); }
.band--oil .cta__card a:hover { text-decoration: underline; }

/* ---------- ตารางข้อมูลบริษัท ---------- */
.spec { width: 100%; border-collapse: collapse; background: var(--lard); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 0.9em 1.2em; border-top: 1px solid var(--rule); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 0; }
.spec th { width: 13rem; font-weight: 500; color: var(--muted); }
.spec td { font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 40rem) {
  .spec th, .spec td { display: block; width: auto; }
  .spec td { border-top: 0; padding-top: 0; }
}

/* ---------- หน้าเนื้อหายาว (นโยบาย) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--s-2); font-weight: 500; margin-top: 2.6rem; }
.prose h2:first-of-type { margin-top: 1.5rem; }
.prose p, .prose ul { margin-top: 0.9rem; }
.prose ul { padding-left: 1.4rem; }
.prose li { margin-top: 0.35rem; max-width: 38em; }
.prose .meta { color: var(--muted); font-size: 0.95rem; margin-top: 0; }

/* ---------- หน้าติดต่อ ---------- */
.contact-list { margin: 1.8rem 0 0; }
.contact-list div { padding: 1rem 0; border-top: 1px solid var(--rule); }
.contact-list div:last-child { border-bottom: 1px solid var(--rule); }
.contact-list dt { color: var(--muted); font-size: var(--s--1); }
.contact-list dd { margin: 0.1rem 0 0; font-weight: 700; font-size: var(--s-1); line-height: 1.55; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.contact-list dd small { display: block; font-weight: 500; font-size: var(--s--1); color: var(--muted); }
.contact-list .big a { font-family: var(--display); font-weight: 800; font-size: var(--s-4); line-height: 1.25; color: var(--ink); white-space: nowrap; }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); border-top: 8px solid var(--oil); }
.form h2 { font-size: var(--s-2); }
.form > p { color: var(--muted); margin-top: 0.6rem; font-size: 0.97rem; }
.field { margin-top: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--lard);
  padding: 0.55em 0.85em; border: 1.5px solid #a08c76; border-radius: 10px;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--oil); outline-offset: 0; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 34rem) { .field-row { grid-template-columns: 1fr; } }
.form .btn { margin-top: 1.4rem; }
.form__hint { font-size: var(--s--1); color: var(--muted); margin-top: 0.8rem; }
.form__result { margin-top: 1.4rem; padding: 1.1rem 1.2rem 1.3rem; background: var(--lard); border-radius: 10px; border: 1.5px dashed var(--oil-deep); }
.form__result[hidden] { display: none; }
.form__result label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.form__result textarea { width: 100%; min-height: 9.5rem; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #a08c76; border-radius: 10px; padding: 0.55em 0.85em; }
.form__result .btn { margin-top: 0.9rem; }
.form__status { margin-top: 0.8rem; font-weight: 700; }

.map { background: var(--lard); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); }
.map iframe { display: block; width: 100%; height: clamp(18rem, 45vw, 26rem); border: 0; }
.map p { padding: 0.8rem 1.2rem; font-size: 0.95rem; max-width: none; }

/* ---------- ส่วนท้าย ---------- */
.site-foot { background: var(--wok); color: var(--smoke); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; font-size: 0.97rem; border-top: 3px solid var(--oil); }
.site-foot a { color: var(--lard); }
.site-foot a:hover { color: var(--oil-hot); }
.site-foot__grid { display: grid; gap: 2rem 3rem; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 54rem) { .site-foot__grid { grid-template-columns: 1fr; } }
.site-foot h2 { font-weight: 500; font-size: var(--s-1); color: var(--oil); margin-bottom: 0.7rem; }
.site-foot ul { list-style: none; }
.site-foot li { margin-top: 0.3rem; }
.site-foot address { font-style: normal; overflow-wrap: anywhere; }
.site-foot__base {
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(253,244,224,.18);
  display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; justify-content: space-between;
  font-size: var(--s--1); color: #a99a89;
}
.site-foot__base p { max-width: none; margin: 0; }

/* ---------- การเคลื่อนไหว: ฟองน้ำมันลอยขึ้นลงช้า ๆ ในแบนเนอร์หน้าแรก ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fizz i { animation: simmer 5s ease-in-out infinite; }
  .fizz i:nth-child(2n) { animation-duration: 3.6s; animation-delay: -1.2s; }
  .fizz i:nth-child(3n) { animation-duration: 6.4s; animation-delay: -2.5s; }
  @keyframes simmer { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  .site-head { position: static; }
  .nav, .nav-toggle, .btn-row, .map, .fizz { display: none; }
}
