/* ===== Template: Hotel Landing =====
   เปลี่ยนสีทั้งเว็บ: แก้ --brand / --brand-2 (สีหลัก) และ --accent (สีทอง ใช้กับปุ่มค้นหาและจุดเน้น)
*/
:root {
  --brand: #1d3f72;
  --brand-2: #2f6aa8;
  --brand-dark: #142f57;
  --brand-soft: #eaf1f9;
  --accent: #c9962c;
  --gradient: linear-gradient(120deg, var(--brand), var(--brand-2));

  --text: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --bg: #ffffff;
  --bg-soft: #f7f5f0;
  --dark: #0f2138;

  --success: #16a34a;
  --success-soft: #dcfce7;
  --warning: #b45309;
  --warning-soft: #fef3c7;
  --info: #2563eb;
  --info-soft: #dbeafe;
  --danger: #dc2626;
  --danger-soft: #fee2e2;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(20, 47, 87, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 47, 87, 0.16);
  --font: "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --container: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 20px rgba(29, 63, 114, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29, 63, 114, .36); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #b0821f; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- เมนูด้านบน ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(15, 33, 56, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand-accent { color: var(--brand-2); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--muted); text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.nav-list a:hover, .nav-list a.is-active { color: var(--brand); }
.nav-list a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gradient); }
.nav-actions { display: flex; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- section ทั่วไป ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-weight: 600; font-size: .9rem; color: var(--brand); background: var(--brand-soft); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; padding: 96px 0; color: #fff;
  background: var(--dark) url("../images/hero.svg") center / cover no-repeat; }
.hero-content { position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); padding: 6px 16px; border-radius: 999px; font-size: .92rem; margin-bottom: 20px; backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.01em; max-width: 720px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero-lead { font-size: 1.15rem; max-width: 560px; opacity: .92; }
.search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; background: #fff; color: var(--text); border-radius: 20px; padding: 18px; margin-top: 32px; max-width: 920px; box-shadow: var(--shadow-lg); }
.search-field { display: grid; gap: 4px; min-width: 0; }
.search-field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.search-field input, .search-field select { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }

/* ---------- การ์ด ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 18px; }
.card-icon svg { width: 26px; height: 26px; }
.card-icon.is-gold { background: #f8efd9; color: var(--accent); }

/* ---------- รีวิว ---------- */
.review { display: flex; flex-direction: column; gap: 16px; }
.review-stars { color: #f59e0b; letter-spacing: 2px; }
.review blockquote { margin: 0; color: var(--text); }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--gradient); flex: none; }
.review-author b { display: block; line-height: 1.3; }
.review-author span { color: var(--muted); font-size: .9rem; }

/* ---------- คำถาม ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }

/* ---------- เอฟเฟกต์ตอนเลื่อน (ซ่อนเฉพาะเมื่อมี JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ===================================================================
   หน้าสมาชิก (login / register)
   =================================================================== */
.demo-banner { background: var(--warning-soft); color: var(--warning); text-align: center; font-size: .9rem; padding: 8px 16px; }
.demo-banner b { font-weight: 700; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--gradient); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.auth-side .brand { color: #fff; }
.auth-side .brand-accent { color: #fff; opacity: .8; }
.auth-side h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 420px; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.auth-side li { display: flex; gap: 10px; align-items: center; }
.auth-side li svg { width: 20px; height: 20px; flex: none; }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-card > p { color: var(--muted); margin-bottom: 28px; }
.auth-switch { text-align: center; margin-top: 24px; color: var(--muted); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; margin-bottom: 32px; font-size: .95rem; }
.auth-back:hover { color: var(--brand); }

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }
.field-hint { color: var(--muted); font-size: .85rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 76px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--brand); font-weight: 600; font-size: .88rem; cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.check input { margin-top: 5px; accent-color: var(--brand); }

.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem; margin-bottom: 16px; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-info { background: var(--info-soft); color: var(--info); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .85rem; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }
.link-cell { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 32px 12px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.badge-pending { background: var(--warning-soft); color: var(--warning); }
.badge-processing { background: var(--info-soft); color: var(--info); }
.badge-completed { background: var(--success-soft); color: var(--success); }
.badge-canceled { background: var(--danger-soft); color: var(--danger); }

/* ===================================================================
   จอเล็ก
   =================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(15, 33, 56, .08);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-list a.is-active::after { display: none; }
  .nav-actions .btn { flex: 1; }
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

@media (max-width: 720px) {
  /* ตารางคำสั่งซื้อเป็นการ์ด */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 14px; margin-bottom: 12px; }
  .table td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); text-align: right; }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: .85rem; text-align: left; flex: none; }
  .table tr td:last-child { border-bottom: 0; }
  .table td.empty { justify-content: center; text-align: center; }
  .table .num { text-align: right; }
  .link-cell { max-width: none; min-width: 0; }
  .link-cell a { overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .header-inner { gap: 8px; }
  .brand { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .panel { padding: 18px; }
}

@media (hover: none) {
  .btn-primary:hover, .btn-light:hover, .card:hover { transform: none; }
  .card:hover { box-shadow: var(--shadow); border-color: var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   ร้านค้า
   =================================================================== */
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); font-size: .85rem; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--danger); }

