/* ============================================
   Luxury Hotel PMS — Design System
   Dark theme UI kit with responsive components
   ============================================ */

:root {
    --lux-bg: #070b14;
    --lux-bg-alt: #0a0f1a;
    --lux-surface: #0f1629;
    --lux-surface-2: #151d32;
    --lux-surface-3: #1c2540;
    --lux-border: rgba(255, 255, 255, 0.08);
    --lux-border-strong: rgba(255, 255, 255, 0.16);
    --lux-gold: #eab308;
    --lux-gold-light: #facc15;
    --lux-gold-dark: #ca9a04;
    --lux-text: #f8fafc;
    --lux-muted: #94a3b8;
    --lux-dim: #64748b;

    --lux-radius: 1rem;
    --lux-radius-lg: 1.25rem;
    --lux-radius-sm: 0.625rem;

    --lux-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --lux-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);

    --lux-topnav-h: 4rem;
    --lux-subbar-h: 2.75rem;
}

/* ---------- Base ---------- */

html.lux-dark { background: var(--lux-bg); }

body.lux-dark {
    background: var(--lux-bg);
    color: var(--lux-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.lux-bg-glow {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.13), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(234, 179, 8, 0.07), transparent),
        var(--lux-bg);
    background-attachment: fixed;
}

.lux-dark ::-webkit-scrollbar { width: 8px; height: 8px; }
.lux-dark ::-webkit-scrollbar-track { background: transparent; }
.lux-dark ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 4px; }
.lux-dark ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

::selection { background: rgba(234, 179, 8, 0.3); color: #fff; }

/* ---------- Typography ---------- */

.lux-page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--lux-text);
    line-height: 1.2;
}

.lux-display {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.lux-section-label {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--lux-gold);
    font-weight: 500;
}

.lux-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lux-dim);
}

/* ---------- Cards ---------- */

.lux-card {
    background: linear-gradient(145deg, rgba(21, 29, 50, 0.92), rgba(15, 22, 41, 0.97));
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius);
    box-shadow: var(--lux-shadow);
}

.lux-card-flat {
    background: var(--lux-surface-2);
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius);
}

.lux-card-hover {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.lux-card-hover:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 179, 8, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.lux-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--lux-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.lux-card-body { padding: 1.25rem; }

/* ---------- Bento Grid ---------- */

.lux-bento {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) { .lux-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lux-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1536px) { .lux-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.lux-bento-item { min-width: 0; }

@media (min-width: 640px) {
    .bento-sm-2 { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .bento-2 { grid-column: span 2; }
    .bento-3 { grid-column: span 3; }
    .bento-4 { grid-column: span 4; }
    .bento-row-2 { grid-row: span 2; }
}
@media (min-width: 1536px) {
    .bento-xl-2 { grid-column: span 2; }
    .bento-xl-3 { grid-column: span 3; }
    .bento-xl-4 { grid-column: span 4; }
    .bento-xl-6 { grid-column: span 6; }
}

/* ---------- Stat Cards ---------- */

.lux-stat-card {
    border-radius: var(--lux-radius);
    padding: 1.25rem 1.5rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.lux-stat-card:hover { transform: translateY(-3px); }

.lux-stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(25deg);
    pointer-events: none;
}

.lux-stat-pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.lux-stat-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.lux-stat-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.lux-stat-orange { background: linear-gradient(135deg, #f97316, #c2410c); }
.lux-stat-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.lux-stat-emerald { background: linear-gradient(135deg, #10b981, #047857); }

.lux-stat-value { font-size: 1.875rem; font-weight: 700; line-height: 1.1; }
.lux-stat-label { font-size: 0.8125rem; opacity: 0.92; margin-top: 0.25rem; }

/* ---------- Buttons ---------- */

.lux-btn-gold,
.lux-btn-ghost,
.lux-btn-danger,
.lux-btn-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.125rem;
    border-radius: var(--lux-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
}

.lux-btn-gold {
    background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-dark));
    color: #0f172a;
    font-weight: 600;
}

.lux-btn-gold:hover {
    background: linear-gradient(135deg, var(--lux-gold-light), var(--lux-gold));
    box-shadow: 0 4px 18px rgba(234, 179, 8, 0.35);
}

.lux-btn-ghost {
    border-color: var(--lux-border);
    color: var(--lux-muted);
    background: transparent;
}

.lux-btn-ghost:hover {
    border-color: var(--lux-border-strong);
    color: var(--lux-text);
    background: rgba(255, 255, 255, 0.04);
}

.lux-btn-soft {
    background: rgba(255, 255, 255, 0.06);
    color: var(--lux-text);
    border-color: var(--lux-border);
}

.lux-btn-soft:hover { background: rgba(255, 255, 255, 0.1); }

.lux-btn-danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.lux-btn-danger:hover { background: rgba(239, 68, 68, 0.2); }

.lux-btn-sm { padding: 0.3125rem 0.75rem; font-size: 0.75rem; }
.lux-btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }
.lux-btn-block { width: 100%; }

/* ---------- Forms ---------- */

.lux-label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lux-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.lux-input {
    background: rgba(7, 11, 20, 0.6);
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius-sm);
    padding: 0.625rem 0.875rem;
    color: var(--lux-text);
    width: 100%;
    outline: none;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lux-input::placeholder { color: var(--lux-dim); }

.lux-input:focus {
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

.lux-input option { background: var(--lux-surface-2); color: var(--lux-text); }

textarea.lux-input { resize: vertical; min-height: 5rem; }

.lux-input[type="date"]::-webkit-calendar-picker-indicator,
.lux-input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
}

.lux-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--lux-muted);
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius-sm);
    transition: all 0.2s;
}

.lux-checkbox:hover { border-color: var(--lux-border-strong); color: var(--lux-text); }
.lux-checkbox input { accent-color: var(--lux-gold); width: 1rem; height: 1rem; }

.lux-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) { .lux-form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .lux-form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lux-form-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.lux-col-span-full { grid-column: 1 / -1; }

/* ---------- Tables ---------- */

.lux-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lux-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.lux-table thead { background: rgba(255, 255, 255, 0.03); }

.lux-table th {
    color: var(--lux-muted);
    font-weight: 500;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.75rem 1.25rem;
    white-space: nowrap;
}

.lux-table td { border-top: 1px solid var(--lux-border); padding: 0.75rem 1.25rem; }
.lux-table tbody tr { transition: background 0.15s; }
.lux-table tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
.lux-table-clickable tbody tr { cursor: pointer; }

/* Mobile card-style table */
@media (max-width: 767px) {
    .lux-table-responsive thead { display: none; }
    .lux-table-responsive tbody tr {
        display: block;
        border: 1px solid var(--lux-border);
        border-radius: var(--lux-radius-sm);
        margin-bottom: 0.75rem;
        padding: 0.5rem;
        background: var(--lux-surface-2);
    }
    .lux-table-responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        border: none;
        padding: 0.5rem 0.75rem;
        text-align: right;
    }
    .lux-table-responsive td::before {
        content: attr(data-label);
        color: var(--lux-dim);
        font-size: 0.6875rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        text-align: left;
    }
}

