/* ==========================================================================
   LA IBN FLAVOR JUNCTION - LUXURY STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&display=swap');

:root {
    --gold-primary: #d4af37;
    --gold-light: #f3c05b;
    --gold-dark: #aa8214;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --accent-orange: #ff7a00;
    --accent-orange-glow: rgba(255, 122, 0, 0.2);

    --bg-dark-0: #0a0a0a;
    --bg-dark-1: #121212;
    --bg-dark-2: #181818;
    --bg-dark-3: #222222;
    --bg-card: rgba(24, 24, 24, 0.85);
    --border-glass: rgba(212, 175, 55, 0.18);
    --border-subtle: rgba(255, 255, 255, 0.08);

    --text-light-0: #ffffff;
    --text-light-1: #e6e6e6;
    --text-muted: #9e9e9e;
    --text-gold: #d4af37;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-cinzel: 'Cinzel', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --shadow-luxury: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.08);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold-hover: 0 0 25px rgba(212, 175, 55, 0.35);

    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
body.light-theme {
    --bg-dark-0: #fcfaf6;
    --bg-dark-1: #f4efe6;
    --bg-dark-2: #eae3d6;
    --bg-dark-3: #ded5c4;
    --bg-card: rgba(255, 255, 255, 0.92);
    --border-glass: rgba(170, 130, 20, 0.25);
    --border-subtle: rgba(0, 0, 0, 0.08);

    --text-light-0: #1a1714;
    --text-light-1: #38332c;
    --text-muted: #6e675b;
    --text-gold: #aa8214;

    --shadow-luxury: 0 20px 50px rgba(170, 130, 20, 0.08), 0 5px 20px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.06);
    --shadow-gold-hover: 0 0 20px rgba(170, 130, 20, 0.25);
}

/* --- Base Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--bg-dark-0);
    color: var(--text-light-1);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Typography Utility */
.font-heading {
    font-family: var(--font-heading);
}

.font-cinzel {
    font-family: var(--font-cinzel);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #fce899 0%, #d4af37 50%, #aa8214 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-shimmer-border {
    position: relative;
    border: 1px solid var(--border-glass);
}
.gold-shimmer-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    pointer-events: none;
}
.gold-shimmer-border:hover::before {
    opacity: 0.7;
}

/* --- Luxury Buttons --- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #f3c05b 0%, #d4af37 50%, #b8911d 100%);
    color: #111111 !important;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
    transition: var(--transition-smooth);
    text-decoration: none;
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, #ffe08a 0%, #e2be4a 50%, #caa12c 100%);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: transparent;
    color: var(--gold-primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    border: 1.5px solid var(--gold-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}
.btn-outline-gold:hover {
    background: var(--gold-glow);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--gold-glow);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: #25D366;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    text-decoration: none;
}
.btn-whatsapp:hover {
    background: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
}

/* --- Indian Dietary Badges (Veg / Non-Veg) --- */
.diet-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 4px;
    padding: 2px;
    flex-shrink: 0;
    vertical-align: middle;
}
.diet-mark.veg {
    border: 2px solid #00A651;
    background: rgba(0, 166, 81, 0.08);
}
.diet-mark.veg .dot {
    width: 8px;
    height: 8px;
    background-color: #00A651;
    border-radius: 50%;
}
.diet-mark.non-veg {
    border: 2px solid #DC2626;
    background: rgba(220, 38, 38, 0.08);
}
.diet-mark.non-veg .dot {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 9px solid #DC2626;
}

