/* ==========================================================================
   Food Corner Nepal — Premium UI/UX Pro Max Design System
   Dual Theme (Dark Luxury / Warm Light), Bento Grids, Frosted Glass & Micro-interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Light Theme (Clean Neutral Slate & Crisp White Surfaces) */
    --bg-canvas: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-surface-frosted: rgba(255, 255, 255, 0.92);
    --border-subtle: #e2e8f0;
    --border-card: #e2e8f0;
    --border-focus: #e11d48;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    /* High-End Appetizing Brand Accents */
    --brand-primary: #e11d48;
    --brand-primary-hover: #be123c;
    --brand-primary-tint: #fff1f2;
    --brand-primary-border: #fecdd3;
    --brand-secondary: #f43f5e;
    --brand-gradient: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    --brand-glow: 0 8px 22px -4px rgba(225, 29, 72, 0.28);

    --accent-amber: #d97706;
    --accent-amber-light: #fffbeb;
    --accent-green: #059669;
    --accent-green-light: #ecfdf5;
    --accent-blue: #2563eb;
    --accent-blue-light: #eff6ff;
    --accent-purple: #7c3aed;
    --accent-purple-light: #faf5ff;

    /* Multi-tier Ambient Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-pill: 9999px;

    /* Aliases for legacy & utility classes */
    --brand: #e11d48;
    --brand-dark: #be123c;
    --brand-light: #fff1f2;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --bg: #f8fafc;
}

[data-theme="dark"] {
    --bg-canvas: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-surface-frosted: rgba(255, 255, 255, 0.92);
    --border-subtle: #e2e8f0;
    --border-card: #e2e8f0;
    --border-focus: #e11d48;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    --brand-primary: #e11d48;
    --brand-secondary: #f43f5e;
    --brand-gradient: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%);
    --brand-glow: 0 8px 22px -4px rgba(225, 29, 72, 0.28);

    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.12);

    --surface: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --bg: #f8fafc;
}

/* Global Transitions & Clean Minimalist Canvas */
body {
    background-color: var(--bg-canvas);
    background-image: radial-gradient(rgba(148, 163, 184, 0.15) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
    overflow-x: hidden;
}

[data-theme="dark"] body {
    background-color: var(--bg-canvas);
    background-image: radial-gradient(rgba(148, 163, 184, 0.15) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

/* Frosted Glassmorphism Utility */
.glass-panel {
    background: var(--bg-surface-frosted);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Navigation Bar (Frosted Floating Glassmorphism Aesthetic)
   ========================================================================== */
.navbar-modern {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}
[data-theme="dark"] .navbar-modern {
    background: rgba(9, 13, 22, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}
.nav-brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 175px;
}
@media (min-width: 576px) {
    .nav-brand-text {
        max-width: none;
    }
}
.nav-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--brand-glow);
}
.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-pill-link {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.nav-pill-link:hover, .nav-pill-link.active {
    color: var(--text-primary);
    background: var(--border-subtle);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Navigation Icon / Hamburger Button */
.nav-icon-btn,
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}
.nav-icon-btn:hover,
.theme-toggle-btn:hover {
    transform: scale(1.05);
    border-color: var(--brand-primary);
}

/* Cart Trigger Pill */
.cart-trigger-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-gradient);
    color: white;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--brand-glow);
    transition: transform 0.2s ease;
}
.cart-trigger-pill:hover {
    transform: translateY(-2px);
}
.cart-badge-count {
    background: white;
    color: var(--brand-primary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* ==========================================================================
   Bento Grid Layout (Homepage Showcase)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}
.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(225, 29, 72, 0.3);
}

.bento-hero {
    grid-column: span 7;
    background: linear-gradient(135deg, rgba(225, 29, 72,0.08) 0%, rgba(245,158,11,0.06) 100%), var(--bg-surface);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}
.bento-chef-pick {
    grid-column: span 5;
    background: var(--bg-surface-elevated);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-dispatch {
    grid-column: span 4;
}
.bento-rewards {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(168,85,247,0.04) 100%), var(--bg-surface);
}
.bento-hygiene {
    grid-column: span 4;
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(5,150,105,0.04) 100%), var(--bg-surface);
}

@media (max-width: 992px) {
    .bento-hero { grid-column: span 12; }
    .bento-chef-pick { grid-column: span 12; }
    .bento-dispatch { grid-column: span 6; }
    .bento-rewards { grid-column: span 6; }
    .bento-hygiene { grid-column: span 12; }
}
@media (max-width: 640px) {
    .bento-dispatch { grid-column: span 12; }
    .bento-rewards { grid-column: span 12; }
    .bento-card { padding: 22px; }
}

/* Live Operational Kitchen Status Chip */
.live-kitchen-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    width: fit-content;
}
.radar-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: radar-pulse 1.8s infinite;
}
@keyframes radar-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Food Cards & Menu Grid
   ========================================================================== */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}
.food-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.food-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(225, 29, 72, 0.25);
}

.food-card-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 65%; /* 16:10 aspect */
    overflow: hidden;
    background: var(--bg-canvas);
    cursor: pointer;
}
.food-card-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.food-card:hover .food-card-img-wrap img {
    transform: scale(1.06);
}

/* Dietary & Tag Pills */
.diet-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}
.diet-pill.veg { color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.diet-pill.nonveg { color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

.badge-featured-pick {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--brand-gradient);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
    z-index: 2;
}

.food-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.food-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    cursor: pointer;
    transition: color 0.2s;
}
.food-title:hover {
    color: var(--brand-primary);
}
.food-desc {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.food-meta-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.meta-chip {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--border-subtle);
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.food-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-card);
}
.food-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

/* In-Card Quantity Stepper Button */
.btn-card-add {
    background: var(--bg-surface-elevated);
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-card-add:hover {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--brand-glow);
}

.card-stepper-active {
    display: inline-flex;
    align-items: center;
    background: var(--brand-gradient);
    color: white;
    border-radius: var(--radius-pill);
    padding: 3px 6px;
    box-shadow: var(--brand-glow);
}
.card-stepper-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.card-stepper-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}
.card-stepper-val {
    padding: 0 10px;
    font-weight: 800;
    font-size: 0.95rem;
    min-width: 24px;
    text-align: center;
}

/* ==========================================================================
   Sticky Category Navigation with Scrollspy
   ========================================================================== */
.sticky-cat-nav {
    position: sticky;
    top: 64px;
    z-index: 900;
    background: var(--bg-surface-frosted);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    margin-bottom: 25px;
}
.cat-scroll-track {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}
.cat-scroll-track::-webkit-scrollbar { display: none; }

.cat-pill {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cat-pill:hover, .cat-pill.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    box-shadow: var(--brand-glow);
}

/* ==========================================================================
   Interactive Split-Pane Customization Modal
   ========================================================================== */