/* ---------- Badges ---------- */

.lux-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1875rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 500;
    white-space: nowrap;
}

.lux-badge-available,
.lux-badge-checked_in,
.lux-badge-open { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.lux-badge-occupied,
.lux-badge-checkout_pending,
.lux-badge-pending { background: rgba(234, 179, 8, 0.15); color: #facc15; }

.lux-badge-reserved,
.lux-badge-confirmed { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.lux-badge-dirty { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.lux-badge-cleaning { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.lux-badge-inspection_pending { background: rgba(99, 102, 241, 0.15); color: #818cf8; }

.lux-badge-maintenance,
.lux-badge-cancelled,
.lux-badge-no_show { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.lux-badge-out_of_service,
.lux-badge-checked_out,
.lux-badge-closed { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }

.lux-badge-preparing { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.lux-badge-delivered { background: rgba(16, 185, 129, 0.15); color: #34d399; }

.lux-badge-gold { background: rgba(234, 179, 8, 0.15); color: var(--lux-gold-light); }

/* ---------- Navigation ---------- */

.lux-topnav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(7, 11, 20, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lux-sidebar {
    background: linear-gradient(180deg, #121a2e 0%, #0d1324 100%);
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius-lg);
    box-shadow: var(--lux-shadow-lg);
}

.lux-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5625rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    color: var(--lux-muted);
    transition: all 0.18s ease;
    border: 1px solid transparent;
}

.lux-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--lux-text);
}

.lux-nav-item.active {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.22), rgba(234, 179, 8, 0.06));
    color: var(--lux-gold);
    border-color: rgba(234, 179, 8, 0.2);
}

.lux-nav-icon {
    width: 1.5rem;
    text-align: center;
    font-size: 0.9375rem;
    flex-shrink: 0;
}

/* ---------- Drawer (mobile sidebar) ---------- */

.lux-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.lux-drawer-backdrop.open { opacity: 1; visibility: visible; }

.lux-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(19rem, 85vw);
    background: linear-gradient(180deg, #121a2e 0%, #0d1324 100%);
    border-right: 1px solid var(--lux-border);
    z-index: 70;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--lux-shadow-lg);
}

.lux-drawer.open { transform: translateX(0); }

.lux-drawer-right {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid var(--lux-border);
    transform: translateX(100%);
}

.lux-drawer-right.open { transform: translateX(0); }

.lux-drawer-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--lux-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lux-drawer-body { flex: 1; overflow-y: auto; padding: 0.75rem; }

/* ---------- Modal ---------- */

.lux-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s, visibility 0.22s;
}

.lux-modal-backdrop.open { opacity: 1; visibility: visible; }

.lux-modal {
    background: linear-gradient(145deg, #1a2340, #111830);
    border: 1px solid var(--lux-border-strong);
    border-radius: var(--lux-radius-lg);
    box-shadow: var(--lux-shadow-lg);
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.lux-modal-backdrop.open .lux-modal { transform: scale(1) translateY(0); }

.lux-modal-sm { max-width: 24rem; }
.lux-modal-lg { max-width: 48rem; }
.lux-modal-xl { max-width: 64rem; }

.lux-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--lux-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lux-modal-title { font-size: 1.0625rem; font-weight: 600; color: var(--lux-text); }
.lux-modal-body { padding: 1.5rem; overflow-y: auto; flex: 1; }

.lux-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--lux-border);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.lux-modal-close {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lux-dim);
    transition: all 0.2s;
    flex-shrink: 0;
}

.lux-modal-close:hover { background: rgba(255, 255, 255, 0.08); color: var(--lux-text); }

/* Bottom sheet on mobile */
@media (max-width: 639px) {
    .lux-modal-backdrop { align-items: flex-end; padding: 0; }
    .lux-modal {
        max-width: 100%;
        border-radius: var(--lux-radius-lg) var(--lux-radius-lg) 0 0;
        max-height: 92vh;
        transform: translateY(100%);
    }
    .lux-modal-backdrop.open .lux-modal { transform: translateY(0); }
}

/* ---------- Toast ---------- */

.lux-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    pointer-events: none;
    max-width: calc(100vw - 2rem);
    width: 22rem;
}

@media (max-width: 639px) {
    .lux-toast-container { left: 1rem; right: 1rem; width: auto; }
}

.lux-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--lux-radius-sm);
    background: linear-gradient(145deg, #1a2340, #111830);
    border: 1px solid var(--lux-border-strong);
    box-shadow: var(--lux-shadow-lg);
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1), opacity 0.3s;
    position: relative;
    overflow: hidden;
}

