/* Swiggy Modern Design System & Component Stylesheet */

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

:root {
    --primary: #7c5cfc;
    --primary-hover: #633ef3;
    --primary-light: #f3f0ff;
    --primary-glow: rgba(124, 92, 252, 0.35);
    --cream-ivory: #fffbf5;
    --cream-accent: #fef8ee;
    --dark: #14092b;
    --dark-muted: #241344;
    --text-main: #1f1a30;
    --text-muted: #6b6380;
    --text-light: #9d96b0;
    --border-color: #e9e3fc;
    --bg-light: #faf8ff;
    --bg-surface: #ffffff;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --danger: #e11d48;
    --danger-bg: #fff1f2;
    --shadow-sm: 0 2px 8px rgba(124, 92, 252, 0.05);
    --shadow-md: 0 8px 24px rgba(36, 19, 68, 0.08);
    --shadow-lg: 0 16px 36px rgba(36, 19, 68, 0.14);
    --shadow-xl: 0 24px 48px rgba(36, 19, 68, 0.2);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 1. STARTING CINEMATIC LANDING HERO (IMAGE 1) ==================== */
.landing-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1600&auto=format&fit=crop&q=80') center center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 9, 43, 0.78) 0%, rgba(20, 9, 43, 0.55) 45%, rgba(20, 9, 43, 0.95) 100%);
    z-index: 1;
}

.landing-top-nav {
    width: 100%;
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
    font-weight: 600;
    font-size: 15px;
}

.landing-top-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.landing-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    max-width: 240px;
}

.landing-location-badge i {
    color: #c084fc;
    font-size: 13px;
}

.landing-location-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-location-badge:hover {
    background: rgba(124, 92, 252, 0.35);
    border-color: rgba(192, 132, 252, 0.65);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124, 92, 252, 0.3);
}

.landing-top-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.landing-nav-link {
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
    transition: opacity 0.2s, transform 0.2s;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.landing-nav-link:hover {
    opacity: 1;
    color: #ddd6fe;
}

.landing-order-cta-btn {
    background: linear-gradient(135deg, #7c5cfc 0%, #5b21b6 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 4px 14px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.landing-order-cta-btn:hover {
    transform: scale(1.05);
}

.landing-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 860px;
    margin: auto auto 24px auto;
    padding: 30px 20px 20px;
}

.landing-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.landing-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7));
    transition: transform 0.25s ease;
}

.landing-logo-img:hover {
    transform: scale(1.04);
}

.landing-hero-title {
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -0.3px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.landing-hero-sub {
    font-size: clamp(15px, 2vw, 19px);
    opacity: 0.92;
    font-weight: 500;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #f1f5f9;
}

.hero-primary-order-btn {
    background: linear-gradient(135deg, #7c5cfc 0%, #5b21b6 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    padding: 16px 40px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 30px rgba(124, 92, 252, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: orderPulse 2.5s infinite;
}

.hero-primary-order-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 36px rgba(124, 92, 252, 0.8);
}

@keyframes orderPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(124, 92, 252, 0.5); }
    50% { box-shadow: 0 12px 38px rgba(124, 92, 252, 0.9); }
}

.app-badges-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 7, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-md);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    text-align: left;
}

