/* มหาผัน (Mahaphann) — สไตล์หลักของเว็บไซต์
   โทนแบรนด์: ดำ + ทอง + ดอกบัว · ออกแบบแบบ mobile-first */

/* ฟอนต์เก็บในเว็บเอง (assets/fonts, สัญญาอนุญาต OFL) — เฉพาะชุดอักษรไทยและละติน */
/* Noto Serif Thai (variable 500–700) thai */
@font-face {
  font-family: 'Noto Serif Thai';
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-thai-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* Noto Serif Thai (variable 500–700) latin */
@font-face {
  font-family: 'Noto Serif Thai';
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/noto-serif-thai-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Sarabun 400 thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/sarabun-400-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* Sarabun 400 latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/sarabun-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Sarabun 600 thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/sarabun-600-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* Sarabun 600 latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/sarabun-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Sarabun 700 thai */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/sarabun-700-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* Sarabun 700 latin */
@font-face {
  font-family: 'Sarabun';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/sarabun-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0906;
  --bg-2: #120e09;
  --card: #17120b;
  --card-2: #1e180f;
  --line: rgba(214, 178, 98, 0.2);
  --line-strong: rgba(214, 178, 98, 0.45);
  --gold: #d6b262;
  --gold-light: #f1d892;
  --gold-deep: #a47e34;
  --gold-grad: linear-gradient(135deg, #f6e2a4 0%, #d6b262 45%, #a47e34 100%);
  --text: #f3ebdb;
  --muted: #b9ad95;
  --lotus: #e9a9b8;
  --ph-bg: rgba(255, 150, 100, 0.08);
  --ph-line: #ff9b6b;
  --ph-text: #ffc6aa;
  --radius: 18px;
  --maxw: 1120px;
  --font-head: "Noto Serif Thai", "Leelawadee UI", "Thonburi", serif;
  --font-body: "Sarabun", "Leelawadee UI", "Thonburi", "Tahoma", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(214, 178, 98, 0.12), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  padding-bottom: 76px; /* ที่ว่างให้แถบปุ่มโทรด้านล่างบนมือถือ */
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: #fff3c9; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.5em;
  color: #fbf3e2;
}
h1 { font-size: clamp(1.85rem, 7vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 9, 6, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img, .brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; line-height: 1.1; display: block; }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; color: var(--gold); text-transform: uppercase; display: block; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--gold-light);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav { display: none; }
.site-nav.open {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(11, 9, 6, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 18px;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 12px 6px; text-decoration: none; color: var(--text);
  border-bottom: 1px solid rgba(214, 178, 98, 0.1); font-size: 1.05rem;
}
.site-nav a[aria-current="page"] { color: var(--gold-light); }
.site-nav .nav-cta { margin-top: 14px; }
.site-nav .nav-cta a { display: inline-flex; color: #1a1205; border: 0; padding: 8px 20px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open {
    display: block; position: static; background: none; border: 0; padding: 0;
  }
  .site-nav ul { display: flex; align-items: center; gap: 4px; }
  .site-nav a { border: 0; padding: 8px 12px; font-size: 0.98rem; border-radius: 10px; }
  .site-nav a:hover { background: rgba(214, 178, 98, 0.08); }
  .site-nav a[aria-current="page"] { background: rgba(214, 178, 98, 0.12); }
  .site-nav .nav-cta { margin: 0 0 0 8px; }
  .site-nav .nav-cta a:hover { background: var(--gold-grad); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 6px 20px rgba(214, 178, 98, 0.25); }
.btn-gold:hover { color: #1a1205; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(214, 178, 98, 0.35); }
.btn-outline { background: transparent; color: var(--gold-light); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { background: rgba(214, 178, 98, 0.08); color: var(--gold-light); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: linear-gradient(180deg, rgba(214, 178, 98, 0.04), rgba(214, 178, 98, 0)); border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 8px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.page-hero { padding: 44px 0 20px; }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 1.05rem; }

.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span[aria-hidden] { margin: 0 6px; opacity: 0.6; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero-art { position: relative; max-width: 230px; margin: 0 auto; width: 100%; }
.hero-art .halo {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 178, 98, 0.28), transparent 65%);
  filter: blur(6px);
}
.hero-art svg { position: relative; width: 100%; height: auto; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 0.92rem;
  background: rgba(214, 178, 98, 0.08); border: 1px solid var(--line); color: var(--text);
}
.chip svg { width: 16px; height: 16px; color: var(--gold); }
.stars { color: var(--gold-light); letter-spacing: 1px; }

@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-art { max-width: 440px; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.card .muted, .muted { color: var(--muted); }
.card-link { text-decoration: none; color: inherit; display: block; transition: border-color 0.2s, transform 0.2s; }
.card-link:hover { border-color: var(--line-strong); transform: translateY(-2px); color: inherit; }
.price-from { font-family: var(--font-head); font-size: 1.15rem; color: var(--gold-light); }
.price-from small { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); }

.icon-badge {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: rgba(214, 178, 98, 0.1); border: 1px solid var(--line); color: var(--gold-light);
}
.icon-badge svg { width: 24px; height: 24px; }
.feature { display: grid; grid-template-columns: 46px 1fr; gap: 2px 14px; align-items: start; padding: 18px; }
.feature .icon-badge { margin: 0; grid-row: span 2; }
.feature h3 { margin: 0; font-size: 1.1rem; }
@media (min-width: 960px) { .feature { display: block; padding: 22px; } .feature .icon-badge { margin-bottom: 14px; } .feature h3 { margin-bottom: 6px; } }

/* Promo highlight */
.promo {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 24px;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(233, 169, 184, 0.14), transparent 70%),
    radial-gradient(500px 260px at 0% 100%, rgba(214, 178, 98, 0.16), transparent 70%),
    var(--card);
  padding: 26px 22px;
}
.promo .big-price { font-family: var(--font-head); font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1.1; margin: 6px 0; }
.promo .big-price small { font-size: 1rem; color: var(--muted); font-family: var(--font-body); }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  background: var(--gold-grad); color: #1a1205;
}

/* ---------- Price table ---------- */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.price-table caption { text-align: left; color: var(--muted); font-size: 0.92rem; padding-bottom: 12px; caption-side: top; }
.price-table thead { display: none; }
.price-table tbody { display: grid; gap: 12px; }
.price-table tr {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px;
}
.price-table th[scope="row"] {
  grid-column: 1 / -1; text-align: left;
  font-family: var(--font-head); font-size: 1.12rem; font-weight: 600; color: #fbf3e2;
}
.price-table th[scope="row"] small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.86rem; color: var(--muted); }
.price-table td {
  text-align: center; padding: 8px 4px; border-radius: 10px;
  background: rgba(214, 178, 98, 0.07); font-weight: 700; color: var(--gold-light); font-size: 1.02rem;
}
.price-table td::before { content: attr(data-label); display: block; font-size: 0.75rem; font-weight: 400; color: var(--muted); }
.price-table td.na { background: transparent; color: rgba(185, 173, 149, 0.4); font-weight: 400; }

@media (min-width: 760px) {
  .price-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
  .price-table caption { padding: 16px 20px 4px; }
  .price-table thead { display: table-header-group; }
  .price-table tbody { display: table-row-group; }
  .price-table tr { display: table-row; background: none; border: 0; padding: 0; }
  .price-table th, .price-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); background: none; border-radius: 0; }
  .price-table thead th { text-align: center; color: var(--gold); font-weight: 600; font-size: 0.95rem; }
  .price-table thead th:first-child { text-align: left; }
  .price-table td::before { display: none; }
  .price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
  .price-table tbody tr:hover { background: rgba(214, 178, 98, 0.05); }
}