.lux-toast.show { transform: translateX(0); opacity: 1; }
.lux-toast.hide { transform: translateX(120%); opacity: 0; }

.lux-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}

.lux-toast-success::before { background: #10b981; }
.lux-toast-error::before { background: #ef4444; }
.lux-toast-warning::before { background: #eab308; }
.lux-toast-info::before { background: #3b82f6; }

.lux-toast-icon { font-size: 1.125rem; line-height: 1.2; flex-shrink: 0; }
.lux-toast-content { flex: 1; min-width: 0; }
.lux-toast-title { font-size: 0.875rem; font-weight: 600; color: var(--lux-text); }
.lux-toast-msg { font-size: 0.8125rem; color: var(--lux-muted); margin-top: 0.125rem; word-wrap: break-word; }

.lux-toast-close {
    color: var(--lux-dim);
    font-size: 1.125rem;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}

.lux-toast-close:hover { color: var(--lux-text); }

.lux-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(234, 179, 8, 0.5);
    animation: luxToastProgress linear forwards;
}

@keyframes luxToastProgress { from { width: 100%; } to { width: 0; } }

/* ---------- Popover / Dropdown ---------- */

.lux-popover { position: relative; display: inline-block; }

.lux-popover-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 12rem;
    background: linear-gradient(145deg, #1a2340, #111830);
    border: 1px solid var(--lux-border-strong);
    border-radius: var(--lux-radius-sm);
    box-shadow: var(--lux-shadow-lg);
    padding: 0.375rem;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.18s ease;
}

.lux-popover-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }

.lux-popover-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    color: var(--lux-muted);
    transition: all 0.15s;
    width: 100%;
    text-align: left;
}

.lux-popover-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--lux-text); }

/* ---------- Tabs ---------- */

.lux-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--lux-border);
    overflow-x: auto;
    scrollbar-width: none;
}

.lux-tabs::-webkit-scrollbar { display: none; }

.lux-tab {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--lux-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.lux-tab:hover { color: var(--lux-text); }
.lux-tab.active { color: var(--lux-gold); border-bottom-color: var(--lux-gold); }

.lux-pill-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.lux-pill {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: var(--lux-muted);
    border: 1px solid var(--lux-border);
    transition: all 0.2s;
}

.lux-pill:hover { border-color: var(--lux-border-strong); color: var(--lux-text); }

.lux-pill.active {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.35);
    color: var(--lux-gold);
}

/* ---------- Quick Actions ---------- */

.lux-quick-action {
    background: var(--lux-surface-2);
    border: 1px solid var(--lux-border);
    border-radius: 0.875rem;
    padding: 1rem 0.75rem;
    text-align: center;
    transition: all 0.22s ease;
    display: block;
}

.lux-quick-action:hover {
    border-color: rgba(234, 179, 8, 0.3);
    background: rgba(234, 179, 8, 0.06);
    transform: translateY(-2px);
}

.lux-quick-icon { font-size: 1.375rem; display: block; margin-bottom: 0.5rem; }

/* ---------- Room / Product Cards ---------- */

