/* ==========================================================================
   Roomio 5-Star Boutique Resort & Dining Mobile CSS
   Aesthetics: Deep Obsidian & Champagne Gold Glassmorphism
   Designed for Mobile-First Guest Experience
   ========================================================================== */

:root {
    --bg-primary: #07090e;
    --bg-surface: #0e131f;
    --bg-surface-elevated: #151c2e;
    --bg-card: rgba(18, 25, 41, 0.72);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.16);
    --border-gold: rgba(229, 184, 105, 0.35);

    --gold-primary: #e5b869;
    --gold-light: #f7d998;
    --gold-dark: #b88636;
    --gold-gradient: linear-gradient(135deg, #f7d998 0%, #e5b869 50%, #b88636 100%);
    --gold-glow: 0 4px 20px rgba(229, 184, 105, 0.28);

    --emerald-accent: #10b981;
    --emerald-glow: 0 4px 16px rgba(16, 185, 129, 0.28);
    --sky-accent: #38bdf8;
    --amber-accent: #f59e0b;

    --text-white: #ffffff;
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --glass-nav: rgba(9, 12, 19, 0.88);
    --glass-blur: blur(20px);
    -webkit-glass-blur: blur(20px);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Mobile Canvas */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body.guest-body {
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 10% 0%, rgba(229, 184, 105, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 90% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    padding-bottom: calc(130px + env(safe-area-inset-bottom, 20px));
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==========================================================================
   1. Compact Luxury Top Sticky Navigation
   ========================================================================== */
.guest-top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-nav);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.guest-brand-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.guest-brand-title .crown-icon {
    color: var(--gold-primary);
    font-size: 14px;
}

.guest-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.room-badge-pill {
    background: var(--gold-gradient);
    color: #1a1202;
    font-weight: 900;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(229, 184, 105, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.2px;
}

.lang-switch-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 5px 9px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.lang-switch-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-white);
}

.room-order-header-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}
.room-order-header-link:active {
    transform: scale(0.95);
}

/* ==========================================================================
   2. Ultra-Compact Resort Welcome Strip (Replaces massive banner)
   ========================================================================== */
.compact-resort-strip {
    padding: 12px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.welcome-text-col {
    min-width: 0;
}

.welcome-luxury-sub {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.welcome-guest-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.welcome-guest-title span {
    color: var(--gold-light);
}

.butler-quick-btn {
    flex-shrink: 0;
    background: rgba(254, 229, 0, 0.12);
    border: 1px solid rgba(254, 229, 0, 0.28);
    color: #fee500;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}
.butler-quick-btn:active {
    transform: scale(0.95);
    background: rgba(254, 229, 0, 0.22);
}

/* ==========================================================================
   3. Active Room Order Notice Card (Room ID status banner)
   ========================================================================== */
.active-room-order-card {
    margin: 4px 16px 12px;
    background: linear-gradient(135deg, rgba(21, 28, 46, 0.95), rgba(11, 15, 25, 0.95));
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    overflow: hidden;
}
.active-room-order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-gradient);
}

.order-notice-info {
    min-width: 0;
}
.order-notice-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}
.order-notice-status {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-notice-sub {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-open-status-direct {
    flex-shrink: 0;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-open-status-direct:active {
    transform: scale(0.95);
}

/* ==========================================================================
   4. Sticky Category Segment Tabs
   ========================================================================== */
.cat-sticky-wrapper {
    position: sticky;
    top: 49px; /* Below guest-top-bar */
    z-index: 90;
    background: var(--glass-nav);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 16px;
    margin-bottom: 12px;
}

.cat-scroll-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-scroll-bar::-webkit-scrollbar {
    display: none;
}

.cat-chip-btn {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.cat-chip-btn:active {
    transform: scale(0.96);
}
.cat-chip-btn.active {
    background: var(--gold-gradient);
    border-color: transparent;
    color: #160e02;
    font-weight: 800;
    box-shadow: 0 2px 10px rgba(229, 184, 105, 0.32);
}

/* ==========================================================================
   5. Shopping Mall 2-Column Product Grid & Cards
   ========================================================================== */
.guest-menu-grid {
    padding: 0 14px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 640px) {
    .guest-menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.mall-product-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.mall-product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* 1:1 Aspect Ratio Media Container */
.mall-thumb-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #161f33, #0d1322);
}

.mall-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.mall-product-card:hover .mall-thumb-img {
    transform: scale(1.05);
}

.mall-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%, rgba(229, 184, 105, 0.12) 0%, rgba(14, 19, 31, 0.95) 80%);
    border-bottom: 1px solid rgba(229, 184, 105, 0.15);
    color: var(--gold-primary);
}

.mall-thumb-placeholder .ph-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

/* Floating Badges on Image */
.mall-badge-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 10px;
    font-weight: 800;
    background: rgba(14, 19, 31, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    letter-spacing: -0.2px;
}

/* Card Body Content */
.mall-card-body {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.mall-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.35;
    height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    word-break: keep-all;
}

.mall-price-group {
    margin-bottom: 10px;
}

.mall-peso-price {
    font-size: 16px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: -0.3px;
    display: block;
    line-height: 1.2;
}

.mall-won-price {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-primary);
    margin-top: 2px;
    display: block;
}

/* Full-Width Action Button & Stepper */
.mall-action-wrap {
    width: 100%;
}

.btn-mall-add {
    width: 100%;
    background: rgba(229, 184, 105, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 800;
    padding: 8px 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-mall-add:active {
    transform: scale(0.96);
    background: var(--gold-gradient);
    color: #1a1202;
}

.mall-stepper-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(10, 15, 26, 0.95);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 2px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.mall-stepper-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-white);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.mall-stepper-btn:active {
    background: var(--gold-primary);
    color: #000;
    transform: scale(0.92);
}

.mall-stepper-val {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-white);
}

/* ==========================================================================
   6. Mobile Bottom Navigation Bar (4 Tabs)
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: rgba(9, 12, 19, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px)) 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.bottom-nav-inner {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.nav-tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    color: var(--text-dim);
    text-decoration: none;
    cursor: pointer;
    padding: 4px 6px;
    position: relative;
    transition: var(--transition);
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.nav-tab-btn:active {
    transform: scale(0.92);
}

.nav-tab-btn.active,
.nav-tab-btn:hover {
    color: var(--gold-primary);
}

.nav-tab-icon-wrap {
    position: relative;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
}

.nav-tab-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* Pulsing Live Dot Badge for Active Order */
.nav-live-dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    animation: pulseRedDot 1.5s infinite;
}

