/* เลเวีย จิวเวอรี่ — ทิศทาง A มินิมอลตัวอักษรนำ: พื้นครีมอุ่น ตัวหนังสือน้ำตาลเข้ม สีเน้นโรสโกลด์สีเดียว
   เส้นบาง 1px แบ่งส่วน · เลขกำกับส่วน 01 / · รายการเป็นแถว ไม่ใช้การ์ดมีกรอบ · มุมแทบไม่โค้ง */
:root {
  --paper: #f8f2eb; --paper-2: #f2e8dd; --ink: #2b201a; --muted: #6b5a4f; --line: #dccab9;
  --accent: #9a6545; --accent-ink: #fff; --dark: #33241c; --dark-2: #3f2d23;
  --font: 'IBM Plex Sans Thai', 'Noto Sans Thai', sans-serif; --wrap: 1200px; --r: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--font); }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0; font-weight: 500; }
p { margin: 0 0 .9em; }
svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: var(--r);
  font: 500 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.btn:hover { background: #84553a; border-color: #84553a; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-off, .btn:disabled { background: #cfc4ba; border-color: #cfc4ba; color: #6b5f56; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- แถบบน + หัวเว็บ (ห้าม backdrop-filter/transform/filter ที่หัวเว็บ — เมนูมือถือต้องเต็มจอ) ---------- */
.topbar { background: var(--dark); color: #eadccd; font-size: 14px; }
.topbar .wrap { display: flex; gap: 22px; justify-content: center; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.topbar .tb-tag { color: #d9b896; }
.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: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo-img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.logo-name { font-size: 19px; font-weight: 500; letter-spacing: .01em; }
.menu { display: flex; gap: 26px; font-size: 16px; }
.menu > a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.menu > a:hover, .menu > a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.menu-foot { display: none; }
.nav-act { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; text-decoration: none; }
.cart-btn svg { width: 24px; height: 24px; }
.cart-n { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: #fff; font-size: 12px; line-height: 19px; text-align: center; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 60; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), top .25s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
body.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
body.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 0; z-index: 50; background: var(--paper); flex-direction: column; gap: 0;
    padding: 96px 28px 40px; font-size: 24px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .menu > a { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .menu-foot { display: grid; gap: 12px; margin-top: 28px; font-size: 17px; }
  .menu-foot a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--accent); }
  body.nav-open { overflow: hidden; }
  body.nav-open .menu { visibility: visible; opacity: 1; }
  .nav-act { position: relative; z-index: 60; }
  .topbar .tb-tag { display: none; }
}

/* ---------- หัวข้อส่วน 01 / ---------- */
.sec { padding: 72px 0; }
.sec-tight { padding: 40px 0 72px; }
.sec + .sec { padding-top: 24px; }
.sec-head { margin-bottom: 36px; }
.sec-title { display: flex; align-items: baseline; gap: 14px; }
.sec-no { color: var(--accent); font-size: 18px; font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sec-title h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 400; }
.sec-rule { flex: 1; height: 1px; background: var(--line); align-self: center; min-width: 24px; }
.sec-intro { max-width: 680px; color: var(--muted); margin: 14px 0 0; }
.sec-more { margin: 36px 0 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- ภาพหัวเว็บ: ตัวหนังสือใหญ่ซ้าย ภาพจริงขวา ---------- */
.hero { padding: 40px 0 28px; }
.hero-track { display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1.15fr; gap: 48px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.hero-slide:first-child, .hero-slide.on { opacity: 1; visibility: visible; }
.hero-track:has(.on) .hero-slide:not(.on) { opacity: 0; visibility: hidden; }
.hero h1, .hero .h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 400; line-height: 1.3; text-wrap: balance; letter-spacing: -.005em; margin-bottom: 20px; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 30em; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tel { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; text-decoration: none; color: var(--muted); }
.hero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 50%; }
/* รูปแบบอื่นที่ร้านเลือกได้ในหลังบ้าน: มินิมอล/แถบเตี้ย/นิตยสาร/กล่อง = ข้อความบน รูปกว้างล่าง · เต็มจอ = ข้อความทับรูป */
.hero[data-layout="minimal"] .hero-slide, .hero[data-layout="compact"] .hero-slide,
.hero[data-layout="editorial"] .hero-slide, .hero[data-layout="bento"] .hero-slide { grid-template-columns: 1fr; gap: 28px; }
.hero[data-layout="minimal"] .hero-pic img, .hero[data-layout="editorial"] .hero-pic img, .hero[data-layout="bento"] .hero-pic img { aspect-ratio: 21 / 8; }
.hero[data-layout="compact"] .hero-pic img { aspect-ratio: 4 / 1; }
.hero[data-layout="full"] .hero-slide, .hero[data-layout="immersive"] .hero-slide { grid-template-columns: 1fr; }
.hero[data-layout="full"] .hero-text, .hero[data-layout="immersive"] .hero-text { grid-area: 1 / 1; z-index: 1; align-self: end; padding: 32px;
  background: linear-gradient(transparent, rgba(43, 32, 26, .55)); color: #fff; }
.hero[data-layout="full"] .hero-pic, .hero[data-layout="immersive"] .hero-pic { grid-area: 1 / 1; }
.hero[data-layout="full"] .hero-sub, .hero[data-layout="immersive"] .hero-sub, .hero[data-layout="full"] .hero-tel, .hero[data-layout="immersive"] .hero-tel { color: #f3e7da; }
.hero-dots { display: flex; gap: 10px; margin-top: 20px; }
.hero-dots button { width: 36px; height: 24px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.hero-dots button::after { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.hero-dots button[aria-current="true"]::after { background: var(--accent); }

/* ---------- แถบความมั่นใจ ---------- */
.sec-trust { padding: 8px 0 32px; }
.trust { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust li { display: flex; gap: 14px; align-items: center; padding: 6px 22px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust-ic { width: 46px; height: 46px; border: 1px solid var(--accent); border-radius: 50%; display: grid; place-items: center; color: var(--accent); flex: none; }
.trust-ic svg { width: 22px; height: 22px; }
.trust h3 { font-size: 16px; font-weight: 500; }
.trust p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- ขั้นตอน: เลขใหญ่ + เส้นแนวตั้ง ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { display: flex; gap: 16px; padding: 8px 24px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 0; }
.step-no { font-size: 44px; font-weight: 300; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.steps p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- แถวตาราง ---------- */
.trows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.trows li { display: grid; grid-template-columns: 56px 40px 1fr; gap: 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.trow-no { color: var(--accent); font-size: 18px; padding-top: 2px; }
.trow-ic { color: var(--accent); padding-top: 4px; } .trow-ic svg { width: 24px; height: 24px; }
.trows h3 { font-size: 19px; font-weight: 500; }
.trows p { margin: 4px 0 0; color: var(--muted); }

/* ---------- รูป+ข้อความ ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.pic-right .split-pic { order: 2; }
.split-pic { margin: 0; }
.split-pic img { width: 100%; }
.split-text { font-size: 18px; }
.split-text p:first-child { font-size: clamp(20px, 2vw, 24px); line-height: 1.6; color: var(--ink); }
.split-text p { color: var(--muted); }
.split-text .btn { margin-top: 12px; }

/* ---------- สินค้าแนะนำ ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.feature-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.feature-name { font-size: clamp(30px, 3.6vw, 48px); font-weight: 400; }
.feature-price { font-size: 30px; color: var(--accent); margin: 10px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 300; }
.feature-price s, .pc-price s, .pd-price s { color: var(--muted); font-size: .6em; }
.feature-short { font-size: 18px; color: var(--muted); }
.feature-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.feature-note { display: flex; gap: 8px; align-items: center; margin-top: 20px; font-size: 15px; color: var(--muted); }

/* ---------- หมวด + กริดสินค้า ---------- */
.cats { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cats a { display: block; text-decoration: none; }
.cat-pic { display: block; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.cat-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cats a:hover img { transform: scale(1.04); }
.cat-name { display: block; padding: 12px 0 0; font-size: 18px; text-align: center; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.pc { display: flex; flex-direction: column; }
.pc-pic { display: block; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.pc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pc:hover .pc-pic img { transform: scale(1.04); }
.pc-noimg { display: block; width: 100%; height: 100%; }
.pc-body { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-body h3 { font-size: 17px; font-weight: 500; }
.pc-body h3 a { text-decoration: none; }
.pc-body p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }
.pc-price { font-size: 17px; color: var(--accent); }
.pc-sold { font-size: 15px; color: var(--muted); }
.pc.is-sold .pc-pic img { opacity: .55; }
.pc-cta { margin-top: auto; padding-top: 8px; font-size: 14px; text-decoration: none; color: var(--ink); border-top: 1px solid var(--line); }
.plist { border-top: 1px solid var(--line); }
.plist-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.plist-pic img { width: 96px; height: 96px; object-fit: cover; }
.plist-end { text-align: right; display: grid; gap: 4px; }
.plist-end a { color: var(--accent); }

/* ---------- แกลเลอรี (ไม่ครอป สูงไม่เท่ากัน) ---------- */
.gal { columns: var(--cols, 3); column-gap: 16px; }
.gal figure { margin: 0 0 16px; break-inside: avoid; }
.gal img { width: 100%; height: auto; }
.gal figcaption { font-size: 14px; color: var(--muted); padding-top: 8px; }

/* ---------- รีวิว ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.quote { margin: 0; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.quote:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.stars { display: flex; gap: 2px; color: var(--accent); margin-bottom: 12px; }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.quote blockquote { margin: 0 0 16px; font-size: 20px; line-height: 1.6; }
.quote figcaption { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { color: var(--ink); font-weight: 500; display: block; }

/* ---------- คำถาม ---------- */
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 14px; height: 14px; position: relative; flex: none; margin-top: 8px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: var(--accent); transition: transform .25s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq-a { color: var(--muted); margin: 0; padding: 0 40px 22px 0; }

/* ---------- แถบชวนติดต่อ + ติดต่อ ---------- */
.cta { padding: 64px 0; text-align: center; }
.cta-dark { background: var(--dark); color: #f3e7da; }
.cta-soft { background: var(--paper-2); }
.cta-text { font-size: clamp(24px, 3vw, 36px); font-weight: 300; max-width: 800px; margin: 0 auto 24px; }
.contact-band { background: var(--dark); color: #eadccd; padding: 72px 0; }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; color: #fff; margin-bottom: 14px; }
.contact-note { color: #cdb9a6; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--dark-2); }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--dark-2); }
.contact-list svg { color: #d9b896; }
.contact-list a { text-decoration: none; }
.hours { list-style: none; padding: 0; margin: 0; font-size: 15px; color: #cdb9a6; }
.hours li { display: flex; justify-content: space-between; max-width: 320px; }
.lead { display: grid; gap: 14px; }
.lead label, .checkout label, .lookup label, .slip label, .coupon label, .sort label { display: block; font-size: 14px; margin-bottom: 6px; }
input, textarea, select { width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink); background: #fffdfa; border: 1px solid var(--line);
  border-radius: var(--r); padding: 11px 14px; min-height: 48px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3402a; }
.contact-band input, .contact-band textarea { background: #fbf6f0; border-color: transparent; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.msg { min-height: 1.5em; margin: 8px 0 0; font-size: 15px; }
.msg.ok { color: #2f6b3f; } .msg.bad { color: #b3402a; }
.contact-band .msg.ok { color: #b9e0b9; } .contact-band .msg.bad { color: #ffb4a3; }
.map-wrap { margin-top: 40px; }
.map { width: 100%; height: 320px; border: 0; filter: sepia(.25); }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: #261a14; color: #cdb9a6; padding: 56px 0 96px; font-size: 15px; }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand .logo-img { margin-bottom: 12px; }
.foot-brand b { display: block; color: #fff; font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.foot h2 { font-size: 15px; color: #d9b896; font-weight: 500; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; } .foot a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border: 1px solid #5a4335; border-radius: 50%; display: grid; place-items: center; }
.foot-copy { grid-column: 1 / -1; border-top: 1px solid #3f2d23; padding-top: 20px; font-size: 13px; }
.float-contact { display: none; }

/* ---------- หัวหน้าย่อย ---------- */
.page-head { padding: 44px 0 8px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 400; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.page-sub { color: var(--muted); margin-top: 8px; }
.order-no { color: var(--accent); font-weight: 500; letter-spacing: .02em; }
.rt { max-width: 760px; } .rt-wide { max-width: none; }

/* ---------- หน้ารวมสินค้า ---------- */
.filters { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a { text-decoration: none; padding: 8px 16px; border: 1px solid var(--line); font-size: 15px; border-radius: var(--r); }
.chips a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 10px; } .sort label { margin: 0; white-space: nowrap; } .sort select { width: auto; }
.empty { text-align: center; padding: 48px 0; color: var(--muted); display: grid; gap: 16px; justify-items: center; }

/* ---------- รายละเอียดสินค้า ---------- */
.pd-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; margin-top: 12px; }
.pd-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.pd-thumbs button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; }
.pd-thumbs button[aria-current="true"] { border-color: var(--accent); }
.pd-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pd-info { position: sticky; top: 96px; }
.pd-cat { color: var(--accent); font-size: 15px; margin-bottom: 6px; }
.pd-info h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; }
.pd-price { font-size: 28px; color: var(--accent); font-weight: 300; margin: 10px 0 14px; }
.pd-short { color: var(--muted); }
.pd-meta { margin: 18px 0; border-top: 1px solid var(--line); }
.pd-meta div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pd-meta dt { color: var(--muted); } .pd-meta dd { margin: 0; }
.pd-opts { border: 0; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.pd-opts legend { font-size: 15px; margin-bottom: 8px; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); cursor: pointer; }
.opt input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); }
.opt.is-out span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.pd-buy { display: flex; gap: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1px solid var(--ink); height: 48px; }
.qty button { width: 44px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); }
.qty input { width: 52px; border: 0; text-align: center; padding: 0; min-height: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; align-items: center; } .qty-sm b { min-width: 32px; text-align: center; font-weight: 500; }
.pd-assure { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.pd-assure li { display: flex; gap: 10px; align-items: center; } .pd-assure svg { color: var(--accent); }
.pd-desc { border-top: 1px solid var(--line); padding-top: 20px; }
.pd-desc h2 { font-size: 19px; margin-bottom: 10px; }

/* ---------- ตะกร้า / checkout / ชำระเงิน ---------- */
.lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lines img { width: 56px; height: 56px; object-fit: cover; }
.lines small { display: block; color: var(--muted); font-size: 14px; }
.lines a { text-decoration: none; }
.lines-big li { grid-template-columns: 88px 1fr auto auto auto; }
.lines-big img { width: 88px; height: 88px; }
.rm { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; min-height: 44px; }
.totals { margin: 16px 0; }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals dt { color: var(--muted); } .totals dd { margin: 0; }
.totals .grand { border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 12px; font-size: 22px; }
.totals .grand dt { color: var(--ink); } .totals .grand dd { color: var(--accent); }
.hint { color: var(--accent); }
.cart-go { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; margin-top: 20px; }
.cart-app { max-width: 960px; }
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.co-main { display: grid; gap: 16px; }
.co-main h2, .co-sum h2 { font-size: 22px; font-weight: 400; display: flex; gap: 10px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-top: 10px; }
.co-sum { background: #fffaf4; border: 1px solid var(--line); padding: 26px; position: sticky; top: 96px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); padding: 16px; cursor: pointer; background: #fffdfa; }
.pay-opt input { width: 20px; height: 20px; min-height: 0; margin-top: 4px; accent-color: var(--accent); flex: none; }
.pay-opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pay-opt b { display: block; font-weight: 500; } .pay-opt small { color: var(--muted); font-size: 14px; }
.coupon .row { display: flex; gap: 8px; } .coupon .btn { flex: none; }
.co-note { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 14px; } .co-note svg { color: var(--accent); margin-top: 4px; }
.pay-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.status-pill { display: inline-block; padding: 8px 16px; border: 1px solid var(--accent); color: var(--accent); font-weight: 500; margin-bottom: 20px; }
.status-pill[data-status="cancelled"] { border-color: #b3402a; color: #b3402a; }
.pay-box { border-top: 1px solid var(--ink); padding: 22px 0 28px; }
.pay-box h2 { font-size: 22px; font-weight: 400; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.amount { color: var(--accent); font-size: 26px; }
.pay-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.qr { max-width: 280px; } .qr svg { width: 100%; height: auto; stroke: none; }
.pp { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.pp .qr { width: 220px; background: #fff; padding: 8px; }
.accounts { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line); }
.accounts li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.accounts .bank { color: var(--muted); font-size: 14px; }
.accno { font-size: 24px; letter-spacing: .04em; font-weight: 500; }
.accounts .copy { grid-row: 1 / span 3; grid-column: 2; align-self: center; }
.copy { border: 1px solid var(--ink); background: none; padding: 8px 14px; cursor: pointer; font: inherit; font-size: 14px; min-height: 44px; }
.small { font-size: 14px; color: var(--muted); }
.slip { display: grid; gap: 12px; margin-top: 16px; max-width: 420px; }
.slip img { max-height: 320px; width: auto; border: 1px solid var(--line); }
.h-sm { font-size: 19px; font-weight: 500; margin: 28px 0 12px; }
.tl { list-style: none; padding: 0; margin: 0 0 20px; border-left: 1px solid var(--line); }
.tl li { padding: 0 0 16px 20px; position: relative; }
.tl li::before { content: ''; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.tl b { display: block; font-weight: 500; } .tl span { font-size: 14px; color: var(--muted); }
.ship-to { margin: 18px 0; font-size: 15px; } .ship-to h3 { font-size: 15px; color: var(--muted); font-weight: 400; }
.lookup { display: grid; gap: 14px; margin-bottom: 28px; } .lookup .btn { justify-self: start; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 70; font-size: 15px; max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #e9c9a8; margin-left: 8px; }

/* ---------- รูปขนาดเต็ม ---------- */
.light { border: 0; padding: 0; background: none; max-width: 92vw; max-height: 92vh; }
.light::backdrop { background: rgba(30, 20, 15, .85); }
.light img { max-height: 88vh; width: auto; margin: 0 auto; }
.light button { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: var(--paper); font-size: 24px; cursor: pointer; }

/* ---------- บทความ (ถ้าเปิด) ---------- */
.a-wrap { max-width: 760px; } .a-meta { color: var(--muted); font-size: 14px; }
.a-cover, .a-fig { margin: 24px 0; } .a-lead { font-size: 20px; }
.a-toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 20px 0; }
.a-body h2 { font-size: 26px; margin: 32px 0 12px; } .a-body h3 { font-size: 21px; margin: 24px 0 10px; }
.a-body blockquote { border-left: 2px solid var(--accent); margin: 20px 0; padding-left: 20px; }
.a-embed { margin-top: 32px; } .a-cta { margin: 28px 0; }
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.card-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .card-body { padding-top: 10px; }

/* ---------- ปรากฏตอนเลื่อนถึง ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- จอแท็บเล็ต / มือถือ ---------- */
@media (max-width: 1023px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .quote:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 767px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .sec { padding: 52px 0; } .sec + .sec { padding-top: 12px; }
  .hero { padding: 20px 0 16px; }
  .hero-slide { grid-template-columns: 1fr; gap: 22px; }
  .hero-pic { order: -1; margin: 0 -20px; }
  .hero-pic img { aspect-ratio: 4 / 3; max-height: 62vh; }
  .hero h1, .hero .h1 { font-size: clamp(32px, 9vw, 40px); margin-bottom: 12px; }
  .hero-sub { margin-bottom: 20px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .trust { grid-template-columns: 1fr 1fr; padding: 4px 0; }
  .trust li { padding: 14px 8px; gap: 10px; flex-direction: column; text-align: center; }
  .trust li + li { border-left: 0; }
  .trust li:nth-child(even) { border-left: 1px solid var(--line); }
  .trust li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 14px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .split, .feature, .contact, .pd-grid, .checkout, .pay-grid { grid-template-columns: 1fr; gap: 28px; }
  .split.pic-right .split-pic { order: 0; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 36px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 28px 10px; }
  .pc-body h3 { font-size: 15px; }
  .gal { columns: 2; column-gap: 10px; } .gal figure { margin-bottom: 10px; }
  .quotes { grid-template-columns: 1fr; }
  .quote, .quote:nth-child(even) { padding: 22px 0 !important; border-left: 0 !important; }
  .trows li { grid-template-columns: 40px 1fr; } .trow-ic { display: none; }
  .f2 { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; gap: 28px; }
  .pd-info, .co-sum { position: static; }
  .lines-big li { grid-template-columns: 64px 1fr auto; }
  .lines-big img { width: 64px; height: 64px; }
  .lines-big li > b { grid-column: 2; }
  .lines-big .rm { grid-column: 3; grid-row: 2; }
  .float-contact { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); }
  .float-contact .btn { flex: 1; min-height: 46px; }
  .contact-band, .cta { padding: 52px 0; }
  .filters { align-items: stretch; flex-direction: column; } .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chips a { white-space: nowrap; }
  .accno { font-size: 20px; }
}
@media (max-width: 479px) { .sec-no { font-size: 15px; } .sec-title { gap: 10px; } }

/* ---------- พื้นที่กดอย่างน้อย 44px (มือถือ) ---------- */
.skip { min-height: 44px; display: inline-flex; align-items: center; }
.hero-dots button { width: 44px; height: 44px; } .hero-dots button::after { top: 21px; }
.hero-tel, .feature-note a, .pc-cta, .contact-list a, .foot a, .topbar a, .menu-foot a, .crumbs a, .pd-meta a, .lines a, .small a, .tl a {
  min-height: 44px; display: inline-flex; align-items: center; }
.pc-body h3 a { display: block; padding: 10px 0; margin: -10px 0; }
.foot ul { gap: 0; }
.chips a { min-height: 44px; display: inline-flex; align-items: center; }
/* สระไทยบน-ล่างไม่ชนกัน: line-height อย่างน้อย 1.4 ทุกจุด */
h1, h2, h3, .hero h1, .hero .h1 { line-height: 1.45; }
.btn { line-height: 1.4; }
.step-no { line-height: 1.4; }
.trust p, .lines small, .pc-body p, .steps p { line-height: 1.6; }
.pc-body h3 a { display: flex; align-items: center; min-height: 44px; padding: 0; margin: 0; }
.feature-note a { min-width: 44px; justify-content: center; }
.social a { width: 44px; height: 44px; }
.crumbs a { min-width: 44px; justify-content: center; padding: 0 4px; }
#co-items a, .empty a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.filters > * { min-width: 0; max-width: 100%; }
@media (max-width: 767px) { .chips { width: 100%; } }

/* =====================================================================
   ชั้นหรูหรา (รอบแก้เจ้าของ 2026-12-03): โทนเดิม ครีม-น้ำตาล-โรสโกลด์ เพิ่มมิติ แสง และการเคลื่อนไหว
   หัวเว็บ .nav ห้ามมี transform/filter/backdrop-filter (เมนูมือถือต้องเต็มจอ)
   ===================================================================== */
:root { --gold: #c89b72; --gold-2: #e8cfb2; --serif: 'Cormorant Garamond', 'IBM Plex Sans Thai', serif;
  --grad: linear-gradient(135deg, #a46d4c 0%, #7d4c32 100%); --round: 22px; }
::selection { background: var(--accent); color: #fff; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ม่านโลโก้ตอนเปิดเว็บครั้งแรก */
.preload { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--paper);
  transition: opacity .8s var(--ease), visibility .8s; animation: plOut .7s 2.6s forwards; pointer-events: none; }
.pl-skip .preload { display: none; }
.pl-done .preload { opacity: 0; visibility: hidden; }
.pl-in { display: grid; justify-items: center; gap: 14px; }
.pl-in .logo-img { width: 88px; height: 88px; animation: plLogo 1.2s var(--ease) both; }
.pl-name { font-size: 18px; letter-spacing: .3em; color: var(--accent); animation: plLogo 1.2s .15s var(--ease) both; }
.pl-bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: plBar 1.4s var(--ease) both; }
@keyframes plOut { to { opacity: 0; visibility: hidden; } }
@keyframes plLogo { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes plBar { from { transform: scaleX(0); } }

/* แถบความคืบหน้าการอ่าน */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 90; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--accent), var(--gold)); transform: scaleX(0); transform-origin: left; }

/* ปุ่ม: ทรงแคปซูล ไล่สีโรสโกลด์ แสงวิ่ง ขยับตามเมาส์ */
.btn { border-radius: 999px; position: relative; overflow: hidden; isolation: isolate; letter-spacing: .01em;
  transform: translate(var(--bx, 0), var(--by, 0)); transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn:not(.btn-ghost):not(.btn-light):not(.btn-off):not(:disabled) { background: var(--grad); border-color: transparent;
  box-shadow: 0 10px 24px -14px rgba(125, 76, 50, .9); }
.btn:not(.btn-ghost):not(.btn-light):not(.btn-off):not(:disabled):hover { box-shadow: 0 16px 30px -14px rgba(125, 76, 50, .95); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-ghost { border-color: rgba(43, 32, 26, .35); background: rgba(255, 253, 250, .5); }
.btn-ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(200, 155, 114, .35) 50%, transparent 70%); }
.btn:active { transform: translate(var(--bx, 0), var(--by, 0)) scale(.97); }

/* แถบบน + หัวเว็บ */
.topbar { background: linear-gradient(90deg, #2a1d16, #3b2a20 50%, #2a1d16); }
.topbar .tb-tag { background: linear-gradient(90deg, #d9b896, #f3dcc2, #d9b896); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { background: rgba(248, 242, 235, .94); border-bottom-color: transparent; transition: box-shadow .35s, background .35s; }
.nav .wrap { transition: min-height .35s var(--ease); }
.nav.scrolled { background: rgba(250, 245, 239, .98); box-shadow: 0 10px 30px -22px rgba(60, 35, 20, .55); }
.nav.scrolled .wrap { min-height: 62px; }
.logo-img { box-shadow: 0 0 0 1px rgba(200, 155, 114, .45), 0 6px 16px -8px rgba(125, 76, 50, .6); }
.logo-name { font-weight: 400; letter-spacing: .04em; }
@media (min-width: 961px) {
  .menu > a { position: relative; border: 0; }
  .menu > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--accent);
    transform: scaleX(0); transition: transform .35s var(--ease); }
  .menu > a:hover::after, .menu > a[aria-current="page"]::after { transform: scaleX(1); }
}
@media (max-width: 960px) {
  .menu { background: radial-gradient(120% 60% at 100% 0, #f3e3d2, var(--paper) 60%); }
  body.nav-open .menu > a { animation: menuIn .55s var(--ease) both; }
  body.nav-open .menu > a:nth-child(2) { animation-delay: .05s; } body.nav-open .menu > a:nth-child(3) { animation-delay: .1s; }
  body.nav-open .menu > a:nth-child(4) { animation-delay: .15s; } body.nav-open .menu > a:nth-child(5) { animation-delay: .2s; }
  body.nav-open .menu > a:nth-child(6) { animation-delay: .25s; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(18px); } }

/* หัวข้อส่วน: เลขตัวเอียงสีทอง เส้นวิ่งออก หัวข้อเผยจากล่าง */
.sec-no { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--accent); }
.sec-title h2 { font-size: clamp(28px, 3.8vw, 50px); font-weight: 300; letter-spacing: -.01em; }
.sec-rule { background: linear-gradient(90deg, var(--gold), rgba(200, 155, 114, 0)); }
.sec-head.reveal .sec-rule { transform: scaleX(0); transform-origin: left; transition: transform 1.3s .25s var(--ease); }
.sec-head.reveal h2 { clip-path: inset(0 0 100% 0); transition: clip-path 1s .1s var(--ease); }
.sec-head.in .sec-rule { transform: none; }
.sec-head.in h2 { clip-path: inset(-30% -5% -30% -5%); }

/* ---------- หัวเว็บใหญ่ ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 28px;
  background: radial-gradient(70% 90% at 85% 20%, #f1dfcc 0%, rgba(241, 223, 204, 0) 60%),
    radial-gradient(60% 70% at 0% 100%, #efe0d0 0%, rgba(239, 224, 208, 0) 70%), var(--paper); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--hx, 70%) var(--hy, 30%), rgba(232, 200, 165, .45), transparent 70%); }
.hero-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: orb 18s ease-in-out infinite alternate; }
.orb-1 { width: 420px; height: 420px; right: -80px; top: -120px; background: #e9c7a6; }
.orb-2 { width: 300px; height: 300px; left: 30%; bottom: -160px; background: #f0d6c6; animation-duration: 22s; }
.orb-3 { width: 220px; height: 220px; left: -60px; top: 20%; background: #ead2b9; animation-duration: 26s; }
@keyframes orb { to { transform: translate(40px, 30px) scale(1.12); } }
.sparkle { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-slide { grid-template-columns: 1fr 1.12fr; gap: 64px; min-height: min(620px, calc(100svh - 230px)); }
.hero h1, .hero .h1 { font-weight: 300; font-size: clamp(40px, 5vw, 70px); letter-spacing: -.015em;
  background-image: repeating-linear-gradient(100deg, var(--ink) 0, var(--ink) 1000px, #b07a55 1080px, #e2bf98 1120px, var(--ink) 1200px, var(--ink) 1600px);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s 1.4s ease-in-out infinite; }
/* แสงทองวิ่งผ่านตัวอักษร — ไล่ตำแหน่งเป็นพิกเซล 1 รอบลาย (ไม่ยืดพื้นหลัง) */
@keyframes shimmer { 0% { background-position: 0 0; } 60%, 100% { background-position: 1600px 0; } }
.hero-slide.on .hero-text > *, .hero-slide:only-child .hero-text > * { animation: rise .9s var(--ease) both; }
.hero-slide.on .hero-text > :nth-child(2) { animation-delay: .12s; } .hero-slide.on .hero-text > :nth-child(3) { animation-delay: .24s; }
.hero-slide.on .hero-text > :nth-child(4) { animation-delay: .36s; }
.hero-slide.on h1, .hero-slide.on .h1, .hero-slide:only-child h1 { animation: rise .9s var(--ease) both, shimmer 7s 1.4s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.hero-sub { font-weight: 300; }
.hero-pic { position: relative; }
.hero-pic::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(154, 101, 69, .45); border-radius: var(--round); pointer-events: none; }
.hero-frame { position: relative; overflow: hidden; border-radius: var(--round); box-shadow: 0 40px 80px -40px rgba(90, 55, 35, .55);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.hero-frame.tilt { transition: transform .12s linear; }
.hero-frame picture { display: block; animation: kb 16s ease-in-out infinite alternate; }
.hero-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.06); }
.hero-frame::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 60%);
  opacity: 0; transition: opacity .4s; }
.hero-frame.tilt::after { opacity: 1; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.hero-dots { margin: 0; }
.hero-dots button::after { display: none; }
.hero-dots button i { position: absolute; left: 4px; right: 4px; top: 21px; height: 2px; background: var(--line); overflow: hidden; }
.hero-dots button i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero-dots button[aria-current="true"] i::after { animation: dot var(--dur, 6s) linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; justify-content: center; text-decoration: none; font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.scroll-cue i { width: 22px; height: 36px; border: 1px solid rgba(43, 32, 26, .4); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ตราวงกลมตัวอักษรหมุน */
.spin-badge { position: absolute; width: 132px; height: 132px; display: grid; place-items: center; pointer-events: none; z-index: 3;
  background: rgba(255, 251, 246, .94); border-radius: 50%; box-shadow: 0 18px 40px -20px rgba(90, 55, 35, .6); }
.spin-badge > svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke: none; fill: var(--ink); animation: spin 22s linear infinite; }
.spin-badge text { font: 500 9.4px var(--font); letter-spacing: .1em; }
.spin-badge i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); }
.spin-badge i svg { width: 20px; height: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hb { left: calc(47% - 66px); bottom: 74px; }

/* ---------- จุดเด่น + ริบบิ้นวิ่ง ---------- */
.sec-trust { padding: 36px 0 0; }
.trust { border: 0; padding: 0; gap: 14px; }
.trust li, .trust li + li { border: 0; padding: 20px 18px; border-radius: 18px; background: rgba(255, 252, 248, .75);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 14px 30px -24px rgba(90, 55, 35, .5); transition: transform .35s var(--ease), box-shadow .35s; }
.trust li:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 22px 36px -24px rgba(90, 55, 35, .6); }
.trust-ic { border: 0; color: #fff; background: var(--grad); position: relative; overflow: hidden; }
.trust-ic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-100%); }
.trust li:hover .trust-ic::after { transform: translateX(100%); transition: transform .8s var(--ease); }
.ribbon { margin-top: 44px; background: linear-gradient(90deg, #2a1d16, #3d2b21, #2a1d16); color: #f1dfcb; overflow: hidden; padding: 18px 0; }
.ribbon-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-set { display: flex; align-items: center; gap: 32px; padding-right: 32px; }
.ribbon-set span { font-size: clamp(18px, 2vw, 24px); font-weight: 300; white-space: nowrap; }
.ribbon-set svg { width: 22px; height: 22px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- สินค้าแนะนำ ---------- */
.s-spotlight { padding-top: 96px !important; }
.feature-stage { position: relative; isolation: isolate; }
.feature-stage::before { content: ''; position: absolute; inset: 8% -4% -6% 8%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(226, 186, 148, .8), rgba(226, 186, 148, 0)); animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scale(1.08) translate(-10px, 6px); opacity: .7; } }
.feature-pic { display: block; position: relative; overflow: hidden; border-radius: 240px 240px var(--round) var(--round);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.feature-pic.tilt { transition: transform .12s linear; }
.feature-pic img { transition: transform 1.2s var(--ease); }
.feature-pic:hover img { transform: scale(1.05); }
.fb { right: -18px; top: 18%; }
.feature-name { font-weight: 300; }
.feature-price { font-family: var(--serif); font-size: 40px; font-weight: 500; border-bottom: 0; position: relative; }
.feature-price::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- หมวด + การ์ดสินค้า ---------- */
.cats { gap: 18px; }
.cat-pic, .pc-pic { position: relative; border-radius: var(--round); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.pc-pic.tilt, .cat-pic.tilt { transition: transform .12s linear; }
.cat-pic img, .pc-pic img { transition: transform 1s var(--ease); }
.cats a:hover img, .pc:hover .pc-pic img { transform: scale(1.07); }
.pc-pic::after, .cat-pic::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-110%); }
.pc:hover .pc-pic::after, .cats a:hover .cat-pic::after { transform: translateX(110%); transition: transform 1s var(--ease); }
.cat-name { transition: color .3s, letter-spacing .4s var(--ease); }
.cats a:hover .cat-name { color: var(--accent); letter-spacing: .04em; }
.pgrid { gap: 44px 22px; }
.pc { transition: transform .4s var(--ease); }
.pc:hover { transform: translateY(-4px); }
.pc-body h3 { font-weight: 400; }
.pc-price { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.pc-cta { border-top: 0; color: var(--accent); gap: 6px; transition: gap .3s var(--ease); }
.pc:hover .pc-cta { gap: 12px; }

/* ---------- ขั้นตอน: แถบเข้ม เส้นทองวิ่งตามการเลื่อน ---------- */
.s-path { background: radial-gradient(80% 120% at 100% 0, #4a3427, var(--dark) 60%); color: #f1e3d4; padding: 96px 0 !important; margin-top: 64px; overflow: hidden; }
.s-path .sec-title h2 { color: #fff; }
.s-path .sec-no { color: var(--gold); }
.steps-wrap { position: relative; padding-top: 34px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(232, 207, 178, .2); }
.steps-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform: scaleX(0); transform-origin: left;
  transition: transform .2s linear; box-shadow: 0 0 12px rgba(232, 207, 178, .8); }
.steps li + li { border-left-color: rgba(232, 207, 178, .15); }
.steps li { position: relative; }
.steps li::before { content: ''; position: absolute; top: -39px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #5d4334; transition: background .4s, box-shadow .4s; }
.steps li + li::before { left: 24px; }
.steps li.lit::before { background: var(--gold-2); box-shadow: 0 0 0 5px rgba(232, 207, 178, .18), 0 0 18px rgba(232, 207, 178, .9); }
.step-no { font-family: var(--serif); font-size: 58px; font-weight: 400; color: #8a6c58; transition: color .6s; }
.steps li.lit .step-no { color: #ebcfae; text-shadow: 0 0 22px rgba(232, 207, 178, .45); }
.steps h3 { color: #fff; font-weight: 400; }
.steps p { color: #d6c3b0; }
.s-path + .sec, .s-voices + .sec, .s-proofwall + .sec { padding-top: 88px; }

/* ---------- รูป+ข้อความ ---------- */
.split { gap: 80px; }
.split-pic { position: relative; isolation: isolate; }
.split-pic::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid rgba(154, 101, 69, .4); border-radius: var(--round); z-index: -1; }
.split.pic-right .split-pic::before { inset: 20px 20px -20px -20px; }
.split-pic img { border-radius: var(--round); transform: translateY(var(--py, 0)); box-shadow: 0 34px 60px -38px rgba(90, 55, 35, .6); }
.split-text p:first-child { font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); }

/* ---------- รีวิว ---------- */
.s-voices { background: linear-gradient(180deg, var(--paper), var(--paper-2) 25%, var(--paper-2) 75%, var(--paper)); padding: 96px 0 !important; }
.quotes { border: 0; gap: 20px; }
.quote, .quote:not(:nth-child(3n + 1)), .quote:nth-child(even) { border: 0 !important; padding: 34px 30px 28px !important; border-radius: var(--round);
  background: rgba(255, 252, 248, .88); position: relative; overflow: hidden; box-shadow: 0 18px 40px -32px rgba(90, 55, 35, .6);
  transition: transform .4s var(--ease), box-shadow .4s; }
.quote:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(90, 55, 35, .65); }
.quote::before { content: '\201C'; position: absolute; right: 18px; top: -24px; font: 400 130px/1.4 var(--serif); color: rgba(200, 155, 114, .25); pointer-events: none; }
.quote blockquote { font-weight: 300; }

/* ---------- แกลเลอรีรีวิว ---------- */
.gal figure { border-radius: 18px; overflow: hidden; transition: transform .4s var(--ease); }
.gal figure:hover { transform: translateY(-4px); }
.gal a { display: block; overflow: hidden; cursor: zoom-in; }
.gal img { transition: transform 1s var(--ease); }
.gal a:hover img { transform: scale(1.03); }
.gal figcaption { padding: 10px 4px 0; }

/* ---------- คำถาม ---------- */
.faq summary { transition: color .3s, padding .4s var(--ease); }
.faq summary:hover { color: var(--accent); padding-left: 8px; }
.faq summary i { width: 30px; height: 30px; margin-top: 0; border-radius: 50%; border: 1px solid rgba(154, 101, 69, .45); transition: background .3s, transform .4s var(--ease); }
.faq summary i::before, .faq summary i::after { left: 8px; right: 8px; top: 13.5px; }
.faq details[open] summary i { background: var(--grad); transform: rotate(180deg); border-color: transparent; }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] .faq-a { animation: rise .5s var(--ease) both; }

/* ---------- ติดต่อ ---------- */
.contact-band { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(90% 120% at 0 0, #4a3427, var(--dark) 55%, #241811); padding: 96px 0; }
.cb-glow { position: absolute; width: 560px; height: 560px; right: -160px; top: -200px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200, 155, 114, .35), transparent); animation: orb 16s ease-in-out infinite alternate; }
.contact h2 { background-image: repeating-linear-gradient(100deg, #fff 0, #fff 1000px, #e8c9a6 1100px, #fff 1200px, #fff 1600px);
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite; }
.contact-band input, .contact-band textarea { background: rgba(255, 250, 244, .96); transition: box-shadow .3s; }
.contact-band input:focus, .contact-band textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(200, 155, 114, .55); }
.contact-band .btn-light { background: linear-gradient(135deg, #f3dcc2, #d9b38c); border: 0; color: #2b201a; }
.contact-list svg { color: var(--gold); }
.contact-list a { transition: color .3s; } .contact-list a:hover { color: #fff; }
.map { border-radius: var(--round); }

/* ---------- ท้ายเว็บ ---------- */
.foot { background: #1f1510; padding-top: 72px; position: relative; overflow: hidden; }
.foot-mark { grid-column: 1 / -1; font: 400 clamp(64px, 16vw, 240px)/1.4 var(--serif); letter-spacing: .12em; text-align: center; margin: -10px 0 -40px;
  background: linear-gradient(180deg, rgba(232, 207, 178, .5), rgba(232, 207, 178, .04)); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; white-space: nowrap; overflow: hidden; }
.social a { transition: background .3s, border-color .3s, color .3s; }
.social a:hover { background: var(--grad); border-color: transparent; color: #fff; }

/* ---------- ปรากฏตอนเลื่อนถึง ---------- */
.reveal { transform: translateY(24px); transition-duration: .7s; }
.reveal-pic { opacity: 0; clip-path: inset(10% 8% 10% 8% round var(--round)); transform: scale(.97);
  transition: opacity .9s var(--ease), clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-pic.in { opacity: 1; clip-path: inset(-12% -12% -12% -12%); transform: none; }

/* ---------- หน้าย่อย ---------- */
.page-head { padding: 64px 0 16px; background: radial-gradient(60% 120% at 100% 0, #f1dfcc, transparent 70%); }
.page-head h1 { font-weight: 300; }
.pd-main img, .pd-thumbs img { border-radius: 16px; }
.pd-thumbs button { border-radius: 18px; border-width: 2px; }
.pd-price { font-family: var(--serif); font-size: 36px; font-weight: 500; }
.co-sum { border-radius: var(--round); border: 0; box-shadow: 0 20px 50px -34px rgba(90, 55, 35, .6); }
.pay-opt { border-radius: 14px; transition: border-color .3s, box-shadow .3s; }
.chips a { border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.opt span { border-radius: 999px; }
.qty { border-radius: 999px; overflow: hidden; }
input:not([type="radio"]):not([type="checkbox"]):not(.qty input), textarea, select { border-radius: 12px; }

/* ---------- จอเล็ก ---------- */
@media (max-width: 1023px) {
  .hb { display: none; }
  .hero-slide { gap: 40px; }
}
@media (max-width: 767px) {
  .hero { padding: 16px 0 12px; }
  .hero-slide { min-height: 0; gap: 26px; grid-template-columns: 1fr; }
  .hero-btns .btn { white-space: nowrap; }
  .hero-pic { margin: 0; }
  .hero-pic::before { inset: 12px -8px -12px 12px; }
  .hero-frame img { max-height: 56vh; }
  .hero h1, .hero .h1 { font-size: clamp(34px, 9.5vw, 42px); }
  .hero-foot { margin-top: 18px; }
  .scroll-cue span { display: none; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust li, .trust li + li, .trust li:nth-child(even), .trust li:nth-child(n + 3) { border: 0; padding: 16px 10px; }
  .ribbon { margin-top: 32px; padding: 14px 0; }
  .s-spotlight { padding-top: 64px !important; }
  .fb { width: 104px; height: 104px; right: -6px; top: -14px; }
  .feature-pic { border-radius: 160px 160px var(--round) var(--round); }
  .s-path, .s-voices { padding: 64px 0 !important; }
  .s-path { margin-top: 40px; }
  .steps-wrap { padding: 0 0 0 26px; }
  .steps-line { left: 4px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .steps-line i { transform: scaleY(0); transform-origin: top; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
  .steps li { border-bottom-color: rgba(232, 207, 178, .15) !important; }
  .steps li::before, .steps li + li::before { left: -26px; top: 26px; }
  .step-no { font-size: 46px; }
  .split { gap: 40px; }
  .split-pic::before { inset: 12px -8px -12px 12px; }
  .split.pic-right .split-pic::before { inset: 12px 12px -12px -8px; }
  .quotes { gap: 14px; }
  .contact-band { padding: 64px 0; }
  .foot-mark { margin: 0 0 -20px; }
  .pgrid { gap: 30px 12px; }
  .cats { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pic { opacity: 1; clip-path: none; transform: none; }
  .sec-head.reveal h2 { clip-path: none; } .sec-head.reveal .sec-rule { transform: none; }
  .preload { display: none; }
  .hero h1, .hero .h1 { color: var(--ink); background: none; }
}