.lux-room-card {
    background: var(--lux-surface-2);
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.lux-room-card:hover {
    border-color: rgba(234, 179, 8, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-3px);
}

.lux-feature-card {
    background: linear-gradient(145deg, rgba(21, 29, 50, 0.6), rgba(15, 22, 41, 0.85));
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius-lg);
    padding: 1.75rem;
    transition: border-color 0.25s;
}

.lux-feature-card:hover { border-color: rgba(234, 179, 8, 0.2); }

/* ---------- Status Tiles (room board) ---------- */

.lux-room-tile {
    border-radius: var(--lux-radius);
    padding: 1rem;
    border: 2px solid;
    transition: all 0.22s;
}

.lux-room-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

.tile-available { border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.07); }
.tile-reserved { border-color: rgba(59, 130, 246, 0.4); background: rgba(59, 130, 246, 0.07); }
.tile-occupied { border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.07); }
.tile-dirty { border-color: rgba(249, 115, 22, 0.4); background: rgba(249, 115, 22, 0.07); }
.tile-cleaning { border-color: rgba(168, 85, 247, 0.4); background: rgba(168, 85, 247, 0.07); }
.tile-maintenance { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.07); }
.tile-out_of_service { border-color: rgba(100, 116, 139, 0.4); background: rgba(100, 116, 139, 0.07); }
.tile-checkout_pending { border-color: rgba(234, 179, 8, 0.4); background: rgba(234, 179, 8, 0.07); }
.tile-inspection_pending { border-color: rgba(99, 102, 241, 0.4); background: rgba(99, 102, 241, 0.07); }

/* ---------- Room Map (seat-map style picker) ---------- */

.lux-map {
    --seat: 2.25rem;
    --seat-gap: 0.3rem;
    padding-bottom: 7rem;
}

/* Embedded in a form, where no fixed selection bar needs clearing. */
.lux-map-inline {
    --seat: 1.85rem;
    padding-bottom: 0;
}

.lux-map-inline .lux-map-scroll {
    max-height: 26rem;
    overflow-y: auto;
}

.lux-map-inline .lux-tier { margin-bottom: 1.25rem; }

.lux-map-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1rem;
}

.lux-tier { margin-bottom: 2rem; }

.lux-tier-head {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
    white-space: nowrap;
}

.lux-tier-head::before,
.lux-tier-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lux-border), transparent);
}

.lux-tier-title {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lux-muted);
}

.lux-tier-price { color: var(--lux-gold); font-weight: 600; }

.lux-floor-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: var(--seat-gap);
    min-width: max-content;
}

.lux-floor-label {
    width: 3.25rem;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: var(--lux-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: right;
}

.lux-seat-row {
    display: flex;
    gap: var(--seat-gap);
    flex-wrap: nowrap;
}

.lux-seat {
    width: var(--seat);
    height: var(--seat);
    border-radius: 0.375rem;
    border: 1px solid;
    font-size: 0.625rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.12s ease, background 0.15s, color 0.15s, border-color 0.15s;
    flex-shrink: 0;
    position: relative;
    font-variant-numeric: tabular-nums;
}

.lux-seat-available {
    border-color: rgba(16, 185, 129, 0.45);
    color: #34d399;
    background: transparent;
    cursor: pointer;
}

.lux-seat-available:hover { background: rgba(16, 185, 129, 0.9); color: #05231a; transform: translateY(-2px); }

.lux-seat-popular {
    border-color: rgba(234, 179, 8, 0.55);
    color: var(--lux-gold-light);
    background: rgba(234, 179, 8, 0.09);
    cursor: pointer;
}

.lux-seat-popular:hover { background: rgba(234, 179, 8, 0.9); color: #231a02; transform: translateY(-2px); }

.lux-seat-selected,
.lux-seat-selected:hover {
    background: #10b981;
    border-color: #10b981;
    color: #05231a;
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.lux-seat-reserved {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.08);
    color: #64748b;
    cursor: not-allowed;
}

.lux-seat-occupied {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
    color: #475569;
    cursor: not-allowed;
}

.lux-seat-blocked {
    border-color: rgba(239, 68, 68, 0.25);
    background: rgba(239, 68, 68, 0.07);
    color: #7f1d1d;
    cursor: not-allowed;
    text-decoration: line-through;
}

.lux-seat-gap { width: var(--seat); flex-shrink: 0; }

/* Legend */

.lux-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    font-size: 0.7rem;
    color: var(--lux-muted);
}

.lux-legend-item { display: inline-flex; align-items: center; gap: 0.5rem; }

.lux-legend-swatch {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 0.25rem;
    border: 1px solid;
    flex-shrink: 0;
}

/* Selection bar */

.lux-selection-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: rgba(10, 15, 26, 0.94);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--lux-border);
    transform: translateY(105%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.875rem 1rem;
    padding-bottom: max(0.875rem, env(safe-area-inset-bottom));
}

.lux-selection-bar.show { transform: translateY(0); }

/* Zoom controls */

.lux-zoom {
    position: fixed;
    right: 1rem;
    bottom: 8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 40;
}

.lux-zoom button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(21, 29, 50, 0.95);
    border: 1px solid var(--lux-border-strong);
    color: var(--lux-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}

.lux-zoom button:hover { color: var(--lux-gold); border-color: rgba(234, 179, 8, 0.4); }

/* Zoom controls that sit inside a card rather than floating over the page. */
.lux-zoom-inline {
    display: flex;
    gap: 0.375rem;
    flex-shrink: 0;
}

.lux-zoom-inline button {
    width: 2rem;
    padding: 0;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

/* Date strip */

.lux-date-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.lux-date-strip::-webkit-scrollbar { display: none; }

.lux-date-chip {
    flex-shrink: 0;
    min-width: 3.75rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.75rem;
    border: 1px solid var(--lux-border);
    text-align: center;
    transition: all 0.18s;
    line-height: 1.25;
}

.lux-date-chip:hover { border-color: var(--lux-border-strong); }

.lux-date-chip.active {
    background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-dark));
    border-color: transparent;
    color: #0f172a;
}

