/* ===========================
   GLOBAL PAGE LAYOUT SYSTEM
   Ensures footer stays bottom on ALL pages
   Keeps layout consistent everywhere
=========================== */

/* Page takes full height */
html {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

/* Flex layout controls page structure */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content grows to push footer down */
main {
    flex: 1;
}

/* Optional: prevent content touching footer */
.page-content {
    padding-bottom: 40px;
}

/* Fix iPhone right-side overflow on menu grid */
.fix-mobile-overflow {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* html/body should not have overflow: hidden to allow position: sticky on iOS */
/* ===========================
   GLOBAL GOLD BUTTON STYLES
   Overrides all Bootstrap button colors to the pure gold theme
=========================== */
.btn:not(.btn-close):not(.btn-link):not(.nav-link):not(:disabled):not(.disabled):not([class*="btn-outline-"]):not(.category-pill),
.btn-warning:not(:disabled):not(.disabled):not(.category-pill) {
    background-color: #FFD700 !important;
    border-color: #FFD700 !important;
    color: #000 !important;
}

.btn:not(.btn-close):not(.btn-link):not(.nav-link):not(:disabled):not(.disabled):not([class*="btn-outline-"]):not(.category-pill):hover,
.btn:not(.btn-close):not(.btn-link):not(.nav-link):not(:disabled):not(.disabled):not([class*="btn-outline-"]):not(.category-pill):focus,
.btn-warning:not(:disabled):not(.disabled):not(.category-pill):hover,
.btn-warning:not(:disabled):not(.disabled):not(.category-pill):focus {
    background-color: #FFD700 !important;
    border-color: #FFD700 !important;
    color: #000 !important;
    filter: brightness(0.96);
}

.btn:not(.btn-close):not(.btn-link):not(.nav-link):not(:disabled):not(.disabled):not([class*="btn-outline-"]):not(.category-pill):active,
.btn-warning:not(:disabled):not(.disabled):not(.category-pill):active {
    filter: brightness(0.92);
    transform: translateY(1px);
}

/* OUTLINE BUTTONS (e.g. ASAP/Schedule toggle) */
.btn-outline-warning:not(:disabled):not(.disabled) {
    color: #b59500 !important;
    border-color: #FFD700 !important;
    background-color: transparent !important;
}

.btn-outline-warning:not(:disabled):not(.disabled):hover {
    color: #cca400 !important;
    background-color: rgba(255, 215, 0, 0.1) !important;
    border-color: #FFD700 !important;
}

.btn-outline-warning:not(:disabled):not(.disabled):active,
.btn-outline-warning.active:not(:disabled):not(.disabled),
.btn-check:checked+.btn-outline-warning:not(:disabled):not(.disabled) {
    color: #000 !important;
    background-color: #FFD700 !important;
    border-color: #FFD700 !important;
}

/* Ensure disabled buttons look disabled */
.btn:disabled,
.btn.disabled {
    pointer-events: none;
    opacity: 0.65 !important;
    background-color: #333 !important;
    border-color: #444 !important;
    color: #888 !important;
}

/* ===========================
   GLOBAL CHARCOAL THENE
   =========================== */

/* 1. Body & Text */
body,
html {
    background-color: #121212 !important;
    color: #f8f9fa !important;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #f8f9fa !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* 2. Container Overrides (No more bg-white) */
.bg-white {
    background-color: #1a1a1a !important;
    /* Deep charcoal */
    border: 1px solid #333 !important;
    color: #f8f9fa !important;
}

.shadow-sm,
.shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.card,
.modal-content {
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #f8f9fa !important;
}

/* Invert close buttons for dark mode */
.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* 3. Global Form Styling */
.form-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #adb5bd !important;
    font-weight: 600;
}

.form-control,
.form-select {
    background-color: #262626 !important;
    border: 1px solid #404040 !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 12px 16px;
    transition: all 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: #FFD700 !important;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2) !important;
    background-color: #fff !important;
    color: #000 !important;
    outline: none;
}

.form-control::placeholder {
    color: #adb5bd !important;
}

/* ✅ Prevent autofill yellow background globally (dark theme) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:active,
select:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #262626 inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* White background for autofill when FOCUSED */
input:-webkit-autofill:focus,
select:-webkit-autofill:focus,
textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #fff inset !important;
    -webkit-text-fill-color: #000 !important;
}

/* Fix generic muted/dimmed text */
.text-muted {
    color: #999 !important;
}

/* Fix basic borders and dividers */
hr {
    border-color: #333 !important;
}

.border {
    border-color: #333 !important;
}

/* Bootstrap Alert overrides */
.alert-warning,
.alert-info,
.alert-success,
.alert-danger {
    background-color: #262626 !important;
    border: 1px solid #404040 !important;
    color: #e0e0e0 !important;
}

.alert-warning {
    border-left: 4px solid #FFD700 !important;
}

.alert-info {
    border-left: 4px solid #17a2b8 !important;
}

.alert-danger {
    border-left: 4px solid #dc3545 !important;
}

.alert-success {
    border-left: 4px solid #198754 !important;
}

/* Dropdowns and Select specific */
.dropdown-menu {
    background-color: #262626 !important;
    border: 1px solid #444 !important;
}

.dropdown-item {
    color: #f8f9fa !important;
}

.dropdown-item:hover {
    background-color: #333 !important;
    color: #ffd700 !important;
}

/* 4. Tables & Lists (Global fix for cart, account, etc) */
.table {
    color: #f8f9fa !important;
}

.table-light,
.table-light>th,
.table-light>td {
    background-color: #222 !important;
    color: #f8f9fa !important;
    border-color: #444 !important;
}

.table-dark,
.table-dark>th,
.table-dark>td {
    background-color: #1a1a1a !important;
    color: #f8f9fa !important;
    border-color: #444 !important;
}

.list-group-item {
    background-color: #1a1a1a !important;
    border-color: #333 !important;
    color: #f8f9fa !important;
}

.list-group-item.active {
    background-color: #FFD700 !important;
    border-color: #FFD700 !important;
    color: #000 !important;
}

/* 5. Nav Tabs (Account page, etc) */
.nav-tabs {
    border-bottom: 1px solid #333 !important;
}

.nav-tabs .nav-link {
    color: #e0e0e0 !important;
    border: 1px solid transparent;
}

.nav-tabs .nav-link:hover {
    border-color: #333 #333 #1a1a1a !important;
    color: #FFD700 !important;
}

.nav-tabs .nav-link.active {
    background-color: #1a1a1a !important;
    color: #FFD700 !important;
    border-color: #333 #333 #1a1a1a !important;
    font-weight: bold;
}

/* ===========================
   PREMIUM GLOBAL TOAST SYSTEM
   Replaces inconsistent alerts and simple toasts
   =========================== */
.site-toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    pointer-events: none;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.site-toast {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.site-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Variants */
.site-toast-success {
    border-left: 4px solid #FFD700 !important;
}

.site-toast-error {
    background: rgba(220, 38, 38, 0.95);
    border-left: 4px solid #fff !important;
}

.site-toast-info {
    border-left: 4px solid #17a2b8 !important;
}

/* Hide legacy alerts if needed (fallback) */
.page-alert-hidden {
    display: none !important;
}

/* =========================
   ✅ ALLERGY BANNER
========================= */
.allergy-banner {
    background-color: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-left: 4px solid #FFC107;
    border-radius: 8px;
    padding: 14px 18px;
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.allergy-icon {
    font-size: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.allergy-text {
    color: #fff !important;
}

.allergy-text .fw-bold {
    color: #FFC107 !important;
    font-size: 15px;
    letter-spacing: 0.3px;
}

/* Make sure the muted text is also strongly readable white */
.allergy-text .text-muted {
    color: rgba(255, 255, 255, 0.95) !important;
}

@media (min-width: 992px) {
    .allergy-banner {
        max-width: 900px;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
}

/* ============================
   MOBILE LANDSCAPE: page layout adjustments
============================ */
@media (max-width: 991.98px) and (orientation: landscape) {

    /* Reduce page bottom spacing */
    .page-content {
        padding-bottom: 16px !important;
    }

    /* Compact all main containers */
    main.container,
    main.container-fluid {
        padding-top: 8px !important;
    }

    /* Cards slightly less padded */
    .bg-white {
        padding: 12px !important;
    }

    /* Compact toast for less visual obstruction */
    .site-toast-container {
        max-width: 260px !important;
    }

    .site-toast {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }

    /* ── Universal form compacting ── */
    .form-control,
    .form-select {
        min-height: 36px !important;
        padding: 6px 10px !important;
        font-size: 13px !important;
    }

    .form-label {
        font-size: 0.75rem !important;
        margin-bottom: 2px !important;
    }

    textarea.form-control {
        min-height: 50px !important;
    }

    /* Reduce vertical margin/padding helpers */
    .my-5 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .my-4 {
        margin-top: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .mb-3 {
        margin-bottom: 0.5rem !important;
    }

    .mt-4 {
        margin-top: 0.75rem !important;
    }

    .pt-4 {
        padding-top: 0.5rem !important;
    }

    .pb-5 {
        padding-bottom: 1rem !important;
    }

    /* Compact headings */
    h3,
    .h3 {
        font-size: 1.15rem !important;
    }

    h4,
    .h4 {
        font-size: 1rem !important;
    }

    /* Buttons slightly more compact */
    .btn-lg {
        padding: 8px 18px !important;
        font-size: 14px !important;
    }

    /* Alerts compact */
    .alert {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    /* Nav tabs compact */
    .nav-tabs .nav-link {
        padding: 6px 10px !important;
        font-size: 13px !important;
    }
}

/* ── Dynamic viewport height fix (mobile browsers) ── */
@supports (min-height: 100dvh) {
    body {
        min-height: 100dvh;
    }
}/* ===========================
   ✅ OPTIONS BOTTOM-SHEET MODAL
   Deliveroo / UberEats style
=========================== */

/* Overlay */
.options-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.options-modal-overlay.active {
    background: rgba(0, 0, 0, 0.55);
}

/* The sheet itself */
.options-modal-sheet {
    background: #fff;
    color: #1a1a1a;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    border-radius: 18px 18px 0 0;
    overflow-y: auto;
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.25);
}

.options-modal-sheet.active {
    transform: translateY(0);
}

/* Header */
.options-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 22px 22px 0;
}

.options-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 2px 0;
}

.options-modal-price {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.options-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-top: -4px;
    transition: color 0.15s;
}

.options-modal-close:hover {
    color: #333;
}

/* Description */
.options-modal-desc {
    padding: 6px 22px 0;
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
}

/* Dividers */
.options-modal-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 16px 0 0;
}

/* Section headers (Choose one / Extras) */
.options-modal-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 22px 8px;
}

.options-modal-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
}

.options-modal-required-badge {
    background: #333;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.options-modal-optional-badge {
    background: #e8e8e8;
    color: #555;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Error text */
.options-modal-option-error {
    padding: 0 22px 4px;
    font-size: 0.82rem;
    color: #d32f2f;
    font-weight: 500;
}

/* ── Radio rows (options) ── */
.options-modal-radio-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f3f3f3;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.options-modal-radio-row:last-child {
    border-bottom: none;
}

.options-modal-radio-row:hover {
    background: #fafafa;
}

/* Custom radio circle */
.options-modal-radio-circle {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.options-modal-radio-circle input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
    z-index: 1;
}

.options-modal-radio-check {
    position: absolute;
    inset: 0;
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: border-color 0.15s;
    pointer-events: none;
}

.options-modal-radio-circle input:checked~.options-modal-radio-check {
    border-color: #1a1a1a;
    border-width: 7px;
}

.options-modal-radio-info {
    flex: 1;
    min-width: 0;
    pointer-events: none;
}

.options-modal-radio-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

.options-modal-radio-price {
    font-size: 0.95rem;
    color: #555;
    white-space: nowrap;
    font-weight: 500;
}

/* ── Checkbox rows (extras) ── */
.options-modal-checkbox-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f3f3f3;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.options-modal-checkbox-row:last-child {
    border-bottom: none;
}

.options-modal-checkbox-row:hover {
    background: #fafafa;
}

.options-modal-checkbox-box {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.options-modal-checkbox-box input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
    z-index: 1;
}

.options-modal-checkbox-check {
    position: absolute;
    inset: 0;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: all 0.15s;
    pointer-events: none;
}

.options-modal-checkbox-box input:checked~.options-modal-checkbox-check {
    background: #1a1a1a;
    border-color: #1a1a1a;
}

.options-modal-checkbox-box input:checked~.options-modal-checkbox-check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.options-modal-checkbox-info {
    flex: 1;
    min-width: 0;
    pointer-events: none;
}

.options-modal-checkbox-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
}

.options-modal-checkbox-price {
    font-size: 0.9rem;
    color: #777;
    white-space: nowrap;
}

/* ── Footer with Add button ── */
.options-modal-footer {
    padding: 16px 22px 22px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    position: sticky;
    bottom: 0;
}

.options-modal-add-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #f0ebe0;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.3px;
}

