/* ==========================================================================
   Smart Adilabad - Web Application Master Stylesheet (Polished Purple Theme)
   ========================================================================== */

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

:root {
    --primary: #4A148C;
    --primary-light: #7B1FA2;
    --primary-dark: #310a61;
    --primary-subtle: #f3e5f5;
    --secondary: #6A1B9A;
    --accent: #FF9800;
    --accent-hover: #F57C00;
    --success: #16a34a;
    --danger: #D32F2F;
    --warning: #F57F17;
    --info: #0288D1;
    --dark: #1E1B2E;
    --light: #F8F9FD;
    --card-bg: #FFFFFF;
    --border-color: #E6E8F0;
    --text-main: #2D3142;
    --text-muted: #6C757D;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(74, 20, 140, 0.04);
    --shadow-md: 0 8px 24px rgba(74, 20, 140, 0.08);
    --shadow-lg: 0 16px 36px rgba(74, 20, 140, 0.12);
    --shadow-hover: 0 14px 28px rgba(74, 20, 140, 0.12);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #F6F7FB;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6, .brand-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

.cursor-pointer {
    cursor: pointer;
}

/* Gradients & Utility */
.bg-gradient-primary {
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%) !important;
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-lift {
    transition: var(--transition);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}
.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-warning {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 700;
    transition: var(--transition);
}
.btn-warning:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.3);
}

/* Header & Navigation */
.main-header {
    background: #ffffff;
    z-index: 1040;
}

/* Scrollbar Utility (Hides native ugly browser scrollbars across all OS) */
.scrollbar-none, .sub-nav-bar .overflow-auto, #categoryTabFilters {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

.scrollbar-none::-webkit-scrollbar, .sub-nav-bar .overflow-auto::-webkit-scrollbar, #categoryTabFilters::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 1. Top Bar */
.top-bar, .top-bar-modern {
    background: linear-gradient(90deg, #1d033a 0%, #310a61 50%, #1d033a 100%) !important;
    font-size: 0.78rem;
    color: #ffffff !important;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a, .top-bar-modern a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover, .top-bar-modern a:hover {
    color: #ffd166;
    text-decoration: none;
}

/* 2. Brand Logo Area (Clean, Unboxed, Bigger & Prominent Logo) */
.navbar-brand {
    margin-left: -12px;
    padding-left: 0;
}

.brand-logo-img {
    height: 78px;
    max-height: 84px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

@media (max-width: 768px) {
    .navbar-brand {
        margin-left: -6px;
    }
    .brand-logo-img {
        height: 56px;
        max-height: 60px;
    }
}

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

/* 3. Location Selector (Pulsing Pin & Glassmorphism) */
.location-badge {
    background: #fbf5fe;
    padding: 7px 14px;
    border-radius: 14px;
    cursor: pointer;
    border: 1.5px solid rgba(74, 20, 140, 0.12);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.location-badge:hover {
    background: #f3e5f5;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 20, 140, 0.1);
}

.location-label {
    font-size: 0.64rem;
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.04em;
}

.location-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
}

/* 4. Live Search Input (Glow on Focus) */
.header-search-container {
    min-width: 240px;
}

.header-search-input {
    border-radius: 24px;
    padding: 10px 48px 10px 20px;
    background: #f3f4f9;
    border: 1.5px solid transparent;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
    width: 100%;
}

.header-search-input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(74, 20, 140, 0.12);
    outline: none;
}

.header-search-btn {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #4A148C 0%, #6a1b9a 100%);
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(74, 20, 140, 0.25);
}

.header-search-btn:hover {
    transform: translateY(-50%) scale(1.08);
    background: var(--primary-light);
}

/* 5. Sub Navbar Category Strip (Elevated Pill Bar) */
.sub-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid #edf0f7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.sub-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1.5px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.25s ease;
}