.benefits { border-block: 1px solid var(--line); padding: 24px 0; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { display: flex; align-items: center; gap: 12px; }
.benefit svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
.benefit b { display: block; line-height: 1.3; }
.benefit span { color: var(--muted); font-size: .88rem; }

.promo { border-radius: 28px; padding: 56px; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.promo h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.promo p { opacity: .9; }
.promo-label { display: inline-block; background: rgba(255, 255, 255, .2); padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 12px; }
.promo-code { display: inline-block; border: 2px dashed rgba(255, 255, 255, .7); border-radius: 12px; padding: 6px 16px; }
.promo .btn { position: relative; z-index: 1; }

.cart-row { display: flex; justify-content: space-between; gap: 12px; }
.cart-row b { font-size: 1.2rem; }
.cart-note { margin: 0; color: var(--muted); font-size: .85rem; }

/* หน้าชำระเงิน / บัญชี */
.page-header { background: #fff; border-bottom: 1px solid var(--line); }
.page-header .header-inner { height: 64px; }
.page-main { padding: 32px 0 72px; background: var(--bg-soft); min-height: calc(100vh - 64px); }
.page-title { margin-bottom: 24px; }
.page-title h1 { font-size: 1.6rem; margin: 0; }
.page-title p { margin: 0; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.15rem; margin-bottom: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { margin: 0; }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.summary { position: sticky; top: 88px; }
.summary-rows { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.summary-rows .cart-row span { color: var(--muted); }
.summary-total { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.summary-total b { font-size: 1.4rem; color: var(--brand-dark); }
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.option:hover { border-color: var(--brand); }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.option input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; }
.option span { flex: 1; }
.option b { white-space: nowrap; }
.field textarea { min-height: 88px; resize: vertical; }
.success-box { text-align: center; padding: 48px 24px; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--success-soft); color: var(--success); display: grid; place-items: center; margin: 0 auto 16px; }
.success-icon svg { width: 36px; height: 36px; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

.order { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.order + .order { margin-top: 12px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 10px; }
.order-head b { font-size: 1.02rem; }
.order-items { color: var(--muted); font-size: .92rem; margin-bottom: 10px; }
.order-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--line); padding-top: 10px; font-size: .92rem; }
.order-foot b { color: var(--text); }
.badge-pending_payment { background: var(--warning-soft); color: var(--warning); }
.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.account-grid > .panel + .panel { margin-top: 0; }
.profile { text-align: center; }
.profile .avatar { width: 72px; height: 72px; font-size: 1.6rem; margin: 0 auto 12px; }
.profile p { color: var(--muted); margin-bottom: 16px; word-break: break-all; }

.badge-confirmed { background: var(--success-soft); color: var(--success); }
.badge-completed { background: var(--brand-soft); color: var(--brand-dark); }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 10px; font-size: .92rem; }

/* ===================================================================
   โรงแรม
   =================================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media img { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-stats { display: flex; gap: 32px; margin-top: 24px; }
.about-stats b { display: block; font-size: 2rem; line-height: 1.2; color: var(--brand); }
.about-stats span { color: var(--muted); font-size: .92rem; }

.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.room { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s; }
.room:hover { box-shadow: var(--shadow-lg); }
.room > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.room-badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.room-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.room-meta li { background: var(--bg-soft); border-radius: 999px; padding: 2px 12px; font-size: .85rem; color: var(--muted); }
.room-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.room-price { font-size: 1.4rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.room-price small { font-size: .85rem; font-weight: 400; color: var(--muted); }

.location { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.location h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.info-list li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.info-list b { color: var(--text); }
.info-list span { color: var(--muted); }
.map svg { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow); }

/* หน้าจอง */
.field-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.checkout > * { min-width: 0; }
.field input, .field select { min-width: 0; }
.room-options { display: grid; gap: 10px; }
.room-option { display: grid; grid-template-columns: auto 96px 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.room-option:hover { border-color: var(--brand); }
.room-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.room-option.is-disabled { cursor: not-allowed; opacity: .6; }
.room-option.is-disabled:hover { border-color: var(--line); }
.room-option input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; }
.room-option img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; }
.room-option-info { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.room-option-info small, .room-option-price small { color: var(--muted); font-size: .85rem; }
.room-option-price { text-align: right; white-space: nowrap; }
.room-option-price b { display: block; font-size: 1.1rem; }
.summary-room { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; margin-bottom: 16px; }
.summary-room img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; }
.summary-room small { display: block; color: var(--muted); font-size: .85rem; }
.summary .cart-row b { font-size: 1rem; }
.summary .summary-total b { font-size: 1.4rem; }

@media (max-width: 1024px) {
  .checkout { grid-template-columns: 1fr 340px; }
}
@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo { flex-direction: column; text-align: center; padding: 44px 28px; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search .btn { grid-column: 1 / -1; }
  .about, .location { grid-template-columns: 1fr; gap: 32px; }
  .rooms { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .panel { padding: 18px; }
  .hero { min-height: 0; padding: 48px 0 56px; }
  .search { grid-template-columns: 1fr 1fr; padding: 14px; gap: 10px; }
  .search-field:nth-child(3) { grid-column: 1 / -1; }
  .benefits-grid { gap: 14px; }
  .promo { border-radius: 22px; padding: 36px 20px; }
  .promo .btn { width: 100%; }
  .about-stats { gap: 20px; }
  .room-foot { flex-direction: column; align-items: stretch; }
  .room-foot .btn { width: 100%; }
  .info-list li { grid-template-columns: 1fr; gap: 0; }
  .field-row-3 { grid-template-columns: 1fr; gap: 0; }
  .room-option { grid-template-columns: auto 1fr auto; padding: 12px; }
  .room-option img { display: none; }
  .summary-room { grid-template-columns: 1fr; }
  .order-head { flex-direction: column; align-items: flex-start; }
  .page-header .btn { padding: 8px 12px; }
}
