/* AURAVÉLLE GLOBAL GROUP — โทนขาว-ทอง หรูหรา
   ใช้ logical properties (inline/block) ทั้งไฟล์ เพื่อให้ภาษาอาหรับกลับด้านขวา-ซ้ายได้เอง */

:root {
  --paper: #fbf8f3;
  --ivory: #f6f0e6;
  --sand: #efe6d7;
  --white: #fffdf9;
  --ink: #1c1814;
  --ink-2: #3a332b;
  --muted: #6b6257;
  --line: #e2d5bf;
  --line-2: #d2bf9e;
  --gold: #a8803f;        /* ตกแต่ง / หัวข้อใหญ่ (≥24px) */
  --gold-ink: #86622a;    /* ตัวอักษรทองขนาดเล็ก 5.2:1 */
  --gold-btn: #8f6a2e;    /* พื้นปุ่ม ตัวขาว 4.9:1 */
  --gold-btn-h: #7d5b26;
  --gold-soft: #f3e9d6;
  --ok: #3d6b45; --warn: #9a5b12; --bad: #a3322b;

  --serif: 'Cormorant Garamond', 'Noto Serif SC', 'Songti SC', 'Noto Serif Devanagari', 'IBM Plex Sans Thai', Georgia, serif;
  --sans: 'IBM Plex Sans Thai', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --header-h: 96px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html[lang='ar'] { --sans: 'Noto Naskh Arabic', 'Noto Kufi Arabic', 'IBM Plex Sans Thai', system-ui, sans-serif; --serif: 'Cormorant Garamond', 'Noto Naskh Arabic', serif; }
html[lang='hi'] { --sans: 'Noto Sans Devanagari', 'IBM Plex Sans Thai', system-ui, sans-serif; --serif: 'Cormorant Garamond', 'Noto Serif Devanagari', serif; }
html[lang='zh-Hans'] { --sans: 'IBM Plex Sans Thai', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; font-weight: 400; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang='th'] body { line-height: 1.75; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 500; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold-btn); outline-offset: 3px; }
::selection { background: var(--gold-soft); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: calc(820px + var(--gut) * 2); }
.is-center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .02em; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

.ic { width: 20px; height: 20px; flex: none; }
.ic-brand { width: 18px; height: 18px; flex: none; }
[dir='rtl'] .ic-arrow, [dir='rtl'] .crumb-sep, [dir='rtl'] .ic-flip { transform: scaleX(-1); }

/* ---------- ตัวอักษร ---------- */
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.12; }
html[lang='th'] .display, html[lang='hi'] .display, html[lang='ar'] .display { line-height: 1.35; letter-spacing: 0; }
.eyebrow { font-family: var(--serif); font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 18px; display: flex; align-items: center; gap: 18px; }
html[lang='th'] .eyebrow, html[lang='zh-Hans'] .eyebrow, html[lang='ar'] .eyebrow, html[lang='hi'] .eyebrow { letter-spacing: .18em; font-family: var(--sans); font-size: 12.5px; font-weight: 500; }
.eyebrow .ic { width: 16px; height: 16px; }
.eyebrow-line::after { content: ''; width: 64px; height: 1px; background: var(--gold); flex: none; }
.eyebrow-line.is-center { justify-content: center; }
.eyebrow-line.is-center::before { content: ''; width: 64px; height: 1px; background: var(--gold); flex: none; }
.eyebrow-sm { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; font-weight: 500; }
.h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 18px; }
.h4 { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.h5 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }

/* ---------- ปุ่ม ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 30px; border: 1px solid transparent; border-radius: 0; font-size: 16px; font-weight: 500; letter-spacing: .02em; text-decoration: none; background: none; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn .ic { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-btn); color: #fff; }
.btn-gold:hover { background: var(--gold-btn-h); }
.btn-outline { border-color: var(--gold); color: var(--gold-ink); background: transparent; }
.btn-outline:hover { background: var(--gold-btn); border-color: var(--gold-btn); color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink-2); background: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: 14px; gap: 6px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row.is-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-ink); font-weight: 500; text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--gold); min-height: 44px; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
[dir='rtl'] .link-arrow:hover .ic { transform: scaleX(-1) translateX(4px); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--muted); text-decoration: underline; font-size: 14px; }

/* ---------- แถบบน + ส่วนหัว ---------- */
.topbar { background: var(--ivory); border-bottom: 1px solid var(--line); }
.topbar p { margin: 0; padding: 7px var(--gut); text-align: center; font-family: var(--serif); font-size: 12px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--ink-2); }
html:not([lang='en']) .topbar p { font-family: var(--sans); letter-spacing: .2em; font-weight: 400; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(253, 250, 245, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(60, 40, 10, .35); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { flex: none; display: block; }
.logo img { width: auto; height: 76px; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.4vw, 38px); flex: 1; }
.site-nav a { position: relative; text-decoration: none; font-size: 15.5px; color: var(--ink-2); padding-block: 10px; white-space: nowrap; transition: color .2s; }
.site-nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease); }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.site-nav a[aria-current='page'] { color: var(--ink); font-weight: 500; }
.site-nav .nav-track { display: none; }
.header-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.tool-sep { width: 1px; height: 28px; background: var(--line-2); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); text-decoration: none; }
.icon-btn .ic { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold-btn); color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 600; }
.menu-btn { display: none; }

