/* ==========================================================================
   PriviSeat — Luxury Editorial Redesign
   Drop-in upgrade. Loads LAST (after priviseat.css / mobile / v10) so it wins.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ---------- TOKENS (override) ---------- */
:root {
    --ps-primary:      #C8531C;
    --ps-primary-2:    #B8421E;
    --ps-primary-deep: #7A2710;
    --ps-primary-soft: #F2D8C7;

    --ps-secondary:    #1E8F80;
    --ps-secondary-2:  #0F5F55;
    --ps-jade:         #0F5F55;
    --ps-jade-soft:    #D7E8E2;

    --ps-gold:         #A98A48;
    --ps-gold-soft:    #E9D9A8;

    --ps-ink:          #1A1410;
    --ps-ink-soft:     #5E544A;
    --ps-cream:        #F5EFE3;
    --ps-cream-2:      #F0E8D6;
    --ps-bg:           #F5EFE3;
    --ps-surface:      #FBF7EE;
    --ps-surface-2:    #F0E8D6;
    --ps-line:         #E5DCC6;
    --ps-line-soft:    #EFE7D6;
    --ps-danger:       #A33A2E;
    --ps-success:      #3C7A4E;

    --ps-shadow-sm: 0 1px 2px rgba(40, 24, 10, .06), 0 4px 12px rgba(40, 24, 10, .04);
    --ps-shadow:    0 6px 18px rgba(40, 24, 10, .08), 0 18px 60px rgba(40, 24, 10, .06);
    --ps-shadow-lg: 0 30px 80px rgba(40, 24, 10, .14);

    --ps-radius-sm: 10px;
    --ps-radius:    16px;
    --ps-radius-lg: 24px;
    --ps-radius-xl: 32px;

    --ps-font-display: 'Playfair Display', 'DM Serif Display', Georgia, serif;
    --ps-font-body:    'Inter', 'Prompt', system-ui, sans-serif;
    --ps-font-luxury:  'Playfair Display', Georgia, serif;
    --ps-font-mono:    'ui-monospace', 'SF Mono', Menlo, monospace;
}

/* ---------- BASE ---------- */
html, body {
    font-family: var(--ps-font-body);
    background: var(--ps-bg);
    color: var(--ps-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body {
    background-image:
        radial-gradient(ellipse 800px 400px at 0% 0%, rgba(200, 83, 28, 0.07), transparent 60%),
        radial-gradient(ellipse 600px 300px at 100% 100%, rgba(15, 95, 85, 0.05), transparent 60%);
    background-attachment: fixed;
    min-height: 100vh;
}
::selection { background: rgba(184, 66, 30, .16); color: var(--ps-ink); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ps-font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ps-ink);
}
.ps-italic, em.ps-italic { font-style: italic; }
a { color: var(--ps-primary-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ps-primary-deep); }

/* ---------- LAYOUT ---------- */
.ps-container-customer {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px) 90px;
}

/* ---------- TOP HEADER ---------- */
.ps-top-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--ps-bg) 90%, transparent);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--ps-line-soft);
}
.ps-top-header-inner {
    display: flex; align-items: center; gap: 18px;
    padding: 14px clamp(16px, 4vw, 40px);
    max-width: 1320px; margin: 0 auto;
}
.ps-top-brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: 22px;
    color: var(--ps-ink);
    letter-spacing: -0.02em;
    text-decoration: none;
}
.ps-top-brand:hover { color: var(--ps-primary-deep); }
.ps-top-brand .ps-brand-italic { color: var(--ps-primary-2); font-style: italic; }

.ps-top-menu { display: flex; gap: 4px; margin-left: auto; }
.ps-top-menu a {
    padding: 8px 16px;
    font-family: var(--ps-font-body);
    font-size: 14px; font-weight: 500;
    color: var(--ps-ink-soft);
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all .2s;
}
.ps-top-menu a.active,
.ps-top-menu a:hover {
    color: var(--ps-ink);
    background: var(--ps-surface);
    border-color: var(--ps-line);
}

.ps-top-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.ps-top-menu + .ps-top-right { margin-left: 0; }

