/* ============================================
   HUNGRIEE — Premium Food Delivery CSS
   ============================================ */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
    color-scheme: dark;

    /* Colors */
    --bg-primary: #151210;
    --bg-secondary: #1a1715;
    --bg-card: #211c19;
    --bg-card-hover: #2a211c;
    --bg-glass: rgba(33, 28, 25, 0.78);

    --text-primary: #f7f1e9;
    --text-secondary: #bcaea4;
    --text-muted: #81766e;

    --accent: #f26b3a;
    --accent-light: #f57d4f;
    --accent-dark: #d9562c;
    --accent-glow: rgba(242, 107, 58, 0.24);

    --gold: #f5c36a;
    --gold-light: #ffd889;
    --green: #2ecc71;
    --red: #ff4757;

    --gradient-primary: linear-gradient(135deg, #f26b3a, #f57d4f, #f5c36a);
    --gradient-dark: linear-gradient(180deg, #151210 0%, #1a1715 100%);
    --gradient-card: linear-gradient(145deg, rgba(242, 107, 58, 0.07), rgba(245, 195, 106, 0.025));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));

    /* Borders */
    --border-color: rgba(247, 241, 233, 0.1);
    --border-accent: rgba(242, 107, 58, 0.38);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.2);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1280px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50px;
}

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

dialog {
    margin: auto;
}

/* Browser autofill dark mode preservation */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #211c19 inset !important;
    -webkit-text-fill-color: var(--text-primary, #f7f1e9) !important;
    caret-color: var(--text-primary, #f7f1e9) !important;
    transition: background-color 5000s ease-in-out 0s;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-secondary);
}

html::-webkit-scrollbar {
    width: 8px;
}
html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
html::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.accent {
    color: var(--accent);
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 220px;
    height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.loader::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 120px;
    height: 2px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent, var(--accent), transparent)
        0 0 / 42% 100% no-repeat,
        rgba(247, 241, 233, 0.18);
    transform: translateX(-50%);
    overflow: hidden;
    animation: loader-progress 1.8s ease-in-out infinite;
}

.loader-core {
    position: relative;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    animation: loader-fade 1.8s ease-in-out infinite;
}

.loader-core img {
    width: 30px;
    height: 30px;
}

.loader-wordmark {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.loader-wordmark span {
    color: var(--accent);
}

@keyframes loader-fade {
    0%, 100% { opacity: 0.62; }
    50% { opacity: 1; }
}

@keyframes loader-progress {
    0% { background-position: -42% 0, 0 0; }
    100% { background-position: 142% 0, 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .loader-core,
    .loader::after {
        animation-duration: 3s;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}


/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    z-index: 1001;
}
.logo-icon {
    display: block;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.nav-links {
    display: flex;
    gap: 8px;
}
.nav-link {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link:hover::before, .nav-link.active::before {
    width: 60%;
}

@media (min-width: 769px) {
    .nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-links .nav-link {
        padding: 10px 22px;
        font-size: 1.05rem;
    }
}

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

.cart-btn {
    position: relative;
    background: transparent;
    color: var(--text-primary);
    padding: 10px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}
.cart-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
}

.profile-nav-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-primary);
    transition: var(--transition-base);
    text-decoration: none;
    cursor: pointer;
    position: relative;
}
.profile-nav-btn:hover {
    background: rgba(242, 107, 58, 0.12);
    color: #f5c36a;
}
.profile-nav-btn.logged-in {
    background: transparent;
    border: 0;
    color: var(--text-primary);
}
.profile-nav-btn.logged-in:hover {
    background: rgba(242, 107, 58, 0.12);
    color: #f5c36a;
}
.profile-nav-btn.logged-in::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid var(--bg-primary, #0d0d12);
}

.location-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.location-summary {
    display: none;
    max-width: 132px;
    overflow: hidden;
    color: #d7c9bd;
    font-family: var(--font-heading);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-summary.visible {
    display: inline-block;
}

.location-btn:hover {
    background: rgba(242, 107, 58, 0.12);
    color: #f5c36a;
}
.cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: white;
    font-size: 0.74rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}
.cart-count.bounce {
    animation: cartBounce 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.delivery-location-dialog {
    position: fixed;
    top: var(--location-popover-top, 70px);
    left: var(--location-popover-left, 16px);
    right: auto;
    width: min(280px, calc(100vw - 32px));
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(247, 241, 233, 0.12);
    border-radius: 14px;
    background: #1a1715;
    color: var(--text-primary);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 250, 245, 0.04);
    z-index: 1100;
}

.delivery-location-dialog::backdrop {
    background: transparent;
}

.delivery-location-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

@keyframes cartBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

.order-btn {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}
.order-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition-base);
}
.order-btn:hover::before {
    opacity: 1;
}
.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 8px;
    z-index: 1001;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    top: -200px;
    right: -100px;
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 201, 71, 0.1), transparent 70%);
    bottom: -100px;
    left: -100px;
}

/* Floating food accents */
.floating-element {
    position: absolute;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    opacity: 0.78;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    font-size: 2rem;
    line-height: 1;
    filter: saturate(0.85) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
    animation: floatFood 8s ease-in-out infinite;
    pointer-events: none;
}

.floating-element::before { content: attr(data-emoji); }

.fe-2,
.fe-5 {
    font-size: 1.7rem;
    opacity: 0.68;
}

.fe-3,
.fe-6 {
    width: 36px;
    height: 36px;
    font-size: 1.65rem;
    opacity: 0.62;
}

.fe-1 { top: 14%; left: 5%; animation-delay: 0s; animation-duration: 7s; }
.fe-2 { bottom: 20%; left: 8%; animation-delay: 1s; animation-duration: 9s; }
.fe-3 { top: 16%; right: 8%; animation-delay: 2s; animation-duration: 8s; }
.fe-4 { bottom: 25%; right: 5%; animation-delay: 0.5s; animation-duration: 10s; }
.fe-5 { top: 38%; right: 31%; animation-delay: 1.5s; animation-duration: 7.5s; }
.fe-6 { bottom: 24%; right: 29%; animation-delay: 3s; animation-duration: 8.5s; }

@keyframes floatFood {
    0%, 100% { transform: translate(0, 0) rotate(-4deg); }
    50% { transform: translate(12px, -18px) rotate(5deg); }
}

@media (max-width: 680px) {
    .hero-bg-elements .floating-element {
        display: none;
    }

    .hero-bg-elements .fe-1,
    .hero-bg-elements .fe-4 {
        display: grid;
    }

    .hero-bg-elements .fe-1 {
        top: 17%;
        right: 6%;
        left: auto;
    }

    .hero-bg-elements .fe-4 {
        top: 91%;
        right: auto;
        left: auto;
        right: 3%;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 24px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}
.title-line {
    display: block;
}
.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 20px;
    margin-bottom: 40px;
    max-width: 520px;
    transition: var(--transition-base);
}
.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}
.search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}
.search-box input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 42px;
    outline: none;
}
.search-box input::placeholder {
    color: var(--text-muted);
}
.search-btn {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.search-btn:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-glow);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.hero-stat {
    text-align: center;
}
.hero-stat-value {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    min-width: 7.5rem;
    line-height: 1;
    white-space: nowrap;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}
.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

@media (min-width: 681px) {
    .hero-stats {
        gap: 28px;
    }

    .hero-stat {
        min-width: 132px;
        padding: 14px 6px 12px;
        border: 1px solid rgba(247, 241, 233, 0.1);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.025);
    }

    .hero-stat-value {
        min-width: 8.5rem;
    }

    .stat-number {
        font-size: 2rem;
        letter-spacing: -0.04em;
        font-variant-numeric: tabular-nums;
    }

    .stat-suffix {
        font-size: 1.1rem;
        margin-left: 2px;
    }

    .stat-label {
        margin-top: 8px;
        color: rgba(247, 241, 233, 0.62);
        font-size: 0.72rem;
        font-weight: 500;
        letter-spacing: 0.02em;
    }

    .hero-stat-divider {
        height: 44px;
        background: rgba(247, 241, 233, 0.14);
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 107, 53, 0.2);
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}
.hero-image-wrapper:hover .hero-image {
    transform: scale(1.1);
}
.hero-image-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    z-index: -1;
    animation: heroGlowDrift 8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes heroGlowDrift {
    0%, 100% {
        opacity: 0.72;
        transform: translate(0, 0) scale(0.98);
    }
    50% {
        opacity: 1;
        transform: translate(8px, -6px) scale(1.04);
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 4s ease-in-out infinite;
    box-shadow: var(--shadow-md);
    z-index: 3;
}
.fc-1 {
    top: 10%;
    right: -30px;
    animation-delay: 0s;
}
.fc-1 img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.fc-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}
.fc-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
}

.fc-2 {
    bottom: 25%;
    right: -10px;
    animation-delay: 1s;
}
.fc-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}
.fc-rating-icon {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
}
.fc-rating-icon svg {
    display: block;
}
.fc-rating-text {
    font-weight: 700;
    font-size: 1.1rem;
}
.fc-reviews {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fc-3 {
    bottom: 10%;
    left: -10px;
    animation-delay: 2s;
}
.delivery-anim span {
    display: inline-block;
    color: var(--accent);
    line-height: 1;
    animation: deliveryMove 2s ease-in-out infinite;
}
.delivery-icon {
    display: inline-flex !important;
    align-items: center;
}
.delivery-icon svg {
    display: block;
}
@keyframes deliveryMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}
.fc-delivery {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0.5; }
}