/* --- Glass Panels --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-glass);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
}

/* --- Outlet Selector Badge --- */
.outlet-pill {
    padding: 0.45rem 1.1rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.outlet-pill.active {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: #111111;
    box-shadow: 0 4px 15px var(--gold-glow);
}
.outlet-pill:not(.active) {
    background: var(--bg-dark-2);
    color: var(--text-muted);
    border-color: var(--border-subtle);
}
.outlet-pill:not(.active):hover {
    color: var(--text-light-0);
    border-color: var(--gold-primary);
}

/* --- Hero Background Ambient Glow --- */
.hero-glow-1 {
    position: absolute;
    width: 450px;
    max-width: 80vw;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.hero-glow-2 {
    position: absolute;
    width: 400px;
    max-width: 80vw;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.12) 0%, transparent 70%);
    bottom: 10%;
    right: 10%;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* --- Menu Cards Styling --- */
.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}
.menu-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-luxury);
}
.menu-card-img-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #111;
}
.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-card:hover .menu-card-img {
    transform: scale(1.08);
}
.menu-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
}

/* --- Category Filter Buttons --- */
.cat-filter-btn {
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    border: 1px solid var(--border-subtle);
    background: var(--bg-dark-2);
    color: var(--text-muted);
}
.cat-filter-btn:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}
.cat-filter-btn.active {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: #111;
    border-color: var(--gold-primary);
    font-weight: 700;
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* --- Dietary Filter Buttons Highlight --- */
.diet-filter-btn {
    cursor: pointer;
    transition: var(--transition-smooth);
}
.diet-filter-btn.active[data-diet="all"] {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%) !important;
    color: #111 !important;
    border-color: var(--gold-primary) !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px var(--gold-glow) !important;
}
.diet-filter-btn.active[data-diet="veg"] {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: #22c55e !important;
    color: #4ade80 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.35) !important;
}
.diet-filter-btn.active[data-diet="nonveg"] {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.35) !important;
}
.diet-filter-btn.active[data-diet="premium"] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #000 !important;
    border-color: #f59e0b !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
}

/* --- Cart Drawer --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-dark-1);
    z-index: 2500;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.85);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.38s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-glass);
    visibility: hidden;
    pointer-events: none;
}
.cart-drawer.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* --- Floating Actions & Badges --- */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}
.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
}
.floating-btn.whatsapp {
    background: #25D366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.floating-btn.whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}
.floating-btn.cart {
    background: var(--gold-primary);
    color: #111;
    box-shadow: 0 8px 25px var(--gold-glow);
    position: relative;
}
.floating-btn.cart:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.55);
}
.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e53e3e;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark-1);
}

/* --- Mobile Bottom Nav Bar --- */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: var(--bg-dark-1);
    border-top: 1px solid var(--border-glass);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 1900;
    backdrop-filter: blur(15px);
    padding: 0 0.5rem;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    padding: 0.25rem 0.5rem;
}
.mobile-nav-item i {
    font-size: 1.15rem;
}
.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--gold-primary);
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
    .floating-actions {
        bottom: 80px;
        right: 18px;
    }
}

/* --- Printable Brochure Menu Card --- */
.brochure-card {
    background: #111111;
    border: 2px solid var(--gold-primary);
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: var(--shadow-luxury);
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    color: white;
}
.brochure-inner-border {
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 2.5rem;
    border-radius: 8px;
}
.brochure-item-lead-dots {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(255, 255, 255, 0.25);
    margin: 0 0.75rem 0.3rem;
}

@media print {
    body * {
        visibility: hidden !important;
    }
    #printableBrochure, #printableBrochure * {
        visibility: visible !important;
    }
    #printableBrochure {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        color: #111111 !important;
        padding: 20px !important;
        box-shadow: none !important;
        border: 3px double #aa8214 !important;
    }
    .brochure-inner-border {
        border: 1px solid #333333 !important;
        padding: 15px !important;
    }
    .brochure-card .gold-gradient-text,
    .brochure-card .text-gold {
        color: #aa8214 !important;
        -webkit-text-fill-color: #aa8214 !important;
    }
    .brochure-item-lead-dots {
        border-bottom: 2px dotted #777777 !important;
    }
    .btn-print, .header, .footer, .hero, .floating-actions, .mobile-bottom-bar {
        display: none !important;
    }
}