.app-badge:hover {
    background: rgba(124, 92, 252, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.app-badge-icon {
    font-size: 24px;
    color: #fff;
}

.app-badge-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.app-badge-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
}

.app-badge-coming-soon {
    background: rgba(26, 14, 50, 0.78);
    border-color: rgba(192, 132, 252, 0.35);
}

.app-badge-coming-soon:hover {
    background: rgba(124, 92, 252, 0.35);
    border-color: rgba(192, 132, 252, 0.65);
}


.scroll-down-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    opacity: 0.85;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.scroll-down-indicator:hover {
    opacity: 1;
}

.scroll-bounce-icon {
    animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* ==================== 2. SHOWCASE & STATS SECTION (IMAGE 2) ==================== */
.showcase-section {
    min-height: 85vh;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(124, 92, 252, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(225, 29, 72, 0.04) 0%, transparent 40%);
}

.floating-food-item {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.float-burger {
    left: 7%;
    top: 32%;
    width: 190px;
    height: 190px;
    animation: floatSlow1 6s infinite ease-in-out;
}

.float-dimsum {
    right: 8%;
    top: 14%;
    width: 170px;
    height: 170px;
    animation: floatSlow2 7s infinite ease-in-out;
}

.float-pizza {
    right: 9%;
    bottom: 18%;
    width: 180px;
    height: 180px;
    animation: floatSlow3 8s infinite ease-in-out;
}

.float-choco {
    left: 8%;
    bottom: 14%;
    width: 160px;
    height: 160px;
    animation: floatSlow2 6.5s infinite ease-in-out;
}

.float-tomato-1 {
    left: 18%;
    top: 18%;
    font-size: 32px;
    animation: floatSlow3 5s infinite ease-in-out;
}

.float-tomato-2 {
    right: 22%;
    top: 45%;
    font-size: 28px;
    animation: floatSlow1 5.5s infinite ease-in-out;
}

.floating-food-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 16px 36px rgba(124, 92, 252, 0.16);
    border: 4px solid #ffffff;
}

@keyframes floatSlow1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(4deg); }
}

@keyframes floatSlow2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(18px) rotate(-5deg); }
}

@keyframes floatSlow3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, -14px) rotate(3deg); }
}

.showcase-content {
    text-align: center;
    max-width: 680px;
    margin: auto;
    position: relative;
    z-index: 10;
}

.showcase-title {
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 800;
    color: #e11d48;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #e11d48 0%, #7c5cfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-description {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
}

.showcase-order-btn {
    background: linear-gradient(135deg, #7c5cfc 0%, #5b21b6 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    padding: 16px 42px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(124, 92, 252, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.showcase-order-btn:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 32px rgba(124, 92, 252, 0.7);
}

.stats-bar-card {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 32px rgba(36, 19, 68, 0.08);
    padding: 22px 36px;
    max-width: 780px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.stat-num {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-icon-wrapper {
    font-size: 26px;
}

.stat-divider {
    width: 1px;
    height: 44px;
    background: var(--border-color);
}

/* ==================== 3. ORDERING CATALOG WRAPPER ==================== */
.ordering-catalog-wrapper {
    position: relative;
}

/* ==================== HEADER & NAVBAR ==================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.2s;
}

.brand-logo:hover {
    transform: scale(1.03);
}

.brand-logo-img {
    height: 38px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(124, 92, 252, 0.25));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 14px rgba(124, 92, 252, 0.45));
}

.brand-text {
    display: none; /* The logo image already contains the CHOCOLOOM typography */
}

.brand-subtag {
    font-size: 11px;
    font-weight: 800;
    background: #7c5cfc;
    color: #fff;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.location-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 8px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(124, 92, 252, 0.05);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-picker:hover {
    background: #faf8ff;
    border-color: #c4b5fd;
    box-shadow: 0 4px 14px rgba(124, 92, 252, 0.14);
    transform: translateY(-1px);
}

.loc-icon-pill {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    transition: all 0.25s ease;
}

.location-picker:hover .loc-icon-pill {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

.loc-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.loc-header-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.loc-type {
    font-weight: 800;
    font-size: 13.5px;
    color: var(--dark);
    letter-spacing: -0.2px;
}

.loc-name {
    font-size: 11px;
    color: var(--text-muted);
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.loc-arrow {
    color: var(--primary);
    font-size: 10px;
    transition: transform 0.25s ease;
}

.location-picker:hover .loc-arrow {
    transform: translateY(2px);
}

/* ==================== GPS LOCATION LOCATOR STYLES ==================== */
.use-gps-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: #faf8ff;
    border: 1.5px dashed #c4b5fd;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 14px;
}

.use-gps-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(124, 92, 252, 0.15);
    transform: translateY(-1px);
}

.gps-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(124, 92, 252, 0.3);
    animation: gpsPulse 2s infinite ease-in-out;
}

@keyframes gpsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); box-shadow: 0 4px 16px rgba(124, 92, 252, 0.5); }
}