@media (max-width: 680px) {
    .hero-scroll-indicator {
        bottom: 18px;
        gap: 6px;
        padding: 8px 12px 9px;
        border: 1px solid rgba(245, 195, 106, 0.18);
        border-radius: 999px;
        background: rgba(33, 28, 25, 0.68);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        color: #bcaea4;
        font-size: 0.58rem;
        letter-spacing: 0.18em;
    }

    .scroll-line {
        height: 22px;
        background: linear-gradient(to bottom, #f5c36a, transparent);
    }
}

/* ---------- Section Commons ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: var(--section-padding);
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), var(--accent), transparent);
    opacity: 0.2;
}

.step-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    transition: var(--transition-slow);
}
.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.location-step-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.85fr);
    align-items: center;
    gap: 22px;
    text-align: left;
}

.step-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.85fr);
    align-items: center;
    gap: 22px;
    text-align: left;
}

.step-detail-copy .step-icon-wrapper {
    margin: 0 0 18px;
}

.step-detail-copy .step-title {
    margin-bottom: 8px;
}

.dish-picks-panel,
.delivery-progress-panel {
    display: flex;
    min-height: 178px;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
}

.dish-pick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 600;
}

.dish-pick-item span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 107, 53, 0.1);
}

.progress-preview-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.progress-preview-step > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
}

.progress-preview-step.is-complete,
.progress-preview-step.is-active {
    color: var(--text-primary);
}

.progress-preview-step.is-complete > span {
    border-color: rgba(67, 190, 125, 0.4);
    background: rgba(67, 190, 125, 0.14);
    color: #74e5a1;
}

.progress-preview-step.is-active > span {
    border-color: var(--border-accent);
    color: var(--accent);
}

.location-step-copy .step-icon-wrapper {
    margin: 0 0 18px;
}

.location-step-copy .step-title {
    margin-bottom: 8px;
}

.location-step-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 700;
}

.location-area-panel {
    display: flex;
    min-height: 148px;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
}

.location-area-label {
    color: var(--text-muted);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.location-area-name {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.3;
}

.location-area-pin {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.45;
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.05);
    line-height: 1;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.step-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 107, 53, 0.15);
    animation: spin 20s linear infinite;
}
.step-icon {
    font-size: 2rem;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.step-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---------- Popular Dishes ---------- */
.popular-dishes {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}
.popular-dishes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.dishes-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
}
.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.dish-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}
.dish-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dish-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.dish-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.dish-card:hover .dish-image-wrapper img {
    transform: scale(1.1);
}

.dish-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}
.dish-badge.veg {
    background: #092b19;
    color: #b7ffd0;
    border: 1px solid #39d879;
}
.dish-badge.non-veg {
    background: #351018;
    color: #ffd0d4;
    border: 1px solid #ff6474;
}

.dish-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dish-rating .dish-rating-star {
    color: #f5c451;
    line-height: 1;
}

.dish-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}
.dish-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.3;
    min-height: 2.6em;
    font-weight: 700;
    margin-bottom: 6px;
}
.dish-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    min-height: 2.55em;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dish-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-bottom: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
}
.dish-prep-time {
    color: var(--text-secondary);
}
.dish-prep-time > span {
    color: var(--gold);
    font-size: 0.9rem;
}
.dish-reviews {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    white-space: nowrap;
    text-align: right;
}
.dish-reviews-star {
    color: var(--gold);
    font-size: 0.85rem;
    line-height: 1;
}
.dish-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.dish-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
}
.dish-add-btn {
    padding: 10px 20px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.dish-add-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.05);
}

@media (min-width: 769px) {
    .dish-card {
        background: #1a1715;
        border-color: rgba(247, 241, 233, 0.09);
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }

    .dish-card:hover {
        border-color: rgba(242, 107, 58, 0.42);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
        transform: translateY(-5px);
    }

    .dish-image-wrapper {
        height: 218px;
        background: #2a211c;
    }

    .dish-image-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 7, 6, 0.08) 35%, rgba(8, 7, 6, 0.48) 100%);
        pointer-events: none;
    }

    .dish-image-wrapper img {
        transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), filter 0.7s ease;
    }

    .dish-card:hover .dish-image-wrapper img {
        transform: scale(1.045);
        filter: saturate(1.08);
    }

    .dish-badge,
    .dish-rating {
        top: 14px;
        z-index: 2;
        border-radius: 7px;
        font-size: 0.64rem;
        letter-spacing: 0.1em;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .dish-badge {
        left: 14px;
        padding: 7px 9px;
        text-shadow: none;
        box-shadow: none;
    }

    .dish-rating {
        right: 14px;
        padding: 7px 9px;
        background: rgba(12, 10, 9, 0.68);
        border: 1px solid rgba(247, 241, 233, 0.14);
        color: #f8e6b6;
        letter-spacing: 0.02em;
    }

    .dish-rating .dish-rating-star {
        color: #f5c451;
        font-size: 0.85rem;
        line-height: 1;
    }

    .dish-info {
        padding: 18px 18px 17px;
    }

    .dish-name {
        min-height: 0;
        margin-bottom: 8px;
        font-size: 1.17rem;
        letter-spacing: -0.025em;
    }

    .dish-desc {
        min-height: 2.7em;
        margin-bottom: 13px;
        color: #a99b91;
        font-size: 0.81rem;
    }

    .dish-meta {
        border-top-color: rgba(247, 241, 233, 0.08);
        color: #81766e;
        font-size: 0.7rem;
    }

    .dish-prep-time {
        color: #bcaea4;
    }

    .dish-prep-time > span,
    .dish-reviews-star {
        color: #e9b85c;
    }

    .dish-price {
        color: #f5c36a;
        font-size: 1.38rem;
        letter-spacing: -0.03em;
    }

    .dish-add-btn {
        min-width: 78px;
        justify-content: center;
        padding: 9px 13px;
        border-radius: 9px;
        background: transparent;
        border-color: rgba(242, 107, 58, 0.5);
        color: #f26b3a;
        font-size: 0.78rem;
    }

    .dish-card-quantity {
        min-height: 34px;
    }

    .dish-card-qty-btn {
        width: 28px;
        height: 32px;
    }
}

.dish-card-action {
    display: flex;
    min-width: 78px;
    justify-content: flex-end;
}

.dish-card-quantity {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    overflow: hidden;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    background: rgba(255, 107, 53, 0.1);
    color: var(--text-primary);
}

.dish-card-quantity span {
    min-width: 25px;
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.dish-card-qty-btn {
    display: grid;
    width: 32px;
    height: 36px;
    place-items: center;
    background: transparent;
    color: var(--accent);
    font-size: 1.1rem;
    line-height: 1;
}

.dish-card-qty-btn:hover {
    background: var(--accent);
    color: white;
}

.dishes-cta {
    text-align: center;
    margin-top: 48px;
}
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.btn-primary.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ---------- Stats Banner ---------- */
.stats-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 201, 71, 0.05));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow-anchor: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 24px;
}
.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}
.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid .counter {
    display: inline-block;
    min-width: 4ch;
    text-align: right;
}
.stat-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (min-width: 769px) {
    .stats-banner {
        padding: 96px 0;
    }

    .stats-grid {
        gap: 44px;
    }

    .stats-grid .stat-item {
        padding: 28px 20px;
    }

    .stats-grid .stat-icon {
        margin-bottom: 18px;
        font-size: 3.5rem;
        line-height: 1;
    }

    .stats-grid .stat-value {
        margin-bottom: 10px;
        font-size: 3.2rem;
    }

    .stats-grid .stat-name {
        font-size: 1.05rem;
    }
}

/* ---------- Special Offers ---------- */
.special-offers {
    padding: var(--section-padding);
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.offer-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    transition: var(--transition-slow);
    cursor: pointer;
}
.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.offer-card:hover .offer-bg {
    transform: scale(1.05);
}

.offer-large {
    grid-row: 1 / 3;
    min-height: 580px;
}

.offer-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}
.offer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent);
}

.offer-content {
    position: relative;
    padding: 32px;
    z-index: 2;
    width: 100%;
}
.offer-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.offer-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.offer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.offer-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
}
.offer-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
}
.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 700px;
    margin-bottom: 32px;
    font-style: italic;
    position: relative;
}
.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.author-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
}
.author-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}
.author-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.testi-btn {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.testi-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.testi-dots {
    display: flex;
    gap: 8px;
}
.testi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-base);
}
.testi-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ---------- App CTA ---------- */
.app-cta {
    padding: var(--section-padding);
}

.app-cta-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.app-cta-wrapper::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 70%);
    border-radius: 50%;
}

.app-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.app-cta-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.app-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-base);
}
.app-store-btn:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.app-store-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.app-store-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.phone-mockup {
    width: 280px;
    height: 500px;
    background: var(--bg-primary);
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--bg-primary);
    border-radius: 12px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
}

/* ---------- Footer ---------- */
.footer {
    padding: 80px 0 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.social-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-base);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-bottom-links {
    display: flex;
    gap: 24px;
}
.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-bottom-links a:hover {
    color: var(--accent);
}