@keyframes pulseRedDot {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* Cart Counter Pill Badge */
.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    display: none; /* Managed by JS when qty > 0 */
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
    border: 1.5px solid #090c13;
}

/* ==========================================================================
   7. Quick Floating Cart Pill Bar (Floats above Bottom Nav)
   ========================================================================== */
.guest-floating-cart {
    position: fixed;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    right: 14px;
    max-width: 520px;
    margin: 0 auto;
    z-index: 140;
    background: rgba(14, 20, 34, 0.94);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 10px 14px 10px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--gold-glow);
    display: none; /* Managed by JS */
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    animation: cartSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cartSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cart-summary-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cart-items-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-total-amount {
    font-size: 17px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: -0.3px;
}

.btn-open-checkout {
    background: var(--gold-gradient);
    border: none;
    color: #1a1202;
    font-size: 13px;
    font-weight: 900;
    padding: 11px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(229, 184, 105, 0.4);
    transition: var(--transition);
    white-space: nowrap;
}
.btn-open-checkout:active {
    transform: scale(0.96);
    filter: brightness(0.95);
}

/* ==========================================================================
   7. Slide-Up Checkout Drawer Modal
   ========================================================================== */
.sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none; /* Managed by JS */
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sheet-content {
    background: #0f1524;
    border-top: 1.5px solid var(--border-gold);
    border-radius: 26px 26px 0 0;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    padding: 14px 20px 24px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sheetSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sheet-handle {
    width: 44px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin: 0 auto 12px;
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.sheet-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sheet-title span.room-tag {
    color: var(--gold-primary);
}

.btn-close-sheet {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.btn-close-sheet:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.16);
    color: var(--text-white);
}

/* Scrollable Body inside Drawer */
.sheet-scroll-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 4px;
    margin-bottom: 14px;
}
.sheet-scroll-body::-webkit-scrollbar {
    width: 4px;
}
.sheet-scroll-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Cart Review List Items */
.review-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.review-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}
.review-item-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* 2-Column Grid Payment Selector (Ultra-Compact) */
.payment-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.pay-chip-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 11px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    user-select: none;
}
.pay-chip-card input[type="radio"] {
    display: none;
}
.pay-chip-card:active {
    transform: scale(0.97);
}
.pay-chip-card.selected {
    background: rgba(229, 184, 105, 0.12);
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(229, 184, 105, 0.2);
}