/* ---------- BUTTONS ---------- */
.btn-ps-primary, .btn-ps-outline, .btn-ps-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
    position: relative;
    cursor: pointer;
    font-family: var(--ps-font-body);
    line-height: 1.4;
    letter-spacing: 0.005em;
}
.btn-ps-primary {
    background: linear-gradient(135deg, var(--ps-primary) 0%, var(--ps-primary-deep) 100%);
    color: #fff;
    border: none;
    padding: 0.75rem 1.8rem;
    box-shadow: 0 10px 24px -8px rgba(184, 66, 30, .55);
    overflow: hidden;
    font-size: 14px;
}
.btn-ps-primary::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,.18), transparent);
    transform: translateX(-100%);
    transition: transform .6s;
}
.btn-ps-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(184, 66, 30, .65); color: #fff; }
.btn-ps-primary:hover::before { transform: translateX(100%); }
.btn-ps-primary:active, .btn-ps-primary:disabled { transform: translateY(0); opacity: .7; cursor: wait; }

.btn-ps-outline {
    background: transparent;
    color: var(--ps-primary-deep);
    border: 1.5px solid var(--ps-primary);
    padding: 0.65rem 1.6rem;
    font-size: 14px;
}
.btn-ps-outline:hover { background: var(--ps-primary); color: #fff; }

.btn-ps-ghost {
    background: var(--ps-surface);
    color: var(--ps-ink);
    border: 1px solid var(--ps-line);
    padding: 0.55rem 1.3rem;
    font-weight: 500;
    font-size: 13px;
}
.btn-ps-ghost:hover { border-color: var(--ps-primary); color: var(--ps-primary-deep); background: var(--ps-surface-2); }

.btn-ps-dark {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    background: var(--ps-ink); color: #fff; border: none;
    font-weight: 600; font-size: 13px; cursor: pointer;
    font-family: var(--ps-font-body);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .25s;
}
.btn-ps-dark:hover { transform: translateY(-2px); background: #2a2218; color: #fff; }

.btn-loading { pointer-events: none; }
.btn-loading::after {
    content: ""; width: 16px; height: 16px; margin-left: 8px;
    border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
    border-radius: 50%;
    animation: psSpin .7s linear infinite;
    display: inline-block; vertical-align: middle;
}
.btn-ps-outline.btn-loading::after { border-color: rgba(184,66,30,.3); border-top-color: var(--ps-primary-deep); }
@keyframes psSpin { to { transform: rotate(360deg); } }

/* Google button */
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;
    padding: .75rem 1.4rem;
    border-radius: 999px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-line);
    color: var(--ps-ink);
    font-weight: 600; font-size: 14px;
    text-decoration: none;
    transition: all .2s;
    font-family: var(--ps-font-body);
}
.btn-google:hover { border-color: var(--ps-primary); color: var(--ps-ink); background: #fff; }

/* ---------- CARDS ---------- */
.ps-card {
    background: var(--ps-surface);
    border-radius: var(--ps-radius-lg);
    box-shadow: var(--ps-shadow-sm);
    border: 1px solid var(--ps-line);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s, border-color .25s;
}
.ps-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow);
    border-color: rgba(184, 66, 30, .25);
}

/* HOTEL CARD */
.ps-hotel-card {
    position: relative;
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    background: var(--ps-surface);
    border: 1px solid var(--ps-line);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
}
.ps-hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ps-shadow-lg);
}
.ps-hotel-card .ps-hotel-img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--ps-cream-2), #fff);
    object-fit: cover;
    width: 100%;
    transition: transform .7s cubic-bezier(.23,1,.32,1);
    display: block;
}
.ps-hotel-card:hover .ps-hotel-img { transform: scale(1.06); }