.modal-split-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-split-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-split-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: grid;
    grid-template-columns: 5fr 7fr;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-split-overlay.active .modal-split-card {
    transform: scale(1);
}

.modal-split-media {
    position: relative;
    background: #000;
    min-height: 350px;
}
.modal-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-split-content {
    padding: 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .modal-split-card {
        grid-template-columns: 1fr;
        max-height: 92vh;
        border-radius: 24px 24px 0 0;
        align-self: flex-end;
    }
    .modal-split-media {
        height: 200px;
        min-height: 200px;
    }
}

/* Spice Level Selector */
.spice-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}
.spice-option {
    flex: 1;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    text-align: center;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.2s;
}
.spice-option.selected {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Free Delivery Threshold Meter */
.free-delivery-meter {
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 16px;
}
.meter-track {
    width: 100%;
    height: 7px;
    border-radius: 99px;
    background: var(--border-subtle);
    overflow: hidden;
    margin-top: 8px;
}
.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    border-radius: 99px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Floating Sticky Cart Pill
   ========================================================================== */
.floating-cart-pill {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--brand-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 16px 36px rgba(225, 29, 72, 0.45);
    z-index: 9500;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.floating-cart-pill.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}
.floating-cart-pill:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 20px 42px rgba(225, 29, 72, 0.55);
}

/* Confetti Helper Animation */
@keyframes pop-bounce {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.pop-bounce {
    animation: pop-bounce 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   App-like Bottom Navigation Dock (Native Mobile Vibe)
   ========================================================================== */
.app-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bg-surface-frosted);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-card);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    z-index: 9400;
    justify-content: space-around;
    align-items: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 991px) {
    .app-bottom-nav {
        display: flex;
    }
    main {
        padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
    }
    body.has-floating-cart main {
        padding-bottom: calc(145px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .floating-cart-pill {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

.app-bottom-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100%;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    position: relative;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    transition: color 0.2s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.app-bottom-tab:active {
    transform: scale(0.92);
}

.app-bottom-tab i {
    font-size: 1.18rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.app-bottom-tab.active {
    color: var(--brand-primary);
}

.app-bottom-tab.active i {
    transform: translateY(-1px);
    color: var(--brand-primary);
}

.app-bottom-tab.active::after {
    content: '';
    position: absolute;
    top: 4px;
    width: 20px;
    height: 3px;
    background: var(--brand-primary);
    border-radius: 999px;
}

/* Center Highlight Cart Tab */
.app-bottom-tab.tab-cart-highlight .tab-cart-circle {
    width: 44px;
    height: 44px;
    background: var(--brand-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.45);
    margin-top: -16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.app-bottom-tab.tab-cart-highlight:active .tab-cart-circle {
    transform: scale(0.92);
}

.app-bottom-tab.tab-cart-highlight i {
    font-size: 1.15rem;
    color: #ffffff !important;
}

.app-bottom-tab.tab-cart-highlight span.tab-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 2px;
}

/* Tab Badge Counters */
.app-nav-badge {
    position: absolute;
    top: -3px;
    right: -6px;
    background: #e11d48;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
}

.app-pulse-dot {
    position: absolute;
    top: 6px;
    right: calc(50% - 14px);
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: radarPulse 1.8s infinite;
}

/* ==========================================================================
   Form Controls, Inputs, and Card Enhancements (Dual Theme Compatible)
   ========================================================================== */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-control, input[type="text"], input[type="number"], input[type="email"], input[type="tel"], textarea, select, .form-select {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.form-control:focus, input:focus, textarea:focus, select:focus, .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

/* Horizontal Cart Drawer Quantity Steppers */
.cart-drawer-stepper {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    background: var(--bg-canvas);
    border: 1.5px solid #cbd5e1;
    border-radius: 999px;
    padding: 3px 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}
.cart-drawer-stepper-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.cart-drawer-stepper-btn:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: scale(1.1);
}
.cart-drawer-stepper-btn:active {
    transform: scale(0.92);
}
.cart-drawer-stepper-val {
    font-weight: 800;
    font-size: 0.95rem;
    min-width: 22px;
    text-align: center;
    color: var(--text-primary);
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Order Tracking Wizard Polish */
.track-step-active {
    background: var(--brand-gradient);
    color: white;
    box-shadow: var(--brand-glow);
}
.pulse-radar-active {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    animation: radar-pulse 1.8s infinite;
}

/* Cart Overlay & Drawer Animation */
.cart-overlay,
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-overlay.active,
.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(440px, 100vw);
    background: var(--bg-surface);
    color: var(--text-primary);
    border-left: 1px solid var(--border-subtle);
    z-index: 99995;
    transform: translateX(100%);
    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.cart-drawer.active {
    transform: translateX(0);
}
.cart-drawer-header {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
}
[data-theme="dark"] .cart-drawer-header {
    background: rgba(17, 24, 39, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cart-drawer-close {
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer-close:hover {
    background: #fee2e2;
    color: var(--brand-primary);
    border-color: #fca5a5;
    transform: rotate(90deg) scale(1.05);
}
.cart-drawer-meter {
    padding: 12px 22px 4px 22px;
}
.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 22px;
    scrollbar-width: thin;
}
.cart-drawer-footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    border-top: 1px solid var(--border-subtle);
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .cart-drawer-footer {
    background: rgba(17, 24, 39, 0.88);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Mobile Navigation Drawer
   ========================================================================== */
@media (max-width: 992px) {
    .nav-links-desktop {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        background: var(--bg-surface-frosted);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        box-shadow: var(--shadow-xl);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    .nav-links-desktop.active,
    .nav-links-desktop.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-pill-link {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   Modern Checkout Layout & Interactive Components
   ========================================================================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 28px;
    align-items: start;
}
@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-section-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.checkout-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}
.checkout-card-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}
.checkout-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--brand-glow);
}

/* Zone Selection Radio Cards */
.zone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}
.zone-radio-card {
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    user-select: none;
}
.zone-radio-card:hover {
    border-color: rgba(225, 29, 72, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.zone-radio-card.active,
.zone-radio-card:has(input:checked) {
    border-color: var(--brand-primary);
    background: rgba(225, 29, 72, 0.05);
    box-shadow: 0 0 0 1px var(--brand-primary), var(--shadow-sm);
}
.zone-radio-card input[type="radio"] {
    position: absolute;
    top: 14px;
    right: 14px;
    accent-color: var(--brand-primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Payment Method Cards */
.payment-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.payment-card {
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    position: relative;
}
.payment-card:hover {
    border-color: rgba(225, 29, 72, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.payment-card.active,
.payment-card:has(input:checked) {
    border-color: var(--brand-primary);
    background: rgba(225, 29, 72, 0.04);
    box-shadow: 0 0 0 1px var(--brand-primary);
}
.payment-card.esewa-card:has(input:checked) {
    border-color: #60bb46;
    background: rgba(96, 187, 70, 0.06);
    box-shadow: 0 0 0 1px #60bb46;
}
.payment-card.khalti-card:has(input:checked) {
    border-color: #5d2e8e;
    background: rgba(93, 46, 142, 0.06);
    box-shadow: 0 0 0 1px #5d2e8e;
}
.payment-card input[type="radio"] {
    accent-color: var(--brand-primary);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Instruction Chips */
.instruction-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.instruction-chip {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.instruction-chip:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transform: scale(1.04);
}

/* GPS Locked Badge */
.gps-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Loyalty Points Golden Card */
.loyalty-reward-card {
    background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(217,119,6,0.05) 100%);
    border: 1.5px dashed rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Sticky Summary Card */
.checkout-summary-sticky {
    position: sticky;
    top: 90px;
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

/* Line Item Row in Checkout Summary */
.checkout-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.92rem;
}
.checkout-item-qty-pill {
    background: var(--border-subtle);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 2px 7px;
    border-radius: 6px;
    margin-right: 8px;
}

/* ==========================================================================
   Order Tracking Progress Wizard & Driver Card
   ========================================================================== */
.track-wizard-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 30px 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.track-wizard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    padding: 10px 0;
}
.track-wizard-line {
    position: absolute;
    top: 32px;
    left: 12%;
    right: 12%;
    height: 4px;
    background: var(--border-subtle);
    z-index: 1;
    border-radius: 99px;
}
.track-wizard-line-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, var(--brand-primary) 100%);
    border-radius: 99px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.track-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}
.track-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 2px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.track-step-item.completed .track-step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.track-step-item.active .track-step-circle {
    background: var(--brand-gradient);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.2), var(--brand-glow);
    animation: radar-pulse 1.8s infinite;
}
.track-step-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.track-step-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .track-step-title { font-size: 0.78rem; }
    .track-step-desc { display: none; }
    .track-step-circle { width: 40px; height: 40px; font-size: 1rem; }
    .track-wizard-line { top: 28px; }
}

/* Driver / Rider Card Luxury */
.driver-card-luxury {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-left: 5px solid #3b82f6;
    border-radius: var(--radius-xl);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.driver-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.driver-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.driver-btn-call {
    background: #eff6ff;
    color: #2563eb;
    border: 1.5px solid #bfdbfe;
}
.driver-btn-call:hover {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.driver-btn-whatsapp {
    background: #ecfdf5;
    color: #059669;
    border: 1.5px solid #a7f3d0;
}
.driver-btn-whatsapp:hover {
    background: #059669;
    color: white;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

/* Map Frame */
.map-frame-luxury {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-md);
    height: 340px;
    width: 100%;
}

/* ==========================================================================
   Modern Luxury Footer
   ========================================================================== */
.footer-luxury {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0 30px;
    color: var(--text-secondary);
    margin-top: 60px;
}
.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    font-size: 1.05rem;
}
.footer-social-btn:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--brand-glow);
}
.footer-link-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 4px 0;
}
.footer-link-item:hover {
    color: var(--brand-primary);
    transform: translateX(4px);
}

/* ==========================================================================
   UI/UX Pro Max — Modern Food Cards, Modal, Category Pills & Smooth Animations
   ========================================================================== */

/* Category Pills Bar (Smooth App-like Scrolling) */
.category-pills-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    max-width: 100%;
    padding: 6px 2px 8px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.category-pills-container::-webkit-scrollbar {
    display: none;
}

.category-pill {
    white-space: nowrap;
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-surface);
    color: var(--text-secondary);
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    outline: none;
}

.category-pill:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.15);
}

.category-pill:active {
    transform: scale(0.95);
}

.category-pill.active {
    background: var(--brand-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
    transform: translateY(-1px);
}

/* Food Card Premium (Sleek Hover Float & Multi-tier Shadow Expansion) */
.food-card-premium {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    will-change: transform, box-shadow;
    width: 100%;
}

@media (min-width: 992px) {
    .food-card-premium {
        max-width: 280px;
        margin: 0 auto;
    }
}

.food-card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(225, 29, 72, 0.08);
    border-color: #fecdd3;
}

[data-theme="dark"] .food-card-premium:hover {
    box-shadow: 0 14px 32px -4px rgba(15, 23, 42, 0.08);
    border-color: #fecdd3;
}

.food-card-premium:active {
    transform: scale(0.99);
}

.food-card-premium .card-media,
.food-card-premium .food-card-media {
    position: relative;
    height: 155px;
    max-height: 155px;
    overflow: hidden;
    background: #0f172a;
    border-radius: var(--radius-xl, 18px) var(--radius-xl, 18px) 0 0;
}

.food-card-premium .card-media img,
.food-card-premium .food-card-media img {
    width: 100%;
    height: 100%;
    max-height: 155px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.food-card-premium:hover .card-media img,
.food-card-premium:hover .food-card-media img {
    transform: scale(1.08);
}

.food-card-premium .food-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.food-card-premium .food-card-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-card-premium .food-card-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.15rem;
}

.food-card-premium .food-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--border-subtle);
}

.food-card-premium .price-current {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--brand-primary);
}