.options-modal-add-btn:hover {
    background: #e6dfcf;
}

.options-modal-add-btn:active {
    transform: scale(0.98);
}

/* ── Desktop: center the sheet ── */
@media (min-width: 768px) {
    .options-modal-overlay {
        align-items: center;
    }

    .options-modal-sheet {
        border-radius: 18px;
        max-height: 80vh;
    }
}

/* ===========================
   ✅ CLOSED RESTAURANT MODAL
=========================== */
.closed-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.closed-modal-overlay.active {
    background: rgba(0, 0, 0, 0.6);
}

.closed-modal-box {
    background: #fff;
    color: #1a1a1a;
    border-radius: 20px;
    padding: 36px 30px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease;
}

.closed-modal-overlay.active .closed-modal-box {
    transform: scale(1);
    opacity: 1;
}

.closed-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
}

.closed-modal-close:hover {
    color: #333;
}

.closed-modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.closed-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a !important;
    margin: 0 0 8px;
}

.closed-modal-text {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 24px;
    line-height: 1.5;
}

.closed-modal-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #FFD700;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.closed-modal-btn:hover {
    background: #f0c800;
}

.closed-modal-btn:active {
    transform: scale(0.98);
}


/* ===========================
   SITE-WIDE LIGHT THEME OVERRIDES
   Activated by body.site-light
   ONLY COLORS — no size/position/layout changes

   NOTE: Navbar (#6d0404) and category bar are BRAND colors
         and are NOT overridden here.
   =========================== */

