/* ============================================================
   PrivSeat — LUXE theme v2 (premium / editorial)
   โทนหรู: espresso ink + rich gold + ivory + terracotta accent
   ============================================================ */
:root {
    /* ✦ โหมดสว่าง: โทนขาวสะอาด + ส้มสด (สไตล์ mockup) — dark mode ตรึงพาเลตเดิมไว้ใน priviseat-dark.css */
    --lx-ink:        #17181C;
    --lx-ink-2:      #232428;
    --lx-ink-soft:   #6B7078;
    --lx-cream:      #F7F7F9;
    --lx-cream-2:    #EFEFF2;
    --lx-paper:      #FFFFFF;
    --lx-gold:       #FF7A1A;
    --lx-gold-2:     #E85D04;
    --lx-gold-soft:  #FFC9A0;
    --lx-terra:      #FF6200;
    --lx-terra-2:    #FF8534;
    --lx-jade:       #1E8F80;
    --lx-line:       #EAEAEE;
    --lx-shadow:     0 22px 60px rgba(35, 24, 12, .14);
    --lx-shadow-sm:  0 8px 24px rgba(35, 24, 12, .09);
    --lx-serif:      'Playfair Display', 'Noto Serif Display', Georgia, serif;
    --lx-sans:       'Prompt', 'Inter', system-ui, sans-serif;
}