.food-card-premium .btn-card-cta {
    background: var(--brand-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 6px 14px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.food-card-premium:hover .btn-card-cta {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
}

.food-card-premium .btn-card-cta:active {
    transform: scale(0.95);
}

/* ==========================================================================
   Chef's Bestsellers & Signature Showcase Grid
   ========================================================================== */
#bestsellers-showcase {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

#bestsellers-showcase .container {
    max-width: 1280px;
}

.bestsellers-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.bestsellers-header-content {
    flex: 1 1 500px;
    max-width: 720px;
}

.bestsellers-sub-text {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.bestsellers-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-kitchen-shift {
    background: rgba(225, 29, 72, 0.08);
    border: 1px solid rgba(225, 29, 72, 0.2);
    color: var(--brand-primary);
    font-weight: 800;
    font-size: 0.84rem;
    padding: 8px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-bestsellers-menu {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 0.84rem;
    padding: 8px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-bestsellers-menu:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.15);
}

.bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    width: 100%;
}

@media (max-width: 1199.98px) {
    .bestsellers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 860px) {
    .bestsellers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 520px) {
    .bestsellers-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.bestsellers-grid .food-card-premium {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 1.5px solid var(--border-card);
    background: var(--bg-surface);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bestsellers-grid .food-card-premium:hover {
    transform: translateY(-5px);
    border-color: #fecdd3;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.1), 0 0 0 1px #fda4af;
}

.bestsellers-grid .food-card-premium .card-media {
    position: relative;
    height: 175px;
    overflow: hidden;
    background: #1e293b;
}

.bestsellers-grid .food-card-premium .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.bestsellers-grid .food-card-premium:hover .card-media img {
    transform: scale(1.06);
}

.culinary-fallback-media {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.culinary-fallback-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(225, 29, 72, 0.35) 0%, transparent 70%);
}

.culinary-fallback-emoji {
    font-size: 3.2rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
    transition: transform 0.35s ease;
}

.bestsellers-grid .food-card-premium:hover .culinary-fallback-emoji {
    transform: scale(1.15) rotate(6deg);
}

.culinary-fallback-tag {
    position: relative;
    z-index: 2;
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-rating-badge {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-signature-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-card-soldout {
    background: #94a3b8 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.75;
}

/* Product Detail Modal (Spring Physics Entrance & Exit - Apple/Linear Design) */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 29, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-modal-card {
    background: var(--bg-surface);
    width: 100%;
    max-width: 640px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 40px -10px rgba(225, 29, 72, 0.18);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.92) translateY(24px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-overlay.active .product-modal-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(225, 29, 72, 0.95);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.5);
}

.modal-close-btn:active {
    transform: rotate(90deg) scale(0.92);
}

/* Spice Selector Buttons (Tactile Cards & Flame Wiggle) */
.spice-btn {
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-canvas);
    border-radius: 14px;
    padding: 12px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    outline: none;
}

.spice-btn:hover {
    transform: translateY(-3px);
    border-color: var(--brand-primary);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.15);
}

.spice-btn:active {
    transform: scale(0.93);
}

.spice-btn.active {
    border-color: var(--brand-primary);
    background: rgba(225, 29, 72, 0.08);
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.25), 0 6px 18px rgba(225, 29, 72, 0.15);
    transform: scale(1.04);
}