.ps-hotel-card .ps-fav {
    position: absolute; top: 12px; right: 12px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: none;
    display: grid; place-items: center;
    cursor: pointer; z-index: 3;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: transform .2s, background .2s;
}
.ps-hotel-card .ps-fav:hover { transform: scale(1.1); }
.ps-hotel-card .ps-fav svg { transition: all .2s; }
.ps-hotel-card .ps-fav.active { background: var(--ps-primary-2); }
.ps-hotel-card .ps-fav.active svg { fill: #fff; stroke: #fff; }

.ps-hotel-card .ps-badge-discount {
    position: absolute; top: 12px; left: 12px;
    background: var(--ps-ink); color: #fff;
    font-size: .68rem; font-weight: 700; letter-spacing: .06em;
    padding: .35rem .75rem;
    border-radius: 999px;
    z-index: 3;
    text-transform: uppercase;
}

/* ---------- INPUTS ---------- */
.ps-input, .ps-input-box {
    border: 1px solid var(--ps-line);
    padding: 0.8rem 1.2rem;
    width: 100%;
    background: var(--ps-surface);
    transition: all .2s;
    font-family: var(--ps-font-body);
    font-size: .95rem;
    color: var(--ps-ink);
}
.ps-input { border-radius: 999px; }
.ps-input-box { border-radius: var(--ps-radius); }
.ps-input:focus, .ps-input-box:focus {
    outline: none;
    border-color: var(--ps-primary);
    box-shadow: 0 0 0 4px rgba(184, 66, 30, .10);
    background: #fff;
}
.ps-input::placeholder, .ps-input-box::placeholder { color: var(--ps-ink-soft); opacity: .65; }
textarea.ps-input, textarea.ps-input-box { border-radius: var(--ps-radius); resize: vertical; }

/* Select2 */
.select2-container--default .select2-selection--single {
    border: 1px solid var(--ps-line) !important;
    border-radius: 999px !important;
    height: 42px !important;
    padding: 4px 12px !important;
    background: var(--ps-surface) !important;
    font-family: var(--ps-font-body) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
    color: var(--ps-ink) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px !important; }
.select2-container--default.select2-container--focus .select2-selection {
    border-color: var(--ps-primary) !important;
    box-shadow: 0 0 0 4px rgba(184, 66, 30, .10) !important;
}

/* ---------- PILLS / CHIPS ---------- */
.ps-scroll-x {
    display: flex; gap: 8px;
    overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
    padding-bottom: 4px;
}
.ps-scroll-x::-webkit-scrollbar { display: none; }

.ps-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--ps-surface);
    color: var(--ps-ink);
    border: 1px solid var(--ps-line);
    font-size: 13px; font-weight: 600;
    font-family: var(--ps-font-body);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    transition: all .2s;
}
.ps-pill:hover { border-color: var(--ps-primary); color: var(--ps-primary-deep); }
.ps-pill.active {
    background: var(--ps-ink); color: #fff; border-color: var(--ps-ink);
}
.ps-pill.near-active {
    background: var(--ps-jade); color: #fff; border-color: var(--ps-jade);
}

/* ---------- STICKY FILTERS ---------- */
.ps-sticky-filters {
    position: sticky; top: 64px; z-index: 30;
    background: color-mix(in srgb, var(--ps-bg) 92%, transparent);
    backdrop-filter: blur(14px);
    padding: 12px 0;
    margin-bottom: 6px;
}

/* ---------- HERO BANNER ---------- */
.ps-hero {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--ps-radius-xl);
    overflow: hidden;
    background: var(--ps-surface-2);
    box-shadow: var(--ps-shadow);
}
.ps-hero img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.23,1,.32,1); }
.ps-hero:hover img { transform: scale(1.04); }
.ps-hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,20,16,0) 35%, rgba(26,20,16,.78) 100%);
    pointer-events: none;
}
.ps-hero-caption {
    position: absolute; bottom: 24px; left: 28px; right: 28px;
    color: #fff;
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: clamp(20px, 3vw, 32px);
    letter-spacing: -0.01em;
    line-height: 1.15;
    z-index: 2;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.ps-hero-caption::before {
    content: "Issue №08 · "; font-family: var(--ps-font-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: .24em; text-transform: uppercase;
    color: rgba(255,255,255,.85); display: block; margin-bottom: 8px;
}

.ps-banner-swiper { border-radius: var(--ps-radius-xl); overflow: hidden; }
.ps-banner-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; width: 20px; height: 4px; border-radius: 2px; transition: all .25s; }
.ps-banner-swiper .swiper-pagination-bullet-active { background: #fff; width: 32px; }

/* ---------- PRICES ---------- */
.ps-price-old { font-size: .78rem; color: var(--ps-ink-soft); text-decoration: line-through; }
.ps-price-new {
    font-family: var(--ps-font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--ps-primary-deep);
    letter-spacing: -0.01em;
}
.ps-gradient-text {
    background: linear-gradient(135deg, var(--ps-primary), var(--ps-primary-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- BADGES ---------- */
.ps-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.ps-badge-primary { background: var(--ps-primary-soft); color: var(--ps-primary-deep); }
.ps-badge-danger  { background: rgba(163, 58, 46, .12); color: var(--ps-danger); }
.ps-badge-success { background: rgba(60, 122, 78, .12); color: var(--ps-success); }
.ps-badge-gold    { background: var(--ps-gold-soft); color: var(--ps-gold); }
.ps-badge-jade    { background: var(--ps-jade-soft); color: var(--ps-jade); }

/* ---------- COUNTDOWN ---------- */
.ps-countdown {
    font-variant-numeric: tabular-nums;
    font-family: var(--ps-font-mono);
}
.ps-countdown-card {
    padding: 14px 16px;
    border-radius: var(--ps-radius);
    background: var(--ps-surface);
    border: 1px solid var(--ps-line);
    display: flex; align-items: center; gap: 12px;
}
.ps-countdown-card .label {
    font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--ps-primary); font-weight: 700;
}
.ps-countdown-card .ps-cd-seg {
    text-align: center; min-width: 50px;
}
.ps-countdown-card .ps-cd-seg b {
    font-family: var(--ps-font-display); font-weight: 500;
    font-variant-numeric: tabular-nums;
    font-size: 26px; line-height: 1; display: block;
    color: var(--ps-ink); letter-spacing: -0.02em;
}
.ps-countdown-card .ps-cd-seg span {
    font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ps-ink-soft); margin-top: 4px; display: block;
}

/* ---------- CHAIR STRIP ---------- */
.ps-chair-wrap {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--ps-ink-soft);
}

/* ---------- DIVIDER ---------- */
.ps-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ps-line), transparent);
    margin: 18px 0;
}