.lux-date-chip.active .lux-date-day,
.lux-date-chip.active .lux-date-month { color: rgba(15, 23, 42, 0.75); }

.lux-date-day { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lux-dim); }
.lux-date-num { font-size: 1rem; font-weight: 600; }
.lux-date-month { font-size: 0.6rem; color: var(--lux-dim); }

/* Quantity picker */

.lux-qty-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

.lux-qty {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    color: var(--lux-muted);
    transition: all 0.18s;
    border: 1px solid transparent;
}

.lux-qty:hover { background: rgba(255, 255, 255, 0.06); color: var(--lux-text); }

.lux-qty.active {
    background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-dark));
    color: #0f172a;
    font-weight: 700;
    transform: scale(1.08);
}

@media (max-width: 639px) {
    .lux-map { --seat: 2rem; --seat-gap: 0.25rem; }
    .lux-floor-label { width: 2.25rem; }
    .lux-zoom { bottom: 9.5rem; right: 0.75rem; }
}

/* ---------- Flash / Alerts ---------- */

.lux-flash-success,
.lux-flash-error,
.lux-flash-warning,
.lux-flash-info {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border: 1px solid;
}

.lux-flash-success { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.25); color: #6ee7b7; }
.lux-flash-error { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.25); color: #fca5a5; }
.lux-flash-warning { background: rgba(234, 179, 8, 0.1); border-color: rgba(234, 179, 8, 0.25); color: #fde047; }
.lux-flash-info { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.25); color: #93c5fd; }

/* ---------- Progress / Charts ---------- */

.lux-chart-bar { border-radius: 0.375rem 0.375rem 0 0; transition: height 0.6s ease; }

.lux-progress {
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    overflow: hidden;
}

.lux-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lux-gold), #f97316);
    border-radius: 9999px;
    transition: width 0.6s ease;
}

/* ---------- Empty State ---------- */

.lux-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--lux-dim);
}

.lux-empty-icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; opacity: 0.5; }

/* ---------- Skeleton ---------- */

.lux-skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 75%);
    background-size: 200% 100%;
    animation: luxShimmer 1.5s infinite;
    border-radius: 0.5rem;
}

@keyframes luxShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Hero ---------- */

.lux-hero-overlay {
    background: linear-gradient(to bottom, rgba(7, 11, 20, 0.35) 0%, rgba(7, 11, 20, 0.72) 60%, var(--lux-bg) 100%);
}

/* ============================================
   Public website
   ============================================ */

/* ---------- Announcement bar ---------- */

.lux-shimmer-bar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--lux-gold-dark), var(--lux-gold), var(--lux-gold-dark));
    color: #1a1204;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 0.4rem 1rem;
}

.lux-shimmer-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
    transform: translateX(-100%);
    animation: luxShimmer 4.5s ease-in-out infinite;
}

@keyframes luxShimmer {
    0%, 60% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ---------- Public navbar ---------- */

.lux-pubnav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid transparent;
    transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.lux-pubnav-inner {
    height: 4.75rem;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lux-pubnav.scrolled {
    background: rgba(7, 11, 20, 0.88);
    backdrop-filter: blur(18px);
    border-bottom-color: var(--lux-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lux-pubnav.scrolled .lux-pubnav-inner { height: 3.75rem; }
.lux-pubnav.scrolled .lux-pubnav-mark { transform: scale(0.88); }

.lux-pubnav-mark { transition: transform 0.35s; }

.lux-pubnav-link {
    position: relative;
    color: var(--lux-muted);
    transition: color 0.2s;
}

.lux-pubnav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    height: 1px;
    width: 0;
    background: var(--lux-gold);
    transition: width 0.28s ease;
}

.lux-pubnav-link:hover,
.lux-pubnav-link.active { color: var(--lux-gold); }
.lux-pubnav-link:hover::after,
.lux-pubnav-link.active::after { width: 100%; }

/* ---------- Hero ---------- */

.lux-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lux-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: luxKenBurns 28s ease-in-out infinite alternate;
}

@keyframes luxKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.09); }
}