/* 1. Body & Text */
body.site-light,
body.site-light html {
    background-color: #f5f5f5 !important;
    color: #1a1a2e !important;
}

body.site-light h1,
body.site-light h2,
body.site-light h3,
body.site-light h4,
body.site-light h5,
body.site-light h6,
body.site-light .h1,
body.site-light .h2,
body.site-light .h3,
body.site-light .h4,
body.site-light .h5,
body.site-light .h6 {
    color: #1a1a2e !important;
}

/* ===========================
   FLOATING LABELS (Global - Dark/Light)
   =========================== */
.floating-label {
    position: relative;
    width: 100%;
}
.floating-label .form-control,
.floating-label textarea.form-control {
    padding: 14px 12px 6px 12px !important;
    min-height: 48px !important;
    font-size: 14px;
    background: transparent;
    border: 1.5px solid #444; /* Dark theme default */
    border-radius: 8px;
    color: #f0f0f0; /* Dark theme default */
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.floating-label textarea.form-control {
    min-height: 70px !important;
    resize: vertical;
}
.floating-label .form-control:focus {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255,215,0,0.15);
}
.floating-label .float-lbl,
.floating-label-group .float-lbl {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
    color: #f0f0f0; /* Dark theme default */
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 4px;
    z-index: 1;
}
/* For textarea, anchor label to top instead of center */
.floating-label.floating-textarea .float-lbl {
    top: 16px;
    transform: translateY(0);
}
/* Float up on focus or when input has content */
.floating-label .form-control:focus ~ .float-lbl,
.floating-label .form-control.has-value ~ .float-lbl {
    top: 0;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #FFD700;
    background: #1a1a1a; /* Dark theme default background mask */
    letter-spacing: 0.02em;
}

/* Floating Label Group (e.g. input + button) */
.floating-label-group {
    position: relative;
    width: 100%;
}
.floating-label-group .input-group {
    border: 1.5px solid #444;
    border-radius: 8px !important;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.floating-label-group .input-group .form-control {
    border: none !important;
    box-shadow: none !important;
    min-height: 48px !important;
    padding: 14px 12px 6px 12px !important;
    background: transparent;
    color: #f0f0f0;
}
.floating-label-group .input-group:focus-within {
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255,215,0,0.15);
}
.floating-label-group .input-group:focus-within ~ .float-lbl,
.floating-label-group .input-group .form-control.has-value ~ .float-lbl,
.floating-label-group .float-lbl.floated,
.floating-label-group .input-group .form-control:-webkit-autofill ~ .float-lbl {
    top: 0;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #FFD700;
    background: #1a1a1a;
    letter-spacing: 0.02em;
}