/* ---------- Cart Sidebar ---------- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}
.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}
.cart-header-count {
    color: var(--text-muted);
    font-weight: 400;
}
.cart-close {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--radius-sm);
}
.cart-close:hover {
    color: var(--accent);
    background: rgba(255, 107, 53, 0.1);
}

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

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    color: var(--text-muted);
}
.cart-empty-icon {
    font-size: 3rem;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    animation: fadeInUp 0.3s ease;
}
.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}
.cart-item-info {
    flex: 1;
}
.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.cart-item-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.cart-qty-btn {
    width: 28px;
    height: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-base);
}
.cart-qty-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}
.cart-qty {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    user-select: none;
}
.cart-item-remove {
    background: transparent;
    color: var(--red);
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    user-select: none;
    transition: var(--transition-base);
}
.cart-item-remove:hover {
    background: rgba(255, 71, 87, 0.15);
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}
.cart-summary {
    margin-bottom: 20px;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.cart-total {
    font-size: 1.1rem !important;
    font-weight: 700;
    color: var(--text-primary) !important;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
}
.checkout-btn:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 900;
    box-shadow: var(--shadow-glow);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.4);
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-search {
        display: flex;
        justify-content: center;
    }
    .search-box {
        max-width: 100%;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .hero-image-wrapper {
        width: 350px;
        height: 350px;
    }
    .fc-1 { right: 10px; }
    .fc-3 { left: 10px; }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .steps-grid::before {
        display: none;
    }

    .location-step-card {
        grid-template-columns: minmax(0, 1fr) minmax(160px, 0.85fr);
        gap: 24px;
    }

    .step-detail-card {
        grid-template-columns: minmax(0, 1fr) minmax(160px, 0.85fr);
        gap: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }
    .offer-large {
        grid-row: auto;
        min-height: 350px;
    }

    .app-cta-wrapper {
        grid-template-columns: 1fr;
        padding: 48px;
        text-align: center;
    }
    .app-buttons {
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }
    .nav-link {
        font-size: 1.2rem;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .order-btn {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }
    .floating-card {
        display: none;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    .hero-stat-divider {
        display: none;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .app-cta-wrapper {
        padding: 32px;
    }
    .phone-mockup {
        width: 220px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .location-step-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* ---------- Premium editorial refresh ---------- */
    :root {
        --bg-primary: #0d0c0b;
        --bg-secondary: #151311;
        --bg-card: #1c1917;
        --bg-card-hover: #25201d;
        --bg-glass: rgba(28, 25, 23, 0.82);
        --text-primary: #f7f1e9;
        --text-secondary: #b8aaa0;
        --text-muted: #81766e;
        --accent: #f26b3a;
        --accent-light: #ff9a68;
        --accent-dark: #d9562b;
        --accent-glow: rgba(242, 107, 58, 0.18);
        --gold: #e9b85c;
        --border-color: rgba(247, 241, 233, 0.1);
        --border-accent: rgba(242, 107, 58, 0.48);
        --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.2);
        --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.42);
        --shadow-glow: 0 14px 38px rgba(242, 107, 58, 0.14);
        --radius-md: 10px;
        --radius-lg: 16px;
        --radius-xl: 22px;
    }

    body {
        background:
            radial-gradient(circle at 78% -10%, rgba(242, 107, 58, 0.09), transparent 30rem),
            var(--bg-primary);
    }

    ::selection {
        background: var(--accent);
        color: #fff;
    }

    :focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 3px;
    }

    .navbar {
        padding: 18px 0;
    }

    .navbar.scrolled {
        background: rgba(13, 12, 11, 0.9);
        border-bottom-color: rgba(247, 241, 233, 0.12);
        padding: 12px 0;
    }

    .nav-logo {
        letter-spacing: -0.04em;
    }

    .nav-link {
        border-radius: 10px;
        letter-spacing: 0.01em;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(242, 107, 58, 0.08);
    }

    .nav-link::before {
        bottom: 2px;
    }

    .cart-btn {
        border: 1px solid transparent;
    }

    .cart-btn:hover {
        border-color: var(--border-color);
        background: rgba(255, 255, 255, 0.04);
    }

    .order-btn,
    .checkout-btn,
    .place-order-btn,
    .btn-primary {
        border-radius: 11px;
        box-shadow: 0 8px 20px rgba(242, 107, 58, 0.12);
    }

    .order-btn:hover,
    .checkout-btn:hover,
    .place-order-btn:hover,
    .btn-primary:hover {
        box-shadow: 0 14px 30px rgba(242, 107, 58, 0.2);
    }

    .hero {
        background:
            linear-gradient(110deg, rgba(13, 12, 11, 0.9) 0%, rgba(13, 12, 11, 0.62) 50%, rgba(13, 12, 11, 0.2) 100%),
            var(--bg-primary);
    }

    .hero-title,
    .section-title,
    .page-hero-title {
        letter-spacing: -0.055em;
    }

    .hero-subtitle,
    .section-subtitle,
    .page-hero-subtitle {
        color: #bfb2a8;
    }

    .hero-image-wrapper,
    .floating-card,
    .dish-card,
    .contact-card,
    .contact-form-wrapper,
    .cart-sidebar,
    .modal-container {
        box-shadow: var(--shadow-md);
    }

    .hero-image-wrapper {
        border: 1px solid rgba(247, 241, 233, 0.14);
    }

    .section-tag {
        color: var(--gold);
        letter-spacing: 0.14em;
    }

    .dish-card {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)), var(--bg-card);
        border-color: rgba(247, 241, 233, 0.1);
        border-radius: 16px;
    }

    .dish-card:hover {
        border-color: var(--border-accent);
        transform: translateY(-6px);
    }

    .dish-image-wrapper {
        background: #27211e;
    }

    .dish-add-btn {
        border-radius: 9px;
    }

    .special-offers,
    .testimonials-section,
    .app-cta {
        background: rgba(255, 255, 255, 0.018);
    }

    .footer {
        border-top-color: rgba(247, 241, 233, 0.1);
    }

    /* ---------- Dish card refinement ---------- */
    .dishes-grid {
        gap: 22px;
    }

    .dish-card {
        border-radius: 18px;
        background: #1a1715;
        border-color: rgba(247, 241, 233, 0.09);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }

    .dish-card:hover {
        transform: translateY(-5px);
        border-color: rgba(242, 107, 58, 0.42);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
    }

    .dish-image-wrapper {
        height: 218px;
        background: #2a211c;
    }

    .dish-image-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 7, 6, 0.08) 35%, rgba(8, 7, 6, 0.48) 100%);
        pointer-events: none;
    }

    .dish-image-wrapper img {
        transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), filter 0.7s ease;
    }

    .dish-card:hover .dish-image-wrapper img {
        transform: scale(1.045);
        filter: saturate(1.08);
    }

    .dish-badge,
    .dish-rating {
        top: 14px;
        z-index: 2;
        border-radius: 7px;
        font-size: 0.64rem;
        letter-spacing: 0.1em;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .dish-badge {
        left: 14px;
        padding: 7px 9px;
        text-shadow: none;
        box-shadow: none;
    }

    .dish-badge.veg {
        background: rgba(11, 42, 26, 0.82);
        color: #b9f3c9;
        border-color: rgba(100, 222, 133, 0.5);
    }

    .dish-badge.non-veg {
        background: rgba(55, 22, 19, 0.82);
        color: #ffd0c0;
        border-color: rgba(242, 107, 58, 0.55);
    }

    .dish-rating {
        right: 14px;
        padding: 7px 9px;
        background: rgba(12, 10, 9, 0.68);
        border: 1px solid rgba(247, 241, 233, 0.14);
        color: #f8e6b6;
        letter-spacing: 0.02em;
    }

    .dish-rating .dish-rating-star {
        color: var(--gold);
        font-size: 0.85rem;
        line-height: 1;
    }

    .dish-info {
        padding: 18px 18px 17px;
    }

    .dish-category {
        display: block;
        margin-bottom: 7px;
        color: var(--accent-light);
        font-size: 0.63rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        line-height: 1;
        text-transform: uppercase;
    }

    .dish-name {
        min-height: 0;
        margin-bottom: 8px;
        font-size: 1.17rem;
        letter-spacing: -0.025em;
    }

    .dish-desc {
        min-height: 2.7em;
        margin-bottom: 13px;
        color: #a99b91;
        font-size: 0.81rem;
    }

    .dish-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-top: 12px;
        margin-bottom: 15px;
        border-top: 1px solid rgba(247, 241, 233, 0.08);
        color: var(--text-muted);
        font-size: 0.7rem;
    }

    .dish-prep-time {
        color: #bcaea4;
    }

    .dish-prep-time > span {
        color: var(--gold);
        font-size: 0.85rem;
    }

    .dish-reviews {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin-left: auto;
        white-space: nowrap;
        text-align: right;
    }

    .dish-reviews-star {
        color: var(--gold);
        font-size: 0.8rem;
        line-height: 1;
    }

    .dish-bottom {
        padding-top: 1px;
    }

    .dish-price {
        color: #f5c36a;
        font-size: 1.38rem;
        letter-spacing: -0.03em;
    }

    .dish-add-btn {
        min-width: 78px;
        justify-content: center;
        padding: 9px 13px;
        border-radius: 9px;
        background: transparent;
        border-color: rgba(242, 107, 58, 0.5);
        font-size: 0.78rem;
    }

    .dish-card-action {
        min-width: 78px;
    }

    .dish-card-quantity {
        min-height: 34px;
    }

    .dish-card-qty-btn {
        width: 28px;
        height: 32px;
    }

    .dish-add-btn > span:first-child {
        font-size: 1.05rem;
        font-weight: 400;
        line-height: 0.8;
    }

    .dish-add-btn:hover {
        transform: translateY(-1px);
        background: var(--accent);
        border-color: var(--accent);
    }

    @media (max-width: 480px) {
        .dish-image-wrapper {
            height: 190px;
        }

        .dish-info {
            padding: 16px;
        }

        .dish-meta {
            font-size: 0.68rem;
        }
    }

    .step-detail-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .location-step-copy .step-icon-wrapper {
        margin-left: auto;
        margin-right: auto;
    }

    .location-step-copy,
    .step-detail-copy {
        text-align: center;
    }

    .step-detail-copy .step-icon-wrapper {
        margin-left: auto;
        margin-right: auto;
    }

    .location-area-panel,
    .dish-picks-panel,
    .delivery-progress-panel {
        min-height: auto;
        text-align: center;
    }

    .search-box {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 8px;
    }
    .search-box input {
        text-align: center;
    }
    .search-btn {
        width: 100%;
    }

    .dishes-filter {
        gap: 6px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .testimonial-card {
        padding: 24px 16px;
    }
    .testimonial-text {
        font-size: 1rem;
    }

    .app-buttons {
        flex-direction: column;
    }
    .app-store-btn {
        justify-content: center;
    }
}

/* ============================================
   MODALS (Quick View, Checkout, Order Tracker)
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 107, 53, 0.15);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition-base);
}

.modal-close:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

/* ---------- Quick View Modal ---------- */
.quickview-body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    padding: 32px;
}

.quickview-image-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    min-height: 280px;
}

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

.quickview-details {
    display: flex;
    flex-direction: column;
}

.quickview-header {
    margin-bottom: 12px;
}

.quickview-tags {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.quickview-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.quickview-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
}

.quickview-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.meta-item {
    text-align: center;
}

.meta-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.meta-item strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.portion-selector {
    margin-bottom: 20px;
}

.portion-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.portion-options {
    display: flex;
    gap: 10px;
}

.portion-btn {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.portion-btn.active {
    background: rgba(255, 107, 53, 0.15);
    border-color: var(--accent);
    color: var(--accent-light);
}

.quickview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.quickview-price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
}

.quickview-add-btn {
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.quickview-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 107, 53, 0.5);
}

/* ---------- Checkout Modal ---------- */
.checkout-modal-content {
    padding: 36px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 28px;
}

.checkout-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.checkout-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
}

.checkout-section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.checkout-form-group {
    margin-bottom: 14px;
}

.address-autocomplete-wrap {
    position: relative;
}