/* Soft out-of-focus lights drifting up through the hero. */
.lux-bokeh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.lux-bokeh span {
    position: absolute;
    bottom: -8rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.5), rgba(234, 179, 8, 0) 70%);
    animation: luxDrift linear infinite;
}

@keyframes luxDrift {
    0% { transform: translateY(0) scale(0.7); opacity: 0; }
    12% { opacity: 0.75; }
    88% { opacity: 0.5; }
    100% { transform: translateY(-115vh) scale(1.25); opacity: 0; }
}

.lux-bokeh span:nth-child(1)  { left: 6%;  width: 10px; height: 10px; animation-duration: 20s; animation-delay: 0s; }
.lux-bokeh span:nth-child(2)  { left: 15%; width: 20px; height: 20px; animation-duration: 27s; animation-delay: 3s; }
.lux-bokeh span:nth-child(3)  { left: 24%; width: 7px;  height: 7px;  animation-duration: 17s; animation-delay: 6s; }
.lux-bokeh span:nth-child(4)  { left: 33%; width: 26px; height: 26px; animation-duration: 31s; animation-delay: 1s; }
.lux-bokeh span:nth-child(5)  { left: 42%; width: 12px; height: 12px; animation-duration: 23s; animation-delay: 8s; }
.lux-bokeh span:nth-child(6)  { left: 51%; width: 9px;  height: 9px;  animation-duration: 19s; animation-delay: 4s; }
.lux-bokeh span:nth-child(7)  { left: 60%; width: 22px; height: 22px; animation-duration: 29s; animation-delay: 11s; }
.lux-bokeh span:nth-child(8)  { left: 68%; width: 8px;  height: 8px;  animation-duration: 21s; animation-delay: 2s; }
.lux-bokeh span:nth-child(9)  { left: 77%; width: 16px; height: 16px; animation-duration: 25s; animation-delay: 7s; }
.lux-bokeh span:nth-child(10) { left: 85%; width: 11px; height: 11px; animation-duration: 18s; animation-delay: 13s; }
.lux-bokeh span:nth-child(11) { left: 92%; width: 24px; height: 24px; animation-duration: 33s; animation-delay: 5s; }
.lux-bokeh span:nth-child(12) { left: 97%; width: 7px;  height: 7px;  animation-duration: 22s; animation-delay: 9s; }

.lux-hero-title {
    background: linear-gradient(100deg, #ca9a04 10%, #fde68a 30%, #facc15 50%, #fde68a 70%, #ca9a04 90%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: luxGoldFlow 7s linear infinite;
}

@keyframes luxGoldFlow {
    to { background-position: 250% center; }
}

.lux-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid var(--lux-border);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    font-size: 0.75rem;
    color: #cbd5e1;
    white-space: nowrap;
}

.lux-trust svg { color: var(--lux-gold); flex-shrink: 0; }

.lux-scroll-cue {
    position: absolute;
    bottom: 10.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: luxBob 2.4s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.35);
}

@keyframes luxBob {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 0.5rem); }
}

/* ---------- Glass booking widget ---------- */

.lux-glass {
    background: rgba(18, 25, 43, 0.62);
    backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--lux-radius-lg);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* ---------- Stats strip ---------- */

.lux-stat-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--lux-border);
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius-lg);
    overflow: hidden;
}

@media (min-width: 768px) {
    .lux-stat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.lux-stat-cell {
    background: var(--lux-bg-alt);
    padding: 1.75rem 1rem;
    text-align: center;
}

.lux-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--lux-gold);
    font-variant-numeric: tabular-nums;
}

.lux-stat-cap {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lux-dim);
}

/* ---------- Feature card glow ---------- */

.lux-feature-glow { position: relative; overflow: hidden; }

.lux-feature-glow::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.lux-feature-glow:hover::before { opacity: 1; }
.lux-feature-glow:hover { transform: translateY(-4px); }
.lux-feature-glow { transition: transform 0.3s, border-color 0.25s; }

.lux-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(234, 179, 8, 0.18), rgba(234, 179, 8, 0.05));
    border: 1px solid rgba(234, 179, 8, 0.25);
    color: var(--lux-gold);
    margin-bottom: 1.15rem;
}

/* ---------- Room preview cards ---------- */

.lux-room-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #1c2540, #0a0f1a);
}

.lux-room-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-room-card:hover .lux-room-media img { transform: scale(1.09); }

.lux-room-tag {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    background: rgba(234, 179, 8, 0.92);
    color: #1a1204;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lux-room-price {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.6rem;
    background: rgba(7, 11, 20, 0.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--lux-gold);
    font-weight: 600;
    font-size: 0.875rem;
}

/* ---------- Testimonials ---------- */