/* Asterisk styling inside floating label */
.floating-label .float-lbl .text-danger,
.floating-label-group .float-lbl .text-danger {
    color: #ff6b6b !important;
    font-weight: 700;
}
/* Autofill fixes */
.floating-label .form-control:-webkit-autofill ~ .float-lbl {
    top: 0;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #FFD700;
    background: #1a1a1a;
    letter-spacing: 0.02em;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #262626 inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Light Theme Overrides for Floating Labels */
body.site-light .floating-label .form-control,
body.site-light .floating-label textarea.form-control,
body.site-light .floating-label-group .input-group {
    border-color: #ced4da !important;
    background-color: #ffffff !important;
}
body.site-light .floating-label .form-control,
body.site-light .floating-label textarea.form-control,
body.site-light .floating-label-group .input-group .form-control {
    color: #1a1a2e !important;
}
body.site-light .floating-label .form-control:focus,
body.site-light .floating-label-group .input-group:focus-within {
    border-color: #b8860b !important;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2) !important;
}
body.site-light .floating-label .float-lbl,
body.site-light .floating-label-group .float-lbl {
    color: #777 !important;
}
body.site-light .floating-label .form-control:focus ~ .float-lbl,
body.site-light .floating-label .form-control.has-value ~ .float-lbl,
body.site-light .floating-label .form-control:-webkit-autofill ~ .float-lbl,
body.site-light .floating-label-group .input-group:focus-within ~ .float-lbl,
body.site-light .floating-label-group .input-group .form-control.has-value ~ .float-lbl,
body.site-light .floating-label-group .float-lbl.floated,
body.site-light .floating-label-group .input-group .form-control:-webkit-autofill ~ .float-lbl {
    color: #b8860b !important;
    background: #ffffff !important;
}
body.site-light input:-webkit-autofill,
body.site-light input:-webkit-autofill:hover,
body.site-light input:-webkit-autofill:focus,
body.site-light input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

/* Make sure placeholders are visible inside inputs with light backgrounds */
body.site-light input::placeholder,
body.site-light textarea::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

/* Protect hero text from global heading overrides (must stay light over video/slider) */
body.site-light .hero-text {
    color: #f5efe6 !important;
}
body.site-light .hero-title {
    color: #f5efe6 !important;
}
body.site-light .hero-kicker .line {
    background: rgba(245, 239, 230, 0.55) !important;
}
body.site-light .hero-kicker .kicker {
    color: rgba(245, 239, 230, 0.95) !important;
}
body.site-light .hero-subtitle,
body.site-light .hero-subtitle1 {
    color: rgba(245, 239, 230, 0.82) !important;
}

/* 2. Containers */
body.site-light .bg-white {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #1a1a2e !important;
}

body.site-light .shadow-sm,
body.site-light .shadow {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
}

body.site-light .card,
body.site-light .modal-content {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #1a1a2e !important;
}

/* Keep closed-modal dark glassmorphism in light theme */
body.site-light #closedModal .modal-content {
    background: rgba(30, 5, 5, 0.85) !important;
    border: none !important;
    color: #fff !important;
}

/* 3. Close btn */
body.site-light .btn-close {
    filter: none !important;
}

/* 4. Forms */
body.site-light .form-label {
    color: #555 !important;
}

body.site-light .form-control,
body.site-light .form-select {
    background-color: #f8f9fa !important;
    border: 1px solid #ced4da !important;
    color: #1a1a2e !important;
}

body.site-light .form-control:focus,
body.site-light .form-select:focus,
body.site-light textarea.form-control:focus {
    border-color: #b8860b !important;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2) !important;
    background-color: #ffffff !important;
    color: #1a1a2e !important;
}

body.site-light .form-control::placeholder {
    color: #999 !important;
}

/* Autofill */
body.site-light input:-webkit-autofill,
body.site-light input:-webkit-autofill:hover,
body.site-light input:-webkit-autofill:active,
body.site-light select:-webkit-autofill,
body.site-light textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f8f9fa inset !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

body.site-light input:-webkit-autofill:focus,
body.site-light select:-webkit-autofill:focus,
body.site-light textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #fff inset !important;
    -webkit-text-fill-color: #1a1a2e !important;
}

/* 5. Text helpers */
body.site-light .text-muted {
    color: #777 !important;
}

/* 6. HR / borders */
body.site-light hr {
    border-color: #dee2e6 !important;
}

body.site-light .border {
    border-color: #dee2e6 !important;
}

/* 7. Alerts */
body.site-light .alert-warning,
body.site-light .alert-info,
body.site-light .alert-success,
body.site-light .alert-danger {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    color: #333 !important;
}

body.site-light .alert-warning {
    border-left: 4px solid #b8860b !important;
}

body.site-light .alert-info {
    border-left: 4px solid #17a2b8 !important;
}

body.site-light .alert-danger {
    border-left: 4px solid #dc3545 !important;
}

body.site-light .alert-success {
    border-left: 4px solid #198754 !important;
}

/* 8. Dropdowns */
body.site-light .dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
}

body.site-light .dropdown-item {
    color: #1a1a2e !important;
}

body.site-light .dropdown-item:hover {
    background-color: #f0f2f5 !important;
    color: #b8860b !important;
}

/* 9. Tables */
body.site-light .table {
    color: #1a1a2e !important;
}

body.site-light .table-light,
body.site-light .table-light>th,
body.site-light .table-light>td {
    background-color: #f8f9fa !important;
    color: #1a1a2e !important;
    border-color: #dee2e6 !important;
}

body.site-light .table-dark,
body.site-light .table-dark>th,
body.site-light .table-dark>td {
    background-color: #e9ecef !important;
    color: #1a1a2e !important;
    border-color: #dee2e6 !important;
}

body.site-light .list-group-item {
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
    color: #1a1a2e !important;
}

body.site-light .list-group-item.active {
    background-color: #b8860b !important;
    border-color: #b8860b !important;
    color: #fff !important;
}

