/* คลิกมังกรเงินล้าน — ทิศทาง "แบ่งครึ่งจอ" (design/comps/แบบอ้างอิง.png)
   ทอง + ดำอมน้ำตาล + ครีมงาช้าง · ภาพกับข้อความน้ำหนักเท่ากัน สลับซ้าย-ขวา เส้นทองบาง
   กฎเหล็ก: ไม่ล้นจอที่ 360px · ข้อความสั้น/ยาวมากต้องยังสวย · หัวเว็บห้ามมี backdrop-filter/transform/filter (เมนูมือถือต้องเต็มจอ) */

:root {
  --accent: #b8862b;
  --gold: #b8862b;
  --gold-2: #e2c27a;
  --gold-3: #f4e6c4;
  --accent-ink: #1c1712;
  --ink: #1c1712;
  --dark: #1c1712;
  --dark-2: #2a2119;
  --muted: #6b5f4f;
  --paper: #f8f3ea;
  --paper-2: #f1e8d8;
  --card: #fffdf8;
  --line: #e3d6bf;
  --radius: 6px;
  --font: 'Noto Sans Thai', -apple-system, 'Segoe UI', sans-serif;
  --display: 'Noto Serif Thai', 'Noto Sans Thai', serif;
  --gap: clamp(56px, 8vw, 104px);
  --pad: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.75; -webkit-text-size-adjust: 100%; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.45; margin: 0; text-wrap: balance; font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 40px); }
