/* ============================================
   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;
    --font-body: 'Poppins', 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;
}

.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--rice .menu-subsection-title::before {
    content: '🍚';
    font-size: 1.15em;
    line-height: 1;
}

.menu-subsection--noodles .menu-subsection-title::before {
    content: '🍜';
    font-size: 1.15em;
    line-height: 1;
}

.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);
}

.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);
}

.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;
}

/* 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-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;
    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: 30px;
    height: 30px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: var(--logo-green);
    color: white;
    border: none;
    font-size: 1.2rem;
    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;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
    touch-action: manipulation;
    border-radius: 50%;
}

.remove-btn:hover {
    transform: scale(1.2);
}

.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;
}

.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;
}

.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);
}

/* ===============================
   PWA install CTA
   =============================== */
.pwa-install {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 92px; /* leave room for bottom nav */
    z-index: 9999;
    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-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-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 {
    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 input: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 {
    color: #94a3b8;
    font-weight: 500;
}

.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);
}

.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;
}

.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-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: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--fo-canvas);
    color: var(--fo-text);
    -webkit-tap-highlight-color: transparent;
}

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: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--fo-max);
    z-index: 1100;
    padding: env(safe-area-inset-top, 0px) max(1rem, env(safe-area-inset-right, 0px)) 0 max(1rem, env(safe-area-inset-left, 0px));
    background: var(--fo-surface);
    border-bottom: 1px solid var(--fo-border);
}

body.app-mobile .app-topbar.scrolled {
    box-shadow: var(--fo-shadow-md);
}

body.app-mobile .app-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--fo-space-3);
    min-height: var(--fo-top);
    padding-bottom: var(--fo-space-2);
}

body.app-mobile .app-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

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: 42px;
    height: 42px;
    border-radius: var(--fo-radius-sm);
    overflow: hidden;
    background: var(--fo-surface);
    border: 1px solid var(--fo-border);
}

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

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

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

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;
}

/* —— 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 {
    margin: 0;
    padding: var(--fo-space-6) 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: linear-gradient(160deg, #0f172a 0%, #1e293b 48%, #0f172a 100%);
    color: #fafafa;
    border-radius: 0 0 var(--fo-radius) var(--fo-radius);
    border: none;
    box-shadow: var(--fo-shadow-md);
}

body.app-mobile .app-hero-eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 var(--fo-space-3);
}

body.app-mobile .app-home-hero .order-header-title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(1.5rem, 5.5vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin: 0 0 var(--fo-space-4);
    color: #fff;
}

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.35rem 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

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: 'Plus Jakarta Sans', system-ui, sans-serif;
    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 .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: var(--fo-text);
    color: #fff;
    border-color: var(--fo-text);
    box-shadow: none;
}

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: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--fo-text);
}

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: var(--fo-radius);
    border: 1px solid var(--fo-border);
    background: var(--fo-surface);
    box-shadow: var(--fo-shadow);
    overflow: hidden;
}

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-content h3,
body.app-mobile .menu-item-name {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    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: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--fo-text);
    -webkit-text-fill-color: var(--fo-text);
    background: none;
    background-clip: unset;
}

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

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;
}

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: var(--fo-text);
    font-size: 0.75rem;
    width: 1.75rem;
    height: 1.75rem;
}

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: var(--fo-text);
    font-size: 1.25rem;
}

body.app-mobile .contact-details h3 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    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: 'Plus Jakarta Sans', system-ui, sans-serif;
    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: 'Plus Jakarta Sans', system-ui, sans-serif;
    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: var(--fo-radius-sm);
    box-shadow: none;
    padding: var(--fo-space-4);
    margin-bottom: var(--fo-space-3);
    gap: var(--fo-space-3);
}

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: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    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 #cbd5e1;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.my-orders-empty-visual {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #94a3b8;
    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;
}

.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 {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    line-height: 1.2;
    max-width: 100%;
}

.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-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-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-wait {
    width: 100%;
    max-width: 18rem;
    margin: 0.35rem auto 0;
    padding: 0.85rem 1rem 0.95rem;
    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-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-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-hint {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #3f6212;
    line-height: 1.35;
}

.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: 0 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: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    padding: 1.6rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.profile-card--hero {
    background:
        radial-gradient(circle at top right, rgba(187, 247, 208, 0.9), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    padding: 1.75rem;
}

.profile-card-head {
    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.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.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: 18px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.05rem 1.05rem 1.1rem;
    min-height: 104px;
}

.profile-detail-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.profile-detail-value {
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.4;
}

.profile-address-list {
    display: grid;
    gap: 0.85rem;
}

.profile-address-card {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.9);
    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;
    }
}

/* 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;
}