body.lx-body {
    /* ✦ โหมดสว่าง: พื้นขาวล้วนสะอาด (dark mode override เป็น mesh เข้มใน priviseat-dark.css) */
    background: #FFFFFF;
    color: var(--lx-ink);
    font-family: var(--lx-sans);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    position: relative;
    /* ⭐ สร้าง stacking context เอง — กันพื้นหลัง body (จาก priviseat.css: html,body{background:cream})
       ทับชั้นตกแต่ง ::before/::after (z-index ติดลบ) จนมองไม่เห็น */
    isolation: isolate;
}
/* ลายสานทองบางๆ (art-deco lattice) — fixed + ดริฟต์ช้าๆ ให้สัมผัสผ้าทอหรู */
body.lx-body::before {
    content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background-image:
        repeating-linear-gradient(45deg,  rgba(120,122,132,.05) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(-45deg, rgba(120,122,132,.04) 0 1px, transparent 1px 22px);
    -webkit-mask-image: radial-gradient(ellipse 96% 88% at 50% 36%, #000 38%, transparent 92%);
            mask-image: radial-gradient(ellipse 96% 88% at 50% 36%, #000 38%, transparent 92%);
    animation: lxDrift 90s linear infinite;
}
/* ม่านแสง (aurora) แชมเปญ-พีช-ทอง ลอยเคลื่อนช้าๆ */
body.lx-body::after {
    content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(520px 520px at 86% -2%, rgba(255,122,26,.14), transparent 64%),
        radial-gradient(440px 440px at 4% 82%,  rgba(255,133,52,.08), transparent 66%),
        radial-gradient(380px 380px at 76% 84%, rgba(255,98,0,.08),  transparent 68%);
    filter: blur(14px);
    animation: lxAurora 22s ease-in-out infinite alternate;
}
@keyframes lxAurora {
    0%   { transform: translate3d(0,0,0) scale(1);            opacity: .9; }
    50%  { transform: translate3d(0,22px,0) scale(1.06);      opacity: 1; }
    100% { transform: translate3d(-24px,-14px,0) scale(1.03); opacity: .82; }
}
@keyframes lxDrift {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 44px 44px, -44px 44px; }
}
@media (prefers-reduced-motion: reduce) {
    body.lx-body::before, body.lx-body::after { animation: none; }
}
/* ⭐ โหมดสว่าง: พื้นขาวล้วน — ซ่อนลายสาน/ม่านแสง/ละออง (โชว์เฉพาะโหมดมืด) */
body.lx-body::before, body.lx-body::after, .lx-bg-fx { display: none; }
html.dark body.lx-body::before, html.dark body.lx-body::after, html.dark .lx-bg-fx { display: block; }

/* ===== เอฟเฟกต์พื้นหลัง: ละอองทองลอยขึ้น + ลำแสงกวาด ===== */
.lx-bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

/* ลำแสงทองเอียง กวาดผ่านจอช้าๆ */
.lx-bg-fx .lx-beam {
    position: absolute; top: -30%; left: -45%; width: 42%; height: 160%;
    background: linear-gradient(105deg, transparent, rgba(255,248,228,.12) 48%, transparent);
    transform: rotate(8deg); filter: blur(8px);
    animation: lxBeam 16s ease-in-out infinite;
}
@keyframes lxBeam {
    0%, 100% { left: -55%; opacity: 0; }
    45%      { opacity: 1; }
    100%     { left: 130%; opacity: 0; }
}

/* ละอองทอง (embers) ลอยขึ้นพร้อมกระพริบ */
.lx-bg-fx .lx-spark {
    position: absolute; bottom: -24px; width: 9px; height: 9px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,214,180,1), rgba(255,140,60,.5) 52%, transparent 72%);
    box-shadow: 0 0 14px rgba(255,150,80,.75);
    opacity: 0; animation: lxRise linear infinite;
}
@keyframes lxRise {
    0%   { transform: translateY(0) translateX(0) scale(.5); opacity: 0; }
    12%  { opacity: .9; }
    50%  { transform: translateY(-52vh) translateX(14px) scale(1); opacity: .8; }
    88%  { opacity: .55; }
    100% { transform: translateY(-106vh) translateX(-10px) scale(.7); opacity: 0; }
}
/* กระจายตำแหน่ง/ขนาด/จังหวะ ให้ดูสุ่มเป็นธรรมชาติ */
.lx-bg-fx .lx-spark:nth-child(2)  { left: 6%;  width: 6px;  height: 6px;  animation-duration: 17s; animation-delay: 0s;   }
.lx-bg-fx .lx-spark:nth-child(3)  { left: 14%; width: 4px;  height: 4px;  animation-duration: 21s; animation-delay: 3s;   }
.lx-bg-fx .lx-spark:nth-child(4)  { left: 22%; width: 8px;  height: 8px;  animation-duration: 15s; animation-delay: 6s;   }
.lx-bg-fx .lx-spark:nth-child(5)  { left: 30%; width: 5px;  height: 5px;  animation-duration: 23s; animation-delay: 1.5s; }
.lx-bg-fx .lx-spark:nth-child(6)  { left: 38%; width: 6px;  height: 6px;  animation-duration: 19s; animation-delay: 8s;   }
.lx-bg-fx .lx-spark:nth-child(7)  { left: 46%; width: 4px;  height: 4px;  animation-duration: 25s; animation-delay: 4s;   }
.lx-bg-fx .lx-spark:nth-child(8)  { left: 55%; width: 7px;  height: 7px;  animation-duration: 16s; animation-delay: 10s;  }
.lx-bg-fx .lx-spark:nth-child(9)  { left: 63%; width: 5px;  height: 5px;  animation-duration: 22s; animation-delay: 2s;   }
.lx-bg-fx .lx-spark:nth-child(10) { left: 71%; width: 8px;  height: 8px;  animation-duration: 18s; animation-delay: 7s;   }
.lx-bg-fx .lx-spark:nth-child(11) { left: 79%; width: 4px;  height: 4px;  animation-duration: 24s; animation-delay: 5s;   }
.lx-bg-fx .lx-spark:nth-child(12) { left: 87%; width: 6px;  height: 6px;  animation-duration: 20s; animation-delay: 11s;  }
.lx-bg-fx .lx-spark:nth-child(13) { left: 93%; width: 5px;  height: 5px;  animation-duration: 17s; animation-delay: 9s;   }
.lx-bg-fx .lx-spark:nth-child(14) { left: 50%; width: 5px;  height: 5px;  animation-duration: 26s; animation-delay: 13s;  }
.lx-bg-fx .lx-spark:nth-child(15) { left: 18%; width: 6px;  height: 6px;  animation-duration: 21s; animation-delay: 14s;  }

@media (prefers-reduced-motion: reduce) { .lx-bg-fx { display: none; } }

/* เผื่อพื้นที่ให้ bottom-nav ลอย (มือถือ) ไม่ทับเนื้อหา */
@media (max-width: 991px) {
    body.lx-body main.lx-wrap { padding-bottom: 96px; }
    .lx-footer { padding-bottom: 80px; }
}
.lx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .lx-wrap { padding: 0 18px; } }

.lx-serif { font-family: var(--lx-serif); }
.lx-eyebrow {
    font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
    color: var(--lx-gold-2); font-weight: 700;
}
/* ⭐ ภาษาไทย: letter-spacing ถ่างมากทำให้สระ/คำแตก อ่านแปลก — ลดให้พออ่านสวย */
html[lang="th"] .lx-eyebrow  { letter-spacing: .1em; font-size: 12px; }
html[lang="th"] .lx-hero-eyebrow { letter-spacing: .12em; }