.location-divider-text {
    text-align: center;
    position: relative;
    margin: 16px 0;
}

.location-divider-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.location-divider-text span {
    position: relative;
    background: #fff;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    padding: 6px 4px;
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

.nav-item i {
    font-size: 18px;
}

.badge-sup {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #7c5cfc;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 10px;
    letter-spacing: 0.3px;
}

.cart-btn {
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid #ddd6fe;
    transition: var(--transition);
    font-weight: 700;
}

.cart-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.cart-count {
    background: var(--primary);
    color: #fff;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 800;
}

.cart-btn:hover .cart-count {
    background: #fff;
    color: var(--primary);
}

/* Service Switcher Bar (Food / Instamart / Dineout / Genie) */
.service-tabs-wrapper {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.service-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.service-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    background: #f8fafc;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.service-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

/* ==================== HERO PROMOTIONAL BANNER ==================== */
.hero-section {
    padding: 28px 0 16px;
}

.banner-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 180px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.promo-content {
    z-index: 2;
    max-width: 60%;
}

.promo-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.promo-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 6px;
}

.promo-sub {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.promo-img-wrapper {
    position: absolute;
    right: -15px;
    bottom: -15px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.promo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== WHAT'S ON YOUR MIND SECTION ==================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.4px;
}

.carousel-nav-btns {
    display: flex;
    gap: 10px;
}

.carousel-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-nav-btn:hover {
    background: var(--dark-muted);
    color: #fff;
}

.category-scroll-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 12px;
    scrollbar-width: none;
}

.category-pill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
    transition: transform 0.2s;
}

.category-pill-card:hover {
    transform: scale(1.08);
}

.category-img-box {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    border: 2px solid #fff;
    background: #f1f5f9;
}

.category-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

/* ==================== FILTERS & SEARCH TOOLBAR ==================== */
.filter-toolbar-sticky {
    position: sticky;
    top: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 900;
    padding: 14px clamp(16px, 3vw, 36px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.filter-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
    flex: 1;
    min-width: 0;
}

.filter-pill {
    padding: 7px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-pill:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.filter-pill.active {
    background: var(--dark-muted);
    color: #fff;
    border-color: var(--dark-muted);
}

.filter-pill.active i {
    color: var(--primary);
}

.search-input-wrapper {
    position: relative;
    width: 340px;
    flex-shrink: 0;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    font-size: 14px;
    background: #f8fafc;
    color: var(--text-main);
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.2);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

.search-clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    display: none;
    cursor: pointer;
}

/* ==================== RESTAURANT GRID & CARDS ==================== */
/* ==================== DIRECT HOME PAGE PRODUCTS GRID ==================== */
.direct-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 24px 0 60px;
}

.product-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(124, 92, 252, 0.14);
    border-color: #c4b5fd;
}

.product-img-box {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f8fafc;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.08);
}

.product-cat-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(20, 9, 43, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.2px;
    z-index: 2;
}

.product-bestseller-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-veg-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.product-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-rating-box {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-price-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}

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

.product-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.product-strike-price {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 500;
}

.product-add-btn-wrap {
    position: relative;
}

.direct-add-btn {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 7px 22px;
    font-size: 13px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(124, 92, 252, 0.12);
    transition: all 0.2s ease;
}

.direct-add-btn:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
    transform: scale(1.04);
}

/* Restaurant Cards */
.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    padding: 24px 0 60px;
}

.restaurant-card {
    border-radius: var(--radius-md);
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.restaurant-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.card-img-box {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.restaurant-card:hover .card-img-box img {
    transform: scale(1.08);
}

.card-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(2, 6, 12, 0.85) 0%, transparent 100%);
    pointer-events: none;
}