.note { font-size: 0.9rem; color: var(--muted); }

/* ---------- Placeholder: ข้อมูลที่รอร้านยืนยัน ---------- */
.ph {
  display: inline-block;
  background: var(--ph-bg); color: var(--ph-text);
  border: 1.5px dashed var(--ph-line); border-radius: 8px;
  padding: 1px 8px; font-size: 0.9em;
}
.ph-block {
  display: grid; place-items: center; text-align: center;
  min-height: 160px; padding: 18px;
  background: var(--ph-bg); color: var(--ph-text);
  border: 1.5px dashed var(--ph-line); border-radius: var(--radius);
  font-size: 0.95rem;
}

/* ---------- Location ---------- */
.floors { display: grid; gap: 10px; max-width: 520px; }
.floor {
  display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  background: rgba(255, 255, 255, 0.015); color: var(--muted);
}
.floor b { font-family: var(--font-head); font-size: 1.3rem; text-align: center; color: var(--muted); }
.floor.here { border-color: var(--line-strong); background: linear-gradient(90deg, rgba(214, 178, 98, 0.16), rgba(214, 178, 98, 0.03)); color: var(--text); }
.floor.here b { color: var(--gold-light); }
.floor .pin { color: var(--lotus); font-weight: 700; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 18px 18px 18px 64px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad); color: #1a1205; font-weight: 800;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }

