/* Sourdough HuaHin — Artisan Bakery: ครีม น้ำตาลเข้ม ทอง (#b07e3c) ไม่มีสีแดง */
:root {
  --paper: #f7f1e7;
  --paper-2: #efe5d4;
  --card: #fbf8f2;
  --ink: #2b1f16;
  --ink-2: #5b4636;
  --gold: #b07e3c;        /* สีแบรนด์ ใช้เป็นเส้น/พื้น/ตัวใหญ่ */
  --gold-text: #87602a;   /* ทองสำหรับตัวหนังสือเล็กบนครีม (คอนทราสต์ผ่าน 4.5:1) */
  --gold-soft: #e9d6b4;
  --dark: #241a12;
  --dark-2: #33261b;
  --on-dark: #f3e9d8;
  --on-dark-2: #cbb89c;
  --gold-on-dark: #d9ad6c;
  --line: #e2d4bc;
  --ok: #3d6b45;
  --err: #8a4a12;
  --line-green: #06c755;
  --r: 14px;
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dock-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.7; font-weight: 400;
  padding-bottom: var(--dock-h);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(30px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--dark); color: var(--on-dark); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-lg { width: 30px; height: 30px; }

/* ---------- ปุ่ม ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.center .btn-row, .center-row { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1.4 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-dark:hover { background: var(--dark-2); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #c08d48; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #05b34c; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-text); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-soft); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold-text); }
.text-link .ic { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.text-link:hover .ic { transform: translateX(3px); }
.eyebrow { color: var(--gold-text); font-weight: 600; font-size: 15px; letter-spacing: .04em; margin-bottom: .6em; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; }

/* ---------- หัวเว็บ ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 241, 231, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 54px; height: auto; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: .01em; }
.nav { display: none; align-items: center; gap: 6px; }
.nav ul, .mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.nav ul { display: flex; gap: 2px; }
.nav a:not(.btn) { display: block; padding: 8px 12px; text-decoration: none; font-size: 15.5px; color: var(--ink-2); border-radius: 999px; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); border-radius: 12px; cursor: pointer; }
.menu-btn .ic { width: 26px; height: 26px; }
.menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: inline; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px 16px 20px; background: var(--paper); }
.mobile-menu a:not(.btn) { display: block; padding: 13px 4px; text-decoration: none; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--gold-text); font-weight: 600; }
.mobile-menu .btn-row { margin-top: 18px; }
.mobile-menu .btn { flex: 1 1 140px; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- แบนเนอร์สไลด์: คงสัดส่วนไฟล์ ไม่ครอป (รูปมีตัวหนังสือถึงขอบ) ---------- */
.hero { position: relative; background: #ece2d2; overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.slide-img { width: 100%; height: auto; max-height: min(78vh, 760px); object-fit: contain; margin: 0 auto; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(251, 248, 242, .88); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.sl-btn:hover { background: #fff; }
.sl-prev { left: 12px; } .sl-next { right: 12px; }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.sl-dots button { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.sl-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(43, 31, 22, .35); transition: width .2s, background .2s; }
.sl-dots button[aria-current="true"]::before { width: 20px; border-radius: 4px; background: var(--dark); }

/* ---------- ส่วนแนะนำ ---------- */
.intro { padding: 40px 0 48px; }
.intro-grid { display: grid; gap: 28px; align-items: center; }
.intro h1 { margin-bottom: .45em; }
@media (min-width: 900px) { .intro { padding: 72px 0; } .intro-grid { grid-template-columns: 1.25fr 1fr; gap: 56px; } }

.schedule { background: var(--card); border-radius: 20px; padding: 22px 20px; box-shadow: 0 1px 2px rgba(43,31,22,.04), 0 8px 28px rgba(43,31,22,.06); position: relative; }
.schedule::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: 20px 20px 0 0; background: var(--gold); }
.schedule-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.schedule-title .ic { color: var(--gold-text); }
.schedule ul { list-style: none; margin: 0 0 12px; padding: 0; }
.schedule li { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.schedule li:last-child { border-bottom: 0; }
.s-order { font-size: 15.5px; }
.s-arrow { color: var(--gold); }
.s-deliver { font-weight: 600; background: var(--paper-2); border-radius: 999px; padding: 4px 12px; text-align: center; font-size: 15.5px; }
@media (max-width: 479px) {
  .schedule li { grid-template-columns: 1fr; gap: 6px; }
  .s-arrow { display: none; }
  .s-deliver { justify-self: start; }
}
.schedule-note { display: flex; gap: 8px; color: var(--ink-2); font-size: 15px; margin: 0; }
.schedule-note .ic { color: var(--gold-text); margin-top: 3px; width: 18px; height: 18px; }
.product-info .schedule { margin-top: 28px; }

/* ---------- ส่วนทั่วไป ---------- */
.sec { padding: 56px 0; }
.sec-top { padding-top: 8px; }
.sec-tint { background: var(--paper-2); }
@media (min-width: 900px) { .sec { padding: 88px 0; } .sec-top { padding-top: 16px; } }
.sec-title { text-align: center; margin: 0 auto 32px; max-width: 640px; }
.sec-title .orn { display: inline-flex; color: var(--gold); margin-bottom: 6px; }
.sec-title .orn .ic { width: 26px; height: 26px; }
.sec-title h2 { margin-bottom: .25em; }
.sec-title p { color: var(--ink-2); margin: 0; }
.more { margin: 32px 0 0; }
.empty { text-align: center; color: var(--ink-2); }
.note { color: var(--ink-2); font-size: 15px; margin-top: 14px; }

.page-head { padding: 36px 0 28px; }
.page-head .lead { margin-bottom: 0; }
@media (min-width: 900px) { .page-head { padding: 56px 0 40px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ไอคอนจุดเด่น: 2 / 3 / 4 / 4 คอลัมน์ */
.grid-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-icons li { background: var(--card); border-radius: var(--r); padding: 20px 16px; }
.grid-icons h3 { font-size: 17px; margin: 12px 0 6px; }
.grid-icons p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.65; }
.ic-wrap { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); color: var(--gold-text); }
@media (min-width: 480px) { .grid-icons { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .grid-icons { grid-template-columns: repeat(4, 1fr); gap: 20px; } .grid-icons li { padding: 28px 22px; } }

/* การ์ดขนมปัง: 2 / 2 / 3 / 3 — รูปไม่มีกรอบ ไม่มีเงา */
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.card { display: block; text-decoration: none; border-radius: var(--r); transition: transform .2s var(--ease); }
.card-pic img, .no-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r); }
.card-body { padding: 12px 2px 0; }
.card-cat { font-size: 13.5px; color: var(--gold-text); margin: 0 0 2px; }
.card h3 { font-size: 18px; margin: 0 0 4px; }
.card-text { font-size: 15px; color: var(--ink-2); margin: 0 0 6px; line-height: 1.6; }
.card-price { font-weight: 700; margin: 0; }
.no-photo { display: grid; place-items: center; background: var(--paper-2); color: var(--gold); }
.no-photo .ic { width: 48px; height: 48px; }
.tag-off { display: inline-block; font-size: 13px; font-weight: 600; color: var(--err); background: #f6e6d3; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }

.feature { display: grid; gap: 22px; align-items: center; max-width: 1000px; margin: 0 auto; }
.feature-pic img, .feature-pic .no-photo { width: 100%; border-radius: 20px; }
.feature-name { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 6px; }
.feature-name a { text-decoration: none; }
.feature-price { font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.feature-price span { font-size: 16px; font-weight: 400; color: var(--ink-2); }
@media (min-width: 768px) { .feature { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* เรื่องราว */
.story-grid { display: grid; gap: 28px; align-items: center; }
.story-solo { max-width: 760px; text-align: center; }
.story-solo .text-link { justify-content: center; }
.story-pic img { border-radius: 20px; width: 100%; }
.story-text h2 { margin-bottom: .6em; }
.story-text p { color: var(--ink-2); }
.slogan { font-size: 22px; font-weight: 600; color: var(--gold-text); font-style: italic; }
@media (min-width: 768px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* รีวิว */
.grid-reviews { display: grid; gap: 12px; }
@media (min-width: 768px) { .grid-reviews { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.review { margin: 0; background: var(--card); border-radius: var(--r); padding: 24px 22px; display: flex; flex-direction: column; }
.review blockquote { margin: 12px 0 16px; flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { font-weight: 600; }
.review figcaption span { font-weight: 400; color: var(--ink-2); }
.stars { display: flex; gap: 2px; }
.stars span { color: var(--line); display: inline-flex; }
.stars span.on { color: var(--gold); }
.stars .ic { width: 18px; height: 18px; fill: currentColor; }

/* แกลเลอรี masonry: 2 / 3 / 3 / 4 คอลัมน์ คงสัดส่วนเดิมทุกรูป */
.masonry { columns: 2; column-gap: 10px; }
.m-item { margin: 0 0 10px; break-inside: avoid; }
.m-item img { width: 100%; height: auto; border-radius: 10px; }
@media (min-width: 480px) { .masonry { columns: 3; } }
@media (min-width: 1024px) { .masonry { columns: 4; column-gap: 18px; } .m-item { margin-bottom: 18px; } }

/* คำถามที่พบบ่อย */
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--card); border-radius: var(--r); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 17.5px; line-height: 1.5; }
.faq summary .ic { color: var(--gold-text); transition: transform .25s var(--ease); }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 20px 6px; color: var(--ink-2); }
.ask { margin-top: 36px; text-align: center; }
.ask .btn-row { justify-content: center; }

/* ตารางราคา */
.table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--r); }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { font-weight: 600; }
.price-table tbody th a { text-decoration: none; }
.price-table tbody th a:hover { text-decoration: underline; }
.price-table .num { text-align: right; white-space: nowrap; font-weight: 600; }

/* ขั้นตอน */
.steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.steps li { background: var(--card); border-radius: var(--r); padding: 22px 20px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: var(--on-dark); font-weight: 700; margin-bottom: 10px; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--ink-2); margin: 0; font-size: 15.5px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips a { padding: 8px 16px; border-radius: 999px; background: var(--card); text-decoration: none; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
.chips a[aria-current="page"] { background: var(--dark); color: var(--on-dark); }

/* หน้าสินค้า */
.product { padding-top: 24px; padding-bottom: 56px; }
.product-grid { display: grid; gap: 24px; }
.product-pic img, .product-pic .no-photo { width: 100%; border-radius: 20px; }
.product-info h1 { margin-bottom: .2em; }
.product-price { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.product-price span { font-size: 16px; font-weight: 400; color: var(--ink-2); }
.product-desc { margin-top: 24px; color: var(--ink-2); }
.h-small { font-size: 20px; margin: 20px 0 8px; }
.badge-ok, .badge-off { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.badge-ok { color: var(--ok); background: #e3ecdf; }
.badge-off { color: var(--err); background: #f6e6d3; }
.badge-ok .ic, .badge-off .ic { width: 18px; height: 18px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .product-pic { position: sticky; top: 92px; } }

.prose { margin-bottom: 40px; }
.prose:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); }
.prose p { color: var(--ink-2); }
.video { width: 100%; border-radius: 16px; background: var(--dark); }

/* ติดต่อ */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; } }
.c-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.c-list a, .c-row { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-radius: 12px; text-decoration: none; }
.c-list a:hover { background: var(--paper-2); }
.c-list strong { display: block; font-weight: 600; line-height: 1.45; }
.c-list small { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.c-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); color: var(--gold-text); flex: none; }
.c-ic.c-line { background: var(--line-green); color: #fff; }
.c-ic.c-fb { background: #0866ff; color: #fff; }
.form-card { background: var(--card); border-radius: 20px; padding: 24px 20px; box-shadow: 0 1px 2px rgba(43,31,22,.04), 0 8px 28px rgba(43,31,22,.06); }
@media (min-width: 900px) { .form-card { padding: 32px; } }
.form-card .h-small { margin-top: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.req { color: var(--gold-text); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 126, 60, .2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.f-err { color: var(--err); font-size: 14.5px; margin: 6px 0 0; }
.f-err:empty { display: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }
.form-msg[hidden] { display: none; }
.form-msg.ok { background: #e3ecdf; color: var(--ok); }
.form-msg.err { background: #f6e6d3; color: var(--err); }
.form-msg .ic { margin-top: 3px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* แถบชวนสั่ง */
.cta-band { background: var(--dark); color: var(--on-dark); padding: 64px 0; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: var(--on-dark-2); }
.cta-call { margin: 18px 0 0; }
.cta-call a { color: var(--gold-on-dark); font-weight: 600; }
@media (min-width: 900px) { .cta-band { padding: 88px 0; } }

/* ท้ายเว็บ */
.site-footer { background: #1c140e; color: var(--on-dark-2); padding: 56px 0 0; font-size: 15.5px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr .7fr; gap: 40px; } }
.f-brand { font-size: 22px; font-weight: 700; color: var(--on-dark); margin-bottom: 2px; }
.f-tag { color: var(--gold-on-dark); font-style: italic; }
.f-h { color: var(--on-dark); font-weight: 600; margin-bottom: 10px; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.f-list a, .f-list span { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; padding: 5px 0; line-height: 1.55; }
.f-list a:hover { color: var(--on-dark); }
.f-list .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-on-dark); }
.f-social { display: flex; gap: 10px; }
.f-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--dark-2); color: var(--on-dark); }
.f-bottom { border-top: 1px solid #3a2c20; margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: 14px; }
.f-bottom p { margin: 0; }

/* ปุ่มลอยมือถือ: ไลน์ + โทร สูงไม่เกิน 60px */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); background: rgba(247, 241, 231, .96); border-top: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; }
.dock-line { background: var(--line-green); color: #fff; }
.dock-call { background: var(--dark); color: var(--on-dark); }
@media (max-width: 1023px) { :root { --dock-h: calc(58px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- อนิเมชัน: ปรากฏตอนเลื่อนถึง ครั้งเดียว ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); }
  .card:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* พื้นที่กดอย่างน้อย 44px บนมือถือ */
picture { display: contents; }
.f-list a, .f-list span { min-height: 44px; align-items: center; padding: 4px 0; }
.f-list .ic { margin-top: 0; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs ol { align-items: center; margin-bottom: 4px; }
.text-link { min-height: 44px; }
.chips a { min-height: 44px; }
.feature-name a, .price-table tbody th a { display: inline-flex; align-items: center; min-height: 44px; }
.cta-call a { display: inline-flex; align-items: center; min-height: 44px; }
.hp input { font-size: 16px; }

/* รายละเอียดขนมปัง */
.details-title { margin: 28px 0 10px; font-size: 19px; }
.details { margin: 0; background: var(--card); border-radius: var(--r); padding: 6px 18px; }
.details > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.details > div:last-child { border-bottom: 0; }
.details dt { font-weight: 600; font-size: 15px; color: var(--gold-text); }
.details dd { margin: 0; }
@media (min-width: 600px) { .details > div { grid-template-columns: 180px 1fr; gap: 16px; } }
.details-compact { background: transparent; padding: 0; }
.details-compact > div { grid-template-columns: 1fr !important; gap: 0; padding: 8px 0; }