/* 10. Nav tabs */
body.site-light .nav-tabs {
    border-bottom: 1px solid #dee2e6 !important;
}

body.site-light .nav-tabs .nav-link {
    color: #555 !important;
}

body.site-light .nav-tabs .nav-link:hover {
    border-color: #dee2e6 #dee2e6 #fff !important;
    color: #b8860b !important;
}

body.site-light .nav-tabs .nav-link.active {
    background-color: #ffffff !important;
    color: #b8860b !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
}

/* 11. Toasts */
body.site-light .site-toast {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #dee2e6 !important;
    color: #1a1a2e !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15) !important;
}

body.site-light .site-toast-success {
    border-left: 4px solid #b8860b !important;
}

/* 12. Disabled buttons */
body.site-light .btn:disabled,
body.site-light .btn.disabled {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #999 !important;
}

/* 13. Search inputs (header navbar + mobile modal) */
body.site-light .custom-navbar .search-bar-container .search-input,
body.site-light #dishSearchDesktop {
    background: #ffffff !important;
    border: 1px solid #ced4da !important;
    color: #1a1a2e !important;
    caret-color: #1a1a2e !important;
}

body.site-light .custom-navbar .search-bar-container .search-input::placeholder,
body.site-light #dishSearchDesktop::placeholder {
    color: #999 !important;
}

body.site-light .custom-navbar .search-bar-container .search-input:focus,
body.site-light #dishSearchDesktop:focus {
    background-color: #ffffff !important;
    border-color: #b8860b !important;
    color: #1a1a2e !important;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2) !important;
}

body.site-light .mobile-search-input,
body.site-light #dishSearch {
    background: #ffffff !important;
    border: 1px solid #ced4da !important;
    color: #1a1a2e !important;
    caret-color: #1a1a2e !important;
}

body.site-light .mobile-search-input:focus,
body.site-light #dishSearch:focus {
    background-color: #ffffff !important;
    border-color: #b8860b !important;
    color: #1a1a2e !important;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.3) !important;
}

/* 14. Autocomplete dropdown */
body.site-light .autocomplete-list {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12) !important;
}

body.site-light .autocomplete-item {
    color: #1a1a2e !important;
}

body.site-light .autocomplete-item:hover,
body.site-light .autocomplete-item.active {
    background: #f0f2f5 !important;
}

body.site-light .autocomplete-item .name {
    color: #1a1a2e !important;
}

body.site-light .autocomplete-item .category {
    color: #888 !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

body.site-light .autocomplete-item .price {
    color: #b8860b !important;
}

/* 15. Search clear button (Extreme Visibility for Light Theme) */
body.site-light .search-clear-btn,
body.site-light .search-clear-btn svg,
body.site-light .search-clear-btn * {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #000 !important;
    fill: #000 !important;
    z-index: 2147483647 !important;
}

body.site-light .search-input:not(:placeholder-shown) + .search-clear-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 16. Footer */
body.site-light:not(.home-page-glossy) footer {
    background-color: #e9ecef !important;
    border-top: 1px solid #dee2e6 !important;
}

body.site-light:not(.home-page-glossy) footer,
body.site-light:not(.home-page-glossy) footer *,
body.site-light:not(.home-page-glossy) footer a {
    color: #1a1a2e !important;
}

body.site-light:not(.home-page-glossy) footer small,
body.site-light:not(.home-page-glossy) footer .footer-muted,
body.site-light:not(.home-page-glossy) footer .text-secondary {
    color: #555 !important;
}

body.site-light:not(.home-page-glossy) footer a:hover {
    color: #b8860b !important;
}

/* Payment icons in footer bottom */
body.site-light:not(.home-page-glossy) .payment-icon {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: #1a1a2e !important;
}
body.site-light:not(.home-page-glossy) .payment-icon svg path[fill="white"] {
    fill: #1a1a2e !important;
}

/* 17. Mobile drawer */
body.site-light .sm-mobile-drawer {
    background: #ffffff !important;
    color: #1a1a2e !important;
}

body.site-light .sm-mobile-drawer h2 {
    color: #1a1a2e !important;
}

body.site-light .sm-mobile-drawer .drawer-links a {
    color: #333 !important;
}

body.site-light .sm-mobile-drawer .drawer-links a:hover {
    color: #b8860b !important;
}

body.site-light .drawer-description {
    color: #777 !important;
}

body.site-light .drawer-sub-link {
    color: #555 !important;
}

body.site-light .drawer-sub-link.active {
    color: #b8860b !important;
}

/* 18. Options modal (bottom sheet) */
body.site-light .options-modal-sheet {
    background: #ffffff !important;
    color: #1a1a2e !important;
}

/* 19. Allergy banner — keep readable */
body.site-light .allergy-banner {
    background-color: rgba(245, 245, 245, 0.95) !important;
    backdrop-filter: blur(10px) !important;
}

body.site-light .allergy-text {
    color: #1a1a2e !important;
}

body.site-light .allergy-text .text-muted {
    color: #555 !important;
}

/* 20. Cookies banner */
body.site-light .cookies-banner {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
}

body.site-light .cookies-banner-text {
    color: #1a1a2e !important;
}

/* 21. Mobile search modal */
body.site-light .mobile-search-content {
    background: #ffffff !important;
}

body.site-light .mobile-search-content .modal-title {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    filter: none !important;
    opacity: 1 !important;
}

body.site-light .mobile-search-content .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
    opacity: 1 !important;
}

body.site-light .modal-search-btn {
    background-color: #b8860b !important;
    border-color: #b8860b !important;
    color: #fff !important;
}

/* 22. Home page specific — flash paint override */
body.site-light html {
    background-color: #f5f5f5 !important;
}

/* ===========================
   SITE-LIGHT: CART PAGE OVERRIDES
   =========================== */

/* Cart cards */
body.site-light .cart-card {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    color: #1a1a2e !important;
}