.address-autocomplete-wrap:has(#orderAddress[aria-expanded="true"]) #orderAddress {
    border-color: rgba(255, 107, 53, 0.55);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.address-suggestions {
    position: absolute;
    z-index: 80;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid rgba(255, 107, 53, 0.45);
    border-top: 0;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background: #171720;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.address-suggestions[hidden] {
    display: none;
}

.address-suggestion-option {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 3px;
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    background: transparent;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.address-suggestion-option:hover,
.address-suggestion-option.active {
    background: rgba(255, 107, 53, 0.12);
}

.address-suggestion-option strong {
    font-size: 0.82rem;
    font-weight: 700;
}

.address-suggestion-option span,
.address-suggestion-message {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.address-suggestion-message {
    padding: 14px;
}

.address-suggestion-attribution {
    padding: 8px 12px;
    color: var(--text-muted);
    font-size: 0.62rem;
    text-align: right;
}

.checkout-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.checkout-input, .checkout-select, .checkout-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-base);
    font-family: var(--font-body);
}

.checkout-input:focus, .checkout-select:focus, .checkout-textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.use-current-location-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    background: rgba(255, 107, 53, 0.08);
    color: var(--accent-light);
    font-size: 0.88rem;
    font-weight: 700;
}

.use-current-location-btn:hover:not(:disabled) {
    background: rgba(255, 107, 53, 0.16);
    border-color: var(--accent);
}

.use-current-location-btn:disabled {
    cursor: wait;
    opacity: 0.65;
}

.use-current-location-btn > span {
    font-size: 1.2rem;
    line-height: 1;
}

.current-location-status {
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

.current-location-status[data-state="success"] {
    color: #74e5a1;
}

.current-location-status[data-state="error"] {
    color: #ff929b;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.payment-btn {
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-base);
}

.payment-btn span.pay-icon {
    font-size: 1.4rem;
}

.payment-btn.active {
    border-color: var(--accent);
    background: rgba(255, 107, 53, 0.12);
    color: var(--text-primary);
}

/* Coupon Box */
.coupon-box {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.coupon-input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
}

.coupon-apply-btn {
    padding: 10px 18px;
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
}

.coupon-apply-btn:hover {
    background: var(--accent);
    color: white;
}

.applied-coupon-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(46, 204, 113, 0.15);
    color: var(--green);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.applied-coupon-pill button {
    background: transparent;
    border: none;
    color: var(--green);
    cursor: pointer;
    font-size: 0.9rem;
}

/* Order Summary Box */
.checkout-summary-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.checkout-items-list {
    max-height: 140px;
    overflow-y: auto;
    margin-bottom: 16px;
    padding-right: 4px;
}

.checkout-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.checkout-total-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkout-total-row.discount-row {
    color: var(--green);
    font-weight: 600;
}

.checkout-total-row.grand-total {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.place-order-btn {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-base);
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 107, 53, 0.55);
}

/* ---------- Order Success & Tracker Modal ---------- */
.success-modal-content {
    padding: 40px 32px;
    text-align: center;
}

.modal-container.tracking-modal {
    max-width: 880px;
    max-height: min(920px, calc(100dvh - 32px));
    overflow: hidden;
}

.tracking-modal .success-modal-content {
    max-height: min(920px, calc(100dvh - 32px));
    margin-right: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tracking-modal .success-modal-content::-webkit-scrollbar {
    display: none;
}

.tracking-modal .modal-close {
    top: 14px;
    right: 14px;
}

.tracking-modal .success-modal-content {
    padding: 26px 30px 24px;
}

.tracking-modal .success-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
    font-size: 2rem;
}

.tracking-modal .success-title {
    margin-bottom: 4px;
    font-size: 1.8rem;
}

.tracking-modal .success-order-id {
    margin-bottom: 12px;
}

.tracking-modal .tracking-map-card {
    margin-bottom: 18px;
}

.tracking-modal .order-tracker-timeline {
    margin-bottom: 20px;
}

.tracking-modal .estimated-delivery-box {
    margin-bottom: 18px;
}

.tracking-map-card {
    max-width: 760px;
    margin: 0 auto 28px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    text-align: left;
}

.tracking-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
}

.tracking-map-header > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tracking-map-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.tracking-map-kicker i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #74e5a1;
    box-shadow: 0 0 10px rgba(116, 229, 161, 0.7);
}

.tracking-map-header strong {
    color: var(--text-primary);
    font-size: 0.92rem;
}

.tracking-distance {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
}

.order-tracking-map {
    width: 100%;
    height: 300px;
    background: #242a2b;
}

.tracking-map-loading {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 180px;
    place-items: center;
    padding: 24px;
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.88rem;
}

.tracking-map-note {
    margin: 0;
    padding: 10px 16px 12px;
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.5;
}

.tracking-rider-card {
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 760px;
    margin: 0 auto 20px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    text-align: left;
}

.tracking-rider-avatar {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid rgba(255, 201, 71, 0.35);
    border-radius: 50%;
    background: rgba(255, 201, 71, 0.12);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 800;
}

.tracking-rider-details {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.tracking-rider-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.tracking-rider-label span {
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 201, 71, 0.12);
    color: var(--gold);
    font-size: 0.54rem;
    letter-spacing: 0.04em;
}

.tracking-rider-details > strong {
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.91rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tracking-rider-details > small,
.tracking-rider-rating small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.tracking-rider-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    color: var(--gold);
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
}

.tracking-rider-score {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.tracking-rider-score strong {
    color: var(--text-primary);
    font-size: 0.83rem;
    line-height: 1.2;
}

.tracking-rider-rating small {
    display: block;
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.2;
    margin: 0;
    text-align: right;
}

.tracking-modal .tracking-rider-card {
    margin-bottom: 18px;
}

.tracking-rider-icon,
.tracking-destination-icon {
    display: grid;
    place-items: center;
    background: transparent;
}

.tracking-rider-icon span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 2px solid white;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    font-size: 1.25rem;
}

.tracking-destination-icon span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 2px solid white;
    border-radius: 50%;
    background: #2eaa70;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 1.1rem;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin: 0 auto 20px;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.success-order-id {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(255, 201, 71, 0.15);
    color: var(--gold);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Tracker Timeline */
.order-tracker-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 480px;
    margin: 0 auto 32px;
    padding: 0 10px;
}

.order-tracker-timeline::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.tracker-progress-bar {
    position: absolute;
    top: 22px;
    left: 40px;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 2;
    transition: width 1s ease;
    width: 35%;
}

.tracker-node {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tracker-node-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.tracker-node.completed .tracker-node-circle {
    background: var(--accent);
    border-color: var(--accent-light);
    box-shadow: 0 0 16px rgba(255, 107, 53, 0.5);
}

.tracker-node.active .tracker-node-circle {
    background: var(--bg-secondary);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 201, 71, 0.6);
    animation: pulseNode 1.5s infinite;
}

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

.tracker-node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.tracker-node.completed .tracker-node-label,
.tracker-node.active .tracker-node-label {
    color: var(--text-primary);
}

.estimated-delivery-box {
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 480px;
    margin: 0 auto 28px;
}

.eta-item {
    text-align: center;
}

.eta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.eta-val {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
}

.order-modal-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* Pure Veg Switch on Menu */
.veg-filter-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.25);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    user-select: none;
    transition: var(--transition-base);
}

.veg-filter-switch.active {
    background: rgba(46, 204, 113, 0.2);
    border-color: var(--green);
}

.switch-toggle {
    width: 38px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    position: relative;
    transition: var(--transition-base);
}

.veg-filter-switch.active .switch-toggle {
    background: var(--green);
}

.switch-toggle::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform var(--transition-base);
}

.veg-filter-switch.active .switch-toggle::before {
    transform: translateX(18px);
}

.veg-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Media queries for modals */
@media (max-width: 680px) {
    .modal-overlay:has(.modal-container.tracking-modal) {
        align-items: flex-start;
        padding: 8px;
    }
    .modal-container.tracking-modal {
        max-height: calc(100dvh - 16px);
        border-radius: 20px;
    }
    .tracking-modal .success-modal-content {
        max-height: calc(100dvh - 16px);
        margin-right: 8px;
    }
    .tracking-modal .success-modal-content {
        padding: 24px 16px 18px;
    }
    .tracking-modal .tracking-map-header {
        align-items: flex-start;
        padding: 12px 14px;
    }
    .tracking-modal .tracking-map-header strong {
        font-size: 0.84rem;
    }
    .tracking-modal .order-tracker-timeline {
        gap: 4px;
        margin-bottom: 18px;
    }
    .tracking-modal .tracker-node-label {
        max-width: 76px;
        font-size: 0.65rem;
        text-align: center;
    }
    .quickview-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .quickview-image-box {
        min-height: 200px;
    }
    .checkout-modal-content {
        padding: 24px 16px;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .payment-options {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .order-tracker-timeline {
        padding: 0;
    }
    .success-modal-content {
        padding: 32px 16px 24px;
    }
    .order-tracking-map {
        height: 220px;
    }
}

@media (max-height: 760px) and (min-width: 681px) {
    .modal-container.tracking-modal {
        max-height: calc(100dvh - 24px);
    }
    .tracking-modal .success-modal-content {
        max-height: calc(100dvh - 24px);
    }
    .tracking-modal .success-modal-content {
        padding-top: 18px;
    }
    .tracking-modal .success-icon-wrapper {
        width: 54px;
        height: 54px;
        margin-bottom: 8px;
        font-size: 1.65rem;
    }
    .tracking-modal .order-tracking-map {
        height: 220px;
    }
}

/* ---------- Delivery location ---------- */
.delivery-location {
    width: 100%;
    max-width: 560px;
    margin: 0 0 26px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(26, 26, 40, 0.96), rgba(18, 18, 26, 0.94));
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
    text-align: left;
}

.delivery-location-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.delivery-location-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(255, 107, 53, 0.28);
    border-radius: 14px;
    background: rgba(255, 107, 53, 0.12);
    font-size: 1.2rem;
}

.delivery-location-eyebrow,
.delivery-location-current {
    display: block;
}

