/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    /* Color Palette - Based on Logo */
    --logo-dark-blue: #1a237e;
    --logo-green: #4caf50;
    --logo-golden: #FFD700;
    --primary-red: #d32f2f;
    --primary-orange: #ff6b35;
    --accent-red: #c62828;
    --accent-orange: #ff8c42;
    --cream-bg: #faf8f3;
    --beige-bg: #f5f1e8;
    --warm-white: #fffef9;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(26, 35, 126, 0.3);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    /* Single source of truth for UI text. Plus Jakarta Sans is the primary app font,
       with Poppins kept as a graceful fallback. */
    --font-body: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 243, 0.98);
    box-shadow: 0 2px 20px var(--shadow);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px var(--shadow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Dancing Script', 'Playfair Display', cursive;
    font-size: 1.8rem;
    color: var(--logo-golden);
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

.logo-cafe {
    font-family: var(--font-body);
    color: var(--logo-dark-blue);
    font-weight: 600;
    font-style: normal;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--logo-green);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cart {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--logo-green);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1.5rem;
}

.nav-cart.hidden {
    display: none;
}

.nav-cart:hover {
    background: #45a049;
    transform: scale(1.1);
}

.nav-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--logo-dark-blue);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    border: 2px solid var(--warm-white);
    min-width: 22px;
}

.nav-cart.hidden {
    display: none !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--logo-green);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--logo-dark-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* ============================================
   Hero Section - World Class Design
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 0;
    animation: none;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    contain: layout style paint;
}

.video-background video,
.video-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: none;
}

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

/* Mobile video optimizations */
@media (max-width: 768px) {
    .video-background video,
    .video-background img {
        transform: scale(1);
        /* Reduce video quality on mobile for better performance */
    }
    
    /* Pause video by default on mobile to save bandwidth */
    @media (prefers-reduced-motion: reduce) {
        .video-background video {
            display: none;
        }
        
        .video-background::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(211, 47, 47, 0.75) 0%, rgba(255, 107, 53, 0.65) 50%, rgba(26, 35, 126, 0.7) 100%);
            z-index: 2;
        }
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 12, 20, 0.72) 0%, rgba(26, 35, 126, 0.55) 55%, rgba(10, 12, 20, 0.72) 100%);
    z-index: 1;
    animation: none;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 40%, rgba(76, 175, 80, 0.16) 0%, transparent 55%),
                radial-gradient(circle at 80% 60%, rgba(255, 215, 0, 0.12) 0%, transparent 55%);
    z-index: 1;
    animation: none;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}


/* Hero Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 80%;
    top: 60%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 50%;
    top: 80%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.particle:nth-child(4) {
    left: 20%;
    top: 40%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 90%;
    top: 30%;
    animation-delay: 3s;
    animation-duration: 14s;
}


.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 3rem 2rem;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    animation: none;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    animation: none;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    60% {
        transform: scale(1.05) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


.hero-logo-icon {
    width: 450px;
    height: 450px;
    max-width: 95%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    animation: none;
}

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

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, rgba(76, 175, 80, 0.3) 40%, transparent 70%);
    z-index: -1;
    animation: none;
    filter: blur(18px);
    opacity: 0.9;
}

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

.hero-logo-icon::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.18) 0%, transparent 70%);
    z-index: -2;
    animation: none;
}

@keyframes outerGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}


.hero-logo-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s ease;
}

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


.hero-title {
    font-family: 'Dancing Script', 'Playfair Display', cursive;
    font-size: 4.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    animation: none;
}

@keyframes titleEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.title-line {
    color: var(--logo-golden);
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.40);
    display: inline-block;
    animation: none;
    transition: transform 0.3s ease;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.7),
                     0 0 60px rgba(255, 215, 0, 0.4),
                     0 4px 20px rgba(0, 0, 0, 0.5),
                     2px 2px 10px rgba(0, 0, 0, 0.4);
    }
    50% {
        text-shadow: 0 0 50px rgba(255, 215, 0, 0.9),
                     0 0 80px rgba(255, 215, 0, 0.6),
                     0 4px 20px rgba(0, 0, 0, 0.5),
                     2px 2px 10px rgba(0, 0, 0, 0.4);
    }
}

.title-line:hover {
    transform: scale(1.05);
}


.hero-cafe {
    font-family: var(--font-body);
    color: white;
    font-weight: 700;
    font-size: 4rem;
    font-style: normal;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.40);
    letter-spacing: 1px;
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: none;
    transition: transform 0.3s ease;
}

@keyframes textGradientShift {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
}

.hero-cafe:hover {
    transform: scale(1.05);
}

.hero-cafe::after {
    content: none;
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.9), 0 0 30px rgba(76, 175, 80, 0.5);
    }
}


.hero-tagline-wrapper {
    margin: 1rem 0;
    animation: none;
}

@keyframes taglineEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
}

.tagline-word {
    color: var(--logo-green);
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    display: inline-block;
    position: relative;
    animation: none;
    transition: transform 0.3s ease;
}

.tagline-word:hover {
    transform: translateY(-1px);
}

.tagline-word:nth-child(1) {
    animation-delay: 0s;
}

.tagline-word:nth-child(3) {
    animation-delay: 0.4s;
}

.tagline-word:nth-child(5) {
    animation-delay: 0.8s;
}

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


.tagline-dot {
    color: var(--logo-golden);
    font-size: 1.5rem;
    animation: none;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}


.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
    font-style: normal;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.40);
    animation: none;
}

@keyframes subtitleFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    animation: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    max-width: 650px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-description:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@keyframes descriptionFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.hero-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap;
}


.badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: none;
}

@keyframes badgeEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.badge-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.badge::before {
    content: none;
}

.badge:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.55);
}

.badge-icon {
    font-size: 2rem;
    line-height: 1;
}


.badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}


.btn {
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--logo-green) 0%, #45a049 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.6),
                0 0 40px rgba(76, 175, 80, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    animation: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes buttonEntrance {
    0% {
        opacity: 0;
        transform: translateY(25px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.btn-primary:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 45px rgba(76, 175, 80, 0.7),
                0 0 60px rgba(76, 175, 80, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #45a049 0%, var(--logo-green) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--logo-dark-blue);
    border-color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.3);
}

.btn-icon {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

.btn-text {
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn:hover .btn-arrow {
    transform: translateX(5px);
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
    display: block;
}

.food-icon {
    position: absolute;
    font-size: 3.5rem;
    opacity: 0.3;
    transition: all 0.4s ease;
    animation: iconFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.food-icon:hover {
    opacity: 0.7;
    transform: scale(1.2) rotate(15deg);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

.food-icon:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.food-icon:nth-child(2) {
    top: 65%;
    right: 12%;
    animation-delay: 2s;
}

.food-icon:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

.food-icon:nth-child(4) {
    top: 35%;
    right: 8%;
    animation-delay: 1s;
}

.food-icon:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 3s;
}

.food-icon:nth-child(6) {
    bottom: 30%;
    right: 20%;
    animation-delay: 5s;
}

.food-icon:nth-child(7) {
    top: 80%;
    left: 50%;
    animation-delay: 2.5s;
}

.food-icon:nth-child(8) {
    top: 25%;
    right: 30%;
    animation-delay: 3.5s;
}


.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}


.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-mouse:hover {
    border-color: white;
    transform: scale(1.1);
}

.scroll-wheel {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: white;
    border-radius: 3px;
    opacity: 0.7;
}


.scroll-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
}

/* ============================================
   About / Highlights
   ============================================ */
.section-title.section-title-left,
.section-subtitle.section-subtitle-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.about-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.65) 0%, var(--warm-white) 100%);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-media img {
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.about-media-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.about-media-strip img {
    border-radius: 14px;
    height: 120px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.about-text {
    color: var(--text-light);
    line-height: 1.9;
    margin: 0.75rem 0 1.5rem;
    font-size: 1.05rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0 1.75rem;
}

.highlight-card {
    background: white;
    border: 1px solid rgba(26, 35, 126, 0.08);
    border-radius: 16px;
    padding: 1.1rem 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.highlight-card h3 {
    color: var(--logo-dark-blue);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.highlight-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.09);
}

.about-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    .about-media-strip img {
        height: 110px;
    }
}


/* ============================================
   Menu Section
   ============================================ */
.menu-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--warm-white) 0%, rgba(250, 248, 243, 0.5) 100%);
    position: relative;
}

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.2), transparent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    text-align: center;
    color: var(--logo-dark-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Combo offers (bundled pricing) */
.combo-section {
    position: relative;
    padding: 3rem 0 3.5rem;
    background: linear-gradient(180deg, rgba(21, 128, 61, 0.06) 0%, rgba(255, 255, 255, 0.92) 45%, #fafafa 100%);
    border-top: 1px solid rgba(21, 128, 61, 0.12);
    border-bottom: 1px solid rgba(21, 128, 61, 0.1);
}

.combo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 197, 94, 0.14), transparent 55%);
    pointer-events: none;
}

.combo-section .container {
    position: relative;
    z-index: 1;
}

.combo-section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.combo-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #15803d;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(234, 179, 8, 0.18));
    border: 1px solid rgba(21, 128, 61, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.combo-section-title {
    margin-bottom: 0.5rem;
}

.combo-section-sub {
    margin-bottom: 0;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.combo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.25rem;
}

.combo-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(21, 128, 61, 0.18);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.combo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, 0.45);
    box-shadow: 0 14px 36px rgba(21, 128, 61, 0.18);
}

.combo-card-image-wrap {
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    overflow: hidden;
}

.combo-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.combo-card-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
}

.combo-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--logo-dark-blue);
    margin: 0;
    line-height: 1.25;
}

.combo-card-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0 0 0.5rem;
    flex: 1;
}

.combo-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.combo-card-price {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 700;
    color: #15803d;
}

.combo-card-footer .btn {
    flex-shrink: 0;
    min-height: 44px;
    padding-left: 1rem;
    padding-right: 1rem;
}

body.app-mobile .combo-section {
    padding: var(--fo-space-7) 0;
}

body.app-mobile .combo-section-title {
    font-size: 1.375rem;
}

body.app-mobile .combo-grid {
    gap: var(--fo-space-4);
}

/* Menu Search Box */
.menu-search-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
}

.menu-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.1);
    transition: all 0.3s ease;
}

.menu-search-wrapper:focus-within {
    border-color: var(--logo-green);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    margin-right: 1rem;
    flex-shrink: 0;
}

.menu-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: transparent;
    padding: 0.5rem 0;
}

.menu-search-input:focus {
    outline: none;
    box-shadow: none;
}

.menu-search-input:focus-visible {
    outline: none;
    box-shadow: none;
}

.menu-search-input::placeholder {
    color: var(--text-light);
}

.search-clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.2s ease;
    border-radius: 50%;
    margin-left: 0.5rem;
}

.search-clear-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.search-clear-btn svg {
    width: 18px;
    height: 18px;
}

.search-results-info {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0.75rem;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.search-results-info strong {
    color: var(--logo-dark-blue);
    font-weight: 600;
}

/* Category tabs — compact horizontal pills + sticky bar */
.category-tabs-container {
    position: sticky;
    top: 72px;
    z-index: 100;
    background: linear-gradient(180deg, rgba(250, 248, 243, 0.98) 0%, rgba(250, 248, 243, 0.95) 100%);
    padding: 0.55rem 0 0.75rem;
    margin: 0 -1rem 1rem -1rem;
    border-bottom: 1px solid rgba(76, 175, 80, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
}

@media (min-width: 769px) {
    .category-tabs-container {
        top: 80px;
        margin-left: 0;
        margin-right: 0;
    }
}

.category-tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.5rem;
}

.category-tabs {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    padding: 0.2rem 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 44px;
    padding: 0.5rem 0.95rem;
    background: #fff;
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 999px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.86rem;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(26, 35, 126, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-icon {
    font-size: 1.35rem;
    line-height: 1;
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.category-text {
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.2;
}

.category-tab:hover:not(.active) {
    border-color: var(--logo-green);
    color: var(--logo-green);
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.15);
}

.category-tab:hover:not(.active)::before {
    opacity: 1;
}

.category-tab:hover:not(.active) .category-icon {
    transform: scale(1.08);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--logo-green) 0%, #45a049 100%);
    color: white;
    border-color: var(--logo-green);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.35);
}

.category-tab.active::before {
    opacity: 0;
}

.category-tab.active .category-icon {
    transform: scale(1.05);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.category-tab.active .category-text {
    font-weight: 700;
}

.category-scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: all 0.3s ease;
    border: 2px solid rgba(76, 175, 80, 0.2);
    color: var(--logo-green);
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
}

.category-scroll-indicator.left {
    left: 0;
}

.category-scroll-indicator.right {
    right: 0;
}

.category-scroll-indicator.visible {
    opacity: 1;
    pointer-events: all;
}

.category-scroll-indicator:hover {
    background: var(--logo-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.category-scroll-indicator:active {
    transform: translateY(-50%) scale(0.95);
}

/* Menu Items */
.menu-items-container {
    position: relative;
    min-height: 500px;
}

.menu-category {
    display: block;
    scroll-margin-top: min(32vh, 260px);
}

.menu-category-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-top: 0;
    margin-bottom: 0.35rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(26, 35, 126, 0.08);
}

.menu-category:not(:first-of-type) .menu-category-header {
    margin-top: 2.25rem;
}

.menu-category-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    color: var(--logo-dark-blue);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.menu-venue-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
}

.menu-venue-tag--main {
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
}

.menu-hotel-filter {
    margin: 0 0 1rem;
}

.menu-hotel-filter[hidden] {
    display: none !important;
}

.menu-hotel-filter-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.55rem;
}

.menu-hotel-filter-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.menu-hotel-filter-hint {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 600;
}

.menu-hotel-filter-hint[hidden] {
    display: none !important;
}

.menu-hotel-filter--searching .menu-hotel-filter-tabs {
    opacity: 0.55;
    pointer-events: none;
}

.menu-hotel-filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.menu-hotel-filter-tabs::-webkit-scrollbar {
    display: none;
}

.menu-hotel-filter-tab {
    flex: 0 0 auto;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--card-border, rgba(15, 23, 42, 0.12));
    background: #fff;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.menu-hotel-filter-tab:hover {
    border-color: rgba(5, 150, 105, 0.35);
}

.menu-hotel-filter-tab.active {
    background: rgba(5, 150, 105, 0.12);
    border-color: rgba(5, 150, 105, 0.45);
    color: #047857;
}

.menu-hotel-filter-tab[aria-selected="true"] {
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.18);
}

.menu-category-count {
    font-size: 0.88rem;
    color: var(--text-light);
    flex-shrink: 0;
}

/* Rice vs noodles (and similar splits inside one category tab) */
.menu-subsection {
    margin-top: 1.75rem;
}

.menu-subsection:first-of-type {
    margin-top: 1rem;
}

.menu-subsection-head {
    margin-bottom: 1rem;
    padding: 0.65rem 0.9rem 0.75rem;
    border-radius: 12px;
    border: 2px solid rgba(26, 35, 126, 0.1);
    background: rgba(255, 255, 255, 0.7);
}

.menu-subsection--rice .menu-subsection-head {
    border-color: rgba(76, 175, 80, 0.35);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(250, 248, 243, 0.95) 100%);
    border-left: 4px solid var(--logo-green);
}

.menu-subsection--noodles .menu-subsection-head {
    border-color: rgba(255, 107, 53, 0.35);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(250, 248, 243, 0.98) 100%);
    border-left: 4px solid var(--primary-orange);
}

.menu-subsection-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.6vw, 1.45rem);
    margin: 0 0 0.3rem;
    color: var(--logo-dark-blue);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}



.menu-subsection-subtitle {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.45;
}

.menu-subsection-empty {
    margin: 0 0 0.5rem;
    padding: 1rem 1rem 1rem 1.1rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-light);
    background: rgba(26, 35, 126, 0.04);
    border-radius: 12px;
    border: 1px dashed rgba(26, 35, 126, 0.22);
}

.menu-subsection-grid {
    margin-top: 0;
}

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

.menu-item {
    animation: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 0.5rem 0;
}

.menu-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    touch-action: manipulation;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--logo-green), var(--logo-dark-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: none;
}

.menu-item:hover {
    transform: none;
    box-shadow: 0 12px 36px rgba(76, 175, 80, 0.2);
}

.menu-item:hover::after {
    opacity: 1;
}

.menu-item-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--beige-bg) 0%, #e8e3d8 100%);
}



.menu-item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(26, 35, 126, 0.1) 100%);
    opacity: 0;
    transition: none;
    z-index: 1;
}

.menu-item:hover .menu-item-image::before {
    opacity: 1;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
    position: relative;
    z-index: 0;
}

.menu-item:hover .menu-item-image img {
    transform: none;
}

.menu-item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.menu-item-actions {
    margin-top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* One slot: Add button OR same-width − qty + bar */
.menu-cart-control {
    width: 100%;
    position: relative;
}

/* Author `.order-btn { display: flex }` overrides UA `[hidden]`; force mutual exclusivity */
.menu-cart-control > .menu-cart-add[hidden],
.menu-cart-control > .menu-cart-qty-bar[hidden] {
    display: none !important;
}

.menu-cart-qty-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--logo-green) 0%, #45a049 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    box-sizing: border-box;
}

.menu-cart-qty-bar .menu-qty-minus,
.menu-cart-qty-bar .menu-qty-plus {
    flex: 0 0 52px;
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    color: white;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.menu-cart-qty-bar .menu-qty-minus:hover,
.menu-cart-qty-bar .menu-qty-plus:hover {
    background: rgba(255, 255, 255, 0.28);
}

.menu-cart-qty-bar .menu-qty-minus:active,
.menu-cart-qty-bar .menu-qty-plus:active {
    transform: scale(0.97);
}

.menu-cart-qty-bar .menu-cart-qty-middle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    background: rgba(0, 0, 0, 0.12);
    user-select: none;
}

.menu-cart-qty-bar--compact {
    min-height: 48px;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.25);
}

.menu-cart-qty-bar--compact .menu-qty-minus,
.menu-cart-qty-bar--compact .menu-qty-plus {
    flex-basis: 44px;
    font-size: 1.2rem;
}

.menu-cart-qty-bar--compact .menu-cart-qty-middle {
    font-size: 1rem;
}

.menu-item-size-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.menu-size-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

.menu-size-qty-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    min-width: 0;
}

.menu-size-qty-row .menu-cart-qty-bar {
    flex-shrink: 0;
    width: auto;
    min-width: 140px;
}

.menu-item-note {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.size-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 0.55rem;
    width: 100%;
}

.size-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 52px;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    border: 2px solid rgba(76, 175, 80, 0.35);
    background: rgba(76, 175, 80, 0.06);
    color: var(--text-dark);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.size-chip:hover {
    border-color: var(--logo-green);
    background: rgba(76, 175, 80, 0.12);
}

.size-chip:active {
    transform: scale(0.97);
}

.size-chip:disabled {
    border-color: rgba(0, 0, 0, 0.12);
    background: var(--beige-bg);
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.75;
}

.size-chip:disabled:hover,
.size-chip:disabled:active {
    border-color: rgba(0, 0, 0, 0.12);
    background: var(--beige-bg);
    transform: none;
}

.size-chip-label {
    font-size: 0.95rem;
    line-height: 1.2;
}

.size-chip-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--logo-green);
}

.size-chip--flash {
    animation: none;
}

@keyframes sizeChipFlash {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.5);
        border-color: var(--logo-green);
    }
    100% {
        box-shadow: 0 0 0 12px transparent;
        border-color: rgba(76, 175, 80, 0.35);
    }
}

.order-btn-label {
    font-weight: 600;
}

.order-btn-price {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0.95;
}

.order-btn--flash {
    animation: none;
}

@keyframes orderBtnFlash {
    0% {
        filter: brightness(1.15);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.55);
    }
    100% {
        filter: brightness(1);
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    }
}

.price--multi .price-main {
    font-size: 1.35rem;
}

.menu-item-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--logo-dark-blue) 0%, var(--logo-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-item-content .price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--logo-dark-blue) 0%, var(--logo-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.menu-item-content .price small {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    display: inline-block;
    margin-left: 0.25rem;
    -webkit-text-fill-color: var(--text-light);
}

/* ---- Discount Badge & Pricing ---- */
.discount-badge-wrap {
    position: relative;
    overflow: hidden;
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 5;
    padding: 5px 14px 5px 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    border-radius: 0 20px 20px 0;
    box-shadow: 0 3px 12px rgba(255, 65, 108, 0.45);
    line-height: 1.3;
    pointer-events: none;
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 3px 12px rgba(255, 65, 108, 0.45); }
    50%      { box-shadow: 0 3px 18px rgba(255, 65, 108, 0.7); }
}