.sub-nav-pill:hover {
    background: #f1f5f9;
    color: var(--primary);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.sub-nav-pill.active {
    background: linear-gradient(135deg, #4A148C 0%, #6a1b9a 100%);
    color: #ffffff !important;
    border-color: #4A148C;
    box-shadow: 0 4px 12px rgba(74, 20, 140, 0.22);
}

/* Cart Button Glow */
.cart-nav-btn {
    border-color: #e2e8f0 !important;
    transition: var(--transition);
}

.cart-nav-btn:hover {
    background: #f8fafc !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   Homepage Cards Polish (Same Layout, Premium Polish)
   ========================================================================== */

/* 1. Hero Banner with Full-Canvas Aurora Mesh & Fluid Waves */
.hero-banner {
    background: linear-gradient(135deg, #380a6b 0%, #1e053d 50%, #120224 100%);
    border-radius: var(--radius-lg);
    padding: 42px 34px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(74, 20, 140, 0.22);
}

.hero-banner h1, .hero-banner .hero-title {
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-pattern {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 180px;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 2;
}

/* Full-Canvas Aurora Background */
.hero-aurora-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Moving Glowing Aurora Orbs */
.aurora-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.65;
    filter: blur(50px);
}

.aurora-orb-1 {
    top: -20%;
    left: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.8) 0%, rgba(147, 51, 234, 0) 70%);
    animation: moveOrb1 16s infinite ease-in-out alternate;
}

.aurora-orb-2 {
    bottom: -30%;
    right: 5%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.55) 0%, rgba(255, 152, 0, 0) 70%);
    animation: moveOrb2 18s infinite ease-in-out alternate;
}

.aurora-orb-3 {
    top: 20%;
    right: 30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5) 0%, rgba(236, 72, 153, 0) 70%);
    animation: moveOrb3 14s infinite ease-in-out alternate;
}

.aurora-orb-4 {
    bottom: -10%;
    left: 30%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(59, 130, 246, 0) 70%);
    animation: moveOrb4 20s infinite ease-in-out alternate;
}

@keyframes moveOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(120px, 60px) scale(1.15); }
    100% { transform: translate(40px, 120px) scale(0.95); }
}

@keyframes moveOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -70px) scale(1.2); }
    100% { transform: translate(-60px, 40px) scale(0.9); }
}

@keyframes moveOrb3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 80px) scale(1.1); }
    100% { transform: translate(90px, -40px) scale(1.25); }
}

@keyframes moveOrb4 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(70px, -60px) scale(1.15); }
    100% { transform: translate(-50px, -80px) scale(1); }
}

/* Full Flowing Wave Lines Across Banner */
.hero-flowing-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.hero-waves-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 110px;
}

.wave-layer > use {
    animation: move-full-wave 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.wave-layer > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.wave-layer > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 11s;
}

.wave-layer > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 15s;
}

.wave-layer > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-full-wave {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* 2. 6-Service Tiles (Grid) - Commercial Super-App Styling */
.service-tile {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 12px 18px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    border: 1.5px solid #edf0f7;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-main);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-tile-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    z-index: 2;
}

.badge-food {
    background: #fff1eb;
    color: #e64a19;
    border: 1px solid rgba(230, 74, 25, 0.25);
}

.badge-grocery {
    background: #e8f8f0;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.badge-rides {
    background: #fef9c3;
    color: #b45309;
    border: 1px solid rgba(180, 83, 9, 0.25);
}

.badge-parcel {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid rgba(126, 34, 206, 0.25);
}

.badge-services {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid rgba(3, 105, 161, 0.25);
}

.badge-pharma {
    background: #ffe4e6;
    color: #e11d48;
    border: 1px solid rgba(225, 29, 72, 0.25);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 4px auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 1.6rem;
    color: #ffffff;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.icon-wrap-food {
    background: linear-gradient(135deg, #ff5722 0%, #ff8a65 100%);
    box-shadow: 0 6px 16px rgba(255, 87, 34, 0.32);
}

.icon-wrap-grocery {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.32);
}

.icon-wrap-rides {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.32);
}

.icon-wrap-parcel {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.32);
}

.icon-wrap-services {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.32);
}

.icon-wrap-pharma {
    background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
    box-shadow: 0 6px 16px rgba(244, 63, 94, 0.32);
}

.service-tile:hover .service-icon-wrap {
    transform: scale(1.14) translateY(-3px);
}

.service-tile-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 3px;
    color: var(--dark);
    transition: color 0.2s ease;
}

.service-tile-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.2;
}