.spice-btn .spice-icon {
    font-size: 1.25rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.spice-btn.active .spice-icon {
    animation: flameWiggle 0.6s ease-in-out;
}

/* Custom Addon Option Rows */
.addon-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1.5px solid var(--border-subtle);
    margin-bottom: 8px;
    cursor: pointer;
    background: var(--bg-canvas);
    font-size: 0.88rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.addon-option-row:hover {
    border-color: var(--brand-primary);
    transform: translateX(3px);
    background: var(--bg-surface);
}

.addon-option-row.selected {
    border-color: var(--brand-primary);
    background: rgba(225, 29, 72, 0.06);
    box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.15);
}

/* Modal Stepper Buttons */
.modal-stepper-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--border-subtle);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-stepper-btn:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: scale(1.1);
}

.modal-stepper-btn:active {
    transform: scale(0.9);
}

.modal-qty-val {
    font-weight: 800;
    font-size: 1.15rem;
    min-width: 24px;
    text-align: center;
    color: var(--text-primary);
    transition: transform 0.15s ease;
}

/* Modal Add To Order CTA Button */
.btn-modal-add-order {
    flex: 1;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 900;
    padding: 14px 22px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #e11d48 0%, #d90429 50%, #ff4d6d 100%);
    background-size: 200% auto;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-modal-add-order:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.55);
}

.btn-modal-add-order:active {
    transform: scale(0.97);
}

.btn-modal-add-order::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(30deg) translateY(-100%);
    transition: transform 0.75s ease-in-out;
}

.btn-modal-add-order:hover::after {
    transform: rotate(30deg) translateY(100%);
}

/* ==========================================================================
   High-Contrast Global Button Rules & Checkout Polish
   ========================================================================== */
.btn-primary,
.btn-checkout {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #e11d48 !important;
    background-image: linear-gradient(135deg, #e11d48 0%, #d90429 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border: 1px solid #c92a37 !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    user-select: none !important;
}

.btn-primary:hover,
.btn-checkout:hover {
    background-color: #c92a37 !important;
    background-image: linear-gradient(135deg, #c92a37 0%, #b00020 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45) !important;
    transform: translateY(-2px) !important;
}

.btn-primary:focus,
.btn-primary:focus-visible,
.btn-checkout:focus,
.btn-checkout:focus-visible {
    outline: 3px solid rgba(225, 29, 72, 0.5) !important;
    outline-offset: 2px !important;
    color: #ffffff !important;
}

.btn-primary:active,
.btn-checkout:active {
    transform: translateY(0) scale(0.98) !important;
    background-color: #b00020 !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3) !important;
}

.btn-primary:disabled,
.btn-primary[disabled],
.btn-checkout:disabled,
.btn-checkout[disabled] {
    background-color: #94a3b8 !important;
    background-image: none !important;
    border-color: #94a3b8 !important;
    color: #ffffff !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Mobile-App-Like UI/UX Pro Max Architecture (DoorDash/Zomato Grade)
   ========================================================================== */

/* Dietary Indicator Badges (Official Food App Standard) */
.diet-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    flex-shrink: 0;
}
.diet-indicator.diet-veg {
    border: 1.5px solid #16a34a;
}
.diet-indicator.diet-veg .diet-dot {
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
}
.diet-indicator.diet-nonveg {
    border: 1.5px solid #dc2626;
}
.diet-indicator.diet-nonveg .diet-dot {
    width: 7px;
    height: 7px;
    background: #dc2626;
    border-radius: 50%;
}
.diet-indicator.diet-egg {
    border: 1.5px solid #d97706;
}
.diet-indicator.diet-egg .diet-dot {
    width: 7px;
    height: 7px;
    background: #d97706;
    border-radius: 50%;
}
.diet-indicator.diet-drink {
    border: 1.5px solid #0284c7;
    color: #0284c7;
    font-size: 0.65rem;
}

/* Mobile App Top Location Pill */
.app-location-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.app-location-chip:hover {
    background: rgba(15, 23, 42, 0.08);
}
.app-kitchen-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
    display: inline-block;
}

/* Category Pills Horizontal Scroll Carousel */
.category-pills-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 6px 2px;
    min-width: 0;
    width: 100%;
}
.category-pills-bar::-webkit-scrollbar {
    display: none;
}
.category-tab-btn {
    white-space: nowrap;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.category-tab-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.category-tab-btn.active {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

/* Interactive Direct Card Steppers */
.card-stepper-active {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--brand-primary);
    color: #ffffff;
    border-radius: 999px;
    padding: 3px 6px;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    min-width: 96px;
    height: 38px;
}
.card-stepper-btn {
    border: none;
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    user-select: none;
    padding: 0;
}
.card-stepper-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}
.card-stepper-btn:active {
    transform: scale(0.9);
}
.card-stepper-val {
    font-weight: 900;
    font-size: 0.95rem;
    color: #ffffff;
    padding: 0 6px;
    min-width: 22px;
    text-align: center;
}