/* ---------- TOAST ---------- */
.ps-toast {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    border-radius: var(--ps-radius);
    background: var(--ps-surface);
    border: 1px solid var(--ps-line);
    box-shadow: var(--ps-shadow-sm);
    color: var(--ps-ink);
    font-size: 14px;
}
.ps-toast.warning { background: #FFF5E6; border-color: #F2D8C7; }
.ps-toast.error { background: #FBEEEC; border-color: rgba(163, 58, 46, .25); }

/* ---------- EMPTY ---------- */
.ps-empty {
    padding: 60px 20px; text-align: center;
    background: var(--ps-surface);
    border-radius: var(--ps-radius-lg);
    border: 1px dashed var(--ps-line);
    color: var(--ps-ink-soft);
}
.ps-empty i { color: var(--ps-ink-soft); opacity: .5; }
.ps-empty p {
    margin-top: 14px;
    font-family: var(--ps-font-display);
    font-size: 18px; color: var(--ps-ink);
}

/* ---------- ANIMATIONS ---------- */
.ps-animate-in { animation: psFadeUp .55s cubic-bezier(.2,.7,.2,1) both; }
.ps-animate-in-1 { animation-delay: .06s; }
.ps-animate-in-2 { animation-delay: .12s; }
.ps-animate-in-3 { animation-delay: .18s; }
.ps-animate-in-4 { animation-delay: .24s; }
.ps-animate-in-5 { animation-delay: .30s; }
@keyframes psFadeUp {
    from { transform: translateY(14px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
[data-reveal] { animation: psFadeUp .65s cubic-bezier(.2,.7,.2,1) both; }

.ps-pulse {
    animation: psPulse 2s ease-in-out infinite;
}
@keyframes psPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: .9; }
}

/* ---------- BOTTOM NAV ---------- */
.ps-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    display: grid;
    grid-template-columns: repeat(var(--cols, 4), 1fr);
    background: color-mix(in srgb, var(--ps-bg) 94%, transparent);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-top: 1px solid var(--ps-line-soft);
    padding-bottom: env(safe-area-inset-bottom);
}
.ps-bottom-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 4px;
    text-decoration: none;
    color: var(--ps-ink-soft);
    font-size: 11px; font-weight: 600;
    font-family: var(--ps-font-body);
    transition: color .2s;
}
.ps-bottom-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--ps-primary), var(--ps-primary-2));
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(230,115,63,.28);
    margin: 6px 4px;
    padding: 8px 4px;
}
.ps-bottom-nav a.active i,
.ps-bottom-nav a.active span { color: #fff !important; }
.ps-bottom-nav a i { font-size: 18px !important; }

@media (min-width: 992px) {
    .ps-bottom-nav { display: none; }
    .ps-container-customer { padding-bottom: 40px; }
}

/* ---------- DROP CAP (luxury detail desc) ---------- */
.ps-dropcap::first-letter {
    font-family: var(--ps-font-display);
    font-size: 3.4em; float: left;
    line-height: .9; margin: 6px 10px 0 0;
    color: var(--ps-primary-2);
    font-weight: 600;
}

/* ---------- EDITORIAL LABEL ---------- */
.ps-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--ps-primary-2); font-weight: 700;
    font-family: var(--ps-font-body);
}
.ps-eyebrow::before {
    content: ""; width: 28px; height: 1px; background: currentColor;
}
.ps-eyebrow.no-line::before { display: none; }