.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; cursor: pointer; font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .12em; color: var(--ink-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ic { width: 17px; height: 17px; color: var(--gold); }
.lang summary .lang-caret { width: 14px; height: 14px; color: var(--muted); transition: transform .2s; }
.lang[open] summary .lang-caret { transform: rotate(180deg); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 50; min-width: 200px; margin: 0; padding: 8px; list-style: none; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(60, 40, 10, .35); }
.lang-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 12px; text-decoration: none; font-size: 15px; }
.lang-list a small { color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.lang-list a:hover { background: var(--ivory); }
.lang-list a[aria-current='true'] { color: var(--gold-ink); font-weight: 600; }
.lang-list a[aria-current='true'] small { color: var(--gold-ink); }

@media (max-width: 1180px) {
  .menu-btn { display: inline-grid; }
  .site-nav { position: fixed; inset: 0; top: 0; z-index: 60; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: calc(var(--header-h) + 8px) var(--gut) 32px; background: var(--paper); opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s; overflow-y: auto; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
  .site-nav a { font-family: var(--serif); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  html:not([lang='en']) .site-nav a { font-family: var(--sans); font-size: 20px; }
  .site-nav a::after { display: none; }
  .site-nav .nav-track { display: block; }
  .header-tools { margin-inline-start: auto; position: relative; z-index: 61; }
  .logo { position: relative; z-index: 61; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .logo img { height: 50px; }
  .tool-sep { display: none; }
  .lang summary { padding: 0 4px; letter-spacing: .06em; }
  .lang summary .lang-caret { display: none; }
  .header-in { gap: 8px; }
  .topbar p { font-size: 10.5px; letter-spacing: .3em; }
}

/* ---------- หน้าแรก: แบนเนอร์วิดีโอเต็มจอ ---------- */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--header-h) - 34px); display: flex; overflow: hidden; background: var(--ivory); }
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-video, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { display: none; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(251, 248, 243) 0%, rgb(251, 248, 243) 49%, rgba(251, 248, 243, .7) 54%, rgba(251, 248, 243, 0) 62%); }
/* คลิปลูกค้าความละเอียดต่ำ (360x540): จอกว้างแสดงเป็นแผงตามสัดส่วนจริงฝั่งขวา (ขยายน้อย = คม)
   พื้นหลังเต็มจอใช้คลิปเดียวกันแบบเบลอ · ฝั่งภาพอยู่ขวาเสมอ (รวมภาษาอาหรับ) */
.hero-video-bg { display: none; }
@media (min-width: 761px) {
  .hero-video-bg { display: block; position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(30px) saturate(1.05); opacity: .6; z-index: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 72%); mask-image: linear-gradient(90deg, transparent 38%, #000 72%); }
  [dir='rtl'] .hero-video-bg { -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 72%); mask-image: linear-gradient(90deg, transparent 38%, #000 72%); }
  .hero-video { inset: auto; right: var(--gut); top: 50%; transform: translateY(-50%); height: min(calc(100% - 64px), 700px); width: auto; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(60, 40, 10, .45); z-index: 1; }
  .hero-shade { display: none; }
  .hero-in { z-index: 2; }
  .hero-media .hero-img { object-position: 50% 35% !important; }
  [dir='rtl'] .hero-copy { margin-inline-start: auto; }
  [dir='rtl'] .hero-copy { text-align: right; }
  .hero .hero-tag { inset-inline-end: auto; inset-inline-start: auto; left: auto; right: calc(var(--gut) + min(calc((100svh - 160px) * .667), 467px) - 60px); bottom: 56px; }
  .hero .hero-pause { inset-inline-end: auto; inset-inline-start: auto; left: auto; right: calc(var(--gut) + 16px); bottom: 56px; }
  [dir='rtl'] .hero-scroll { inset-inline-start: auto; left: var(--gut); }
}
.hero-in { position: relative; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(48px, 8vh, 110px) clamp(84px, 12vh, 140px); }
.hero-copy { max-width: 600px; }
@media (min-width: 761px) { .hero-copy { max-width: min(600px, calc(100vw - var(--gut) * 2 - min(calc((100svh - 160px) * .667), 467px) - 48px)); } }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, min(7.4vw, 10.5vh), 104px); line-height: .98; letter-spacing: -.025em; margin: 0 0 28px; color: var(--ink); }
.hero-title em { display: block; color: var(--gold); font-style: italic; font-weight: 500; }
.hero-line { display: block; }
.hero-sub { font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.45; margin: 0 0 10px; color: var(--ink); }
.hero-text { font-size: 17px; color: var(--ink-2); margin: 0 0 34px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.hero-ctas .btn { min-width: 200px; }
.hero-scroll { position: absolute; bottom: 36px; inset-inline-start: var(--gut); display: flex; align-items: center; gap: 22px; font-family: var(--serif); font-size: 11.5px; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); }
.hero-scroll span { width: 1px; height: 46px; background: var(--ink-2); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ''; position: absolute; inset-inline: 0; top: -40%; height: 40%; background: var(--gold); animation: scrollcue 2.4s var(--ease) infinite; }
@keyframes scrollcue { to { top: 100%; } }
.hero-tag { position: absolute; bottom: 30px; inset-inline-end: var(--gut); display: flex; flex-direction: column; gap: 2px; padding: 14px 20px; min-width: 190px; background: rgba(255, 253, 249, .92); text-decoration: none; font-family: var(--serif); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 10px 30px -18px rgba(60, 40, 10, .45); transition: transform .25s var(--ease); }
.hero-tag:hover { transform: translateY(-2px); }
.hero-tag small { font-size: 10.5px; font-weight: 600; letter-spacing: .3em; color: var(--muted); }
.hero-tag span { font-size: 15px; font-weight: 600; color: var(--ink); }
html:not([lang='en']) .hero-tag { font-family: var(--sans); letter-spacing: .06em; }
.hero-pause { position: absolute; bottom: 104px; inset-inline-end: var(--gut); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(28, 24, 20, .25); border-radius: 50%; background: rgba(255, 253, 249, .75); color: var(--ink); }
.hero-pause .ic { width: 16px; height: 16px; }