/* --- Toast Notifications --- */
#toastContainer {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast-msg {
    background: var(--bg-dark-1);
    color: var(--text-light-0);
    border: 1px solid var(--gold-primary);
    padding: 0.9rem 1.4rem;
    border-radius: 10px;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    pointer-events: auto;
    animation: toastSlideIn 0.35s ease forwards;
}
@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   ZOMATO / SWIGGY / BLINKIT STYLE MAP CENTER POINTER & PICKER STYLES
   ========================================================================== */
.map-center-pin-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    pointer-events: none;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pin-speech-bubble {
    background: #111114;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--gold-primary);
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    margin-bottom: 5px;
    position: relative;
    letter-spacing: 0.3px;
}
.pin-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: var(--gold-primary) transparent transparent transparent;
}

.pin-icon-body {
    font-size: 40px;
    color: #e53e3e;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
    transition: transform 0.2s ease, color 0.2s ease;
    line-height: 1;
}

.pin-pulse-shadow {
    width: 16px;
    height: 7px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    margin-top: -4px;
    filter: blur(1.5px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Lifting animation when map is dragged (like Swiggy & Blinkit) */
.map-center-pin-wrapper.lifting {
    transform: translate(-50%, -130%);
}
.map-center-pin-wrapper.lifting .pin-icon-body {
    transform: scale(1.18);
    color: var(--gold-primary);
}
.map-center-pin-wrapper.lifting .pin-pulse-shadow {
    transform: scale(0.5);
    opacity: 0.25;
}

/* Leaflet dark custom theme */
.leaflet-container {
    background: #141416 !important;
    font-family: inherit !important;
}
.leaflet-bar {
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}
.leaflet-bar a {
    background-color: #1a1a1e !important;
    color: #d4af37 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease !important;
}
.leaflet-bar a:hover {
    background-color: #282830 !important;
    color: #ffffff !important;
}
.leaflet-control-attribution {
    background: rgba(15, 15, 18, 0.8) !important;
    color: #777 !important;
    font-size: 10px !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
}
.leaflet-control-attribution a {
    color: #aaa !important;
    text-decoration: none !important;
}

/* Locate on map button */
.btn-locate-map {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.04) 100%);
    border: 1.5px dashed rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}
.btn-locate-map:hover {
    border-style: solid;
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}

/* Multi-device responsiveness improvements */
@media (max-width: 640px) {
    .cart-drawer {
        max-width: 100%;
        border-left: none;
    }
    #mapLocationModal .relative.z-10 {
        border-radius: 0;
        height: 100%;
    }
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    /* Tablet optimizations */
    .menu-card-img-container {
        height: 200px;
    }
    .brochure-card {
        padding: 2rem;
    }
    .brochure-inner-border {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   CUTE FLYING DISH & MINI CART TOAST (NON-BLOCKING CART EXPERIENCE)
   ========================================================================== */
.cute-flying-dish {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: visible;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6), 0 0 15px rgba(255, 215, 0, 0.7);
    transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.65s ease;
}