.map-frame {
  border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--card);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.9); }
.map-load {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--gold-light);
  background:
    repeating-linear-gradient(45deg, rgba(214, 178, 98, 0.05) 0 12px, transparent 12px 24px),
    radial-gradient(circle at 50% 45%, rgba(214, 178, 98, 0.18), transparent 60%), var(--card);
}
.map-load svg { width: 22px; height: 22px; }
@media (min-width: 760px) { .map-frame { aspect-ratio: 16 / 9; } }

.lang-box { border-left: 3px solid var(--gold); padding: 6px 0 6px 16px; margin: 0 0 16px; }
.lang-box p { margin: 0; }
.lang-box .lang { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.08em; }

/* ---------- Reviews ---------- */
.rating-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.rating-score { font-family: var(--font-head); font-size: clamp(3rem, 14vw, 4.6rem); line-height: 1; }
.rating-meta .stars { font-size: 1.5rem; }
.theme-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.theme-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
}
.theme-list svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 4px; }
.theme-list strong { display: block; color: #fbf3e2; }
.theme-list span { color: var(--muted); font-size: 0.95rem; }

/* ---------- Game banner ---------- */
.game-banner {
  display: grid; gap: 18px; align-items: center;
  border-radius: 24px; padding: 24px 22px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #ffe3ec 0%, #fff4d6 50%, #dff3ea 100%);
  color: #4a2f3a;
}
.game-banner h2 { color: #5a2e45; }
.game-banner p { color: #6d4a59; }
.game-banner .btn-gold { background: linear-gradient(135deg, #ff9fbd, #ff7aa2); color: #fff; box-shadow: 0 8px 22px rgba(255, 122, 162, 0.35); }
.game-banner .btn-gold:hover { color: #fff; }
.game-banner .mascot { width: 120px; justify-self: center; }
@media (min-width: 760px) { .game-banner { grid-template-columns: 1fr auto; padding: 32px 36px; } .game-banner .mascot { width: 150px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-weight: 600; color: #fbf3e2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
  transition: border-color 0.2s;
}
a.contact-item:hover { border-color: var(--line-strong); color: var(--text); }
.contact-item .icon-badge { margin: 0; flex: none; }
.contact-item strong { display: block; font-size: 1.05rem; }
.contact-item span { color: var(--muted); font-size: 0.92rem; }

.form { display: grid; gap: 14px; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 6px; font-size: 0.95rem; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: #0f0c08; color: var(--text); font: inherit; font-size: 16px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.form output, .msg-preview {
  display: block; white-space: pre-wrap; font-size: 0.95rem;
  background: #0f0c08; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 14px; color: var(--text);
}
.toast { color: var(--gold-light); font-size: 0.92rem; min-height: 1.5em; }

/* ---------- Hours table ---------- */
.hours { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours:last-child { border-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 48px 22px; border-radius: 28px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(600px 240px at 50% 0%, rgba(214, 178, 98, 0.18), transparent 70%), var(--card);
}
.cta-band p { color: var(--muted); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 28px; margin-top: 24px; color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.05rem; color: var(--gold-light); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--gold-light);
}
.social svg { width: 20px; height: 20px; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 9, 6, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { min-height: 50px; padding: 8px 10px; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }
}

/* ---------- Decorative ---------- */
.divider-lotus { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 8px 0 0; }
.divider-lotus::before, .divider-lotus::after { content: ""; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider-lotus::after { transform: scaleX(-1); }
.divider-lotus svg { width: 26px; height: 26px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Motion (anime.js) — ซ่อนก่อนเล่นเฉพาะตอน <html class="motion">
   ถ้าโหลดไม่ได้หรือไม่มีเฟรม class นี้จะถูกถอด แล้วทุกอย่างแสดงตามปกติ ---------- */
.hero-line { display: inline-block; }
.hero-art .petal, .hero-art .diamond, .hero-art .spark { transform-box: fill-box; transform-origin: 50% 100%; }
.hero-art .diamond, .hero-art .spark { transform-origin: 50% 50%; }
.hero-art .water { transform-box: fill-box; transform-origin: 50% 50%; }
.hero-art .ring-dots { transform-box: view-box; transform-origin: 50% 50%; }
/* ข้อความส่วนหัวใช้แอนิเมชัน CSS (เริ่มทันที ไม่รอ anime.js) เพื่อไม่ให้ข้อความหลักโผล่ช้า */
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.motion [data-hero],
.motion .page-hero .container > * { animation: rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.motion .hero-line:nth-of-type(1) { animation-delay: 0.06s; }
.motion .hero-line:nth-of-type(2) { animation-delay: 0.12s; }
/* ย่อหน้าหลัก (LCP) มองเห็นตั้งแต่เฟรมแรก แค่เลื่อนขึ้น ไม่จางเข้า */
@keyframes slide-in { from { transform: translateY(14px); } to { transform: none; } }
.motion .lead[data-hero],
.motion .page-hero .container > p:not(.eyebrow) { animation-name: slide-in; }
.motion .chip[data-hero]:nth-child(1) { animation-delay: 0.24s; }
.motion .chip[data-hero]:nth-child(2) { animation-delay: 0.3s; }
.motion .chip[data-hero]:nth-child(3) { animation-delay: 0.36s; }
.motion .btn-row[data-hero] { animation-delay: 0.42s; }
.motion .page-hero .container > :nth-child(2) { animation-delay: 0.06s; }
.motion .page-hero .container > :nth-child(3) { animation-delay: 0.12s; }
.motion .page-hero .container > :nth-child(4) { animation-delay: 0.18s; }
.motion .hero-art .petal,
.motion .hero-art .ring,
.motion .hero-art .water,
.motion .hero-art .diamond { opacity: 0; }

/* ---------- Language switch + EN/ZH pages ---------- */
.lang-switch { display: flex; gap: 2px; margin-left: auto; font-size: 0.85rem; }
.lang-switch a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 2px 8px; border-radius: 8px;
  color: var(--muted); text-decoration: none; border: 1px solid transparent;
}
.lang-switch a:hover { color: var(--gold-light); }
.lang-switch a[aria-current] { color: var(--gold-light); border-color: var(--line-strong); }
@media (max-width: 479px) {
  .brand-sub { display: none; }
  .lang-switch a[aria-current] { display: none; }
}
@media (min-width: 900px) {
  .lang-switch { order: 3; margin-left: 12px; }
  .site-nav { margin-left: auto; }
}
.taxi-card { text-align: center; }
.taxi-card .eyebrow { justify-content: center; }
.taxi-card .eyebrow::before { display: none; }
.taxi-th { font-family: "Sarabun", "Leelawadee UI", sans-serif; font-size: clamp(1.7rem, 7vw, 2.2rem); font-weight: 700; line-height: 1.45; color: #fff; margin: 6px 0 4px; }
.taxi-th small { font-size: 0.6em; font-weight: 600; color: var(--gold-light); }
.taxi-shop { font-family: "Sarabun", "Leelawadee UI", sans-serif; font-size: 1.1rem; color: var(--text); margin: 0 0 12px; }
html:lang(zh) {
  --font-body: "Sarabun", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", sans-serif;
  --font-head: "Noto Serif Thai", "Noto Serif SC", "Songti SC", "Microsoft YaHei", serif;
}
html:lang(zh) body { line-height: 1.8; }
html:lang(en) .hero h1 { font-size: clamp(1.8rem, 6vw, 2.9rem); }