/* ลูกเล่นตอนเปิดหน้า: ไล่ขึ้นทีละบรรทัด */
.js .hero-anim { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero { min-height: min(86svh, 720px); align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, rgba(251, 248, 243, .98) 0%, rgba(251, 248, 243, .96) 52%, rgba(251, 248, 243, .5) 68%, rgba(251, 248, 243, 0) 84%) !important; }
  .hero-in { justify-content: flex-end; padding-block: 120px 34px; }
  .hero-title { font-size: clamp(44px, 13vw, 60px); margin-bottom: 18px; }
  .hero-sub { font-size: 19px; }
  .hero-text { font-size: 15.5px; margin-bottom: 22px; }
  .hero-ctas { gap: 14px 22px; }
  .hero-ctas .btn { min-width: 0; flex: 1 1 auto; }
  .hero-scroll, .hero-tag { display: none; }
  .hero-pause { top: 16px; bottom: auto; }
}

/* ---------- จุดเด่นใต้แบนเนอร์ ---------- */
.pillars { background: var(--white); border-block: 1px solid var(--line-2); }
.pillars-in { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; padding-block: 0; list-style: none; }
.pillar { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 30px 16px; font-family: var(--serif); font-size: 20px; color: var(--ink-2); }
html:not([lang='en']) .pillar { font-family: var(--sans); font-size: 16px; }
.pillar + .pillar { border-inline-start: 1px solid var(--line); }
.pillar-ic { width: 44px; height: 44px; color: var(--gold); stroke-width: 1; }
@media (max-width: 760px) {
  .pillars-in { grid-template-columns: 1fr; padding-inline: var(--gut); }
  .pillar { justify-content: flex-start; padding: 18px 4px; gap: 16px; font-size: 17px; }
  .pillar + .pillar { border-inline-start: 0; border-top: 1px solid var(--line); }
  .pillar-ic { width: 34px; height: 34px; }
}

/* ---------- สินค้าเด่น ---------- */
.signature { padding-block: clamp(28px, 4vw, 40px); background: var(--white); border-bottom: 1px solid var(--line); }
.sig-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.sig-media { display: block; overflow: hidden; background: var(--ivory); }
.sig-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.sig-media:hover img { transform: scale(1.025); }
.sig-label { font-size: 13px; font-weight: 600; letter-spacing: .3em; color: var(--ink-2); text-transform: uppercase; margin: 22px 0 18px; }
.sig-name { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 18px; }
.sig-short { font-size: 18px; color: var(--ink-2); margin-bottom: 18px; max-width: 520px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 6px; }
.price-now { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--gold-ink); letter-spacing: .01em; }
.price-lg .price-now { font-size: 42px; }
.price-was { color: var(--muted); font-size: 16px; }
.price-off { font-size: 13px; font-weight: 600; color: var(--bad); }
.signature .price { margin-bottom: 26px; }
.signature .btn-outline { min-width: 220px; }
@media (max-width: 860px) { .sig-in { grid-template-columns: 1fr; } }