/* Category Hover States */
.service-tile-food:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(255, 87, 34, 0.16);
    border-color: rgba(255, 87, 34, 0.4);
    background: linear-gradient(180deg, #ffffff 0%, #fff7f4 100%);
}
.service-tile-food:hover .service-tile-title { color: #e64a19; }

.service-tile-grocery:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}
.service-tile-grocery:hover .service-tile-title { color: #059669; }

.service-tile-rides:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.4);
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}
.service-tile-rides:hover .service-tile-title { color: #b45309; }

.service-tile-parcel:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.16);
    border-color: rgba(124, 58, 237, 0.4);
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
}
.service-tile-parcel:hover .service-tile-title { color: #7c3aed; }

.service-tile-services:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.16);
    border-color: rgba(2, 132, 199, 0.4);
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}
.service-tile-services:hover .service-tile-title { color: #0284c7; }

.service-tile-pharma:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(244, 63, 94, 0.16);
    border-color: rgba(244, 63, 94, 0.4);
    background: linear-gradient(180deg, #ffffff 0%, #fff1f2 100%);
}
.service-tile-pharma:hover .service-tile-title { color: #e11d48; }

/* 3. Promo Coupon Cards */
.promo-card {
    border-radius: var(--radius-md);
    padding: 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.35);
    transition: var(--transition);
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.promo-copy-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.promo-card:hover .promo-copy-btn {
    background: #ffffff;
    color: var(--dark);
}

/* 4. Restaurant & Grocery Store Cards */
.store-card, .store-card-modern {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef0f7;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.store-card:hover, .store-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

.store-img-wrap, .store-img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f0f0f5;
}

.store-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-card:hover .store-img, .store-card-modern:hover .store-img {
    transform: scale(1.06);
}

/* Photo Overlays (Swiggy / Zomato Signature Standard) */
.store-offer-tag-bottom {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.store-time-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--dark);
    padding: 3px 9px;
    border-radius: var(--radius-xl);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.store-rating-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #16a34a;
    color: #ffffff;
    padding: 3px 9px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 3px;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

/* Cuisine & Tag Pills */
.cuisine-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.cuisine-pill {
    background: #f1f3f9;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
}

.hygiene-safety-badge {
    color: #059669;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

/* 5. Home Services Cards */
.verified-pro-badge {
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: var(--radius-xl);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Food Items (Detail Page) */
.product-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
}

.product-img-wrap {
    position: relative;
    width: 110px;
    height: 100px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.add-btn-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
}

.veg-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid #2E7D32;
    padding: 2px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}
.veg-icon::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    background: #2E7D32;
    border-radius: 50%;
}

.non-veg-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid #D32F2F;
    padding: 2px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}
.non-veg-icon::after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    background: #D32F2F;
    border-radius: 50%;
}

/* Quantity Counter Stepper */
.qty-counter {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.qty-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 3px 8px;
    font-size: 0.75rem;
    cursor: pointer;
}

/* Vehicles & Ride Cards */
.vehicle-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.vehicle-card:hover {
    border-color: var(--primary-light);
}

.vehicle-card.selected {
    border-color: var(--primary);
    background-color: var(--primary-subtle);
}

/* Tracking Timeline */
.tracking-timeline {
    position: relative;
    padding-left: 30px;
}

.tracking-timeline::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 11px;
    width: 2px;
    background: var(--border-color);
}

.tracking-step {
    position: relative;
    margin-bottom: 24px;
}

.tracking-dot {
    position: absolute;
    left: -30px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.tracking-step.completed .tracking-dot {
    background: var(--success);
    border-color: var(--success);
    color: #ffffff;
}

.tracking-step.active .tracking-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-subtle);
}

/* Footer & Mobile Bottom Bar */
.main-footer {
    background: #1E1B2E;
    color: #ffffff;
}

.footer-logo {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1030;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

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

/* ==========================================================================
   Food Menu & Product Items (Swiggy / Zomato Commercial Standard)
   ========================================================================== */

.food-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    background: #ffffff;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.food-item-row:hover {
    border-color: rgba(74, 20, 140, 0.2);
    box-shadow: 0 8px 24px rgba(74, 20, 140, 0.08);
}

.food-item-img-box {
    position: relative;
    width: 130px;
    min-width: 130px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.food-item-img {
    width: 125px;
    height: 96px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-action-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    z-index: 3;
}

.btn-add-stepper {
    background: #ffffff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 6px 0;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(74, 20, 140, 0.16);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

.btn-add-stepper:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(74, 20, 140, 0.28);
}

.qty-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary);
    color: #ffffff;
    border-radius: 8px;
    padding: 3px 6px;
    font-weight: 700;
    font-size: 0.85rem;
    width: 100%;
    box-shadow: 0 3px 8px rgba(74, 20, 140, 0.25);
}