/* ---------- SECTION HEADERS ---------- */
.ps-section-title {
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -0.02em;
    color: var(--ps-ink);
    margin: 0;
}
.ps-section-sub {
    color: var(--ps-ink-soft);
    font-size: 14px;
    margin-top: 6px;
}

/* ---------- SPLASH ---------- */
#ps-splash {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--ps-bg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    overflow: hidden;
    transition: opacity .5s ease, transform .5s ease;
}
#ps-splash.exit { opacity: 0; transform: scale(1.02); pointer-events: none; }
#ps-splash::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 700px 400px at 20% 10%, var(--ps-primary-soft), transparent 60%),
        radial-gradient(ellipse 500px 380px at 90% 90%, var(--ps-jade-soft), transparent 60%);
    opacity: .85;
}
#ps-splash .ps-splash-frame {
    position: absolute;
    top: clamp(20px, 4vw, 36px); left: clamp(20px, 4vw, 36px);
    right: clamp(20px, 4vw, 36px); bottom: clamp(20px, 4vw, 36px);
    border: 1px solid rgba(26, 20, 16, .14);
    border-radius: var(--ps-radius-xl);
    pointer-events: none;
}
#ps-splash .ps-splash-top, #ps-splash .ps-splash-bottom {
    position: absolute; left: clamp(36px, 5vw, 56px); right: clamp(36px, 5vw, 56px);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--ps-ink-soft); font-weight: 600;
}
#ps-splash .ps-splash-top { top: clamp(36px, 5vw, 56px); }
#ps-splash .ps-splash-bottom { bottom: clamp(36px, 5vw, 56px); align-items: flex-end; gap: 16px; }
#ps-splash .ps-splash-bottom .quote {
    font-family: var(--ps-font-display);
    font-style: italic; font-size: 15px;
    letter-spacing: normal; text-transform: none;
    color: var(--ps-ink-soft);
    max-width: 360px; line-height: 1.5;
}
#ps-splash .ps-splash-line { width: 22px; height: 1px; background: currentColor; }
#ps-splash .ps-splash-center {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    padding: 0 24px;
}
#ps-splash .ps-splash-mark {
    margin-bottom: 22px;
    animation: psSplashFade .8s cubic-bezier(.2,.7,.2,1) both;
}
#ps-splash .ps-splash-wordmark {
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: clamp(48px, 9vw, 110px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ps-ink);
    margin: 0;
    overflow: hidden;
}
#ps-splash .ps-splash-wordmark span {
    display: inline-block;
    animation: psSplashWord .9s cubic-bezier(.2,.7,.2,1) both;
}
#ps-splash .ps-splash-wordmark .accent {
    color: var(--ps-primary-2); font-style: italic;
    animation-delay: .12s;
}
#ps-splash .ps-splash-tagline {
    margin-top: 18px;
    font-family: var(--ps-font-display);
    font-style: italic;
    font-size: clamp(15px, 1.6vw, 20px);
    color: var(--ps-ink-soft);
    text-align: center; max-width: 540px;
    animation: psSplashFade .9s .15s cubic-bezier(.2,.7,.2,1) both;
}
#ps-splash .ps-splash-divider {
    margin-top: 28px;
    display: flex; align-items: center; gap: 14px;
    color: rgba(26, 20, 16, .35);
    animation: psSplashFade .9s .25s cubic-bezier(.2,.7,.2,1) both;
}
#ps-splash .ps-splash-divider .line { width: 60px; height: 1px; background: currentColor; }
#ps-splash .ps-splash-bar {
    margin-top: 36px;
    width: min(280px, 50vw); height: 2px;
    border-radius: 999px;
    background: rgba(26, 20, 16, .10);
    overflow: hidden; position: relative;
    animation: psSplashFade .9s .35s cubic-bezier(.2,.7,.2,1) both;
}
#ps-splash .ps-splash-bar-fill {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--ps-primary), var(--ps-primary-deep));
    transform-origin: left;
    animation: psSplashBar 1.7s cubic-bezier(.7,.05,.3,1) both;
}
#ps-splash .ps-splash-bar-label {
    margin-top: 12px;
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--ps-ink-soft); font-weight: 600;
    animation: psSplashFade .9s .4s cubic-bezier(.2,.7,.2,1) both;
}
#ps-splash .ps-splash-skip {
    background: transparent;
    border: 1px solid rgba(26,20,16,.25);
    color: var(--ps-ink);
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 12px; font-weight: 600; letter-spacing: .06em;
    font-family: var(--ps-font-body);
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}
#ps-splash .ps-splash-skip:hover { background: var(--ps-ink); color: #fff; }