/* ---------- Entrance animations ---------- */
@keyframes lxFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lxKenBurns { from { transform: scale(1.02); } to { transform: scale(1.13); } }
@keyframes lxShine { to { background-position: 200% center; } }
.lx-body [data-reveal] { opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
.lx-body [data-reveal].ps-animate-in {
    opacity: 1; transform: none; animation: none;
    transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1);
}
.lx-grid [data-reveal]:nth-child(2).ps-animate-in { transition-delay: .06s; }
.lx-grid [data-reveal]:nth-child(3).ps-animate-in { transition-delay: .12s; }
.lx-grid [data-reveal]:nth-child(4).ps-animate-in { transition-delay: .06s; }
.lx-grid [data-reveal]:nth-child(5).ps-animate-in { transition-delay: .12s; }
.lx-grid [data-reveal]:nth-child(6).ps-animate-in { transition-delay: .18s; }

/* ---------- Top bar (dark, premium) — ล็อกอยู่บนสุดเสมอ ---------- */
.lx-header {
    position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1100;
    background: linear-gradient(180deg, rgba(19,19,24,.97), rgba(10,10,14,.96));
    backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 10px 34px rgba(0,0,0,.32);
}
/* เส้นทองเรืองด้านบน */
.lx-header::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
    background: linear-gradient(90deg, transparent, var(--lx-gold) 26%, var(--lx-gold-soft) 50%, var(--lx-gold) 74%, transparent);
    opacity: .92;
}
/* เส้นทองบางด้านล่าง */
.lx-header::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,122,26,.5) 18%, rgba(255,178,120,.7) 50%, rgba(255,122,26,.5) 82%, transparent);
}
.lx-header-inner { display: flex; align-items: center; gap: 20px; height: 78px; position: relative; }
/* แสงส้มจางหลังโลโก้ */
.lx-header-inner::before {
    content: ''; position: absolute; left: -34px; top: 50%; transform: translateY(-50%);
    width: 230px; height: 130px; pointer-events: none; z-index: 0;
    background: radial-gradient(circle, rgba(255,122,26,.18), transparent 64%);
}
.lx-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; position: relative; z-index: 1; }
.lx-brand-mark {
    position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 32% 26%, #FFD1AC, #FF8A3C 52%, #D14E00);
    color: #fff; font-family: var(--lx-serif); font-weight: 700; font-size: 22px;
    box-shadow: 0 4px 18px rgba(255,122,26,.5), inset 0 1px 2px rgba(255,255,255,.55);
}
.lx-brand-mark::after {
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 1px solid rgba(255,122,26,.45);
}
.lx-brand-text { display: flex; flex-direction: column; line-height: 1; }
.lx-brand-word { font-family: var(--lx-serif); font-size: 25px; font-weight: 600; letter-spacing: .01em; color: #FAFAFA; }
.lx-brand-word i { color: var(--lx-gold); font-style: italic; }
.lx-brand-sub { font-size: 8.5px; letter-spacing: .36em; text-transform: uppercase; color: var(--lx-gold); margin-top: 4px; font-weight: 600; padding-left: 2px; }
.lx-nav { display: flex; gap: 30px; margin-left: 24px; }
.lx-nav a {
    color: #B7B8C0; text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: .02em;
    position: relative; padding: 8px 0; transition: color .25s;
}
.lx-nav a::after {
    content: ''; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 1.5px;
    background: linear-gradient(90deg, var(--lx-gold), var(--lx-gold-soft));
    transition: left .3s cubic-bezier(.22,1,.36,1), right .3s cubic-bezier(.22,1,.36,1);
}
.lx-nav a:hover, .lx-nav a.active { color: #fff; }
.lx-nav a.active::after, .lx-nav a:hover::after { left: 0; right: 0; }
.lx-top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lx-btn {
    display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
    font-family: var(--lx-sans); font-weight: 600; font-size: 14px; border-radius: 999px;
    padding: 11px 22px; transition: transform .18s, box-shadow .25s, background .25s, color .2s; text-decoration: none;
}
.lx-btn-primary { background: linear-gradient(135deg, #FF8A3C, #FF5C00); color: #fff; box-shadow: 0 8px 22px rgba(255,98,0,.32); }
.lx-btn-primary:hover { background: linear-gradient(135deg, #FF7A22, #E85200); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,98,0,.42); }
.lx-btn-gold {
    background: linear-gradient(110deg, var(--lx-gold-2), var(--lx-gold) 45%, var(--lx-terra-2) 55%, var(--lx-gold-2));
    background-size: 220% auto; color: #fff;
}
.lx-btn-gold:hover { animation: lxShine 1.1s linear infinite; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,110,20,.4); color: #fff; }
.lx-btn-ghost { background: transparent; color: var(--lx-ink); border: 1px solid var(--lx-line); }
.lx-btn-ghost:hover { border-color: var(--lx-gold); color: var(--lx-terra); }
.lx-header .lx-btn-ghost { color: #EDEDEF; border-color: rgba(255,122,26,.45); }
.lx-header .lx-btn-ghost:hover { background: rgba(255,122,26,.14); color: #fff; }
.lx-btn-block { width: 100%; justify-content: center; }

.lx-pill-link {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(255,122,26,.4); background: rgba(255,255,255,.06); color: #EDEDEF;
    text-decoration: none; transition: .18s; cursor: pointer; font-size: 16px;
}
.lx-pill-link:hover { background: var(--lx-gold); color: #1b140d; border-color: var(--lx-gold); }
.lx-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lx-gold); }
.lx-avatar-ini {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--lx-gold), var(--lx-gold-2)); color: #1b140d; font-family: var(--lx-serif); font-weight: 700;
}
/* lang switcher inside dark header */
.lx-header select, .lx-header .ps-lang-toggle, .lx-header .lang-switcher button {
    color: #EDEDEF !important;
}
/* ปุ่มภาษามีพื้นครีมของตัวเอง — ปล่อยให้ตัวอักษรใช้ var(--ps-ink) ที่ปรับตามโหมด
   (สว่าง=ตัวอักษรเข้ม, มืด=ตัวอักษรสว่าง) กันมองไม่เห็นบนพื้นขาว */
.lx-header .ps-lang-switcher-btn { color: var(--ps-ink, #1F2937) !important; }
.lx-header .ps-darktoggle { color: #E6D3A6 !important; }

/* ---------- Hero ---------- */
.lx-hero {
    position: relative; border-radius: 28px; overflow: hidden; margin-top: 30px;
    height: 480px; box-shadow: var(--lx-shadow); isolation: isolate;
}
.lx-hero-slides, .lx-hero-bg { position: absolute; inset: 0; z-index: 0; }
.lx-hero-slides .swiper-slide { background-size: cover; background-position: center; }
.lx-hero-slides .swiper-slide::after, .lx-hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(20,12,6,.34) 0%, rgba(20,12,6,.30) 26%, rgba(20,12,6,.62) 58%, rgba(20,12,6,.97) 100%);
}
.lx-hero-bg { background-size: cover; background-position: center; animation: lxKenBurns 16s ease-out forwards; }
.lx-hero-content {
    position: absolute; left: 0; bottom: 0; z-index: 3; padding: 48px; color: #fff; max-width: 720px;
    animation: lxFadeUp 1s cubic-bezier(.22,1,.36,1) both;
}
.lx-hero-eyebrow { color: var(--lx-gold-soft); letter-spacing: .34em; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.lx-hero-title { font-family: var(--lx-serif); font-size: clamp(34px, 5vw, 58px); line-height: 1.04; margin: 14px 0 12px; font-weight: 600; text-shadow: 0 2px 30px rgba(0,0,0,.55); color: #fff !important; }
.lx-hero-sub { font-size: 16px; opacity: .94; max-width: 520px; line-height: 1.6; }
.lx-hero-rule { width: 56px; height: 2px; background: linear-gradient(90deg, var(--lx-gold), transparent); margin-bottom: 18px; }
@media (max-width: 600px) { .lx-hero { height: 430px; border-radius: 22px; } .lx-hero-content { padding: 28px 22px; } }

/* search floating */
.lx-search {
    margin: -36px auto 0; position: relative; z-index: 5; max-width: 780px;
    background: var(--lx-paper); border-radius: 18px; box-shadow: var(--lx-shadow);
    display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 22px; border: 1px solid var(--lx-line);
    animation: lxFadeUp .9s .15s cubic-bezier(.22,1,.36,1) both;
}
.lx-search i { color: var(--lx-gold); font-size: 18px; }
.lx-search input { flex: 1; border: none; outline: none; font-size: 15px; font-family: var(--lx-sans); background: transparent; color: var(--lx-ink); padding: 13px 0; }
@media (max-width: 600px) { .lx-search { margin-top: -30px; padding: 8px 8px 8px 16px; } .lx-search .lx-btn { padding: 11px 16px; } }

/* ---------- Section heading ---------- */
.lx-section { margin-top: 60px; }
.lx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.lx-section-title { font-family: var(--lx-serif); font-size: clamp(27px, 3.4vw, 40px); font-weight: 600; line-height: 1.08; margin: 6px 0 0; }
.lx-section-sub { color: var(--lx-ink-soft); font-size: 14px; margin-top: 6px; }
.lx-divider-gold { width: 50px; height: 2px; background: linear-gradient(90deg, var(--lx-gold), var(--lx-gold-soft)); margin: 14px 0; border-radius: 2px; }

/* ---------- Filter chips ---------- */
.lx-chips-wrap { position: relative; }
/* เฟดขอบขวาด้วย mask บนตัว chip เอง — กลืนกับพื้นหลังทุกแบบ (กันเกิด "กล่องครีม" บน mesh gradient) */
.lx-chips {
    display: flex; gap: 10px; overflow-x: auto; padding: 2px 40px 8px 2px; scrollbar-width: none; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
}
.lx-chips::-webkit-scrollbar { display: none; }
.lx-chip {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; scroll-snap-align: start;
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--lx-line);
    background: var(--lx-paper); color: var(--lx-ink-soft); font-size: 13.5px; font-weight: 500; transition: .2s; white-space: nowrap;
}
.lx-chip:hover { border-color: var(--lx-gold); color: var(--lx-ink); transform: translateY(-1px); }
.lx-chip.active { background: linear-gradient(135deg, #FF8A3C, #FF5C00); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(255,98,0,.3); }

/* ---------- Hotel grid ---------- */
.lx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 980px) { .lx-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 600px) { .lx-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

.lx-card {
    background: var(--lx-paper); border-radius: 22px; overflow: hidden; border: 1px solid var(--lx-line);
    box-shadow: var(--lx-shadow-sm); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s; display: flex; flex-direction: column;
    position: relative;
}
.lx-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 22px; padding: 1px; pointer-events: none; z-index: 4; opacity: 0;
    background: linear-gradient(135deg, var(--lx-gold-soft), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s;
}
.lx-card:hover { transform: translateY(-7px); box-shadow: var(--lx-shadow); }
.lx-card:hover::before { opacity: 1; }
.lx-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--lx-cream-2); }
.lx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.lx-card:hover .lx-card-media img { transform: scale(1.08); }
.lx-card-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; z-index: 3; }
.lx-fab {
    width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,.94); backdrop-filter: blur(8px); color: var(--lx-ink);
    display: grid; place-items: center; font-size: 15px; box-shadow: var(--lx-shadow-sm); transition: .2s;
}
.lx-fab:hover { background: var(--lx-terra); color: #fff; transform: scale(1.1); }
.lx-fab.active { background: var(--lx-terra); color: #fff; }
.lx-tag-discount {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    background: linear-gradient(135deg, var(--lx-terra), var(--lx-terra-2)); color: #fff; font-weight: 700; font-size: 12px;
    padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 4px 12px rgba(200,83,28,.35);
}
.lx-card-when {
    position: absolute; left: 0; bottom: 0; z-index: 3; color: #fff; padding: 18px 16px 12px; width: 100%;
    background: linear-gradient(180deg, transparent, rgba(20,12,6,.78));
    font-size: 12px; letter-spacing: .04em; display: flex; align-items: center; gap: 7px; font-weight: 500;
}
.lx-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.lx-card-city { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--lx-gold-2); font-weight: 700; }
.lx-card-name { font-family: var(--lx-serif); font-size: 22px; font-weight: 600; line-height: 1.18; margin: 6px 0 6px; }
.lx-card-name a { color: var(--lx-ink); text-decoration: none; transition: color .2s; }
.lx-card-name a:hover { color: var(--lx-terra); }
.lx-stars { color: var(--lx-gold); font-size: 13px; letter-spacing: 2px; }
.lx-card-meal { font-size: 13.5px; color: var(--lx-ink-soft); margin: 10px 0 4px; line-height: 1.5; }
.lx-card-meal strong { color: var(--lx-ink); font-weight: 600; }
.lx-card-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--lx-line); display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.lx-price-new { font-family: var(--lx-serif); font-size: 24px; font-weight: 600; color: var(--lx-terra); line-height: 1; }
.lx-price-old { font-size: 13px; color: var(--lx-ink-soft); text-decoration: line-through; margin-left: 6px; }
.lx-per { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--lx-ink-soft); margin-top: 3px; }
.lx-card-empty { padding: 26px 0; text-align: center; color: var(--lx-ink-soft); font-size: 13px; }
.lx-countdown { font-size: 12px; color: var(--lx-terra); font-weight: 600; margin-top: 8px; }
.lx-chair-wrap { margin: 6px 0; }

/* ---------- The PrivSeat Promise (แถบเทาอ่อน + ไอคอนเส้นส้ม ไอคอนซ้าย-ข้อความขวา) ---------- */
.lx-promise { background: #F6F6F8; margin-top: 60px; padding: 46px 0 50px; }
.lx-promise-eyebrow { color: var(--lx-terra); display: inline-flex; align-items: center; gap: 6px; }
.lx-promise-eyebrow i { font-size: 12px; }
.lx-promise-title span { color: var(--lx-terra); }
.lx-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 34px; }
@media (max-width: 860px) { .lx-values { grid-template-columns: repeat(2, 1fr); gap: 26px 22px; } }
@media (max-width: 480px) { .lx-values { grid-template-columns: 1fr; } }
.lx-value { display: flex; align-items: flex-start; gap: 14px; text-align: left; }
.lx-value-ic {
    flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center;
    border-radius: 14px; border: 1.5px solid var(--lx-terra); color: var(--lx-terra);
    font-size: 22px; background: transparent;
}
.lx-value h4 { font-family: var(--lx-sans); font-weight: 700; font-size: 16px; margin: 3px 0 5px; color: var(--lx-ink); }
.lx-value p { font-size: 13px; color: var(--lx-ink-soft); margin: 0; line-height: 1.55; }

/* โหมดมืด: แถบเข้มกลืนพื้นหลัง */
html.dark .lx-promise { background: rgba(255,255,255,.03); }

/* ---------- Footer (โทนเข้ม ทั้ง light/dark — ตัดกับ body ขาว แบบ mockup/Eatigo) ---------- */
.lx-footer { margin-top: 76px; background: #141418; color: #B9BAC2; }
.lx-foot-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lx-foot-brand .lx-brand-mark { width: 40px; height: 40px; font-size: 20px; }
.lx-footer-inner { padding: 52px 0 40px; display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: flex-start; }
.lx-footer .lx-brand-word { color: #fff; }
.lx-footer-tag { max-width: 340px; font-size: 13.5px; line-height: 1.8; opacity: .82; margin-top: 14px; }
.lx-footer-links { display: flex; gap: 46px; flex-wrap: wrap; }
.lx-footer-col h5 { font-family: var(--lx-serif); color: var(--lx-gold-soft); font-size: 16px; margin: 0 0 14px; }
.lx-footer-col a { display: block; color: #B2B3BC; text-decoration: none; font-size: 13.5px; padding: 5px 0; transition: color .15s, padding-left .15s; }
.lx-footer-col a:hover { color: #fff; padding-left: 4px; }
.lx-footer-bottom { border-top: 1px solid rgba(255,122,26,.22); padding: 20px 0; font-size: 12px; opacity: .6; text-align: center; letter-spacing: .04em; }

/* ---------- Detail page ---------- */
.lx-detail-cover { position: relative; border-radius: 26px; overflow: hidden; min-height: 400px; margin-top: 22px; box-shadow: var(--lx-shadow); display: flex; align-items: flex-end; isolation: isolate; }
.lx-detail-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 0; animation: lxKenBurns 18s ease-out forwards; }
.lx-detail-cover::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,12,6,.08), rgba(20,12,6,.78)); }
.lx-detail-cap { position: relative; z-index: 2; padding: 42px; color: #fff; animation: lxFadeUp 1s cubic-bezier(.22,1,.36,1) both; }
.lx-detail-name { font-family: var(--lx-serif); font-size: clamp(30px,4.4vw,48px); font-weight: 600; line-height: 1.04; margin: 8px 0 6px; text-shadow: 0 2px 24px rgba(0,0,0,.45); color: #fff !important; }
.lx-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 38px; margin-top: 36px; align-items: start; }
@media (max-width: 920px) { .lx-detail-grid { grid-template-columns: 1fr; } .lx-detail-cover { min-height: 320px; } .lx-detail-cap { padding: 26px; } }

.lx-meal { display: grid; grid-template-columns: 290px 1fr; background: var(--lx-paper); border: 1px solid var(--lx-line); border-radius: 20px; overflow: hidden; box-shadow: var(--lx-shadow-sm); margin-bottom: 22px; transition: box-shadow .3s, transform .3s; }
.lx-meal:hover { box-shadow: var(--lx-shadow); transform: translateY(-3px); }
@media (max-width: 640px) { .lx-meal { grid-template-columns: 1fr; } }
.lx-meal-media { position: relative; min-height: 220px; overflow: hidden; background: var(--lx-cream-2); }
.lx-meal-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .6s; }
.lx-meal:hover .lx-meal-media img { transform: scale(1.05); }
.lx-meal-body { padding: 24px; display: flex; flex-direction: column; }
.lx-meal-badges { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lx-badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; }
.lx-badge-type { background: var(--lx-cream-2); color: var(--lx-gold-2); }
.lx-badge-warn { background: #fbe9e4; color: var(--lx-terra); }
.lx-meal-name { font-family: var(--lx-serif); font-size: 23px; font-weight: 600; margin: 2px 0 7px; }
.lx-meal-meta { font-size: 13px; color: var(--lx-ink-soft); margin-bottom: 6px; }
.lx-meal-arrival { font-size: 13px; color: var(--lx-jade); font-weight: 600; margin-bottom: 8px; }
.lx-meal-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--lx-line); }

/* sticky ที่ตัว grid item (aside) — ถ้าอยู่ที่การ์ดข้างใน parent จะหดพอดีการ์ด ไม่มีระยะให้เลื่อน */
.lx-detail-grid > aside { position: sticky; top: 96px; align-self: start; }
.lx-sticky { background: var(--lx-paper); border: 1px solid var(--lx-line); border-radius: 22px; padding: 28px; box-shadow: var(--lx-shadow-sm); }
.lx-sticky::before { content: ''; display: block; width: 44px; height: 2px; background: linear-gradient(90deg, var(--lx-gold), var(--lx-gold-soft)); margin-bottom: 14px; border-radius: 2px; }

/* gallery thumbnails */
.lx-thumbs { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; gap: 6px; z-index: 2; }
.lx-thumb { width: 46px; height: 46px; border-radius: 9px; border: 2px solid rgba(255,255,255,.88); background-size: cover; background-position: center; cursor: pointer; padding: 0; position: relative; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: transform .15s; }
.lx-thumb:hover { transform: translateY(-2px) scale(1.05); }
.lx-thumb-more { position: absolute; inset: 0; background: rgba(0,0,0,.55); color: #fff; border-radius: 7px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* ป้องกัน priviseat-luxury.css มา override สี/ฟอนต์หัวข้อ luxe */
.lx-section-title, .lx-card-name, .lx-card-name a, .lx-meal-name, .lx-value h4, .lx-sticky h3 {
    color: var(--lx-ink); font-family: var(--lx-serif);
}
.lx-card-name a:hover { color: var(--lx-terra); }
.lx-hero-content, .lx-hero-sub, .lx-detail-cap { color: #fff; }
.lx-hero-eyebrow { color: var(--lx-gold-soft) !important; }

/* ============================================================
   Mobile polish — โรงแรม 2 ต่อแถว + footer ไม่ชิดขอบ
   ============================================================ */
@media (max-width: 600px) {
    /* การ์ดกระชับขึ้นสำหรับ 2 คอลัมน์ */
    .lx-card { border-radius: 16px; }
    .lx-card-media { aspect-ratio: 1 / 1; }
    .lx-card-body { padding: 12px 13px 14px; }
    .lx-card-city { font-size: 9.5px; letter-spacing: .1em; }
    .lx-card-name { font-size: 15.5px; line-height: 1.22; margin: 4px 0 4px; }
    .lx-stars { font-size: 11px; letter-spacing: 1px; }
    .lx-card-meal { font-size: 12px; margin: 6px 0 2px; }
    .lx-card-when { font-size: 10px; padding: 12px 10px 9px; gap: 5px; }
    .lx-tag-discount { font-size: 10px; padding: 3px 8px; top: 9px; left: 9px; }
    .lx-card-actions { top: 9px; right: 9px; gap: 6px; }
    .lx-fab { width: 32px; height: 32px; font-size: 13px; }
    .lx-countdown { font-size: 10.5px; }
    .lx-card-foot { flex-direction: column; align-items: stretch; gap: 9px; padding-top: 11px; }
    .lx-price-new { font-size: 19px; }
    .lx-price-old { font-size: 11px; }
    .lx-card-foot .lx-btn { width: 100%; justify-content: center; padding: 9px 10px; font-size: 12.5px; }
    .lx-section-head { flex-direction: column; align-items: flex-start; gap: 4px; }

    /* ---------- Footer ---------- */
    .lx-footer-inner {
        flex-direction: column; gap: 26px; padding: 40px 22px 30px;
        text-align: left;
    }
    .lx-footer-tag { max-width: 100%; }
    .lx-footer-links { gap: 30px; width: 100%; }
    .lx-footer-col { min-width: 120px; }
    .lx-footer-bottom { padding: 18px 22px; line-height: 1.6; }
}

/* tablet: การ์ด 2 คอลัมน์อยู่แล้ว แต่ footer เผื่อ padding */
@media (max-width: 760px) {
    .lx-footer-inner { padding-left: 24px; padding-right: 24px; }
    .lx-footer-bottom { padding-left: 24px; padding-right: 24px; }
}

/* ============================================================
   กัน horizontal overflow + ล็อก navbar ไม่ให้ไหล + bottom-nav พอดีจอ
   ============================================================ */
/* กัน overflow แนวนอน — ใช้ clip (ไม่สร้าง scroll container → ไม่พัง fixed header) */
html { overflow-x: hidden; }
body.lx-body { max-width: 100vw; padding-top: 78px; overflow-x: clip; }  /* เผื่อพื้นที่ให้ fixed header */
/* clip เนื้อหาหน้า (รวม hero swiper) ไม่ให้ดันจอกว้าง — header/bottom-nav เป็น sibling จึงไม่โดนกระทบ */
/* ⚠️ ห้ามใส่ overflow (clip/hidden) บน main.lx-wrap — Safari/iPad จะฆ่า position:sticky
   ของกล่องจอง (.lx-sticky) ข้างใน · การกันจอล้นทำที่ html/body + hero มี overflow ของตัวเองแล้ว */
.lx-hero, .lx-hero-slides, .lx-hero-slides .swiper-wrapper { overflow: hidden; max-width: 100%; }
.lx-hero-slides .swiper-slide { max-width: 100%; }

/* bottom-nav — บังคับให้อยู่ในจอเสมอ (ทับกฎเก่าที่มี min-width/translateX) */
@media (max-width: 991.98px) {
    .lx-body .ps-bottom-nav {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 520px !important;
        margin: 0 auto !important;
        transform: none !important;
        box-sizing: border-box;
    }
}

/* bottom-nav 5 ช่อง — ให้พอดีจอเล็ก */
@media (max-width: 575.98px) {
    .lx-body .ps-bottom-nav a { padding: 8px 1px !important; gap: 2px !important; }
    .lx-body .ps-bottom-nav a span { font-size: 9.5px !important; }
    .lx-body .ps-bottom-nav a i { font-size: 16px !important; }
    .lx-body .ps-bottom-nav a img { width: 20px !important; height: 20px !important; }
    .lx-body .ps-bottom-nav a.active { margin: 5px 2px !important; padding: 7px 1px !important; }
}

/* ============================================================
   ย่อ header บนมือถือ — กันเมนูบนสุด (โลโก้ + ภาษา + dark + กระดิ่ง + avatar) ล้นจอ
   วางท้ายไฟล์เพื่อให้ทับ padding-top เดิม (78px) ของ body.lx-body
   ============================================================ */
@media (max-width: 600px) {
    .lx-header-inner { gap: 8px; height: 60px; }
    body.lx-body { padding-top: 60px; }
    .lx-brand { gap: 8px; }
    .lx-brand-mark { width: 34px; height: 34px; font-size: 16px; }
    .lx-brand-mark::after { inset: -3px; }
    .lx-brand-word { font-size: 18px; }
    .lx-top-right { gap: 6px; }
    .lx-header .lx-pill-link,
    .lx-header .ps-darktoggle { width: 34px !important; height: 34px !important; font-size: 14px !important; }
    .lx-avatar, .lx-avatar-ini { width: 34px; height: 34px; font-size: 15px; }
    .lx-header .ps-lang-switcher-btn { padding: 5px 9px !important; font-size: 12px !important; }
    .lx-header .ps-lang-switcher-btn img { width: 16px !important; height: auto !important; }
    /* ปุ่ม เข้าสู่ระบบ / สมัครสมาชิก — ย่อให้พอดีจอ */
    .lx-header .lx-btn { padding: 8px 14px; font-size: 12.5px; }
}
/* แท็บเล็ต/จอกลาง (เมนู nav ซ่อนแล้ว แต่ปุ่มยังใหญ่) — ย่อปุ่ม auth ในหัว */
@media (max-width: 991px) {
    .lx-header .lx-btn { padding: 9px 16px; font-size: 13px; }
}
/* จอเล็กมาก: ย่อปุ่ม auth ในหัวลงอีก กันล้น */
@media (max-width: 400px) {
    .lx-header .lx-btn { padding: 7px 11px; font-size: 12px; }
    .lx-header-inner { gap: 6px; }
    .lx-top-right { gap: 5px; }
}
@media (max-width: 380px) {
    .lx-brand-word { font-size: 16px; }
    .lx-top-right { gap: 5px; }
    .lx-header .lx-pill-link,
    .lx-header .ps-darktoggle,
    .lx-avatar, .lx-avatar-ini { width: 31px !important; height: 31px !important; font-size: 13px !important; }
    .lx-brand-mark { width: 31px; height: 31px; font-size: 15px; }
}