/* ---------- ส่วนทั่วไป ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(32px, 5vw, 64px); }
.section-alt { background: var(--ivory); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.is-center { flex-direction: column; align-items: center; text-align: center; }
.sec-head .eyebrow { margin-bottom: 10px; }
.sec-head.is-center .eyebrow { justify-content: center; }
.sec-title { font-size: clamp(34px, 4.4vw, 56px); }
.sec-intro { color: var(--muted); max-width: 620px; margin: 14px auto 0; }

.page-head { padding-block: clamp(40px, 6vw, 84px) clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--ivory), var(--paper)); border-bottom: 1px solid var(--line); }
.page-head.is-center { text-align: center; }
.page-head.is-center .eyebrow { justify-content: center; }
.page-title { font-size: clamp(40px, 6vw, 76px); margin: 0 0 16px; }
.page-intro { font-size: 18px; color: var(--ink-2); max-width: 720px; margin: 0; }
.page-head.is-center .page-intro { margin-inline: auto; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-ink); text-decoration: underline; }
.crumbs .ic { width: 14px; height: 14px; }
.empty { color: var(--muted); padding: 32px 0; }

/* ---------- WHY ---------- */
.why { padding-block: clamp(64px, 9vw, 128px); background: var(--paper); }
.why-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 32px); }
.why-sub { color: var(--ink-2); font-size: 18px; margin-top: 18px; max-width: 420px; }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.why-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line-2); }
.why-n { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--gold); font-style: italic; line-height: 1.6; }
.why-en { font-family: var(--serif); font-size: 13px; font-weight: 600; letter-spacing: .26em; color: var(--gold-ink); margin: 0 0 6px; text-transform: uppercase; }
.why-title { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
html[lang='en'] .why-title { font-family: var(--serif); font-size: 28px; }
.why-text { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .why-in { grid-template-columns: 1fr; } .why-head { position: static; } .why-item { grid-template-columns: 44px 1fr; gap: 12px; padding: 24px 0; } }

.values-band { background: var(--ink); color: #efe3cc; padding-block: 22px; overflow: hidden; }
.values-band p { margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; font-family: var(--serif); font-size: 19px; letter-spacing: .04em; text-align: center; }
html:not([lang='en']) .values-band p { font-family: var(--sans); font-size: 15.5px; }
.values-band i { color: var(--gold); display: inline-grid; }
.values-band i .ic { width: 14px; height: 14px; }

/* ---------- ปรัชญา ---------- */
.philo { position: relative; isolation: isolate; min-height: clamp(380px, 38vw, 520px); display: flex; align-items: center; background: var(--ivory); overflow: hidden; }
.philo-media { position: absolute; inset-block: 0; inset-inline-end: 0; width: 64%; z-index: -2; }
.philo-media img { width: 100%; height: 100%; object-fit: cover; }
.philo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ivory) 0%, var(--ivory) 36%, rgba(246, 240, 230, .85) 46%, rgba(246, 240, 230, 0) 66%); }
[dir='rtl'] .philo::before { background: linear-gradient(270deg, var(--ivory) 0%, var(--ivory) 36%, rgba(246, 240, 230, .85) 46%, rgba(246, 240, 230, 0) 66%); }
.philo-in { padding-block: 64px; }
.philo-copy { max-width: 720px; }
.philo-title { font-size: clamp(44px, 5.4vw, 80px); margin: 0 0 18px; color: var(--ink-2); }
.philo-title em { color: var(--gold); font-style: italic; }
.philo-sub { font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; margin-bottom: 28px; }
@media (max-width: 760px) {
  .philo { flex-direction: column; align-items: stretch; min-height: 0; }
  .philo-media { position: relative; width: 100%; aspect-ratio: 1020 / 540; order: 2; }
  .philo::before { display: none; }
  .philo-in { padding-block: 48px 32px; }
}