@keyframes psSplashFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes psSplashWord { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes psSplashBar  { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 600px) {
    #ps-splash .ps-splash-top .ps-splash-est,
    #ps-splash .ps-splash-bottom .quote { display: none; }
}

/* ---------- AUTH LAYOUT ---------- */
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: var(--ps-bg);
}
.auth-art {
    position: relative; overflow: hidden;
    margin: 28px;
    border-radius: var(--ps-radius-xl);
    background: var(--ps-surface-2);
    min-height: 480px;
}
.auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-art::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,20,16,0) 40%, rgba(26,20,16,.7) 100%);
}
.auth-art .frame {
    position: absolute; inset: 20px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: calc(var(--ps-radius-xl) - 8px);
    pointer-events: none;
    z-index: 2;
}
.auth-art .copy {
    position: absolute; bottom: 40px; left: 40px; right: 40px;
    z-index: 2; color: #fff;
}
.auth-art .copy .eyebrow {
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
    opacity: .85; font-weight: 600;
}
.auth-art .copy h2 {
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: clamp(28px, 3.6vw, 44px);
    letter-spacing: -0.02em;
    color: #fff;
    margin: 12px 0 8px;
}
.auth-art .copy p { margin: 0; opacity: .85; max-width: 360px; line-height: 1.6; font-size: 14px; }

.auth-form {
    display: flex; flex-direction: column; justify-content: center;
    padding: 32px clamp(20px, 4vw, 60px);
    max-width: 560px; width: 100%; margin: 0 auto;
}
.auth-title {
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 38px);
    letter-spacing: -0.02em;
    margin: 24px 0 8px;
    color: var(--ps-ink);
}
.auth-sub { color: var(--ps-ink-soft); margin: 0 0 24px; font-size: 14px; }
.auth-form .form-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ps-ink-soft); }

@media (max-width: 900px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-art { display: none; }
}

/* ---------- HOTEL DETAIL GALLERY ---------- */
.ps-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 10px;
    border-radius: var(--ps-radius-xl);
    overflow: hidden;
}
.ps-gallery > div { position: relative; overflow: hidden; background: var(--ps-surface-2); }
.ps-gallery > div:first-child { grid-row: span 2; }
.ps-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
    .ps-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 110px; }
    .ps-gallery > div:first-child { grid-column: span 2; grid-row: auto; }
    .ps-gallery > div:nth-child(n+4) { display: none; }
}

/* ---------- DETAIL TWO-COLUMN ---------- */
.ps-detail-wrap {
    display: grid;
    grid-template-columns: minmax(0,1fr) 360px;
    gap: 36px;
}
.ps-detail-wrap .ps-aside { position: relative; }
.ps-detail-wrap .ps-aside .ps-sticky-card {
    position: sticky; top: 84px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-line);
    border-radius: var(--ps-radius-xl);
    padding: 24px;
}
@media (max-width: 980px) {
    .ps-detail-wrap { grid-template-columns: 1fr; }
}