.delivery-location-eyebrow {
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.delivery-location-current {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

.delivery-location-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
}

.delivery-location-controls {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.delivery-location-controls input {
    width: 100%;
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    background: rgba(5, 5, 10, 0.34);
    color: var(--text-primary);
    font: inherit;
}

.delivery-location-controls input:focus {
    border-color: #d7a95e;
    box-shadow: none;
}

.delivery-check-btn {
    flex: 0 0 auto;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
}

.delivery-check-btn {
    background: var(--gradient-primary);
    color: white;
}

.delivery-check-btn:disabled {
    cursor: wait;
    opacity: 0.65;
}

.delivery-location-status {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.delivery-location-status[data-state="success"] {
    color: #74e5a1;
}

.delivery-location-status[data-state="error"] {
    color: #ff929b;
}

@media (max-width: 480px) {
    .delivery-location {
        padding: 15px;
    }

    .delivery-location-controls {
        flex-wrap: wrap;
    }

    .delivery-location-controls input {
        flex-basis: 100%;
    }

    .delivery-check-btn {
        flex: 1 1 auto;
    }
}

/* ---------- Mobile comfort and layout refinements ---------- */
html {
    scroll-padding-top: 88px;
}

@media (max-width: 768px) {
    body {
        width: 100%;
    }

    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .navbar {
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .nav-container {
        gap: 12px;
        min-width: 0;
    }

    .nav-logo {
        gap: 6px;
        font-size: 1.4rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .nav-right {
        gap: 6px;
        flex: 0 0 auto;
    }

    .nav-logo,
    .nav-links li,
    .hero-content,
    .location-step-card > *,
    .step-detail-card > *,
    .app-cta-wrapper > *,
    .footer-top > * {
        min-width: 0;
    }

    .cart-btn,
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        z-index: 1000;
        height: 100vh;
        height: 100dvh;
        padding: calc(88px + env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nav-links li,
    .nav-link {
        width: min(100%, 320px);
    }

    .nav-link {
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: center;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 94px;
        padding-bottom: 48px;
    }

    .hero-container {
        gap: 28px;
    }

    .hero-visual {
        width: 100%;
    }

    .hero-image-wrapper {
        width: min(280px, 72vw);
        height: min(280px, 72vw);
        max-width: min(72vw, 300px);
        max-height: min(72vw, 300px);
    }

    .hero-subtitle {
        max-width: 34rem;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-search {
        width: 100%;
    }

    .hero-search .search-box {
        width: 100%;
    }

    .hero-search input,
    .menu-search input,
    .delivery-location-controls input,
    .checkout-input,
    .checkout-select,
    .checkout-textarea,
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .hero-stats {
        justify-content: center;
        gap: 14px 22px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.15;
    }

    .dishes-grid {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }

    .dish-card {
        min-width: 0;
    }

    .cart-sidebar {
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 440px;
        height: 100vh;
        height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .cart-sidebar.active {
        right: 0;
    }

    .cart-header {
        padding: max(16px, env(safe-area-inset-top)) 18px 16px;
    }

    .cart-body {
        padding: 16px 18px;
        overscroll-behavior: contain;
    }

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

    .cart-item {
        gap: 12px;
    }

    .cart-item-info {
        min-width: 0;
    }

    .cart-item-name {
        overflow-wrap: anywhere;
    }

    .modal-overlay {
        align-items: flex-start;
        padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .modal-container {
        max-height: calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        margin: auto 0;
        overscroll-behavior: contain;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
    }

    .quickview-body {
        gap: 18px;
        padding: 18px;
    }

    .quickview-image-box {
        min-height: 0;
        height: clamp(170px, 48vw, 260px);
    }

    .quickview-title {
        padding-right: 28px;
        font-size: 1.4rem;
    }

    .checkout-modal-content {
        padding: 24px 16px calc(20px + env(safe-area-inset-bottom));
    }

    .checkout-header {
        padding-right: 28px;
        margin-bottom: 20px;
    }

    .checkout-title {
        font-size: 1.55rem;
    }

    .checkout-grid {
        gap: 20px;
    }

    .checkout-summary-box {
        padding: 16px;
    }

    .payment-options {
        gap: 8px;
    }

    .payment-btn {
        min-height: 68px;
        padding: 10px 6px;
    }

    .tracking-modal .tracking-rider-card {
        min-width: 0;
        padding: 12px;
    }

    .tracking-modal .tracking-map-header {
        flex-wrap: wrap;
    }

    .tracking-modal .tracking-distance {
        white-space: normal;
    }

    .tracking-modal .tracking-rider-label {
        flex-wrap: wrap;
        letter-spacing: 0.05em;
    }

    .order-tracking-map iframe {
        max-width: 100%;
    }
}

/* Desktop card finish: keep the editorial treatment consistent with mobile. */
@media (min-width: 769px) {
    .dish-card {
        background: #1a1715;
        border: 1px solid rgba(247, 241, 233, 0.09);
        border-radius: 18px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }

    .dish-card:hover {
        border-color: rgba(242, 107, 58, 0.42);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
        transform: translateY(-5px);
    }

    .dish-image-wrapper {
        height: 218px;
        background: #2a211c;
    }

    .dish-image-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(8, 7, 6, 0.08) 35%, rgba(8, 7, 6, 0.48) 100%);
        pointer-events: none;
    }

    .dish-image-wrapper img {
        transition: transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), filter 0.7s ease;
    }

    .dish-card:hover .dish-image-wrapper img {
        transform: scale(1.045);
        filter: saturate(1.08);
    }

    .dish-badge,
    .dish-rating {
        top: 14px;
        z-index: 2;
        border-radius: 7px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .dish-badge {
        left: 14px;
        padding: 7px 9px;
        font-size: 0.64rem;
        letter-spacing: 0.1em;
        text-shadow: none;
        box-shadow: none;
    }

    .dish-rating {
        right: 14px;
        padding: 7px 9px;
        background: rgba(12, 10, 9, 0.68);
        border: 1px solid rgba(247, 241, 233, 0.14);
        color: #f8e6b6;
        font-size: 0.64rem;
        letter-spacing: 0.02em;
    }

    .dish-rating .dish-rating-star {
        color: #f5c451;
        font-size: 0.85rem;
        line-height: 1;
    }

    .dish-info {
        padding: 18px 18px 17px;
    }

    .dish-name {
        min-height: 0;
        margin-bottom: 8px;
        font-size: 1.17rem;
        letter-spacing: -0.025em;
    }

    .dish-desc {
        min-height: 2.7em;
        margin-bottom: 13px;
        color: #a99b91;
        font-size: 0.81rem;
    }

    .dish-meta {
        border-top-color: rgba(247, 241, 233, 0.08);
        color: #81766e;
        font-size: 0.7rem;
    }

    .dish-prep-time {
        color: #bcaea4;
    }

    .dish-prep-time > span,
    .dish-reviews-star {
        color: #e9b85c;
    }

    .dish-price {
        color: #f5c36a;
        font-size: 1.38rem;
        letter-spacing: -0.03em;
    }

    .dish-add-btn {
        min-width: 78px;
        justify-content: center;
        padding: 9px 13px;
        border-radius: 9px;
        background: transparent;
        border-color: rgba(242, 107, 58, 0.5);
        color: #f26b3a;
        font-size: 0.78rem;
    }

    .delivery-location-controls {
        align-items: stretch;
    }

    .delivery-location-controls input,
    .delivery-check-btn {
        min-height: 46px;
    }

    .back-to-top {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        width: 46px;
        height: 46px;
    }
}

@media (min-width: 520px) and (max-width: 768px) {
    .dishes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 720px;
    }

    .menu-controls {
        align-items: stretch;
    }

    .menu-search {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    :root {
        --section-padding: 64px 0;
    }

    .hero {
        padding-top: 86px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.7rem);
        line-height: 1.08;
    }

    .hero-stats {
        gap: 12px 18px;
    }

    .hero-stat {
        min-width: 0;
    }

    .hero-stat-value {
        font-size: 1.15rem;
    }

    .cart-sidebar {
        max-width: none;
    }

    .modal-container {
        border-radius: 18px;
    }

    .quickview-meta-grid {
        gap: 6px;
        padding: 10px 6px;
    }

    .tracking-modal .tracking-map-header {
        gap: 8px;
    }

    .tracking-modal .order-tracker-timeline {
        gap: 0;
    }

    .tracking-modal .tracker-node-circle {
        width: 38px;
        height: 38px;
    }

    .tracking-modal .tracker-node-label {
        max-width: 66px;
        overflow-wrap: anywhere;
    }

    .estimated-delivery-box {
        gap: 12px;
        padding: 14px 12px;
    }

    .location-step-card,
    .step-detail-card {
        padding: 24px 18px;
    }

    .dish-info {
        padding: 16px;
    }

    .dish-bottom {
        gap: 8px;
    }

    .dish-add-btn {
        padding: 10px 14px;
    }

    .app-cta-wrapper {
        padding: 24px 18px;
    }

    .app-buttons,
    .app-store-btn {
        width: 100%;
    }

    .testimonial-card {
        padding: 28px 16px;
    }

    .testimonial-text {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .testimonial-text::before {
        left: -8px;
    }
}

/* ---------- Shared warm control theme ---------- */
.delivery-location {
    background: #1a1715;
    border-color: rgba(247, 241, 233, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.delivery-location-icon {
    background: rgba(242, 107, 58, 0.12);
    border-color: rgba(242, 107, 58, 0.3);
}

.delivery-location-eyebrow,
.delivery-location-status {
    color: #a99b91;
}

.delivery-location-current,
.delivery-location-form label {
    color: #f7f1e9;
}

.delivery-location-controls input {
    background: #211c19;
    border-color: rgba(247, 241, 233, 0.12);
    color: #f7f1e9;
}

.delivery-location-controls input:focus {
    border-color: #d7a95e;
    box-shadow: none;
}

.delivery-check-btn,
.btn-primary,
.cart-btn,
.order-btn,
.checkout-btn,
.quickview-add-btn,
.form-submit-btn {
    background: #f26b3a;
    border: 1px solid #f26b3a;
    color: #fffaf5;
    box-shadow: 0 8px 18px rgba(242, 107, 58, 0.16);
}

.delivery-check-btn:hover:not(:disabled),
.btn-primary:hover,
.order-btn:hover,
.checkout-btn:hover,
.quickview-add-btn:hover,
.form-submit-btn:hover {
    background: #f57d4f;
    border-color: #f57d4f;
    box-shadow: 0 12px 24px rgba(242, 107, 58, 0.24);
    transform: translateY(-2px);
}

.search-btn,
.offer-btn,
.app-store-btn,
.use-current-location-btn {
    background: #211c19;
    border: 1px solid rgba(242, 107, 58, 0.42);
    color: #f5c36a;
}

.search-btn:hover,
.offer-btn:hover,
.app-store-btn:hover,
.use-current-location-btn:hover:not(:disabled) {
    background: rgba(242, 107, 58, 0.13);
    border-color: rgba(242, 107, 58, 0.7);
    color: #ffd889;
    transform: translateY(-2px);
}

.portion-btn,
.payment-btn {
    background: #211c19;
    border-color: rgba(247, 241, 233, 0.12);
    color: #bcaea4;
}

.portion-btn:hover,
.portion-btn.active,
.payment-btn:hover,
.payment-btn.active {
    background: rgba(242, 107, 58, 0.14);
    border-color: rgba(242, 107, 58, 0.62);
    color: #f7f1e9;
}

.cart-btn:hover,
.mobile-menu-btn:hover,
.testi-btn:hover,
.back-to-top:hover {
    background: rgba(242, 107, 58, 0.12);
    color: #f5c36a;
}

.cart-count {
    background: #f26b3a;
    color: #fffaf5;
}

.cart-qty-btn,
.dish-card-qty-btn,
.applied-coupon-pill button {
    color: #f5c36a;
}

.cart-qty-btn:hover,
.dish-card-qty-btn:hover,
.applied-coupon-pill button:hover {
    background: #f26b3a;
    color: #fffaf5;
}

.delivery-location-status[data-state="success"] {
    color: #e9b85c;
}

@media (max-width: 680px) {
    html {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    html::-webkit-scrollbar {
        display: none;
        width: 0;
    }

    .hero-stats {
        min-height: 78px;
    }

    .stats-banner {
        padding: 92px 0;
    }

    .hero-scroll-indicator {
        margin-top: 28px;
    }

    .stats-grid {
        min-width: 0;
        gap: 0;
    }

    .stats-grid .stat-item {
        min-width: 0;
        padding: 28px 10px;
    }

    .stats-grid .stat-icon {
        margin-bottom: 18px;
        font-size: 3.2rem;
        line-height: 1;
    }

    .stats-grid .stat-value {
        min-width: 0;
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 2px;
        min-height: 3.4rem;
        font-size: clamp(2.35rem, 11vw, 3rem);
        letter-spacing: -0.04em;
    }

    .stats-grid .counter {
        width: auto;
        min-width: 0;
        text-align: center;
    }

    .stats-grid .stat-suffix {
        font-size: 0.62em;
        line-height: 1;
    }

    .stats-grid .stat-name {
        margin-top: 8px;
        font-size: 0.78rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 768px) {
    .location-summary {
        max-width: 86px;
        font-size: 0.7rem;
    }

    .nav-links {
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        padding: calc(132px + env(safe-area-inset-top)) 22px calc(32px + env(safe-area-inset-bottom));
        background:
            radial-gradient(circle at 50% 32%, rgba(242, 107, 58, 0.08), transparent 34%),
            rgba(21, 18, 16, 0.98);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .nav-links li,
    .nav-link {
        width: min(100%, 320px);
        margin-inline: auto;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        padding: 14px 20px;
        border: 1px solid transparent;
        border-radius: 14px;
        color: rgba(247, 241, 233, 0.68);
        font-size: 1.05rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--text-primary);
        background: rgba(242, 107, 58, 0.11);
        border-color: rgba(242, 107, 58, 0.2);
        transform: translateY(-1px);
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 7px;
        left: 50%;
        width: 42px;
        height: 2px;
        border-radius: 2px;
        background: var(--accent);
        transform: translateX(-50%);
    }
}

@media (max-width: 680px) {
    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 0;
        margin-top: 4px;
        min-height: 78px;
    }

    .hero-stat {
        min-width: 0;
        padding: 0 8px;
        line-height: 1;
    }

    .hero-stat + .hero-stat {
        border-left: 1px solid rgba(247, 241, 233, 0.1);
    }

    .hero-stat-value {
        min-width: 0;
        width: 100%;
    }

    .hero-stat-divider {
        display: none;
    }

    .stat-number {
        display: inline-block;
        font-size: clamp(1.28rem, 6vw, 1.55rem);
        letter-spacing: -0.04em;
        min-width: 2ch;
        white-space: nowrap;
    }

    .stat-suffix {
        display: inline-block;
        font-size: clamp(0.95rem, 4.5vw, 1.15rem);
        white-space: nowrap;
    }

    .stat-label {
        max-width: 86px;
        min-height: 2.5em;
        margin: 7px auto 0;
        font-size: 0.66rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .hero-scroll-indicator {
        margin-top: 28px;
    }
}

@media (max-width: 680px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-scroll-indicator {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        align-self: center;
        margin: 18px auto 0;
        transform: none;
    }
}

/* Solid premium actions: crisp surfaces instead of glossy gradients. */
.delivery-check-btn,
.btn-primary,
.cart-btn,
.order-btn,
.checkout-btn,
.quickview-add-btn,
.form-submit-btn {
    background: #e96a3b;
    background-image: none;
    border: 1px solid rgba(255, 216, 137, 0.22);
    border-radius: 10px;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 250, 245, 0.14);
    color: #fffaf5;
    letter-spacing: 0.01em;
}

.order-btn::before {
    display: none;
}

.delivery-check-btn:hover:not(:disabled),
.btn-primary:hover,
.order-btn:hover,
.checkout-btn:hover,
.quickview-add-btn:hover,
.form-submit-btn:hover {
    background: #f07849;
    background-image: none;
    border-color: rgba(255, 216, 137, 0.38);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 250, 245, 0.18);
    transform: translateY(-2px);
}

.delivery-check-btn:active:not(:disabled),
.btn-primary:active,
.order-btn:active,
.checkout-btn:active,
.quickview-add-btn:active,
.form-submit-btn:active {
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.22),
        inset 0 2px 4px rgba(104, 35, 18, 0.18);
    transform: translateY(0);
}

.search-btn {
    background: #e96a3b;
    background-image: none;
    border: 1px solid rgba(255, 216, 137, 0.22);
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 250, 245, 0.14);
    color: #fffaf5;
}

.search-btn:hover {
    background: #f07849;
    background-image: none;
    border-color: rgba(255, 216, 137, 0.38);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 250, 245, 0.18);
    transform: translateY(-1px);
}

/* Apple-inspired action finish: quiet surfaces, precise contrast, no gloss. */
.delivery-check-btn,
.btn-primary,
.cart-btn,
.order-btn,
.checkout-btn,
.quickview-add-btn,
.form-submit-btn,
.search-btn {
    min-height: 44px;
    min-width: 44px;
    background: #211c19;
    background-image: none;
    border: 1px solid rgba(242, 107, 58, 0.52);
    border-radius: 10px;
    box-shadow: none;
    color: #f7f1e9;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cart-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: var(--transition-base);
}

.cart-btn:hover {
    background: rgba(242, 107, 58, 0.12);
    color: #f5c36a;
}

.cart-btn svg {
    transform: translateX(-2px);
}

.hero-search .search-btn {
    width: auto;
    min-height: 42px;
    margin: 0 0 0 8px;
    padding: 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #f5c36a;
    font-size: 0.88rem;
    letter-spacing: 0;
    line-height: 1;
}

.hero-search .search-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.delivery-check-btn:hover:not(:disabled),
.btn-primary:hover,
.cart-btn:hover,
.order-btn:hover,
.checkout-btn:hover,
.quickview-add-btn:hover,
.form-submit-btn:hover,
.search-btn:hover {
    background: #f26b3a;
    background-image: none;
    border-color: #f26b3a;
    box-shadow: none;
    color: #fffaf5;
    transform: translateY(-1px);
}

.hero-search .search-btn:hover {
    background: transparent;
    border: 0;
    color: #ffd889;
    transform: none;
}

/* Restrained navigation CTA for the premium header. */
.nav-right .order-btn {
    min-height: 40px;
    padding: 0 19px;
    background: #2a2420;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow:
        inset 0 0 0 1px rgba(215, 169, 94, 0.18),
        inset 0 0 14px rgba(215, 169, 94, 0.06);
    color: #f7f1e9;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.nav-right .order-btn::after {
    display: none;
}

.nav-right .order-btn:hover {
    background: #332a25;
    border-color: transparent;
    color: #ffd889;
    transform: none !important;
}

.nav-right .order-btn:active {
    background: #3a2e28;
    border-color: transparent;
    transform: none !important;
}

.delivery-check-btn {
    min-height: 40px;
    padding: 0 19px;
    background: #2a2420;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 250, 245, 0.08);
    color: #f7f1e9;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.delivery-check-btn:hover:not(:disabled) {
    background: #332a25;
    border-color: transparent;
    color: #ffd889;
    transform: none;
}

.delivery-check-btn:active:not(:disabled) {
    background: #3a2e28;
    border-color: transparent;
    color: #f7f1e9;
    transform: none;
}

.nav-right .cart-btn:hover,
.nav-right .cart-btn:focus-visible,
.nav-right .profile-nav-btn:hover,
.nav-right .profile-nav-btn:focus-visible {
    background: rgba(242, 107, 58, 0.12);
    color: #f5c36a;
    transform: none !important;
}

.nav-right .cart-btn:active,
.nav-right .profile-nav-btn:active {
    background: rgba(242, 107, 58, 0.18);
    color: #ffd889;
    transform: none !important;
}

.delivery-check-btn:active:not(:disabled),
.btn-primary:active,
.cart-btn:active,
.order-btn:active,
.checkout-btn:active,
.quickview-add-btn:active,
.form-submit-btn:active,
.search-btn:active {
    background: #d9562c;
    border-color: #d9562c;
    box-shadow: none;
    transform: translateY(0);
}

.hero-search .search-btn:active {
    background: transparent;
    border: 0;
    color: #e9b85c;
    transform: none;
}

.delivery-check-btn:disabled {
    background: #8c8178;
    border-color: #8c8178;
    color: #211c19;
}

.contact-form .form-submit-btn {
    min-height: 44px;
    padding: 0 22px;
    background: #2a2420;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow:
        inset 0 0 0 1px rgba(215, 169, 94, 0.18),
        inset 0 0 14px rgba(215, 169, 94, 0.06);
    color: #f7f1e9;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-form .form-submit-btn svg {
    color: #e9b85c;
    transition: color 0.25s ease;
}

.contact-form .form-submit-btn:hover:not(:disabled) {
    background: #332a25;
    border-color: transparent;
    color: #ffd889;
    box-shadow:
        inset 0 0 0 1px rgba(215, 169, 94, 0.28),
        inset 0 0 16px rgba(215, 169, 94, 0.1);
    transform: none !important;
}

.contact-form .form-submit-btn:hover:not(:disabled) svg {
    color: #ffd889;
}

.contact-form .form-submit-btn:active:not(:disabled) {
    background: #3a2e28;
    color: #f7f1e9;
    box-shadow:
        inset 0 0 0 1px rgba(215, 169, 94, 0.24),
        inset 0 0 12px rgba(215, 169, 94, 0.08);
    transform: none !important;
}

.contact-form .form-submit-btn:disabled {
    cursor: wait;
    opacity: 0.65;
}

.hero-search .search-icon-btn {
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    place-items: center;
    border-radius: 10px;
}

.hero-search .search-icon-btn svg {
    display: block;
}

@media (max-width: 680px) {
    .hero-search .search-box {
        flex-direction: row;
        align-items: center;
        border-radius: var(--radius-full);
        padding: 6px 6px 6px 16px;
    }

    .hero-search .search-box input {
        min-width: 0;
        text-align: left;
    }

    .hero-search .search-icon-btn {
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
    }

    .hero-search .search-btn {
        width: auto;
    }
}

/* ---------- Global warm editorial palette ---------- */
:root {
    --bg-primary: #151210;
    --bg-secondary: #1a1715;
    --bg-card: #211c19;
    --bg-card-hover: #2a211c;
    --bg-glass: rgba(33, 28, 25, 0.78);
    --text-primary: #f7f1e9;
    --text-secondary: #bcaea4;
    --text-muted: #81766e;
    --accent: #f26b3a;
    --accent-light: #f57d4f;
    --accent-dark: #d9562c;
    --accent-glow: rgba(242, 107, 58, 0.24);
    --gold: #f5c36a;
    --gold-light: #ffd889;
    --gradient-primary: linear-gradient(135deg, #f26b3a, #f57d4f, #f5c36a);
    --gradient-dark: linear-gradient(180deg, #151210 0%, #1a1715 100%);
    --gradient-card: linear-gradient(145deg, rgba(242, 107, 58, 0.07), rgba(245, 195, 106, 0.025));
    --border-color: rgba(247, 241, 233, 0.1);
    --border-accent: rgba(242, 107, 58, 0.38);
}

html {
    scrollbar-color: var(--accent) var(--bg-secondary);
}

html::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

body {
    background:
        radial-gradient(circle at 78% -10%, rgba(242, 107, 58, 0.08), transparent 30rem),
        var(--bg-primary);
}

/* ---------- Premium footer finish ---------- */
.footer {
    position: relative;
    padding-top: 88px;
    background:
        radial-gradient(circle at 8% 0%, rgba(242, 107, 58, 0.08), transparent 28rem),
        #151210;
    border-top: 1px solid rgba(247, 241, 233, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1100px, calc(100% - 48px));
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(242, 107, 58, 0.55), transparent);
    transform: translateX(-50%);
}

.footer-top {
    gap: 56px;
    padding-bottom: 68px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .nav-logo {
    display: inline-flex;
    margin-bottom: 4px;
}

.footer-desc {
    max-width: 260px;
    margin-top: 14px;
    color: #a99b91;
    font-size: 0.84rem;
    line-height: 1.7;
}

.footer-heading {
    margin-bottom: 22px;
    color: #f7f1e9;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact li {
    color: #a99b91;
    font-size: 0.84rem;
}

.footer-links a:hover {
    padding-left: 0;
    color: #f5c36a;
}

.footer-contact svg {
    color: #e9b85c;
}

.footer-socials {
    gap: 9px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-color: rgba(247, 241, 233, 0.12);
    border-radius: 10px;
    background: #211c19;
    color: #a99b91;
}

.social-link:hover {
    background: #f26b3a;
    border-color: #f26b3a;
    color: #fffaf5;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top-color: rgba(247, 241, 233, 0.1);
    padding: 22px 0 26px;
}

.footer-bottom p {
    color: #766b64;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .footer {
        padding-top: 64px;
    }

    .footer-top {
        gap: 34px 24px;
        padding-bottom: 46px;
    }

    .footer-brand {
        max-width: 100%;
    }
}

@media (max-width: 680px) {
    .hero-stats {
        min-height: 78px;
    }

    .hero-scroll-indicator {
        margin-top: 28px;
    }
}

/* Remove blue tap highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
}
/* ============================================
   Premium checkout
   ============================================ */
.modal-container:has(.co) {
    max-width: 1040px;
    max-height: min(92vh, 900px);
    border-radius: 24px;
    background: #151210;
    border-color: rgba(247, 241, 233, 0.1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 241, 233, 0.18) transparent;
}
.modal-container:has(.co)::-webkit-scrollbar { width: 8px; }
.modal-container:has(.co)::-webkit-scrollbar-track { background: transparent; }
.modal-container:has(.co)::-webkit-scrollbar-thumb {
    background: rgba(247, 241, 233, 0.18);
    border-radius: 8px;
}

.checkout-modal-content.co { padding: 36px 40px 40px; }

/* Header */
.co-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
    padding: 0 48px 24px 0;
    border-bottom: 1px solid var(--border-color);
}
.co-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.co-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.co-deliver-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(233, 184, 92, 0.25);
    border-radius: 12px;
    background: rgba(233, 184, 92, 0.06);
    color: #f5c36a;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
}
.co-deliver-chip small {
    display: block;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 500;
}

/* Layout */
.co-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
.co-form { display: flex; flex-direction: column; gap: 18px; }

.co-section {
    padding: 22px;
    background: #1a1715;
    border: 1px solid rgba(247, 241, 233, 0.08);
    border-radius: 18px;
}
.co-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.co-step {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 9px;
    background: rgba(242, 107, 58, 0.14);
    color: var(--accent-light);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
}
.co-section-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Fields */
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-field { margin-bottom: 14px; }
.co-field:last-child, .co-row .co-field { margin-bottom: 0; }
.co-label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-secondary);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.co .checkout-input {
    min-height: 48px;
    padding: 0 16px;
    background: #211c19;
    border: 1px solid rgba(247, 241, 233, 0.1);
    border-radius: 12px;
    color: #f7f1e9;
    font-size: 0.92rem;
}
.co .checkout-input::placeholder { color: #6f655e; }
.co .checkout-input:hover { border-color: rgba(247, 241, 233, 0.2); }
.co .checkout-input:focus {
    background: #241e1b;
    border-color: rgba(242, 107, 58, 0.7);
    box-shadow: 0 0 0 4px rgba(242, 107, 58, 0.1);
}
.co .address-suggestions {
    background: #211c19;
    border-color: rgba(242, 107, 58, 0.45);
}

.co .use-current-location-btn {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    background: transparent;
    border: 1px dashed rgba(233, 184, 92, 0.4);
    border-radius: 12px;
    color: #f5c36a;
}
.co .use-current-location-btn:hover:not(:disabled) {
    background: rgba(233, 184, 92, 0.06);
    border-color: rgba(233, 184, 92, 0.7);
    color: #ffd889;
    transform: none;
}

/* Payment cards */
.co-pay { display: grid; gap: 10px; }
.co .payment-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 0;
    padding: 14px 16px;
    background: #211c19;
    border: 1px solid rgba(247, 241, 233, 0.1);
    border-radius: 14px;
    text-align: left;
    cursor: pointer;
}
.co .payment-btn:hover { border-color: rgba(242, 107, 58, 0.4); background: #241e1b; }
.co .payment-btn.active {
    background: rgba(242, 107, 58, 0.09);
    border-color: rgba(242, 107, 58, 0.65);
}
.co .pay-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 11px;
    background: rgba(233, 184, 92, 0.1);
    color: #e9b85c;
}
.co .pay-text { flex: 1; min-width: 0; }
.co .pay-text strong { display: block; color: #f7f1e9; font-size: 0.9rem; font-weight: 650; }
.co .pay-text small { display: block; margin-top: 2px; color: #a99b91; font-size: 0.74rem; font-weight: 500; }
.co .pay-radio {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid rgba(247, 241, 233, 0.25);
    border-radius: 50%;
    transition: border-color 0.25s ease;
}
.co .pay-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--accent);
    transform: scale(0);
    transition: transform 0.25s ease;
}
.co .payment-btn.active .pay-radio { border-color: var(--accent); }
.co .payment-btn.active .pay-radio::after { transform: scale(1); }

/* Summary */
.co-summary {
    position: sticky;
    top: 16px;
    padding: 24px;
    background: #1a1715;
    border: 1px solid rgba(247, 241, 233, 0.1);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.co-summary-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
}
.co-summary-title h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; }
.co-summary-title small { color: var(--text-muted); font-size: 0.78rem; }

.co-items {
    display: grid;
    gap: 12px;
    max-height: 220px;
    margin-bottom: 18px;
    padding-right: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(247, 241, 233, 0.18) transparent;
}
.co-item { display: flex; align-items: center; gap: 12px; }
.co-item img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 10px;
    background: #2a211c;
    object-fit: cover;
}
.co-item-info { flex: 1; min-width: 0; }
.co-item-name {
    display: block;
    overflow: hidden;
    font-size: 0.84rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.co-item-qty { color: var(--text-muted); font-size: 0.72rem; }
.co-item-price { font-size: 0.88rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.co .coupon-box { margin: 0 0 12px; }
.co .coupon-input {
    min-width: 0;
    min-height: 44px;
    background: #211c19;
    border: 1px dashed rgba(233, 184, 92, 0.35);
    border-radius: 12px;
    color: #f5c36a;
    font-weight: 600;
}
.co .coupon-input::placeholder { color: #6f655e; font-weight: 500; text-transform: none; }
.co .coupon-apply-btn {
    min-height: 44px;
    padding: 0 18px;
    background: #2a2420;
    border: 1px solid rgba(215, 169, 94, 0.3);
    border-radius: 12px;
    color: #f7f1e9;
}
.co .coupon-apply-btn:hover { background: #332a25; color: #ffd889; }

.co .checkout-total-rows {
    gap: 10px;
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid rgba(247, 241, 233, 0.08);
}
.co .checkout-total-row { font-size: 0.86rem; }
.co .checkout-total-row.grand-total {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px dashed rgba(247, 241, 233, 0.14);
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.co .place-order-btn {
    min-height: 54px;
    margin-top: 20px;
    background: #f26b3a;
    background-image: none;
    border: 1px solid rgba(255, 216, 137, 0.25);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(242, 107, 58, 0.22);
    font-size: 1rem;
    letter-spacing: -0.01em;
}
.co .place-order-btn:hover {
    background: #f57d4f;
    box-shadow: 0 14px 30px rgba(242, 107, 58, 0.3);
    transform: translateY(-1px);
}
.co .place-order-btn:active { background: #d9562c; transform: none; }

.co-assure {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.72rem;
}
.co-assure span { display: inline-flex; align-items: center; gap: 6px; }

/* Responsive */
@media (max-width: 860px) {
    .co-grid { grid-template-columns: 1fr; }
    .co-summary { position: static; }
}
@media (max-width: 680px) {
    .modal-container:has(.co) { max-height: calc(100dvh - 16px); border-radius: 18px; }
    .checkout-modal-content.co { padding: 24px 16px calc(20px + env(safe-area-inset-bottom)); }
    .co-header { padding-right: 44px; gap: 14px; }
    .co-title { font-size: 1.5rem; }
    .co-section { padding: 18px 16px; }
    .co-row { grid-template-columns: 1fr; gap: 14px; }
    .co-summary { padding: 20px 16px; }
}
/* Hide scrollbars in checkout (scrolling still works) */
.modal-container:has(.co),
.co-items,
.co .address-suggestions {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-container:has(.co)::-webkit-scrollbar,
.co-items::-webkit-scrollbar,
.co .address-suggestions::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
/* Checkout: the modal frame doesn't scroll, the content inside does */
.modal-container:has(.co) {
    overflow: hidden !important;
}

.checkout-modal-content.co {
    max-height: min(92vh, 900px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Hide every scrollbar inside checkout (scrolling still works) */
.modal-container:has(.co),
.checkout-modal-content.co,
.co-items,
.co .address-suggestions {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.modal-container:has(.co)::-webkit-scrollbar,
.checkout-modal-content.co::-webkit-scrollbar,
.co-items::-webkit-scrollbar,
.co .address-suggestions::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

@media (max-width: 680px) {
    .checkout-modal-content.co {
        max-height: calc(100dvh - 16px);
    }
}
/* ============================================
   Order confirmed / tracker redesign
   ============================================ */
.modal-container.tracking-modal:has(.od) {
    max-width: 1040px;
    border-radius: 24px;
    background: #151210;
    border-color: rgba(247, 241, 233, 0.1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.tracking-modal .success-modal-content.od {
    margin-right: 0;
    padding: 34px 40px 36px;
    text-align: left;
}

/* Header */
.od-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 26px;
    padding: 0 52px 24px 0;
    border-bottom: 1px solid var(--border-color);
}
.od-check {
    display: grid;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    place-items: center;
    border: 1px solid rgba(116, 229, 161, 0.4);
    border-radius: 18px;
    background: rgba(46, 204, 113, 0.12);
    color: #74e5a1;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.od-head-text { flex: 1; min-width: 200px; }
.od-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #74e5a1;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.od-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.od-sub { margin-top: 6px; color: var(--text-secondary); font-size: 0.92rem; }
.od-id {
    padding: 10px 16px;
    border: 1px solid rgba(233, 184, 92, 0.25);
    border-radius: 12px;
    background: rgba(233, 184, 92, 0.06);
}
.od-id small {
    display: block;
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.od-id strong { color: #f5c36a; font-size: 0.95rem; letter-spacing: 0.02em; }

/* Layout */
.od-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.od-main, .od-side { display: grid; gap: 16px; min-width: 0; }

/* Map + rider (override old tracker sizing) */
.od .tracking-map-card,
.od .tracking-rider-card {
    max-width: none;
    margin: 0;
    background: #1a1715;
    border-color: rgba(247, 241, 233, 0.09);
    border-radius: 18px;
}
.od .order-tracking-map { height: 380px; }
.od .tracking-map-header { padding: 16px 18px; }
.od .tracking-rider-card { padding: 16px 18px; }

/* ETA */
.od-eta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid rgba(242, 107, 58, 0.35);
    border-radius: 18px;
    background: rgba(242, 107, 58, 0.08);
}
.od-label {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.od-eta-val {
    color: #f7f1e9;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.od-eta-time { color: var(--text-muted); font-size: 0.74rem; }

/* Timeline */
.trk {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 20px 20px 8px;
    list-style: none;
    background: #1a1715;
    border: 1px solid rgba(247, 241, 233, 0.09);
    border-radius: 18px;
}
.trk-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 20px;
}
.trk-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 26px;
    bottom: -2px;
    left: 12px;
    width: 2px;
    background: rgba(247, 241, 233, 0.1);
}
.trk-step.done:not(:last-child)::before { background: var(--accent); }
.trk-dot {
    position: relative;
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border: 2px solid rgba(247, 241, 233, 0.16);
    border-radius: 50%;
    background: #211c19;
    color: transparent;
}
.trk-step.done .trk-dot { background: var(--accent); border-color: var(--accent); color: #fffaf5; }
.trk-step.active .trk-dot { border-color: var(--gold); }
.trk-step.active .trk-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 1.4s ease-in-out infinite;
}
.trk-step strong { display: block; color: var(--text-muted); font-size: 0.9rem; font-weight: 650; }
.trk-step small { display: block; margin-top: 2px; color: #6f655e; font-size: 0.74rem; }
.trk-step.done strong, .trk-step.active strong { color: var(--text-primary); }
.trk-step.active small { color: #e9b85c; }

/* Summary */
.od-summary {
    padding: 20px;
    background: #1a1715;
    border: 1px solid rgba(247, 241, 233, 0.09);
    border-radius: 18px;
}
.od-summary-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.od-summary-head h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; }
.od-summary-head small { color: var(--text-muted); font-size: 0.76rem; }
.od-items { display: grid; gap: 8px; max-height: 150px; overflow-y: auto; scrollbar-width: none; }
.od-items::-webkit-scrollbar { display: none; }
.od-item { display: flex; justify-content: space-between; gap: 12px; font-size: 0.84rem; }
.od-item small { color: var(--text-muted); }
.od-meta {
    display: grid;
    gap: 12px;
    margin: 14px 0;
    padding: 14px 0;
    border-top: 1px solid rgba(247, 241, 233, 0.08);
    border-bottom: 1px solid rgba(247, 241, 233, 0.08);
}
.od-meta p { color: var(--text-secondary); font-size: 0.84rem; line-height: 1.5; overflow-wrap: anywhere; }
.od-total { display: flex; align-items: baseline; justify-content: space-between; }
.od-total span { color: var(--text-secondary); font-size: 0.9rem; }
.od-total strong { color: var(--accent); font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; }

/* Actions */
.od .order-modal-actions { justify-content: flex-end; margin-top: 22px; }
.od .order-modal-actions .btn-primary,
.od .order-modal-actions .order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    font-size: 0.9rem;
}
.od .order-modal-actions .order-btn {
    display: inline-flex;
    background: transparent;
    border-color: rgba(247, 241, 233, 0.16);
    color: #bcaea4;
}
.od .order-modal-actions .order-btn:hover { background: rgba(247, 241, 233, 0.06); color: #f7f1e9; }

/* Responsive */
@media (max-width: 860px) {
    .od-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .tracking-modal .success-modal-content.od { padding: 24px 16px 20px; }
    .od-head { gap: 14px; padding-right: 44px; }
    .od-id { width: 100%; }
    .od-title { font-size: 1.5rem; }
    .od .order-tracking-map { height: 260px; }
    .od .order-modal-actions { justify-content: stretch; }
    .od .order-modal-actions > * { flex: 1; }
}

/* ============================================
   Tracker: kitchen marker + animated scooter
   ============================================ */
.tk-icon { background: transparent; border: 0; }

.tk-kitchen {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 14px;
    background: #e9b85c;
    color: #151210;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
.tk-kitchen em {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    padding: 2px 8px;
    border-radius: 999px;
    background: #151210;
    color: #f5c36a;
    font: 700 0.62rem/1.5 var(--font-body);
    font-style: normal;
    letter-spacing: 0.05em;
    white-space: nowrap;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.tk-rider {
    position: relative;
    display: grid;
    width: 64px;
    height: 43px;
    place-items: center;
}
.tk-rider-pulse {
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 48px;
    height: 10px;
    margin-left: -24px;
    border-radius: 50%;
    background: rgba(242, 107, 58, 0.45);
    animation: tkPulse 1.8s ease-out infinite;
}
.tk-bike { display: block; overflow: visible; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.3)); }
.tk-rider-flip { transition: transform 0.3s ease; }
.tk-rider-bob { animation: tkBob 0.38s ease-in-out infinite alternate; }
.tk-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: tkSpin 0.5s linear infinite;
}

/* Parked at the kitchen, or arrived: no motion */
.tk-rider.is-idle .tk-wheel,
.tk-rider.is-idle .tk-rider-bob,
.tk-rider.is-arrived .tk-wheel,
.tk-rider.is-arrived .tk-rider-bob { animation: none; }
.tk-rider.is-arrived .tk-rider-pulse { display: none; }
.tk-rider.is-idle .tk-rider-pulse { animation-duration: 2.6s; }

@keyframes tkPulse {
    0% { transform: scale(0.7); opacity: 0.9; }
    100% { transform: scale(1.7); opacity: 0; }
}
@keyframes tkBob {
    from { transform: translateY(0); }
    to { transform: translateY(-2px); }
}
@keyframes tkSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .tk-wheel, .tk-rider-bob, .tk-rider-pulse { animation: none; }
}

/* Hide delivery location text on mobile */
@media (max-width: 768px) {
    .location-summary {
        display: none !important;
    }
}


/* Inline validation states for checkout; no toast needed to explain missing fields */
.checkout-input.field-invalid, .checkout-select.field-invalid, .checkout-textarea.field-invalid,
.co .checkout-input.field-invalid, .co .checkout-select.field-invalid, .co .checkout-textarea.field-invalid {
    border-color: #ef5350 !important;
    box-shadow: 0 0 0 3px rgba(239, 83, 80, .12) !important;
    background-color: rgba(239, 83, 80, .055) !important;
}
.co-field .field-validation-message { display:block; margin-top:6px; color:#ff7777; font-size:.76rem; line-height:1.35; }