/* Mobile Slide-Up Bottom Sheet Morphism */
@media (max-width: 768px) {
    .product-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    .product-modal-card {
        border-radius: 24px 24px 0 0;
        max-height: 88vh;
        max-width: 100%;
        transform: translateY(100%);
    }
    .product-modal-overlay.active .product-modal-card {
        transform: translateY(0);
    }
    .cart-drawer {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 86vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        border-left: none;
        border-top: 1px solid var(--border-subtle);
    }
    .cart-drawer.active {
        transform: translateY(0);
    }
}

/* Bottom Sheet Drag Indicator Handle */
.sheet-drag-handle {
    width: 42px;
    height: 4.5px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.6);
    margin: 8px auto 4px auto;
}

/* Floating Cart Mini-Dock for Mobile */
.floating-cart-pill {
    position: fixed;
    left: 16px;
    right: 16px;
    max-width: 500px;
    margin: 0 auto;
    bottom: 24px;
    z-index: 9300;
    background: linear-gradient(135deg, #e11d48 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transform: translateY(120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}
.floating-cart-pill.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
@media (max-width: 991px) {
    .floating-cart-pill {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        left: 14px !important;
        right: 14px !important;
        max-width: 500px !important;
        margin: 0 auto !important;
        z-index: 9450 !important;
    }
}

/* Quick Search Bottom Sheet */
.quick-search-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    padding: 16px;
    align-items: center;
}
.quick-search-modal.active {
    display: flex;
}
.quick-search-card {
    background: var(--bg-surface);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-top: 10px;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

/* ==========================================================================
   Checkout 2-Step Flow & Mobile Sticky Action Bar
   ========================================================================== */
.checkout-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    position: relative;
}
.checkout-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.88rem;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-muted);
    transition: all 0.25s ease;
}
.checkout-step-pill.active {
    background: rgba(225, 29, 72, 0.08);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.15);
}
.checkout-step-pill.completed {
    background: rgba(22, 163, 74, 0.08);
    border-color: #16a34a;
    color: #16a34a;
}
.checkout-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: currentColor;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 900;
}
.checkout-step-pill.active .checkout-step-num {
    background: var(--brand-primary);
    color: #ffffff;
}
.checkout-step-pill.completed .checkout-step-num {
    background: #16a34a;
    color: #ffffff;
}

/* Mobile Sticky Checkout Bar */
.mobile-sticky-checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    padding: 12px 18px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
@media (min-width: 992px) {
    .mobile-sticky-checkout-bar {
        display: none !important;
    }
}
.mobile-sticky-total-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}
.mobile-sticky-total-val {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--brand-primary);
    font-family: var(--font-heading);
    line-height: 1.2;
}
.mobile-sticky-checkout-btn {
    flex: 1;
    max-width: 220px;
    padding: 13px 20px;
    font-weight: 800;
    font-size: 0.98rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--brand-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    background: var(--brand-gradient);
    color: #ffffff !important;
}

/* Fulfillment & Payment Options Selection */
.fulfillment-tab-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.fulfillment-tab-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -3px rgba(15, 23, 42, 0.07);
}
.fulfillment-tab-card.active {
    border-color: var(--brand-primary);
    background: #fff1f2;
    box-shadow: 0 6px 20px -2px rgba(225, 29, 72, 0.12);
}
.fulfillment-tab-card input[type="radio"] {
    accent-color: var(--brand-primary);
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.payment-method-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.payment-method-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -3px rgba(15, 23, 42, 0.07);
}
.payment-method-card.active {
    border-color: var(--brand-primary);
    background: #fff1f2;
    box-shadow: 0 6px 20px -2px rgba(225, 29, 72, 0.12);
}
.payment-method-card input[type="radio"] {
    accent-color: var(--brand-primary);
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Zone Radio Card */
.zone-picker-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.zone-picker-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.zone-picker-card.active {
    border-color: var(--brand-primary);
    background: #fff1f2;
    box-shadow: 0 3px 12px rgba(225, 29, 72, 0.1);
}
.zone-picker-card input[type="radio"] {
    accent-color: var(--brand-primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Instruction Chips */
.instruction-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}
.instruction-chip-btn:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    background: #f8fafc;
    transform: translateY(-1px);
}
.instruction-chip-btn.active {
    background: #fff1f2;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.15);
}

/* ==========================================================================
   Live Delivery Radar & Tracking View
   ========================================================================== */
@keyframes radar-pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 14px rgba(225, 29, 72, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}
@keyframes radar-pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 14px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.radar-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 29, 72, 0.1);
    color: var(--brand-primary);
    border: 1.5px solid rgba(225, 29, 72, 0.3);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 8px 18px;
    border-radius: 999px;
}
.radar-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-primary);
    animation: radar-pulse-ring 1.8s infinite;
}

.eta-countdown-card {
    background: linear-gradient(135deg, #1d3557 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    overflow: hidden;
}
.eta-countdown-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.eta-time-val {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.rider-card-elevated {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.rider-avatar-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.3);
    position: relative;
}
.rider-beacon-online {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #16a34a;
    border: 2px solid #ffffff;
    animation: radar-pulse-green 2s infinite;
}

/* ==========================================================================
   DoorDash & Zomato Style Smart Filters & Veg Switch
   ========================================================================== */
.smart-filters-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding: 6px 2px 10px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    min-width: 0;
    width: 100%;
}
.smart-filters-wrapper::-webkit-scrollbar {
    display: none;
}

/* Zomato-Style Veg Only Toggle */
.veg-toggle-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.veg-toggle-box.active {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}
.veg-switch-track {
    width: 32px;
    height: 18px;
    background: #cbd5e1;
    border-radius: 999px;
    position: relative;
    transition: background 0.25s ease;
}
.veg-toggle-box.active .veg-switch-track {
    background: #10b981;
}
.veg-switch-thumb {
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.veg-toggle-box.active .veg-switch-thumb {
    transform: translateX(14px);
}

/* Smart Filter Pill Chips */
.smart-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}
.smart-filter-chip:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.smart-filter-chip.active {
    background: rgba(225, 29, 72, 0.08);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 800;
}