/* ---------- BOOKING CONFIRM ---------- */
.ps-confirm-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 380px;
    gap: 32px;
}
@media (max-width: 980px) {
    .ps-confirm-grid { grid-template-columns: 1fr; }
}
.ps-stepper {
    display: flex; gap: 6px;
    margin: 18px 0 26px;
}
.ps-stepper > div {
    flex: 1; display: flex; align-items: center; gap: 10px;
}
.ps-stepper .ps-step-circle {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--ps-surface); color: var(--ps-ink-soft);
    border: 1px solid var(--ps-line);
    display: grid; place-items: center;
    font-weight: 700; font-size: 12px;
    flex-shrink: 0;
}
.ps-stepper .ps-step-circle.active { background: var(--ps-ink); color: #fff; border-color: var(--ps-ink); }
.ps-stepper .ps-step-label { font-size: 13px; font-weight: 600; color: var(--ps-ink-soft); }
.ps-stepper .ps-step-label.active { color: var(--ps-ink); }
.ps-stepper .ps-step-line { flex: 1; height: 1px; background: var(--ps-line); }

/* ---------- SUCCESS TICKET ---------- */
.ps-ticket {
    background: var(--ps-bg);
    border: 1px solid var(--ps-line);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
}
.ps-ticket-perforation {
    height: 0; border-top: 1.5px dashed var(--ps-line);
    margin: 0 22px; position: relative;
}
.ps-ticket-perforation::before,
.ps-ticket-perforation::after {
    content: ""; position: absolute; top: -8px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--ps-bg);
}
.ps-ticket-perforation::before { left: -30px; }
.ps-ticket-perforation::after { right: -30px; }

.ps-code-strip {
    background: var(--ps-ink); color: #fff;
    padding: 12px 18px;
    border-radius: var(--ps-radius-sm);
    font-family: var(--ps-font-mono);
    font-size: 13px; letter-spacing: .16em;
    display: flex; justify-content: space-between; align-items: center;
}
.ps-code-strip .label { opacity: .55; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.ps-code-strip .code { font-weight: 700; }

/* ---------- BOOKING CARDS (history) ---------- */
.ps-booking-card {
    display: block;
    background: var(--ps-surface);
    border-radius: var(--ps-radius-lg);
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid var(--ps-line);
    box-shadow: var(--ps-shadow-sm);
    color: inherit;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
}
.ps-booking-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ps-shadow);
    border-color: var(--ps-primary);
    color: inherit; text-decoration: none;
}
.ps-booking-card-arrow {
    position: absolute; right: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--ps-line);
    font-size: 1.2rem;
}
.ps-booking-card:hover .ps-booking-card-arrow {
    color: var(--ps-primary-2);
    transform: translateY(-50%) translateX(3px);
}
.ps-booking-card-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 10px; margin-bottom: 12px; padding-right: 28px;
}
.ps-booking-card-hotel {
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em;
    margin-bottom: 4px; color: var(--ps-ink);
}
.ps-booking-card-meal { font-size: .85rem; color: var(--ps-ink-soft); }
.ps-booking-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ps-line), transparent);
    margin: 12px 0;
}
.ps-booking-card-meta {
    display: grid; grid-template-columns: 1fr auto;
    gap: 6px 12px; font-size: 13px;
}
.ps-booking-card-meta-row {
    display: flex; align-items: center; gap: 6px;
    color: var(--ps-ink-soft);
}
.ps-booking-card-meta-row i { color: var(--ps-primary-2); font-size: .95rem; }
.ps-booking-card-code {
    font-family: var(--ps-font-mono);
    font-weight: 600; font-size: 13px;
    color: var(--ps-primary-deep);
    background: var(--ps-primary-soft);
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: .04em;
}
.ps-booking-card-amount {
    font-family: var(--ps-font-display);
    font-weight: 600;
    color: var(--ps-ink); font-size: 1.05rem;
}

/* ---------- PAGINATION ---------- */
.ps-pagination-wrap { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.ps-pagination-info { font-size: 12px; color: var(--ps-ink-soft); }
.ps-pagination {
    display: flex; list-style: none; gap: 6px; padding: 0; margin: 0;
    flex-wrap: wrap; justify-content: center;
}
.ps-page > a, .ps-page > span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 12px;
    border-radius: 10px;
    background: var(--ps-surface);
    border: 1px solid var(--ps-line);
    color: var(--ps-ink);
    font-size: 14px; font-weight: 500;
    text-decoration: none;
    transition: all .15s;
}
.ps-page > a:hover { background: var(--ps-primary-soft); border-color: var(--ps-primary); color: var(--ps-primary-deep); transform: translateY(-1px); }
.ps-page.active > span {
    background: var(--ps-ink); color: #fff; border-color: var(--ps-ink);
    box-shadow: 0 4px 12px rgba(26,20,16,.25);
}
.ps-page.disabled > span { background: var(--ps-surface-2); color: var(--ps-line); cursor: not-allowed; }