.qty-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.qty-val {
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0 4px;
}

/* Veg / Non-Veg Standard FSSAI Indicators */
.veg-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1.5px solid #16a34a;
    border-radius: 3px;
    position: relative;
    vertical-align: middle;
    flex-shrink: 0;
}

.veg-icon::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background: #16a34a;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nonveg-icon, .non-veg-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1.5px solid #dc2626;
    border-radius: 3px;
    position: relative;
    vertical-align: middle;
    flex-shrink: 0;
}

.nonveg-icon::after, .non-veg-icon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 7px solid #dc2626;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 576px) {
    .food-item-row {
        padding: 0.9rem;
        gap: 0.75rem;
    }
    .food-item-img-box {
        width: 110px;
        min-width: 110px;
        height: 105px;
    }
    .food-item-img {
        width: 105px;
        height: 84px;
        border-radius: 12px;
    }
    .product-action-wrap {
        width: 84px;
    }
    .btn-add-stepper {
        font-size: 0.76rem;
        padding: 4px 0;
    }
}

/* ==========================================================================
   Inspiration Cuisine Circles & Food Deals (Swiggy / Zomato Signature)
   ========================================================================== */

.cuisine-circle-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem 0 1.25rem 0;
    scroll-behavior: smooth;
}

.cuisine-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
    color: var(--dark) !important;
    flex-shrink: 0;
    width: 90px;
    cursor: pointer;
    transition: var(--transition);
}

.cuisine-circle-item:hover, .cuisine-circle-item.active {
    transform: translateY(-4px);
}

.cuisine-circle-img-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f3f9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border: 3px solid #ffffff;
    transition: var(--transition);
    position: relative;
}

.cuisine-circle-item:hover .cuisine-circle-img-wrap,
.cuisine-circle-item.active .cuisine-circle-img-wrap {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.25);
}

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

.cuisine-circle-item:hover .cuisine-circle-img {
    transform: scale(1.1);
}

.cuisine-circle-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    color: #334155;
    line-height: 1.2;
}

.cuisine-circle-item.active .cuisine-circle-title {
    color: var(--primary);
    font-weight: 800;
}

/* Deal Promo Cards Strip */
.food-deal-banner {
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.food-deal-banner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.deal-banner-purple {
    background: linear-gradient(135deg, #4A148C 0%, #7B1FA2 100%);
}

.deal-banner-orange {
    background: linear-gradient(135deg, #EA580C 0%, #F59E0B 100%);
}

.deal-banner-green {
    background: linear-gradient(135deg, #047857 0%, #10B981 100%);
}

/* Filter Quick Pills */
.filter-pill-btn {
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    border-radius: var(--radius-xl);
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.filter-pill-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--primary);
}

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

.store-pure-veg-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid #bbf7d0;
}

/* Wishlist & Micro Interactions */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wishlist-btn:hover {
    transform: scale(1.15);
    color: #ef4444;
}

.wishlist-btn.active {
    color: #ef4444;
    background: #ffffff;
    animation: heartPop 0.3s ease-out;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1.1); }
}

.carousel-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.carousel-nav-btn:hover {
    background: var(--dark);
    color: #ffffff;
    border-color: var(--dark);
    transform: scale(1.08);
}

.active-filter-badge {
    background: var(--primary-subtle);
    color: var(--primary);
    font-weight: 700;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(74, 20, 140, 0.2);
}