.pay-chip-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.pay-chip-text {
    min-width: 0;
}
.pay-chip-name {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pay-chip-card.selected .pay-chip-name {
    color: var(--gold-light);
}
.pay-chip-sub {
    font-size: 10px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Gold Ticket Style Account Box */
.gold-ticket-box {
    background: linear-gradient(145deg, rgba(22, 30, 48, 0.95), rgba(12, 17, 28, 0.95));
    border: 1.5px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    position: relative;
}

.ticket-header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.ticket-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.ticket-rate-tag {
    font-size: 11px;
    color: var(--text-muted);
}

.ticket-account-num {
    font-size: 15px;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 0.3px;
    word-break: break-all;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 10px;
}

.btn-ticket-copy {
    width: 100%;
    background: var(--gold-gradient);
    border: none;
    color: #1a1202;
    font-size: 13px;
    font-weight: 900;
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(229, 184, 105, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-ticket-copy:active {
    transform: scale(0.97);
}

.ticket-amount-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ticket-amount-val {
    font-size: 16px;
    font-weight: 900;
    color: var(--emerald-accent);
}

/* Submit Action Button */
.btn-submit-order-fixed {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    padding: 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-submit-order-fixed:active {
    transform: scale(0.98);
    filter: brightness(0.92);
}
.btn-submit-order-fixed:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Global Floating Toast */
.roomio-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.roomio-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   8. Live Order Tracker & Receipt Screen (order_status.php)
   ========================================================================== */
.tracker-wrapper {
    max-width: 520px;
    margin: 0 auto;
    padding: 16px 16px calc(60px + env(safe-area-inset-bottom, 20px));
}

.tracker-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Tracker Top Bar */
.tracker-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0 10px;
}

.btn-back-menu {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.btn-back-menu:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    display: inline-block;
    animation: pulseDotGreen 1.5s infinite;
}
@keyframes pulseDotGreen {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

/* Dynamic Animated Hero Stage */
.tracker-hero-stage {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--gold-glow);
}

.stage-anim-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    background: rgba(229, 184, 105, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.radar-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--gold-primary);
    opacity: 0.6;
    animation: radarRipple 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes radarRipple {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.stage-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}
.stage-badge-pending {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fcd34d;
}
.stage-badge-ordered {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #7dd3fc;
}
.stage-badge-delivering {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #d8b4fe;
}
.stage-badge-completed {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.stage-main-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.35;
    margin-bottom: 8px;
    word-break: keep-all;
}

.stage-sub-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 380px;
    margin: 0 auto;
    word-break: keep-all;
}

/* Route Stepper Track */
.route-track-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px 14px;
}

.route-steps-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.route-track-line {
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    z-index: 1;
}

.route-track-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #38bdf8 50%, #e5b869 100%);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.route-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 25%;
    text-align: center;
    opacity: 0.4;
    transition: var(--transition);
}

.route-node.active {
    opacity: 1;
}

.node-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(14, 20, 34, 0.95);
    border: 1.5px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.route-node.active .node-icon-circle {
    border-color: var(--gold-primary);
    background: rgba(229, 184, 105, 0.15);
    box-shadow: 0 0 12px rgba(229, 184, 105, 0.35);
    transform: scale(1.1);
}

.node-label-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.route-node.active .node-label-text {
    color: var(--gold-light);
    font-weight: 800;
}

/* Destination & Guidance Card */
.dest-guide-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
}

.dest-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
}

.dest-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-open-map-direct {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--sky-accent);
    text-decoration: none;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-open-map-direct:active {
    transform: scale(0.96);
}

.dest-address-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.dest-note-badge {
    display: inline-block;
    font-size: 11.5px;
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    line-height: 1.4;
}

/* Concierge Call / Kakao / WhatsApp Action Grid */
.concierge-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-concierge-call {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7 !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-concierge-call:active {
    transform: scale(0.97);
}

.btn-concierge-kakao {
    background: rgba(250, 204, 21, 0.15);
    border: 1px solid rgba(250, 204, 21, 0.35);
    color: #fef08a !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-concierge-kakao:active {
    transform: scale(0.97);
}

.btn-concierge-wa {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #86efac !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-concierge-wa:active {
    transform: scale(0.97);
}

/* Receipt Card */
.receipt-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 18px;
}

.receipt-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.receipt-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-copy-code {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.btn-copy-code:active {
    transform: scale(0.94);
}

.receipt-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: #e2e8f0;
    padding: 6px 0;
}

.receipt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 14px;
    font-weight: 800;
}

.receipt-total-amount {
    font-size: 18px;
    font-weight: 900;
    color: var(--emerald-accent);
}