.lux-quote {
    background: rgba(21, 29, 50, 0.55);
    backdrop-filter: blur(14px);
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius-lg);
    padding: 1.75rem;
    position: relative;
    transition: border-color 0.25s, transform 0.3s;
}

.lux-quote:hover { border-color: rgba(234, 179, 8, 0.22); transform: translateY(-3px); }

.lux-quote::before {
    content: '\201C';
    position: absolute;
    top: 0.1rem;
    right: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(234, 179, 8, 0.14);
}

.lux-stars { display: inline-flex; gap: 0.15rem; color: var(--lux-gold); }

.lux-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--lux-gold), var(--lux-gold-dark));
    color: #1a1204;
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

/* ---------- Activities ---------- */

.lux-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--lux-radius-lg);
    border: 1px solid var(--lux-border);
    display: flex;
    align-items: flex-end;
    min-height: 15rem;
    background: linear-gradient(145deg, #1c2540, #0a0f1a);
}

.lux-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-tile:hover img { transform: scale(1.08); }

.lux-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 11, 20, 0.92) 5%, rgba(7, 11, 20, 0.25) 55%, transparent 100%);
}

.lux-tile-body { position: relative; z-index: 1; padding: 1.5rem; }
.lux-tile-tall { min-height: 21rem; }

@media (min-width: 768px) {
    .lux-tile-tall { min-height: 100%; }
}

/* ---------- Footer ---------- */

.lux-footer {
    border-top: 1px solid var(--lux-border);
    background: linear-gradient(to bottom, transparent, rgba(10, 15, 26, 0.85));
    margin-top: 4rem;
}

.lux-social {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lux-border);
    color: var(--lux-muted);
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.lux-social:hover {
    color: var(--lux-gold);
    border-color: rgba(234, 179, 8, 0.4);
    transform: translateY(-2px);
}

/* ---------- Scroll reveal ---------- */

.lux-reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.lux-reveal.in { opacity: 1; transform: none; }

/* Anchored sections must clear the fixed navbar when jumped to. */
section[id] { scroll-margin-top: 6rem; }

@media (prefers-reduced-motion: reduce) {
    .lux-shimmer-bar::after,
    .lux-hero-bg,
    .lux-bokeh span,
    .lux-hero-title,
    .lux-scroll-cue { animation: none; }

    .lux-bokeh { display: none; }

    .lux-hero-title {
        background: none;
        -webkit-background-clip: border-box;
        background-clip: border-box;
        color: var(--lux-gold-light);
    }

    .lux-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilities ---------- */

.lux-divider { height: 1px; background: var(--lux-border); }
.lux-scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.lux-fab {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-dark));
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(234, 179, 8, 0.35);
    z-index: 50;
    transition: transform 0.2s;
}

.lux-fab:hover { transform: scale(1.06); }

.lux-fade-in { animation: luxFadeIn 0.35s ease both; }
@keyframes luxFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

body.lux-no-scroll { overflow: hidden; }

/* ---------- Guest portal ---------- */

.lux-guest { padding-bottom: 5.25rem; }
.lux-guest-has-cart { padding-bottom: 9.5rem; }

.lux-guest-tabs {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    padding: 0.4rem 0.6rem calc(0.4rem + env(safe-area-inset-bottom));
    background: rgba(7, 11, 20, 0.94);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--lux-border);
}

.lux-guest-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    text-align: center;
    padding: 0.45rem 0.35rem 0.4rem;
    border-radius: 0.85rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lux-dim);
    transition: color 0.2s, background 0.2s;
}

.lux-guest-tab-icon { width: 1.2rem; height: 1.2rem; }

.lux-guest-tab.active {
    color: var(--lux-gold);
    background: rgba(234, 179, 8, 0.08);
}

.lux-guest-tab-count {
    position: absolute;
    top: 0.15rem;
    right: calc(50% - 1.55rem);
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.22rem;
    border-radius: 9999px;
    background: var(--lux-gold);
    color: #1a1204;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1.05rem;
}

/* Menu */

.lux-menu-hero { margin-bottom: 1.25rem; }

.lux-cat-bar {
    position: sticky;
    top: 4rem;
    z-index: 20;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.65rem 0 0.85rem;
    margin: 0 -1rem 0.5rem;
    padding-inline: 1rem;
    background: linear-gradient(to bottom, rgba(7, 11, 20, 0.96) 70%, transparent);
    scrollbar-width: none;
}
.lux-cat-bar::-webkit-scrollbar { display: none; }

.lux-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid var(--lux-border);
    background: rgba(15, 22, 41, 0.8);
    color: var(--lux-muted);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.lux-cat-chip:hover,
.lux-cat-chip.is-active {
    color: var(--lux-gold);
    border-color: rgba(234, 179, 8, 0.4);
    background: rgba(234, 179, 8, 0.08);
}

.lux-menu-section { scroll-margin-top: 8.5rem; margin-bottom: 1.75rem; }