.active-filter-badge .btn-close-filter {
    cursor: pointer;
    font-weight: 900;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.active-filter-badge .btn-close-filter:hover {
    opacity: 1;
}

.promoted-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #1E1B2E 0%, #310a61 100%);
    color: #fbbf24;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 4;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* ==========================================================================
   Floating Dynamic Mini-Cart Bar (App-like sticky pill)
   ========================================================================== */
.floating-mini-cart {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: linear-gradient(135deg, #1E0B36 0%, #35105C 50%, #4A148C 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 10px 18px 10px 18px;
    border-radius: 50px;
    box-shadow: 0 16px 40px rgba(30, 11, 54, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1050;
    max-width: 480px;
    width: 90vw;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0.3s ease;
}

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

.floating-mini-cart-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.floating-mini-cart-badge {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45);
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

.floating-mini-cart-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.floating-mini-cart-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.floating-mini-cart-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-mini-cart-btn {
    background: linear-gradient(135deg, #FFB300 0%, #FF9800 100%);
    color: #1A052E !important;
    font-weight: 800;
    font-size: 0.86rem;
    padding: 9px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(255, 179, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.floating-mini-cart-btn:hover {
    background: linear-gradient(135deg, #FFA000 0%, #F57C00 100%);
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(255, 179, 0, 0.6);
    color: #000000 !important;
}

@media (max-width: 991.98px) {
    .floating-mini-cart {
        left: 14px;
        right: 14px;
        bottom: 74px; /* Perfectly floats right above mobile bottom nav */
        width: auto;
        max-width: none;
        transform: translateY(160%);
        border-radius: 16px;
        padding: 9px 14px;
        gap: 10px;
    }
    .floating-mini-cart.visible {
        transform: translateY(0);
    }
    .floating-mini-cart-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }
    .floating-mini-cart-total {
        font-size: 0.98rem;
    }
}

/* ==========================================================================
   Mobile Slide-In Offcanvas Drawer Styles
   ========================================================================== */
.mobile-nav-offcanvas {
    max-width: 320px;
    width: 85vw;
    border-radius: 0 20px 20px 0;
    overflow: hidden;
}

.mobile-nav-offcanvas .offcanvas-header {
    background: linear-gradient(135deg, #1E0B36 0%, #35105C 50%, #4A148C 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.offcanvas-nav-list .list-group-item {
    border-left: none;
    border-right: none;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 0.9rem;
    border-color: #f1f5f9;
}

.offcanvas-nav-list .list-group-item:hover,
.offcanvas-nav-list .list-group-item:active {
    background: #f8fafc;
}

.offcanvas-nav-list .list-group-item.active {
    background: var(--primary-subtle);
    color: var(--primary);
    border-color: rgba(74, 20, 140, 0.15);
}

.nav-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bg-purple-subtle {
    background: #f3e8ff;
    color: #7e22ce;
}

.bg-warning-subtle {
    background: #fef3c7;
    color: #b45309;
}

.bg-danger-subtle {
    background: #fee2e2;
    color: #b91c1c;
}

.bg-success-subtle {
    background: #dcfce7;
    color: #15803d;
}

.bg-info-subtle {
    background: #e0f2fe;
    color: #0369a1;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Polish (Swiggy / Zomato Standards)
   ========================================================================== */

/* Universal Touch & Scroll Smoothness */
.scrollbar-none {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
    display: none;
}

.overflow-auto, .overflow-x-auto {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 575.98px) {
    /* Header Polish */
    .brand-logo-img {
        max-height: 34px !important;
    }
    
    .cart-nav-btn {
        padding: 6px 12px !important;
    }

    /* Hero Banner Mobile Scaling */
    .hero-banner {
        padding: 1.5rem 1rem !important;
        border-radius: 18px !important;
    }

    .hero-title {
        font-size: 1.55rem !important;
        line-height: 1.25 !important;
    }

    /* 6-Tile Grid on Small Phones */
    .service-tile {
        padding: 14px 10px !important;
    }

    .service-icon-wrap {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.25rem !important;
    }

    .service-tile-title {
        font-size: 0.85rem !important;
    }

    /* Store Cards */
    .store-img {
        height: 175px !important;
    }

    /* Swiggy / Zomato Product Item Row Mobile Format */
    .food-item-row {
        padding: 1rem 0.85rem !important;
        gap: 0.85rem !important;
    }

    .food-item-img-box {
        width: 105px !important;
        height: 105px !important;
        flex-shrink: 0;
    }

    .food-item-img-box img {
        width: 105px !important;
        height: 105px !important;
        object-fit: cover;
        border-radius: 12px;
    }

    .product-action-wrap {
        bottom: -10px !important;
    }

    .product-action-wrap .btn-add-food,
    .product-action-wrap .qty-counter {
        min-width: 84px !important;
        padding: 4px 10px !important;
        font-size: 0.78rem !important;
    }

    /* Interactive Map Container */
    #transportMap {
        min-height: 250px !important;
        height: 250px !important;
    }

    /* Modals Safe Margins */
    .modal-dialog {
        margin: 0.75rem;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    #transportMap {
        min-height: 320px !important;
    }
}