body.site-light .cart-title {
    color: #1a1a2e !important;
}

body.site-light .cart-subtitle {
    color: #777 !important;
}

body.site-light .cart-continue {
    color: #555 !important;
    border-color: #dee2e6 !important;
}

body.site-light .cart-continue:hover {
    color: #1a1a2e !important;
    border-color: #aaa !important;
    background: rgba(0, 0, 0, 0.03) !important;
}

/* Items header */
body.site-light .cart-items-header {
    border-bottom: 1px solid #dee2e6 !important;
}

body.site-light .cart-items-label {
    color: #333 !important;
}

body.site-light .cart-items-count {
    color: #888 !important;
}

/* Category divider */
body.site-light .cart-cat-divider {
    background: rgba(0, 0, 0, 0.02) !important;
}

body.site-light .cart-cat-divider span {
    color: #b8860b !important;
}

body.site-light .cart-cat-divider::after {
    background: #dee2e6 !important;
}

/* Item rows */
body.site-light .cart-item {
    border-bottom: 1px solid #f0f0f0 !important;
}

body.site-light .cart-item:hover {
    background: rgba(0, 0, 0, 0.015) !important;
}

body.site-light .cart-item-name {
    color: #1a1a2e !important;
}

body.site-light .cart-item-meta {
    color: #777 !important;
}

body.site-light .cart-item-unit-mobile {
    color: #666 !important;
}

/* Qty controls */
body.site-light .qty-ctrl {
    border: 1px solid #dee2e6 !important;
    background: #f8f9fa !important;
}

body.site-light .qty-ctrl button {
    color: #555 !important;
}

body.site-light .qty-ctrl button:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #1a1a2e !important;
}

body.site-light .qty-ctrl input {
    border-left: 1px solid #dee2e6 !important;
    border-right: 1px solid #dee2e6 !important;
    color: #1a1a2e !important;
    background: transparent !important;
}

/* Prices */
body.site-light .cart-price {
    color: #1a1a2e !important;
}

body.site-light .cart-unit-price {
    color: #777 !important;
}

/* Remove button */
body.site-light .cart-remove {
    color: #999 !important;
}

body.site-light .cart-remove:hover {
    color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.06) !important;
}

/* Summary */
body.site-light .cart-summary-title {
    color: #1a1a2e !important;
}

body.site-light .sum-row {
    border-bottom: 1px solid #f0f0f0 !important;
}

body.site-light .sum-label {
    color: #777 !important;
}

body.site-light .sum-value {
    color: #1a1a2e !important;
}

body.site-light .sum-grand .sum-label {
    color: #1a1a2e !important;
}

body.site-light .sum-grand .sum-value {
    color: #1a1a2e !important;
}

/* Action buttons */
body.site-light .cart-btn-update {
    border: 1px solid #dee2e6 !important;
    color: #555 !important;
}

body.site-light .cart-btn-update:hover {
    border-color: #aaa !important;
    color: #1a1a2e !important;
    background: rgba(0, 0, 0, 0.03) !important;
}

/* ===========================
   SITE-LIGHT: CHECKOUT PAGE OVERRIDES
   =========================== */

/* Floating labels */
body.site-light .floating-label .form-control,
body.site-light .floating-label textarea.form-control {
    border: 1.5px solid #ced4da !important;
    color: #1a1a2e !important;
    background: #f8f9fa !important;
}

body.site-light .floating-label .form-control:focus {
    border-color: #b8860b !important;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15) !important;
    background: #ffffff !important;
}

body.site-light .floating-label .float-lbl {
    color: #777 !important;
}

body.site-light .floating-label .form-control:focus ~ .float-lbl,
body.site-light .floating-label .form-control.has-value ~ .float-lbl {
    color: #b8860b !important;
    background: #ffffff !important;
}

body.site-light .floating-label .form-control:-webkit-autofill ~ .float-lbl {
    color: #b8860b !important;
    background: #ffffff !important;
}

/* Floating label group */
body.site-light .floating-label-group .input-group {
    border: 1.5px solid #ced4da !important;
}

body.site-light .floating-label-group .input-group .form-control {
    color: #1a1a2e !important;
    background: transparent !important;
}

body.site-light .floating-label-group .input-group:focus-within {
    border-color: #b8860b !important;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.15) !important;
}

body.site-light .floating-label-group .input-group:focus-within ~ .float-lbl,
body.site-light .floating-label-group .input-group .form-control.has-value ~ .float-lbl,
body.site-light .floating-label-group .float-lbl.floated {
    color: #b8860b !important;
    background: #ffffff !important;
}

/* Checkout summary box */
body.site-light .checkout-summary-box {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
}

/* Checkout form labels override */
body.site-light .checkout-main-col .form-label {
    color: #555 !important;
}

body.site-light .bg-white h3,
body.site-light .bg-white h5,
body.site-light .bg-white .form-label,
body.site-light .bg-white .fw-bold {
    color: #1a1a2e !important;
}

/* Coupon input */
body.site-light #couponInput {
    background-color: #f8f9fa !important;
    border: 1px solid #ced4da !important;
    color: #1a1a2e !important;
}

body.site-light #couponInput:focus {
    border-color: #b8860b !important;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2) !important;
}

/* Outline buttons on checkout */
body.site-light .btn-outline-dark,
body.site-light .btn-outline-secondary {
    border-color: #dee2e6 !important;
    color: #333 !important;
}

body.site-light .btn-outline-dark:hover,
body.site-light .btn-outline-secondary:hover {
    background-color: #f0f2f5 !important;
    color: #1a1a2e !important;
    border-color: #aaa !important;
}

/* Order type cards */
body.site-light .order-type-card {
    border: 1.5px solid #dee2e6 !important;
    color: #1a1a2e !important;
}