/* ---------- HOTEL HERO IN DETAIL ---------- */
.ps-hotel-hero {
    position: relative;
    border-radius: var(--ps-radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--ps-surface-2);
}
.ps-hotel-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-hotel-hero .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26,20,16,.78) 100%);
}
.ps-hotel-hero .frame {
    position: absolute; inset: 20px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: calc(var(--ps-radius-xl) - 8px);
    pointer-events: none;
}
.ps-hotel-hero .caption {
    position: absolute; bottom: 24px; left: 28px; right: 28px;
    color: #fff;
}
.ps-hotel-hero .caption h2 {
    margin: 0;
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 48px);
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
    line-height: 1.05;
}
.ps-hotel-hero .caption .meta { margin-top: 8px; font-size: 14px; opacity: .92; }

/* ---------- MEAL ROW (in hotel detail) ---------- */
.ps-meal-card {
    background: var(--ps-surface);
    border: 1px solid var(--ps-line);
    border-radius: var(--ps-radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ps-meal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow);
    border-color: rgba(184, 66, 30, .2);
}

/* ---------- DENSITY ---------- */
.ps-grid-cards { display: grid; gap: 18px; }
@media (min-width: 600px) { .ps-grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .ps-grid-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .ps-grid-cards { grid-template-columns: repeat(4, 1fr); } }

/* ---------- DETAIL DESCRIPTION ---------- */
.ps-detail-desc {
    margin-top: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ps-line);
    color: var(--ps-ink);
    font-size: 16px; line-height: 1.75;
    max-width: 720px;
}

/* ---------- LANGUAGE SWITCH ---------- */
.ps-lang-switch {
    background: transparent;
    border: 1px solid var(--ps-line);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px; font-weight: 700; letter-spacing: .06em;
    color: var(--ps-ink-soft); cursor: pointer;
    font-family: var(--ps-font-body);
    text-decoration: none;
    transition: all .2s;
}
.ps-lang-switch:hover { color: var(--ps-ink); border-color: var(--ps-primary); }

/* ---------- PROFILE HERO CARD ---------- */
.ps-profile-hero {
    background: linear-gradient(135deg, var(--ps-primary-deep), var(--ps-primary));
    border-radius: var(--ps-radius-xl);
    padding: 32px 32px 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ps-profile-hero::before {
    content: "";
    position: absolute; top: -50px; right: -30px;
    width: 220px; height: 220px;
    border-radius: 50%; background: rgba(255,255,255,.08);
}

/* ---------- UTILITIES ---------- */
.text-muted { color: var(--ps-ink-soft) !important; }
.text-gold { color: var(--ps-gold); }
.text-jade { color: var(--ps-jade); }
.text-primary-deep { color: var(--ps-primary-deep); }
.fw-display { font-family: var(--ps-font-display); font-weight: 500; letter-spacing: -0.01em; }
.ps-mono { font-family: var(--ps-font-mono); }

/* ---------- DARK CONTRAST BADGE (collection ribbon) ---------- */
.ps-collection {
    display: block; padding: 18px 22px;
    border-radius: var(--ps-radius);
    text-align: left;
    text-decoration: none;
    transition: transform .25s;
}
.ps-collection:hover { transform: translateY(-3px); }
.ps-collection .ps-collection-num {
    font-size: 10px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; opacity: .7;
}
.ps-collection .ps-collection-title {
    font-family: var(--ps-font-display);
    font-weight: 500;
    font-size: 22px; letter-spacing: -0.01em;
    margin: 4px 0;
    color: inherit;
}
.ps-collection .ps-collection-desc { font-size: 13px; opacity: .8; }
.ps-collection .ps-collection-more {
    margin-top: 12px;
    font-size: 12px; font-weight: 700;
}
.ps-collection.terra { background: var(--ps-primary-soft); color: var(--ps-primary-deep); }
.ps-collection.jade  { background: var(--ps-jade-soft); color: var(--ps-jade); }
.ps-collection.gold  { background: var(--ps-gold-soft); color: var(--ps-gold); }