/* Dish Card Heart / Favorite Button */
.card-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s, background 0.2s;
}
.card-fav-btn:hover {
    transform: scale(1.15);
    background: rgba(15, 23, 42, 0.85);
}
.card-fav-btn.active {
    color: #e11d48;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

/* Customisable Subtitle Tag under Add Button */
.btn-customisable-sub {
    display: block;
    font-size: 0.64rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 2px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Cart Drawer Upsell / Frequently Added Together Carousel */
.cart-upsell-wrapper {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1.5px dashed var(--border-subtle);
}
.cart-upsell-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-upsell-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.cart-upsell-scroll::-webkit-scrollbar {
    display: none;
}
.cart-upsell-card {
    flex: 0 0 165px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.cart-upsell-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.cart-upsell-img {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 8px;
}
.cart-upsell-name {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-upsell-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 10px;
    margin-top: 2px;
}
.btn-upsell-add {
    width: 100%;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 999px;
    border: 1.5px solid var(--brand-primary);
    background: transparent;
    color: var(--brand-primary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: auto;
}
.btn-upsell-add:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.28);
}
.btn-upsell-add:active {
    transform: scale(0.96);
}

/* Rider Tip Card in Checkout */
.rider-tip-card {
    background: var(--bg-surface-elevated);
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}
.rider-tip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.tip-chip-btn {
    padding: 10px 8px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #cbd5e1;
    background: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
    user-select: none;
}
.tip-chip-btn:hover {
    transform: translateY(-2px);
    border-color: #d97706;
    color: #b45309;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18);
}
.tip-chip-btn:active {
    transform: scale(0.95);
}
.tip-chip-btn.active {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #d97706;
    color: #92400e;
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.25);
    font-weight: 900;
}

/* Coverage Modal */
.coverage-modal-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    max-width: 540px;
    width: 100%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-card);
}
.coverage-zone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.88rem;
}
.coverage-zone-row:last-child {
    border-bottom: none;
}

/* ==========================================================================
   UI/UX Pro Max: Refined Appetizing Food Card Design
   ========================================================================== */
.card-badges-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    z-index: 2;
}

.badge-card-bestseller {
    background: #f59e0b;
    color: #000000;
    font-size: 0.66rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.4px;
}

.card-prep-pill {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    z-index: 2;
    display: flex;
    align-items: center;
}

.card-body-content {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.015em;
    transition: color 0.2s ease;
}

.food-card-premium:hover .card-title {
    color: var(--brand-primary);
}

.card-description {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-combo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #b45309;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    width: fit-content;
}

[data-theme="dark"] .card-combo-pill {
    background: rgba(245, 158, 11, 0.18);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.4);
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.card-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.card-currency {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-primary);
    font-family: var(--font-heading);
}

.card-price-val {
    font-size: 1.28rem;
    font-weight: 900;
    color: var(--brand-primary);
    font-family: var(--font-heading);
}

.btn-card-add {
    background: var(--brand-gradient);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.btn-card-add:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.45);
}

.btn-card-customize {
    background: rgba(225, 29, 72, 0.08);
    color: var(--brand-primary);
    border: 1.5px solid rgba(225, 29, 72, 0.25);
    box-shadow: none;
}

.btn-card-customize:hover {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

/* ==========================================================================
   UI/UX Pro Max: Modal Combo Box
   ========================================================================== */
.modal-combo-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1.5px dashed rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
}

[data-theme="dark"] .modal-combo-box {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
}

.modal-combo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    color: #b45309;
    margin-bottom: 8px;
}

[data-theme="dark"] .modal-combo-header {
    color: #fcd34d;
}

.modal-combo-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-combo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-combo-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f59e0b;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ==========================================================================
   Amazon-Style Matching Items ("Frequently Bought Together") Bundle Box
   ========================================================================== */
.amazon-bundle-box {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.45) 0%, rgba(254, 205, 211, 0.3) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.35);
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.1);
}

[data-theme="dark"] .amazon-bundle-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.bundle-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.bundle-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .bundle-title {
    color: var(--text-primary);
}

.bundle-badge {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bundle-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

[data-theme="dark"] .bundle-subtitle {
    color: var(--text-muted);
}

.bundle-flow-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

.bundle-dish-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 8px 12px;
    flex: 1 1 180px;
    min-width: 170px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.bundle-dish-card.active-match {
    border-color: rgba(225, 29, 72, 0.35);
    background: rgba(225, 29, 72, 0.03);
}

.bundle-dish-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.bundle-dish-details {
    flex: 1;
    min-width: 0;
}

.bundle-reason-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: block;
    line-height: 1.2;
}

.bundle-dish-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 2px 0;
}

.bundle-dish-price {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-primary);
}

.bundle-plus-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .bundle-plus-icon {
    background: #1e293b;
    border-color: var(--border-subtle);
    color: var(--text-muted);
}

.bundle-bottom-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 8px;
}

.bundle-combo-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.bundle-combo-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
}

[data-theme="dark"] .bundle-combo-label {
    color: var(--text-muted);
}

.bundle-combo-val {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--brand-primary);
    font-family: var(--font-heading);
}

[data-theme="dark"] .bundle-combo-val {
    color: #fbbf24;
}

.btn-bundle-buy-all {
    background: linear-gradient(135deg, #f59e0b 0%, #e11d48 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 9px 20px;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-bundle-buy-all:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.45);
}

.btn-bundle-buy-all:active {
    transform: scale(0.96);
}

/* ==========================================================================
   Amazon-Style "Customers Also Ordered" (Horizontal Food Carousel)
   ========================================================================== */
.amazon-recs-section {
    border-top: 1px solid var(--border-subtle);
    padding-top: 18px;
    margin-bottom: 14px;
}

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

.recs-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.amazon-recs-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.amazon-recs-carousel::-webkit-scrollbar {
    height: 4px;
}

.amazon-recs-carousel::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 999px;
}

.rec-item-card {
    flex: 0 0 160px;
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.rec-item-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-primary);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.rec-item-img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    background: #e2e8f0;
}

.rec-item-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rec-item-name {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
}

.rec-item-price {
    font-size: 0.84rem;
    font-weight: 900;
    color: var(--brand-primary);
    font-family: var(--font-heading);
    margin-bottom: 8px;
}

.btn-rec-quick-add {
    border: 1.5px solid var(--brand-primary);
    background: transparent;
    color: var(--brand-primary);
    border-radius: var(--radius-pill);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-rec-quick-add:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: scale(1.02);
}

.btn-rec-quick-add:active {
    transform: scale(0.96);
}

/* ==========================================================================
   Desktop Vertical Scrollspy Sidebar & Layout
   ========================================================================== */
.menu-catalog-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

@media (max-width: 991.98px) {
    .menu-catalog-layout {
        display: block !important;
        gap: 0 !important;
    }
    .scrollspy-sidebar-col {
        display: none !important;
    }
    .menu-content-col {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

.scrollspy-sidebar-col {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    z-index: 30;
}

.menu-content-col {
    flex: 1;
    min-width: 0;
}

/* Sticky Catalog Controls Bar */
.catalog-sticky-controls {
    background: var(--bg-surface-frosted);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-card);
    padding: 16px 20px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 72px;
    z-index: 40;
    transition: top 0.25s ease, padding 0.25s ease;
}

@media (max-width: 991.98px) {
    .catalog-sticky-controls {
        top: 56px;
        padding: 10px 12px;
        margin-bottom: 18px;
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }
}

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

@media (max-width: 991.98px) {
    .catalog-dishes-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 575.98px) {
    .catalog-dishes-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.scrollspy-sidebar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 16px 14px;
    box-shadow: var(--shadow-sm);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
}

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

.scrollspy-sidebar-title {
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scrollspy-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.scrollspy-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid transparent;
}

.scrollspy-nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-canvas);
    transform: translateX(3px);
}