body.site-light .order-type-card:hover {
    border-color: #aaa !important;
    background: rgba(0, 0, 0, 0.015) !important;
}

body.site-light .order-type-card.selected {
    border-color: #b8860b !important;
    background: rgba(184, 134, 11, 0.04) !important;
}

body.site-light .order-type-title {
    color: #1a1a2e !important;
}

body.site-light .order-type-desc {
    color: #888 !important;
}

/* ===========================
   SITE-LIGHT: PRE-CHECKOUT PAGE OVERRIDES
   =========================== */

body.site-light .pre-checkout-card {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    color: #1a1a2e !important;
}

body.site-light .pre-checkout-subtitle {
    color: #777 !important;
}

body.site-light .pre-checkout-card .form-control {
    background: #f8f9fa !important;
    border-color: #ced4da !important;
    color: #1a1a2e !important;
}

body.site-light .pre-checkout-card .form-control:focus {
    border-color: #b8860b !important;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2) !important;
    background: #ffffff !important;
    color: #1a1a2e !important;
}

body.site-light .pre-checkout-card .form-control::placeholder {
    color: #999 !important;
}

body.site-light .or-divider span {
    background: #ffffff !important;
    color: #999 !important;
}

body.site-light .or-divider::before {
    border-top: 1px solid #dee2e6 !important;
}

body.site-light .btn-ghost {
    border: 1.5px solid #dee2e6 !important;
    color: #555 !important;
}

body.site-light .btn-ghost:hover {
    background: #f0f2f5 !important;
    color: #1a1a2e !important;
    border-color: #aaa !important;
}

body.site-light .btn-gold {
    background-color: #b8860b !important;
    color: #ffffff !important;
}

body.site-light .btn-gold:hover {
    background-color: #a07609 !important;
    color: #ffffff !important;
}

body.site-light .back-to-cart {
    color: #777 !important;
}

body.site-light .back-to-cart:hover {
    color: #1a1a2e !important;
}

body.site-light .step-badge {
    background: #b8860b !important;
    color: #ffffff !important;
}

/* ===========================
   SITE-LIGHT: ACCOUNT PAGE OVERRIDES
   =========================== */

body.site-light .account-card,
body.site-light .account-section {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #1a1a2e !important;
}

/* ===========================
   SITE-LIGHT: BOOKING PAGE OVERRIDES
   =========================== */

body.site-light .booking-card {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #1a1a2e !important;
}

/* ===========================
   SITE-LIGHT: ORDER VIEW OVERRIDES
   =========================== */

body.site-light .order-view-card {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #1a1a2e !important;
}

/* ===========================
   SITE-LIGHT: MISC PAGE OVERRIDES
   =========================== */

/* Generic dark text/bg fixups */
body.site-light [style*="color: #f8f9fa"],
body.site-light [style*="color:#f8f9fa"],
body.site-light [style*="color: #f0f0f0"],
body.site-light [style*="color:#f0f0f0"],
body.site-light [style*="color: #e8e8e8"],
body.site-light [style*="color:#e8e8e8"],
body.site-light [style*="color: #e0e0e0"],
body.site-light [style*="color:#e0e0e0"] {
    color: #1a1a2e !important;
}

body.site-light [style*="color: #888"],
body.site-light [style*="color:#888"],
body.site-light [style*="color: #777"],
body.site-light [style*="color:#777"],
body.site-light [style*="color: #aaa"],
body.site-light [style*="color:#aaa"],
body.site-light [style*="color: #bbb"],
body.site-light [style*="color:#bbb"],
body.site-light [style*="color: #ccc"],
body.site-light [style*="color:#ccc"] {
    color: #777 !important;
}

/* ===========================
   SITE-LIGHT: BOOKING PAGE (FULL)
   =========================== */