.card-offer-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.promoted-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(40, 44, 63, 0.85);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #686b78;
    transition: var(--transition);
    z-index: 3;
}

.fav-btn:hover, .fav-btn.favorited {
    color: #e11d48;
    background: #fff;
    transform: scale(1.15);
}

.card-body {
    padding: 14px 4px 6px;
}

.rest-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.rest-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--dark-muted);
    margin-bottom: 4px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 3px;
    background: #16a34a;
    color: #fff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
}

.rating-badge i {
    font-size: 10px;
}

.dot-separator {
    color: #93959f;
    font-size: 8px;
}

.delivery-time {
    font-weight: 700;
}

.rest-cuisines {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.rest-location {
    font-size: 13px;
    color: var(--text-light);
}

/* ==================== RESTAURANT MENU MODAL / OVERLAY ==================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 12, 0.65);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-modal-container {
    background: #fff;
    width: 90%;
    max-width: 860px;
    height: 90vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open .menu-modal-container {
    transform: translateY(0);
}

.menu-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: #f8fafc;
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--dark-muted);
    color: #fff;
}

.menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.menu-category-section {
    margin-bottom: 36px;
}

.menu-category-title {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
}

.dish-item-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.dish-info {
    flex: 1;
}

.dish-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.veg-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #16a34a;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.veg-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
}

.non-veg-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #dc2626;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.non-veg-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #dc2626;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.bestseller-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dish-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-muted);
    margin-bottom: 4px;
}

.dish-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.dish-rating-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 8px;
}

.dish-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.dish-media {
    position: relative;
    width: 128px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dish-img {
    width: 118px;
    height: 96px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.dish-add-btn-wrapper {
    position: absolute;
    bottom: 0;
    width: 100px;
}

.dish-add-btn {
    width: 100%;
    background: #fff;
    color: #16a34a;
    font-weight: 800;
    font-size: 14px;
    padding: 8px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.dish-add-btn:hover {
    background: #f0fdf4;
    border-color: #86efac;
}

.qty-counter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #86efac;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.qty-btn {
    width: 32px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #16a34a;
    transition: var(--transition);
}

.qty-btn:hover {
    background: #dcfce7;
}

.qty-val {
    font-size: 14px;
    font-weight: 800;
    color: #16a34a;
}

/* ==================== CART DRAWER ==================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 12, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #fff;
    z-index: 2600;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.cart-title {
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px 20px;
}

.cart-empty-img {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    opacity: 0.85;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-muted);
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    min-width: 60px;
    text-align: right;
}

/* Coupon Section */
.coupon-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 20px;
}

.coupon-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.coupon-input-group input {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
}