.price-original {
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.55;
    -webkit-text-fill-color: var(--text-light);
    color: var(--text-light);
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.order-btn-price-original {
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 2px;
}

.size-chip-price-original {
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: line-through;
    color: var(--text-light);
    opacity: 0.55;
    line-height: 1.1;
}

.delivery-badge {
    position: absolute;
    bottom: 10px;
    right: 0;
    z-index: 5;
    padding: 4px 10px 4px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 20px 0 0 20px;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.4);
    line-height: 1.3;
    pointer-events: none;
}

/* Hero promo offer cards */
.delivery-offer-card--discount {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%) !important;
}

.delivery-offer-card--delivery8 {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%) !important;
}

.menu-item-content .addons {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Size Selector */
.size-selector {
    margin-bottom: 1rem;
}

.size-selector label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.size-select {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-select:focus {
    outline: none;
    border-color: var(--logo-green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Addon Selector */
.addon-selector {
    margin-bottom: 0.5rem;
}

.addons-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: block;
}

.addons-hint {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.85rem;
}

.addon-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.addon-option {
    position: relative;
    display: flex;
    align-items: stretch;
    cursor: pointer;
    user-select: none;
    flex: 1 1 auto;
    min-width: min(100%, 160px);
}

.addon-option input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    accent-color: var(--logo-green);
}

.addon-option-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 0.65rem 1rem;
    border: 2px solid rgba(76, 175, 80, 0.22);
    border-radius: 12px;
    transition: all 0.2s ease;
    background: rgba(76, 175, 80, 0.04);
    font-weight: 500;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.addon-option:hover .addon-option-text {
    border-color: var(--logo-green);
    background: rgba(76, 175, 80, 0.1);
}

.addon-option input[type="checkbox"]:focus-visible + .addon-option-text {
    outline: 3px solid var(--logo-green);
    outline-offset: 2px;
}

.addon-option input[type="checkbox"]:checked + .addon-option-text {
    background: linear-gradient(135deg, var(--logo-green) 0%, #45a049 100%);
    color: white;
    border-color: var(--logo-green);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.35);
}

/* Add button inside add-on row (pizza customization popup) */
.addon-option-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.addon-option-cta {
    margin-left: auto;
    flex: 0 0 auto;
    border: 0;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--logo-dark-blue);
    background: rgba(15, 23, 42, 0.06);
    transition: all 0.15s ease;
}

.addon-option-cta:hover {
    background: rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.addon-option input[type="checkbox"]:checked + .addon-option-text .addon-option-cta {
    color: white;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.order-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    min-height: 52px;
    background: linear-gradient(135deg, var(--logo-green) 0%, #45a049 100%);
    color: white;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    -webkit-tap-highlight-color: transparent;
}

.order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.order-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, var(--logo-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.order-btn:hover::before {
    left: 100%;
}

.order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.order-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    opacity: 0.75;
    box-shadow: none;
}

.order-btn:disabled:hover,
.order-btn:disabled:active {
    background: var(--text-light);
    transform: none;
    box-shadow: none;
}

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

/* Size Selection Modal */
.size-selection-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: none;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.size-modal-content {
    background: var(--warm-white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: none;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    margin: auto;
    position: relative;
}

.size-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.size-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.size-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

.size-modal-close:hover {
    color: var(--logo-dark-blue);
}

.size-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.size-option-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--logo-green);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.size-option-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.size-option-btn:active {
    transform: translateY(0);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--beige-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
    transition: transform var(--transition-fast);
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    color: white;
    font-size: 1.5rem;
    font-family: var(--font-display);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1517487881594-2787fef5ebf7?w=1920') center/cover;
    opacity: 0.05;
    z-index: 0;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    min-height: 300px;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow);
}

.stars {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--logo-dark-blue);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--beige-bg);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active,
.dot:hover {
    background: var(--logo-green);
    transform: scale(1.3);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--beige-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--logo-dark-blue);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--logo-dark-blue);
    margin-bottom: 0.5rem;
}

.contact-details p,
.contact-details a {
    color: var(--text-dark);
    line-height: 1.8;
    display: block;
}

.contact-details a:hover {
    color: var(--primary-red);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-call {
    background: var(--logo-dark-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-call:hover {
    background: #283593;
    transform: translateY(-3px);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-display);
    margin-bottom: 1rem;
    color: var(--logo-golden);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--logo-golden);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Cart System
   ============================================ */
.cart-float {
    position: fixed;
    bottom: 9rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--logo-green);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(76, 175, 0, 0.4);
    z-index: 998;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.cart-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(76, 175, 80, 0.6);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--logo-dark-blue);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.cart-notification {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: var(--logo-green);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: none;
}

.cart-notification.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ============================================
   Toast / Snackbar (non-blocking feedback)
   Replaces blocking alert() popups across the order flow.
   ============================================ */
.app-toast-stack {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147; /* above cart (2000) & checkout (2001) modals */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: min(92vw, 420px);
    pointer-events: none;
}

.app-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: #1f2937;
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.28);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.app-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.app-toast-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.app-toast-msg {
    flex: 1 1 auto;
    min-width: 0;
}

.app-toast-action {
    flex: 0 0 auto;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 9px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.app-toast-action:hover,
.app-toast-action:focus-visible {
    background: rgba(255, 255, 255, 0.3);
}

.app-toast--success {
    background: #15803d;
}

.app-toast--success .app-toast-icon {
    background: rgba(255, 255, 255, 0.22);
}

.app-toast--error {
    background: #b91c1c;
}

.app-toast--info {
    background: #1f2937;
}

@media (prefers-reduced-motion: reduce) {
    .app-toast {
        transition: opacity 0.15s ease;
        transform: none;
    }
    .app-toast.show {
        transform: none;
    }
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh; /* Dynamic viewport height for mobile */
    max-height: 100vh;
    max-height: 100dvh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

.cart-modal.active {
    display: flex;
}

.cart-hotel-conflict-body {
    padding: 0 1.25rem 0.5rem;
}

.cart-hotel-conflict-copy {
    margin: 0;
    color: var(--text-light, #475569);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cart-hotel-conflict-copy strong {
    color: var(--text-dark, #0f172a);
    font-weight: 700;
}

.cart-hotel-conflict-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 2px solid var(--beige-bg);
}

.cart-hotel-conflict-footer .btn-primary {
    min-width: 9.5rem;
}

.cart-modal-content {
    background: var(--warm-white);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    max-height: 80dvh; /* Dynamic viewport height */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin: auto;
    position: relative;
    overflow: hidden;
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--beige-bg);
}

.cart-modal-header h2 {
    font-family: var(--font-display);
    color: var(--logo-dark-blue);
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.cart-close:hover {
    background: var(--beige-bg);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    max-height: 400px;
    -webkit-overflow-scrolling: touch;
    min-height: 0; /* Allows flex item to shrink */
}

.cart-empty {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    gap: 1rem;
    flex-wrap: wrap;
}

.cart-item-info {
    flex: 1;
    min-width: 0; /* Allows text to wrap */
}

.cart-item-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    word-wrap: break-word;
    line-height: 1.4;
}

.cart-item-price {
    margin: 0;
    color: var(--logo-dark-blue);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.qty-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: var(--logo-green);
    color: white;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    touch-action: manipulation;
}

.qty-btn:hover {
    background: #45a049;
    transform: scale(1.1);
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
    touch-action: manipulation;
    border-radius: 50%;
    color: var(--primary-red, #d32f2f);
}

.remove-btn:hover,
.remove-btn:focus-visible {
    transform: scale(1.08);
    color: var(--primary-red, #d32f2f);
    background: rgba(211, 47, 47, 0.08);
}

.cart-footer {
    padding: 1.5rem;
    padding-bottom: 2.5rem;
    border-top: 2px solid var(--beige-bg);
    flex-shrink: 0;
    background: var(--warm-white);
    margin-top: auto;
}

.cart-total {
    font-size: 1.5rem;
    color: var(--logo-dark-blue);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.cart-summary {
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.98rem;
    color: var(--logo-dark-blue);
}

.cart-summary-row dt {
    margin: 0;
    color: #5b6470;
}

.cart-summary-row dd {
    margin: 0;
    font-weight: 600;
}

.cart-summary-row--total {
    margin-top: 0.4rem;
    padding-top: 0.7rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.16);
    font-size: 1.25rem;
}

.cart-summary-row--total dt {
    color: var(--logo-dark-blue);
    font-weight: 700;
}

.cart-summary-row--total dd {
    font-weight: 800;
}

.delivery-note {
    margin: 0 0 0.9rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.08));
    color: #7c2d12;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
}

.delivery-note strong {
    color: #431407;
}

.delivery-note--error {
    border-color: rgba(239, 68, 68, 0.45);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0.08));
    color: #7f1d1d;
}

.delivery-note--error strong {
    color: #450a0a;
}

.ordering-closed-note {
    margin: 0 0 0.9rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(100, 116, 139, 0.45);
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.22), rgba(148, 163, 184, 0.1));
    color: #334155;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
    font-size: 0.9rem;
}

.coupon-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
}