/* ---------- การ์ดสินค้า ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px) clamp(16px, 2.4vw, 32px); align-items: start; }
.pcard { display: flex; flex-direction: column; }
.pcard-media { position: relative; display: block; overflow: hidden; background: var(--ivory); transition: box-shadow .25s var(--ease); }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.pcard-flag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--ink); color: #fff; font-size: 12px; padding: 4px 10px; letter-spacing: .06em; }
.pcard-body { padding-top: 18px; }
.pcard-name { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
html:not([lang='en']) .pcard-name { font-family: var(--sans); font-size: 18px; }
.pcard-name a { text-decoration: none; }
.pcard-name a:hover { color: var(--gold-ink); }
.pcard-size { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pcard-media { box-shadow: 0 22px 40px -28px rgba(60, 40, 10, .5); }
  .pcard:hover .pcard-media img { transform: scale(1.03); }
}
@media (max-width: 1023px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } .pcard-name { font-size: 18px; } .price-now { font-size: 20px; } }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.toolbar-right { display: flex; gap: 12px; flex-wrap: wrap; margin-inline-start: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.toolbar .chips { margin-bottom: 0; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 18px; border: 1px solid var(--line-2); background: var(--white); text-decoration: none; font-size: 14.5px; color: var(--ink-2); }
.chip:hover { border-color: var(--gold); }
.chip[aria-current='page'], .chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-box, .sort-box { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--white); }
.search-box .ic { color: var(--muted); width: 18px; height: 18px; }
.search-box input { border: 0; outline: 0; background: none; width: 200px; min-height: 44px; }
.sort-box select { border: 0; background: none; min-height: 44px; outline: 0; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
@media (max-width: 600px) { .toolbar-right { width: 100%; } .search-box { flex: 1; } .search-box input { width: 100%; } }

.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); }
.price-table th, .price-table td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.price-table thead th { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; border-bottom-color: var(--line-2); }
.price-table tbody th { font-weight: 500; }
.price-table th small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.price-table .num { text-align: end; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--gold-ink); white-space: nowrap; }
.price-table thead .num { font-family: var(--sans); font-size: 13px; }

/* ---------- หน้าสินค้า ---------- */
.pdp { padding-block: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 64px); }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-main { position: relative; background: var(--ivory); }
.pdp-slide[hidden] { display: none; }
.pdp-slide { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pdp-slide img { width: 100%; height: 100%; object-fit: contain; }
.pdp-zoom-hint { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255, 253, 249, .85); pointer-events: none; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pdp-thumb { flex: none; width: 80px; padding: 0; border: 1px solid transparent; background: var(--ivory); opacity: .7; transition: opacity .2s, border-color .2s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb.is-active, .pdp-thumb:hover { opacity: 1; border-color: var(--gold); }
.pdp-name { font-size: clamp(36px, 4.6vw, 60px); margin: 0 0 10px; }
.pdp-size { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.pdp-short { font-size: 18px; color: var(--ink-2); margin-bottom: 22px; }
.buy { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.variants { border: 0; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.variants legend { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 18px; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; }
.variant input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.variant input:focus-visible + span { outline: 2px solid var(--gold-btn); outline-offset: 2px; }
.variant.is-out span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.buy-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); background: var(--white); }
.qty-btn { width: 48px; height: 50px; display: grid; place-items: center; border: 0; background: none; }
.qty-btn .ic { width: 18px; height: 18px; }
.qty input { width: 56px; height: 50px; border: 0; text-align: center; background: none; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock { margin: 0; font-size: 14.5px; color: var(--ok); }
.stock.is-low { color: var(--warn); }
.stock.is-out { color: var(--bad); }
.buy-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-btns .btn { letter-spacing: .08em; text-transform: uppercase; font-size: 15px; }
html:not([lang='en']) .buy-btns .btn { text-transform: none; letter-spacing: .02em; }
.form-msg { min-height: 1.5em; margin: 10px 0 0; font-size: 14.5px; }
.form-msg.err, .form-msg.bad { color: var(--bad); }
.form-msg.ok { color: var(--ok); }
.pdp-notes { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.pdp-notes li { display: flex; gap: 12px; align-items: flex-start; }
.pdp-notes .ic { color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }
.spec { margin: 22px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
html:not([lang='en']) .spec dt { letter-spacing: .02em; text-transform: none; font-size: 14px; }
.spec dd { margin: 0; }
.pdp-details { background: var(--white); border-top: 1px solid var(--line); }
.pdp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.pdp-block { min-width: 0; }
.pdp-wide { grid-column: 1 / -1; }
.pdp-h { font-family: var(--serif); font-size: 26px; font-weight: 500; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
html:not([lang='en']) .pdp-h { font-family: var(--sans); font-size: 19px; }
details.pdp-block summary { cursor: pointer; list-style: none; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; }
.ticks .ic { color: var(--gold); width: 18px; height: 18px; margin-top: 4px; }
.ingredients { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ingredients strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--ink); }
.ingredients span { font-size: 15px; color: var(--ink-2); }
.buy-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 35; background: rgba(255, 253, 249, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -22px rgba(60, 40, 10, .5); padding-bottom: env(safe-area-inset-bottom); }
.buy-bar-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.buy-bar-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
  .pdp-cols { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 130px 1fr; }
}
@media (max-width: 420px) { .buy-btns { grid-template-columns: 1fr; } }

/* ---------- รีวิว / แกลเลอรี (masonry ไม่ครอป) ---------- */
.masonry { columns: 4 260px; column-gap: clamp(12px, 2vw, 24px); }
.masonry > * { break-inside: avoid; margin-bottom: clamp(12px, 2vw, 24px); }
@media (max-width: 479px) { .masonry { columns: 2; column-gap: 10px; } .masonry > * { margin-bottom: 10px; } }
@media (min-width: 480px) and (max-width: 1023px) { .masonry { columns: 3; } }
.rstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); align-items: start; }
@media (max-width: 1023px) { .rstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.rcard { margin: 0; background: var(--white); }
.rcard-media, .gitem-media { display: block; width: 100%; padding: 0; border: 0; background: var(--ivory); cursor: zoom-in; overflow: hidden; }
.rcard-media img, .gitem-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.rcard-media:hover img, .gitem-media:hover img { transform: scale(1.03); }
.rcard figcaption { padding: 16px 16px 18px; }
.rcard blockquote { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); }
.rcard-by { margin: 0; font-size: 13.5px; color: var(--muted); }
.rcard-by strong { color: var(--ink); font-weight: 600; }
.stars { display: flex; gap: 2px; margin-bottom: 8px; color: var(--line-2); }
.stars .ic { width: 15px; height: 15px; }
.stars .is-on { color: var(--gold); fill: currentColor; }
.gitem { margin: 0; }
.gitem figcaption { font-size: 14px; color: var(--ink-2); padding: 10px 2px 0; }
.gitem[hidden] { display: none; }

/* ---------- บทความ ---------- */
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2.4vw, 32px); align-items: start; }
@media (max-width: 1023px) { .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .agrid { grid-template-columns: 1fr; } }
.acard-media { display: block; overflow: hidden; background: var(--ivory); margin-bottom: 18px; aspect-ratio: 4 / 5; }
.acard-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease-out); }
.acard:hover .acard-media img { transform: scale(1.03); }
.acard-title { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.22; margin-bottom: 10px; }
html:not([lang='en']) .acard-title { font-family: var(--sans); font-size: 19px; line-height: 1.5; }
.acard-title a { text-decoration: none; }
.acard-title a:hover { color: var(--gold-ink); }
.acard-excerpt { color: var(--ink-2); font-size: 15.5px; }
.acard .link-arrow { min-height: 36px; font-size: 14.5px; }
.article-head { padding-block: clamp(36px, 5vw, 72px) 28px; background: linear-gradient(180deg, var(--ivory), var(--paper)); }
.article-title { font-size: clamp(36px, 5vw, 60px); margin-bottom: 14px; }
.article-meta { color: var(--muted); font-size: 14.5px; margin: 0; }
.article-cover { margin: 0 0 40px; background: var(--ivory); }
.article-cover img { width: 100%; height: 100%; object-fit: contain; }
.article-gallery { columns: 2; margin-top: 28px; }
.article-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 40px 0 64px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.article-share a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); color: var(--ink-2); }
.prose { font-size: 17px; }
.prose p { margin: 0 0 1.2em; }
.prose h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 1.6em 0 .6em; }
html:not([lang='en']) .prose h2 { font-family: var(--sans); font-size: 22px; font-weight: 600; }
.prose ul { padding-inline-start: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }

/* ---------- เกี่ยวกับเรา ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.is-rev .split-media { order: 2; }
.split-media { overflow: hidden; background: var(--ivory); max-height: 760px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.is-rev .split-media { order: 0; } }
.vision { background: var(--ink); color: #f1e6d1; padding-block: clamp(64px, 9vw, 120px); }
.vision .eyebrow { color: #d8b779; }
.vision .eyebrow-line::after, .vision .eyebrow-line::before { background: #d8b779; }
.vision-text p { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.45; text-align: center; margin-bottom: .8em; }
html:not([lang='en']) .vision-text p { font-family: var(--sans); font-size: clamp(18px, 2vw, 22px); line-height: 1.8; }
.mission-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.mission-list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-2); font-size: 17px; }
.mission-list p { margin: 0; }
.why-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.why-cards li { padding: 26px 20px; background: var(--white); border: 1px solid var(--line); }
.why-cards h3 { font-size: 17px; font-weight: 500; }
@media (max-width: 1023px) { .why-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .why-cards li { padding: 18px 14px; } }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
@media (max-width: 1023px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }
.member { text-align: center; }
.member-photo { aspect-ratio: 3 / 4; background: var(--sand); margin-bottom: 14px; overflow: hidden; display: grid; place-items: center; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-mono { font-family: var(--serif); font-size: 64px; color: var(--gold); font-style: italic; }
.member h3 { font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.member-role { color: var(--gold-ink); font-size: 14px; margin: 0 0 6px; }
.member-bio { color: var(--muted); font-size: 14px; }
.cta-band { padding-block: clamp(56px, 8vw, 100px); background: var(--ivory); border-top: 1px solid var(--line); }
.cta-title { font-size: clamp(30px, 4vw, 48px); margin: 0; letter-spacing: .06em; }

/* ---------- โปรโมชั่น ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .promo-grid { grid-template-columns: 1fr; } }
.promo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); background: var(--white); border: 1px solid var(--line); }
.promo-media { background: var(--ivory); }
.promo-media img { width: 100%; height: 100%; object-fit: contain; }
.promo-body { padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.promo-title { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 10px; }
html:not([lang='en']) .promo-title { font-family: var(--sans); font-size: 20px; }
.promo-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed var(--gold); background: var(--gold-soft); font-size: 14px; }
.promo-code strong { font-size: 17px; letter-spacing: .1em; }
@media (max-width: 480px) { .promo { grid-template-columns: 1fr; } }

/* ---------- วิดีโอ ---------- */
.video-card { margin: 0; }
.video-facade { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 249, .9); color: var(--gold-ink); }
.video-play .ic { width: 28px; height: 28px; margin-inline-start: 4px; }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-card figcaption { margin-top: 12px; text-align: center; color: var(--ink-2); }