.scrollspy-nav-link.active {
    color: var(--brand-primary);
    background: rgba(225, 29, 72, 0.08);
    border-color: rgba(225, 29, 72, 0.25);
    font-weight: 800;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.1);
}

[data-theme="dark"] .scrollspy-nav-link.active {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.35);
    color: #fb7185;
}

.scrollspy-link-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.scrollspy-link-icon {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.scrollspy-nav-link.active .scrollspy-link-icon {
    color: var(--brand-primary);
}

.scrollspy-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scrollspy-badge-count {
    font-size: 0.72rem;
    font-weight: 800;
    background: var(--bg-canvas);
    color: var(--text-muted);
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.scrollspy-nav-link.active .scrollspy-badge-count {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

/* ==========================================================================
   Checkout Progressive Disclosure & Dark Theme Overrides
   ========================================================================== */
.checkout-step-muted {
    opacity: 0.65;
    pointer-events: none;
    filter: grayscale(0.25);
}

.checkout-step-verified-badge {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    font-weight: 800;
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

[data-theme="dark"] .checkout-step-verified-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.35);
}

[data-theme="dark"] .card {
    background-color: var(--bg-surface);
    border-color: var(--border-card);
}

[data-theme="dark"] .quick-search-card,
[data-theme="dark"] .coverage-modal-card {
    background: var(--bg-surface);
    border-color: var(--border-card);
}

[data-theme="dark"] .fulfillment-tab-card {
    background: var(--bg-surface);
    border-color: var(--border-subtle);
}

[data-theme="dark"] .fulfillment-tab-card.active {
    background: rgba(244, 63, 94, 0.1);
    border-color: var(--brand-primary);
}

[data-theme="dark"] .payment-method-card {
    background: var(--bg-surface);
    border-color: var(--border-subtle);
}

[data-theme="dark"] .payment-method-card.active {
    background: rgba(244, 63, 94, 0.1);
    border-color: var(--brand-primary);
}

[data-theme="dark"] .tip-chip-btn {
    background: var(--bg-surface);
    border-color: #334155;
    color: var(--text-primary);
}

[data-theme="dark"] .tip-chip-btn.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.25) 100%);
    border-color: #f59e0b;
    color: #fef08a;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select,
[data-theme="dark"] .form-select {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="dark"] .input-group-text {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

[data-theme="dark"] .badge.bg-light {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #e2e8f0 !important;
}

/* ==========================================================================
   Mobile-First Polish & Touch Optimizations
   ========================================================================== */
.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: flex-start;
}

.checkout-left-col {
    min-width: 0;
    width: 100%;
}

.checkout-right-col {
    position: sticky;
    top: 90px;
    min-width: 0;
    width: 100%;
}

@media (max-width: 991.98px) {
    .checkout-layout-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    .checkout-right-col {
        position: static !important;
        top: auto !important;
    }

    /* Container padding consistency on mobile */
    .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* Navbar on mobile */
    .navbar-modern {
        padding: 8px 0 !important;
    }
    .navbar-inner {
        gap: 8px !important;
    }
    .nav-brand {
        font-size: 1.15rem !important;
        gap: 8px !important;
    }
    .nav-brand-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.95rem !important;
        border-radius: 8px !important;
    }

    /* Hero section on mobile */
    .hero-bento-section {
        padding: 24px 0 16px !important;
    }

    /* Food card mobile adjustments */
    .food-card-premium .card-media {
        height: 180px;
    }
    .food-card-premium .card-body-content {
        padding: 14px 16px;
    }
    .food-card-premium .card-title {
        font-size: 1.05rem;
    }
    .food-card-premium .card-description {
        font-size: 0.82rem;
        -webkit-line-clamp: 2;
    }

    /* Prevent any modal blowout */
    .product-modal-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Account layout grid */
.account-layout-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: flex-start;
}
.account-left-col, .account-right-col {
    min-width: 0;
    width: 100%;
}
@media (max-width: 991.98px) {
    .account-layout-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
}

/* Modal Sticky Action Bar */
.modal-sticky-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-canvas);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 575.98px) {
    .modal-sticky-footer {
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)) 14px !important;
        gap: 8px !important;
    }
    .modal-stepper-wrap {
        padding: 3px 8px !important;
    }
    .modal-stepper-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 1rem !important;
    }
    .btn-modal-add-order {
        padding: 11px 16px !important;
        font-size: 0.95rem !important;
    }
    #modalDynamicTotal {
        font-size: 1.05rem !important;
    }
    .cart-drawer-footer {
        padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    }
    /* Tracking page mobile adjustments */
    .eta-countdown-card {
        padding: 16px 18px !important;
    }
    .eta-time-val {
        font-size: 1.55rem !important;
    }
    .rider-card-elevated {
        padding: 16px !important;
    }
    #driver-actions-wrap {
        width: 100%;
        margin-top: 6px;
    }
    #driver-actions-wrap a {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
    #tracking-map {
        height: 240px !important;
    }
    .track-step-circle {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
    }
    .track-line-bg {
        top: 18px !important;
    }
    .track-step-item > div:nth-child(2) {
        font-size: 0.74rem !important;
    }
    /* Auth and Confirmation Mobile Polish */
    .auth-card-responsive {
        padding: 24px 18px !important;
    }
    .confirm-actions-responsive {
        flex-direction: column !important;
    }
    .confirm-actions-responsive > * {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* ==========================================================================
   CloudKitchen — Premium SaaS-Inspired Design System (Stripe / Linear / Framer)
   ========================================================================== */

/* Section Typography & Badges */
.section-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 29, 72, 0.08);
    border: 1px solid rgba(225, 29, 72, 0.22);
    color: var(--brand-primary);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
}

.section-heading-lg {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-sub-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto;
}

/* 1. Bento Grid Features */
.bento-features-section {
    padding: 70px 0 80px;
    background: linear-gradient(180deg, var(--bg-canvas) 0%, var(--bg-surface) 100%);
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.bento-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 29, 72, 0.35);
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.1);
}

.bento-col-8 {
    grid-column: span 8;
}

.bento-col-4 {
    grid-column: span 4;
}

.bento-col-6 {
    grid-column: span 6;
}

.bento-col-12 {
    grid-column: span 12;
}

.bento-ambient-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