.cute-flying-dish img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cute-flying-dish .sparkle-star {
    position: absolute;
    top: -8px;
    right: -8px;
    color: #ffd700;
    font-size: 18px;
    animation: sparkleSpin 0.65s linear infinite;
    filter: drop-shadow(0 0 6px #ffd700);
}

@keyframes sparkleSpin {
    0% { transform: rotate(0deg) scale(0.8); }
    50% { transform: rotate(180deg) scale(1.3); }
    100% { transform: rotate(360deg) scale(0.8); }
}

@keyframes cartWobbleBounce {
    0% { transform: scale(1); }
    20% { transform: scale(1.35) rotate(-10deg); filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.9)); }
    40% { transform: scale(0.9) rotate(8deg); }
    60% { transform: scale(1.18) rotate(-4deg); }
    80% { transform: scale(0.98) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.cart-wobble-bounce {
    animation: cartWobbleBounce 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Floating Mini-Cart Toast / Pill Bar at Bottom */
.mini-cart-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    z-index: 1950;
    min-width: 300px;
    max-width: calc(100vw - 32px);
    background: rgba(18, 18, 22, 0.94);
    backdrop-filter: blur(25px) saturate(190%);
    -webkit-backdrop-filter: blur(25px) saturate(190%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50px;
    padding: 8px 14px 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.25);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.mini-cart-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

@media (max-width: 768px) {
    .mini-cart-toast {
        bottom: 74px;
        width: calc(100vw - 28px);
        max-width: 420px;
    }
    .floating-actions {
        display: none !important;
    }
}

/* ==========================================================================
   LIQUID GLASS & LUXURY GOLD SPARKLE EFFECTS
   ========================================================================== */
.liquid-glass,
header.sticky,
.cart-drawer,
#mapLocationModal .relative.z-10,
#orderTrackingModal .relative.z-10 {
    background: rgba(15, 15, 18, 0.85) !important;
    backdrop-filter: blur(25px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(190%) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

/* Gold Sparkle Shimmer Animation */
@keyframes goldSparkleShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.gold-sparkle-shine {
    position: relative;
    overflow: hidden;
}
.gold-sparkle-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 235, 150, 0.35) 50%,
        transparent 70%
    );
    transform: rotate(30deg);
    animation: goldSparkleShimmer 4s infinite linear;
    pointer-events: none;
}

.btn-gold {
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.6s;
    pointer-events: none;
}
.btn-gold:hover::after {
    left: 140%;
}

/* Quick Area Pills styling */
.quick-area-pill {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.quick-area-pill:hover,
.quick-area-pill.active {
    background: linear-gradient(135deg, #f3c05b 0%, #d4af37 100%) !important;
    color: #111111 !important;
    font-weight: 700 !important;
    border-color: #ffd700 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* ==========================================================================
   DYNAMIC DISH QUANTITY SELECTOR ([-] QTY [+])
   ========================================================================== */
.menu-qty-selector {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 9999px;
    padding: 3px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.15);
    transition: all 0.25s ease;
}
.menu-qty-selector:hover {
    border-color: #ffd700;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}
.qty-btn-minus, .qty-btn-plus {
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s ease;
}
.qty-btn-minus:active, .qty-btn-plus:active {
    transform: scale(0.85);
}

/* ==========================================================================
   OTP DIGIT INPUTS & FREE VERIFICATION MODAL
   ========================================================================== */
.otp-digit-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-family: 'Cinzel', monospace, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    background: rgba(18, 18, 22, 0.95);
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
.otp-digit-input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.otp-digit-input.filled {
    border-color: rgba(212, 175, 55, 0.8);
    background: rgba(30, 26, 15, 0.9);
}

/* Shake animation for invalid OTP or wrong input */
@keyframes shakeElement {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.shake {
    animation: shakeElement 0.4s ease-in-out;
}

/* ==========================================================================
   CART ADDRESS AUTOCOMPLETE & LANDMARK SUGGESTIONS
   ========================================================================== */
#cartAddressSuggestions {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}
#cartAddressSuggestions::-webkit-scrollbar {
    width: 6px;
}
#cartAddressSuggestions::-webkit-scrollbar-thumb {
    background-color: rgba(212, 175, 55, 0.4);
    border-radius: 4px;
}

.cart-suggest-item {
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cart-suggest-item:last-child {
    border-bottom: none;
}
.cart-suggest-item:hover {
    background: rgba(212, 175, 55, 0.15);
    padding-left: 18px;
}
.cart-suggest-item:hover .suggest-icon {
    color: #ffd700;
    transform: scale(1.15);
}

/* ==========================================================================
   MY ORDERS MODAL & LIVE RUNNING ORDER CARD
   ========================================================================== */
.live-order-glow {
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.5);
    animation: liveOrderPulse 2.5s infinite;
}
@keyframes liveOrderPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.2), inset 0 0 10px rgba(212, 175, 55, 0.05);
    }
    50% {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.45), inset 0 0 15px rgba(212, 175, 55, 0.12);
    }
}