.apply-coupon-btn {
    padding: 8px 16px;
    background: var(--dark-muted);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.apply-coupon-btn:hover {
    background: var(--primary);
}

.available-coupons-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.coupon-chip {
    font-size: 11px;
    font-weight: 700;
    background: #fff;
    color: var(--primary);
    border: 1px solid #ddd6fe;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.coupon-chip:hover {
    background: var(--primary-light);
}

/* Bill Breakdown */
.bill-details-card {
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.bill-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.bill-row.discount-row {
    color: #16a34a;
    font-weight: 700;
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: #fff;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #7c5cfc 0%, #5b21b6 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    padding: 14px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: var(--transition);
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #633ef3 0%, #4c1d95 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--primary-glow);
}

/* Floating Sticky Cart Bar */
.floating-cart-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: linear-gradient(135deg, #7c5cfc 0%, #5b21b6 100%);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 28px;
    box-shadow: 0 10px 30px rgba(124, 92, 252, 0.5);
    z-index: 2200;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cart-bar.visible {
    transform: translateX(-50%) translateY(0);
}

/* ==================== LIVE ORDER TRACKING MODAL ==================== */
.tracking-card {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.track-header {
    text-align: center;
    margin-bottom: 24px;
}

.track-eta-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.track-status-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.track-subtext {
    font-size: 13px;
    color: var(--text-muted);
}

/* Order Success Card */
.tracking-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #120726;
    color: #a89bc2;
    padding: 60px 0 30px;
    margin-top: 40px;
    border-top: 1px solid #261348;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #93959f;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

/* ==================== MOBILE APP BOTTOM NAVIGATION ==================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-color);
    z-index: 1800;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #686b78;
    flex: 1;
    height: 100%;
    transition: var(--transition);
}

.mobile-nav-item i {
    font-size: 18px;
}

.mobile-nav-item.active {
    color: var(--primary);
}

.mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #16a34a;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 99px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 900px) {
    .nav-right .nav-text {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .search-input-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 74px; /* Space for mobile bottom bar */
    }

    .container {
        padding: 0 14px;
    }

    /* Landing Hero Mobile */
    .landing-top-nav {
        padding: 16px 12px;
    }

    .landing-top-right .landing-nav-link:not(:nth-last-child(2)) {
        display: none;
    }

    .landing-top-right {
        gap: 12px;
    }

    .landing-hero-content {
        padding: 40px 12px;
    }

    .hero-primary-order-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .app-badge {
        padding: 6px 14px;
    }

    /* Showcase Section Mobile */
    .showcase-section {
        padding: 50px 14px;
        min-height: auto;
    }

    .float-burger {
        width: 90px;
        height: 90px;
        left: -15px;
        top: 8%;
        opacity: 0.85;
    }

    .float-dimsum {
        width: 80px;
        height: 80px;
        right: -10px;
        top: 6%;
        opacity: 0.85;
    }

    .float-pizza {
        width: 85px;
        height: 85px;
        right: -10px;
        bottom: 24%;
        opacity: 0.85;
    }

    .float-choco {
        width: 75px;
        height: 75px;
        left: -10px;
        bottom: 26%;
        opacity: 0.85;
    }

    .showcase-order-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stats-bar-card {
        flex-direction: column;
        gap: 16px;
        padding: 18px;
        align-items: stretch;
    }

    .stat-item {
        justify-content: space-between;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    /* Mobile Header */
    .navbar {
        height: 64px;
    }

    .nav-left {
        gap: 12px;
        flex: 1;
        overflow: hidden;
    }

    .brand-logo-img {
        height: 30px;
        width: auto;
        max-width: 110px;
    }

    .brand-text {
        display: none; /* Keep header clean on mobile */
    }

    .brand-subtag {
        display: none;
    }

    .location-picker {
        padding: 4px 10px 4px 6px;
        max-width: 190px;
        gap: 8px;
    }

    .loc-icon-pill {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .loc-type {
        font-size: 12px;
    }

    .loc-name {
        font-size: 10px;
        max-width: 100px;
    }

    .nav-right {
        gap: 12px;
    }

    #navSearchTrigger, #navOffersTrigger, #navHelpTrigger {
        display: none; /* Handled via bottom bar on mobile */
    }

    .cart-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* Mobile Bottom Nav */
    .mobile-bottom-nav {
        display: flex;
    }

    /* Hero Banner Horizontal Snap Scroller on Mobile */
    .hero-section {
        padding: 16px 0 8px;
    }

    .banner-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .promo-card {
        min-width: 86vw;
        max-width: 86vw;
        scroll-snap-align: center;
        padding: 16px;
        min-height: 140px;
    }

    .promo-title {
        font-size: 17px;
    }

    .promo-sub {
        font-size: 12px;
    }

    .promo-img-wrapper {
        width: 120px;
        height: 120px;
        right: -10px;
        bottom: -10px;
    }

    /* What's on your mind? Carousel on Mobile */
    .section-header {
        margin: 20px 0 14px;
    }

    .section-title {
        font-size: 19px;
    }

    .carousel-nav-btns {
        display: none; /* Use touch swipe on mobile */
    }

    .category-scroll-container {
        gap: 16px;
        padding-bottom: 8px;
    }

    .category-pill-card {
        min-width: 76px;
    }

    .category-img-box {
        width: 70px;
        height: 70px;
        margin-bottom: 6px;
    }

    .category-label {
        font-size: 12px;
    }

    /* Sticky Search & Filter Toolbar on Mobile */
    .filter-toolbar-sticky {
        top: 64px;
        padding: 10px 14px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .search-input-wrapper {
        width: 100%;
        order: 1;
    }

    .search-input-wrapper input {
        padding: 10px 14px 10px 38px;
        font-size: 13px;
    }

    .filter-pills {
        order: 2;
        width: 100%;
        gap: 8px;
    }

    .filter-pill {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* 2 Item Cards Side by Side on Mobile */
    .direct-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 14px 0 40px;
    }

    .product-card {
        border-radius: var(--radius-md);
    }

    .product-img-box {
        height: 135px;
    }

    .product-cat-pill {
        font-size: 9px;
        padding: 2px 7px;
        top: 6px;
        left: 6px;
    }

    .product-bestseller-badge {
        font-size: 8px;
        padding: 2px 5px;
        top: 6px;
        right: 6px;
    }

    .product-details {
        padding: 10px;
    }

    .product-veg-line {
        gap: 6px;
        margin-bottom: 4px;
    }

    .product-rating-box {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .product-title {
        font-size: 13px;
        line-height: 1.25;
        margin-bottom: 4px;
        min-height: 32px;
    }

    .product-desc {
        display: none; /* Keep cards clean & uniform on mobile 2-column grid */
    }

    .product-price-action-row {
        padding-top: 8px;
        margin-top: auto;
    }

    .product-price {
        font-size: 15px;
    }

    .product-strike-price {
        font-size: 11px;
    }

    .direct-add-btn {
        padding: 5px 12px;
        font-size: 11px;
    }

    .qty-counter-box {
        height: 28px;
    }

    .qty-btn {
        width: 24px;
        font-size: 12px;
    }

    .qty-val {
        padding: 0 6px;
        font-size: 12px;
    }

    /* Restaurant Cards Grid on Mobile */
    .restaurants-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 16px 0 40px;
    }

    .card-img-box {
        height: 190px;
    }

    .rest-title {
        font-size: 18px;
    }

    /* Floating Cart Bar position on Mobile */
    .floating-cart-bar {
        bottom: 74px;
        width: 92%;
        padding: 12px 18px;
        font-size: 13px;
        justify-content: space-between;
    }

    /* Full-Screen Restaurant Menu Sheet on Mobile */
    .menu-modal-container {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
        transform: translateY(100%);
    }

    .modal-backdrop.open .menu-modal-container {
        transform: translateY(0);
    }

    .menu-header {
        padding: 16px;
    }

    .menu-body {
        padding: 16px;
        padding-bottom: 90px;
    }

    .dish-item-card {
        padding: 14px 0;
        gap: 12px;
    }

    .dish-name {
        font-size: 15px;
    }

    .dish-desc {
        font-size: 12px;
    }

    .dish-media {
        width: 110px;
        height: 110px;
    }

    .dish-img {
        width: 105px;
        height: 85px;
    }

    .dish-add-btn-wrapper {
        width: 86px;
    }

    .dish-add-btn {
        padding: 6px 0;
        font-size: 12px;
    }

    /* Floating Cart Bar on Mobile */
    .floating-cart-bar {
        bottom: 74px;
        z-index: 2200;
        width: calc(100% - 32px);
        max-width: 420px;
        padding: 12px 20px;
        justify-content: space-between;
    }

    /* Full Width Cart Drawer on Mobile */
    .cart-drawer {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .cart-drawer.open {
        right: 0;
    }

    .cart-footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
    }

    /* Footer on Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer {
        padding: 36px 0 24px;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