p { margin: 0 0 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; margin-inline: auto; }
.sec { padding-block: var(--gap); }
.sec-tight { padding-top: 12px; }
.sec-alt { background: var(--paper-2); }
.sec-dark { background: var(--dark); color: var(--gold-3); }
.sec-dark h1, .sec-dark h2, .sec-dark h3 { color: var(--gold-2); }
.sec-dark p { color: color-mix(in srgb, var(--gold-3) 82%, transparent); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; }
.eyebrow { font-size: 14px; letter-spacing: .08em; color: var(--gold); font-weight: 600; margin: 0 0 10px; }
.sec-dark .eyebrow { color: var(--gold-2); }
.lead { font-size: clamp(16.5px, 1.6vw, 18.5px); color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }
.fine a { color: var(--gold); }
.empty { color: var(--muted); }
.bad { color: #b3261e !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 4px; font: 600 16px/1.45 var(--font); cursor: pointer;
  background: var(--dark); color: var(--gold-3); text-decoration: none; text-align: center;
  border: 1.5px solid var(--dark); min-height: 48px; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(28, 23, 18, .55); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-gold { background: linear-gradient(180deg, #d6ac58, #b8862b); color: #1c1712; border-color: #a77823; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line { background: transparent; color: var(--gold-2); border-color: var(--gold-2); }
.btn-line-dark { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-wide { width: 100%; }
.btn-big { min-height: 56px; font-size: 17.5px; }
.more-link { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 600; text-underline-offset: 4px; }
.sec-dark .more-link { color: var(--gold-2); }

/* เส้นทองประดับ */
.rule { display: block; width: 56px; height: 2px; background: var(--gold); margin-bottom: 16px; position: relative; }
.rule::after { content: ''; position: absolute; left: 62px; top: -3px; width: 8px; height: 8px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.sec-dark .rule, .sec-dark .rule::after { background-color: var(--gold-2); border-color: var(--gold-2); }
.sec-dark .rule::after { background: transparent; }
.orn { display: block; width: min(280px, 70%); height: 10px; margin: 18px 0 22px; position: relative; }
.orn::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--gold-2); }
.orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border: 1.5px solid var(--gold-2); background: #251c14; box-shadow: 0 0 0 5px #251c14; transform: translate(-50%, -50%) rotate(45deg); }

.sec-head { max-width: 62ch; margin-bottom: clamp(24px, 3.5vw, 40px); }
.sec-head p { color: var(--muted); margin: 10px 0 0; font-size: 16.5px; }
.sec-dark .sec-head p { color: color-mix(in srgb, var(--gold-3) 78%, transparent); }

/* ---------- แถบบน + หัวเว็บ (ห้าม backdrop-filter / transform บน .nav) ---------- */
.topbar { background: var(--dark); color: var(--gold-3); font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center; }
.nav { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo b { display: block; font-family: var(--display); font-size: clamp(19px, 2.2vw, 24px); color: var(--ink); line-height: 1.45; }
.logo small { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
.dnav { margin-inline-start: auto; display: flex; gap: 2px; }
.dnav a { text-decoration: none; padding: 8px 12px; font-size: 15.5px; color: var(--muted); border-bottom: 2px solid transparent; }
.dnav a:hover { color: var(--ink); }
.dnav a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }
.nav-r { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.cart-btn svg, .menu-btn svg, .menu-x svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cart-n[hidden] { display: none; }
.cart-n { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #1c1712; font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.menu-btn, .menu-x { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; place-items: center; }
.bare .nav .wrap { justify-content: space-between; }

/* เมนูมือถือเต็มจอ อยู่นอก .nav */
.mnav { display: none; }
body.nav-open { overflow: hidden; }
body.nav-open .mnav { display: block; position: fixed; inset: 0; z-index: 60; background: var(--dark); color: var(--gold-3); overflow-y: auto; }
.mnav-in { padding: 20px var(--pad) 40px; display: grid; gap: 22px; }
.menu-x { display: grid; justify-self: end; color: var(--gold-3); }
.mnav nav { display: grid; }
.mnav nav a { text-decoration: none; font-size: 21px; font-family: var(--display); padding: 14px 0; border-bottom: 1px solid rgba(226, 194, 122, .2); color: var(--gold-3); }

/* ---------- ภาพหัวเว็บ: แบ่งครึ่งจอ ---------- */
.hero { position: relative; background: var(--dark); }
.hero-track { display: flex; overflow: hidden; }
.hero-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(460px, 64vh, 640px); }
.hero-text { background: radial-gradient(120% 90% at 0% 0%, #3a2b1b 0%, #1c1712 60%); color: var(--gold-3); display: flex; align-items: center; justify-content: flex-end; }
.hero-in { width: min(600px, 100%); padding: clamp(36px, 6vw, 80px) clamp(24px, 4vw, 64px) clamp(36px, 6vw, 80px) var(--pad); }
.hero-title { font-size: clamp(32px, 4.6vw, 58px); color: var(--gold-2); line-height: 1.45; }
.hero-text p { font-size: clamp(16.5px, 1.6vw, 19px); color: color-mix(in srgb, var(--gold-3) 86%, transparent); max-width: 44ch; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pic { position: relative; border-left: 1px solid rgba(226, 194, 122, .5); }
.hero-pic picture, .hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-dots { display: flex; gap: 8px; justify-content: center; padding: 14px 0; background: var(--dark); }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(226, 194, 122, .35); }
.hero-dots button[aria-current="true"] { background: var(--gold-2); width: 28px; border-radius: 6px; }

/* ---------- แถบความมั่นใจ ---------- */
.assure { background: var(--card); border-bottom: 1px solid var(--line); }
.assure-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.assure-row li { display: flex; gap: 14px; align-items: center; padding: 22px 18px; border-inline-start: 1px solid var(--line); }
.assure-row li:first-child { border: 0; padding-inline-start: 0; }
.assure-row h3 { font-family: var(--font); font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.assure-row p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.ic { flex: none; width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sec-dark .ic { color: var(--gold-2); border-color: var(--gold-2); }

/* ---------- หัวข้อซ้าย เนื้อหาขวา ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.split-head > .sec-head, .side-head .sec-head { margin: 0; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-2.rev > :first-child { order: 2; }
.split-pic img { width: 100%; border-radius: var(--radius); aspect-ratio: auto; }
.chapter-text p { color: var(--muted); }
.sec-dark .chapter-text p { color: color-mix(in srgb, var(--gold-3) 82%, transparent); }
.chapter .split-pic img { box-shadow: 0 30px 60px -36px rgba(28, 23, 18, .6); }
.sec-dark.chapter .split-pic img { box-shadow: none; outline: 1px solid rgba(226, 194, 122, .4); outline-offset: 10px; }

/* ---------- การ์ดสินค้า ---------- */
.pgrid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(28, 23, 18, .45); }
.pcard-pic { position: relative; aspect-ratio: 1; background: var(--dark); display: block; overflow: hidden; }
.pcard-pic img { width: 100%; height: 100%; object-fit: cover; }
.pcard-pic .tag { position: absolute; left: 10px; top: 10px; background: var(--dark); color: var(--gold-3); font-size: 14px; padding: 3px 10px; border-radius: 3px; }
.pcard-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; text-align: center; }
.pcard-body h3 { font-size: 17px; }
.pcard-body h3 a { text-decoration: none; }
.pcard-body p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.pcard-price { margin: auto 0 10px; padding-top: 6px; }
.price { font-weight: 700; color: var(--ink); font-size: 17px; }
.pcard-price s, .pdp-price s { color: var(--muted); font-size: 14px; margin-inline-start: 8px; }
.pcard .btn { align-self: center; }
.shelf { background: linear-gradient(90deg, var(--paper) 0 30%, var(--paper-2) 30% 100%); }

/* ---------- ขั้นตอน / วิธีดูแล / เหตุผล ---------- */
.ordering { background: var(--card); border-block: 1px solid var(--line); padding-block: clamp(36px, 5vw, 56px); }
.step-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step-row li { display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: center; position: relative; }
.step-n { grid-column: 1 / -1; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #1c1712; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.step-row h3, .reason-row h3, .care-item h3 { font-family: var(--font); font-size: 16px; font-weight: 600; line-height: 1.5; }
.step-row p, .reason-row p, .care-item p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.care-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); }
.care-item { display: grid; gap: 10px; justify-items: center; text-align: center; padding: 8px 12px; }
.care-item + .care-item { border-inline-start: 1px solid var(--line); }
.reasons { padding-block: clamp(40px, 6vw, 72px); }
.reasons .split-head { grid-template-columns: auto minmax(0, 1fr) minmax(0, 2.2fr); align-items: center; }
.big-n { font-family: var(--display); font-size: clamp(64px, 9vw, 110px); line-height: 1.45; color: var(--gold); }
.reason-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.reason-row li { display: flex; gap: 14px; align-items: flex-start; }

/* ---------- รีวิว ---------- */
.rv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(12px, 2vw, 22px); }
.rv { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.rv::before { content: ''; position: absolute; left: 22px; right: 22px; top: -1px; height: 2px; background: var(--gold); }
.rv blockquote { margin: 0; font-size: 16px; line-height: 1.8; }
.rv img { width: 100%; max-width: 160px; border-radius: 4px; }
.rv figcaption { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); margin-top: auto; }
.rv figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.rv figcaption b { display: block; color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.stars .off { display: inline-flex; gap: 2px; color: var(--line); }

/* ---------- คำถามที่พบบ่อย ---------- */
.faq details { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 600; position: relative; list-style: none; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-a { padding: 0 18px 16px; color: var(--muted); margin: 0; white-space: pre-line; }

/* ---------- ติดต่อ ---------- */
.reach .split-2 { align-items: start; }
.reach-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.reach-list li { display: flex; gap: 12px; align-items: flex-start; }
.reach-list svg { width: 20px; height: 20px; flex: none; margin-top: 4px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; }
.reach-list a { text-decoration: none; }
.reach-card { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.reach-map { grid-column: 1 / -1; }
.map { border: 0; width: 100%; aspect-ratio: 16 / 7; border-radius: var(--radius); }
.hours { list-style: none; padding: 0; margin: 18px 0 0; font-size: 15px; }
.hours li { display: flex; justify-content: space-between; max-width: 320px; padding: 5px 0; border-bottom: 1px dashed rgba(226, 194, 122, .3); }

/* ---------- ฟอร์ม ---------- */
.field { margin-bottom: 14px; }
.field label, fieldset legend { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
input, textarea, select { font: inherit; font-size: 16px; }
.field input, .field textarea, .field select, .signup input[type=email], .sort select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.6; cursor: pointer; margin: 6px 0 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.msg { font-size: 15px; margin: 10px 0 0; min-height: 1em; }
.msg.ok { color: #2f6b2a; }
.msg.bad { color: #b3261e; }
.msg a { color: var(--gold); font-weight: 600; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts legend { width: 100%; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; font-size: 15px; }
.opt input:checked + span { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: var(--gold-3); }
.opt input:focus-visible + span { outline: 2px solid var(--gold); }
.opt.off span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.pay-methods { display: grid; gap: 8px; }
.pm { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; }
.pm input { width: 20px; height: 20px; accent-color: var(--gold); }
.pm b { display: block; font-size: 15.5px; }
.pm small { color: var(--muted); font-size: 14px; }
.pm:has(input:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.coupon { margin: 4px 0 16px; }
.coupon summary { cursor: pointer; color: var(--gold); font-weight: 600; font-size: 15px; padding: 6px 0; }
.bump { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 2px dashed var(--gold); background: #fff8e8; border-radius: var(--radius); margin: 4px 0 18px; cursor: pointer; }
.bump > input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--gold); }
.bump > span > b { display: block; font-size: 16px; margin-bottom: 8px; }
.bump-line { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.bump-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex: none; }
.bump-line small { display: block; color: var(--muted); font-size: 14px; }
.bump-line s { color: var(--muted); }

/* ---------- สรุปยอด ---------- */
.sum { width: 100%; border-collapse: collapse; font-size: 15px; }
.sum td { padding: 7px 0; vertical-align: top; }
.sum td:last-child { text-align: right; white-space: nowrap; padding-inline-start: 12px; }
.sum .sub td { color: var(--muted); border-top: 1px solid var(--line); }
.sum .tot td { font-weight: 700; font-size: 19px; border-top: 2px solid var(--ink); padding-top: 10px; }
.hint { font-size: 14px; color: var(--gold); margin: 8px 0 0; font-weight: 600; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 4px 0 14px; }
.summary:empty { display: none; }

/* ---------- หน้ารวมสินค้า ---------- */
.shop-head { padding-bottom: 20px; }
.shop-head .split-head { grid-template-columns: 1fr auto; align-items: end; }
.shop-head h1 { font-size: clamp(30px, 4vw, 46px); }
.sort { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.sort select { width: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.chips a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: var(--card); }
.chips a[aria-current="true"] { background: var(--dark); color: var(--gold-3); border-color: var(--dark); }

/* ---------- หน้ารายละเอียดสินค้า ---------- */
.pdp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.pdp-main { background: var(--dark); border-radius: var(--radius); overflow: hidden; }
.pdp-main img { width: 100%; max-height: 640px; object-fit: contain; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pdp-thumbs button { border: 1px solid var(--line); padding: 0; width: 72px; height: 72px; flex: none; cursor: pointer; background: none; border-radius: 4px; overflow: hidden; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 10px; }
.pdp-price { margin: 10px 0 12px; }
.pdp-price .price { font-size: 28px; color: var(--ink); font-family: var(--display); }
.stock-left { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #2f6b2a; font-weight: 600; margin: 0 0 16px; }
.stock-left svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.stock-left.out { color: #b3261e; }
.qty-row { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.qty-row label { font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty input, .qty span { width: 52px; text-align: center; border: 0; font-size: 16px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { appearance: none; }
.buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.belief { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); background: var(--paper-2); border-inline-start: 3px solid var(--gold); padding: 12px 14px; margin: 18px 0 0; line-height: 1.6; }
.belief svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.sec-dark .belief, .fn-hero .belief { background: rgba(226, 194, 122, .08); color: color-mix(in srgb, var(--gold-3) 80%, transparent); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.rich { line-height: 1.85; }
.rich img { border-radius: var(--radius); margin: 16px 0; }

/* ---------- ตะกร้า / สั่งซื้อ ---------- */
.cline { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cline img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.cline b { display: block; line-height: 1.4; }
.cline small { display: block; color: var(--muted); font-size: 14px; }
.cl-p { font-size: 15px; }
.rm { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.cart-foot { margin-top: 22px; display: grid; gap: 12px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.checkout-grid h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 6px; }
.co-cart { position: sticky; top: 92px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.co-cart h2 { font-size: 20px; margin-bottom: 10px; }
.co-cart [data-compact] .cline { grid-template-columns: 56px 1fr auto; }
.co-cart [data-compact] .cline img { width: 56px; height: 56px; }
.co-item { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.co-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 4px; }
.co-cart .fine svg { width: 16px; height: 16px; display: inline; vertical-align: -3px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.progress { list-style: none; padding: 0; margin: 0 0 22px; display: flex; gap: 6px; font-size: 14px; counter-reset: p; flex-wrap: wrap; }
.progress li { counter-increment: p; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.progress li::before { content: counter(p); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; }
.progress li + li::after { order: -1; content: ''; width: 18px; height: 1px; background: var(--line); }
.progress .done, .progress .on { color: var(--ink); font-weight: 600; }
.progress .on::before, .progress .done::before { background: var(--gold); border-color: var(--gold); color: #1c1712; }

/* ---------- ชำระเงิน ---------- */
.amount { font-size: 18px; margin: 6px 0; }
.amount b { font-size: clamp(30px, 5vw, 42px); font-family: var(--display); color: var(--ink); display: block; }
.qr-box { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 18px 0; }
.qr svg { width: 100%; height: auto; display: block; }
.qr-box p { margin: 4px 0; font-size: 15px; color: var(--muted); }
.banks { margin: 18px 0; }
.h-small { font-size: 19px; margin-bottom: 10px; }
.bank { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; margin-bottom: 8px; }
.bank span { display: block; font-size: 14px; color: var(--muted); }
.bank code { font-size: 17px; font-weight: 700; letter-spacing: .04em; font-family: var(--font); }
.notice { background: #fff8e8; border-inline-start: 3px solid var(--gold); padding: 12px 14px; font-size: 15px; }
.slip-form { margin-top: 24px; }
.drop { display: grid; gap: 10px; place-items: center; text-align: center; padding: 22px; border: 2px dashed var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; margin-bottom: 12px; color: var(--muted); }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop { position: relative; }
.drop span { display: grid; gap: 6px; justify-items: center; font-weight: 600; color: var(--ink); }
.drop span::before { content: ""; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle, var(--gold) 0 3px, transparent 4px); }
.drop:focus-within { outline: 2px solid var(--gold); }
.drop img { max-height: 260px; width: auto; border-radius: 4px; }
.timeline { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 34px; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); }
.timeline li::after { content: ''; position: absolute; left: 12px; top: 22px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .done::before { background: var(--gold); border-color: var(--gold); }
.timeline .on { color: var(--ink); font-weight: 700; }
.timeline .on::before { background: var(--ink); border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 30%, transparent); }
.track-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 22px; }
.track-card h2 { font-size: 22px; margin-bottom: 8px; }
.policy h2 { font-size: 22px; margin: 32px 0 10px; }
.seller { margin-top: 32px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.seller ul { margin: 0; padding-inline-start: 20px; }

/* ---------- หน้าขายฟันเนล ---------- */
.fn-hero { background: var(--dark); }
.fn-hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 80vh, 760px); }
.fn-hero-text { background: radial-gradient(120% 90% at 0% 0%, #3a2b1b 0%, #1c1712 62%); color: var(--gold-3); display: flex; align-items: center; justify-content: flex-end; }
.fn-hero-in { width: min(600px, 100%); padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 56px) clamp(32px, 5vw, 72px) var(--pad); }
.fn-hero h1 { font-size: clamp(30px, 4.4vw, 54px); color: var(--gold-2); margin-bottom: 14px; }
.fn-hero .lead { color: color-mix(in srgb, var(--gold-3) 85%, transparent); }
.fn-hero .pdp-price .price { color: var(--gold-2); }
.fn-hero .stock-left { color: #9fd59a; }
.fn-hero-pic { position: relative; border-left: 1px solid rgba(226, 194, 122, .5); }
.fn-hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.fn-buy { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; margin: 10px 0 6px; }
.ritual { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.ritual li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: baseline; font-size: 16.5px; }
.ritual span { font-family: var(--display); color: var(--gold-2); font-size: 24px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 4px; fill: none; stroke: var(--gold); stroke-width: 2; }
.price-box { background: var(--card); border: 1px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; }
.price-box p { font-size: 15px; color: var(--muted); }
.origin { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.origin h3 { font-size: 18px; margin-bottom: 6px; }
.fn-order { background: var(--paper-2); }
.fn-sticky { display: none; }
.offer h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.offer-actions { display: grid; gap: 10px; margin-top: 18px; max-width: 460px; }

/* ---------- แถบสมัครรับข่าว ---------- */
.signup-band { background: linear-gradient(90deg, #2a2119, #1c1712); color: var(--gold-3); padding-block: clamp(28px, 4vw, 44px); border-top: 1px solid rgba(226, 194, 122, .3); }
.signup-band .signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(16px, 4vw, 48px); align-items: center; }
.signup-copy { display: flex; gap: 16px; align-items: flex-start; }
.signup-copy svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--gold-2); stroke-width: 1.4; }
.signup-band h2 { font-size: clamp(20px, 2.4vw, 26px); color: var(--gold-2); margin-bottom: 4px; }
.signup-band p { margin: 0; color: color-mix(in srgb, var(--gold-3) 80%, transparent); font-size: 15px; }
.signup-row { display: flex; gap: 10px; }
.signup-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; min-height: 48px; }
.signup-band .check { color: color-mix(in srgb, var(--gold-3) 85%, transparent); margin: 12px 0 0; }
.signup-band .msg.ok { color: #9fd59a; }
.signup-band .msg.bad { color: #ffb4a8 !important; }
form.signup:not(.signup-band form) h2 { font-size: 22px; margin: 26px 0 6px; }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: #14100c; color: var(--gold-3); padding-block: clamp(36px, 5vw, 56px) 28px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot b { font-family: var(--display); font-size: 21px; color: var(--gold-2); }
.foot p { margin: 4px 0 0; opacity: .82; }
.foot-nav { display: grid; gap: 6px; align-content: start; }
.foot-nav a { text-decoration: none; opacity: .85; }
.foot-nav a:hover { opacity: 1; text-decoration: underline; }
.foot-note { grid-column: 1 / -1; font-size: 14px; opacity: .7; border-top: 1px solid rgba(226, 194, 122, .2); padding-top: 18px; margin: 0; }
.foot small { grid-column: 1 / -1; opacity: .6; }
.foot .social { display: flex; gap: 10px; margin-top: 12px; }
.foot .social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(226, 194, 122, .4); }
.foot .social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.float-contact { display: none; }
dialog.light { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.light::backdrop { background: rgba(8, 6, 4, .88); }
dialog.light img { max-height: 88vh; width: auto; }
dialog.light button { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; cursor: pointer; }
.gal { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 10px; }
.gal img { width: 100%; }

/* บทความ (ใช้คลาสเดิมของแม่แบบ) */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-pic { aspect-ratio: 16 / 9; background: var(--paper-2); display: block; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; }
.card-body h2, .card-body h4 { font-size: 19px; margin: 0 0 6px; }
.card-body h2 a { text-decoration: none; }
.card-body p { color: var(--muted); font-size: 15px; margin: 0; }
.a-wrap { max-width: 760px; }
.a-wrap h1 { font-size: clamp(28px, 4.2vw, 42px); margin-bottom: 12px; }
.a-meta { color: var(--muted); font-size: 14.5px; }
.a-cover img, .a-fig img { width: 100%; border-radius: var(--radius); }
.a-lead { font-size: 18px; color: var(--muted); }
.a-toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; }
.a-body > * { margin-block: 0 20px; }
.a-body h2 { font-size: clamp(22px, 3vw, 28px); margin-block: 40px 14px; scroll-margin-top: 92px; }
.a-body a:not(.btn) { color: var(--gold); }
.a-body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-inline-start: 3px solid var(--gold); }
.a-cta { background: var(--paper-2); border-radius: var(--radius); padding: 24px; text-align: center; margin: 32px 0; }
.a-related ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.a-related li a { display: block; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.cta-band { text-align: center; }
.cta-dark { background: var(--dark); color: var(--gold-3); }
.cta-dark h2 { color: var(--gold-2); margin-bottom: 18px; }

/* ปรากฏตอนเลื่อนถึง */
.rv-in { transform: translateY(18px); transition: transform .6s var(--ease); }
.rv-in.in { opacity: 1; transform: none; }

/* ---------- จอกลาง/เล็ก ---------- */
@media (max-width: 1080px) {
  .dnav { display: none; }
  .menu-btn { display: grid; }
  .nav-r { margin-inline-start: auto; }
  .split-head, .reasons .split-head { grid-template-columns: 1fr; }
  .big-n { display: none; }
  .shelf { background: var(--paper-2); }
  .step-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-slide, .fn-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-pic, .fn-hero-pic { order: -1; border: 0; aspect-ratio: 4 / 3; max-height: 46vh; width: 100%; }
  .hero-text, .fn-hero-text { justify-content: flex-start; }
  .hero-in, .fn-hero-in { padding: 28px var(--pad) 36px; }
  .split-2, .pdp-grid, .checkout-grid { grid-template-columns: 1fr; }
  .split-2.rev > :first-child { order: 0; }
  .co-cart { position: static; }
  .fn-order .co-cart { order: -1; }
  .assure-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .assure-row li { border: 0; padding: 14px 6px; }
  .reason-row { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr; }
  .care-item + .care-item { border: 0; border-top: 1px solid var(--line); padding-top: 18px; }
  .signup-band .signup { grid-template-columns: 1fr; }
  .shop-head .split-head { grid-template-columns: 1fr; }
  .topbar .tb-r { display: none; }
  .fn-sticky { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px)); }
  .fn-sticky .btn { flex: 1; padding-inline: 10px; font-size: 15px; }
  body.bare:has(.fn-sticky) { padding-bottom: 78px; }
  .float-contact { display: flex; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px)); }
  .float-contact .btn { flex: 1; }
  body:has(.float-contact) { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
  .nav .wrap { min-height: 64px; gap: 10px; }
  .logo small { display: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard-body { padding: 10px 8px 12px; }
  .pcard-body h3 { font-size: 15.5px; }
  .pcard-body p { display: none; }
  .pcard .btn { width: 100%; padding-inline: 8px; }
  .assure-row h3 { font-size: 14.5px; }
  .ic { width: 40px; height: 40px; }
  .step-row { grid-template-columns: 1fr; }
  .rv-grid { grid-template-columns: 1fr; }
  .qr-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .qr-box .qr { width: min(260px, 80vw); }
  .bank { grid-template-columns: 1fr auto; }
  .bank .btn { grid-column: 1 / -1; }
  .cline { grid-template-columns: 56px 1fr auto; }
  .cline img { width: 56px; height: 56px; }
  .cline .rm { grid-column: 2; justify-self: start; }
  .buy-row { grid-template-columns: 1fr; }
  .signup-row { flex-direction: column; }
  .foot .wrap { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .hero-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .rv-in { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* พื้นที่กดอย่างน้อย 44px บนจอสัมผัส */
.skip:focus, .logo, .more-link, .foot-nav a, .mnav nav a, .chips a, .crumbs a, .fine a { min-height: 44px; display: inline-flex; align-items: center; }
.pcard-body h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.btn-small { min-height: 44px; }
.skip { min-height: 44px; }
.dnav a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-nav { gap: 0; }

/* =====================================================================
   ธีมใหม่ตามบรีฟลูกค้า 20 พ.ย. 69 (Gemini "คลิกมังกรเงินล้าน — บันไดคุณค่า 5 ขั้น")
   พื้นดำ #080707 · การ์ด #171110 (แก้ด่วน 1192: ลูกค้าขอโทนดำ ทอง เหลือง แดง ตามพรีวิว แทนกรมท่า) · ทองไล่เฉด #FFF3C4 → #D4AF37 → #AA8219 · ฟอนต์ Prompt ตัวเดียวทั้งเว็บ
   ทับตัวแปรของธีมเดิมทั้งเว็บ (หน้าร้าน ตะกร้า ชำระเงิน ใช้โทนเดียวกัน) แล้วต่อด้วยหน้าฟันเนล .ld-*
   ===================================================================== */
:root {
  --gold: #d4af37; --gold-2: #f3d06b; --gold-3: #f9e29c; --accent-ink: #080707;
  --ink: #f1ead8; --dark: #050404; --dark-2: #120d0b; --muted: #b3aca0;
  --paper: #080707; --paper-2: #0d0a09; --card: #171110; --line: rgba(212, 175, 55, .25);
  --field: #080707; --radius: 16px;
  --font: 'Prompt', 'Noto Sans Thai', -apple-system, 'Segoe UI', sans-serif; --display: var(--font);
  --g-text: linear-gradient(135deg, #fff3c4 0%, #d4af37 45%, #f5d061 75%, #aa8219 100%);
  --g-btn: linear-gradient(135deg, #f3d06b 0%, #d4af37 50%, #b0891e 100%);
}
body {
  background-color: var(--paper);
  background-image: radial-gradient(circle at 15% 15%, rgba(212, 175, 55, .08) 0%, transparent 45%),
    radial-gradient(circle at 85% 35%, rgba(158, 123, 28, .09) 0%, transparent 50%), linear-gradient(to bottom, #080707, #0d0a09);
  background-attachment: fixed; line-height: 1.7;
}
h1, h2, h3 { font-weight: 600; line-height: 1.45; }
.sec-dark { background: var(--dark-2); color: var(--ink); }
.sec-dark h1, .sec-dark h2, .sec-dark h3 { color: var(--gold-3); }
.sec-dark p { color: var(--muted); }
.btn { border-radius: 12px; background: var(--card); color: var(--gold-3); border-color: var(--line); font-weight: 600; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.btn:hover { box-shadow: 0 12px 28px -10px rgba(212, 175, 55, .35); }
.btn-gold { background: var(--g-btn); color: #080707; border-color: transparent; box-shadow: 0 10px 35px -8px rgba(212, 175, 55, .45); }
.btn-gold:hover { box-shadow: 0 12px 28px rgba(212, 175, 55, .4); }
.btn-ghost, .btn-line-dark { background: transparent; color: var(--gold-3); border-color: var(--line); }
.btn-line { color: var(--gold-3); border-color: var(--gold); }
.btn-linegreen { background: #06c755; color: #fff; border-color: #06c755; }
.more-link, .fine a, .coupon summary, .a-body a:not(.btn), .msg a { color: var(--gold-2); }
.topbar { background: linear-gradient(90deg, #2a1f06, #3a2a08, #2a1f06); color: var(--gold-3); border-bottom: 1px solid var(--line); }
.nav { background: rgba(8, 7, 7, .96); border-bottom: 1px solid rgba(212, 175, 55, .15); }
.logo b { color: transparent; background: var(--g-text); -webkit-background-clip: text; background-clip: text; font-weight: 700; }
.dnav a { color: var(--muted); }
.dnav a:hover, .dnav a[aria-current="page"] { color: var(--gold-3); }
.cart-btn { color: var(--gold-3); }
body.nav-open .mnav { background: #060505; }
.hero, .fn-hero, .hero-dots { background: #060505; }
.hero-text, .fn-hero-text { background: radial-gradient(120% 90% at 0% 0%, #1d1a10 0%, #080707 62%); }
.orn::after { background: #080707; box-shadow: 0 0 0 5px #080707; }
.assure, .ordering { background: var(--card); }
.pcard, .rv, .faq details, .card, .co-cart, .summary, .track-card, .seller, .a-toc, .origin, .price-box, .reach-card, .a-related li a, .chips a { background: var(--card); color: var(--ink); }
.pcard-pic, .pdp-main { background: #060505; }
.price, .pdp-price .price, .amount b, .rv figcaption b { color: var(--gold-3); }
.shelf { background: transparent; }
.field input, .field textarea, .field select, .signup input[type=email], .sort select, .signup-row input, .qty, .opt span, .pm, .bank, .drop {
  background: var(--field); color: var(--ink); border-color: rgba(212, 175, 55, .3); border-radius: 12px;
}
.field input::placeholder, .field textarea::placeholder, .signup-row input::placeholder { color: #7a7064; }
.qty button { color: var(--gold-3); }
.opt input:checked + span { background: rgba(212, 175, 55, .14); color: var(--gold-3); }
.bump { background: rgba(212, 175, 55, .08); }
.notice { background: rgba(212, 175, 55, .1); color: var(--ink); }
.belief { background: rgba(212, 175, 55, .07); }
.sum .tot td { border-top-color: var(--gold); }
.qr-box { background: #fff; color: #080707; border-color: transparent; }
.qr-box b { color: #080707; }
.qr-box p { color: #444; }
.drop span { color: var(--gold-3); }
.timeline li::before { background: var(--paper); }
.timeline .on { color: var(--gold-3); }
.progress .done, .progress .on { color: var(--gold-3); }
.chips a[aria-current="true"] { background: var(--g-btn); color: #080707; border-color: transparent; }
.signup-band { background: linear-gradient(90deg, #120d0b, #080707); }
.foot { background: #060505; color: var(--muted); border-top: 1px solid rgba(212, 175, 55, .15); }
.foot b { color: var(--gold-3); }
.fn-sticky, .float-contact { background: rgba(8, 7, 7, .97) !important; border-top-color: var(--line) !important; }
.cta-dark { background: var(--dark-2); }
.msg.ok { color: #6ee7a8; }
.msg.bad { color: #ffb4a8; }
.bad { color: #ffb4a8 !important; }
.ic { color: var(--gold); border-color: var(--line); }
.stars .off { color: #4a3f35; }

/* ---------- เส้นทางขาย 5 ขั้น ---------- */
.ld-gold { color: transparent; background: var(--g-text); -webkit-background-clip: text; background-clip: text; }
.ld-announce { background: linear-gradient(90deg, #2a1f06, #3a2a08, #2a1f06); border-bottom: 1px solid rgba(212, 175, 55, .3); color: var(--gold-3); font-size: 14px; }
.ld-announce .wrap { min-height: 40px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: center; text-align: center; padding-block: 6px; }
.ld-chip { display: inline-block; background: var(--gold); color: #080707; font-weight: 700; font-size: 14px; line-height: 1.5; padding: 1px 10px; border-radius: 999px; }
.ld-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; animation: ld-pulse 2s ease-in-out infinite; }
@keyframes ld-pulse { 50% { opacity: .35; } }
.ld-badge, .ld-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .3); color: var(--gold-3); font-size: 14px; font-weight: 500; line-height: 1.5; }
.ld-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ld-eyebrow { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .06em; margin: 0 0 8px; }
.ld-card { background: rgba(23, 17, 16, .95); border: 1px solid rgba(212, 175, 55, .25); border-radius: 24px; padding: clamp(20px, 3.4vw, 40px); box-shadow: 0 0 30px rgba(212, 175, 55, .12); }
.ld-center { text-align: center; margin: 28px 0 0; }
.ld-center-text { text-align: center; max-width: 62ch; margin: 0 auto 24px; }
.ld-prose p { color: #d2cdc2; }
.ld-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ld-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; margin-top: 18px; }
.ld-card .field label, .ld-dialog .field label { font-size: 14.5px; font-weight: 500; color: #ddd8cc; }
.ld-card .check, .ld-dialog .check { color: #ccc6ba; font-size: 14px; }

/* หน้าแรก */
.ld-hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(212, 175, 55, .15); padding-block: clamp(36px, 6vw, 80px);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4AF37' stroke-opacity='0.06'%3E%3Cpath d='M30 0l30 30-30 30L0 30z'/%3E%3Ccircle cx='30' cy='30' r='12'/%3E%3C/g%3E%3C/svg%3E"); }
.ld-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 1180px; }
.ld-hero h1 { font-size: clamp(28px, 3.6vw, 44px); color: #fff; margin: 0 0 18px; line-height: 1.45; }
.ld-h1-gold { display: block; margin-bottom: 6px; }
.ld-lead { font-size: clamp(16.5px, 1.5vw, 18.5px); color: #d2cdc2; max-width: 60ch; margin: 0 0 26px; text-wrap: pretty; }
.ld-hero h1, .ld-codex-book .ld-chip { text-wrap: balance; }
.ld-optin { max-width: 600px; scroll-margin-top: 96px; }
.ld-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--gold-3); font-size: 15.5px; }
.ld-card-head h2 { margin: 0; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.5; color: var(--gold-3); font-weight: 700; }
.ld-optin-hint { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px; font-size: 14.5px; color: #d2cdc2; }
.ld-optin-hint svg { width: 16px; height: 16px; flex: none; margin-top: 4px; transform: rotate(90deg); fill: none; stroke: var(--gold); stroke-width: 2; }
/* กดปุ่มที่ชี้มาฟอร์ม → กล่องเรืองแสงทองชั่วครู่ */
.ld-optin.is-hl, .ld-optin:target { animation: ld-optin-hl 1.8s ease-out 1; }
@keyframes ld-optin-hl {
  0% { box-shadow: 0 0 0 0 rgba(243, 208, 107, .75); }
  35% { box-shadow: 0 0 0 8px rgba(243, 208, 107, .28), 0 0 70px rgba(243, 208, 107, .35); }
  100% { box-shadow: 0 0 0 0 rgba(243, 208, 107, 0); }
}
@media (prefers-reduced-motion: reduce) { .ld-optin.is-hl, .ld-optin:target { animation: none; outline: 2px solid var(--gold); outline-offset: 4px; } }
/* จอคอม: ดึงฟอร์มขึ้นมาให้เห็นช่องกรอกตั้งแต่จอแรก */
@media (min-width: 1081px) {
  .ld-hero { padding-block: clamp(28px, 3.2vw, 52px); }
  .ld-hero h1 { font-size: clamp(28px, 2.9vw, 38px); line-height: 1.38; margin-bottom: 14px; }
  .ld-hero .ld-h1-sub { display: block; font-size: .8em; line-height: 1.42; }
  .ld-hero .ld-badge { margin-bottom: 14px; }
  .ld-hero .ld-lead { margin-bottom: 20px; }
}
.ld-free { flex: none; font-size: 14px; color: #6ee7a8; background: rgba(6, 78, 59, .6); border: 1px solid rgba(16, 185, 129, .35); padding: 2px 12px; border-radius: 999px; }
.ld-safe { display: flex; gap: 8px; align-items: center; justify-content: center; text-align: center; margin: 10px 0 0; }
.ld-safe svg, .ld-dialog .fine svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.ld-hero-art { position: relative; }
.ld-hero-art::before { content: ''; position: absolute; inset: 8%; background: rgba(212, 175, 55, .22); filter: blur(60px); border-radius: 50%; pointer-events: none; }
.ld-codex { position: relative; max-width: 400px; margin-inline: auto; background: linear-gradient(180deg, #1d1210, #15100e 50%, #0b0908); border: 1px solid rgba(212, 175, 55, .45); border-radius: 28px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.ld-codex-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--gold-3); margin-bottom: 14px; }
.ld-codex-top span { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.ld-codex-top em { font-style: normal; background: rgba(212, 175, 55, .15); border: 1px solid rgba(212, 175, 55, .35); padding: 0 10px; border-radius: 999px; }
.ld-codex-art { border: 1px solid rgba(212, 175, 55, .3); border-radius: 18px; background: linear-gradient(180deg, #1a110f, #100c0a 50%, #090707); padding: 14px; text-align: center; margin-bottom: 16px; }
.ld-codex-art:has(.ld-codex-pic) { padding: 0 0 14px; overflow: hidden; }
.ld-codex-pic { position: relative; margin: 0 0 10px; aspect-ratio: 3 / 2; overflow: hidden; isolation: isolate;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.ld-codex-pic img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 52%; animation: ld-kenburns 18s ease-in-out infinite alternate; }
@keyframes ld-kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
/* แสงเหรียญเต้นตรงกลาง + แสงทองกวาดผ่านเป็นจังหวะ */
.ld-codex-glow { position: absolute; left: 50%; top: 52%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 228, 140, .55), rgba(255, 196, 64, .18) 45%, transparent 70%); mix-blend-mode: screen; animation: ld-coin 4.5s ease-in-out infinite; }
@keyframes ld-coin { 0%, 100% { opacity: .35; scale: .9; } 50% { opacity: 1; scale: 1.08; } }
.ld-codex-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; transform: translateX(-100%);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 240, 190, .55) 50%, transparent 70%); animation: ld-sheen-x 6s 1.2s ease-in-out infinite; }
@keyframes ld-sheen-x { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes ld-sheen { 0%, 55% { background-position: 150% 0; } 100% { background-position: -150% 0; } }
.ld-codex-art b { display: block; font-size: 15px; margin-top: 6px; }
.ld-codex-art small { display: block; color: var(--muted); font-size: 14px; }
.ld-codex-book { display: flex; gap: 16px; align-items: center; background: rgba(8, 7, 7, .9); border: 1px solid rgba(212, 175, 55, .35); border-radius: 18px; padding: 16px; }
.ld-codex-book h2 { font-size: 16px; color: #fff; margin: 8px 0 6px; line-height: 1.45; }
.ld-book { width: 104px; aspect-ratio: 3 / 4.1; flex: none; border-radius: 3px 12px 12px 3px; background: linear-gradient(135deg, #231908, #16100e 55%, #0b0908);
  border: 1px solid rgba(212, 175, 55, .6); padding: 8px; transform: perspective(1000px) rotateY(-14deg) rotateX(4deg); transition: transform .4s var(--ease);
  box-shadow: 18px 22px 45px rgba(0, 0, 0, .85), -2px 0 0 #8e6d18, -6px 2px 0 #e5c158, -9px 4px 0 #705310; }
.ld-book:hover { transform: perspective(1000px) rotateY(-6deg) rotateX(2deg) scale(1.02); }
.ld-book-img { padding: 0; overflow: hidden; }
.ld-book-img img { width: 100%; height: 100%; object-fit: cover; }
.ld-book-in { height: 100%; border: 1px solid rgba(212, 175, 55, .35); border-radius: 6px; padding: 6px 4px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; }
.ld-book-in small { font-size: 9px; color: var(--gold-3); letter-spacing: .08em; line-height: 1.3; }
.ld-book-n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .5); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.ld-book-in b { font-size: 10px; line-height: 1.35; color: var(--gold-3); }
.ld-book-in em { font-style: normal; font-size: 9px; color: var(--gold-3); border-top: 1px solid rgba(212, 175, 55, .25); padding-top: 2px; }
.ld-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; color: #d2cdc2; line-height: 1.5; }
.ld-ticks li { display: flex; gap: 6px; align-items: flex-start; }
.ld-ticks svg, .ld-mods svg, .ld-welcome svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 2.2; }
.ld-head { text-align: center; max-width: 780px; margin: 0 auto clamp(24px, 4vw, 40px); }
.ld-head h1, .ld-head h2 { font-size: clamp(26px, 3.4vw, 40px); color: #fff; line-height: 1.45; }
.ld-head h1 .ld-gold, .ld-head h2 .ld-gold { display: block; }
.ld-ch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); max-width: 1180px; margin-inline: auto; }
.ld-ch { display: flex; gap: 16px; align-items: flex-start; padding: 24px; box-shadow: none; transition: border-color .2s, transform .2s var(--ease); }
.ld-ch:hover { border-color: rgba(212, 175, 55, .5); transform: translateY(-2px); }
.ld-num { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(212, 175, 55, .15); border: 1px solid rgba(212, 175, 55, .4); color: var(--gold); font-weight: 700; }
.ld-ch h3 { font-size: 18px; color: var(--gold-3); margin-bottom: 6px; }
.ld-ch p { margin: 0; color: #ccc6ba; font-size: 15.5px; }
.ld-pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); max-width: 1180px; margin-inline: auto; }
.ld-pl { padding: 28px 24px; box-shadow: none; border-top: 2px solid rgba(139, 30, 30, .9); }
.ld-pl .ld-num { margin-bottom: 16px; }
.ld-pl h3 { font-size: 19px; color: var(--gold-3); margin-bottom: 8px; }
.ld-pl p { margin: 0; color: #ccc6ba; font-size: 15.5px; }
@media (max-width: 900px) { .ld-pl-grid { grid-template-columns: 1fr; } }
.ld-author { background: rgba(18, 13, 11, .8); border-block: 1px solid rgba(212, 175, 55, .15); }
.ld-author-card { max-width: 980px; margin-inline: auto; text-align: center; }
.ld-author-card.has-pic { display: grid; grid-template-columns: 260px 1fr; gap: 32px; text-align: start; align-items: center; }
.ld-author-pic img { width: 100%; border-radius: 18px; }
.ld-author h2 { font-size: clamp(24px, 3vw, 34px); color: #fff; margin-bottom: 18px; }
.ld-author h2 .ld-gold { display: block; }
.ld-author h2 .ld-gold.ld-inline { display: inline; }
.ld-author .ld-prose p { font-size: 17px; }
.ld-lineage { color: var(--gold-3); font-weight: 500; }

/* ขั้น 2-5 */
.ld-narrow { max-width: 1000px; }
.ld-step { padding-top: clamp(28px, 4vw, 48px); }
.ld-steps { list-style: none; padding: 0; margin: 0 0 clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ld-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: #7a7064; font-size: 14px; line-height: 1.45; position: relative; }
.ld-steps li::after { content: ''; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 1px; background: rgba(212, 175, 55, .25); }
.ld-steps li:last-child::after { display: none; }
.ld-steps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(212, 175, 55, .3); font-weight: 600; }
.ld-steps .done span { background: rgba(212, 175, 55, .25); color: var(--gold-3); }
.ld-steps .on span { background: var(--g-btn); color: #080707; border-color: transparent; }
.ld-steps .on b, .ld-steps .done b { color: var(--gold-3); }
.ld-steps b { font-weight: 500; }
.ld-welcome { background: rgba(6, 78, 59, .45); border: 1px solid rgba(16, 185, 129, .4); border-radius: 18px; padding: 18px 20px; text-align: center; margin-bottom: 26px; color: #a7f3d0; }
.ld-welcome p { display: inline-flex; gap: 8px; margin: 0 0 12px; text-align: start; }
.ld-welcome b { color: #fff; }
.ld-welcome-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ld-offer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; background: rgba(69, 26, 3, .7); border: 1px solid rgba(212, 175, 55, .4); border-radius: 14px; padding: 10px 16px; margin-bottom: 24px; font-size: 15px; color: var(--gold-3); font-weight: 500; }
.ld-offer-bar span { display: inline-flex; gap: 6px; align-items: center; }
.ld-offer-bar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ld-timer b { font-variant-numeric: tabular-nums; color: #fcd34d; font-size: 17px; }
.ld-offer-box { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; align-items: center; background: rgba(8, 7, 7, .9); border: 1px solid rgba(212, 175, 55, .35); border-radius: 18px; padding: clamp(18px, 3vw, 28px); }
.ld-offer-box:not(:has(.ld-offer-pic)) { grid-template-columns: 1fr; text-align: center; }
.ld-offer-pic img { width: 100%; border-radius: 12px; }
.ld-price { margin: 12px 0 16px; }
.ld-price s { display: block; color: #958c80; font-size: 15px; }
.ld-price b { display: block; font-size: clamp(28px, 4vw, 38px); line-height: 1.3; color: transparent; background: var(--g-text); -webkit-background-clip: text; background-clip: text; }
.ld-skip { display: inline-flex; align-items: center; min-height: 44px; color: #a59e92; font-size: 15px; text-underline-offset: 4px; }
.ld-skip:hover { color: var(--gold); }
.ld-expired, .ld-out { color: #fca5a5; font-weight: 500; }
.ld-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ld-pick { position: relative; display: flex; flex-direction: column; gap: 4px; cursor: pointer; border: 1px solid rgba(212, 175, 55, .25); background: rgba(8, 7, 7, .8); border-radius: 18px; padding: 18px; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.ld-pick:hover { transform: translateY(-2px); }
.ld-pick input { position: absolute; opacity: 0; }
.ld-pick:has(input:checked) { border-color: var(--gold); background: rgba(212, 175, 55, .1); box-shadow: inset 0 0 0 1px var(--gold); }
.ld-pick:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.ld-pick.off { opacity: .5; cursor: not-allowed; }
.ld-pick-pic img { width: 100%; border-radius: 12px; margin-bottom: 8px; }
.ld-pick small { color: var(--gold); font-size: 14px; font-weight: 600; }
.ld-pick b { color: #fff; font-size: 17.5px; line-height: 1.4; }
.ld-pick-price { font-size: 24px; font-weight: 700; color: transparent; background: var(--g-text); -webkit-background-clip: text; background-clip: text; }
.ld-pick-d { color: #b3aca0; font-size: 14px; line-height: 1.55; }
.ld-pick em { font-style: normal; color: #fca5a5; font-size: 14px; }
.ld-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(212, 175, 55, .2); padding-top: 20px; margin-top: 8px; }
.ld-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; }
.ld-h3 { font-size: 21px; color: var(--gold-3); margin-bottom: 14px; }
.ld-mods { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: #d2cdc2; }
.ld-mods li { display: flex; gap: 10px; }
.ld-mods b { color: #fff; }
.ld-buybox { background: rgba(8, 7, 7, .9); border: 1px solid rgba(212, 175, 55, .35); border-radius: 18px; padding: 22px; text-align: center; }
.ld-buybox-pic img { width: 100%; border-radius: 12px; margin-bottom: 12px; }
.ld-buybox-name { color: var(--gold-3); font-weight: 600; margin: 0; }
.ld-buybox .ld-skip { margin-top: 8px; }
.ld-h1-sub { display: block; color: #fff; }
.ld-tagline { color: var(--gold-3); font-size: clamp(17px, 2vw, 22px); font-weight: 500; margin: 12px 0 0; }
.ld-flag { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 40px); align-items: center; }
.ld-flag-art img { width: 100%; max-width: 300px; margin-inline: auto; border-radius: 12px; }
.ld-flag-art img[width] { max-width: 100%; }
.ld-flag-art img + img { margin-top: 12px; }
.ld-s5-buy { margin-top: clamp(16px, 2.5vw, 24px); }
.ld-s5-buy .ld-h3 { margin-bottom: 18px; }
.ld-s5-buy .ld-3 { margin-top: 18px; }
.ld-gets { margin: 4px 0 18px; }
.ld-calc { margin-bottom: 18px; }
.ld-calc .ld-h3 { margin-bottom: 4px; }
.ld-calc-hint { color: #b3aca0; font-size: 15px; margin: 0 0 16px; }
.ld-days { display: flex; flex-wrap: wrap; gap: 8px; }
.ld-day { font: inherit; font-size: 15.5px; min-height: 44px; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: #e6e1d2; background: rgba(8, 7, 7, .8); border: 1px solid rgba(212, 175, 55, .3); transition: border-color .2s, background .2s; }
.ld-day:hover { border-color: var(--gold); }
.ld-day:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ld-day[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #080707; font-weight: 700; }
.ld-calc-date { max-width: 320px; margin-top: 16px; }
.ld-calc-out { margin-top: 18px; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(212, 175, 55, .35); background: rgba(212, 175, 55, .07); }
.ld-calc-el { font-size: 19px; color: #fff; margin: 0 0 10px; }
.ld-calc-out dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 18px; margin: 0; }
.ld-calc-out dt { color: var(--gold); font-size: 14px; font-weight: 600; }
.ld-calc-out dd { margin: 0; color: #ddd8cc; }
.ld-calc-note { color: #ccc6ba; font-size: 15px; margin: 10px 0 0; }
.ld-calc-pick { display: flex; gap: 6px; align-items: flex-start; color: var(--gold-3); font-size: 14.5px; margin: 10px 0 0; }
.ld-calc-pick svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 2.2; }
.ld-pick-price s { display: block; font-size: 15px; font-weight: 500; color: #988f82; -webkit-text-fill-color: #988f82; }
.ld-pick.has-tag small { align-self: flex-start; background: rgba(139, 30, 30, .85); color: #ffe7a3; padding: 3px 10px; border-radius: 999px; }
.ld-yant { width: 100%; max-width: 280px; margin-inline: auto; aspect-ratio: 1 / 1.414; border-radius: 12px; padding: 6px; background: linear-gradient(135deg, #f7dc88, #c59b27 50%, #7d5e12); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); }
.ld-yant-in { height: 100%; border-radius: 8px; border: 1px solid rgba(247, 220, 136, .7); background: linear-gradient(180deg, #2a2009, #1a1405 50%, #261d08); color: #f7dc88; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; }
.ld-yant-in small { font-size: 11px; letter-spacing: .04em; line-height: 1.4; }
.ld-yant-in svg { width: 72%; height: auto; }
.ld-yant-in b { font-size: 14px; line-height: 1.4; }
.ld-limit { display: inline-block; background: rgba(69, 10, 10, .7); border: 1px solid rgba(239, 68, 68, .4); color: #fecaca; font-size: 14.5px; padding: 6px 14px; border-radius: 999px; margin: 0 0 16px; }
.ld-limit b { color: #fff; }
.ld-flag .ld-buybox { text-align: start; }
.ld-buybox-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: center; color: var(--gold-3); font-weight: 600; margin-bottom: 8px; }
.ld-buybox-row .ld-price { margin: 0; text-align: end; }
.ld-buybox-row .ld-price b { font-size: 26px; }
.ld-step .belief { max-width: 760px; margin: 28px auto 0; }
.ld-next { background: rgba(212, 175, 55, .1); border: 1px solid var(--gold); border-radius: 18px; padding: 18px 20px; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.ld-next p { margin: 0; }

/* หน้าต่างสั่งซื้อ */
.ld-dialog { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 1px solid rgba(212, 175, 55, .5); border-radius: 24px; background: #171110; color: var(--ink); padding: 0; }
.ld-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.ld-x-row { display: flex; justify-content: flex-end; margin: 0; padding: 8px 8px 0; }
.ld-x { width: 44px; height: 44px; border: 0; background: none; color: #a59e92; cursor: pointer; display: grid; place-items: center; }
.ld-x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.ld-order { padding: 0 clamp(18px, 4vw, 28px) 24px; }
.ld-order .ld-eyebrow { text-align: center; }
.ld-order h2 { font-size: 19px; text-align: center; color: #fff; }
.ld-d-price { text-align: center; font-size: 26px; font-weight: 700; margin: 4px 0 16px; color: transparent; background: var(--g-text); -webkit-background-clip: text; background-clip: text; }
.ld-dialog .fine { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; margin: 10px 0 0; }

@media (max-width: 960px) {
  .ld-hero-grid, .ld-split, .ld-flag, .ld-author-card.has-pic { grid-template-columns: 1fr; }
  .ld-hero-text { text-align: center; }
  .ld-hero-text .ld-lead, .ld-optin { margin-inline: auto; }
  .ld-optin { text-align: start; }
  .ld-author-pic { max-width: 260px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .ld-2, .ld-3, .ld-ch-grid, .ld-offer-box { grid-template-columns: 1fr; }
  .ld-steps b { display: none; }
  .ld-steps .on b { display: block; position: absolute; top: 36px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .ld-steps li:first-child.on b { left: 0; transform: none; }
  .ld-steps li:last-child.on b { left: auto; right: 0; transform: none; }
  .ld-steps { margin-bottom: 44px; }
  .ld-actions { justify-content: center; text-align: center; }
  .ld-actions .btn { width: 100%; }
  .ld-codex { padding: 16px; }
  .ld-book { width: 88px; }
  .ld-card { border-radius: 20px; }
  .bare .nav .btn-small { padding-inline: 12px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .ld-dot { animation: none; } }

/* =====================================================================
   รอบ 3 ภาษา + ภาพประกอบ + แอนิเมชัน (20 พ.ย. 69)
   ภาพประกอบโดยฟ็อกซ์: /img/fx-*.webp · ตัวสลับภาษา · เข้าหน้า/เลื่อนจอแบบค่อยๆ ลอยขึ้น
   ===================================================================== */
:lang(zh-Hans) body, :lang(zh-Hans) .btn, :lang(zh-Hans) input, :lang(zh-Hans) textarea, :lang(zh-Hans) select { font-family: 'Prompt', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
:lang(en) .ld-hero h1, :lang(zh-Hans) .ld-hero h1 { line-height: 1.3; }

/* ตัวสลับภาษา */
.bare .nav .nav-r { display: flex; align-items: center; gap: 10px; }
.lang-sw { flex: none; white-space: nowrap; display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .35); background: rgba(8, 7, 7, .7); }
.lang-sw a { min-width: 44px; min-height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: #d6d2c4; text-decoration: none; transition: background .2s, color .2s; }
.lang-sw a:hover { color: var(--gold-3); }
.lang-sw a[aria-current="true"] { background: var(--g-btn); color: #080707; }
.foot-lang { margin: 6px 0 14px; }
@media (max-width: 560px) {
  .bare .nav .nav-r { gap: 6px; }
  .bare .nav .nav-r .btn-small { padding-inline: 12px; font-size: 13px; }
  .lang-sw { padding: 2px; gap: 0; }
  .lang-sw a { min-width: 44px; padding: 0 6px; font-size: 12.5px; }
  .bare .nav .logo b { font-size: 16px; }
}
@media (max-width: 480px) { .bare .nav .nav-r .btn-small { display: none; } }

/* ภาพปกหัวเว็บ: มังกรทองฝั่งขวา + ไล่สีทับให้ตัวหนังสืออ่านง่าย */
.ld-hero { isolation: isolate; }
.ld-hero-bg { position: absolute; inset: -6% 0 -6% 0; z-index: -2; will-change: transform;
  background: linear-gradient(90deg, #080707 0%, rgba(8, 7, 7, .94) 34%, rgba(8, 7, 7, .55) 62%, rgba(8, 7, 7, .35) 100%),
    url('/img/fx-hero-bg.webp') right center / cover no-repeat; }
.ld-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
@media (max-width: 900px) {
  .ld-hero-bg { inset: -4% 0 auto 0; height: 70vh; background: linear-gradient(180deg, rgba(8, 7, 7, .5) 0%, rgba(8, 7, 7, .82) 55%, #080707 100%),
    url('/img/fx-hero-bg.webp') 72% top / cover no-repeat; }
}
/* ละอองทองลอย */
.ld-dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 12% 30%, #f3d06b, transparent), radial-gradient(1px 1px at 72% 18%, #fff3c4, transparent),
    radial-gradient(1.5px 1.5px at 86% 64%, #d4af37, transparent), radial-gradient(1px 1px at 40% 80%, #f3d06b, transparent),
    radial-gradient(2px 2px at 58% 44%, rgba(243, 208, 107, .8), transparent), radial-gradient(1px 1px at 24% 66%, #fff3c4, transparent);
  background-size: 520px 520px; animation: ld-dust 38s linear infinite; }
@keyframes ld-dust { to { background-position: 0 -520px; } }

/* พื้นหลังส่วนเนื้อหาในเล่ม: เส้นดาวและวงล้อโหราศาสตร์จางๆ */
.ld-sky { position: relative; isolation: isolate; }
.ld-sky::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background: linear-gradient(180deg, var(--paper) 0%, rgba(8, 7, 7, .55) 22%, rgba(8, 7, 7, .55) 78%, var(--paper) 100%),
    url('/img/fx-constellation.webp') center / cover no-repeat; }

/* ภาพประกอบ 3 ศาสตร์ */
.ld-pl { padding-top: 0; overflow: hidden; }
.ld-pl-pic { margin: 0 -24px 18px; aspect-ratio: 16 / 11; overflow: hidden; position: relative; }
.ld-pl-pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23, 17, 16, .95)); }
.ld-pl-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.ld-pl:hover .ld-pl-pic img { transform: scale(1.06); }
.ld-pl .ld-num { position: relative; margin-top: -40px; z-index: 1; }

/* แบบทดสอบเลือกเครื่องราง (ขั้น 3) */
.ld-calc { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(18px, 3vw, 34px); align-items: start; overflow: hidden; }
.ld-calc-wheel { position: sticky; top: 96px; }
.ld-calc-wheel img { width: 100%; height: auto; border-radius: 50%; animation: ld-turn 90s linear infinite; filter: drop-shadow(0 0 40px rgba(212, 175, 55, .25)); }
@keyframes ld-turn { to { transform: rotate(360deg); } }
.ld-quiz { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 18px; }
.ld-q { display: flex; gap: 10px; align-items: flex-start; color: #e6e1d2; font-size: 15.5px; margin: 0 0 10px; font-weight: 500; }
.ld-q span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--g-btn); color: #080707; }
.ld-calc-out { animation: ld-pop .45s cubic-bezier(.2, .7, .2, 1); }
.ld-calc-pick:not([hidden]) { animation: ld-pop .45s cubic-bezier(.2, .7, .2, 1); padding: 12px 16px; border-radius: 14px; background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .35); margin-top: 12px; }
@keyframes ld-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.ld-pick.ld-pulse { animation: ld-flash 1.2s ease-out; }
@keyframes ld-flash { 0% { box-shadow: 0 0 0 0 rgba(243, 208, 107, .7); } 100% { box-shadow: 0 0 0 18px rgba(243, 208, 107, 0); } }
@media (max-width: 720px) {
  .ld-calc { grid-template-columns: 1fr; }
  .ld-calc-wheel { position: relative; top: 0; width: 140px; margin: 0 auto -6px; }
}

/* ภาพใหญ่ขั้น 4 */
.ld-banner { max-width: 760px; margin: 0 auto 18px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(212, 175, 55, .3); position: relative; }
.ld-banner img { width: 100%; height: clamp(200px, 32vw, 380px); object-fit: cover; object-position: 60% 40%; display: block; transform: scale(1.04); transition: transform 6s ease-out; }
.ld-banner.rv-in img { transform: none; }
.ld-banner::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(8, 7, 7, .8); pointer-events: none; }

/* พื้นหลังหน้าขั้น 2-5 */
.ld-step { position: relative; isolation: isolate; }
.ld-step-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background: linear-gradient(180deg, rgba(8, 7, 7, .2), var(--paper) 70%), url('/img/fx-constellation.webp') center top / 1400px auto no-repeat; }
.ld-step-5 .ld-step-bg { opacity: 1; background: linear-gradient(180deg, rgba(8, 7, 7, .35), rgba(8, 7, 7, .7) 45%, var(--paper) 90%), url('/img/fx-step5-bg.webp') center top / cover no-repeat; }

/* ---------------- แอนิเมชัน ---------------- */
/* เข้าหน้า: หัวข้อ ฟอร์ม ภาพ ลอยขึ้นตามลำดับ */
.ld-in { animation: ld-rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
@keyframes ld-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
/* เลื่อนจอ: ทีละชิ้น */
.rv-on [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.rv-on [data-rv].rv-in { opacity: 1; transform: none; }
/* หัวข้อทองมีประกายวิ่ง */
@property --ld-sx { syntax: '<percentage>'; inherits: false; initial-value: -30%; }
.ld-shine { background-image: linear-gradient(110deg, #aa8219 0%, #d4af37 calc(var(--ld-sx) - 18%), #fff3c4 var(--ld-sx), #d4af37 calc(var(--ld-sx) + 18%), #aa8219 100%);
  animation: ld-shine 6s ease-in-out infinite; }
@keyframes ld-shine { 0%, 100% { --ld-sx: -30%; } 50% { --ld-sx: 130%; } }
/* ปุ่มหลักมีแสงทองหายใจ */
.btn-glow { position: relative; animation: ld-glow 2.8s ease-in-out infinite; }
@keyframes ld-glow { 0%, 100% { box-shadow: 0 10px 28px -8px rgba(212, 175, 55, .45); } 50% { box-shadow: 0 10px 40px -4px rgba(243, 208, 107, .75); } }
/* คัมภีร์ลอยเบาๆ วงแหวนเข็มทิศหมุน เส้นมังกรค่อยๆ วาด */
.ld-float { animation: ld-float 7s ease-in-out infinite; }
@keyframes ld-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.ld-spin { transform-origin: 180px 110px; animation: ld-turn 40s linear infinite; }
.ld-draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: ld-draw 2.6s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes ld-draw { to { stroke-dashoffset: 0; } }
/* การ์ดยกขึ้นเมื่อชี้ */
.ld-pl, .ld-pick { transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .35s; }
.ld-pl:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(212, 175, 55, .35); }

@media (prefers-reduced-motion: reduce) {
  .ld-in, .ld-shine, .btn-glow, .ld-float, .ld-spin, .ld-dust, .ld-calc-wheel img, .ld-calc-out, .ld-calc-pick, .ld-pick.ld-pulse { animation: none !important; }
  .ld-draw { stroke-dashoffset: 0; animation: none; }
  .rv-on [data-rv] { opacity: 1; transform: none; transition: none; }
  .ld-banner img { transform: none; transition: none; }
}

/* ภาพประกอบชุด /img/art (ทำคู่ขนานจากอีกเครื่อง 20 พ.ย. 69) — ปกอีบุ๊กหนังทอง + เมฆมงคลหลังส่วน 3 ศาสตร์ */
/* ปกหนังทองฝังทับทิม (20 พ.ย. 69 รอบ 2) — ลายเหรียญมังกรครึ่งบน ชื่อเล่มวางบนพื้นหนังครึ่งล่าง */
.ld-book:not(.ld-book-img) { position: relative; overflow: hidden; padding: 0; aspect-ratio: 3 / 4; background: #0e0a09 url('/img/art/ebook-cover-gold.webp') center / cover no-repeat;
  box-shadow: 18px 22px 45px rgba(0, 0, 0, .85), 0 0 34px -6px rgba(243, 208, 107, .45), -2px 0 0 #8e6d18, -6px 2px 0 #e5c158, -9px 4px 0 #705310; }
.ld-book:not(.ld-book-img)::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 244, 200, .7) 48%, transparent 62%) 150% 0 / 220% 100% no-repeat; animation: ld-sheen 5s 2s ease-in-out infinite; }
.ld-book:not(.ld-book-img) .ld-book-in { border: 0; border-radius: 0; justify-content: flex-end; gap: 3px; padding: 0 9% 13%;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 7, 7, .35) 70%, transparent 96%); }
.ld-book:not(.ld-book-img) .ld-book-in small, .ld-book:not(.ld-book-img) .ld-book-n { display: none; }
.ld-book:not(.ld-book-img) .ld-book-in b { font-size: 8.5px; line-height: 1.3; color: #f6dc8a; text-shadow: 0 1px 2px rgba(0, 0, 0, .9);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.ld-book:not(.ld-book-img) .ld-book-in em { font-size: 8px; line-height: 1.4; border-top-color: rgba(243, 208, 107, .45); }
@media (min-width: 761px) { .ld-book { width: 120px; } .ld-book:not(.ld-book-img) .ld-book-in b { font-size: 9.5px; } }
@media (max-width: 640px) { .ld-book { width: 96px; } .ld-book:not(.ld-book-img) .ld-book-in { padding-bottom: 11%; } .ld-book:not(.ld-book-img) .ld-book-in b { -webkit-line-clamp: 2; line-clamp: 2; } }
@media (prefers-reduced-motion: reduce) { .ld-codex-pic img, .ld-codex-glow, .ld-codex-sheen, .ld-book::after { animation: none !important; } }
.ld-pillars { position: relative; isolation: isolate; overflow-x: clip; }
.ld-pillars::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 0; width: min(1100px, 140%); aspect-ratio: 3 / 1; translate: -50% -18%;
  background: url('/img/art/cloud-ornament.webp') 50% 0 / contain no-repeat; opacity: .2; pointer-events: none; animation: ld-drift 16s ease-in-out infinite alternate; }
@keyframes ld-drift { from { transform: translateX(-2%); } to { transform: translateX(2%); } }
.ld-pl-pic img { object-position: 50% 45%; }
@media (max-width: 1000px) { .ld-pl-grid { max-width: 520px; } }
@media (prefers-reduced-motion: reduce) { .ld-pillars::before { animation: none; } }

/* =====================================================================
   ลูกเล่นรอบ 2 (20 พ.ย. 69 งานแถม) — ละอองทอง คัมภีร์เอียงตามเมาส์ แสงตามเคอร์เซอร์
   ขอบทองวิ่งรอบกล่องสำคัญ แสงกวาดบนปุ่ม แถบความคืบหน้า หน้าต่างเด้งเปิด วงล้อธาตุหมุน
   ปิดทั้งหมดเมื่อเครื่องตั้งลดการเคลื่อนไหว · หัวเว็บไม่มี transform/filter
   ===================================================================== */
/* แถบความคืบหน้า (แยกจากหัวเว็บ) */
.ld-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #aa8219, #f3d06b 70%, #fff3c4); box-shadow: 0 0 12px rgba(243, 208, 107, .55); }
/* ละอองทอง (canvas) */
.ld-sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.ld-step-5 .ld-sparks { opacity: .8; }

/* คัมภีร์เอียงตามเมาส์ + แสงสะท้อน */
.ld-tilt { transform: perspective(1200px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.ld-tilt.is-tilt { transition-duration: .18s; }
.ld-codex::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 243, 196, .16), transparent 55%); }
.is-tilt .ld-codex::after { opacity: 1; }

/* ขอบทองวิ่งรอบกล่องสำคัญ: ฟอร์มรับอีบุ๊ก ข้อเสนอขั้น 2 ดวงขั้น 5 */
@property --ld-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ld-optin, .ld-offer, .ld-flag { position: relative; }
.ld-optin::before, .ld-offer::before, .ld-flag::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ld-ang), transparent 0 60%, rgba(212, 175, 55, 0) 62%, #d4af37 76%, #fff3c4 80%, rgba(212, 175, 55, 0) 94%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ld-orbit 7s linear infinite; }
@keyframes ld-orbit { to { --ld-ang: 360deg; } }

/* แสงทองไล่ตามเคอร์เซอร์บนการ์ด */
.ld-ch, .ld-pl, .ld-pick, .ld-author-card, .ld-buybox { position: relative; }
.ld-ch::after, .ld-pl::after, .ld-pick::after, .ld-author-card::after, .ld-buybox::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .4s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(243, 208, 107, .13), transparent 62%); }
.ld-ch:hover::after, .ld-pl:hover::after, .ld-pick:hover::after, .ld-author-card:hover::after, .ld-buybox:hover::after { opacity: 1; }
.ld-ch:hover .ld-num, .ld-pl:hover .ld-num { box-shadow: 0 0 22px rgba(243, 208, 107, .45); border-color: rgba(243, 208, 107, .8); }
.ld-num { transition: box-shadow .35s, border-color .35s, transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .5s; }

/* แสงกวาดบนปุ่มทอง: ชี้แล้วกวาด / ปุ่มหลักกวาดเองเป็นระยะ */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: -55%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(0) skewX(-20deg); }
.btn-gold:hover::after { animation: ld-sweep .9s cubic-bezier(.2, .7, .2, 1); }
.btn-glow::after { animation: ld-sweep-loop 5.5s ease-in-out infinite; }
@keyframes ld-sweep { to { transform: translateX(420%) skewX(-20deg); } }
@keyframes ld-sweep-loop { 0%, 62% { transform: translateX(0) skewX(-20deg); } 82%, 100% { transform: translateX(420%) skewX(-20deg); } }
.btn:active { transform: translateY(0) scale(.97); }

/* หัวข้อส่วน: เส้นทองกางออกสองข้าง + หัวข้อค่อยๆ เผยจากบนลงล่าง */
.ld-head .ld-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ld-head .ld-eyebrow::before, .ld-head .ld-eyebrow::after { content: ''; width: clamp(24px, 5vw, 48px); height: 1px; flex: none;
  background: linear-gradient(90deg, transparent, var(--gold)); transform-origin: 100% 50%; transition: transform 1.1s .3s cubic-bezier(.2, .7, .2, 1); }
.ld-head .ld-eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); transform-origin: 0 50%; }
.rv-on .ld-head[data-rv]:not(.rv-in) .ld-eyebrow::before, .rv-on .ld-head[data-rv]:not(.rv-in) .ld-eyebrow::after { transform: scaleX(0); }
.rv-on .ld-head[data-rv] h2 { clip-path: inset(-20% -5% 100% -5%); transition: clip-path 1.2s .15s cubic-bezier(.6, 0, .2, 1); }
.rv-on .ld-head[data-rv].rv-in h2 { clip-path: inset(-20% -5% -20% -5%); }

/* เลขลำดับเด้งเข้า · ภาพ 3 ศาสตร์ค่อยๆ สว่างขึ้นเหมือนจุดไฟตอนเลื่อนถึง */
.rv-on [data-rv]:not(.rv-in) .ld-num { transform: scale(.4) rotate(-30deg); opacity: 0; }
.rv-on .ld-pl[data-rv]:not(.rv-in) .ld-pl-pic img { filter: brightness(.25) saturate(.4); }
.ld-pl-pic img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter 1.6s .2s ease-out; }

/* พื้นหลังกลุ่มดาวหายใจช้าๆ */
.ld-sky { overflow: clip; }
.ld-sky::before { animation: ld-breathe 26s ease-in-out infinite alternate; }
@keyframes ld-breathe { from { transform: scale(1); } to { transform: scale(1.07) translateY(-1%); } }

/* ราคาทองมีประกาย */
.ld-price b { background-image: linear-gradient(110deg, #aa8219 0%, #d4af37 calc(var(--ld-sx) - 18%), #fff3c4 var(--ld-sx), #d4af37 calc(var(--ld-sx) + 18%), #aa8219 100%);
  animation: ld-shine 5s ease-in-out infinite; }

/* แถบลำดับขั้น: เส้นที่ผ่านแล้วค่อยๆ ลากเป็นทอง ขั้นปัจจุบันมีวงแสงกระเพื่อม */
.ld-steps li.done::after { background: linear-gradient(90deg, var(--gold), rgba(212, 175, 55, .7)); transform-origin: 0 50%; animation: ld-line .8s cubic-bezier(.6, 0, .2, 1) both; }
.ld-steps li.done:nth-child(2)::after { animation-delay: .25s; }
.ld-steps li.done:nth-child(3)::after { animation-delay: .5s; }
.ld-steps li.done:nth-child(4)::after { animation-delay: .75s; }
@keyframes ld-line { from { transform: scaleX(0); } }
.ld-steps .on span { position: relative; }
.ld-steps .on span::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--gold); animation: ld-ring 2.2s ease-out infinite; pointer-events: none; }
@keyframes ld-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

/* นับถอยหลังเหลือไม่ถึง 5 นาที: ตัวเลขแดงกระพริบ */
.ld-urgent .ld-timer b { color: #fca5a5; animation: ld-pulse 1s ease-in-out infinite; }
.ld-urgent .ld-offer-bar { border-color: rgba(239, 68, 68, .55); }

/* แบบทดสอบขั้น 3: ปุ่มเด้งเมื่อเลือก วงล้อธาตุหมุนไปทีละช่อง */
.ld-day { transition: border-color .2s, background .2s, transform .2s cubic-bezier(.2, .7, .2, 1); }
.ld-day:active, .ld-pick:active { transform: scale(.97); }
.ld-day[aria-pressed="true"] { animation: ld-press .4s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes ld-press { 50% { transform: scale(1.08); } }
.ld-calc-wheel { rotate: var(--spin, 0deg); transition: rotate 1.4s cubic-bezier(.2, .7, .2, 1); }

/* หน้าต่างสั่งซื้อเด้งเปิด */
.ld-dialog[open] { animation: ld-dlg .45s cubic-bezier(.2, .7, .2, 1); }
.ld-dialog[open]::backdrop { animation: ld-fade .35s ease; }
@keyframes ld-dlg { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes ld-fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ld-optin::before, .ld-offer::before, .ld-flag::before { animation: none; opacity: .5; }
  .btn-gold::after, .ld-sky::before, .ld-price b, .ld-steps li.done::after, .ld-steps .on span::after, .ld-urgent .ld-timer b,
  .ld-day[aria-pressed="true"], .ld-dialog[open], .ld-dialog[open]::backdrop { animation: none !important; }
  .ld-tilt, .ld-calc-wheel { transform: none; rotate: none; transition: none; }
  .ld-progress, .ld-sparks { display: none; }
}

/* เส้นทาง 5 ขั้นบนหน้าแรก — ขั้น 1-4 เรียงแถว ขั้น 5 ดวงพิชัยสงครามเป็นการ์ดใหญ่ (ขั้นสูงสุด) */
.ld-path-list { list-style: none; padding: 0; margin: 0 auto; max-width: 1180px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 20px); }
.ld-path-list > li { padding: 22px; box-shadow: none; display: flex; flex-direction: column; gap: 10px; position: relative; }
.ld-path-list > li b { color: var(--gold-3); font-size: 17px; }
.ld-path-list > li p { margin: 0; color: #ccc6ba; font-size: 15px; }
.ld-path-final { grid-column: 1 / -1; display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(18px, 3vw, 36px) !important;
  border-color: rgba(212, 175, 55, .6); box-shadow: 0 0 40px rgba(212, 175, 55, .18) !important; }
.ld-path-final .ld-pill { margin: 0 0 10px; }
.ld-path-final h3 { font-size: clamp(22px, 2.6vw, 30px); color: var(--gold-3); margin: 0 0 10px; }
.ld-path-list > li.ld-path-final p { font-size: 16px; }
.ld-path-pic { border-radius: 16px; overflow: hidden; aspect-ratio: 1400 / 788; }
.ld-path-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-path-list > li .ld-path-note { display: flex; gap: 8px; align-items: center; margin-top: 12px; color: var(--gold); font-size: 14px; }
.ld-path-note svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ld-path .ld-center { margin-top: clamp(22px, 3vw, 34px); }
@media (max-width: 960px) { .ld-path-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ld-path-list, .ld-path-final { grid-template-columns: 1fr; } }

/* หน้าขอบคุณหลังรับอีบุ๊ก (ขั้น 2) */
.ld-welcome { padding: clamp(20px, 3vw, 30px); }
.ld-welcome .ld-welcome-h { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 8px; }
.ld-welcome .ld-welcome-h svg { width: 26px; height: 26px; margin: 0; }
.ld-welcome .ld-welcome-next { display: block; margin: 16px 0 0; color: #e5e7eb; font-size: 15px; text-align: center; }

/* =====================================================================
   แก้ด่วน 1192 (21 พ.ย. 69): โทนดำ ทอง เหลือง แดง ตามพรีวิวของลูกค้า + โหมดแจกอีบุ๊กอย่างเดียว
   ===================================================================== */
:root { --red: #d92323; --red-deep: #7f1d1d; }
.ld-announce, .topbar { background: linear-gradient(90deg, #450a0a, #7f1d1d, #450a0a); border-bottom-color: rgba(245, 200, 76, .25); color: #fef3c7; }
.ld-announce .ld-chip { background: #fbbf24; color: #1c0a02; }
.ld-hero { background: radial-gradient(circle at 50% 8%, rgba(217, 35, 35, .30) 0%, rgba(125, 14, 14, .12) 44%, transparent 78%); }
.ld-pill, .ld-badge { background: rgba(127, 29, 29, .45); border-color: rgba(217, 35, 35, .55); color: #fde68a; }
.ld-sky { background: radial-gradient(circle at 50% 0%, rgba(217, 35, 35, .14), transparent 60%); }

/* หน้าขอบคุณ (โหมดแจกอีบุ๊กอย่างเดียว) */
.ld-welcome-only { margin-top: clamp(16px, 4vw, 48px); }
.ld-welcome-only .ld-welcome-next a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); text-decoration: underline; text-underline-offset: 4px; }
.ld-welcome-only .ld-welcome-next svg { margin: 0; stroke: currentColor; }

/* ขั้น 5 แบบหน้าแนะนำ ไม่มีราคา */
.ld-step-info .ld-head { text-align: center; }
/* รูปจากลูกค้ากว้าง 1024px — จำกัดขนาดแสดงไม่ให้แตกบนจอความละเอียดสูง */
.ld-s5-pic { max-width: 512px; margin: 0 auto clamp(20px, 3vw, 32px); border-radius: 20px; overflow: hidden; border: 1px solid rgba(238, 190, 78, .5);
  box-shadow: 0 25px 65px -15px rgba(218, 165, 55, .3); aspect-ratio: 1024 / 577; }
.ld-s5-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ld-s5-info { background: radial-gradient(circle at 50% 0%, rgba(218, 165, 55, .16) 0%, rgba(18, 14, 8, .97) 58%, #050404 100%);
  border: 1px solid rgba(238, 190, 78, .5); padding: clamp(22px, 4vw, 44px); }
.ld-s5-info .ld-prose p { font-size: clamp(16px, 1.8vw, 18px); line-height: 1.9; }
.ld-kinds { list-style: none; padding: 0; margin: clamp(20px, 3vw, 30px) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ld-kind { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 16px;
  background: rgba(8, 7, 7, .6); border: 1px solid rgba(212, 175, 55, .35); }
.ld-kind:first-child { border-color: rgba(217, 35, 35, .6); }
.ld-kind small { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: #7f1d1d; color: #fde68a; font-size: 14px; font-weight: 600; }
.ld-kind b { color: var(--gold-3); font-size: 18px; line-height: 1.5; }
.ld-kind p { margin: 0; color: #d2cdc2; }
.ld-kind .ld-num { width: 40px; height: 40px; }
@media (max-width: 640px) { .ld-kinds { grid-template-columns: 1fr; } }

/* ข้อความปิดท้ายหน้า (ตามโค้ดตัวอย่าง) */
.ld-closing { text-align: center; padding-block: clamp(48px, 7vw, 88px); }
.ld-closing-line { display: block; width: 72px; height: 3px; margin: 0 auto 28px; border-radius: 3px; background: var(--g-btn); }
.ld-closing-h { font-weight: 700; font-size: clamp(23px, 3.2vw, 36px); line-height: 1.6; color: #fff; margin: 0 auto 28px; max-width: 26em; text-wrap: balance; }
.ld-closing-note { max-width: 36em; margin: 0 auto; padding: 20px 24px; border-radius: 18px; border: 1px solid rgba(212, 175, 55, .25); background: rgba(8, 7, 7, .6);
  color: #b3aca0; font-size: 15px; line-height: 1.8; }
.ld-closing-note b { color: var(--gold-3); }