.bento-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 2;
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.bento-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.bento-tag-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.bento-mini-chip {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 2. How It Works Section */
.how-it-works-section {
    padding: 75px 0 85px;
    background: var(--bg-surface);
    position: relative;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.step-card-modern {
    background: var(--bg-canvas);
    border: 1.5px solid var(--border-subtle);
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card-modern:hover {
    transform: translateY(-4px);
    border-color: var(--brand-primary);
    box-shadow: 0 16px 36px -8px rgba(225, 29, 72, 0.12);
}

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

.step-badge-num {
    font-size: 0.85rem;
    font-weight: 900;
    font-family: var(--font-heading);
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.1);
    color: var(--brand-primary);
    letter-spacing: 0.5px;
}

.step-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* 3. Verified Reviews & Testimonials */
.reviews-section {
    padding: 75px 0 85px;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-canvas) 100%);
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.review-card-modern {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card-modern:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.08);
}

.review-stars-row {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.review-quote {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.65;
    font-style: normal;
    margin-bottom: 24px;
    flex: 1;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.reviewer-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: white;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.reviewer-location {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Trust Bar Strip */
.trust-bar-strip {
    margin-top: 40px;
    padding: 20px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 1.15rem;
    color: var(--brand-primary);
}

/* 4. Interactive FAQ Accordion */
.faq-section {
    padding: 75px 0 85px;
    background: var(--bg-surface);
}

.faq-container {
    max-width: 800px;
    margin: 44px auto 0;
}

.faq-item {
    background: var(--bg-canvas);
    border: 1.5px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item.active {
    border-color: var(--brand-primary);
    background: var(--bg-surface);
    box-shadow: 0 8px 24px -6px rgba(225, 29, 72, 0.12);
}

.faq-question-btn {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    gap: 16px;
    user-select: none;
}

.faq-question-btn:focus-visible {
    outline: 2px solid var(--brand-primary);
}

.faq-chevron-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, color 0.2s;
}

.faq-item.active .faq-chevron-icon {
    transform: rotate(180deg);
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
}

.faq-answer-pane {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer-pane {
    max-height: 400px;
    padding: 0 24px 22px 24px;
}

/* 5. High-Impact Final Conversion CTA */
.conversion-cta-section {
    padding: 85px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.cta-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.32) 0%, rgba(244, 63, 94, 0.1) 45%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.conversion-cta-card {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-subtext {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin-bottom: 34px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-btn-main {
    padding: 16px 36px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 1.05rem;
    background: var(--brand-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cta-btn-main:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 38px rgba(225, 29, 72, 0.6);
    color: #ffffff;
}

.cta-btn-whatsapp {
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.02rem;
    background: #25d366;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cta-btn-whatsapp:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.cta-guarantee-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* 6. Cookie & Privacy Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 480px;
    width: calc(100% - 48px);
    z-index: 99999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 22px 24px;
    color: #ffffff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-content-title {
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.cookie-content-text {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    background: var(--brand-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-cookie-accept:hover {
    opacity: 0.92;
}

.btn-cookie-essential {
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cookie-essential:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments for SaaS Sections */
@media (max-width: 991.98px) {
    .bento-col-8, .bento-col-4, .bento-col-6 {
        grid-column: span 12;
    }
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .bento-card {
        padding: 22px 18px;
        border-radius: 20px;
    }
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    .step-card-modern {
        padding: 22px 18px;
    }
    .review-card-modern {
        padding: 22px 18px;
    }
    .cta-actions-group {
        flex-direction: column;
        width: 100%;
    }
    .cta-btn-main, .cta-btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
    .cookie-consent-banner {
        bottom: 14px;
        left: 14px;
        width: calc(100% - 28px);
        padding: 18px 18px;
    }
}

/* ==========================================================================
   Modular Auth Box & WhatsApp Direct Order Modal Styles
   ========================================================================== */
.modular-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modular-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modular-modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 28px 24px;
    position: relative;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25);
    transform: scale(0.95) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modular-modal-overlay.active .modular-modal-card {
    transform: scale(1) translateY(0);
}

.modular-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
    color: var(--text-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 10;
}

.modular-modal-close:hover {
    background: var(--border-subtle);
    color: var(--text-primary);
}

.auth-tabs-nav {
    display: flex;
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin-bottom: 20px;
    gap: 4px;
}

.auth-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-tab-btn.active {
    background: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}

.location-live-box {
    background: var(--bg-surface-elevated);
    border: 1.5px dashed var(--border-subtle);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.location-live-box.locked {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.btn-gps-detect {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    background: var(--bg-surface);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-gps-detect:hover {
    background: var(--brand-primary);
    color: #ffffff;
}

.nav-auth-btn {
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
    background: var(--brand-primary);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
    opacity: 0.95;
}

/* ==========================================================================
   Category Showcase Grid & Category Detail Modal (Homepage Category Explorer)
   ========================================================================== */
.cat-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 24px;
}
@media (min-width: 992px) {
    .cat-showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 28px;
    }
}
.cat-showcase-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-xl, 20px);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    position: relative;
}
.cat-showcase-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--brand-primary);
}
.cat-card-media {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #0f172a;
}
.cat-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cat-showcase-card:hover .cat-card-img {
    transform: scale(1.06);
}
.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.25) 55%, rgba(15, 23, 42, 0.45) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 16px;
}
.cat-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-count-badge {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.cat-price-badge {
    background: #fbbf24;
    color: #78350f;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.cat-title-row {
    color: #ffffff;
}
.cat-card-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.cat-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.cat-card-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
}
.cat-sample-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.cat-sample-tag {
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}
.cat-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn-cat-explore {
    flex: 1;
    background: var(--brand-primary);
    color: #ffffff !important;
    border: none;
    border-radius: var(--radius-pill);
    padding: 10px 16px;
    font-weight: 800;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-cat-explore:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: var(--brand-glow);
}
.btn-cat-direct {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-canvas);
    border: 1.5px solid var(--border-subtle);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-cat-direct:hover {
    background: var(--text-primary);
    color: #ffffff;
    border-color: var(--text-primary);
}

/* Category Quick-View Modal */
.category-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.category-modal-card {
    background: var(--bg-surface);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    border: 1px solid var(--border-card);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-modal-overlay.active .category-modal-card {
    transform: scale(1) translateY(0);
}
.category-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}
.cat-modal-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cat-modal-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
}
.cat-modal-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.btn-close-cat-modal {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-close-cat-modal:hover {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    transform: rotate(90deg);
}
.category-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cat-modal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: var(--bg-canvas);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    transition: all 0.2s ease;
}
.cat-modal-item:hover {
    border-color: var(--brand-primary);
    background: var(--bg-surface);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.cat-modal-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.cat-modal-item-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.cat-modal-item-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}
.cat-modal-item-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}
.cat-modal-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}
.cat-modal-item-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-primary);
}
.category-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

/* Dedicated Menu Page Styling */
.menu-page-hero {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 36px 0 24px;
}