/* ---------- ติดต่อ ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.info-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list .ic, .info-list .ic-brand { color: var(--gold); width: 22px; height: 22px; margin-top: 3px; }
.info-list span { display: block; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.info-list a, .info-list p { font-size: 17px; margin: 0; text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--gold-ink); text-decoration: underline; }
.map-frame { aspect-ratio: 4 / 3; margin-bottom: 14px; background: var(--ivory); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.panel { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 34px); }
.msg-form .h3 { margin-bottom: 22px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field .label { display: block; font-size: 14.5px; font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 0; background: var(--paper); transition: border-color .2s, background-color .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2386622a' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px; }
[dir='rtl'] .field select { background-position: left 14px center; }
.field select:disabled { opacity: .55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold-btn); background: var(--white); box-shadow: 0 0 0 3px rgba(168, 128, 63, .15); }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--bad); }
.field-err { color: var(--bad); font-size: 13.5px; margin: 6px 0 0; min-height: 0; }
.field-err:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hint { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.hint .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--gold); }
.hint.ok { color: var(--ok); }
.hint.center, .center { text-align: center; justify-content: center; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic { color: var(--gold); transition: transform .25s var(--ease); }
.faq-item[open] .faq-ic { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; color: var(--ink-2); }

/* ---------- ตะกร้า / ชำระเงิน ---------- */
.cart-layout, .checkout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .cart-layout, .checkout { grid-template-columns: 1fr; } }
.summary { background: var(--white); border: 1px solid var(--line); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line img { width: 96px; height: 96px; object-fit: contain; background: var(--ivory); }
.cart-line h3 { font-size: 17px; font-weight: 500; margin-bottom: 2px; }
.cart-line h3 a { text-decoration: none; }
.cart-line-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.cart-line-err { color: var(--bad); font-size: 14px; margin: 6px 0 0; }
.cart-line .qty-btn { width: 42px; height: 42px; }
.cart-line .qty input { height: 42px; width: 48px; }
.totals { margin: 0; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals-sum { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line-2); font-size: 18px !important; font-weight: 600; }
.totals-sum dd { font-family: var(--serif); font-size: 26px; color: var(--gold-ink); }
.ship-gap { margin: 0; padding: 10px 12px; background: var(--gold-soft); font-size: 14px; color: var(--gold-ink); }
.checkout-main { display: grid; gap: 22px; }
fieldset.panel { margin: 0; min-width: 0; }
fieldset.panel legend { padding: 0; float: left; width: 100%; }
fieldset.panel legend + * { clear: both; }
.pay-options { display: grid; gap: 12px; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt-body { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; }
.pay-opt-body .ic { color: var(--gold); width: 26px; height: 26px; }
.pay-opt-body strong { display: block; font-weight: 600; }
.pay-opt-body small { color: var(--muted); font-size: 14px; }
.pay-opt input:checked + .pay-opt-body { border-color: var(--gold-btn); background: var(--white); box-shadow: inset 0 0 0 1px var(--gold-btn); }
.pay-opt input:focus-visible + .pay-opt-body { outline: 2px solid var(--gold-btn); outline-offset: 2px; }
.pay-opt input:disabled + .pay-opt-body { opacity: .5; cursor: not-allowed; }
.mini-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 14.5px; }
.mini-line img { width: 56px; height: 56px; object-fit: contain; background: var(--ivory); }
.mini-line small { display: block; color: var(--muted); }
.input-btn { display: flex; gap: 8px; }
.input-btn input { flex: 1; }
.order-stack { display: grid; gap: 20px; }
.pay-amount { font-family: var(--serif); font-size: 48px; font-weight: 600; color: var(--gold-ink); margin: 0 0 6px; }
.qr-box { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 20px 0; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.qr { width: 200px; height: 200px; background: #fff; padding: 10px; }
.qr svg { width: 100%; height: 100%; }
.banks { display: grid; gap: 10px; margin-top: 12px; }
.bank { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); }
.bank-ic { color: var(--gold); }
.bank p { margin: 0; }
.bank-no { font-size: 20px; font-weight: 600; letter-spacing: .04em; }
.drop { display: grid; place-items: center; min-height: 180px; border: 1px dashed var(--line-2); background: var(--paper); cursor: pointer; text-align: center; padding: 16px; }
.drop-empty { display: grid; gap: 4px; justify-items: center; color: var(--ink-2); }
.drop-empty .ic { color: var(--gold); width: 28px; height: 28px; }
.drop-preview { max-height: 320px; width: auto; }
.status-pill { display: inline-block; padding: 6px 14px; background: var(--gold-soft); color: var(--gold-ink); font-weight: 600; margin: 0 0 12px; }
.status-pill.tone-cancelled, .status-pill.tone-refunded { background: #eee; color: #555; }
.status-pill.tone-shipped, .status-pill.tone-completed { background: #e4efe3; color: var(--ok); }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 18px; }
.tl-item::before { content: ''; position: absolute; inset-inline-start: 5px; top: 14px; bottom: 0; width: 1px; background: var(--line-2); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); margin-top: 7px; }
.tl-item time { display: block; font-size: 13.5px; color: var(--muted); }
.tl-item p { margin: 4px 0 0; font-size: 14.5px; }
.track-result { margin-top: 20px; }

/* ---------- ส่วนท้าย ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line-2); margin-top: 0; }
.footer-main { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; padding-block: 36px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 58px; width: auto; }
.footer-tag { margin: 0; padding-inline-start: clamp(18px, 3vw, 40px); border-inline-start: 1px solid var(--line-2); font-family: var(--serif); font-size: 12.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2); }
.footer-contact { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 0; flex-wrap: wrap; }
[dir='rtl'] .footer-contact { margin: 0 auto 0 0; }
.footer-contact li + li { border-inline-start: 1px solid var(--line-2); }
.footer-contact a { display: flex; align-items: center; gap: 12px; padding: 6px clamp(14px, 2vw, 28px); text-decoration: none; font-family: var(--serif); font-size: 16px; color: var(--ink-2); min-height: 44px; }
.footer-contact a:hover { color: var(--gold-ink); }
.footer-contact .ic { color: var(--ink-2); width: 22px; height: 22px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 36px; }
.footer-h { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); display: inline-block; padding: 5px 0; }
.footer-links a:hover { color: var(--gold-ink); text-decoration: underline; }
.footer-address { font-style: normal; font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.social { display: flex; gap: 10px; }
.social-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-2); transition: color .2s, border-color .2s; }
.social-btn:hover { color: var(--gold-ink); border-color: var(--gold); }
.footer-legal { padding-block: 18px 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer-legal p { margin: 0; }
@media (max-width: 900px) {
  .footer-main { flex-direction: column; align-items: flex-start; }
  .footer-tag { padding-inline-start: 0; border-inline-start: 0; letter-spacing: .24em; }
  .footer-contact { margin: 0; flex-direction: column; }
  .footer-contact li + li { border-inline-start: 0; }
  .footer-contact a { padding-inline: 0; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links > :last-child { grid-column: 1 / -1; }
}

/* ปุ่มลอยมือถือ: โทร (+ LINE ถ้ามี) สูงไม่เกิน 60px */
.float-bar { display: none; }
@media (max-width: 760px) {
  .float-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 8px var(--gut) calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 253, 249, .96); border-top: 1px solid var(--line); }
  .float-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; text-decoration: none; font-weight: 500; font-size: 15px; }
  .float-btn.call { background: var(--gold-btn); color: #fff; }
  .float-btn.line { background: #06c755; color: #fff; }
  body.has-float { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  body.has-buybar .float-bar { display: none; }
}

/* ---------- ภาพใหญ่ (lightbox) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 56px 16px; background: rgba(20, 16, 12, .92); border: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; }
.lightbox::backdrop { background: rgba(20, 16, 12, .92); }
.lightbox img { max-width: min(100%, 1200px); max-height: calc(100vh - 112px); width: auto; height: auto; object-fit: contain; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .3); color: #fff; }
.lb-close { top: 14px; inset-inline-end: 14px; }
.lb-prev { inset-inline-start: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 14px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 14px; inset-inline: 16px; text-align: center; color: #eadfcb; font-size: 14px; margin: 0; }

/* ---------- ข้อความแจ้ง ---------- */
.toast { position: fixed; inset-inline-start: 50%; transform: translateX(-50%); bottom: 88px; z-index: 95; background: var(--ink); color: #fff; padding: 12px 20px; font-size: 15px; box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .5); max-width: calc(100vw - 32px); animation: toast .3s var(--ease-out); }
[dir='rtl'] .toast { transform: translateX(50%); }
.toast a { color: #e9cf96; margin-inline-start: 8px; }
@keyframes toast { from { opacity: 0; translate: 0 10px; } }
.nf { padding-block: 40px; }

/* ---------- ปรากฏตอนเลื่อนถึง (ครั้งเดียว) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero-anim { opacity: 1; transform: none; }
  .hero-video, .hero-video-bg { display: none !important; }
  .hero-fallback { display: block; }
}

/* ภาษาที่ไม่ใช่อักษรละติน: ไม่ถ่างตัวอักษร (สระไทยลอยแยก) */
html:not([lang='en']) .eyebrow-sm, html:not([lang='en']) .footer-h, html:not([lang='en']) .info-list span, html:not([lang='en']) .price-table thead th { letter-spacing: .04em; }
html:not([lang='en']) .eyebrow { letter-spacing: .06em; }
html:not([lang='en']) .hero-scroll { font-family: var(--sans); letter-spacing: .08em; font-size: 12.5px; font-weight: 500; }
html:not([lang='en']) .why-head .sec-title, html:not([lang='en']) .sec-title { font-size: clamp(30px, 3.4vw, 46px); }
.sec-title, .page-title, .hero-sub, .philo-title, .sig-name { text-wrap: balance; }

/* ข้อความอังกฤษ (สโลแกน/ชื่อแบรนด์) ในหน้าอาหรับ: ให้ทิศทางตามเนื้อความ จุดไม่กระโดดไปซ้าย */
[dir='rtl'] :is(.hero-line, .hero-tag span, .hero-tag small, .pillar span, .sig-name, .sig-label, .eyebrow, .philo-title, .topbar p, .footer-tag, .why-en, .pcard-name, .pdp-name, .price-now, .ingredients strong) { unicode-bidi: plaintext; }
[dir='rtl'] :is(.sig-copy, .philo-copy, .why-head, .page-head:not(.is-center)) { text-align: right; }

[dir='rtl'] .why-item, [dir='rtl'] .pdp-info, [dir='rtl'] .promo-body { text-align: right; }
.pdp-grid > *, .sig-in > *, .contact-grid > *, .split > * { min-width: 0; }
