:root {
        --royal-navy: #152551;
        --royal-gold: #C5A059;
        --royal-gold-light: #f5eedf;
        --royal-blush: #fdfaf5;
        --card-border: rgba(197, 160, 89, 0.25);
    }

    .reservation-page-wrapper {
        padding: 2.5rem 1rem 7rem 1rem;
        background: linear-gradient(180deg, #f8f6f0 0%, #ffffff 100%);
        min-height: 100vh;
    }

    .hero-banner-royal {
        background: linear-gradient(135deg, #081228 0%, #152551 100%);
        color: #ffffff;
        border-radius: 20px;
        padding: 2.5rem 2rem;
        text-align: center;
        margin-bottom: 2.5rem;
        border-bottom: 4px solid var(--royal-gold);
        box-shadow: 0 15px 35px rgba(8, 18, 40, 0.15);
        position: relative;
        overflow: hidden;
    }

    .hero-banner-royal::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
        pointer-events: none;
    }

    .hero-banner-royal h1 {
        font-family: 'Playfair Display', serif;
        font-size: 2.3rem;
        font-weight: 700;
        margin: 0;
        letter-spacing: 0.5px;
        color: #ffffff;
    }

    .hero-banner-royal p.subtitle {
        color: var(--royal-gold);
        font-size: 0.95rem;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-top: 8px;
        font-weight: 600;
    }

    .main-grid {
        display: grid;
        grid-template-columns: 1fr 410px;
        gap: 2rem;
        align-items: start;
    }

    @media (max-width: 1024px) {
        .main-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Section Cards */
    .section-card {
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid var(--card-border);
        box-shadow: 0 8px 25px rgba(21, 37, 81, 0.04);
        padding: 2.2rem;
        margin-bottom: 2rem;
    }

    .section-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .step-badge {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--royal-navy);
        color: var(--royal-gold);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1rem;
        border: 2px solid var(--royal-gold);
        flex-shrink: 0;
    }

    .section-card-header h2 {
        font-family: 'Playfair Display', serif;
        font-size: 1.4rem;
        color: var(--royal-navy);
        margin: 0;
    }

    /* Venue Cards */
    .venue-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .venue-card-label {
        cursor: pointer;
        display: block;
    }

    .venue-card-label input[type="radio"] {
        display: none;
    }

    .venue-box {
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        padding: 1.2rem 1rem;
        transition: all 0.25s ease;
        background: #ffffff;
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .venue-box:hover {
        border-color: var(--royal-gold);
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(197, 160, 89, 0.15);
    }

    .venue-card-label input[type="radio"]:checked + .venue-box {
        border-color: var(--royal-navy);
        background: #f4f7fc;
        box-shadow: 0 0 0 2px var(--royal-gold);
    }

    .venue-name {
        font-weight: 700;
        color: var(--royal-navy);
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .venue-desc {
        font-size: 0.8rem;
        color: #64748b;
        line-height: 1.35;
        margin: 0;
    }

    .venue-tag {
        align-self: flex-start;
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        background: var(--royal-gold);
        color: #ffffff;
        padding: 2px 8px;
        border-radius: 12px;
        font-weight: 700;
        margin-bottom: 6px;
    }

    /* Form Fields */
    .form-row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .form-group {
        display: flex;
        flex-direction: column;
    }

    .form-group label {
        font-weight: 600;
        font-size: 0.85rem;
        color: var(--royal-navy);
        margin-bottom: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .form-control {
        border: 1.5px solid #cbd5e1;
        border-radius: 8px;
        padding: 10px 14px;
        font-size: 0.95rem;
        color: #1e293b;
        transition: border-color 0.2s;
        outline: none;
        background: #fafafa;
    }

    .form-control:focus {
        border-color: var(--royal-navy);
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(21, 37, 81, 0.1);
    }

    /* Menu Category Tabs */
    .menu-filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid #edf2f7;
        padding-bottom: 1rem;
    }

    .cat-btn {
        background: #ffffff;
        border: 1.5px solid #cbd5e1;
        border-radius: 30px;
        padding: 8px 18px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #475569;
        cursor: pointer;
        transition: all 0.2s;
    }

    .cat-btn:hover {
        border-color: var(--royal-gold);
        color: var(--royal-navy);
    }

    .cat-btn.active {
        background: var(--royal-navy);
        color: #ffffff;
        border-color: var(--royal-navy);
        box-shadow: 0 4px 10px rgba(21, 37, 81, 0.2);
    }

    .veg-filter-group {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 1.5rem;
    }

    .filter-pill {
        cursor: pointer;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        border: 1px solid #cbd5e1;
        background: #ffffff;
        color: #64748b;
        transition: all 0.2s;
    }

    .filter-pill.active {
        background: #f1f5f9;
        border-color: #475569;
        color: #0f172a;
    }

    /* Category Section Blocks (Separate Visual Grouping) */
    .category-section-block {
        margin-bottom: 2.5rem;
        background: #ffffff;
        border-radius: 16px;
        border: 1.5px solid rgba(197, 160, 89, 0.25);
        padding: 1.8rem;
        box-shadow: 0 6px 20px rgba(21, 37, 81, 0.04);
        transition: all 0.25s ease;
    }

    .category-section-block:hover {
        border-color: var(--royal-gold);
        box-shadow: 0 8px 25px rgba(197, 160, 89, 0.12);
    }

    .category-section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1.1rem;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid #f1f5f9;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cat-header-left {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .cat-icon-large {
        font-size: 1.7rem;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1.5px solid #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    }

    .cat-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.3rem;
        color: var(--royal-navy);
        margin: 0;
        font-weight: 700;
    }

    .cat-subtitle {
        font-size: 0.82rem;
        color: #64748b;
        margin: 3px 0 0 0;
    }

    .cat-dish-count-badge {
        background: linear-gradient(135deg, #152551 0%, #1a316c 100%);
        color: var(--royal-gold);
        font-weight: 700;
        font-size: 0.75rem;
        padding: 5px 14px;
        border-radius: 20px;
        border: 1px solid var(--royal-gold);
        letter-spacing: 0.5px;
    }

    /* Dishes Grid */
    .dishes-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }

    .dish-card {
        background: #ffffff;
        border-radius: 14px;
        border: 1px solid #e2e8f0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: all 0.25s ease;
    }

    .dish-card:hover {
        border-color: var(--royal-gold);
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    }

    .dish-img-wrapper {
        height: 155px;
        background: #1e293b;
        position: relative;
        overflow: hidden;
    }

    .dish-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .dish-card:hover .dish-img-wrapper img {
        transform: scale(1.06);
    }

    .veg-badge-indicator {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 18px;
        height: 18px;
        border: 2px solid #22c55e;
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
    }

    .veg-badge-indicator::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #22c55e;
    }

    .non-veg-badge-indicator {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 18px;
        height: 18px;
        border: 2px solid #ef4444;
        border-radius: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
    }

    .non-veg-badge-indicator::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ef4444;
    }

    .chef-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: linear-gradient(135deg, #C5A059 0%, #e0b86a 100%);
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    .dish-body {
        padding: 1.1rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: space-between;
    }

    .dish-title {
        font-weight: 700;
        font-size: 1rem;
        color: var(--royal-navy);
        margin: 0 0 6px 0;
        line-height: 1.3;
    }

    .dish-desc {
        font-size: 0.78rem;
        color: #64748b;
        margin: 0 0 1rem 0;
        line-height: 1.4;
    }

    .dish-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 8px;
        border-top: 1px dashed #e2e8f0;
    }

    .dish-price {
        font-weight: 700;
        font-size: 1.1rem;
        color: #0f172a;
    }

    .qty-control {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        border-radius: 20px;
        padding: 2px 6px;
    }

    .qty-btn {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: none;
        background: var(--royal-navy);
        color: #ffffff;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

    .qty-btn:hover {
        background: var(--royal-gold);
    }

    .qty-btn:disabled {
        background: #cbd5e1;
        cursor: not-allowed;
    }

    .qty-count {
        min-width: 20px;
        text-align: center;
        font-weight: 700;
        font-size: 0.9rem;
        color: #0f172a;
    }

    /* ALWAYS-VISIBLE STICKY SIDEBAR IN CURRENT SCREEN */
    .summary-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 85px;
        align-self: start;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background: #ffffff;
        border-radius: 16px;
        border: 1.5px solid var(--card-border);
        box-shadow: 0 12px 35px rgba(21, 37, 81, 0.1);
        padding: 1.6rem;
        z-index: 50;
    }

    .summary-sidebar::-webkit-scrollbar {
        width: 5px;
    }
    .summary-sidebar::-webkit-scrollbar-thumb {
        background: var(--royal-gold);
        border-radius: 4px;
    }

    .summary-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.25rem;
        color: var(--royal-navy);
        margin: 0 0 1rem 0;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid var(--royal-gold);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .selected-items-list {
        max-height: 250px;
        overflow-y: auto;
        margin-bottom: 1rem;
        padding-right: 4px;
    }

    .summary-item-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 9px 8px;
        border-radius: 8px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.85rem;
        transition: background-color 0.3s ease;
    }

    .summary-item-row.item-updated {
        background-color: #fef08a !important;
    }

    .summary-item-name {
        font-weight: 600;
        color: #1e293b;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .summary-mini-qty {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .mini-qty-btn {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: none;
        background: #e2e8f0;
        color: #0f172a;
        font-size: 0.8rem;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mini-qty-btn:hover {
        background: var(--royal-gold);
        color: #ffffff;
    }

    .summary-calc-row {
        display: flex;
        justify-content: space-between;
        font-size: 0.85rem;
        color: #475569;
        margin-bottom: 6px;
    }

    .summary-total-row {
        display: flex;
        justify-content: space-between;
        font-size: 1.18rem;
        font-weight: 800;
        color: var(--royal-navy);
        padding-top: 10px;
        margin-top: 8px;
        border-top: 2px solid var(--royal-navy);
    }

    .confirm-reserve-btn {
        width: 100%;
        background: linear-gradient(135deg, #152551 0%, #1a316c 100%);
        color: #ffffff;
        border: none;
        border-radius: 30px;
        padding: 13px 18px;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 1rem;
        border: 2px solid var(--royal-gold);
        transition: all 0.25s ease;
        box-shadow: 0 6px 20px rgba(21, 37, 81, 0.2);
    }

    .confirm-reserve-btn:hover {
        background: var(--royal-gold);
        color: var(--royal-navy);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
    }

    @keyframes goldGlowPulse {
        0% {
            box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.85);
            border-color: #C5A059;
        }
        50% {
            box-shadow: 0 0 0 16px rgba(197, 160, 89, 0);
            border-color: #E5B75D;
        }
        100% {
            box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
            border-color: #C5A059;
        }
    }

    .payment-card-focused {
        animation: goldGlowPulse 1.6s ease-in-out 3;
        border: 2px solid var(--royal-gold) !important;
    }

    .empty-cart-hint {
        text-align: center;
        color: #94a3b8;
        font-size: 0.85rem;
        padding: 1.25rem 0;
        border: 1px dashed #cbd5e1;
        border-radius: 8px;
        margin-bottom: 0.75rem;
    }

    /* Coupon Block */
    .coupon-box {
        background: #fdfcf7;
        border: 1.5px dashed var(--royal-gold);
        border-radius: 12px;
        padding: 12px;
        margin-bottom: 1.25rem;
    }

    .coupon-pill {
        cursor: pointer;
        display: inline-block;
        background: #ffffff;
        border: 1.5px solid var(--royal-gold);
        color: #854d0e;
        font-weight: 700;
        font-size: 0.75rem;
        padding: 4px 10px;
        border-radius: 14px;
        margin: 3px 4px 3px 0;
        transition: all 0.2s ease;
        user-select: none;
    }

    .coupon-pill:hover {
        background: var(--royal-gold);
        color: #ffffff;
        transform: translateY(-1px);
    }

    .coupon-pill.active-coupon {
        background: var(--royal-navy) !important;
        color: var(--royal-gold) !important;
        border-color: var(--royal-navy) !important;
        box-shadow: 0 3px 8px rgba(21, 37, 81, 0.25);
    }

    .coupon-input-group {
        display: flex;
        gap: 6px;
        margin-top: 8px;
    }

    .apply-coupon-btn {
        background: linear-gradient(135deg, #152551 0%, #1a316c 100%);
        color: #ffffff;
        border: 1.5px solid var(--royal-gold);
        padding: 6px 16px;
        font-size: 0.82rem;
        font-weight: 700;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .apply-coupon-btn:hover {
        background: var(--royal-gold);
        color: var(--royal-navy);
    }

    /* Payment Mode Cards */
    .payment-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }

    @media (max-width: 600px) {
        .payment-grid {
            grid-template-columns: 1fr;
        }
    }

    .payment-option-label {
        cursor: pointer;
        display: block;
    }

    .payment-option-label input[type="radio"] {
        display: none;
    }

    .payment-card-box {
        border: 1.5px solid #cbd5e1;
        border-radius: 10px;
        padding: 10px;
        background: #ffffff;
        transition: all 0.2s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .payment-option-label input[type="radio"]:checked + .payment-card-box {
        border-color: var(--royal-navy);
        background: #f4f7fc;
        box-shadow: 0 0 0 2px var(--royal-gold);
    }

    .payment-badge {
        font-size: 0.65rem;
        background: #e2e8f0;
        color: #475569;
        font-weight: 700;
        padding: 2px 6px;
        border-radius: 10px;
        align-self: flex-start;
        margin-bottom: 4px;
    }

    /* Persistent Floating Quick-Confirm Bar */
    .floating-quick-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(8, 18, 40, 0.96);
        backdrop-filter: blur(10px);
        border-top: 3px solid var(--royal-gold);
        padding: 12px 20px;
        z-index: 9999;
        box-shadow: 0 -8px 25px rgba(0,0,0,0.35);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .floating-inner {
        max-width: 1250px;
        margin: 0 auto;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .floating-summary-text {
        color: #ffffff;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .floating-summary-text strong {
        color: var(--royal-gold);
        font-size: 1.15rem;
    }

    .floating-view-tray-btn {
        background: rgba(197, 160, 89, 0.2);
        color: var(--royal-gold);
        border: 1px solid var(--royal-gold);
        border-radius: 20px;
        padding: 4px 12px;
        font-size: 0.8rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
    }

    .floating-view-tray-btn:hover {
        background: var(--royal-gold);
        color: #081228;
    }

    .floating-action-btn {
        background: linear-gradient(135deg, var(--royal-gold) 0%, #e0b86a 100%);
        color: #081228;
        border: none;
        border-radius: 25px;
        padding: 10px 24px;
        font-weight: 800;
        font-size: 0.95rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
        transition: transform 0.2s;
    }

    .floating-action-btn:hover {
        transform: translateY(-2px);
        background: #ffffff;
    }

    /* Tray Modal Popup for Instant View */
    .tray-modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        z-index: 10000;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 15px;
    }

    .tray-modal-box {
        background: #ffffff;
        border-radius: 18px;
        width: 100%;
        max-width: 480px;
        max-height: 85vh;
        overflow-y: auto;
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
        border: 2px solid var(--royal-gold);
        padding: 1.8rem;
    }

    @media (max-width: 768px) {
        .reservation-page-wrapper {
            padding: 1rem 0.5rem 6rem;
        }
        .hero-banner-royal {
            padding: 1.8rem 1rem;
            border-radius: 14px;
        }
        .hero-banner-royal h1 {
            font-size: 1.6rem;
        }
        .hero-banner-royal p.subtitle {
            font-size: 0.85rem;
        }
        .section-card {
            padding: 1.25rem 1rem;
            border-radius: 12px;
            margin-bottom: 1.25rem;
        }
        .section-card-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
        .form-control {
            font-size: 16px !important;
            min-height: 44px;
        }
        .confirm-reserve-btn {
            padding: 13px 18px;
            font-size: 0.95rem;
        }
        .tray-modal-box {
            padding: 1.25rem 1rem;
            border-radius: 14px;
        }
    }