.history-order-card {
    background: rgba(22, 22, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.25s ease;
}
.history-order-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(28, 28, 34, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   SPARKLING GOLD & ULTRA-PREMIUM LUXURY DESIGN SYSTEM
   ========================================================================== */
.sparkle-gold-text {
    background: linear-gradient(135deg, #fff5be 0%, #fce899 20%, #d4af37 50%, #aa8214 75%, #ffe08a 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmerMove 4s ease-in-out infinite alternate;
}

@keyframes goldShimmerMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Metallic Golden Card Borders with Subtle Glow */
.menu-card {
    position: relative;
    background: #141418;
    border: 1px solid rgba(212, 175, 55, 0.16);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.18);
}
.menu-card .menu-card-img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-card:hover .menu-card-img {
    transform: scale(1.06);
}

/* Category Filter Pills Polish */
.cat-filter-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #b0b0b8;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}
.cat-filter-btn:hover {
    color: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.08);
}
.cat-filter-btn.active {
    background: linear-gradient(135deg, #fce899 0%, #d4af37 50%, #b8911d 100%);
    color: #0b0b0d !important;
    border-color: #ffd700;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}

/* Global Gold Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0c;
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.35);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
}

/* Custom Thin Scrollbar for Modals & Containers */
.scrollbar-thin::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
.scrollbar-thin::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 6px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.7);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE PHONE OPTIMIZATION SUITE (<640px & <480px)
   ========================================================================== */
@media (max-width: 640px) {
    /* Touch target and button sizing */
    .btn-gold, .btn-outline-gold {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    /* Hero Title dynamic fluid scaling */
    .hero-title, h1 {
        font-size: clamp(1.85rem, 7vw, 2.75rem) !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px;
    }

    /* Menu Cards on Mobile */
    .menu-card {
        border-radius: 14px;
        margin-bottom: 0.5rem;
    }
    .menu-card-img-container {
        height: 190px;
    }

    /* Category Filter Pills on Mobile - Smooth Horizontal Touch Scroll */
    #categoryFiltersContainer {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    #categoryFiltersContainer::-webkit-scrollbar {
        display: none;
    }
    .category-filter-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 0.45rem 0.95rem;
        font-size: 0.8rem;
    }

    /* Modals on Mobile: Perfectly Centered and Fluid */
    #customerOrderTrackerModal > div:nth-child(2),
    #myOrdersModal > div:nth-child(2),
    #authModal > div:nth-child(2),
    #mobileVerificationModal > div:nth-child(2),
    #cartLocationPickerModal > div:nth-child(2) {
        width: calc(100vw - 1.25rem) !important;
        max-width: 100% !important;
        max-height: 90vh !important;
        margin: 0.5rem auto !important;
        padding: 1.15rem !important;
        border-radius: 16px !important;
    }

    /* Prevent iOS Safari 16px auto-zoom on input focus */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="password"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
        font-size: 16px !important;
        min-height: 46px;
    }

    /* Floating Actions on Mobile (Tucked neatly above bottom bar) */
    .floating-actions {
        bottom: 74px !important;
        right: 14px !important;
        gap: 8px !important;
    }
    .floating-btn {
        width: 48px !important;
        height: 48px !important;
        font-size: 1.2rem !important;
    }

    /* Bottom Nav Bar safe area for modern iPhones (Home Indicator) */
    .mobile-bottom-bar {
        padding-bottom: env(safe-area-inset-bottom, 0);
        height: calc(58px + env(safe-area-inset-bottom, 0));
    }
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
    }

    /* Glass Panels on small phones */
    .glass-panel {
        padding: 1.15rem;
        border-radius: 14px;
    }

    /* Reservation form on mobile */
    #reservationForm {
        padding: 1.25rem !important;
    }
}