body.site-light .booking-card {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

body.site-light .booking-card .form-label {
    color: #555 !important;
}

body.site-light .booking-card .form-control,
body.site-light .booking-card .form-select {
    background: #f8f9fa !important;
    border: 1px solid #ced4da !important;
    color: #1a1a2e !important;
}

body.site-light .booking-card .form-control:focus,
body.site-light .booking-card .form-select:focus {
    border-color: #b8860b !important;
    box-shadow: 0 0 0 .22rem rgba(184, 134, 11, .2) !important;
    background: #ffffff !important;
    color: #1a1a2e !important;
}

body.site-light .booking-subtitle {
    color: #777 !important;
}

body.site-light .booking-inline-alert {
    border: 1px solid #dee2e6 !important;
    background: #f8f9fa !important;
    color: #333 !important;
}

body.site-light .booking-help {
    color: #888 !important;
}

/* ===========================
   SITE-LIGHT: ORDER VIEW PAGE (FULL)
   =========================== */

body.site-light .order-title {
    color: #1a1a2e !important;
}

body.site-light .order-subtitle {
    color: #777 !important;
}

body.site-light .od-card {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

body.site-light .od-divider {
    background: #dee2e6 !important;
}

body.site-light .od-label {
    color: #888 !important;
}

body.site-light .od-value {
    color: #1a1a2e !important;
}

body.site-light .od-muted {
    color: #777 !important;
}

body.site-light .od-items tr {
    border-bottom: 1px solid #f0f0f0 !important;
}

body.site-light .od-items td {
    color: #1a1a2e !important;
}

body.site-light .od-items .meta {
    color: #888 !important;
}

body.site-light .od-total-row {
    border-bottom: 1px solid #f0f0f0 !important;
    color: #1a1a2e !important;
}

body.site-light .od-grand {
    color: #b8860b !important;
}

/* Order status pills — lighter backgrounds for light theme */
body.site-light .od-status {
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.site-light .od-status-accepted   { background: rgba(13, 202, 240, 0.7) !important; }
body.site-light .od-status-preparing  { background: rgba(255, 193, 7, 0.65) !important; color: #333 !important; }
body.site-light .od-status-ready      { background: rgba(25, 135, 84, 0.7) !important; }
body.site-light .od-status-delivering { background: rgba(13, 110, 253, 0.7) !important; }
body.site-light .od-status-delivered  { background: rgba(108, 117, 125, 0.5) !important; }
body.site-light .od-status-completed  { background: rgba(108, 117, 125, 0.5) !important; }
body.site-light .od-status-pending    { background: rgba(255, 193, 7, 0.65) !important; color: #333 !important; }
body.site-light .od-status-default    { background: rgba(108, 117, 125, 0.5) !important; }

/* Order category group header */
body.site-light .table-dark-custom {
    background: #f0f2f5 !important;
    border-bottom: 1px solid #dee2e6 !important;
}

/* ===========================
   SITE-LIGHT: ACCOUNT PAGE (FULL)
   =========================== */

/* Account page uses inline styles with background:#1a1a1a and background:#262626 */
body.site-light [style*="background:#1a1a1a"],
body.site-light [style*="background: #1a1a1a"] {
    background: #ffffff !important;
    border-color: #dee2e6 !important;
}

body.site-light [style*="background:#262626"],
body.site-light [style*="background: #262626"] {
    background: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

body.site-light [style*="border-color:#444"],
body.site-light [style*="border-color: #444"] {
    border-color: #dee2e6 !important;
}

body.site-light [style*="border:1px solid #333"],
body.site-light [style*="border: 1px solid #333"] {
    border: 1px solid #dee2e6 !important;
}

/* Account text overrides */
body.site-light [style*="color:#f8f9fa"],
body.site-light [style*="color: #f8f9fa"],
body.site-light [style*="color:#e5e7eb"],
body.site-light [style*="color: #e5e7eb"],
body.site-light [style*="color:#9ca3af"],
body.site-light [style*="color: #9ca3af"] {
    color: #1a1a2e !important;
}

/* ===========================
   SITE-LIGHT: ORDERS TAB + BOOKINGS TAB
   =========================== */

body.site-light .order-history-card,
body.site-light .booking-history-card,
body.site-light .acct-orders-card,
body.site-light .acct-book-card {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #1a1a2e !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

body.site-light .acct-orders-divider,
body.site-light .acct-book-divider {
    background: #dee2e6 !important;
}

body.site-light .acct-orders-title,
body.site-light .acct-book-title,
body.site-light .acct-order-no {
    color: #1a1a2e !important;
}

body.site-light .acct-orders-meta,
body.site-light .acct-book-sub,
body.site-light .acct-muted,
body.site-light .acct-small {
    color: #777 !important;
}

/* Tab Tables */
body.site-light .acct-orders-table thead th,
body.site-light .acct-book-table thead th {
    background: #f0f2f5 !important;
    color: #555 !important;
    border-bottom: 1px solid #dee2e6 !important;
}

body.site-light .acct-orders-table td,
body.site-light .acct-orders-table th,
body.site-light .acct-book-table td,
body.site-light .acct-book-table th {
    color: #1a1a2e !important;
}

body.site-light .acct-orders-table tbody tr,
body.site-light .acct-book-table tbody tr {
    border-bottom: 1px solid #f0f0f0 !important;
}

body.site-light .acct-money {
    color: #b8860b !important;
}

body.site-light .notes-cell {
    color: #555 !important;
}

/* Order status pills — lighter backgrounds for light theme */
body.site-light .acct-status {
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

body.site-light .acct-status-accepted   { background: rgba(13, 202, 240, 0.7) !important; }
body.site-light .acct-status-preparing  { background: rgba(255, 193, 7, 0.65) !important; color: #333 !important; }
body.site-light .acct-status-ready      { background: rgba(25, 135, 84, 0.7) !important; }
body.site-light .acct-status-delivering { background: rgba(13, 110, 253, 0.7) !important; }
body.site-light .acct-status-delivered  { background: rgba(108, 117, 125, 0.5) !important; }
body.site-light .acct-status-completed  { background: rgba(108, 117, 125, 0.5) !important; }
body.site-light .acct-status-pending    { background: rgba(255, 193, 7, 0.65) !important; color: #333 !important; }
body.site-light .acct-status-default    { background: rgba(108, 117, 125, 0.5) !important; }

/* Flatpickr calendar (booking page) */
body.site-light .flatpickr-calendar {
    background: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

body.site-light .flatpickr-day {
    color: #1a1a2e !important;
}

body.site-light .flatpickr-day:hover {
    background: #f0f2f5 !important;
}

body.site-light .flatpickr-day.selected {
    background: #b8860b !important;
    border-color: #b8860b !important;
    color: #fff !important;
}

body.site-light .flatpickr-months .flatpickr-month {
    background: #ffffff !important;
    color: #1a1a2e !important;
}

body.site-light .flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #ffffff !important;
    color: #1a1a2e !important;
}

body.site-light .flatpickr-weekday {
    color: #777 !important;
}

body.site-light span.flatpickr-weekday {
    background: #ffffff !important;
}

body.site-light .flatpickr-months .flatpickr-prev-month,
body.site-light .flatpickr-months .flatpickr-next-month {
    color: #1a1a2e !important;
    fill: #1a1a2e !important;
}

body.site-light .flatpickr-months .flatpickr-prev-month svg,
body.site-light .flatpickr-months .flatpickr-next-month svg {
    fill: #1a1a2e !important;
}

body.site-light .numInputWrapper span {
    background: transparent !important;
}

body.site-light .numInputWrapper span:hover {
    background: #f0f2f5 !important;
}

body.site-light .flatpickr-day.flatpickr-disabled {
    color: #ccc !important;
}

body.site-light .flatpickr-innerContainer {
    background: #ffffff !important;
    border-bottom: none !important;
}

body.site-light .flatpickr-rContainer {
    background: #ffffff !important;
}