.coupon-row input {
    flex: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.coupon-input-wrap {
    position: relative;
    width: 100%;
}

.coupon-input-wrap input {
    padding-right: 92px; /* room for inline button */
    border-color: rgba(245, 158, 11, 0.55);
    background: rgba(245, 158, 11, 0.06);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.coupon-input-wrap input:focus {
    border-color: rgba(34, 197, 94, 0.65);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.coupon-action-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 2px solid var(--beige-bg);
    background: var(--warm-white);
    color: var(--logo-dark-blue);
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.coupon-action-btn:hover {
    border-color: var(--logo-green);
}

.coupon-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.coupon-feedback {
    margin: 0.5rem 0 0;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    font-weight: 700;
}

.coupon-feedback--success {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.14);
    color: #14532d;
}

.coupon-feedback--error {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: #7f1d1d;
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    min-height: 52px;
    background: var(--logo-green);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-checkout:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-checkout:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===============================
   PWA install CTA
   =============================== */
.pwa-install {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 92px; /* leave room for bottom nav */
    z-index: 1100; /* below the cart / checkout dialogs (2000+) so it never covers an order in progress */
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    padding: 14px 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.pwa-install-inner {
    max-width: 540px;
    margin: 0 auto;
}

.pwa-install-title {
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.pwa-install-sub {
    color: rgba(148, 163, 184, 0.95);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.pwa-install-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pwa-install-actions .btn {
    flex: 1 1 180px;
    justify-content: center;
}

@media (max-width: 640px) {
    .pwa-install {
        bottom: 88px;
    }
    .pwa-install-actions .btn {
        flex: 1 1 140px;
    }
}

/* Checkout Modal */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2001;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 0;
    animation: none;
}

.checkout-modal.active {
    display: flex;
}

.checkout-modal-content {
    background: var(--warm-white);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

.checkout-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--beige-bg);
    flex-shrink: 0;
}

.checkout-modal-content > .checkout-form {
    flex: 1;
    min-height: 0;
}

.checkout-modal-header h2 {
    font-family: var(--font-display);
    color: var(--logo-dark-blue);
    margin: 0;
}

.checkout-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.checkout-close:hover {
    background: var(--beige-bg);
    transform: rotate(90deg);
}

.checkout-form {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.checkout-form-scroll {
    padding: 1rem 1.5rem 1.25rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
}

.checkout-delivery-card {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(76, 175, 80, 0.22);
}

.checkout-delivery-card-label {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
}

.checkout-delivery-card-city {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--logo-dark-blue);
    line-height: 1.25;
}

.checkout-delivery-card-address {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    line-height: 1.45;
}

.checkout-delivery-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.checkout-delivery-change {
    flex: 0 0 auto;
    border: 1px solid rgba(76, 175, 80, 0.4);
    background: #fff;
    color: #15803d;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.checkout-delivery-change:hover,
.checkout-delivery-change:focus-visible {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.7);
}

/* Address chooser */
.checkout-address-chooser {
    margin: -0.4rem 0 1rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(76, 175, 80, 0.22);
    border-radius: 14px;
    background: #fff;
}

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

.checkout-address-chooser-title {
    margin: 0 0 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.checkout-address-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkout-address-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.checkout-address-option:hover {
    border-color: rgba(76, 175, 80, 0.5);
}

.checkout-address-option:has(input:checked) {
    border-color: var(--logo-green, #4caf50);
    background: rgba(76, 175, 80, 0.08);
}

.checkout-address-option input[type="radio"] {
    margin-top: 0.15rem;
    width: 18px;
    height: 18px;
    accent-color: var(--logo-green, #4caf50);
    flex: 0 0 auto;
}

.checkout-address-option-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.checkout-address-option-line {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark, #2c2c2c);
    line-height: 1.35;
}

.checkout-address-option-city {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light, #666);
}

.checkout-address-option--new .checkout-address-option-line {
    color: #15803d;
}

.checkout-expand {
    margin-bottom: 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--beige-bg);
    background: #fff;
    overflow: hidden;
}

.checkout-expand--coupon {
    background: rgba(245, 158, 11, 0.04);
    border-color: rgba(245, 158, 11, 0.35);
}

.checkout-expand-summary {
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--logo-dark-blue);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
}

.checkout-expand-summary::-webkit-details-marker {
    display: none;
}

.checkout-expand-summary::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid var(--logo-green);
    border-bottom: 2px solid var(--logo-green);
    transform: rotate(-45deg);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.checkout-expand[open] .checkout-expand-summary::before {
    transform: rotate(45deg);
    margin-top: -0.15rem;
}

.checkout-expand-hint {
    font-weight: 600;
    color: #94a3b8;
    font-size: 0.8rem;
}

.checkout-expand .order-summary,
.checkout-expand .coupon-row,
.checkout-expand .coupon-feedback {
    margin: 0 1rem 1rem;
}

.checkout-order-summary {
    max-height: 180px;
}

.checkout-delivery-note {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
    color: #475569;
    background: rgba(148, 163, 184, 0.14);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.checkout-delivery-note--hotel {
    color: #14532d;
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.28);
}

.checkout-delivery-note--hotel strong {
    color: #15803d;
    font-weight: 700;
}

.checkout-fields .form-group:last-child {
    margin-bottom: 0;
}

.checkout-fields:not([hidden]) {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--beige-bg);
    background: #fff;
}

.checkout-address-footer {
    margin-bottom: 0.75rem;
}

.checkout-address-footer[hidden] {
    display: none !important;
}

.checkout-address-footer input,
.checkout-address-footer textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    background: rgba(248, 250, 252, 0.9);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.checkout-address-footer textarea {
    display: block;
    min-height: 64px;
    line-height: 1.45;
    resize: vertical;
}

.checkout-address-footer input:focus,
.checkout-address-footer textarea:focus {
    outline: none;
    border-color: var(--logo-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

.checkout-address-footer input::placeholder,
.checkout-address-footer textarea::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.checkout-address-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.checkout-address-btn {
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.checkout-address-btn--cancel {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: var(--text-light, #666);
}

.checkout-address-btn--cancel:hover,
.checkout-address-btn--cancel:focus-visible {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.checkout-address-btn--cancel[hidden] {
    display: none;
}

.checkout-address-btn--save {
    background: var(--logo-green, #4caf50);
    color: #fff;
}

.checkout-address-btn--save:hover,
.checkout-address-btn--save:focus-visible {
    background: #15803d;
}

.checkout-coupon-inline .coupon-input-wrap input {
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.checkout-form-footer {
    flex-shrink: 0;
    padding: 1rem 1.5rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 2px solid var(--beige-bg);
    background: linear-gradient(180deg, var(--warm-white) 0%, #fff 40%);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
}

.checkout-price-lines {
    margin: 0 0 0.85rem;
    display: grid;
    gap: 0.35rem;
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.875rem;
}

.checkout-price-row dt {
    margin: 0;
    font-weight: 600;
    color: #64748b;
}

.checkout-price-row dd {
    margin: 0;
    font-weight: 800;
    color: var(--text-dark);
    font-variant-numeric: tabular-nums;
}

.btn-checkout-place {
    font-variant-numeric: tabular-nums;
}

.checkout-discount-amt {
    color: #15803d !important;
}

.btn-checkout-place {
    width: 100%;
    padding: 1rem 1.25rem;
    min-height: 52px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.35);
}

.btn-checkout-place:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--beige-bg);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--logo-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.location-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.location-input-group input {
    flex: 1;
}

.btn-location {
    padding: 0.8rem 1rem;
    background: var(--logo-dark-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.btn-location:hover {
    background: #283593;
    transform: translateY(-2px);
}

.btn-location:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.location-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    margin-top: 1rem;
    border: 2px solid var(--beige-bg);
    position: relative;
    z-index: 1;
}

/* Leaflet map container styling */
/* (Leaflet removed) */

.order-summary {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--beige-bg);
}

.summary-item:last-child {
    border-bottom: none;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--logo-dark-blue);
    text-align: center;
    padding: 1rem;
    background: var(--beige-bg);
    border-radius: 10px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    flex-shrink: 0;
    align-items: center;
}

.form-actions .btn {
    flex: 1;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}



/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        min-height: 100vh;
        padding: 1.5rem 0;
    }
    
    .hero-logo-icon {
        width: 350px;
        height: 350px;
        max-width: 90%;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-cafe {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
        letter-spacing: 4px;
        gap: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .badge {
        padding: 0.9rem 1.5rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .food-icon {
        font-size: 2.5rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Container adjustments */
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation improvements — safe area + full-height drawer */
    .navbar {
        padding-top: env(safe-area-inset-top, 0px);
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
    
    .nav-menu {
        position: fixed;
        top: calc(69px + env(safe-area-inset-top, 0px));
        left: -100%;
        width: 100%;
        height: calc(100dvh - 69px - env(safe-area-inset-top, 0px));
        min-height: 0;
        max-height: none;
        background: var(--warm-white);
        flex-direction: column;
        padding: 2rem 1.5rem;
        transition: left var(--transition-normal);
        box-shadow: 2px 0 20px var(--shadow);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .nav-actions {
        gap: 0.75rem;
    }
    
    .nav-cart {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-cart-count {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }
    
    .hamburger {
        display: flex;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    
    .hamburger span {
        width: 28px;
        height: 3px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .logo-name {
        font-size: 1.4rem;
    }
    
    .logo .tagline {
        font-size: 0.65rem;
    }
    
    /* Hero section mobile optimizations */
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        height: auto;
        padding: 80px 0 2rem;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    
    .hero-content {
        padding: 2rem 1rem;
        max-width: 100%;
        gap: 1.25rem;
    }
    
    .hero-logo-icon {
        width: 280px;
        height: 280px;
        max-width: 85%;
    }
    
    .hero-title {
        font-size: 3rem;
        gap: 0.2rem;
        line-height: 1.1;
    }
    
    .hero-cafe {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        letter-spacing: 3px;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tagline-dot {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 0;
        padding: 0 0.5rem;
    }
    
    .hero-badges {
        gap: 1rem;
        margin: 0;
        width: 100%;
        flex-direction: column;
        padding: 0 0.5rem;
    }
    
    .badge {
        padding: 1rem 1.2rem;
        gap: 0.8rem;
        width: 100%;
        max-width: 100%;
        min-width: auto;
        min-height: 60px;
    }
    
    .badge-icon {
        font-size: 1.5rem;
    }
    
    .badge-label {
        font-size: 0.75rem;
    }
    
    .badge-value {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        gap: 1rem;
        flex-direction: column;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        padding: 1.1rem 2rem;
        font-size: 1rem;
        justify-content: center;
        min-height: 50px;
    }
    
    .food-icon {
        font-size: 2rem;
        opacity: 0.2;
    }
    
    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-mouse {
        width: 25px;
        height: 40px;
    }
    
    .scroll-text {
        font-size: 0.65rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
        padding: 0 0.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Category tabs mobile improvements - Horizontal Scrollable Design */
    .category-tabs-container {
        top: calc(69px + env(safe-area-inset-top, 0px));
        padding: 0.75rem 0;
        margin: -1.5rem -1rem 1.5rem -1rem;
        position: sticky;
        z-index: 100;
        background: rgba(250, 248, 243, 0.98);
        backdrop-filter: blur(10px);
    }
    
    .category-tabs-wrapper {
        padding: 0;
        position: relative;
    }
    
    .category-tabs {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.75rem;
        padding: 0.5rem max(1rem, env(safe-area-inset-left, 0px)) 0.5rem max(1rem, env(safe-area-inset-right, 0px));
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-padding-left: max(1rem, env(safe-area-inset-left, 0px));
        scroll-padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
    
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .category-tab {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
        padding: 0.85rem 1.25rem;
        font-size: 0.85rem;
        min-height: 48px;
        min-width: auto;
        flex-shrink: 0;
        touch-action: manipulation;
        scroll-snap-align: start;
        border-radius: 25px;
        white-space: nowrap;
        width: auto;
    }
    
    .category-icon {
        font-size: 1.4rem;
        flex-shrink: 0;
    }
    
    .category-text {
        white-space: nowrap;
    }
    
    .category-tab.active {
        transform: none;
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    }
    
    .category-tab:hover:not(.active) {
        transform: none;
    }
    
    .category-scroll-indicator {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
    }
    
    .category-scroll-indicator.visible {
        opacity: 1;
    }
    
    /* Menu Search Mobile */
    .menu-search-container {
        margin-bottom: 1.5rem;
        padding: 0;
    }
    
    .menu-search-wrapper {
        padding: 0.75rem 1rem;
        border-radius: 30px;
    }
    
    .menu-search-input {
        font-size: 1rem;
        padding: 0.25rem 0;
    }
    
    .menu-search-input:focus,
    .menu-search-input:focus-visible {
        outline: none;
        box-shadow: none;
    }
    
    .search-icon {
        width: 20px;
        height: 20px;
        margin-right: 0.75rem;
    }
    
    .search-results-info {
        font-size: 0.9rem;
        padding: 0.65rem;
        margin-top: 0.75rem;
    }
    
    /* Menu grid mobile - Optimized for touch */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0.5rem 0;
    }
    
    .menu-category {
        scroll-margin-top: min(34vh, 200px);
    }
    
    .size-chips {
        grid-template-columns: repeat(auto-fill, minmax(98px, 1fr));
        gap: 0.45rem;
    }
    
    .menu-item {
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    .menu-item:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    }
    
    .menu-item-image {
        height: 180px;
    }
    
    .menu-item-content {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .menu-item-content h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .menu-item-content .price {
        font-size: 1.3rem;
    }
    
    .menu-item-content .price small {
        font-size: 0.85rem;
    }
    
    .addon-selector {
        margin-bottom: 0.75rem;
    }
    
    .addons-label {
        font-size: 0.9rem;
        margin-bottom: 0.65rem;
    }
    
    .addon-options {
        gap: 0.5rem;
    }
    
    .addon-option-text {
        font-size: 0.85rem;
        padding: 0.45rem 0.8rem;
    }
    
    .order-btn {
        min-height: 50px;
        font-size: 1rem;
        padding: 0.95rem 1.5rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(76, 175, 80, 0.2);
        border-radius: 12px;
    }
    
    .order-btn:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
    }
    
    /* Gallery mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .gallery-item {
        border-radius: 12px;
        aspect-ratio: 1;
    }
    
    /* Testimonials mobile */
    .testimonials-carousel {
        padding: 0 0.5rem;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .testimonial-author {
        font-size: 1.1rem;
    }
    
    .stars {
        font-size: 1.5rem;
    }
    
    /* Contact section mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        margin: 0 auto;
    }
    
    .contact-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .btn-whatsapp,
    .btn-call {
        width: 100%;
        padding: 1rem;
        min-height: 48px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
        border-radius: 12px;
    }
    
    /* Floating buttons mobile */
    .whatsapp-float {
        bottom: calc(1rem + env(safe-area-inset-bottom));
        right: 1rem;
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
        min-width: 56px;
        min-height: 56px;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    
    .cart-float {
        bottom: calc(7rem + env(safe-area-inset-bottom));
        right: 1rem;
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
        min-width: 56px;
        min-height: 56px;
    }
    
    .cart-count {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    /* Modals mobile */
    .cart-modal {
        padding: 0;
        align-items: flex-end;
        justify-content: flex-end;
        overflow: hidden;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
    }
    
    .cart-modal-content {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 95vh;
        max-height: 95dvh;
        max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        margin: 0;
        margin-top: auto;
        margin-bottom: 0;
        border-radius: 20px 20px 0 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        animation: none;
        position: relative;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transform: translateY(0);
        min-height: 0;
        /* Ensure footer is always visible */
        justify-content: flex-start;
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .cart-modal-header {
        padding: 1.25rem 1rem;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        background: var(--warm-white);
        z-index: 1;
        border-bottom: 2px solid var(--beige-bg);
    }
    
    .cart-modal-header h2 {
        font-size: 1.4rem;
    }
    
    .cart-close {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.8rem;
    }
    
    .cart-items {
        padding: 1rem;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        min-height: 0;
        /* Allow items to scroll while footer stays fixed */
    }
    
    .cart-empty {
        padding: 3rem 1rem;
        font-size: 1rem;
    }
    
    .cart-item {
        padding: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .cart-item-info {
        width: 100%;
        min-width: 100%;
    }
    
    .cart-item-info h4 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
    
    .cart-item-price {
        font-size: 1rem;
    }
    
    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.5rem;
        border-top: 1px solid var(--beige-bg);
    }
    
    .qty-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.4rem;
        font-weight: 600;
    }
    
    .qty-value {
        min-width: 40px;
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    .remove-btn {
        min-width: 44px;
        min-height: 44px;
        font-size: 1.4rem;
        padding: 0.5rem;
    }
    
    .cart-footer {
        padding: 1.25rem 1rem;
        padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
        flex-shrink: 0;
        position: relative;
        background: var(--warm-white);
        border-top: 2px solid var(--beige-bg);
        border-bottom: none;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 10;
        margin-top: auto;
        width: 100%;
        order: 999; /* Ensure footer is always last */
    }
    
    .cart-total {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        padding: 0.5rem 0;
    }
    
    .btn-checkout {
        min-height: 52px;
        font-size: 1.1rem;
        padding: 1.1rem;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .btn-checkout:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    }
    
    .checkout-form-scroll {
        padding: 1rem 1.25rem 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .checkout-form-footer {
        padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group select {
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 12px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .location-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-location {
        width: 100%;
        padding: 1rem;
        min-height: 48px;
        font-size: 1rem;
        white-space: normal;
    }
    
    .location-map {
        height: 250px;
        border-radius: 12px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        padding-top: 1rem;
        padding-bottom: 1.5rem;
        border-top: 1px solid var(--beige-bg);
        position: sticky;
        bottom: 0;
        background: var(--warm-white);
        z-index: 10;
    }
    
    .form-actions .btn {
        width: 100%;
        padding: 1rem;
        min-height: 52px;
        font-size: 1.05rem;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .form-actions .btn-primary {
        background: linear-gradient(135deg, var(--logo-green) 0%, #45a049 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
        font-weight: 700;
        letter-spacing: 0.3px;
    }
    
    .form-actions .btn-primary:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 0 1rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    /* Size modal mobile */
    .size-modal-content {
        width: 90%;
        max-width: 90%;
        padding: 1.5rem;
    }
    
    .size-option-btn {
        padding: 1.1rem 1.5rem;
        min-height: 52px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .container {
        padding: 0 0.75rem;
    }
    
    body.order-app .container {
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    }
    
    .nav-container {
        padding: 0.75rem 0.75rem;
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-name {
        font-size: 1.2rem;
    }
    
    .logo .tagline {
        font-size: 0.6rem;
    }
    
    .hero {
        padding: 70px 0 1.5rem;
    }
    
    .hero-content {
        padding: 1.5rem 0.75rem;
        gap: 1rem;
    }
    
    .hero-logo-icon {
        width: 220px;
        height: 220px;
        max-width: 80%;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-cafe {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
        letter-spacing: 2px;
        gap: 0.4rem;
    }
    
    .tagline-dot {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin: 0;
    }
    
    .badge {
        padding: 0.9rem 1rem;
        gap: 0.7rem;
    }
    
    .badge-icon {
        font-size: 1.3rem;
    }
    
    .badge-label {
        font-size: 0.7rem;
    }
    
    .badge-value {
        font-size: 0.85rem;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .category-tabs-container {
        margin: -1rem -0.75rem 1rem -0.75rem;
        padding: 0.65rem 0;
    }
    
    .category-tabs {
        padding: 0.4rem max(0.75rem, env(safe-area-inset-left, 0px)) 0.4rem max(0.75rem, env(safe-area-inset-right, 0px));
        gap: 0.6rem;
    }
    
    .category-tab {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        min-height: 44px;
        border-radius: 22px;
    }
    
    .category-icon {
        font-size: 1.3rem;
    }
    
    .menu-search-container {
        padding: 0;
        margin-bottom: 1.25rem;
    }
    
    .menu-search-wrapper {
        padding: 0.7rem 0.9rem;
    }
    
    .menu-search-input {
        font-size: 0.95rem;
    }
    
    .menu-grid {
        padding: 0.5rem 0;
        gap: 1.1rem;
    }
    
    .menu-item-content {
        padding: 1.1rem;
    }
    
    .menu-item-content h3 {
        font-size: 1.15rem;
    }
    
    .menu-item-content .price {
        font-size: 1.2rem;
    }
    
    .order-btn {
        min-height: 48px;
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .category-scroll-indicator {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    .menu-item-image {
        height: 160px;
    }
    
    .menu-item-content {
        gap: 0.6rem;
    }
    
    .addon-option-text {
        font-size: 0.8rem;
        padding: 0.4rem 0.7rem;
    }
    
    .gallery-grid {
        gap: 0.75rem;
        padding: 0;
    }
    
    .testimonial-content {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .contact-content {
        padding: 0;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .whatsapp-float {
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        right: 0.75rem;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    
    .cart-float {
        bottom: calc(6.5rem + env(safe-area-inset-bottom));
        right: 0.75rem;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    
    .cart-modal-content {
        border-radius: 15px 15px 0 0;
        max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }
    
    .cart-items {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
    
    .cart-footer {
        flex-shrink: 0;
        margin-top: auto;
    }
    
    .cart-modal-header {
        padding: 1rem 0.75rem;
    }
    
    .cart-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .cart-items {
        padding: 0.75rem;
    }
    
    .cart-item {
        padding: 0.9rem;
    }
    
    .cart-item-info h4 {
        font-size: 1rem;
    }
    
    .cart-footer {
        padding: 1rem 0.75rem;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }
    
    .cart-total {
        font-size: 1.3rem;
    }
    
    .btn-checkout {
        font-size: 1rem;
        padding: 1rem;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .btn-checkout:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
    }
    
    .checkout-form {
        padding: 1rem;
    }
    
    .size-modal-content {
        width: calc(100% - 1.5rem);
        max-width: calc(100% - 1.5rem);
        padding: 1.25rem;
        max-height: calc(100vh - 1.5rem);
        max-height: calc(100dvh - 1.5rem);
    }
    
    .size-modal-header h3 {
        font-size: 1.25rem;
    }
    
    .size-option-btn {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        min-height: 48px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.hidden {
    display: none !important;
}

.fade-in {
    animation: none;
}

/* Smooth scroll for older browsers */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Disable transitions during fast scroll */
body.fast-scroll * {
    transition: none !important;
    animation: none !important;
}

body.fast-scroll .video-background video {
    display: none;
}

/* ============================================
   Mobile-Specific Enhancements
   ============================================ */

/* Safe area support for notched devices */
@supports (padding: max(0px)) {
    .hero {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
    
    /* Float positions for mobile are set in max-width breakpoints; keep desktop safe-area here */
    @media (min-width: 769px) {
        .whatsapp-float {
            bottom: max(1rem, env(safe-area-inset-bottom));
        }
        
        .cart-float {
            bottom: max(7rem, calc(7rem + env(safe-area-inset-bottom)));
        }
    }
    
    .footer {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }
}

/* Touch optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Better touch targets */
    button,
    .btn,
    .category-tab,
    .nav-link,
    .gallery-item,
    .menu-item,
    .size-chip,
    .qty-btn,
    .remove-btn {
        -webkit-tap-highlight-color: rgba(76, 175, 80, 0.2);
    }
    
    /* Remove hover effects on touch devices */
    .menu-item:hover {
        transform: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    /* Active states for touch - no transform */
    .category-tab:active {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .order-btn:active {
        transform: scale(0.98);
    }
}

/* Better form inputs for mobile */
@media (max-width: 768px) {
    input[type="text"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        border-radius: 12px;
    }
    
    /* Remove number input spinners */
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        appearance: none;
        margin: 0;
    }
    
    input[type="number"] {
        -moz-appearance: textfield;
        appearance: textfield;
    }
}

/* Improved scrolling on mobile */
@media (max-width: 768px) {
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: auto;
    }
    
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Better scrollbar on mobile */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    
    ::-webkit-scrollbar-track {
        background: var(--beige-bg);
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--logo-green);
        border-radius: 3px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #45a049;
    }
}

/* Modal improvements for mobile */
@media (max-width: 768px) {
    .checkout-modal {
        padding: 0;
        align-items: flex-end;
    }
    
    .size-selection-modal {
        padding: 1rem;
        align-items: center;
        justify-content: center;
        overflow-y: auto;
    }
    
    .checkout-modal-content {
        border-radius: 20px 20px 0 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        max-height: 95dvh;
        animation: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .size-modal-content {
        border-radius: 20px;
        margin: auto;
        max-height: calc(100vh - 2rem);
        max-height: calc(100dvh - 2rem);
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        padding: 1.5rem;
        animation: none;
        position: relative;
        overflow-y: auto;
    }
    
    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    /* Better modal close button */
    .cart-close,
    .checkout-close,
    .size-modal-close {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 1.8rem;
    }
}

/* Category tabs smooth scrolling on mobile */
@media (max-width: 768px) {
    .category-tabs {
        scroll-padding: 0.5rem;
        scroll-snap-type: x mandatory;
    }
    
    .category-tab {
        scroll-snap-align: start;
    }
}

/* Menu items better spacing on mobile */
@media (max-width: 768px) {
    .menu-section {
        padding: 3rem 0;
    }
    
    .menu-items-container {
        min-height: 400px;
    }
    
    .menu-grid {
        gap: 1.75rem;
        padding: 0.25rem 0;
    }
    
    .menu-item {
        border-radius: 20px;
    }
    
    .menu-item-image {
        height: 200px;
    }
    
    .menu-item-content {
        padding: 1.5rem;
        gap: 0.65rem;
    }
    
    .menu-item-content h3 {
        font-size: 1.25rem;
    }
    
    .menu-item-content .price {
        font-size: 1.25rem;
    }
    
    .order-btn {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Gallery better touch interaction */
@media (max-width: 768px) {
    .gallery-overlay {
        transform: translateY(0);
        opacity: 0.9;
    }
    
    .gallery-item:active .gallery-overlay {
        opacity: 1;
    }
}

/* Testimonials better mobile layout */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .testimonial-dots {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Contact section mobile improvements */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px var(--shadow);
    }
}

/* Footer mobile */
@media (max-width: 768px) {
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
}

/* Prevent text selection on buttons for better UX */
@media (max-width: 768px) {
    button,
    .btn,
    .category-tab {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
}

/* Better focus states for accessibility */
@media (max-width: 768px) {
    button:focus-visible,
    .btn:focus-visible,
    .category-tab:focus-visible,
    input:focus-visible:not(.menu-search-input) {
        outline: 3px solid var(--logo-green);
        outline-offset: 2px;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 70px 0 1.5rem;
    }
    
    .hero-logo-icon {
        width: 80px;
        height: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cafe {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .nav-menu {
        top: calc(69px + env(safe-area-inset-top, 0px));
        height: calc(100dvh - 69px - env(safe-area-inset-top, 0px));
        max-height: none;
    }
    
    .cart-modal-content {
        max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }
    
    .checkout-modal-content {
        max-height: 85vh;
        max-height: 85dvh;
    }
}

/* ============================================
   Order app (online ordering focus)
   ============================================ */
.order-app {
    background: var(--cream-bg);
}

.order-app .logo-link {
    color: inherit;
    text-decoration: none;
    align-items: center;
}

.order-app .logo-link:focus-visible {
    outline: 3px solid var(--logo-green);
    outline-offset: 4px;
    border-radius: 8px;
}

.order-app .logo .logo-name {
    margin: 0;
}

.order-nav-tagline {
    letter-spacing: 0.04em;
}

.order-header {
    padding: calc(5.5rem + env(safe-area-inset-top, 0)) 1.5rem 2.25rem;
    background: linear-gradient(145deg, #1a237e 0%, #283593 45%, #1b5e20 100%);
    color: var(--warm-white);
}

.order-header-inner {
    max-width: 720px;
    margin: 0 auto;
}

.order-header-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.order-header-lead {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.95;
    margin: 0 0 1.25rem;
}

.order-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.order-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.order-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

#refreshOrdersBtn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
#refreshOrdersBtn .refresh-icon {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}
#refreshOrdersBtn.is-refreshing .refresh-icon {
    animation: orders-refresh-spin 0.8s linear infinite;
}
#refreshOrdersBtn[data-loading="1"] {
    opacity: 0.85;
    cursor: progress;
}
@keyframes orders-refresh-spin {
    to { transform: rotate(360deg); }
}

/* Universal button loading spinner — add `is-loading` to any button/.btn during async actions. */
.is-loading {
    color: transparent !important;
    position: relative !important;
    pointer-events: none;
    cursor: progress;
}
.is-loading > * { visibility: hidden; }
.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.15em;
    height: 1.15em;
    margin: -0.575em 0 0 -0.575em;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-loading-spin 0.6s linear infinite;
    visibility: visible;
}
.is-loading--dark::after {
    border-color: rgba(0, 0, 0, 0.25);
    border-top-color: rgba(0, 0, 0, 0.7);
}
@keyframes btn-loading-spin {
    to { transform: rotate(360deg); }
}

/* Full-screen action overlay for blocking operations (e.g. placing an order). */
.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}
.app-loading-overlay[data-show="1"] {
    opacity: 1;
    pointer-events: auto;
}
.app-loading-overlay .app-loading-spinner {
    width: 2.75rem;
    height: 2.75rem;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-loading-spin 0.7s linear infinite;
}
.app-loading-overlay .app-loading-text {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.order-header .btn-primary {
    background: var(--logo-green);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.order-header .btn-primary:hover {
    background: #43a047;
}

.order-header .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.order-header .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.order-menu {
    padding-top: 2.5rem;
}

.order-menu-title {
    margin-bottom: 0.35rem;
}

.order-menu-sub {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.order-help {
    padding: 3rem 0 3.5rem;
    background: var(--beige-bg);
}

.order-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0 2rem;
}

.order-help-card {
    background: white;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 4px 24px rgba(26, 35, 126, 0.06);
    border: 1px solid rgba(76, 175, 80, 0.12);
}

.order-help-card h3 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
    color: var(--logo-dark-blue);
}

.order-help-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.55;
}

.order-help-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--logo-green);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.order-help-notes {
    max-width: 40rem;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(26, 35, 126, 0.08);
    line-height: 1.7;
    font-size: 0.95rem;
    color: var(--text-light);
}

.order-help-notes li {
    margin-bottom: 0.5rem;
}

.order-help-notes li:last-child {
    margin-bottom: 0;
}

.order-help-notes a {
    color: var(--logo-green);
    font-weight: 600;
}

.order-contact .section-subtitle {
    margin-bottom: 1.5rem;
}

.contact-phone-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
}

.contact-phone-list a {
    color: var(--logo-green);
    font-weight: 600;
}

.contact-map-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--logo-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-map iframe {
    min-height: 240px;
}

.order-footer .order-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.order-footer-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.order-footer .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.order-footer .footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

.nav-cart.nav-cart-empty {
    opacity: 0.55;
}

.cart-float.cart-float-empty {
    opacity: 0.5;
    transform: scale(0.92);
}

.order-app .menu-search-wrapper {
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.08);
}

@media (max-width: 768px) {
    .order-header-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 140px;
    }
    
    .order-header {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
    
    .order-menu {
        padding-top: 1.75rem;
        padding-bottom: calc(3.5rem + env(safe-area-inset-bottom, 0px));
    }
    
    body.order-app .container {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
    
    body.order-app .footer {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
    }
}

/* ============================================
   Mobile food app — professional UI system
   ============================================ */
body.app-mobile {
    --fo-max: 430px;
    --fo-top: 56px;
    --fo-nav: 64px;
    --fo-space-1: 0.25rem;
    --fo-space-2: 0.5rem;
    --fo-space-3: 0.75rem;
    --fo-space-4: 1rem;
    --fo-space-5: 1.25rem;
    --fo-space-6: 1.5rem;
    --fo-space-7: 1.75rem;
    --fo-space-8: 2rem;
    --fo-canvas: #f4f4f5;
    --fo-surface: #ffffff;
    --fo-text: #18181b;
    --fo-muted: #71717a;
    --fo-border: #e4e4e7;
    --fo-accent: #16a34a;
    --fo-accent-dark: #15803d;
    --fo-accent-soft: rgba(22, 163, 74, 0.1);
    --fo-hero: #0f172a;
    --fo-radius: 12px;
    --fo-radius-sm: 10px;
    --fo-btn-h: 48px;
    --fo-btn-h-sm: 44px;
    --fo-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --fo-shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);

    font-family: var(--font-body);
    background: var(--fo-canvas);
    color: var(--fo-text);
    -webkit-tap-highlight-color: transparent;
}

body.app-mobile:has(#appModeToggle) {
    --fo-top: 64px;
}

body.app-mobile .app-shell {
    max-width: var(--fo-max);
    margin: 0 auto;
    min-height: 100dvh;
    min-height: 100vh;
    background: var(--fo-canvas);
    box-shadow: 0 0 0 1px var(--fo-border);
    padding-top: calc(var(--fo-top) + env(safe-area-inset-top, 0px));
    padding-bottom: calc(var(--fo-nav) + env(safe-area-inset-bottom, 0px) + var(--fo-space-3));
}

body.app-mobile.order-app {
    background: var(--fo-canvas);
}

/* —— Top bar —— */
body.app-mobile .app-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: var(--fo-max);
    margin-left: auto;
    margin-right: auto;
    z-index: 1500;
    padding: env(safe-area-inset-top, 0px) max(0.75rem, env(safe-area-inset-right, 0px)) 0 max(0.75rem, env(safe-area-inset-left, 0px));
    background: #fff;
    border-bottom: 1px solid var(--fo-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    pointer-events: auto;
    isolation: isolate;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

body.app-mobile .app-topbar.scrolled {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.app-mobile .app-topbar-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.36rem 0.72rem 0.36rem 0.6rem;
    border-radius: 999px;
    background: var(--fo-accent-soft);
    border: 1px solid rgba(22, 163, 74, 0.24);
    color: var(--fo-accent-dark);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

body.app-mobile .app-topbar-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fo-accent);
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
    animation: topbarStatusPulse 2.4s ease-out infinite;
}

body.app-mobile .app-topbar-status--closed {
    background: #f4f4f5;
    border-color: var(--fo-border);
    color: var(--fo-muted);
}

body.app-mobile .app-topbar-status--closed .app-topbar-status-dot {
    background: #a1a1aa;
    box-shadow: none;
    animation: none;
}

@keyframes topbarStatusPulse {
    0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
    70%  { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@media (prefers-reduced-motion: reduce) {
    body.app-mobile .app-topbar-status-dot {
        animation: none;
    }
}

body.app-mobile .app-topbar-inner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.6rem;
    min-height: 0;
    padding: 0.45rem 0 0.5rem;
    position: relative;
    z-index: 2;
}

body.app-mobile .app-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
    color: inherit;
    gap: 12px;
}

body.app-mobile .app-brand--logo-only {
    align-self: center;
}

body.app-mobile .app-topbar .app-mode-toggle {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    gap: 0;
    margin: 0;
    padding: 4px;
    border-radius: 10px;
    background: #ececef;
    border: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 3;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

body.app-mobile .app-topbar .app-mode-btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 44px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.1;
    padding: 0 0.35rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #52525b;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

body.app-mobile .app-topbar .app-mode-btn .app-mode-emoji {
    font-size: 0.9375rem;
    line-height: 1;
    flex-shrink: 0;
}

body.app-mobile .app-topbar .app-mode-btn .app-mode-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.app-mobile .app-topbar .app-mode-btn[data-mode="food"].is-active {
    background: #fff;
    color: var(--fo-accent-dark, #15803d);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

body.app-mobile .app-topbar .app-mode-btn[data-mode="grocery"].is-active {
    background: #fff;
    color: var(--gro-accent, #7c3aed);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

body.app-mobile .app-brand:focus-visible {
    outline: 2px solid var(--fo-accent);
    outline-offset: 3px;
    border-radius: var(--fo-radius-sm);
}

body.app-mobile .app-brand-logo-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--fo-border);
    box-shadow: 0 2px 6px rgba(20, 83, 45, 0.18);
    padding: 0;
}

body.app-mobile .app-brand--logo-only .app-brand-logo-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

body.app-mobile .app-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.app-mobile .app-brand-name {
    font-weight: 800;
    font-size: 1.0625rem;
    letter-spacing: -0.03em;
    color: var(--fo-text);
    line-height: 1.15;
}

body.app-mobile .app-brand-sub {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--fo-muted);
    letter-spacing: 0.01em;
}

body.app-mobile .app-topbar .nav-cart,
body.app-mobile .app-topbar .app-topbar-cart {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: var(--fo-radius-sm);
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
    color: var(--fo-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.app-mobile .app-topbar .nav-cart:hover,
body.app-mobile .app-topbar .app-topbar-cart:hover {
    background: #fafafa;
}

body.app-mobile .app-topbar .nav-cart:not(.nav-cart-empty),
body.app-mobile .app-topbar .app-topbar-cart:not(.nav-cart-empty) {
    border-color: var(--fo-accent);
    background: var(--fo-accent-soft);
    color: var(--fo-accent-dark);
}

body.app-mobile .app-topbar .nav-cart:active,
body.app-mobile .app-topbar .app-topbar-cart:active {
    transform: scale(0.97);
}

body.app-mobile .app-cart-svg {
    display: block;
}

body.app-mobile .app-topbar .nav-cart-count {
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: 700;
    border: 2px solid var(--fo-surface);
    background: var(--fo-accent);
    color: #fff;
}

body.app-mobile .nav-cart.nav-cart-empty .nav-cart-count {
    display: none;
}

/* —— Bottom navigation —— */
body.app-mobile .app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--fo-max);
    z-index: 1090;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    min-height: var(--fo-nav);
    padding: var(--fo-space-2) 0 env(safe-area-inset-bottom, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    background: var(--fo-surface);
    border-top: 1px solid var(--fo-border);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.04);
}

body.app-mobile .app-tab {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--fo-space-1);
    padding: var(--fo-space-2) var(--fo-space-2) var(--fo-space-3);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--fo-muted);
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    min-height: 52px;
}

body.app-mobile .app-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 28px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--fo-accent);
    transition: transform 0.2s ease;
}

body.app-mobile .app-tab.active {
    color: var(--fo-accent-dark);
}

body.app-mobile .app-tab.active::before {
    transform: translateX(-50%) scaleX(1);
}

body.app-mobile .app-tab-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    opacity: 0.72;
    transition: opacity 0.15s ease;
}

body.app-mobile .app-tab.active .app-tab-icon {
    opacity: 1;
}

body.app-mobile .app-tab-label {
    line-height: 1;
}

/* —— Sticky "View cart" bar —— */
.cart-bar {
    display: none;
}

body.app-mobile .cart-bar {
    position: fixed;
    left: 50%;
    bottom: calc(var(--fo-nav) + env(safe-area-inset-bottom, 0px) + var(--fo-space-2));
    transform: translateX(-50%);
    width: min(calc(100% - 2 * var(--fo-space-4)), calc(var(--fo-max) - 2 * var(--fo-space-4)));
    z-index: 1095;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fo-space-3);
    padding: var(--fo-space-2) var(--fo-space-3) var(--fo-space-2) var(--fo-space-2);
    min-height: 58px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(180deg, var(--fo-accent), var(--fo-accent-dark));
    color: #fff;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.34), 0 4px 10px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s cubic-bezier(0.34, 1.16, 0.64, 1), opacity 0.22s ease;
}

body.app-mobile .cart-bar:active {
    transform: translateX(-50%) scale(0.985);
}

/* Bump animation when an item is added (replaces the top toast). */
@keyframes cartBarBump {
    0%   { transform: translateX(-50%) scale(1); }
    28%  { transform: translateX(-50%) scale(1.045); }
    55%  { transform: translateX(-50%) scale(0.99); }
    100% { transform: translateX(-50%) scale(1); }
}

body.app-mobile .cart-bar.cart-bar--bump {
    animation: cartBarBump 0.42s cubic-bezier(0.34, 1.4, 0.64, 1);
    box-shadow: 0 14px 36px rgba(22, 163, 74, 0.45), 0 4px 12px rgba(0, 0, 0, 0.14);
}

@keyframes cartBarBadgePop {
    0%   { transform: scale(1); }
    35%  { transform: scale(1.28); }
    100% { transform: scale(1); }
}

body.app-mobile .cart-bar.cart-bar--bump .cart-bar-badge {
    animation: cartBarBadgePop 0.42s cubic-bezier(0.34, 1.4, 0.64, 1);
    background: rgba(255, 255, 255, 0.32);
}

@media (prefers-reduced-motion: reduce) {
    body.app-mobile .cart-bar.cart-bar--bump,
    body.app-mobile .cart-bar.cart-bar--bump .cart-bar-badge {
        animation: none;
    }
}

body.app-mobile .cart-bar.cart-bar--hidden {
    transform: translateX(-50%) translateY(calc(100% + var(--fo-nav) + 24px));
    opacity: 0;
    pointer-events: none;
}

body.app-mobile .cart-bar-info {
    display: flex;
    align-items: center;
    gap: var(--fo-space-3);
    min-width: 0;
}

body.app-mobile .cart-bar-badge {
    flex-shrink: 0;
    min-width: 30px;
    height: 30px;
    padding: 0 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
}

body.app-mobile .cart-bar-labels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    min-width: 0;
}

body.app-mobile .cart-bar-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

body.app-mobile .cart-bar-meta {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.2;
    white-space: nowrap;
}

body.app-mobile .cart-bar-cta {
    display: flex;
    align-items: center;
    gap: var(--fo-space-1);
    flex-shrink: 0;
}

body.app-mobile .cart-bar-total {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

body.app-mobile .cart-bar-badge {
    font-variant-numeric: tabular-nums;
}

body.app-mobile .cart-bar-arrow {
    display: block;
    opacity: 0.92;
}

/* Lift content above the cart bar so the last item isn't covered */
body.app-mobile.has-cart-bar .app-shell {
    padding-bottom: calc(var(--fo-nav) + env(safe-area-inset-bottom, 0px) + 84px);
}

@media (prefers-reduced-motion: reduce) {
    body.app-mobile .cart-bar {
        transition: opacity 0.2s ease;
    }
}

/* —— Hero —— */
body.app-mobile .order-header-inner {
    max-width: 100%;
    padding: 0;
}

body.app-mobile .order-header-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

body.app-mobile .app-home-hero.order-header {
    position: relative;
    margin: 0;
    padding: var(--fo-space-6, 1.5rem) var(--fo-space-5) var(--fo-space-8);
    padding-left: max(var(--fo-space-5), env(safe-area-inset-left, 0px));
    padding-right: max(var(--fo-space-5), env(safe-area-inset-right, 0px));
    background:
        radial-gradient(120% 80% at 110% -10%, rgba(251, 191, 36, 0.45), transparent 55%),
        radial-gradient(90% 70% at -10% 20%, rgba(74, 222, 128, 0.35), transparent 50%),
        radial-gradient(80% 60% at 50% 110%, rgba(34, 197, 94, 0.25), transparent 55%),
        linear-gradient(155deg, #0f172a 0%, #14532d 38%, #15803d 72%, #166534 100%);
    color: #fafafa;
    border-radius: 0 0 28px 28px;
    border: none;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    overflow-x: clip;
    overflow-y: visible;
}

/* —— Delivery-app hero —— */
.delivery-hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08), transparent 42%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
}

.delivery-hero-inner {
    position: relative;
    z-index: 2;
}

.delivery-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: var(--fo-space-5, 1.25rem);
}

.delivery-hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.delivery-hero-location-icon {
    display: inline-flex;
    color: #fde68a;
    flex-shrink: 0;
}

.delivery-hero-location-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delivery-hero-location-text strong {
    font-weight: 700;
}

.delivery-hero-live {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.22);
    border: 1px solid rgba(134, 239, 172, 0.45);
    color: #dcfce7;
}

.delivery-hero-live--closed {
    background: rgba(248, 113, 113, 0.18);
    border-color: rgba(252, 165, 165, 0.4);
    color: #fee2e2;
}

.delivery-hero-title {
    font-family: var(--font-body);
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin: 0 0 var(--fo-space-3, 0.75rem);
    color: #fff;
}

.delivery-hero-accent {
    background: linear-gradient(90deg, #fde68a 0%, #fbbf24 45%, #86efac 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.delivery-hero-lead {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 var(--fo-space-5, 1.25rem);
    max-width: 22rem;
}

.delivery-hero-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    margin: 0 0 var(--fo-space-5, 1.25rem);
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 14px;
    background: #fff;
    color: #64748b;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: left;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    cursor: pointer;
}

.delivery-hero-search-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    color: #16a34a;
}

.delivery-hero-search-text {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delivery-hero-categories {
    display: flex;
    gap: var(--fo-space-3, 0.75rem);
    margin: 0 0 var(--fo-space-5, 1.25rem);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * max(var(--fo-space-5), env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(var(--fo-space-5), env(safe-area-inset-right, 0px)));
    padding-left: max(var(--fo-space-5), env(safe-area-inset-left, 0px));
    padding-right: max(var(--fo-space-5), env(safe-area-inset-right, 0px));
    padding-bottom: 2px;
}

.delivery-hero-categories::-webkit-scrollbar {
    display: none;
}

.delivery-hero-cat {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: 4.5rem;
    text-decoration: none;
    color: #fff;
}

.delivery-hero-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 50%;
    font-size: 1.45rem;
    line-height: 1;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.delivery-hero-cat--pizza .delivery-hero-cat-icon { background: linear-gradient(145deg, rgba(254, 202, 202, 0.95), rgba(252, 165, 165, 0.85)); }
.delivery-hero-cat--burger .delivery-hero-cat-icon { background: linear-gradient(145deg, rgba(254, 215, 170, 0.95), rgba(253, 186, 116, 0.85)); }
.delivery-hero-cat--chinese .delivery-hero-cat-icon { background: linear-gradient(145deg, rgba(254, 240, 138, 0.95), rgba(250, 204, 21, 0.85)); }
.delivery-hero-cat--momo .delivery-hero-cat-icon { background: linear-gradient(145deg, rgba(199, 210, 254, 0.95), rgba(165, 180, 252, 0.85)); }
.delivery-hero-cat--breakfast .delivery-hero-cat-icon { background: linear-gradient(145deg, rgba(253, 230, 138, 0.95), rgba(251, 191, 36, 0.85)); }
.delivery-hero-cat--rice .delivery-hero-cat-icon { background: linear-gradient(145deg, rgba(187, 247, 208, 0.95), rgba(134, 239, 172, 0.85)); }

.delivery-hero-cat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.92);
}

.delivery-hero-promos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: var(--fo-space-5, 1.25rem);
}

.delivery-hero-promo {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
}

.delivery-hero-actions {
    flex-direction: column;
    align-items: stretch;
}

.delivery-hero-cta {
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    padding: 0.9rem 1.25rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.delivery-hero-track {
    text-align: center;
    margin-top: var(--fo-space-2, 0.5rem);
}

/* Soft decorative glow in the hero corner. */
body.app-mobile .app-home-hero.order-header::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
    pointer-events: none;
}

body.app-mobile .app-home-hero .order-header-inner {
    position: relative;
    z-index: 1;
}

body.app-mobile .app-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 var(--fo-space-3);
}

body.app-mobile .app-hero-eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.7);
}

body.app-mobile .app-home-hero .order-header-title {
    font-family: var(--font-body);
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin: 0 0 var(--fo-space-5);
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.12);
}

body.app-mobile .app-home-hero .order-header-lead {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 var(--fo-space-5);
    max-width: 22rem;
}

body.app-mobile .app-home-hero .order-header-badges {
    gap: var(--fo-space-2);
    margin-bottom: var(--fo-space-5);
}

body.app-mobile .app-home-hero .order-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* —— Hero quick-category chips (tap to jump into the menu) —— */
body.app-mobile .hero-quick {
    display: flex;
    gap: var(--fo-space-2);
    margin: 0 0 var(--fo-space-5);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    /* Bleed to screen edges so chips can scroll naturally. */
    margin-left: calc(-1 * max(var(--fo-space-5), env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(var(--fo-space-5), env(safe-area-inset-right, 0px)));
    padding-left: max(var(--fo-space-5), env(safe-area-inset-left, 0px));
    padding-right: max(var(--fo-space-5), env(safe-area-inset-right, 0px));
}

body.app-mobile .hero-quick::-webkit-scrollbar {
    display: none;
}

body.app-mobile .hero-quick-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background 0.15s ease, transform 0.12s ease;
}

body.app-mobile .hero-quick-chip:active {
    transform: scale(0.96);
    background: rgba(255, 255, 255, 0.24);
}

body.app-mobile .hero-quick-emoji {
    font-size: 1rem;
    line-height: 1;
}

body.app-mobile .app-hero-primary .hero-cta-arrow {
    transition: transform 0.15s ease;
}

body.app-mobile .app-hero-primary:active .hero-cta-arrow {
    transform: translateX(3px);
}

body.app-mobile .hero-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: var(--fo-space-3);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: 3px;
}

body.app-mobile .hero-secondary-link:hover {
    text-decoration: underline;
}

body.app-mobile .app-hero-primary,
body.app-mobile .app-home-hero .btn-primary {
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: var(--fo-btn-h);
    padding: 0 var(--fo-space-5);
    border-radius: var(--fo-radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
    background: var(--fo-accent);
    color: #fff;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(22, 163, 74, 0.28);
    text-decoration: none;
    display: inline-flex;
    gap: var(--fo-space-2);
    position: relative;
    overflow: hidden;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

body.app-mobile .app-home-hero .btn-primary::before {
    display: none;
}

body.app-mobile .app-home-hero .btn-primary:hover {
    background: var(--fo-accent-dark);
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(22, 163, 74, 0.32);
}

body.app-mobile .order-header-actions {
    width: 100%;
}

/* —— Menu section —— */
body.app-mobile .menu-section.order-menu {
    padding: var(--fo-space-6) 0 var(--fo-space-8);
    background: var(--fo-canvas);
}

body.app-mobile .menu-section::before {
    display: none;
}

body.app-mobile .container {
    max-width: 100%;
    padding-left: max(var(--fo-space-5), env(safe-area-inset-left, 0px));
    padding-right: max(var(--fo-space-5), env(safe-area-inset-right, 0px));
}

body.app-mobile .section-title {
    font-family: var(--font-body);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: left;
    color: var(--fo-text);
    margin-bottom: var(--fo-space-2);
    margin-top: 0;
}

body.app-mobile .section-subtitle {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--fo-muted);
    margin-bottom: var(--fo-space-5);
    margin-top: 0;
}

body.app-mobile .order-menu-title,
body.app-mobile .order-menu-sub {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

body.app-mobile .app-delivery-banner {
    margin: 0 0 var(--fo-space-5);
    padding: var(--fo-space-3) var(--fo-space-4);
    border-radius: var(--fo-radius-sm);
    border: 1px solid rgba(22, 163, 74, 0.22);
    background: var(--fo-accent-soft);
    color: var(--fo-accent-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.45;
}

body.app-mobile .menu-search-container {
    margin-bottom: var(--fo-space-5);
}

body.app-mobile .menu-search-wrapper {
    border-radius: var(--fo-radius-sm);
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
    box-shadow: var(--fo-shadow);
    padding: var(--fo-space-3) var(--fo-space-4);
}

body.app-mobile .menu-search-wrapper:focus-within {
    border-color: var(--fo-accent);
    box-shadow: 0 0 0 3px var(--fo-accent-soft);
    transform: none;
}

body.app-mobile .menu-search-input {
    font-family: inherit;
    font-size: 0.9375rem;
}

body.app-mobile .search-results-info {
    border-radius: var(--fo-radius-sm);
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
    font-size: 0.8125rem;
    margin-top: var(--fo-space-3);
    padding: var(--fo-space-3) var(--fo-space-4);
}

body.app-mobile .category-tabs-container {
    top: calc(var(--fo-top) + env(safe-area-inset-top, 0px));
    margin-left: calc(-1 * max(var(--fo-space-5), env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(var(--fo-space-5), env(safe-area-inset-right, 0px)));
    padding: var(--fo-space-3) 0 var(--fo-space-4);
    padding-left: max(var(--fo-space-3), env(safe-area-inset-left, 0px));
    padding-right: max(var(--fo-space-3), env(safe-area-inset-right, 0px));
    background: rgba(244, 244, 245, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--fo-border);
    box-shadow: none;
}

body.app-mobile .category-tab {
    min-height: 40px;
    padding: var(--fo-space-2) var(--fo-space-4);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
    color: var(--fo-text);
    box-shadow: none;
}

body.app-mobile .category-tabs {
    gap: var(--fo-space-2);
    padding-left: max(var(--fo-space-5), env(safe-area-inset-left, 0px));
    padding-right: max(var(--fo-space-5), env(safe-area-inset-right, 0px));
}

/* Mobile: remove menu filters (category tabs) */
@media (max-width: 1024px) {
    body.app-mobile #categoryTabs {
        display: none !important;
    }
}

body.app-mobile .category-tab:hover:not(.active) {
    border-color: #d4d4d8;
    color: var(--fo-text);
}

body.app-mobile .category-tab.active {
    background: linear-gradient(180deg, var(--fo-accent), var(--fo-accent-dark));
    color: #fff;
    border-color: var(--fo-accent-dark);
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.28);
}

body.app-mobile .category-tab.active::before {
    opacity: 0;
}

body.app-mobile .menu-category {
    scroll-margin-top: calc(var(--fo-top) + env(safe-area-inset-top, 0px) + 112px);
}

body.app-mobile .menu-category-header {
    margin-bottom: var(--fo-space-3);
    padding-bottom: var(--fo-space-2);
    gap: var(--fo-space-3);
}

body.app-mobile .menu-category:not(:first-of-type) .menu-category-header {
    margin-top: var(--fo-space-8);
}

body.app-mobile .menu-subsection {
    margin-top: var(--fo-space-5);
}

body.app-mobile .menu-subsection:first-of-type {
    margin-top: var(--fo-space-4);
}

body.app-mobile .menu-category-title {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--fo-text);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

body.app-mobile .menu-category-title::before {
    content: '';
    width: 4px;
    height: 1.05rem;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--fo-accent), var(--fo-accent-dark));
}

body.app-mobile .menu-category-count {
    font-size: 0.8125rem;
    color: var(--fo-muted);
}

body.app-mobile .menu-subsection-head {
    margin-bottom: var(--fo-space-3);
    padding: var(--fo-space-3) var(--fo-space-4);
    border-radius: var(--fo-radius-sm);
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
}

body.app-mobile .menu-subsection--rice .menu-subsection-head,
body.app-mobile .menu-subsection--noodles .menu-subsection-head {
    border-left-width: 3px;
}

body.app-mobile .menu-grid {
    grid-template-columns: 1fr;
    gap: var(--fo-space-3);
    margin-top: var(--fo-space-2);
}

body.app-mobile .menu-item {
    flex-direction: row;
    align-items: stretch;
    min-height: 112px;
    border-radius: 14px;
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
    box-shadow: var(--fo-shadow);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.app-mobile .menu-item:hover {
    border-color: rgba(22, 163, 74, 0.4);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.12);
    transform: translateY(-1px);
}

body.app-mobile .menu-item::after {
    display: none;
}

body.app-mobile .menu-item-image {
    width: 104px;
    min-width: 104px;
    height: auto;
    min-height: 100%;
    border-radius: 0;
    background: #f4f4f5;
}



body.app-mobile .menu-item-image img {
    min-height: 112px;
    height: 100%;
    object-fit: cover;
}

body.app-mobile .menu-item-content {
    flex: 1;
    min-width: 0;
    padding: var(--fo-space-4) var(--fo-space-4) var(--fo-space-4) var(--fo-space-3);
    gap: var(--fo-space-2);
    justify-content: space-between;
}

body.app-mobile .menu-item-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--fo-space-1);
}

body.app-mobile .menu-item-title-wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.35rem;
}

body.app-mobile .menu-item-content h3,
body.app-mobile .menu-item-name {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--fo-text);
    -webkit-text-fill-color: var(--fo-text);
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.app-mobile .menu-item-content .price,
body.app-mobile .menu-item-content .price .price-main {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--fo-text);
    -webkit-text-fill-color: var(--fo-text);
    background: none;
    background-clip: unset;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

body.app-mobile .menu-item-content .price small {
    -webkit-text-fill-color: var(--fo-muted);
}

body.app-mobile .price-original {
    font-size: 0.82rem;
    -webkit-text-fill-color: var(--fo-muted);
    color: var(--fo-muted);
}

body.app-mobile .order-btn-price-original {
    font-size: 0.78rem;
}

body.app-mobile .discount-badge {
    font-size: 0.7rem;
    padding: 4px 10px 4px 8px;
    top: 8px;
}

body.app-mobile .delivery-badge {
    font-size: 0.62rem;
    padding: 3px 8px 3px 10px;
    bottom: 6px;
}

body.app-mobile .menu-item-actions {
    width: 100%;
    margin-top: var(--fo-space-2);
    gap: var(--fo-space-2);
}

body.app-mobile .order-btn {
    width: 100%;
    min-height: var(--fo-btn-h-sm);
    padding: var(--fo-space-3) var(--fo-space-4);
    border-radius: var(--fo-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    background: var(--fo-accent);
    color: #fff;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fo-space-3);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

body.app-mobile .order-btn::before {
    display: none !important;
}

body.app-mobile .order-btn:hover {
    background: var(--fo-accent-dark);
    transform: none;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25);
}

body.app-mobile .order-btn:active {
    transform: scale(0.99);
    box-shadow: none;
}

body.app-mobile .order-btn:disabled,
body.app-mobile .order-btn:disabled:hover,
body.app-mobile .order-btn:disabled:active {
    background: var(--fo-muted);
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
    box-shadow: none;
}

body.app-mobile .order-btn-label {
    font-weight: 600;
}

body.app-mobile .order-btn-price {
    font-size: 0.875rem;
    font-weight: 700;
    opacity: 1;
    font-variant-numeric: tabular-nums;
}

body.app-mobile .menu-cart-qty-bar {
    min-height: var(--fo-btn-h-sm);
    border-radius: var(--fo-radius-sm);
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.35);
}

body.app-mobile .menu-cart-qty-bar .menu-qty-minus,
body.app-mobile .menu-cart-qty-bar .menu-qty-plus {
    flex-basis: 48px;
    font-size: 1.2rem;
}

body.app-mobile .size-chips {
    grid-template-columns: 1fr 1fr;
    gap: var(--fo-space-2);
}

body.app-mobile .size-chip {
    min-height: var(--fo-btn-h-sm);
    padding: var(--fo-space-2) var(--fo-space-3);
    border-radius: var(--fo-radius-sm);
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease;
}

body.app-mobile .size-chip-price {
    color: var(--fo-accent-dark);
}

body.app-mobile .size-chip:hover {
    border-color: var(--fo-accent);
    background: var(--fo-accent-soft);
}

body.app-mobile .size-chip:disabled,
body.app-mobile .size-chip:disabled:hover,
body.app-mobile .size-chip:disabled:active {
    border-color: var(--fo-border);
    background: var(--fo-canvas);
    color: var(--fo-muted);
    cursor: not-allowed;
    opacity: 0.75;
    transform: none;
}

body.app-mobile .addon-option-text {
    border-radius: var(--fo-radius-sm);
    border-color: var(--fo-border);
    font-size: 0.8125rem;
}

body.app-mobile .menu-item-note {
    font-size: 0.75rem;
    color: var(--fo-muted);
}

/* —— Help & contact —— */
body.app-mobile .order-help {
    padding: var(--fo-space-8) 0 var(--fo-space-8);
    background: var(--fo-surface);
    border-top: 1px solid var(--fo-border);
}

body.app-mobile .order-help .section-title {
    margin-bottom: var(--fo-space-2);
}

body.app-mobile .order-help .section-subtitle {
    margin-bottom: var(--fo-space-5);
}

body.app-mobile .order-help-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--fo-space-3);
    margin: 0 0 var(--fo-space-5);
}

body.app-mobile .order-help-card {
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius);
    box-shadow: var(--fo-shadow);
    background: var(--fo-canvas);
    padding: var(--fo-space-5);
}

body.app-mobile .order-help-card h3 {
    color: var(--fo-text);
    font-size: 0.9375rem;
    font-weight: 600;
}

body.app-mobile .order-help-step {
    background: linear-gradient(140deg, var(--fo-accent), var(--fo-accent-dark));
    font-size: 0.8125rem;
    font-weight: 700;
    width: 1.85rem;
    height: 1.85rem;
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.25);
}

body.app-mobile .order-help-notes {
    margin: 0;
    padding: var(--fo-space-5);
    border-radius: var(--fo-radius);
    border: 1px solid var(--fo-border);
    background: var(--fo-canvas);
    font-size: 0.875rem;
    line-height: 1.6;
}

body.app-mobile .order-help-notes a {
    color: var(--fo-accent-dark);
}

body.app-mobile .contact-section.order-contact {
    padding: var(--fo-space-8) 0 var(--fo-space-8);
    background: var(--fo-canvas);
}

body.app-mobile .order-contact .section-title {
    margin-bottom: var(--fo-space-2);
}

body.app-mobile .order-contact .section-subtitle {
    margin-bottom: var(--fo-space-5);
}

body.app-mobile .contact-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--fo-space-4);
    padding: var(--fo-space-5);
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius);
    box-shadow: var(--fo-shadow);
}

body.app-mobile .contact-icon {
    margin: 0;
    background: linear-gradient(140deg, var(--fo-accent), var(--fo-accent-dark));
    font-size: 1.25rem;
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.22);
}

body.app-mobile .contact-details h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--fo-text);
}

body.app-mobile .contact-phone-list a,
body.app-mobile .contact-map-link {
    color: var(--fo-accent-dark);
}

body.app-mobile .contact-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--fo-space-3);
    margin-top: var(--fo-space-2);
}

body.app-mobile .btn-whatsapp,
body.app-mobile .btn-call {
    width: 100%;
    min-height: var(--fo-btn-h);
    padding: 0 var(--fo-space-5);
    border-radius: var(--fo-radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

body.app-mobile .btn-whatsapp {
    transform: none;
}

body.app-mobile .btn-whatsapp:hover {
    transform: none;
    opacity: 0.92;
}

body.app-mobile .btn-call {
    background: var(--fo-text);
    transform: none;
}

body.app-mobile .btn-call:hover {
    transform: none;
    opacity: 0.9;
}

body.app-mobile .map-container.order-map iframe {
    border-radius: var(--fo-radius) !important;
    border: 1px solid var(--fo-border);
}

/* —— Footer —— */
body.app-mobile .footer.order-footer {
    background: var(--fo-hero);
    color: #e4e4e7;
    padding: var(--fo-space-8) 0 var(--fo-space-5);
}

body.app-mobile .order-footer .footer-section h3,
body.app-mobile .order-footer .footer-section h4 {
    font-family: var(--font-body);
    color: #fff;
    font-weight: 600;
}

body.app-mobile .order-footer-tagline {
    color: #a1a1aa;
}

body.app-mobile .order-footer .footer-bottom {
    border-color: rgba(255, 255, 255, 0.08);
}

body.app-mobile .order-footer .footer-bottom p {
    color: #71717a;
    font-size: 0.8125rem;
}

body.app-mobile .order-footer .order-footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: var(--fo-space-5);
}

body.app-mobile .order-footer .footer-section ul {
    padding: 0;
}

body.app-mobile .order-footer .footer-section a {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

body.app-mobile .order-footer .footer-section a:hover {
    color: #fff;
}

/* —— Modals & shared buttons —— */
body.app-mobile .btn {
    min-height: var(--fo-btn-h);
    padding: 0 var(--fo-space-5);
    border-radius: var(--fo-radius-sm);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--fo-space-2);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.app-mobile .btn::before {
    display: none !important;
}

body.app-mobile .btn-primary {
    background: var(--fo-accent) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    transform: none !important;
}

body.app-mobile .btn-primary:hover {
    background: var(--fo-accent-dark) !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.28) !important;
}

body.app-mobile .btn-secondary {
    background: var(--fo-surface) !important;
    color: var(--fo-text) !important;
    border: 1px solid var(--fo-border) !important;
    box-shadow: none !important;
    transform: none !important;
}

body.app-mobile .btn-secondary:hover {
    background: var(--fo-canvas) !important;
    transform: none !important;
}

body.app-mobile .cart-modal-content,
body.app-mobile .checkout-modal-content {
    border-radius: var(--fo-radius) var(--fo-radius) 0 0;
    border: 1px solid var(--fo-border);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.12);
}

body.app-mobile .cart-modal-header,
body.app-mobile .checkout-modal-header {
    padding: var(--fo-space-5) var(--fo-space-4);
}

body.app-mobile .cart-modal-header h2,
body.app-mobile .checkout-modal-header h2 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fo-text);
    margin: 0;
}

body.app-mobile .cart-items {
    padding: var(--fo-space-3) var(--fo-space-4);
}

body.app-mobile .cart-item {
    border: 1px solid var(--fo-border);
    border-radius: 14px;
    box-shadow: none;
    padding: var(--fo-space-4);
    margin-bottom: var(--fo-space-3);
    gap: var(--fo-space-3);
    background: var(--fo-surface);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.app-mobile .cart-item:hover {
    border-color: rgba(22, 163, 74, 0.35);
    box-shadow: 0 2px 10px rgba(22, 163, 74, 0.08);
}

/* —— Cart number typography (crisp, aligned, on-brand) —— */
body.app-mobile .cart-item-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--fo-text);
}

body.app-mobile .cart-item-price {
    color: var(--fo-accent-dark);
    font-weight: 600;
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

body.app-mobile .qty-value {
    min-width: 26px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--fo-text);
    font-variant-numeric: tabular-nums;
}

body.app-mobile .cart-summary-row {
    color: var(--fo-text);
    font-size: 0.9375rem;
}

body.app-mobile .cart-summary-row dt {
    color: var(--fo-muted);
}

body.app-mobile .cart-summary-row dd {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

body.app-mobile .cart-summary-row--total {
    border-top: 1px dashed var(--fo-border);
    font-size: 1.0625rem;
}

body.app-mobile .cart-summary-row--total dt {
    color: var(--fo-text);
}

body.app-mobile .cart-summary-row--total dd {
    color: var(--fo-accent-dark);
    font-weight: 800;
    font-size: 1.25rem;
    font-variant-numeric: tabular-nums;
}

body.app-mobile .cart-footer {
    padding: var(--fo-space-5) var(--fo-space-4);
    padding-bottom: calc(var(--fo-space-5) + env(safe-area-inset-bottom, 0px));
}

body.app-mobile .cart-total {
    margin-bottom: var(--fo-space-4);
    font-size: 1.125rem;
}

body.app-mobile .btn-checkout {
    min-height: var(--fo-btn-h);
    padding: 0 var(--fo-space-5);
    border-radius: var(--fo-radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    background: var(--fo-accent);
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transform: none;
}

body.app-mobile .btn-checkout:hover {
    background: var(--fo-accent-dark);
    transform: none;
}

body.app-mobile .checkout-form-scroll {
    padding: var(--fo-space-4) var(--fo-space-4) var(--fo-space-3);
}

body.app-mobile .checkout-form-footer {
    padding: var(--fo-space-4) var(--fo-space-4)
        calc(var(--fo-space-5) + env(safe-area-inset-bottom, 0px));
}

body.app-mobile .form-group {
    margin-bottom: var(--fo-space-5);
}

body.app-mobile .form-group label {
    margin-bottom: var(--fo-space-2);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fo-text);
}

body.app-mobile .btn-checkout-place {
    min-height: var(--fo-btn-h);
    border-radius: var(--fo-radius-sm);
    font-weight: 700;
    font-size: 0.9375rem;
    background: var(--fo-accent);
    border: none;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
}

body.app-mobile .btn-checkout-place:hover {
    background: var(--fo-accent-dark);
}

body.app-mobile .form-group input[type="text"],
body.app-mobile .form-group input[type="tel"],
body.app-mobile .form-group textarea,
body.app-mobile .form-group select {
    padding: var(--fo-space-3) var(--fo-space-4);
    border-color: var(--fo-border);
    border-radius: var(--fo-radius-sm);
    font-family: inherit;
    min-height: var(--fo-btn-h-sm);
}

body.app-mobile .total-amount {
    border-radius: var(--fo-radius-sm);
    background: var(--fo-canvas);
    color: var(--fo-text);
    padding: var(--fo-space-4);
}

body.app-mobile .order-summary {
    border-radius: var(--fo-radius-sm);
    border: 1px solid var(--fo-border);
    padding: var(--fo-space-3);
}

body.app-mobile .cart-modal .cart-close,
body.app-mobile .checkout-modal .checkout-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--fo-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.app-mobile .qty-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--fo-radius-sm);
    font-weight: 700;
}

body.app-mobile .addon-option input[type="checkbox"]:checked + .addon-option-text {
    background: var(--fo-accent);
    border-color: var(--fo-accent);
    color: #fff;
    box-shadow: none;
}

body.app-mobile .cart-float,
body.app-mobile .whatsapp-float {
    display: none !important;
}

@media (min-width: 431px) {
    body.app-mobile {
        padding: 1.25rem 0 2rem;
    }
}

/* —— Session gate (mobile welcome) —— */
.session-gate {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
}

.session-gate--hidden {
    display: none !important;
}

body.session-gate-open {
    overflow: hidden;
}

.session-gate-card {
    width: 100%;
    max-width: 22rem;
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.session-gate-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.session-gate-lead {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0 0 1.25rem;
    line-height: 1.45;
}

.session-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}

.session-input,
.session-select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #475569;
    background: #0f172a;
    color: #f1f5f9;
    font: inherit;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.session-btn {
    width: 100%;
    margin-top: 0.35rem;
}

.session-gate-error {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #fca5a5;
}

/* —— My orders —— */
.order-my-orders {
    padding-bottom: calc(var(--fo-nav, 56px) + 1.5rem);
}

.order-my-orders .container {
    max-width: 44rem;
}

.order-my-orders .section-title {
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.order-my-orders .section-subtitle {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--fo-muted, #64748b);
    line-height: 1.55;
}

.my-orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.my-orders-placeholder {
    text-align: center;
    color: var(--fo-muted, #64748b);
    padding: var(--fo-space-6, 2rem) var(--fo-space-4, 1rem);
    font-size: 0.9375rem;
}

.my-orders-empty {
    text-align: center;
    padding: 2.5rem 1.25rem 2rem;
    border-radius: 20px;
    border: 1px dashed rgba(22, 163, 74, 0.3);
    background: linear-gradient(180deg, #f6fdf9 0%, #ffffff 100%);
}

.my-orders-empty-visual {
    width: 4.25rem;
    height: 4.25rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: var(--fo-accent-soft, rgba(22, 163, 74, 0.1));
    color: var(--fo-accent-dark, #15803d);
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-orders-empty-icon {
    width: 2rem;
    height: 2rem;
}

.my-orders-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.my-orders-empty-text {
    margin: 0 auto 1.25rem;
    max-width: 22rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
}

.my-orders-empty-cta {
    display: inline-flex;
    min-height: 44px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    justify-content: center;
}

.my-order-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    animation: orderCardIn 0.45s cubic-bezier(0.34, 1.1, 0.64, 1) both;
}

.my-order-card:nth-child(1) { animation-delay: 0.02s; }
.my-order-card:nth-child(2) { animation-delay: 0.07s; }
.my-order-card:nth-child(3) { animation-delay: 0.12s; }
.my-order-card:nth-child(4) { animation-delay: 0.17s; }
.my-order-card:nth-child(n+5) { animation-delay: 0.2s; }

.my-order-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 14px 30px rgba(15, 23, 42, 0.1);
}

@keyframes orderCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .my-order-card {
        animation: none;
    }
}

.my-order-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #cbd5e1;
}

.my-order-card--pending::before {
    background: #f97316;
}
.my-order-card--accepted::before {
    background: #22c55e;
}
.my-order-card--rejected::before {
    background: #ef4444;
}
.my-order-card--cancelled::before {
    background: #94a3b8;
}
.my-order-card--preparing::before {
    background: #3b82f6;
}
.my-order-card--out_for_delivery::before {
    background: #8b5cf6;
}
.my-order-card--completed::before {
    background: #16a34a;
}

.my-order-card-inner {
    padding: 1rem 1rem 1rem 1.2rem;
}

.my-order-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.my-order-placed {
    font-size: 0.8125rem;
    color: var(--fo-muted, #64748b);
    margin: 0;
    line-height: 1.35;
}

.my-order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    line-height: 1.2;
    max-width: 100%;
}

.my-order-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.my-order-status--pending {
    background: #fff7ed;
    color: #9a3412;
}
.my-order-status--accepted {
    background: #ecfdf5;
    color: #166534;
}
.my-order-status--rejected {
    background: #fef2f2;
    color: #b91c1c;
}
.my-order-status--cancelled {
    background: #f1f5f9;
    color: #475569;
}
.my-order-status--preparing {
    background: #eff6ff;
    color: #1d4ed8;
}
.my-order-status--out_for_delivery {
    background: #f5f3ff;
    color: #5b21b6;
}
.my-order-status--completed {
    background: #ecfdf5;
    color: #166534;
}

.my-order-arrival {
    margin: 0 0 0.85rem;
    padding: 0.85rem 0.95rem 0.9rem;
    border-radius: 14px;
    background: linear-gradient(155deg, #fffbeb 0%, #fef3c7 45%, #fff7ed 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    box-shadow: 0 2px 10px rgba(180, 83, 9, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.my-order-arrival-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.my-order-arrival-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b45309;
}

.my-order-arrival-time {
    font-size: 1.15rem;
    font-weight: 800;
    color: #92400e;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.my-order-arrival-count {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.my-order-arrival-count-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #78350f;
}

.my-order-arrival-countdown {
    font-size: 1.05rem;
    font-weight: 800;
    color: #b45309;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.my-order-arrival-hint {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #78350f;
    font-weight: 500;
}

.my-order-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0 0 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.22);
    font-size: 0.95rem;
    line-height: 1.55;
    color: #0f172a;
}

.my-order-contact-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #15803d;
}

.my-order-contact-hotel {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #14532d;
}

.my-order-contact-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: #16a34a;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}

.my-order-contact-phone:active {
    transform: scale(0.98);
}

/* Google review prompt (My orders — when an order becomes completed) */
.google-review-modal .google-review-modal-content {
    max-width: 22rem;
    width: min(100%, calc(100vw - 2rem));
    margin: auto;
    padding: 0;
    overflow: visible;
    text-align: center;
    border-radius: 20px;
}

.google-review-modal-inner {
    padding: 1.75rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
}

.google-review-eyebrow {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.google-review-modal-inner h2 {
    margin: 0;
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    line-height: 1.2;
    color: #0f172a;
}

.google-review-lead {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
}

.google-review-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.google-review-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
}

.google-review-link {
    text-decoration: none;
}

.my-order-items-block {
    margin-bottom: 0.25rem;
}

.my-order-items-heading {
    margin: 0 0 0.45rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.my-order-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.my-order-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    color: var(--fo-text, #334155);
}

.my-order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.my-order-item:first-child {
    padding-top: 0;
}

.my-order-item-name {
    flex: 1;
    min-width: 0;
    line-height: 1.45;
}

.my-order-item-meta {
    display: inline-flex;
    align-items: baseline;
    gap: 0.65rem;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.my-order-item-qty {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 600;
}

.my-order-item-price {
    font-weight: 600;
    color: #475569;
    min-width: 3.25rem;
    text-align: right;
}

.my-order-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

.my-order-total-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fo-muted, #64748b);
}

.my-order-total-amt {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fo-accent-dark, #15803d);
    letter-spacing: -0.02em;
}

.my-order-pay {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.my-order-pay-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

.my-order-pay-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border: none;
    border-radius: 999px;
    background: #059669;
    color: #fff;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(5, 150, 105, 0.25);
}

.my-order-pay-btn:active {
    transform: scale(0.98);
}

/* Payment QR modal (orders + checkout success) */
.payment-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.payment-qr-modal:not([hidden]) {
    display: flex;
}

.payment-qr-modal__panel {
    position: relative;
    width: min(100%, 22rem);
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1rem 0.85rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
    text-align: center;
}

.payment-qr-modal__close {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.payment-qr-modal__title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.payment-qr-modal__hint {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
}

.payment-qr-modal__img {
    width: min(100%, 15rem);
    margin: 0 auto 0.85rem;
    display: block;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.payment-qr-modal__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.payment-qr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.payment-qr-btn--upload {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.payment-qr-btn--upload.is-success {
    background: #059669;
    border-color: #059669;
}

.payment-qr-btn--whatsapp {
    background: #ecfdf5;
    color: #15803d;
    border-color: #bbf7d0;
}

.payment-qr-btn--whatsapp svg {
    flex-shrink: 0;
}

.payment-qr-btn--ghost {
    width: 100%;
    margin-top: 0.15rem;
    background: transparent;
    color: #64748b;
    border: none;
    font-weight: 600;
}

.payment-qr-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.order-success-qr-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.order-success-qr {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.35);
}

.order-success-qr-label {
    margin: 0 0 0.5rem;
    font-weight: 600;
    color: #059669;
}

.my-order-cancel {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    align-items: stretch;
}

.my-order-cancel-note {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--fo-muted, #64748b);
    font-weight: 500;
}

@media (min-width: 420px) {
    .my-order-cancel {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
    }

    .my-order-cancel-note {
        flex: 1;
        min-width: 0;
    }

    .my-order-cancel .btn-cancel-order {
        flex-shrink: 0;
        width: auto;
        min-width: 7.5rem;
    }
}

.btn-cancel-order {
    font: inherit;
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.45rem 0.95rem;
    border-radius: 10px;
    border: 1px solid #991b1b;
    background: #dc2626;
    color: #fff;
    cursor: pointer;
}

.btn-cancel-order:hover:not(:disabled) {
    background: #b91c1c;
    border-color: #7f1d1d;
}

.btn-cancel-order:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Outline cancel on order cards — less heavy than solid red */
.my-order-cancel .btn-cancel-order {
    background: #fff;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    box-shadow: none;
}

.my-order-cancel .btn-cancel-order:hover:not(:disabled) {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.checkout-modal.order-success-modal .checkout-modal-content.order-success-modal-content {
    max-height: min(92vh, 720px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.order-success-modal {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.46);
}

.order-success-modal-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-items: stretch;
    width: min(100%, 30rem);
    padding: 1.85rem 1.5rem 1.65rem;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    box-shadow:
        0 28px 56px rgba(15, 23, 42, 0.12),
        0 10px 22px rgba(15, 23, 42, 0.06);
}

.order-success-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.order-success-eyebrow {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.order-success-modal-content h2 {
    margin: 0;
    font-size: clamp(1.55rem, 4vw, 2rem);
    line-height: 1.15;
    color: #0f172a;
}

.order-success-cancel-panel {
    text-align: left;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    align-items: center;
}

.order-success-cancel-panel .order-success-cancel-hint {
    margin: 0;
    font-size: 0.8125rem;
    color: #57534e;
    line-height: 1.45;
}

.order-success-cancel-panel .order-success-cancel-btn {
    width: 100%;
    min-height: 44px;
}

@media (min-width: 380px) {
    .order-success-cancel-panel {
        grid-template-columns: 1fr auto;
        gap: 0.75rem;
    }

    .order-success-cancel-panel .order-success-cancel-btn {
        width: auto;
        min-width: 8rem;
        justify-self: end;
    }
}

.order-success-actions--stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.order-success-actions--stack .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
}

.order-success-icon {
    position: relative;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #22c55e, #15803d);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    box-shadow:
        0 12px 28px rgba(21, 128, 61, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.order-success-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: inherit;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.order-success-copy {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    max-width: 26rem;
    font-size: 0.95rem;
}

.order-success-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin: 0.85rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.22);
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #0f172a;
}

.order-success-contact-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #15803d;
}

.order-success-contact-hotel {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #14532d;
}

.order-success-contact-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    background: #16a34a;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
}

.order-success-contact-phone:active {
    transform: scale(0.98);
}

.app-delivery-banner--fallback {
    background: rgba(124, 58, 237, 0.1);
    color: #5b21b6;
    border: 1px solid rgba(124, 58, 237, 0.18);
}

.menu-hotel-filter-tab--closed:not(.active) {
    opacity: 0.72;
    border-style: dashed;
}

.menu-hotel-filter-tab--closed.active {
    border-color: rgba(220, 38, 38, 0.45);
    background: rgba(254, 226, 226, 0.35);
}

.menu-venue-closed-notice {
    margin: 0 0 var(--fo-space-4, 1rem);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.22);
    background: rgba(254, 242, 242, 0.95);
    color: #991b1b;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 500;
}

.menu-venue-closed-notice[hidden] {
    display: none;
}

.menu-hotel-filter-tab[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.order-success-wait {
    width: 100%;
    max-width: 20rem;
    margin: 0.35rem auto 0;
    padding: 1rem 1.1rem 1.05rem;
    border-radius: 16px;
    background: linear-gradient(165deg, #ecfdf5 0%, #f0fdf4 55%, #fff 100%);
    border: 1px solid rgba(34, 197, 94, 0.28);
    box-shadow: 0 4px 16px rgba(21, 128, 61, 0.08);
}

.order-success-wait--arrival {
    max-width: 22rem;
    padding: 1.15rem 1.15rem 1.1rem;
    background: linear-gradient(155deg, #fffbeb 0%, #fef3c7 38%, #fff7ed 100%);
    border: 2px solid rgba(245, 158, 11, 0.55);
    box-shadow:
        0 0 0 1px rgba(251, 191, 36, 0.35),
        0 10px 28px rgba(180, 83, 9, 0.14);
}

.order-success-wait-label {
    margin: 0 0 0.2rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #15803d;
}

.order-success-wait--arrival .order-success-wait-label {
    color: #b45309;
}

.order-success-wait-range {
    margin: 0;
    font-size: clamp(1.75rem, 5.5vw, 2.15rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #14532d;
    font-variant-numeric: tabular-nums;
}

.order-success-wait--arrival .order-success-wait-range {
    color: #92400e;
    font-size: clamp(1.85rem, 5.8vw, 2.25rem);
}

.order-success-wait-countdown-label {
    margin: 0.65rem 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a16207;
}

.order-success-wait-countdown {
    margin: 0;
    font-size: clamp(1.35rem, 4.2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    color: #b45309;
    letter-spacing: -0.02em;
}

.order-success-wait-hint {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #3f6212;
    line-height: 1.35;
}

.order-success-wait--arrival .order-success-wait-hint {
    color: #78350f;
    font-weight: 600;
}

.order-success-cancel-hint strong {
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 640px) {
    .order-success-modal-content {
        width: min(100%, calc(100vw - 1.5rem));
        padding: 1.5rem 1rem 1.25rem;
        border-radius: 20px;
    }

    .order-success-icon {
        width: 3.75rem;
        height: 3.75rem;
        font-size: 1.75rem;
    }
}

.checkout-address-section {
    padding: var(--fo-space-4, 1rem);
    border-radius: var(--fo-radius-sm, 10px);
    border: 1px solid var(--fo-border, #e5e7eb);
    background: #fff;
}

.checkout-address-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.checkout-address-title {
    display: block;
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.checkout-address-copy {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #64748b;
}

.checkout-saved-addresses {
    display: grid;
    gap: 0.75rem;
}

.checkout-address-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    cursor: pointer;
}

.checkout-address-option input {
    margin-top: 0.2rem;
}

.checkout-address-option-body {
    display: grid;
    gap: 0.25rem;
    flex: 1;
}

.checkout-address-option-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    color: #0f172a;
}

.checkout-address-option-line,
.checkout-address-empty,
.profile-address-line {
    margin: 0;
    line-height: 1.6;
    color: #475569;
    font-size: 0.9rem;
}

.checkout-address-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 700;
}

.btn-address-toggle {
    min-height: 40px;
    white-space: nowrap;
}

.checkout-new-address-fields {
    margin-top: 0.9rem;
}

.checkout-new-address-fields .form-group {
    margin-bottom: 0;
}

/* —— Five bottom tabs: slightly tighter —— */
body.app-five-tabs .app-tab {
    font-size: 0.55rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

body.app-five-tabs .app-tab-icon {
    width: 20px;
    height: 20px;
}

body.app-four-tabs .app-tab {
    font-size: 0.62rem;
}

body.app-four-tabs .app-tab-icon {
    width: 21px;
    height: 21px;
}

.profile-section {
    padding: 1.25rem 0 calc(var(--fo-nav, 56px) + 2rem);
}

.profile-shell {
    display: grid;
    gap: 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
    align-items: start;
    gap: 1.5rem;
}

.profile-card {
    background: #ffffff;
    border: 1px solid var(--fo-border, #e4e4e7);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.profile-card--hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(130% 90% at 100% 0%, rgba(74, 222, 128, 0.28), transparent 58%),
        radial-gradient(120% 80% at 0% 100%, rgba(16, 185, 129, 0.2), transparent 55%),
        linear-gradient(155deg, #14532d 0%, #166534 45%, #15803d 100%);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
    padding: 1.75rem;
    box-shadow: 0 12px 30px rgba(20, 83, 45, 0.28);
}

.profile-card--hero::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
    pointer-events: none;
}

.profile-card-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.profile-avatar {
    position: relative;
    flex: 0 0 auto;
    width: 4.75rem;
    height: 4.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 38%),
        linear-gradient(145deg, #34d399 0%, #16a34a 55%, #166534 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    border: 3px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 16px 30px rgba(21, 128, 61, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.profile-avatar::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: inherit;
    border: 1px solid rgba(187, 247, 208, 0.26);
    opacity: 0.9;
}

.profile-identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.42rem;
    min-width: 0;
}

.profile-eyebrow {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fo-accent-dark, #15803d);
}

.profile-card--hero .profile-eyebrow,
.profile-card--hero .profile-subtitle {
    color: rgba(241, 245, 249, 0.8);
}

.profile-name {
    margin: 0;
    font-size: 1.7rem;
    color: #0f172a;
    line-height: 1.15;
}

.profile-card--hero .profile-name {
    color: #fff;
}

.profile-subtitle {
    margin: 0.3rem 0 0;
    color: #64748b;
    line-height: 1.5;
    max-width: 40rem;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.15rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    font-size: 0.8125rem;
    font-weight: 600;
}

.profile-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.profile-section-title {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.25;
    color: #0f172a;
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 0;
}

.profile-detail-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 1.05rem 1.05rem 1.1rem;
    min-height: 96px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-detail-card:hover {
    border-color: rgba(22, 163, 74, 0.35);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.08);
}

.profile-detail-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--fo-accent-dark, #15803d);
}

.profile-detail-value {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}

.profile-address-list {
    display: grid;
    gap: 0.85rem;
}

.profile-address-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--fo-accent, #16a34a);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 1rem 1.05rem;
}

.profile-address-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
    color: #0f172a;
}

.profile-address-empty {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.profile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.15rem;
}

.profile-actions .btn {
    width: 100%;
}

.profile-edit-btn {
    min-height: 42px;
}

.profile-edit-form {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e2e8f0;
}

.profile-edit-modal {
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.42);
}

.profile-edit-modal-content {
    width: min(100%, 34rem);
    padding: 1.35rem;
    border-radius: 24px;
}

.profile-edit-modal-header {
    margin-bottom: 1rem;
}

.profile-edit-modal-header .profile-eyebrow {
    margin-bottom: 0.35rem;
}

.profile-edit-form--modal {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.profile-form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.1rem;
}

.profile-form-feedback {
    margin: 0.9rem 0 0;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.profile-form-feedback--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.profile-signout-btn {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fff5f5;
}

.profile-signout-btn:hover {
    background: #fee2e2;
    color: #991b1b;
}

.profile-card--actions {
    align-self: start;
    position: sticky;
    top: 1rem;
}

.profile-card--actions .profile-section-title {
    margin-top: 0.2rem;
    margin-bottom: 0.35rem;
}

@media (max-width: 640px) {
    .profile-shell {
        gap: 1rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .profile-card {
        padding: 1.1rem;
        border-radius: 20px;
    }

    .profile-card--hero {
        padding: 1.25rem 1.1rem;
    }

    .profile-edit-modal-content {
        width: min(100%, calc(100vw - 1rem));
        padding: 1rem;
        border-radius: 20px;
    }

    .profile-card-head {
        align-items: flex-start;
        margin-bottom: 0.9rem;
    }

    .profile-avatar {
        width: 4.1rem;
        height: 4.1rem;
        font-size: 1.2rem;
    }

    .profile-details,
    .profile-form-grid,
    .profile-actions {
        grid-template-columns: 1fr;
    }

    .profile-section-head,
    .profile-form-actions {
        flex-direction: column;
    }

    .profile-card--actions {
        position: static;
    }

    .profile-form-actions .btn,
    .profile-section-head .btn {
        width: 100%;
    }
}

/* Hide menu content on /menu until auth is verified. */
html.route-menu-auth-pending .app-shell,
html.route-menu-auth-pending .app-bottom-nav {
    visibility: hidden;
}

html.route-menu-auth-pending .session-gate {
    display: none !important;
}

/* ============================================
   App-wide usability & perceived performance
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0.75rem;
    z-index: 10000;
    padding: 0.65rem 1rem;
    background: var(--logo-dark-blue);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
    left: 0.75rem;
    outline: 3px solid var(--logo-green);
    outline-offset: 2px;
}

#menu:focus {
    outline: none;
}

#menu:focus-visible {
    outline: 3px solid var(--logo-green);
    outline-offset: 4px;
}

.menu-items-container--loading .menu-skeleton-grid {
    pointer-events: none;
}

.menu-loading-root {
    width: 100%;
}

.menu-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.menu-skeleton-card {
    height: 220px;
    border-radius: 16px;
    background: linear-gradient(110deg, #ece8df 8%, #f5f1ea 18%, #ece8df 33%);
    background-size: 200% 100%;
    animation: menu-shimmer 1.2s ease-in-out infinite;
}

.orders-loading {
    width: 100%;
}

.orders-skeleton-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.orders-skeleton-card {
    height: 7.25rem;
    border-radius: 18px;
    background: linear-gradient(110deg, #ece8df 8%, #f5f1ea 18%, #ece8df 33%);
    background-size: 200% 100%;
    animation: menu-shimmer 1.2s ease-in-out infinite;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

@keyframes menu-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-skeleton-card,
    .orders-skeleton-card {
        animation: none;
        background: #ece8df;
    }
}

/* ============================================
   Download / Install page
   ============================================ */
.download-section {
    padding: 1.5rem 0 calc(var(--fo-nav, 56px) + 2rem);
}

.download-hero {
    text-align: center;
    border-radius: 24px;
    padding: 2rem 1.35rem 1.85rem;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(130% 90% at 100% 0%, rgba(74, 222, 128, 0.3), transparent 58%),
        radial-gradient(120% 80% at 0% 100%, rgba(16, 185, 129, 0.22), transparent 55%),
        linear-gradient(155deg, #14532d 0%, #166534 45%, #15803d 100%);
    box-shadow: 0 14px 34px rgba(20, 83, 45, 0.28);
}

.download-badge {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 124px;
    height: 124px;
    margin-bottom: 1.1rem;
}

.download-badge-glow {
    position: absolute;
    inset: 4px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    animation: appSplashPulse 2.1s ease-out infinite;
}

.download-badge-img {
    width: 104px;
    height: 104px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.download-title {
    font-family: var(--font-body, sans-serif);
    font-size: clamp(1.5rem, 6vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.55rem;
    color: #fff;
}

.download-sub {
    margin: 0 auto 1.25rem;
    max-width: 22rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.download-os {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.35rem;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.download-os-icon {
    font-size: 1rem;
    line-height: 1;
}

.download-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
}

.download-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 20rem;
    margin: 0 auto;
    min-height: 54px;
    padding: 0 1.25rem;
    border-radius: 14px;
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
    background: #fff;
    color: var(--fo-accent-dark, #15803d);
    border: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.download-cta:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.download-cta:active {
    transform: scale(0.985);
}

/* Win over the global mobile .btn-primary !important styles (white CTA on green hero). */
body.app-mobile .download-cta.btn-primary {
    background: #fff !important;
    color: var(--fo-accent-dark, #15803d) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
}

body.app-mobile .download-cta.btn-primary:hover {
    background: #f0fdf4 !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22) !important;
}

body.app-mobile .download-installed .download-cta.btn-primary {
    max-width: 16rem;
}

.download-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin: 1.25rem auto 0;
    max-width: 22rem;
    padding: 1.25rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.download-desktop-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--fo-accent-dark, #15803d);
}

.download-desktop-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.download-desktop-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.download-desktop-link code {
    padding: 0.4rem 0.7rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.download-copy-btn {
    border: none;
    cursor: pointer;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    background: #fff;
    color: var(--fo-accent-dark, #15803d);
    font-size: 0.85rem;
    font-weight: 800;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.download-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.download-steps-title {
    margin: 1.1rem auto 0.5rem;
    max-width: 22rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
}

.download-ios-warn {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0 auto 0.85rem;
    max-width: 22rem;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    background: rgba(254, 243, 199, 0.18);
    border: 1px solid rgba(253, 224, 71, 0.55);
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.45;
}

.download-ios-warn-icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #facc15;
    color: #713f12;
    font-weight: 900;
    font-size: 0.85rem;
}

.download-steps {
    list-style: none;
    margin: 0.25rem auto 0;
    padding: 0;
    max-width: 22rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.download-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
}

.download-step-num {
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--fo-accent-dark, #15803d);
    font-weight: 800;
    font-size: 0.8rem;
}

.download-share-glyph {
    display: inline-block;
    vertical-align: -3px;
    margin: 0 1px;
}

.download-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.download-status--done {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: var(--fo-accent-dark, #15803d);
}

.download-status-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    animation: btn-loading-spin 0.7s linear infinite;
}

.download-status-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--fo-accent, #16a34a);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
}

@media (prefers-reduced-motion: reduce) {
    .download-status-spinner {
        animation: none;
    }
}

.download-installed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.download-installed-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--fo-accent-dark, #15803d);
    font-size: 1.5rem;
    font-weight: 800;
}

.download-installed-text {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.download-note {
    margin: 1rem auto 0;
    max-width: 22rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.download-perks {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.download-perk {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--fo-border, #e4e4e7);
    background: var(--fo-surface, #fff);
    box-shadow: var(--fo-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fo-text, #18181b);
}

.download-perk-icon {
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fo-accent-soft, rgba(22, 163, 74, 0.1));
    font-size: 1.1rem;
}

.download-back {
    display: inline-flex;
    margin: 1.5rem auto 0;
    width: 100%;
    justify-content: center;
    color: var(--fo-accent-dark, #15803d);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.download-back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================
   Branded splash / initial loading screen
   ============================================ */
.app-splash {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    background:
        radial-gradient(130% 100% at 50% 0%, rgba(74, 222, 128, 0.35), transparent 55%),
        linear-gradient(160deg, #14532d 0%, #166534 48%, #14532d 100%);
    color: #fff;
    opacity: 1;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.app-splash--hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.app-splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    animation: appSplashRise 0.6s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}

.app-splash-badge {
    position: relative;
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    margin-bottom: 0.35rem;
}

.app-splash-ring {
    position: absolute;
    inset: 6px;
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: appSplashPulse 1.9s ease-out infinite;
}

.app-splash-logo {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    object-fit: contain;
}

.app-splash-name {
    font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.app-splash-tag {
    margin-top: -0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.app-splash-dots {
    display: inline-flex;
    gap: 0.42rem;
    margin-top: 0.55rem;
}

.app-splash-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    animation: appSplashDot 1s ease-in-out infinite;
}

.app-splash-dots i:nth-child(2) { animation-delay: 0.16s; }
.app-splash-dots i:nth-child(3) { animation-delay: 0.32s; }

@keyframes appSplashRise {
    from { opacity: 0; transform: translateY(14px) scale(0.95); }
    to { opacity: 1; transform: none; }
}

@keyframes appSplashPulse {
    0% { transform: scale(1); opacity: 0.65; }
    70% { transform: scale(1.22); opacity: 0; }
    100% { opacity: 0; }
}

@keyframes appSplashDot {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .app-splash-inner,
    .app-splash-ring,
    .app-splash-dots i {
        animation: none;
    }
}

/* Visible keyboard focus (does not replace mouse hover) */
:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.app-tab:focus-visible,
.order-btn:focus-visible {
    outline: 3px solid rgba(76, 175, 80, 0.85);
    outline-offset: 2px;
}

body.app-mobile .app-tab {
    min-height: 48px;
}

/* —— Legal pages (privacy policy, etc.) —— */
body.legal-page {
    margin: 0;
    font-family: var(--font-body);
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
}

.legal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2e8f0;
    backdrop-filter: blur(8px);
}

.legal-header-inner {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
}

.legal-brand img {
    border-radius: 10px;
}

.legal-back-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #15803d;
    text-decoration: none;
}

.legal-back-link:hover {
    text-decoration: underline;
}

.legal-main {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}

.legal-article h1 {
    margin: 0 0 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #14532d;
    line-height: 1.25;
}

.legal-updated {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
}

.legal-lead {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    color: #334155;
}

.legal-article section {
    margin-bottom: 1.5rem;
}

.legal-article h2 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #166534;
}

.legal-article p,
.legal-article li {
    font-size: 0.9375rem;
    color: #334155;
}

.legal-article ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.legal-article li {
    margin-bottom: 0.35rem;
}

.legal-article a {
    color: #15803d;
    font-weight: 500;
}

.legal-article a:hover {
    text-decoration: underline;
}

.legal-article code {
    font-size: 0.85em;
    background: #ecfdf5;
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

.legal-address {
    margin: 0.75rem 0 0;
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #334155;
}

.legal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.25rem 1rem 2rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #64748b;
}

.legal-footer a {
    color: #15803d;
    text-decoration: none;
    font-weight: 500;
}

.legal-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   Not Accepting Orders Overlay
   ============================================ */
.store-closed-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(26, 35, 126, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: storeClosedFade 0.25s ease;
}

.store-closed-overlay[hidden] {
    display: none;
}

@keyframes storeClosedFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.store-closed-card {
    width: 100%;
    max-width: 440px;
    background: var(--warm-white, #fffef9);
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    padding: 2rem 1.6rem;
    text-align: center;
}

.store-closed-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    box-shadow: inset 0 0 0 2px rgba(255, 140, 66, 0.25);
}

.store-closed-title {
    font-family: var(--font-display, serif);
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--text-dark, #2c2c2c);
    margin: 0 0 0.35rem;
}

.store-closed-title-hi {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-red, #d32f2f);
    margin: 0 0 1rem;
}

.store-closed-reason {
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: #fff3e0;
    border: 1px solid rgba(255, 140, 66, 0.4);
}

.store-closed-reason-en {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--accent-red, #c62828);
}

.store-closed-reason-hi {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark, #2c2c2c);
}

.store-closed-message {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light, #666);
    margin: 0 0 0.4rem;
}

.store-closed-message-hi {
    margin-bottom: 1rem;
}

.store-closed-footnote {
    font-size: 0.8rem;
    color: var(--text-light, #666);
    margin: 0;
    opacity: 0.85;
}

body.store-closed-locked {
    overflow: hidden;
}

@media (max-width: 480px) {
    .store-closed-card {
        padding: 1.6rem 1.2rem;
    }
    .store-closed-title {
        font-size: 1.2rem;
    }
}

/* ============================================
   Floating category switcher + bottom-sheet
   ============================================ */
.category-jump-fab {
    position: fixed;
    left: 50%;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 74px);
    transform: translateX(-50%) translateY(10px);
    z-index: 1095;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.05rem;
    border: none;
    border-radius: 999px;
    background: var(--text-dark, #2c2c2c);
    color: #fff;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.category-jump-fab.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.category-jump-fab:active {
    transform: translateX(-50%) translateY(1px) scale(0.98);
}

/* Lift the Categories pill above the sticky cart bar when it's showing */
body.app-mobile.has-cart-bar .category-jump-fab {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 144px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, bottom 0.28s cubic-bezier(0.34, 1.16, 0.64, 1);
}

.category-jump-fab-icon {
    flex: 0 0 auto;
}

/* Bottom-sheet overlay */
.category-sheet {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.category-sheet[hidden] {
    display: none;
}

.category-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.category-sheet.open .category-sheet-backdrop {
    opacity: 1;
}

.category-sheet-panel {
    position: relative;
    width: min(100%, 520px);
    max-height: 78dvh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.28);
    padding: 0.5rem 0 calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-sheet.open .category-sheet-panel {
    transform: translateY(0);
}

.category-sheet-grabber {
    width: 42px;
    height: 5px;
    border-radius: 999px;
    background: #d8dee9;
    margin: 0.55rem auto 0.25rem;
}

.category-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.1rem 0.65rem;
    border-bottom: 1px solid #eef0f3;
}

.category-sheet-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark, #2c2c2c);
}

.category-sheet-close {
    border: none;
    background: #f1f3f6;
    color: var(--text-dark, #2c2c2c);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-sheet-list {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0.6rem 0.4rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.category-sheet-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    border: none;
    border-radius: 12px;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark, #2c2c2c);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}

.category-sheet-item:hover {
    background: #f6f7f9;
}

.category-sheet-item.active {
    background: rgba(76, 175, 80, 0.12);
}

.category-sheet-item-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--beige-bg, #f5f1e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.category-sheet-item.active .category-sheet-item-icon {
    background: var(--logo-green, #4caf50);
}

.category-sheet-item-name {
    flex: 1 1 auto;
    font-weight: 600;
}

.category-sheet-item.active .category-sheet-item-name {
    color: #15803d;
}

.category-sheet-item-count {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light, #666);
    background: #f1f3f6;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
}

.category-sheet-item.active .category-sheet-item-count {
    background: rgba(76, 175, 80, 0.2);
    color: #15803d;
}

@media (prefers-reduced-motion: reduce) {
    .category-jump-fab,
    .category-sheet-backdrop,
    .category-sheet-panel {
        transition: none;
    }
}

/* ============================================================
   FOOD / GROCERY MODE TOGGLE + GROCERY (INSTAMART) STOREFRONT
   ============================================================ */

:root {
    --gro-accent: #7c3aed;
    --gro-accent-dark: #6d28d9;
    --gro-accent-soft: #f3eefe;
}

.app-mode-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 3px;
    border-radius: 12px;
    background: #f4f4f5;
    margin: 0 auto;
    max-width: 100%;
}

.app-mode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: none;
    background: transparent;
    color: #71717a;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0 0.75rem;
    min-height: 38px;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.app-mode-btn .app-mode-emoji {
    font-size: 1rem;
    line-height: 1;
}

.app-mode-btn[data-mode="food"].is-active {
    background: #fff;
    color: var(--fo-accent-dark, #15803d);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.app-mode-btn[data-mode="grocery"].is-active {
    background: #fff;
    color: var(--gro-accent);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.app-mode-btn:active:not(.is-active) {
    background: rgba(255, 255, 255, 0.5);
}

.app-mode-btn.is-unavailable {
    opacity: 0.45;
    cursor: not-allowed;
}

.app-mode-btn .app-mode-emoji,
.app-mode-btn .app-mode-text {
    pointer-events: none;
}

/* Section visibility driven by body mode class */
.grocery-section {
    display: none;
}

body.mode-grocery #home,
body.mode-grocery #menu,
body.mode-grocery #categoryJumpFab,
body.mode-grocery #cartBar {
    display: none !important;
}

body.mode-grocery .grocery-section {
    display: block;
}

body:not(.mode-grocery) #grocery {
    display: none !important;
}

.grocery-section {
    padding: 14px 0 24px;
    background: var(--cream-bg, #faf8f3);
    min-height: 60vh;
}

.grocery-hero {
    background: linear-gradient(135deg, var(--gro-accent), var(--gro-accent-dark));
    color: #fff;
    border-radius: 18px;
    padding: 16px 16px 18px;
    margin-bottom: 14px;
}

.grocery-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.grocery-hero-eyebrow {
    font-size: 0.74rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    padding: 3px 9px;
    border-radius: 999px;
}

.grocery-hero-live {
    font-size: 0.74rem;
    font-weight: 700;
}

.grocery-hero-live.is-closed {
    opacity: 0.85;
}

.grocery-hero-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 2px;
    color: #fff;
}

.grocery-hero-lead {
    font-size: 0.85rem;
    margin: 0 0 12px;
    opacity: 0.92;
}

.grocery-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 0 10px;
}

.grocery-search-wrapper .search-icon {
    width: 18px;
    height: 18px;
    color: #94a3b8;
    flex-shrink: 0;
}

.grocery-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 11px 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1e293b;
}

.grocery-store-filter {
    margin-bottom: 12px;
}

.grocery-store-filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.grocery-store-tab {
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
}

.grocery-store-tab.is-active {
    background: var(--gro-accent);
    border-color: var(--gro-accent);
    color: #fff;
}

.grocery-store-closed-notice {
    background: #fef3c7;
    color: #92400e;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.82rem;
    margin: 0 0 12px;
}

.grocery-cat-tabs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    -webkit-overflow-scrolling: touch;
}

.grocery-cat-tab {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 64px;
    border: none;
    background: transparent;
    color: #334155;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    line-height: 1.1;
}

.grocery-cat-tab .grocery-cat-img,
.grocery-cat-tab .grocery-cat-emoji {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--gro-accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.grocery-cat-block {
    margin-bottom: 18px;
    scroll-margin-top: 120px;
}

.grocery-cat-heading {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px;
}

.grocery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 560px) {
    .grocery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 820px) {
    .grocery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.grocery-card {
    position: relative;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 8px;
    display: flex;
    flex-direction: column;
}

.grocery-card.is-oos {
    opacity: 0.72;
}

.grocery-off-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--gro-accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    z-index: 2;
}

.grocery-card-img {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    margin-bottom: 6px;
}

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

.grocery-card-unit {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 2px;
}

.grocery-card-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.1em;
}

.grocery-card-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.grocery-card-price {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.grocery-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
}

.grocery-mrp {
    font-size: 0.7rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.grocery-add-btn {
    border: 1.5px solid var(--gro-accent);
    background: var(--gro-accent-soft);
    color: var(--gro-accent-dark);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 7px 14px;
    border-radius: 9px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.grocery-oos-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ef4444;
}

.grocery-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--gro-accent);
    border-radius: 9px;
    overflow: hidden;
}

.grocery-stepper--sm {
    border-radius: 8px;
}

.grocery-step {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    width: 30px;
    height: 32px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.grocery-step-qty {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    min-width: 20px;
    text-align: center;
}

.grocery-loading,
.grocery-empty {
    text-align: center;
    color: #64748b;
    padding: 40px 16px;
    font-size: 0.9rem;
}

/* Grocery cart bar — purple accent variant */
body.app-mobile .grocery-cart-bar {
    background: linear-gradient(180deg, var(--gro-accent), var(--gro-accent-dark));
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.34), 0 4px 10px rgba(0, 0, 0, 0.12);
}

body.app-mobile.has-grocery-cart-bar .app-shell {
    padding-bottom: calc(var(--fo-nav) + env(safe-area-inset-bottom, 0px) + 84px);
}

/* Grocery cart modal body */
.grocery-cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.grocery-cart-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.grocery-cart-line-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    flex-shrink: 0;
}

.grocery-cart-line-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.grocery-cart-line-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grocery-cart-line-unit {
    font-size: 0.72rem;
    color: #94a3b8;
}

.grocery-cart-line-total {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    min-width: 52px;
    text-align: right;
}

.grocery-cart-empty {
    text-align: center;
    color: #64748b;
    padding: 24px;
}

.grocery-checkout-block {
    border-top: 1px solid #eef0f3;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grocery-field-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
}

.grocery-address-select,
.grocery-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.88rem;
    color: #1e293b;
    background: #fff;
}

.grocery-new-address {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grocery-coupon-row {
    display: flex;
    gap: 8px;
}

.grocery-coupon-row .grocery-input {
    flex: 1;
}

.grocery-coupon-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.grocery-coupon-msg {
    font-size: 0.78rem;
    color: #16a34a;
    margin: 0;
}

.grocery-coupon-msg.is-error {
    color: #ef4444;
}

.grocery-totals {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
}

.grocery-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #475569;
}

.grocery-total-row--grand {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
    margin-top: 2px;
}

.grocery-checkout-error {
    color: #ef4444;
    font-size: 0.82rem;
    margin: 0;
}

.grocery-place-btn {
    width: 100%;
    padding: 13px;
    font-size: 0.95rem;
    font-weight: 800;
    background: var(--gro-accent);
    border-color: var(--gro-accent);
}

.grocery-place-btn:hover {
    background: var(--gro-accent-dark);
}

.grocery-toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--fo-nav, 64px) + 90px);
    transform: translateX(-50%) translateY(10px);
    background: #1e293b;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    z-index: 1200;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    max-width: 88vw;
    text-align: center;
}

    .grocery-toast.is-visible {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

/* ============================================================
   APP FOOTER (food + grocery)
   ============================================================ */

.app-footer {
    background: linear-gradient(180deg, #11221a, #0c1a14);
    color: #cbd5d1;
    padding: 28px 0 calc(var(--fo-nav, 64px) + env(safe-area-inset-bottom, 0px) + 24px);
    margin-top: 24px;
}

.app-footer .container {
    max-width: var(--fo-max, 720px);
    margin: 0 auto;
    padding: 0 16px;
}

.app-footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.app-footer-logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    padding: 3px;
}

.app-footer-brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-footer-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
}

.app-footer-tagline {
    font-size: 0.8rem;
    color: #93a59d;
    line-height: 1.3;
}

.app-footer-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-footer-chip {
    font-size: 0.74rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8e5;
    white-space: nowrap;
}

.app-footer-chip--food {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

.app-footer-chip--grocery {
    background: rgba(124, 58, 237, 0.22);
    color: #c4b5fd;
}

.app-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 22px 0;
}

.app-footer-heading {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7c8c85;
    margin: 0 0 10px;
}

.app-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-footer-col a {
    color: #cbd5d1;
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.2s ease;
}

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

.app-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #8b9b94;
}

.app-footer-bottom p {
    margin: 0;
}

.app-footer-made a {
    color: #86efac;
    text-decoration: none;
}

@media (max-width: 560px) {
    .app-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .app-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   NATIVE APP FEEL — Premium micro-interactions
   ============================================ */

/* —— Global touch optimizations —— */
body.app-mobile button,
body.app-mobile a,
body.app-mobile [role="button"],
body.app-mobile [role="tab"],
body.app-mobile input,
body.app-mobile select,
body.app-mobile textarea,
body.app-mobile .menu-item-card,
body.app-mobile .delivery-hero-cat,
body.app-mobile .delivery-hero-promo,
body.app-mobile .category-tab {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent pull-to-refresh on the body for app-like feel */
body.app-mobile {
    overscroll-behavior-y: contain;
}

body.app-mobile .app-shell {
    overscroll-behavior-y: contain;
}

/* —— Glassmorphism top bar —— */
body.app-mobile .app-topbar {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(228, 228, 231, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

body.app-mobile .app-topbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(228, 228, 231, 0.8);
}

/* —— Bottom nav glassmorphism + bounce —— */
body.app-mobile .app-bottom-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid rgba(228, 228, 231, 0.5);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
}

/* Tab tap animation — spring bounce on icon */
body.app-mobile .app-tab:active .app-tab-icon {
    transform: scale(0.82);
    transition: transform 0.08s ease;
}

body.app-mobile .app-tab .app-tab-icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}

body.app-mobile .app-tab.active .app-tab-icon {
    transform: scale(1.08);
}

/* Active indicator with smooth animation */
body.app-mobile .app-tab::before {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* —— Press-state feedback for all touchable elements —— */
body.app-mobile .btn:active,
body.app-mobile .delivery-hero-cta:active {
    transform: scale(0.97);
    transition: transform 0.08s ease;
}

body.app-mobile .btn {
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease;
}

/* Card press feedback */
body.app-mobile .menu-item-card:active {
    transform: scale(0.985);
    transition: transform 0.08s ease;
}

body.app-mobile .menu-item-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.2s ease;
}

/* Category pill press feedback */
body.app-mobile .delivery-hero-cat:active {
    transform: scale(0.92);
    transition: transform 0.08s ease;
}

body.app-mobile .delivery-hero-cat {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

/* Category tab press feedback */
body.app-mobile .category-tab:active,
body.app-mobile [role="tab"]:active {
    transform: scale(0.95);
    transition: transform 0.08s ease;
}

body.app-mobile .category-tab,
body.app-mobile [role="tab"] {
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

/* Hero search bar press feedback */
body.app-mobile .delivery-hero-search:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.08s ease;
}

body.app-mobile .delivery-hero-search {
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.2s ease;
}

/* Promo chip press */
body.app-mobile .delivery-hero-promo:active {
    transform: scale(0.94);
    transition: transform 0.08s ease;
}

body.app-mobile .delivery-hero-promo {
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* —— Momentum scrolling for all scroll containers —— */
body.app-mobile .delivery-hero-categories,
body.app-mobile .category-tabs,
body.app-mobile .category-tabs-wrapper,
body.app-mobile .menu-hotel-filter-tabs,
body.app-mobile .grocery-cat-tabs,
body.app-mobile .grocery-store-filter-tabs {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
}

body.app-mobile .delivery-hero-cat,
body.app-mobile .category-tab {
    scroll-snap-align: start;
}

/* —— Shimmer loading skeleton —— */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

body.app-mobile .skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 37%,
        #f0f0f0 63%
    );
    background-size: 200% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
    border-radius: var(--fo-radius-sm);
    min-height: 1em;
}

body.app-mobile .skeleton-card {
    background: var(--fo-surface);
    border-radius: var(--fo-radius);
    padding: var(--fo-space-4);
    box-shadow: var(--fo-shadow);
}

body.app-mobile .skeleton-card .skeleton-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--fo-radius-sm);
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 37%,
        #f0f0f0 63%
    );
    background-size: 200% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
}

body.app-mobile .skeleton-card .skeleton-line {
    height: 12px;
    border-radius: 6px;
    margin-top: 10px;
    background: linear-gradient(
        90deg,
        #f0f0f0 25%,
        #e0e0e0 37%,
        #f0f0f0 63%
    );
    background-size: 200% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
}

body.app-mobile .skeleton-card .skeleton-line:nth-child(2) {
    width: 70%;
}

body.app-mobile .skeleton-card .skeleton-line:nth-child(3) {
    width: 45%;
}

/* —— Smooth section transitions —— */
body.app-mobile .menu-section,
body.app-mobile .grocery-section,
body.app-mobile .delivery-hero {
    animation: sectionFadeIn 0.4s ease-out;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* —— Cart bar enhanced entrance —— */
body.app-mobile .cart-bar:not(.cart-bar--hidden) {
    animation: cartBarEntrance 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cartBarEntrance {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* —— Cart modal slide-up with spring —— */
body.app-mobile .cart-modal.open .cart-modal-content,
body.app-mobile .checkout-modal.open .checkout-modal-content {
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* —— Order success confetti-like pop —— */
body.app-mobile .order-success-icon {
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes successPop {
    from {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.15);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* —— Enhanced splash screen fade —— */
body.app-mobile .app-splash--hide {
    transition: opacity 0.45s ease, transform 0.45s ease;
    opacity: 0;
    transform: scale(1.05);
}

/* —— Delivery time badge —— */
.delivery-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* —— Prefers reduced motion —— */
@media (prefers-reduced-motion: reduce) {
    body.app-mobile .skeleton,
    body.app-mobile .skeleton-card .skeleton-img,
    body.app-mobile .skeleton-card .skeleton-line {
        animation: none;
    }

    body.app-mobile .app-tab .app-tab-icon,
    body.app-mobile .btn,
    body.app-mobile .menu-item-card,
    body.app-mobile .delivery-hero-cat,
    body.app-mobile .delivery-hero-promo,
    body.app-mobile .delivery-hero-search,
    body.app-mobile .category-tab,
    body.app-mobile [role="tab"],
    body.app-mobile .app-tab::before {
        transition: none;
    }

    body.app-mobile .menu-section,
    body.app-mobile .grocery-section,
    body.app-mobile .delivery-hero {
        animation: none;
    }

    body.app-mobile .cart-bar:not(.cart-bar--hidden) {
        animation: none;
    }

    .delivery-time-badge {
        animation: none;
    }
}

/* ============================================
   SWIGGY / ZOMATO / ZEPTO — Inspired UI
   ============================================ */

/* —— Hero headline with inline ETA —— */
.delivery-hero-headline {
    margin-bottom: var(--fo-space-3, 0.75rem);
}

.delivery-hero-eta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.18);
    border: 1px solid rgba(134, 239, 172, 0.35);
    animation: etaPulse 2.5s ease-in-out infinite;
}

.delivery-eta-icon {
    display: inline-flex;
    color: #86efac;
}

.delivery-eta-text {
    font-size: 0.8125rem;
    color: #dcfce7;
    font-weight: 600;
}

.delivery-eta-text strong {
    font-weight: 800;
    color: #fff;
}

@keyframes etaPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.2); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* —— Swiggy-style offer banners (horizontal scroll) —— */
.delivery-hero-offers {
    display: flex;
    gap: 0.65rem;
    margin: 0 0 var(--fo-space-5, 1.25rem);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-left: calc(-1 * max(var(--fo-space-5, 1.25rem), env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(var(--fo-space-5, 1.25rem), env(safe-area-inset-right, 0px)));
    padding-left: max(var(--fo-space-5, 1.25rem), env(safe-area-inset-left, 0px));
    padding-right: max(var(--fo-space-5, 1.25rem), env(safe-area-inset-right, 0px));
    padding-bottom: 4px;
}

.delivery-hero-offers::-webkit-scrollbar {
    display: none;
}

.delivery-offer-card {
    flex: 0 0 auto;
    width: 10.5rem;
    min-height: 5.5rem;
    border-radius: 14px;
    padding: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.delivery-offer-card:active {
    transform: scale(0.96);
}

.delivery-offer-card--1 {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.delivery-offer-card--2 {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.delivery-offer-card--3 {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.delivery-offer-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.delivery-offer-tag {
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1;
}

.delivery-offer-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.delivery-offer-sub {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.25;
    font-weight: 500;
}

.delivery-offer-emoji {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
    animation: offerEmojiFloat 3s ease-in-out infinite;
}

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

/* —— "What's on your mind?" section label —— */
.delivery-hero-section-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.65rem;
}

/* —— Swiggy-style category grid (4 columns, wrap) —— */
.delivery-hero-categories {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem 0.35rem;
    overflow-x: visible !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: var(--fo-space-5, 1.25rem);
}

.delivery-hero-cat {
    width: auto !important;
    flex: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.delivery-hero-cat:active {
    transform: scale(0.92) !important;
    background: rgba(255, 255, 255, 0.14);
}

.delivery-hero-cat-icon {
    width: 3.6rem !important;
    height: 3.6rem !important;
    border-radius: 50%;
    font-size: 1.65rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.delivery-hero-cat:hover .delivery-hero-cat-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Staggered entrance animation for each category */
.delivery-hero-cat {
    animation: catBounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.delivery-hero-cat:nth-child(1) { animation-delay: 0.05s; }
.delivery-hero-cat:nth-child(2) { animation-delay: 0.1s; }
.delivery-hero-cat:nth-child(3) { animation-delay: 0.15s; }
.delivery-hero-cat:nth-child(4) { animation-delay: 0.2s; }
.delivery-hero-cat:nth-child(5) { animation-delay: 0.25s; }
.delivery-hero-cat:nth-child(6) { animation-delay: 0.3s; }
.delivery-hero-cat:nth-child(7) { animation-delay: 0.35s; }
.delivery-hero-cat:nth-child(8) { animation-delay: 0.4s; }

@keyframes catBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(15px);
    }
    60% {
        transform: scale(1.05) translateY(-2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* New category colors for grocery & pasta */
.delivery-hero-cat--grocery .delivery-hero-cat-icon {
    background: linear-gradient(145deg, rgba(187, 247, 208, 0.95), rgba(74, 222, 128, 0.85));
}

.delivery-hero-cat--pasta .delivery-hero-cat-icon {
    background: linear-gradient(145deg, rgba(254, 215, 170, 0.95), rgba(251, 146, 60, 0.85));
}

.delivery-hero-cat-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* —— Trust strip (Zepto-style) —— */
.delivery-hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--fo-space-5, 1rem);
    padding: 0.55rem 0.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: nowrap;
    overflow: hidden;
}

.delivery-trust-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 1;
    min-width: 0;
}

.delivery-trust-icon {
    font-size: 0.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.delivery-trust-text {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.delivery-trust-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* —— Weekend-only hero badge —— */
.hero-weekend-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.6rem;
    padding: 0.38rem 0.75rem 0.38rem 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 99px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-weekend-badge strong {
    color: #fff;
    font-weight: 800;
}

.hero-weekend-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: weekendPulse 1.8s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
}

@keyframes weekendPulse {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    60%  { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}


/* —— Enhanced menu items — Swiggy/Zomato-style —— */

/* Larger image with rounded corners and subtle overlay */
body.app-mobile .menu-item {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.2s ease;
}

body.app-mobile .menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(22, 163, 74, 0.2);
}

/* Larger image area like Swiggy */
body.app-mobile .menu-item-image {
    width: 116px;
    min-width: 116px;
    border-radius: 0;
    position: relative;
}

body.app-mobile .menu-item-image img {
    width: 100%;
    height: 100%;
    min-height: 116px;
    object-fit: cover;
}

/* Swiggy-style "ADD" button — compact green with plus */
body.app-mobile .order-btn {
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    min-height: 38px;
    padding: 0.5rem 0.75rem;
    background: #fff;
    color: var(--fo-accent, #16a34a);
    border: 1.5px solid var(--fo-accent, #16a34a);
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.12);
    justify-content: center;
    gap: 0.35rem;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

body.app-mobile .order-btn:hover {
    background: var(--fo-accent-soft, rgba(22, 163, 74, 0.1));
    color: var(--fo-accent-dark, #15803d);
    transform: none;
}

body.app-mobile .order-btn:active {
    background: var(--fo-accent, #16a34a);
    color: #fff;
    transform: scale(0.97);
}

/* Hide the separate price label on the ADD button — show as price text under name */
body.app-mobile .order-btn-price {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Quantity stepper — Swiggy-style green bar */
body.app-mobile .menu-cart-qty-bar {
    border-radius: 10px;
    min-height: 38px;
    background: var(--fo-accent, #16a34a);
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.28);
}

/* Price styling — bolder like Zomato */
body.app-mobile .menu-item-content .price,
body.app-mobile .menu-item-content .price .price-main {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.app-mobile .menu-item-content .price .price-original {
    font-size: 0.78rem;
    font-weight: 500;
    -webkit-text-fill-color: var(--fo-muted, #9ca3af);
    color: var(--fo-muted, #9ca3af);
}

/* Name styling — Zomato-like */
body.app-mobile .menu-item-content h3,
body.app-mobile .menu-item-name {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* —— Swiggy-style "Bestseller" badge (can be added via JS) —— */
body.app-mobile .menu-item-bestseller {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.2rem 0.5rem;
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    border-radius: 0 0 8px 0;
    line-height: 1.4;
}

/* —— Veg indicator dot (Zomato-style) —— */
body.app-mobile .menu-item-veg-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1.5px solid #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.app-mobile .menu-item-veg-dot::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
}

/* —— Enhanced menu grid spacing —— */
body.app-mobile .menu-grid {
    gap: 0.75rem;
}

/* —— Reduced motion for new animations —— */
@media (prefers-reduced-motion: reduce) {
    .delivery-hero-eta {
        animation: none;
    }

    .delivery-offer-emoji {
        animation: none;
    }

    .delivery-hero-cat {
        animation: none;
    }
}

/* —— Promo Modal —— */
.promo-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-modal-overlay:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.promo-modal-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 360px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-modal-overlay:not([hidden]) .promo-modal-card {
    transform: translateY(0) scale(1);
}

.promo-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.promo-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.promo-icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    animation: promoBounce 2s infinite;
}

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

.promo-title {
    font-size: 2rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.promo-subtitle {
    font-size: 1.05rem;
    color: #475569;
    margin: 0 0 1.5rem;
    line-height: 1.4;
}

.promo-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.promo-cta-btn {
    background: #0f172a;
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.promo-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
}

.promo-cta-btn:active {
    transform: translateY(0);
}

/* Payment Instructions UI Emphasis */
.payment-action-alert {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.1);
}

.payment-action-alert-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.payment-action-alert-content {
    flex: 1;
    text-align: left;
}

.payment-action-alert-title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #92400e;
}

.payment-action-alert-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #b45309;
}

.payment-qr-btn--large {
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 14px;
    width: 100%;
}

.payment-qr-btn--pulse {
    animation: paymentPulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    background: #10b981;
}
.payment-qr-btn--pulse:hover {
    background: #059669;
}

@keyframes paymentPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* Irresistible Call To Action Banner in Hero */
.hero-craving-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    gap: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.craving-icon {
    font-size: 2.25rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: gentleShake 3s ease-in-out infinite;
}

@keyframes gentleShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.craving-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.craving-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.craving-sub {
    font-size: 0.85rem;
    color: #f1f5f9;
    font-weight: 500;
    opacity: 0.9;
}

.craving-btn {
    background: #f59e0b;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pulse-glow {
    animation: glowingPulse 2s infinite;
}

@keyframes glowingPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* ====================================================
   Delivery Day Picker — Adarsh Cafe
   ==================================================== */

.checkout-day-picker {
    background: #f0faf1;
    border: 2px solid rgba(76, 175, 80, 0.25);
    border-radius: 14px;
    padding: 1rem 1.1rem 1rem;
    margin-bottom: 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-day-picker-header {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}

.checkout-day-picker-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.checkout-day-picker-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a3a1a;
    margin: 0 0 0.18rem 0;
    line-height: 1.3;
}

.checkout-day-picker-sub {
    font-size: 0.78rem;
    color: #4a6a4a;
    margin: 0;
    line-height: 1.4;
}

.checkout-day-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.checkout-day-option {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    border: 2px solid #d1d5db;
    background: #ffffff;
    padding: 0.8rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.checkout-day-option:hover {
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
    background: #fafffe;
}

.checkout-day-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkout-day-option-inner {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.checkout-day-option-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #2c2c2c;
    line-height: 1.2;
}

.checkout-day-option-date {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.checkout-day-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    color: transparent;
    font-weight: 900;
    flex-shrink: 0;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    background: #fff;
}

/* ── Selected state ─────────────────────────────── */
.checkout-day-option--selected {
    border-color: #4caf50;
    background: #f0faf1;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.18);
}

.checkout-day-option--selected .checkout-day-check {
    background: #4caf50;
    border-color: #4caf50;
    color: #fff;
}

.checkout-day-option--selected .checkout-day-option-name {
    color: #1a6b1e;
}

.checkout-day-option--selected .checkout-day-option-date {
    color: #2e7d32;
    font-weight: 600;
}

/* ── Today highlight (when it's actually Sat/Sun) ── */
.checkout-day-option--today {
    border-color: #4caf50;
    background: #e8f5e9;
}

.checkout-day-option--today .checkout-day-option-name {
    color: #1a6b1e;
}

.checkout-day-option--today .checkout-day-option-date {
    color: #2e7d32;
    font-weight: 700;
}

/* ── Pre-order amber note ────────────────────────── */
.checkout-day-preorder-note {
    margin: 0.75rem 0 0;
    font-size: 0.79rem;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ── Confirm text below submit button ────────────── */
.checkout-day-confirm {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2e7d32;
    margin: 0.45rem 0 0;
    padding: 0.35rem 0.75rem;
    background: #e8f5e9;
    border-radius: 8px;
}

/* ── Shake when no day selected (validation error) ── */
@keyframes dayPickerShake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-7px); }
    40%       { transform: translateX(7px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}

.checkout-day-picker--shake {
    animation: dayPickerShake 0.5s ease-in-out;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* Checkout: cash-on-delivery reassurance */
.checkout-pay-note {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin: 0.9rem 0 0.8rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #f3fcf6, #e6f8ec);
    box-shadow: 0 0 0 1px #c9ecd6 inset, 0 2px 6px -2px rgba(22, 163, 74, 0.25);
    font-size: 1.15rem;
    line-height: 1.2;
}
.checkout-pay-note div { display: grid; gap: 0.1rem; font-size: 0.82rem; color: #3d5a49; }
.checkout-pay-note strong { font-size: 0.92rem; color: #14532d; }
.btn-checkout-place .btn-label { display: inline; }

/* My orders: progress tracker, cash note, cancel */
.order-progress { display: flex; list-style: none; margin: 0.9rem 0 0.4rem; padding: 0; }
.order-progress-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; }
.order-progress-step::before { content: ''; position: absolute; top: 0.45rem; right: 50%; width: 100%; height: 3px; background: #e2e8f0; z-index: 0; }
.order-progress-step:first-child::before { display: none; }
.order-progress-step.is-done::before, .order-progress-step.is-current::before { background: linear-gradient(90deg, #22c55e, #16a34a); }
.order-progress-dot { position: relative; z-index: 1; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: #e2e8f0; box-shadow: 0 0 0 3px #fff; }
.order-progress-step.is-done .order-progress-dot { background: #16a34a; }
.order-progress-step.is-current .order-progress-dot { background: #16a34a; box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(34, 197, 94, 0.3); animation: op-pulse 1.8s ease-in-out infinite; }
.order-progress-label { font-size: 0.64rem; font-weight: 700; color: #94a3b8; letter-spacing: 0.01em; }
.order-progress-step.is-done .order-progress-label, .order-progress-step.is-current .order-progress-label { color: #14532d; }
@keyframes op-pulse { 50% { box-shadow: 0 0 0 3px #fff, 0 0 0 9px rgba(34, 197, 94, 0.12); } }
.my-order-status--paid { background: #d4f5e0; color: #14532d; margin-left: 0.4rem; }
.my-order-cod { margin: 0.7rem 0 0; padding: 0.6rem 0.8rem; border-radius: 12px; background: linear-gradient(180deg, #f3fcf6, #e6f8ec); box-shadow: 0 0 0 1px #c9ecd6 inset; font-size: 0.85rem; color: #2f5a42; }
.my-order-cancel { width: 100%; margin-top: 0.7rem; min-height: 2.8rem; border: none; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px #fecdd3; color: #be123c; font: inherit; font-weight: 800; font-size: 0.9rem; cursor: pointer; transition: background 0.15s; }
.my-order-cancel:hover:not(:disabled) { background: #fff1f2; }
.my-order-cancel:disabled { opacity: 0.6; cursor: wait; }
@media (prefers-reduced-motion: reduce) { .order-progress-step.is-current .order-progress-dot { animation: none; } }

/* Items without a photo: text-only card, no placeholder picture */
.menu-item--no-image .menu-item-content { padding-left: 1rem; }
.discount-badge--inline { position: static; display: inline-block; margin-left: 0.4rem; transform: none; vertical-align: middle; }

/* Hero: detect my city */
.delivery-hero-detect {
    margin-left: 0.5rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(4px);
}
.delivery-hero-detect:disabled { opacity: 0.7; cursor: wait; }

/* Not serviceable at the chosen location */
.not-serviceable { max-width: 26rem; margin: 2.5rem auto; padding: 2rem 1.4rem; text-align: center; border-radius: 22px; background: #fff; box-shadow: 0 4px 10px -2px rgba(15,23,42,.06), 0 24px 44px -14px rgba(15,23,42,.18); }
.not-serviceable h3 { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 800; color: #0b1220; }
.not-serviceable p { margin: 0 0 1.2rem; color: #5d6b82; line-height: 1.5; font-size: .95rem; }

/* Why this delivery charge + when it becomes free */
.checkout-fee-why {
    margin: 0.6rem 0 0;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: #f3f8ff;
    border: 1px solid #d6e6fb;
    color: #27456b;
    font-size: 0.82rem;
    line-height: 1.45;
}
.checkout-fee-why strong { color: #14365f; }
.checkout-fee-why .fee-free { color: #14532d; font-weight: 700; }

/* Delivery card: charge, reason, progress to free delivery */
.checkout-fee-why { padding: 0; background: none; border: 0; }
.delivery-note.delivery-note--card { background: none; border: 0; padding: 0; text-align: left; font-weight: inherit; color: inherit; }
.dlv-card {
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, #f5f9ff);
    border: 1px solid #d9e6f7;
    box-shadow: 0 6px 18px rgba(30, 64, 120, 0.08);
    text-align: left;
}
.dlv-card--free { background: linear-gradient(180deg, #ffffff, #effcf3); border-color: #bfe8cc; box-shadow: 0 6px 18px rgba(21, 128, 61, 0.1); }
.dlv-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.dlv-title { font-weight: 800; color: #14365f; font-size: 0.95rem; }
.dlv-amt { display: inline-flex; align-items: baseline; gap: 0.4rem; }
.dlv-price { font-weight: 800; font-size: 1.05rem; color: #14365f; }
.dlv-price--free { color: #fff; background: linear-gradient(135deg, #22c55e, #15803d); padding: 0.1rem 0.55rem; border-radius: 99px; font-size: 0.78rem; letter-spacing: 0.04em; }
.dlv-was { color: #94a3b8; font-size: 0.8rem; }
.dlv-detail { margin: 0.3rem 0 0; font-size: 0.8rem; line-height: 1.4; color: #5b6b82; font-weight: 500; }
.dlv-perk { margin-top: 0.7rem; }
.dlv-perk-text { font-size: 0.82rem; color: #27456b; margin-bottom: 0.4rem; }
.dlv-bar { height: 10px; border-radius: 99px; background: #e3ebf7; overflow: hidden; }
.dlv-bar span {
    display: block; height: 100%; border-radius: 99px;
    background: linear-gradient(90deg, #22c55e, #86efac, #22c55e);
    background-size: 200% 100%;
    animation: dlvShimmer 2.4s linear infinite;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.dlv-scale { display: flex; justify-content: space-between; margin-top: 0.25rem; font-size: 0.7rem; color: #8a98ad; font-weight: 600; }
.dlv-perk--done { display: flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; color: #14532d; animation: dlvPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.dlv-tick { width: 20px; height: 20px; border-radius: 50%; background: #16a34a; position: relative; flex: none; }
.dlv-tick::after { content: ''; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes dlvShimmer { to { background-position: -200% 0; } }
@keyframes dlvPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dlv-bar span, .dlv-perk--done { animation: none; } }

/* Cart bar: progress strip towards free delivery */
.cart-bar { overflow: hidden; }
.cart-bar-progress {
    position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: rgba(255, 255, 255, 0.25);
}
.cart-bar-progress[hidden] { display: none; }
.cart-bar-progress i {
    display: block; height: 100%; width: 0; border-radius: 0 4px 4px 0;
    background: linear-gradient(90deg, #fde68a, #fff);
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-bar-progress--done i { background: #fff; }
.cart-summary-row[hidden] { display: none; }
/* Celebration when delivery is free */
.dlv-card--free { position: relative; overflow: hidden; }
.dlv-card--free::before, .dlv-card--free::after {
    content: ''; position: absolute; pointer-events: none; border-radius: 50%;
    animation: dlvSparkle 2.8s ease-in-out infinite;
}
.dlv-card--free::before { width: 8px; height: 8px; right: 18%; top: 12px; background: #facc15; }
.dlv-card--free::after { width: 6px; height: 6px; right: 8%; top: 36px; background: #f472b6; animation-delay: 1.1s; }
@keyframes dlvSparkle { 0%, 100% { transform: translateY(0) scale(0.6); opacity: 0.2; } 50% { transform: translateY(-6px) scale(1.2); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dlv-card--free::before, .dlv-card--free::after { animation: none; } }