.lux-menu-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.lux-menu-section-head h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.1;
}
.lux-menu-section-head span {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lux-dim);
}

.lux-dish-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.lux-dish {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.9rem;
    align-items: center;
    padding: 0.95rem 1rem;
    background: linear-gradient(145deg, rgba(21, 29, 50, 0.75), rgba(15, 22, 41, 0.9));
    border: 1px solid var(--lux-border);
    border-radius: var(--lux-radius);
    scroll-margin-top: 8.5rem;
    transition: border-color 0.2s, background 0.2s;
}
.lux-dish.in-tray { border-color: rgba(234, 179, 8, 0.28); }

.lux-dish-mark {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(234, 179, 8, 0.22), rgba(234, 179, 8, 0.06));
    border: 1px solid rgba(234, 179, 8, 0.22);
    color: var(--lux-gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.lux-dish-body h3 {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.25;
}
.lux-dish-body p {
    color: var(--lux-dim);
    font-size: 0.8rem;
    line-height: 1.45;
    margin-top: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lux-dish-price {
    display: inline-block;
    margin-top: 0.45rem;
    color: var(--lux-gold);
    font-weight: 600;
    font-size: 0.875rem;
}

.lux-dish-add {
    min-width: 4.25rem;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(234, 179, 8, 0.45);
    background: rgba(234, 179, 8, 0.12);
    color: var(--lux-gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
}
.lux-dish-add:hover { background: rgba(234, 179, 8, 0.22); }
.lux-dish-add:active { transform: scale(0.96); }

.lux-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(234, 179, 8, 0.4);
    border-radius: 9999px;
    background: rgba(234, 179, 8, 0.08);
    overflow: hidden;
}
.lux-stepper-sm { transform: scale(0.92); transform-origin: center right; }
.lux-stepper-btn {
    width: 1.85rem;
    height: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lux-gold);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}
.lux-stepper-btn:hover { background: rgba(234, 179, 8, 0.12); }
.lux-stepper-btn.is-disabled { opacity: 0.3; pointer-events: none; }
.lux-stepper-qty {
    min-width: 1.4rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.lux-cart-dock {
    position: fixed;
    inset-inline: 0;
    bottom: calc(3.85rem + env(safe-area-inset-bottom));
    z-index: 32;
    padding: 0 0.75rem 0.65rem;
    pointer-events: none;
}
.lux-cart-dock details {
    pointer-events: auto;
    max-width: 48rem;
    margin: 0 auto;
    background: rgba(15, 22, 41, 0.94);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(234, 179, 8, 0.22);
    border-radius: 1.1rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.lux-cart-dock summary { list-style: none; cursor: pointer; }
.lux-cart-dock summary::-webkit-details-marker { display: none; }

.lux-cart-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
}
.lux-cart-bar-meta { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.lux-cart-bar-count {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lux-gold);
    color: #1a1204;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.lux-cart-bar-meta strong { display: block; color: #fff; font-size: 0.875rem; line-height: 1.2; }
.lux-cart-bar-meta em { display: block; color: var(--lux-dim); font-style: normal; font-size: 0.7rem; }
.lux-cart-bar-total {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--lux-gold);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}
.lux-cart-chevron { transition: transform 0.2s; }
.lux-cart-dock details[open] .lux-cart-chevron { transform: rotate(180deg); }

.lux-cart-sheet {
    padding: 0 1rem 1rem;
    border-top: 1px solid var(--lux-border);
}
.lux-cart-lines { padding: 0.75rem 0; }
.lux-cart-lines li {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.55rem 0;
}
.lux-cart-line-name { color: #fff; font-size: 0.875rem; }
.lux-cart-line-price { color: var(--lux-dim); font-size: 0.7rem; margin-top: 0.1rem; }
.lux-cart-line-amt { color: var(--lux-gold); font-size: 0.8rem; font-weight: 600; min-width: 4.2rem; text-align: right; }

.lux-cart-checkout { display: flex; flex-direction: column; gap: 0.55rem; }
.lux-cart-fineprint { font-size: 0.7rem; color: var(--lux-dim); text-align: center; line-height: 1.4; }

@media (max-width: 420px) {
    .lux-dish { grid-template-columns: auto 1fr; }
    .lux-dish form, .lux-dish .lux-stepper { grid-column: 2; justify-self: start; }
}

.lux-order-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.lux-order-step {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem 0.25rem;
    border-radius: 9999px;
    border: 1px solid var(--lux-border);
    color: var(--lux-dim);
}

.lux-order-step.done {
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.lux-order-step.now {
    border-color: rgba(234, 179, 8, 0.45);
    color: var(--lux-gold);
    background: rgba(234, 179, 8, 0.08);
}

/* ---------- Print ---------- */

@media print {
    .lux-sidebar, .lux-topnav, .no-print, .lux-fab, .lux-toast-container { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .lux-card { border: 1px solid #ddd !important; box-shadow: none !important; background: #fff !important; }
}
