/* Forzar tamaño grande del nombre en el banner principal */
.brand-banner-title {
    font-size: 6.3rem !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-primary: #2f6fdd;
    --brand-secondary: #5f95ea;
    --brand-accent: #43c09c;
    --landing-bg-color: #f9e9d0;
    --landing-button-border-color: #8ca9da;
    --landing-font-family: 'Roboto', sans-serif;
    --landing-font-size-base: 16px;
    --landing-animation-speed: 1;
}

body {
    font-family: var(--landing-font-family);
    font-size: var(--landing-font-size-base);
    background: transparent;
    min-height: 100vh;
    padding: 0;
    color: #1f1c15;
    position: relative;
}

html {
    background-color: #c9a96e;
    overflow-x: hidden;
}

#bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-color: transparent;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    filter: brightness(0.60);
    pointer-events: none;
    transition: opacity 0.4s ease;
}
body.bg-loaded #bg-layer {
    background-image: url('fondo-vertical.webp');
    opacity: 0.60;
}

/* Fondo fijo con la imagen real - diferido hasta que la página sea interactiva */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: saturate(0.7);
    opacity: 0;
    z-index: -2;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
body.bg-loaded::after {
    background-image: url('fondo.webp');
    opacity: 0.5;
}

/* Modo vertical (portrait) — usa la imagen vertical */
@media (orientation: portrait) {
    body.bg-loaded::after {
        background-image: url('fondo-vertical.webp');
    }
}

body[data-theme='fodexa'] {
    background-image:
        radial-gradient(circle at 18% 18%, rgba(249, 233, 208, 0.3) 0%, transparent 44%),
        radial-gradient(circle at 82% 82%, rgba(220, 200, 170, 0.3) 0%, transparent 50%),
        linear-gradient(140deg, #f9e9d0 0%, #f5e3c5 55%, #f0dbb8 100%);
}

body[data-theme='slate'] {
    background-image:
        radial-gradient(circle at 20% 20%, rgba(83, 109, 148, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(28, 39, 56, 0.45) 0%, transparent 48%),
        linear-gradient(140deg, #0b1220 0%, #121b2b 55%, #1a2638 100%);
}

body[data-theme='ivory'] {
    background-image:
        radial-gradient(circle at 18% 18%, rgba(224, 208, 176, 0.3) 0%, transparent 46%),
        radial-gradient(circle at 85% 75%, rgba(176, 150, 111, 0.28) 0%, transparent 50%),
        linear-gradient(145deg, #f4f0e7 0%, #efe8d8 55%, #e6dcc7 100%);
    color: #1f1c15;
}

body[data-theme='cobalt'] {
    background-image:
        radial-gradient(circle at 16% 22%, rgba(57, 147, 242, 0.24) 0%, transparent 48%),
        radial-gradient(circle at 86% 78%, rgba(18, 57, 114, 0.45) 0%, transparent 50%),
        linear-gradient(140deg, #071427 0%, #0b1f39 55%, #11305a 100%);
}

body[data-theme='ember'] {
    background-image:
        radial-gradient(circle at 20% 18%, rgba(201, 85, 57, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 82% 80%, rgba(113, 40, 31, 0.4) 0%, transparent 52%),
        linear-gradient(140deg, #170a09 0%, #27100d 52%, #3a1712 100%);
}

body[data-theme='mono'] {
    background-image:
        radial-gradient(circle at 20% 18%, rgba(130, 130, 130, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 82% 80%, rgba(62, 62, 62, 0.36) 0%, transparent 52%),
        linear-gradient(140deg, #101010 0%, #1b1b1b 52%, #2b2b2b 100%);
}

/* Textura de carbón */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, rgba(255,255,255,.01) 0px, transparent 1px, transparent 3px, rgba(255,255,255,.01) 4px),
        repeating-linear-gradient(0deg, rgba(255,96,0,.02) 0px, transparent 1px, transparent 3px, rgba(255,96,0,.02) 4px);
    pointer-events: none;
    z-index: 0;
}

/* ========== PANTALLA DE ENTRADA INTERACTIVA ========== */
.pre-entry-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 10001;
    background: #000000;
    background-image: url('portada.webp?v=20260615');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pre-entry-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 20, 0.6) 100%);
    z-index: 1;
}

.pre-entry-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    padding: 40px 20px;
    animation: preEntryFadeIn 1.5s ease-out;
}

.pre-entry-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 
        0 0 30px rgba(255, 96, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 0.9);
    line-height: 1;
}

.pre-entry-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.enter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: #ffffff;
    background: none;
    border: none;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform calc(0.3s * var(--landing-animation-speed)) cubic-bezier(0.4, 0, 0.2, 1),
                opacity  calc(0.3s * var(--landing-animation-speed)) cubic-bezier(0.4, 0, 0.2, 1),
                background calc(0.3s * var(--landing-animation-speed)) ease;
    cursor: pointer;
    min-height: 70px;
    touch-action: manipulation;
}

.btn-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(255, 96, 0, 0.6));
}

.glass-shine-enter {
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left calc(0.6s * var(--landing-animation-speed)) ease;
}

.business-hours-status {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.business-hours-status::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.business-hours-status.is-open {
    color: #146c43;
    background: rgba(20, 108, 67, 0.14);
    border: 1px solid rgba(20, 108, 67, 0.25);
}

.business-hours-status.is-closed {
    color: #b42318;
    background: rgba(180, 35, 24, 0.12);
    border: 1px solid rgba(180, 35, 24, 0.22);
}

/* Liquid glass utility for modern panels */
.liquid-glass {
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
a.is-ordering-closed {
    pointer-events: auto;
}
.mobile-order-btn.is-ordering-closed,
.category-order-btn.is-ordering-closed,
.category-hero-order-btn.is-ordering-closed,
.promo-btn-order.is-ordering-closed {
    opacity: 0.7;
    filter: none;
    cursor: pointer;
    box-shadow: none;
}
.mobile-order-btn.is-ordering-closed:hover,
.mobile-order-btn.is-ordering-closed:active,
.category-order-btn.is-ordering-closed:hover,
.category-hero-order-btn.is-ordering-closed:hover,
.promo-btn-order.is-ordering-closed:hover {
    transform: none;
    box-shadow: none;
    background: inherit;
}

.ordering-status-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 18px));
    width: min(92vw, 520px);
    padding: 22px 24px;
    border-radius: 24px;
    background: rgba(28, 23, 18, 0.97);
    color: #fff6ed;
    border: 1px solid rgba(255, 168, 120, 0.34);
    box-shadow: 0 0 0 100vmax rgba(11, 8, 5, 0.62), 0 30px 70px rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    font-size: 1.08rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 11050;
}

.ordering-status-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.order-sent-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 18px));
    width: min(92vw, 500px);
    padding: 22px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(20, 105, 58, 0.96), rgba(14, 76, 43, 0.98));
    color: #f7fff8;
    border: 1px solid rgba(192, 255, 211, 0.28);
    box-shadow: 0 0 0 100vmax rgba(8, 20, 12, 0.42), 0 30px 70px rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.55;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 11040;
}

.order-sent-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.enter-button:hover {
    transform: translateY(-4px) scale(1.08);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 96, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.enter-button:hover .glass-shine-enter {
    left: 100%;
}

.enter-button:active {
    transform: translateY(-2px) scale(1.05);
}

.pre-entry-container.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity calc(0.6s * var(--landing-animation-speed)) ease-out;
}

@keyframes preEntryFadeIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive para pantalla de entrada */
@media (max-width: 768px) {
    .pre-entry-title {
        font-size: 3.5rem;
        letter-spacing: 3px;
    }
    
    .pre-entry-subtitle {
        font-size: 1.2rem;
        margin-bottom: 35px;
    }
    
    .enter-button {
        padding: 18px 40px;
        font-size: 1.2rem;
        min-height: 65px;
    }
}

@media (max-width: 480px) {
    .pre-entry-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
    }
    
    .pre-entry-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .enter-button {
        padding: 16px 35px;
        font-size: 1.1rem;
        min-height: 60px;
    }
}

/* ========== FIN PANTALLA DE ENTRADA ========== */

/* ── Banner offline ──────────────────────────────────────────────────────── */
#offlineBanner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(20, 14, 6, 0.93);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 170, 0, 0.25);
    color: #ffd166;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
#offlineBanner:not([hidden]) {
    transform: translateY(0);
}
.offline-icon { font-size: 1rem; }
.offline-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6b35;
    animation: offline-pulse 1.4s ease-in-out infinite;
    will-change: opacity, transform;
    flex-shrink: 0;
}
@keyframes offline-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.7); }
}
body.is-offline #splashScreen,
body.is-offline #homeScreen,
body.is-offline #menuScreen {
    padding-top: 42px;
}

/* ========== SPLASH SCREEN CON VIDEO ========== */
.splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 10000;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.splash-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.skip-button {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-height: 44px;
    touch-action: manipulation;
}

.skip-button.show {
    opacity: 1;
}

.skip-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.skip-button:active {
    transform: translateY(0) scale(1.02);
}

.splash-container.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out;
}

/* Responsive para splash screen */
@media (max-width: 768px) {
    .skip-button {
        top: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 13px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .skip-button {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
        font-size: 12px;
        min-height: 36px;
    }
}

/* ========== FIN SPLASH SCREEN ========== */

/* ========== HERO SECTION 2026 CON GLASSMORPHISM ========== */
.hero-section {
    width: 100%;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.hero-background {
    width: 100%;
    height: 100%;
    background-image: url('portada.webp?v=20260615');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(20, 20, 20, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
    animation: heroFadeIn 1.5s ease-out;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 
        0 0 20px rgba(255, 96, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 8px 16px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* BOTÓN GLASSMORPHISM 2026 */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background 0.3s ease;
    cursor: pointer;
    min-height: 60px;
    touch-action: manipulation;
}

.glass-shine {
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
}

.hero-cta-btn:hover .glass-shine {
    left: 100%;
}

.hero-cta-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Animación del Hero */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        margin-bottom: 30px;
        border-radius: 15px;
    }
    
    .hero-background {
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .hero-title {
        font-size: 3rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-cta-btn {
        padding: 16px 32px;
        font-size: 1.2rem;
        letter-spacing: 1px;
        min-height: 56px;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 45vh;
        border-radius: 10px;
    }
    
    .hero-background {
        min-height: 45vh;
    }
    
    .hero-content {
        padding: 25px 12px;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-cta-btn {
        padding: 14px 28px;
        font-size: 1.1rem;
        min-height: 52px;
        min-width: 180px;
    }
}

/* ========== FIN HERO SECTION ========== */

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.public-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: transparent;
    margin-bottom: 0;
    pointer-events: none;
}

.public-topbar > * {
    pointer-events: auto;
}

.topbar-help-btn {
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(52, 24, 6, 0.92);
    border: none;
    border-radius: 50px;
    color: rgba(255, 210, 170, 0.92);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(20, 6, 0, 0.45);
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}
.topbar-help-btn:hover {
    background: rgba(72, 32, 8, 0.98);
    box-shadow: 0 6px 25px rgba(20, 6, 0, 0.6);
    color: rgba(255, 210, 170, 1);
    text-decoration: none;
}

.public-session-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 44px;
    min-width: 152px;
    max-width: 176px;
    padding: 8px 12px;
    border-radius: 16px;
    border: 1px solid rgba(180, 100, 30, 0.30);
    background: rgba(243, 233, 216, 0.94);
    color: #2a1b12;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.public-session-btn strong {
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #000;
    line-height: 1.05;
}

.public-session-btn-kicker {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a54800;
}

.public-session-btn.is-authenticated {
    background: linear-gradient(135deg, rgba(255, 247, 235, 0.96), rgba(245, 219, 190, 0.94));
    border-color: rgba(165, 72, 0, 0.18);
}

#main-menu {
    display: none;
}

/* Header Animado */
.animated-header {
    position: relative;
    margin-bottom: 40px;
}

.banner {
    width: 100%;
    height: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(255, 96, 0, 0.3);
    margin-bottom: 30px;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 96, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 2;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Animaciones de entrada */
.fade-in {
    animation: fadeInEffect 1.2s ease-out;
}

.slide-in {
    animation: slideInEffect 1s ease-out 0.3s both;
}

@keyframes fadeInEffect {
    from { opacity: 0; transform: scale(1.1); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInEffect {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sección 'Lo Más Pedido' */
.featured-section {
    margin-bottom: 86px;
    text-align: center;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 64px;
    text-shadow: none;
}

.category-grid-section {
    margin-bottom: 28px;
}

.category-grid-section .section-title {
    text-align: center;
}

.social-title {
    text-align: center;
    margin-bottom: 14px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

/* Tarjeta pequeña de galería — liquid-glass sobre fondo crema */
.card-pequena {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}

.card-pequena:active {
    transform: scale(0.97);
}

.card-pequena img {
    width: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

.card-pequena p {
    text-align: center;
    font-weight: bold;
    margin-top: 6px;
    color: #3b2000 !important;
    font-size: 0.82rem;
}

/* ---- GLASS EFFECT (ESTILO APPLE) ---- */
.category-chip {
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #000000;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.2s ease, background 0.25s ease;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 8px;
    align-items: center;
    text-align: left;
}

/* UNIVERSAL LIQUID GLASS BOX */
.liquid-glass {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 18px 22px;
    margin-bottom: 18px;
    color: #000000;
    font-family: 'Oswald', 'Roboto', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 8px rgba(255,255,255,0.08);
    transition: border-color 0.25s ease;
    position: relative;
    overflow: visible;
    z-index: 1;
}


.liquid-glass h1, .liquid-glass h2, .liquid-glass h3, .liquid-glass h4, .liquid-glass h5, .liquid-glass h6, .liquid-glass p, .liquid-glass span, .liquid-glass label, .liquid-glass small {
    color: #000000;
    text-shadow: 0 1px 8px rgba(255,255,255,0.08);
}

.liquid-glass strong {
    color: #222;
}

.category-chip-thumb {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3);
}

.category-chip-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #5A3A1B;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.category-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    gap: 10px;
    padding: 12px 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    color: #2f170b;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-chip:hover {
    border-color: rgba(255, 96, 0, 0.5);
    background: rgba(255, 255, 255, 0.30);
    transform: translateY(-2px);
}

.category-chip.active {
    border-color: rgba(255, 96, 0, 0.9);
    background: linear-gradient(160deg, rgba(255, 96, 0, 0.18), rgba(255, 255, 255, 0.28));
}

.category-products-panel {
    margin-top: 12px;
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.focus-highlight {
    animation: targetFocusPulse 0.7s ease;
}

@keyframes targetFocusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 96, 0, 0.75);
        transform: scale(0.995);
    }
    60% {
        box-shadow: 0 0 0 12px rgba(255, 96, 0, 0);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 96, 0, 0);
    }
}

.category-hero-wrap {
    width: min(100%, 1080px);
    aspect-ratio: 1 / 1;
    margin: 0 auto 10px;
}

.category-hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.category-hero-head {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.category-hero-title {
    display: none;
}

.category-hero-order-btn {
    margin-top: 10px;
    background: linear-gradient(135deg, #ff5200, #ff2800);
    color: white;
    padding: 0 28px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 22px rgba(255, 60, 0, 0.65), 0 2px 6px rgba(200, 20, 0, 0.40);
    transition: background 0.2s ease, transform 0.2s ease;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    width: auto;
    text-align: center;
    border-radius: 25px;
    white-space: nowrap;
    line-height: 1;
}

.category-hero-order-btn:hover,
.category-hero-order-btn:active {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
    text-decoration: none;
    color: white;
}

.category-products-list {
    display: grid;
    gap: 8px;
}

.category-product-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.category-product-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.category-product-row strong {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    color: #000000;
}

.category-product-row .muted {
    font-size: 0.82rem;
    color: #000000;
}

.category-order-btn {
    border: none;
    background-color: var(--brand-primary, #2f6fdd);
    color: #ffffff;
    padding: 6px 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.4px;
    border-radius: 8px;
}

.category-empty {
    color: #333333;
    font-size: 0.9rem;
}

.social-mini-bar {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 8px 0 24px;
}

.social-mini-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #000000;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-mini-icon svg {
    width: 32px;
    height: 32px;
}

#social-instagram {
    color: #c13584;
    background: linear-gradient(135deg, rgba(131, 58, 180, 0.22), rgba(253, 29, 29, 0.16), rgba(252, 176, 69, 0.24));
    border-color: rgba(193, 53, 132, 0.38);
}

#social-tiktok {
    color: #111111;
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.2), rgba(255, 255, 255, 0.18), rgba(254, 44, 85, 0.2));
    border-color: rgba(17, 17, 17, 0.22);
}

#social-facebook {
    color: #1877f2;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.22), rgba(255, 255, 255, 0.18));
    border-color: rgba(24, 119, 242, 0.34);
}

#social-instagram:hover {
    color: #ffffff;
    border-color: rgba(193, 53, 132, 0.7);
}

#social-tiktok:hover {
    color: #fe2c55;
    border-color: rgba(37, 244, 238, 0.55);
}

#social-facebook:hover {
    color: #ffffff;
    border-color: rgba(24, 119, 242, 0.7);
}

.social-mini-icon:hover {
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
    transform: translateY(-3px);
}

.menu-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.menu-carousel::-webkit-scrollbar {
    height: 6px;
}

.menu-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.menu-carousel::-webkit-scrollbar-thumb {
    background: #FF6000;
    border-radius: 3px;
}

.menu-card {
    min-width: 220px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.menu-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FF6000, transparent, #FF6000);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 20px 40px rgba(255, 96, 0, 0.4);
}
.menu-card:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
}

.menu-card.highlight {
    border-color: #FF6000;
    box-shadow: 0 10px 30px rgba(255, 96, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.menu-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-card .price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #FF6000;
    font-weight: 700;
    margin-bottom: 8px;
}


/* Card de Información (glass) */
.info-card {
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    font-size: 1.35rem;
    margin-right: 10px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 96, 0, 0.14);
}

.info-text strong {
    display: block;
    color: #000000;
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.6px;
}

.info-text p {
    color: #000000;
    line-height: 1.45;
    font-size: 0.9rem;
}

.info-text p a {
    color: #8a3f00;
    font-weight: 700;
    text-decoration: underline;
}

/* Contenedor de Botones */
.links-container {
    display: none;
}

/* Botones Estilo Neón */
.neon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    margin: 12px 0;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    border: 2px solid var(--landing-button-border-color, var(--brand-primary));
    color: var(--landing-button-border-color, var(--brand-primary));
    position: relative;
    overflow: hidden;
    transition: transform calc(0.3s * var(--landing-animation-speed)) cubic-bezier(0.4, 0, 0.2, 1),
                opacity  calc(0.3s * var(--landing-animation-speed)) ease,
                border-color calc(0.3s * var(--landing-animation-speed)) ease;
    cursor: pointer;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 96, 0, 0.1), transparent);
    transition: left calc(0.6s * var(--landing-animation-speed)) ease;
}

.neon-button:hover::before {
    left: 100%;
}

.neon-button:hover {
    background: var(--landing-button-border-color, var(--brand-primary));
    color: #000;
    box-shadow: 
        0 0 20px rgba(255, 96, 0, 0.5),
        0 0 40px rgba(255, 96, 0, 0.3),
        0 0 60px rgba(255, 96, 0, 0.1);
    transform: translateY(-3px);
}

.neon-button:active {
    transform: translateY(-1px);
}

.button-icon {
    font-size: 1.6rem;
    margin-right: 12px;
}

.button-text {
    flex: 1;
    text-align: center;
}

.neon-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--landing-button-border-color, var(--brand-primary)), transparent, var(--landing-button-border-color, var(--brand-primary)));
    z-index: -1;
    opacity: 0;
    transition: opacity calc(0.4s * var(--landing-animation-speed)) ease;
}

.neon-button:hover .neon-border {
    opacity: 0.3;
}

/* Botón Mega para Menú Digital */
.mega-button {
    font-size: 1.4rem !important;
    padding: 28px 35px !important;
    border-width: 3px !important;
    /* solo transform — propiedad compositor, sin repaint */
    animation: constantGlow 2s ease-in-out infinite alternate !important;
    box-shadow: 0 0 24px rgba(255, 96, 0, 0.55), 0 0 48px rgba(255, 96, 0, 0.25);
    margin: 20px 0 !important;
}

@keyframes constantGlow {
    0%   { transform: scale(1.08); }
    100% { transform: scale(1.12); }
}

.mega-button:hover {
    animation: none !important;
    transform: scale(1.13) !important;
}

/* Animación Pulse para WhatsApp */
.pulse-animation {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.06); }
}

/* Botón Destacado - Menú */
.featured-button {
    border-width: 3px;
    font-size: 1.2rem;
    padding: 22px 30px;
    box-shadow: 0 0 15px rgba(255, 96, 0, 0.4);
}

.featured-button:hover {
    box-shadow: 
        0 0 30px rgba(255, 96, 0, 0.6),
        0 0 60px rgba(255, 96, 0, 0.3);
}

/* WhatsApp */
.whatsapp-button {
    border-color: #25D366;
    color: #25D366;
}

.whatsapp-button:hover {
    background: #25D366;
    border-color: #25D366;
    color: #000;
    box-shadow: 
        0 0 20px rgba(37, 211, 102, 0.5),
        0 0 40px rgba(37, 211, 102, 0.3);
}

/* Instagram */
.instagram-button {
    border: 2px solid;
    border-image: linear-gradient(45deg, #833AB4, #FD1D1D, #F77737) 1;
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #F77737);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-button:hover {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #F77737);
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    color: #000;
    box-shadow: 
        0 0 20px rgba(253, 29, 29, 0.4),
        0 0 40px rgba(131, 58, 180, 0.3);
}

/* TikTok */
.tiktok-button {
    border-color: #00f2ea;
    color: #00f2ea;
}

.tiktok-button:hover {
    background: linear-gradient(45deg, #00f2ea, #ff0050);
    border-color: #ff0050;
    color: #000;
    box-shadow: 
        0 0 20px rgba(0, 242, 234, 0.4),
        0 0 40px rgba(255, 0, 80, 0.3);
}

/* Facebook */
.facebook-button {
    border-color: #1877F2;
    color: #1877F2;
}

.facebook-button:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #000;
    box-shadow: 
        0 0 20px rgba(24, 119, 242, 0.5),
        0 0 40px rgba(24, 119, 242, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-size: 0.9rem;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 96, 0, 0.2);
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer p {
    margin: 0;
    color: #000000;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .menu-carousel {
        gap: 15px;
        padding-left: 10px;
    }

    .menu-card {
        min-width: 180px;
        padding: 20px 15px;
    }

    .menu-card h3 {
        font-size: 1.1rem;
    }

    .menu-card .price {
        font-size: 1.5rem;
    }

    .neon-button {
        padding: 18px 25px;
        font-size: 1rem;
    }

    .featured-button {
        padding: 20px 25px;
        font-size: 1.1rem;
    }

    .mega-button {
        font-size: 1.2rem !important;
        padding: 24px 30px !important;
        transform: scale(1.05) !important;
    }

    .info-card {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 10px;
    }

    .info-item {
        padding: 10px;
    }

    .info-text strong {
        font-size: 0.92rem;
    }

    .info-text p {
        font-size: 0.86rem;
    }

    .banner {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .menu-card {
        min-width: 160px;
    }

    .button-text {
        font-size: 0.9rem;
    }

    .mega-button {
        font-size: 1.1rem !important;
        padding: 22px 25px !important;
        transform: scale(1) !important;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .info-item .icon {
        font-size: 1.3rem;
        width: 30px;
        height: 30px;
        margin-right: 0;
    }
}

/* Estilos para la Modal del Menú */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px 20px;
    overflow-y: auto;
    touch-action: pan-y;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.close-button {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #ff6000;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 2px solid #ff6000;
}

.close-button:hover {
    background: rgba(255, 96, 0, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 96, 0, 0.5);
}

.drawer-toggle {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10021;
    width: 44px;
    height: 44px;
    border: 1px solid #ff4500;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.drawer-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
}

.drawer-toggle:hover {
    background: #1a1a1a;
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.5);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 10018;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 70vw;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    z-index: 10020;
    background: rgba(0, 0, 0, 0.92);
    border-right: 1px solid rgba(255, 69, 0, 0.45);
    padding: 70px 16px 20px;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    will-change: transform;
}

.menu-drawer.open {
    transform: translateX(0);
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.drawer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ff4500;
    background: #111111;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    transition: background 0.2s ease;
}

.drawer-close:hover {
    background: #ff4500;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
}

.menu-nav-link {
    display: block;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: color 0.2s ease, background 0.2s ease;
}

.menu-nav-link:hover,
.menu-nav-link.active {
    color: #ffb27d;
    background: rgba(255, 69, 0, 0.12);
    border-bottom-color: rgba(255, 69, 0, 0.45);
}

.menu-nav-link.click-feedback {
    animation: navTapPulse 0.28s ease;
}

@keyframes navTapPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.96);
    }
    100% {
        transform: scale(1);
    }
}

.menu-images-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    padding-bottom: 40px;
}

.menu-main-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
    margin-bottom: 5px;
    text-shadow: 0 0 12px rgba(255, 96, 0, 0.4);
}

.menu-section {
    width: 100%;
    scroll-margin-top: 18px;
}

.menu-section-title {
    font-family: 'Oswald', sans-serif;
    color: #ffb27d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
    text-align: left;
}

.menu-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 96, 0, 0.3);
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 96, 0, 0.2);
}

.menu-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 96, 0, 0.5);
}

/* Animación de fade in */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Estilos responsive para móviles */
@media (max-width: 768px) {
    .close-button {
        top: 15px;
        right: 15px;
        font-size: 35px;
        width: 45px;
        height: 45px;
    }
    
    .modal-content {
        padding: 80px 15px 20px;
    }

    .drawer-toggle {
        top: 12px;
        left: 12px;
        width: 40px;
        height: 40px;
    }

    .menu-drawer {
        width: 70vw;
        max-width: none;
        padding-top: 64px;
    }
    
    .menu-images-container {
        gap: 15px;
    }

    .menu-main-title {
        font-size: 1.6rem;
        margin-top: 0;
    }

    .menu-section-title {
        font-size: 1.1rem;
    }
    
    .menu-image {
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(255, 96, 0, 0.3);
    }
}


.guest-register-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9050;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
    border-radius: 0;
    background: linear-gradient(135deg, rgba(30, 15, 5, 0.98), rgba(65, 30, 8, 0.98));
    border: none;
    border-bottom: 1px solid rgba(255, 145, 0, 0.3);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.guest-register-banner[hidden] {
    display: none !important;
}

.guest-register-banner-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.guest-register-banner-copy strong {
    font-family: 'Oswald', sans-serif;
    font-size: 1.02rem;
    color: #fff3df;
    letter-spacing: 0.4px;
}

.guest-register-banner-copy span {
    color: rgba(255, 241, 225, 0.82);
    font-size: 0.84rem;
    line-height: 1.35;
}

.guest-register-banner-btn {
    min-width: 100px;
    min-height: 36px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9d1f, #ff6f00);
    color: #1f140d;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(255, 111, 0, 0.35);
    flex-shrink: 0;
}

/* Cuando el banner de registro está activo, baja el topbar y las pantallas */
body.has-guest-register-banner .public-topbar {
    top: calc(48px + env(safe-area-inset-top, 0px));
}

body.has-guest-register-banner #homeScreen,
body.has-guest-register-banner #navCategoriesScreen,
body.has-guest-register-banner #categoryDetailScreen,
body.has-guest-register-banner #promoScreen,
body.has-guest-register-banner #searchScreen,
body.has-guest-register-banner #combosScreen,
body.has-guest-register-banner #perfilScreen,
body.has-guest-register-banner #ayudaScreen {
    top: calc(48px + env(safe-area-inset-top, 0px));
}

.support-modal {
    position: fixed;
    inset: 0;
    z-index: 10004;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 11, 6, 0.72);
}

.support-modal.is-open {
    display: flex;
}

.support-modal-card {
    position: relative;
    width: min(94vw, 560px);
    max-height: min(88vh, 760px);
    max-height: min(88dvh, 760px);
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior: contain;
    padding: 24px;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: rgba(90, 58, 27, 0.14);
    color: #5a3a1b;
    font-size: 1.6rem;
    cursor: pointer;
}

.support-modal-kicker,
.support-modal-text,
.support-feedback,
.support-answer-body,
.support-field span {
    margin: 0;
    color: #2a1b12;
}

.support-modal-kicker {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: #a54800;
}

.support-modal-title,
.support-answer-title {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    color: #000;
}

.support-modal-title {
    font-size: 2rem;
}

.support-topic-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.support-topic-btn,
.support-send-btn,
.support-link-chip {
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
}

.support-topic-btn {
    min-height: 42px;
    padding: 0 14px;
    background: rgba(255, 247, 235, 0.92);
    color: #5a3a1b;
    font-family: 'Oswald', sans-serif;
}

.support-topic-btn.is-active {
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff;
}

.support-answer {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-answer-list {
    margin: 0;
    padding-left: 18px;
    color: #2a1b12;
}

.support-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-link-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    background: rgba(255, 247, 235, 0.92);
    color: #5a3a1b;
    font-family: 'Oswald', sans-serif;
}

.support-category-chip {
    justify-content: center;
    min-height: 42px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.14), rgba(255, 90, 0, 0.18));
    border: 1px solid rgba(165, 72, 0, 0.18);
}

.support-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.support-field[hidden] {
    display: none !important;
}

.support-field input,
.support-field textarea,
.support-field select {
    width: 100%;
    border: 1px solid rgba(90, 58, 27, 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    color: #2a1b12;
    font: inherit;
    padding: 14px 16px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.06);
}

.support-field input:focus,
.support-field textarea:focus,
.support-field select:focus {
    outline: none;
    border-color: rgba(255, 96, 0, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 146, 57, 0.12);
}

.support-address-entry.is-active {
    border-color: rgba(255, 96, 0, 0.65);
    background: rgba(255, 247, 232, 0.92);
}

.support-category-chip {
    justify-content: center;
    min-height: 42px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.2), rgba(255, 90, 0, 0.24));
    border: 1px solid rgba(165, 72, 0, 0.3);
    color: #5a3a1b;
}

.support-password-wrap {
    position: relative;
}

.support-password-wrap input {
    padding-right: 62px;
}

.support-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(90, 58, 27, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #8a3f00;
    cursor: pointer;
}

.support-password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.support-password-toggle.is-visible {
    background: rgba(138, 63, 0, 0.1);
}

.support-field textarea {
    resize: vertical;
    min-height: 108px;
}

.support-field input[readonly] {
    background: rgba(246, 238, 229, 0.96);
    color: #5a3a1b;
}

.support-feedback {
    min-height: 0;
    color: #a54800;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    border-radius: 10px;
    overflow: hidden;
}
.support-feedback:not(:empty) {
    padding: 11px 14px;
    background: rgba(165, 72, 0, 0.10);
    border: 1.5px solid rgba(165, 72, 0, 0.26);
    font-weight: 600;
}
.support-feedback--error:not(:empty) {
    background: rgba(200, 40, 20, 0.09);
    border-color: rgba(200, 40, 20, 0.28);
    color: #c02010;
}
.support-feedback--success:not(:empty) {
    background: rgba(22, 163, 74, 0.10);
    border-color: rgba(22, 163, 74, 0.28);
    color: #16a34a;
}
@keyframes authShake {
    0%, 100% { transform: translateX(0); }
    18%, 54% { transform: translateX(-5px); }
    36%, 72% { transform: translateX(5px); }
}
.support-feedback--shake {
    animation: authShake 0.38s ease;
}
.support-field--error input,
.support-field--error select,
.support-field--error textarea {
    border-color: rgba(200, 40, 20, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(200, 40, 20, 0.10);
}
.support-send-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.1);
    box-shadow: none;
}

.support-field-hint {
    margin: 0;
    color: rgba(90, 58, 27, 0.74);
    font-size: 0.82rem;
    line-height: 1.4;
}

.support-address-list {
    display: grid;
    gap: 10px;
}

.support-address-entry {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 251, 245, 0.92);
    border: 1px solid rgba(90, 58, 27, 0.14);
}

.support-address-entry .support-check {
    padding: 8px 10px;
    border-radius: 14px;
    min-width: 82px;
}

.support-address-entry .customerSavedAddressInput {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.95rem;
}

.support-field-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.support-field-actions button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.88rem;
    border-radius: 14px;
}

.customer-address-icon-btn {
    min-width: 38px;
    width: 38px;
    padding: 0;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.customer-address-icon-btn:hover {
    background: rgba(255, 255, 255, 0.98);
}

.support-address-entry p.support-field-hint {
    margin: 0;
    grid-column: 1 / -1;
    font-size: 0.78rem;
    line-height: 1.3;
}

#customerSavedAddressMap,
#deliveryMap {
    min-height: 180px;
}

/* ── Checkout: acciones del mapa de domicilio ─────────────────────────────── */
.checkout-map-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0 6px;
}

.checkout-zone-status {
    font-size: 0.82rem;
    color: rgba(200, 180, 140, 0.72);
    text-align: center;
    line-height: 1.4;
}

/* Botón "Usar mi ubicación" — naranja para diferenciarlo del botón de WhatsApp */
#checkoutUseLocationButton {
    background: linear-gradient(135deg, #ff8c00, #e76f00) !important;
    box-shadow: 0 4px 16px rgba(231, 111, 0, 0.35);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: box-shadow 0.2s, transform 0.15s;
}
#checkoutUseLocationButton:hover {
    box-shadow: 0 6px 22px rgba(231, 111, 0, 0.5);
    transform: translateY(-1px);
}

@keyframes redeemParticle {
    0%   { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); opacity: 0; }
}

@keyframes redeemStamp {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(1.6) rotate(-8deg); }
    35%  { opacity: 1; transform: translate(-50%, -50%) scale(0.92) rotate(2deg); }
    65%  { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.85) rotate(0deg); }
}

.redeem-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    animation: redeemParticle 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.redeem-locked-toast {
    position: fixed;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.93);
    color: #fff;
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    z-index: 99998;
    pointer-events: none;
    animation: redeemStamp 0.3s ease both;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.redeem-stamp {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 50px;
    border: 3px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 24px rgba(34, 197, 94, 0.55), 0 0 0 6px rgba(34,197,94,0.15);
    white-space: nowrap;
    animation: redeemStamp 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

#customerSavedAddressMapPanel {
    padding: 0;
}

.support-field label {
    font-size: 0.9rem;
}

.support-modal-card {
    gap: 10px;
}

.support-secondary-btn {
    min-height: 42px;
}

.support-modal-title {
    font-size: 1.7rem;
}

.support-modal-close {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
}

.support-field {
    gap: 4px;
}

.support-modal {
    padding: 14px;
}

.support-field span {
    font-size: 0.95rem;
}

.support-secondary-btn {
    font-size: 0.92rem;
}

.support-actions.split {
    gap: 8px;
}

.support-modal-card {
    padding: 18px;
}

.support-field input,
.support-field textarea,
.support-field select {
    padding: 10px 12px;
}

.support-field textarea {
    min-height: 96px;
}

.support-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 251, 245, 0.76);
    border: 1px solid rgba(90, 58, 27, 0.12);
    color: #5a3a1b;
    font-size: 0.88rem;
    line-height: 1.45;
}

.support-check[hidden] {
    display: none !important;
}

.support-check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #16b85a;
}

.support-actions {
    display: flex;
}

.support-actions.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.support-actions.stack {
    flex-direction: column;
    gap: 10px;
}

.support-secondary-btn {
    min-height: 52px;
    width: 100%;
    border: 1px solid rgba(90, 58, 27, 0.16);
    border-radius: 14px;
    background: rgba(255, 251, 245, 0.92);
    color: #5a3a1b;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.support-send-btn {
    min-height: 52px;
    width: 100%;
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
}

.support-danger-btn {
    min-height: 52px;
    width: 100%;
    border: 1px solid rgba(134, 26, 26, 0.16);
    border-radius: 14px;
    background: linear-gradient(135deg, #ff735c, #d43f2f);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    cursor: pointer;
}

.support-send-btn.is-disabled {
    opacity: 0.58;
    filter: grayscale(0.15);
    cursor: not-allowed;
    box-shadow: none;
}

.customer-profile-summary {
    padding: 16px;
    border-radius: 18px;
    background: rgba(60, 28, 6, 0.35);
    border: 1px solid rgba(255, 200, 130, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.46);
    display: grid;
    gap: 6px;
}

.customer-profile-summary strong {
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
    color: #fff3e0;
}

.customer-profile-summary span,
.customer-profile-summary p {
    margin: 0;
    color: rgba(255, 210, 160, 0.7);
}

.customer-profile-modal-card {
    width: min(96vw, 680px);
}

.customer-profile-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 237, 214, 0.58));
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.customer-profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff7a00, #ff4f00);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    box-shadow: 0 10px 24px rgba(255, 90, 0, 0.22);
}

.customer-profile-heading {
    display: grid;
    gap: 4px;
}

.customer-profile-heading strong {
    color: #1f140d;
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem;
}

.customer-profile-edit-chip {
    width: auto;
    min-width: 0;
    min-height: 44px;
    padding: 0 18px;
    justify-self: end;
}

.customer-profile-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    text-align: center;
}

.customer-profile-summary-grid > div {
    display: grid;
    gap: 4px;
}

.customer-profile-summary-grid strong {
    font-size: 1.05rem;
}

.customer-profile-summary-grid span {
    color: rgba(90, 58, 27, 0.76);
    font-size: 0.78rem;
}

.checkout-summary-grid {
    padding: 12px 14px;
    gap: 8px;
}

.checkout-summary-grid > div {
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 248, 239, 0.52);
    border: 1px solid rgba(90, 58, 27, 0.08);
}

.checkout-summary-grid > div[hidden] {
    display: none !important;
}

.checkout-summary-grid strong {
    font-size: 1.02rem;
}

.customer-profile-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.customer-profile-tab {
    min-height: 42px;
    border: 1px solid rgba(255, 200, 130, 0.2);
    border-radius: 16px;
    background: rgba(60, 28, 6, 0.45);
    color: rgba(255, 220, 170, 0.85);
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    cursor: pointer;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.customer-profile-tab.is-active {
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 90, 0, 0.16);
}

.customer-profile-panel {
    display: grid;
    gap: 12px;
}

.customer-profile-panel[hidden] {
    display: none !important;
}

.customer-profile-section-title {
    display: grid;
    gap: 4px;
    margin-top: 4px;
}

.customer-profile-section-title strong {
    color: #1f140d;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
}

.customer-profile-section-title span {
    color: rgba(90, 58, 27, 0.78);
    font-size: 0.86rem;
}

.customer-profile-info-card {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(60, 28, 6, 0.35);
    border: 1px solid rgba(255, 200, 130, 0.18);
    border-top-color: rgba(255, 220, 160, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.customer-profile-info-card span {
    color: rgba(255, 210, 160, 0.65);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.customer-profile-info-card strong {
    color: #fff3e0;
    font-size: 1rem;
}

.customer-profile-info-card p {
    margin: 0;
    color: #5a3a1b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.customer-profile-empty-card,
.customer-live-order-card,
.customer-order-history-card,
.customer-message-bubble {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.52);
}

.customer-live-order-card {
    background: linear-gradient(135deg, rgba(255, 244, 231, 0.96), rgba(255, 232, 209, 0.82));
}

.customer-order-history-card {
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease;
}
.customer-order-history-card:hover,
.customer-order-history-card:focus-visible {
    background: rgba(255, 255, 255, 0.62);
    transform: translateY(-1px);
}

.customer-live-order-head,
.customer-order-history-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.customer-live-order-head strong,
.customer-order-history-head strong {
    color: #1f140d;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
}

.customer-live-order-head span,
.customer-live-order-card p,
.customer-order-history-card p,
.customer-profile-empty-card p,
.customer-message-bubble p,
.customer-message-bubble span {
    margin: 0;
    color: #5a3a1b;
}

.customer-live-order-meta,
.customer-order-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.customer-live-order-meta span,
.customer-order-history-meta span,
.customer-live-order-status {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: #7b4a1d;
    font-size: 0.8rem;
    font-weight: 700;
}

.customer-live-order-status.pending,
.customer-live-order-status.waiting {
    background: rgba(255, 225, 160, 0.65);
}

.customer-live-order-status.preparing,
.customer-live-order-status.ready,
.customer-live-order-status.on-route {
    background: rgba(255, 195, 122, 0.72);
}

.customer-live-order-status.delivered {
    background: rgba(155, 224, 167, 0.72);
}
.customer-live-order-status.cancelled {
    background: rgba(239, 68, 68, 0.18);
    color: #fca5a5;
}

/* ── Comprobante de pedido (no es factura) ─────────────────────────────── */
.order-receipt-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.order-receipt-section,
.order-receipt-totals {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-top: 1px dashed rgba(90, 58, 27, 0.25);
}
.order-receipt-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.86rem;
    color: #5a3a1b;
}
.order-receipt-row strong {
    color: #1f140d;
    text-align: right;
}
.order-receipt-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px dashed rgba(90, 58, 27, 0.25);
}
.order-receipt-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.86rem;
    color: #5a3a1b;
}
.order-receipt-item-qty {
    font-weight: 700;
    color: #1f140d;
    flex-shrink: 0;
}
.order-receipt-item-name {
    flex: 1;
}
.order-receipt-item-name em {
    display: block;
    font-style: italic;
    font-size: 0.78rem;
    color: #8b6b47;
}
.order-receipt-item-price {
    font-weight: 700;
    color: #1f140d;
    flex-shrink: 0;
}
.order-receipt-total-final {
    font-size: 1rem;
    padding-top: 6px;
    border-top: 1px dashed rgba(90, 58, 27, 0.25);
}
.order-receipt-total-final strong {
    color: #a54800;
}

@media print {
    body * { visibility: hidden; }
    #orderReceiptModal, #orderReceiptModal * { visibility: visible; }
    #orderReceiptModal {
        position: absolute;
        inset: 0;
        background: #fff;
    }
    #orderReceiptModal .support-modal-close,
    #orderReceiptModal .support-actions {
        display: none;
    }
}

.customer-order-history-list,
/* ===== CHAT PÚBLICO — Burbujas estilo DM ===== */
.customer-chat-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 360px;
    max-height: 55dvh;
    background: rgba(30, 16, 6, 0.55);
    border: 1px solid rgba(200, 120, 40, 0.18);
    border-radius: 16px;
    overflow: hidden;
    margin: 4px 0;
}

.customer-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(200, 120, 40, 0.14);
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.customer-chat-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c44f00, #7a2e00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.80rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.customer-chat-header-info {
    flex: 1;
}

.customer-chat-header-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fde8c8;
    line-height: 1.1;
}

.customer-chat-header-status {
    font-size: 0.65rem;
    color: rgba(200, 160, 100, 0.55);
}

.customer-messages-thread {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    scroll-behavior: smooth;
}

/* Burbujas rediseñadas */
.customer-message-bubble {
    max-width: 78%;
    padding: 9px 13px;
    border-radius: 18px;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.customer-message-bubble.is-customer {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(196, 79, 0, 0.28), rgba(120, 46, 0, 0.22));
    border: 1px solid rgba(200, 100, 30, 0.30);
    border-bottom-right-radius: 4px;
}

.customer-message-bubble.is-admin {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom-left-radius: 4px;
}

.customer-message-bubble strong {
    font-family: 'Roboto', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
    color: #fde8c8;
}

.customer-message-bubble p {
    margin: 0;
    font-size: 0.84rem;
    color: #fde8c8;
    line-height: 1.45;
}

.customer-message-bubble span {
    font-size: 0.60rem;
    color: rgba(200, 160, 100, 0.45);
    text-align: right;
}

.customer-message-bubble.is-customer span {
    align-self: flex-end;
}

.customer-messages-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(200, 160, 100, 0.40);
    font-size: 0.78rem;
    text-align: center;
    padding: 16px;
}

.customer-messages-empty span { font-size: 1.8rem; opacity: 0.4; }

/* Barra de respuesta */
.customer-chat-reply-bar {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 12px 10px;
    border-top: 1px solid rgba(200, 120, 40, 0.14);
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.customer-chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(200, 120, 40, 0.22);
    border-radius: 18px;
    padding: 8px 14px;
    color: #fde8c8;
    font-family: 'Roboto', sans-serif;
    font-size: 0.83rem;
    resize: none;
    outline: none;
    min-height: 36px;
    max-height: 90px;
    overflow-y: auto;
    line-height: 1.4;
    box-sizing: border-box;
}

.customer-chat-input::placeholder {
    color: rgba(200, 160, 100, 0.35);
}

.customer-chat-input:focus {
    border-color: rgba(200, 100, 30, 0.50);
}

.customer-chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c44f00, #7a2e00);
    border: none;
    color: #fff;
    font-size: 0.90rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.12s;
}

.customer-chat-send-btn:hover { transform: scale(1.10); }

.customer-chat-feedback {
    font-size: 0.70rem;
    color: rgba(200, 120, 40, 0.70);
    padding: 0 14px 6px;
    text-align: center;
    flex-shrink: 0;
}

/* Ocultar el composer viejo (se reemplaza) */
.customer-message-composer { display: none; }
.customer-message-actions  { display: none; }
/* ===== FIN CHAT PÚBLICO ===== */

.customer-auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
    color: rgba(90, 58, 27, 0.72);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.customer-auth-divider::before,
.customer-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(90, 58, 27, 0.16);
}

.customer-register-panel {
    display: grid;
    gap: 12px;
}

.support-consent-box {
    display: grid;
    gap: 8px;
}

/* Overlay del documento de consentimiento: opaco para no mostrar el app detrás */
#customerConsentDocumentModal {
    background: rgba(5, 2, 1, 0.97);
}

/* Ocultar el banner de registro mientras el documento de consentimiento está abierto */
body.has-consent-doc-open .guest-register-banner {
    visibility: hidden;
}

.support-consent-modal-card {
    width: min(94vw, 760px);
}

.support-consent-document-frame-wrap {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(90, 58, 27, 0.14);
    background: rgba(255, 255, 255, 0.62);
    min-height: 52vh;
}

.support-consent-document-frame {
    width: 100%;
    min-height: 52vh;
    border: none;
    background: #fff;
}

.support-check a,
.footer a {
    color: #8a3f00;
    font-weight: 700;
    text-decoration: underline;
}

.footer-links {
    margin-top: 10px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.customer-register-panel[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .customer-profile-hero {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        padding: 10px 12px;
    }

    .customer-profile-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.55rem;
    }

    .customer-profile-heading strong {
        font-size: 1.2rem;
    }

    .customer-profile-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .customer-profile-tab {
        min-height: 40px;
        font-size: 0.78rem;
        padding: 0 8px;
    }

    .customer-profile-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .customer-profile-summary-grid strong {
        font-size: 0.96rem;
    }

    .customer-profile-summary-grid span {
        font-size: 0.72rem;
    }

    .checkout-summary-grid {
        padding: 10px;
        gap: 6px;
    }

    .checkout-summary-grid > div {
        padding: 7px 8px;
    }

    .customer-profile-edit-chip {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.9rem;
    }

    .customer-live-order-head,
    .customer-order-history-head,
    .customer-message-actions {
        flex-direction: column;
    }

    .customer-message-bubble {
        max-width: 100%;
    }
}

.cart-fab {
    position: fixed;
    left: 20px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    z-index: 10002;
    min-height: 54px;
    padding: 0 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff7ef;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(200, 75, 0, 0.28);
    font-family: 'Oswald', sans-serif;
    font-size: 0.98rem;
    cursor: pointer;
}

.cart-fab-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff7ef;
    color: #a54800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    will-change: transform;
}
.cart-fab-badge.badge-bounce,
.cart-pill-badge.badge-bounce {
    animation: badge-bounce 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes badge-bounce {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.55); }
    75%  { transform: scale(0.88); }
    100% { transform: scale(1); }
}

.cart-pill {
    position: fixed;
    left: 50%;
    width: min(calc(100vw - 32px), 460px);
    bottom: calc(68px + env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff8ec;
    box-shadow: 0 14px 30px rgba(255, 90, 0, 0.38);
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    opacity: 0;
    transform: translate(-50%, 24px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.34, 1.15, 0.64, 1);
}
.cart-pill.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
.cart-pill-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.cart-pill-badge {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    will-change: transform;
}
.cart-pill-total {
    font-weight: 700;
    font-size: 0.98rem;
}

.cart-added-toast {
    position: fixed;
    left: 50%;
    top: 18px;
    transform: translateX(-50%) translateY(-130%);
    z-index: 10004;
    width: min(90vw, 360px);
    padding: 12px 20px;
    border-radius: 40px;
    background: rgba(22, 11, 4, 0.97);
    color: #fff7ef;
    font-family: 'Oswald', sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    line-height: 1.35;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 154, 80, 0.22);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.cart-added-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 10002;
    background: rgba(18, 10, 5, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.cart-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(92vw, 420px);
    height: 100vh;
    height: 100dvh;
    z-index: 10003;
    padding: 24px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    overflow: hidden;
    will-change: transform;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cart-drawer-title {
    margin: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.9rem;
    color: #000;
    text-transform: uppercase;
}

.cart-summary,
.cart-item-option,
.cart-item-price,
.cart-empty {
    margin: 0;
    color: #2a1b12;
}

.cart-close-btn,
.cart-qty-btn,
.cart-remove-btn,
.cart-continue-btn,
.cart-checkout-btn,
.cart-clear-btn {
    border: none;
    cursor: pointer;
}

.cart-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(90, 58, 27, 0.14);
    color: #5a3a1b;
    font-size: 1.6rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 4px;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    overflow: hidden;
    min-width: 0;
}
.cart-item-info {
    min-width: 0;
    overflow: hidden;
}

.cart-item-extra {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px 6px 24px;
    border-radius: 10px;
    background: rgba(255,255,255,0.45);
    border: 1px dashed rgba(196,81,10,0.2);
    margin-top: -6px;
}
.cart-item-extra-arrow {
    color: rgba(196,81,10,0.5);
    font-size: 0.85rem;
    flex-shrink: 0;
}
.cart-item-extra-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3d1f0a;
}
.cart-item-extra-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c4510a;
    flex-shrink: 0;
}
.cart-item-extra-del {
    flex-shrink: 0;
    padding: 2px 4px;
    opacity: 0.55;
}

.cart-item-info strong {
    display: block;
    margin-bottom: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    color: #000;
}

.cart-item-option {
    font-size: 0.82rem;
    line-height: 1.4;
}

.cart-item-promo-badge {
    display: inline-block;
    margin: 3px 0 2px;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: rgba(230, 160, 0, 0.14);
    color: #b36a00;
    border: 1px solid rgba(230, 160, 0, 0.38);
}

.cart-item-increment-badge {
    display: block;
    margin: 3px 0 2px;
    background: rgba(15, 92, 46, 0.10);
    color: #0f5c2e;
    border-color: rgba(15, 92, 46, 0.32);
    text-transform: none;
}

.cart-item-price {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #5a3a1b;
    font-weight: 600;
    margin-top: 2px;
}
.cart-item-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}
.cart-item-orig-price {
    font-size: 0.78rem;
    color: #a08060;
    text-decoration: line-through;
    font-weight: 400;
}
.cart-item-discount-pill {
    font-size: 0.7rem;
    font-weight: 700;
    background: #e53e00;
    color: #fff;
    border-radius: 99px;
    padding: 1px 7px;
    letter-spacing: 0.02em;
}
.cart-item-final-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #3a1800;
}
.cart-item-savings {
    font-size: 0.72rem;
    color: #1a7a42;
    font-weight: 600;
    width: 100%;
}

.cart-item-combo-especial {
    border: 1.5px solid rgba(230, 126, 0, 0.5);
    background: linear-gradient(135deg, rgba(255, 240, 215, 0.92), rgba(255, 255, 245, 0.82));
}
.cart-item-combo-badge {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff8c00, #e85500);
    color: #fff;
}
.cart-item-combo-list {
    font-size: 0.79rem;
    line-height: 1.4;
    color: #5a3a1b;
    margin: 3px 0 2px;
    font-style: italic;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.cart-qty-row {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 247, 235, 0.92);
    border-radius: 10px;
    padding: 2px;
}

.cart-qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: transparent;
    color: #5a3a1b;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:active {
    background: rgba(90, 58, 27, 0.14);
}

.cart-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(139, 32, 32, 0.1);
    color: #8b2020;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cart-remove-btn:active {
    background: rgba(139, 32, 32, 0.22);
}

.cart-qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    color: #5a3a1b;
    font-size: 0.9rem;
}

.cart-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid rgba(90, 58, 27, 0.12);
    flex-shrink: 0;
}

.cart-action-bar {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.cart-continue-btn,
.cart-checkout-btn,
.cart-clear-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 14px;
    padding: 10px 8px;
    min-height: 58px;
    font-family: 'Oswald', sans-serif;
    border: none;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
}

.cart-continue-btn:active,
.cart-checkout-btn:active,
.cart-clear-btn:active {
    transform: scale(0.96);
}

.cbtn-ico {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cbtn-lbl {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.cart-continue-btn {
    flex: 1;
    background: rgba(255, 247, 235, 0.92);
    color: #5a3a1b;
}

.cart-continue-btn:hover { filter: brightness(0.95); }

.cart-checkout-btn {
    flex: 2;
    background: linear-gradient(135deg, #25d366, #16b85a);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.cart-checkout-btn:hover { filter: brightness(1.07); }

.cart-clear-btn {
    flex: 1;
    background: rgba(255, 247, 235, 0.92);
    color: #8b2020;
}

.cart-clear-btn:hover { filter: brightness(0.95); }

.cart-checkout-btn:disabled,
.cart-clear-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ===== CART ITEM — título editable y nota ===== */
.cart-item-title-editable {
    cursor: pointer;
    border-bottom: 1.5px dashed rgba(180, 90, 20, 0.40);
    padding-bottom: 1px;
    transition: color 0.15s;
}
.cart-item-title-editable:hover {
    color: #c44f00;
}

.cart-item-comment-badge {
    font-size: 0.78rem;
    color: #6b3f10;
    background: rgba(255, 165, 50, 0.10);
    border: 1px solid rgba(180, 100, 20, 0.18);
    border-radius: 8px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-width: 100%;
    display: block;
    padding: 4px 10px;
    margin: 3px 0 4px;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.15s;
}
.cart-item-comment-badge.cart-item-comment-empty {
    color: rgba(100, 60, 20, 0.50);
    background: transparent;
    border-style: dashed;
}
.cart-item-comment-badge:hover {
    background: rgba(255, 140, 30, 0.18);
}

/* ===== EDITOR DE ITEM DEL CARRITO — bottom sheet ===== */
.cie-overlay {
    position: fixed;
    inset: 0;
    z-index: 10500;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: flex-end;
    transition: background 0.28s;
}
.cie-overlay.is-open {
    background: rgba(0, 0, 0, 0.55);
}
.cie-sheet {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    background: #1c1008;
    border: 1px solid rgba(200, 110, 30, 0.30);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.50);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.34, 1.08, 0.64, 1);
    overflow: hidden;
    max-height: 90dvh;
    display: flex;
    flex-direction: column;
    will-change: transform;
}
.cie-overlay.is-open .cie-sheet {
    transform: translateY(0);
}

.cie-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(200, 110, 30, 0.18);
}
.cie-product-name {
    flex: 1;
    font-family: 'Oswald', sans-serif;
    font-size: 1.10rem;
    font-weight: 700;
    color: #fde8c8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cie-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #cbb89a;
    font-size: 0.80rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cie-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cie-section-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 150, 60, 0.80);
    margin: 0 0 8px;
}
.cie-acomp-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cie-acomp-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1.5px solid rgba(200, 110, 30, 0.15);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.cie-acomp-item input[type="radio"] {
    accent-color: #ff7a1a;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.cie-acomp-item.is-selected {
    border-color: rgba(255, 122, 26, 0.55);
    background: rgba(255, 122, 26, 0.08);
}
.cie-acomp-name {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #f0dfc0;
}
.cie-acomp-price {
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ff9a50;
}
.cie-comment-ta {
    width: 100%;
    min-height: 80px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(200, 110, 30, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    color: #f0dfc0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    resize: none;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.cie-comment-ta:focus {
    border-color: rgba(255, 122, 26, 0.55);
}
.cie-char-count {
    font-size: 0.65rem;
    color: rgba(200, 160, 100, 0.45);
    text-align: right;
    margin: 3px 0 0;
}
.cie-footer {
    padding: 12px 18px calc(20px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(200, 110, 30, 0.12);
    flex-shrink: 0;
}
.cie-save-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff5200, #e83000);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.00rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 5px 22px rgba(232, 55, 0, 0.62), 0 2px 6px rgba(180, 10, 0, 0.38);
    transition: transform 0.15s, box-shadow 0.15s;
}
.cie-save-btn:active {
    transform: scale(0.97);
}

/* Responsive para el botón flotante - Optimizado para móviles */
@media (max-width: 768px) {
    .public-topbar {
        padding: 8px 12px;
    }

    .public-session-btn {
        min-width: 0;
        width: min(100%, 160px);
        margin-left: 0;
        padding: 7px 11px;
    }

    .cart-fab {
        left: 14px;
        bottom: 80px;
        min-height: 50px;
        padding: 0 14px;
    }

    .support-modal-card {
        padding: 20px 16px;
        width: min(96vw, 560px);
    }

    .support-actions.split {
        grid-template-columns: 1fr;
    }

    .support-actions.stack {
        gap: 8px;
    }

    .support-modal-title {
        font-size: 1.6rem;
    }

    .support-topic-grid {
        gap: 8px;
    }

    .support-topic-btn {
        width: 100%;
        justify-content: center;
    }

    .guest-register-banner {
        gap: 10px;
        padding: 9px 14px;
        padding-top: calc(9px + env(safe-area-inset-top, 0px));
    }

    .guest-register-banner-copy strong {
        font-size: 0.96rem;
    }

    .guest-register-banner-copy span {
        font-size: 0.78rem;
    }

    .guest-register-banner-btn {
        min-width: 104px;
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.88rem;
    }
    
    .cart-fab-label {
        display: none;
    }
    
}

@media (max-width: 480px) {
    .guest-register-banner {
        grid-template-columns: 1fr auto;
        padding: 8px 12px;
        padding-top: calc(8px + env(safe-area-inset-top, 0px));
    }

    .guest-register-banner-copy strong {
        font-size: 0.9rem;
    }

    .guest-register-banner-copy span {
        font-size: 0.74rem;
    }

    .guest-register-banner-btn {
        min-width: 96px;
        min-height: 38px;
        padding: 0 12px;
        font-size: 0.82rem;
    }
    
}

/* Carrusel Móvil Optimizado */
.mobile-carousel {
    display: flex;
    justify-content: center;
    gap: 36px;
    overflow-x: auto;
    padding: 10px 5px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    contain: layout paint;
}

.mobile-carousel.is-auto-playing {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.featured-carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.featured-carousel-toggle {
    border: 1px solid rgba(255, 96, 0, 0.45);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #000000;
    border-radius: 999px;
    padding: 8px 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.featured-carousel-toggle:hover {
    background: rgba(255, 96, 0, 0.2);
    color: #000000;
    border-color: rgba(255, 133, 51, 0.8);
}

.mobile-carousel::-webkit-scrollbar {
    display: none;
}

/* ── Fade de borde derecho: indica que hay más contenido al deslizar.
      mask-image se aplica al viewport visible del contenedor (no al
      contenido desplazable), así el degradado siempre queda fijo en
      el borde derecho sin importar la posición de scroll. ── */
.mobile-carousel:not(#home-combos-carousel),
.menu-carousel,
.promo-carousel-track,
.search-filter-cats,
.search-filter-prices {
    -webkit-mask-image: linear-gradient(to right, #000 72%, transparent 100%);
    mask-image: linear-gradient(to right, #000 72%, transparent 100%);
}

.product-card-mobile {
    flex: 0 0 370px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.product-card-mobile:active {
    transform: scale(0.98);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 96, 0, 0.3);
    border: 2px solid rgba(255, 96, 0, 0.2);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    transform: translateZ(0);
    cursor: zoom-in;
}

.card-image-wrapper:hover {
    box-shadow: 0 12px 35px rgba(255, 96, 0, 0.4);
    border-color: rgba(255, 96, 0, 0.4);
}

.product-image-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-image-wrapper:hover .product-image-mobile {
    transform: scale(1.05);
}

/* BOTÓN "LO QUIERO" */
.mobile-order-btn {
    margin-top: 18px;
    background: linear-gradient(135deg, #ff5200, #ff2800);
    color: white;
    padding: 0 42px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 21px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 24px rgba(255, 60, 0, 0.68), 0 2px 8px rgba(200, 20, 0, 0.42);
    transition: background 0.2s ease, transform 0.2s ease;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    width: auto;
    text-align: center;
    border-radius: 32px;
    white-space: nowrap;
    line-height: 1;
}

.mobile-order-btn:hover,
.mobile-order-btn:active {
    background: linear-gradient(135deg, #ff4400, #e02000);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 55, 0, 0.78), 0 3px 10px rgba(180, 10, 0, 0.50);
    text-decoration: none;
    color: white;
}

/* Optimización para botones táctiles móviles */
.neon-button {
    min-height: 44px;
    touch-action: manipulation;
}


/* Responsive específico para móvil */
@media (max-width: 768px) {
    .section-title {
        letter-spacing: 4px;
        margin-bottom: 34px;
    }

    .featured-section {
        margin-bottom: 54px;
    }

    .mobile-carousel {
        justify-content: flex-start;
        gap: 15px;
        padding: 10px 0 20px;
    }
    
    .product-card-mobile {
        flex: 0 0 220px;
    }
    
    .mobile-order-btn {
        padding: 0 22px;
        font-size: 13px;
        height: 40px;
        margin-top: 8px;
        width: auto;
    }
    
    .card-image-wrapper {
        border-radius: 15px;
        box-shadow: 0 4px 14px rgba(255, 96, 0, 0.24);
        transition: box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .category-hero-head {
        gap: 6px;
    }

    .category-hero-title {
        display: none;
    }

    .category-hero-order-btn {
        padding: 0 22px;
        font-size: 13px;
        height: 40px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .product-card-mobile {
        flex: 0 0 200px;
    }
    
    .mobile-order-btn {
        padding: 0 18px;
        font-size: 12px;
        height: 36px;
        margin-top: 6px;
        width: auto;
    }
}

/* Botón de Google Maps */
.maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #000000;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 40px;
}

.maps-btn:hover {
    background: rgba(255, 96, 0, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #000000;
    border-color: rgba(255, 96, 0, 0.5);
}

.maps-icon {
    font-size: 14px;
}

.shortcut-section {
    text-align: center;
}

.shortcut-install-btn {
    justify-content: center;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    border: 1px solid rgba(255, 145, 0, 0.35);
}

.shortcut-install-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 8px;
}

.shortcut-install-hint {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: center;
}

/* ── PWA Install Guide Sheet ─────────────────────────────────── */
.pwa-install-overlay {
    position: fixed;
    inset: 0;
    z-index: 10100;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pwa-install-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.pwa-install-sheet {
    width: 100%;
    max-width: 480px;
    background: #1a1e2e;
    border-radius: 20px 20px 0 0;
    padding: 12px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
    transition: transform 0.25s ease;
    text-align: center;
}

.pwa-install-overlay.is-open .pwa-install-sheet {
    transform: translateY(0);
}

.pwa-install-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.pwa-install-appicon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: contain;
    margin-bottom: 4px;
    box-shadow: 0 4px 16px rgba(255, 122, 26, 0.35);
}

.pwa-install-kicker {
    margin: 0;
}

.pwa-install-title {
    margin: 0 !important;
    font-size: 1.8rem !important;
}

.pwa-install-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 320px;
}

.pwa-install-steps {
    list-style: none;
    padding: 0;
    margin: 8px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
}

.pwa-install-step {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 12px 14px;
    text-align: left;
}

.pwa-install-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ff7a1a;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-install-step-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
}

.pwa-install-step-text {
    font-size: 0.88rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.pwa-install-step-text strong {
    color: #fff;
    display: block;
    font-size: 0.92rem;
    margin-bottom: 1px;
}

.pwa-install-confirm-btn {
    margin-top: 8px;
    width: 100%;
    max-width: 320px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #ff7a1a 0%, #ff4500 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: filter 0.18s ease, transform 0.18s ease;
}

.pwa-install-confirm-btn:hover {
    filter: brightness(1.1);
}

.pwa-install-confirm-btn:active {
    transform: scale(0.97);
}

@media (max-width: 768px) {
    .maps-btn {
        padding: 8px 14px;
        font-size: 12px;
        min-height: 36px;
    }
    
    .maps-icon {
        font-size: 13px;
    }

    .shortcut-install-btn {
        max-width: 100%;
    }

    .shortcut-install-icon {
        width: 24px;
        height: 24px;
    }
}

.neon-button.config-btn {
    border-color: var(--btn-custom-color, var(--brand-primary));
    color: var(--btn-custom-color, var(--brand-primary));
}

.neon-button.config-btn:hover {
    background: var(--btn-custom-color, var(--brand-primary));
    border-color: var(--btn-custom-color, var(--brand-primary));
    color: #000;
    box-shadow:
        0 0 20px color-mix(in srgb, var(--btn-custom-color, var(--brand-primary)) 55%, transparent),
        0 0 40px color-mix(in srgb, var(--btn-custom-color, var(--brand-primary)) 35%, transparent);
}

.neon-button.btn-type-solid {
    background: var(--btn-custom-color, var(--brand-primary));
    color: #000;
}

.neon-button.btn-type-solid:hover {
    filter: brightness(1.08);
}

.neon-button.btn-type-glass {
    background: color-mix(in srgb, var(--btn-custom-color, var(--brand-primary)) 18%, transparent);
    border-color: color-mix(in srgb, var(--btn-custom-color, var(--brand-primary)) 65%, #ffffff 10%);
    backdrop-filter: blur(6px);
}

.neon-button.btn-type-minimal {
    border-style: dashed;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.04);
}

.neon-button.btn-size-sm {
    font-size: 0.88rem;
    padding: 12px 18px;
}

.neon-button.btn-size-md {
    font-size: 1.02rem;
    padding: 16px 24px;
}

.neon-button.btn-size-lg {
    font-size: 1.16rem;
    padding: 20px 28px;
}

.neon-button.btn-size-xl {
    font-size: 1.3rem;
    padding: 26px 34px;
    border-width: 3px;
}

.brand-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 22px;
    width: 100%;
    max-width: 960px;
    min-height: 136px;
    margin: 10px auto 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(225, 206, 176, 0.76);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border-radius: 20px;
    padding: 22px 26px;
    box-shadow: 0 18px 45px rgba(84, 54, 28, 0.12);
}

.brand-banner-logo {
    flex: 0 0 auto;
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 14px;
    border: 0;
    background: #ff6600;
    box-shadow: 0 10px 22px rgba(84, 54, 28, 0.18);
    margin-bottom: 0;
    padding: 8px;
}

.brand-banner > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

.brand-banner-textblock {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.brand-banner-title {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 6.3rem;
    font-weight: 700;
    color: #111;
    text-align: left;
    margin: 0;
    line-height: 1.1;
    padding: 0;
    width: 100%;
    display: block;
}

.brand-banner-slogan {
    color: #111;
    font-size: 1.05rem;
    margin: 0;
    text-align: left;
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    padding: 0;
    display: block;
}

.brand-banner h2 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 2.1rem;
    font-weight: 700;
    color: #000000;
    text-align: left;
    width: 100%;
    margin: 0;
    line-height: 1.1;
}

.brand-banner p {
    color: #000000;
    font-size: 1.35rem;
    margin: 0;
    text-align: left;
    width: 100%;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

@media (max-width: 768px) {
    .brand-banner {
        min-height: auto;
        gap: 14px;
        margin: 4px auto 34px;
        padding: 16px;
        border-radius: 16px;
    }

    .brand-banner-logo {
        width: 76px;
        height: 76px;
        border-radius: 12px;
        padding: 7px;
    }

    .brand-banner h2 {
        font-size: 1.55rem;
        letter-spacing: 1.8px;
    }

    .brand-banner p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .brand-banner {
        gap: 12px;
        padding: 14px;
    }

    .brand-banner-logo {
        width: 64px;
        height: 64px;
    }

    .brand-banner h2 {
        font-size: 1.25rem;
        letter-spacing: 1.3px;
    }

    .brand-banner p {
        font-size: 0.9rem;
    }
}

/* ===== PANTALLA PROMOCIONES ===== */
#promoScreen {
    position: fixed;
    inset: 0;
    z-index: 503;
    background: transparent;
    overflow-y: auto;
    padding-top: 0;
}

#promoScreen:not([hidden]) {
    animation: screenFadeIn 0.18s ease;
}

.promo-screen-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 16px 130px;
    max-width: 600px;
    margin: 0 auto;
}

.promo-btn {
    display: block;
    width: 100%;
    padding: 11px 16px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    font-family: 'Oswald', sans-serif;
    box-sizing: border-box;
}

.promo-btn-order {
    background: linear-gradient(135deg, #ff5500, #ff2800);
    color: #fff;
    border: none;
    box-shadow: 0 10px 26px rgba(220, 50, 0, 0.55), 0 3px 8px rgba(180, 10, 0, 0.35);
}

.promo-btn-order:hover {
    background: linear-gradient(135deg, #ff4400, #e01e00);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(220, 45, 0, 0.68), 0 4px 10px rgba(180, 10, 0, 0.45);
}

.promo-btn-menu {
    background: transparent;
    color: #5e2f0f;
    border: 1px solid rgba(94, 47, 15, 0.24);
    margin-top: 6px;
}

.promo-btn-menu:hover {
    border-color: rgba(94, 47, 15, 0.48);
    color: #351707;
}

.promo-modal-agotado-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    z-index: 5;
}

.promo-modal-agotado-overlay[hidden] {
    display: none;
}

.promo-modal-agotado-text {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-shadow: 0 0 24px rgba(255, 50, 0, 0.85), 0 4px 14px rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 70, 0, 0.75);
    padding: 12px 28px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 480px) {
    .promo-modal-title {
        font-size: 1.35rem;
    }

    .promo-modal-options {
        grid-template-columns: 1fr;
    }
}

.bebidas-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(circle at top, rgba(255, 179, 71, 0.22), transparent 34%),
        radial-gradient(circle at bottom, rgba(200, 75, 0, 0.20), transparent 30%),
        rgba(58, 32, 22, 0.74);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.bebidas-modal-card {
    width: min(92vw, 420px);
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    margin: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: linear-gradient(180deg, rgba(255, 248, 236, 0.52), rgba(245, 221, 188, 0.34));
    border: 1.5px solid rgba(255, 199, 132, 0.55);
    box-shadow: 0 18px 48px rgba(67, 37, 23, 0.30);
}

.bebidas-modal-image {
    width: 100%;
    max-height: 58vh;
    max-height: 58dvh;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 250, 244, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 24px rgba(67, 37, 23, 0.18);
}

.bebidas-modal-title {
    width: 100%;
    text-align: center;
    font-family: 'Oswald', 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.03em;
    color: #5a3a1b;
    text-transform: uppercase;
}

.bebidas-modal-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 12px;
}

.bebidas-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 18px;
    border-radius: 14px;
    font-family: 'Oswald', 'Roboto', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.bebidas-modal-btn:hover {
    transform: translateY(-2px);
}

.bebidas-modal-btn-secondary {
    border: 1.5px solid rgba(140, 90, 44, 0.24);
    background: rgba(255, 247, 235, 0.72);
    color: #5a3a1b;
    box-shadow: 0 10px 24px rgba(67, 37, 23, 0.10);
}

.bebidas-modal-btn-secondary:hover {
    border-color: rgba(200, 75, 0, 0.38);
    background: rgba(255, 247, 235, 0.92);
}

.bebidas-modal-btn-primary {
    border: 1px solid rgba(255, 80, 0, 0.30);
    background: linear-gradient(135deg, #ff5200, #ff2800);
    color: #fff;
    box-shadow: 0 10px 28px rgba(220, 50, 0, 0.55), 0 3px 8px rgba(180, 10, 0, 0.35);
}

.bebidas-modal-btn-primary:hover {
    background: linear-gradient(135deg, #ff4400, #e01e00);
    box-shadow: 0 14px 34px rgba(220, 45, 0, 0.68), 0 4px 10px rgba(180, 10, 0, 0.45);
}

@media (max-width: 480px) {
    .bebidas-modal-overlay {
        padding: 14px;
    }

    .bebidas-modal-card {
        width: 100%;
        padding: 14px;
        gap: 14px;
    }

    .bebidas-modal-title {
        font-size: 1.45rem;
    }

    .bebidas-modal-actions {
        grid-template-columns: 1fr;
    }
}
/* ===== FIN MODAL DE PROMOCIÓN ===== */

/* ===== MODAL REGISTRO PARA PROMOS ===== */
.promo-reg-card {
    text-align: center;
}

.promo-reg-card .support-modal-text {
    margin-bottom: 24px;
    line-height: 1.6;
}

.promo-reg-card .support-modal-text strong {
    color: #ff7a1a;
}

.promo-reg-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.promo-reg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.promo-reg-btn:hover { transform: translateY(-2px); }
.promo-reg-btn:active { transform: translateY(0); }

.promo-reg-btn-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.promo-reg-btn--download {
    background: linear-gradient(135deg, #1a73e8, #0d56c1);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(26, 115, 232, 0.35);
}
.promo-reg-btn--download:hover {
    box-shadow: 0 12px 30px rgba(26, 115, 232, 0.5);
}

.promo-reg-btn--register {
    background: linear-gradient(135deg, #ff5200, #e83000);
    color: #ffffff;
    box-shadow: 0 8px 26px rgba(220, 55, 0, 0.58), 0 3px 8px rgba(180, 10, 0, 0.35);
}
.promo-reg-btn--register:hover {
    box-shadow: 0 12px 32px rgba(220, 50, 0, 0.70), 0 4px 10px rgba(180, 10, 0, 0.45);
}

.promo-reg-btn--guest {
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 10px 20px;
}
.promo-reg-btn--guest:hover {
    color: rgba(255, 255, 255, 0.65);
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: none;
}
/* ===== FIN MODAL REGISTRO PARA PROMOS ===== */

/* ===== MODAL CANAL DE CUPÓN (Pedir aquí / Usar en local) ===== */
.cupon-channel-card { max-width: 300px; text-align: center; }
.cupon-channel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}
.cupon-channel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 10px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.25;
    transition: background 0.18s, transform 0.12s;
    -webkit-tap-highlight-color: transparent;
}
.cupon-channel-btn:active { transform: scale(0.95); }
.cupon-channel-btn--delivery { background: rgba(220, 53, 34, 0.28); border-color: rgba(220, 53, 34, 0.45); }
.cupon-channel-btn--delivery:hover { background: rgba(220, 53, 34, 0.42); }
.cupon-channel-btn--local { background: rgba(59, 130, 246, 0.28); border-color: rgba(59, 130, 246, 0.45); }
.cupon-channel-btn--local:hover { background: rgba(59, 130, 246, 0.42); }
.cupon-channel-btn-icon { font-size: 2rem; display: block; }

/* ===== MODAL CÓDIGO LOCAL ===== */
.cupon-code-card { max-width: 300px; text-align: center; }
.cupon-code-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 20px auto;
}
.cupon-code-char {
    width: 36px;
    height: 46px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0;
}
.cupon-code-sep {
    color: rgba(255, 255, 255, 0.38);
    font-size: 1.4rem;
    font-weight: 300;
    margin: 0 2px;
    -webkit-user-select: none;
    user-select: none;
}
.cupon-code-timer {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 18px;
}
.cupon-code-timer.urgent { color: #ff6b6b; animation: cuponTimerPulse 1s ease-in-out infinite; }
.cupon-code-cancel {
    background: rgba(255, 255, 255, 0.07);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.62);
    border-radius: 10px;
    padding: 10px 24px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.18s;
    -webkit-tap-highlight-color: transparent;
}
.cupon-code-cancel:active { background: rgba(220, 53, 34, 0.3); }
@keyframes cuponTimerPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}
.cupon-redimido-card { text-align: center; padding: 36px 24px 28px; }
.cupon-redimido-icon { font-size: 64px; line-height: 1; margin-bottom: 12px; animation: cuponRedimidoPop 0.4s cubic-bezier(0.34,1.56,0.64,1) both; }
.cupon-redimido-title { color: #4ade80 !important; margin-bottom: 8px; }
.cupon-redimido-sub { font-size: 0.97rem; color: rgba(255,255,255,0.72); margin: 0 0 22px; }
.cupon-redimido-close { background: rgba(74,222,128,0.18) !important; border-color: rgba(74,222,128,0.35) !important; color: #4ade80 !important; }
.cupon-redimido-close:active { background: rgba(74,222,128,0.35) !important; }
@keyframes cuponRedimidoPop {
    0%   { transform: scale(0.4); opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}

/* ===== PANTALLA DE INICIO (SPLASH) ===== */
#splashScreen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #f65102;
    /* sutil viñeta para dar profundidad */
    background-image: radial-gradient(ellipse at 50% 40%, #ff7a33 0%, #f65102 55%, #c93d00 100%);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

#splashScreen.is-hiding {
    opacity: 0;
    transform: scale(1.07);
    pointer-events: none;
}

/* Logo / isotipo */
.splash-logo {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    object-fit: contain;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
    animation: splashLogoIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both,
               splashLogoPulse 2.4s ease-in-out 0.9s infinite;
    transform-origin: center;
}

/* Nombre de marca */
.splash-brand {
    margin-top: 22px;
    font-family: 'Oswald', 'Impact', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    animation: splashTextIn 0.5s ease 0.35s both;
}

/* Tagline */
.splash-tagline {
    margin-top: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    animation: splashTextIn 0.5s ease 0.55s both;
}

/* Saludo de sesión activa en el splash */
.splash-session-greeting {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 4px;
}

/* Botones de acción */
.splash-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    width: 100%;
    max-width: 300px;
    animation: splashTextIn 0.5s ease 0.8s both;
}

.splash-btn {
    width: 100%;
    padding: 15px 24px;
    border-radius: 50px;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.splash-btn:active { transform: scale(0.97); }

.splash-btn--primary {
    background: #ffffff;
    color: #f65102;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.splash-btn--primary:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.splash-btn--guest {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    font-size: 0.88rem;
}
.splash-btn--guest:hover {
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #ffffff;
}

/* Animaciones */
@keyframes splashLogoIn {
    0%   { opacity: 0; transform: scale(0.25) rotate(-8deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes splashLogoPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.04); }
}

@keyframes splashTextIn {
    0%   { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* ===== FIN PANTALLA DE INICIO ===== */

/* ===== BARRA DE NAVEGACIÓN INFERIOR (USUARIOS AUTENTICADOS) ===== */

.bottom-auth-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* La barra crece para incluir el safe-area (home indicator Android/iPhone) */
    height: calc(68px + env(safe-area-inset-bottom, 0px));
    /* El padding empuja los iconos hacia arriba, fuera del safe-area */
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1.5px solid rgba(255, 255, 255, 0.28);
    display: flex;
    align-items: stretch;
    /* Por encima de la pildora del carrito (z-index 9500): sus tooltips emergen hacia
       arriba y quedaban tapados por la pildora cuando esta visible. */
    z-index: 9600;
    box-shadow: 0 -4px 20px rgba(31, 38, 135, 0.08);
}

.ban-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(90, 50, 15, 0.60);
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 6px 0 4px;
    -webkit-tap-highlight-color: transparent;
}

.ban-item:hover,
.ban-item.is-active {
    color: rgba(200, 75, 0, 1);
    background: rgba(240, 90, 20, 0.10);
}

.ban-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    pointer-events: none;
}

.ban-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
    color: inherit;
}

/* Tooltip flotante */
.ban-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    background: rgba(26, 8, 1, 0.97);
    border: 1px solid rgba(190, 80, 24, 0.32);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 154px;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

/* Flecha del tooltip */
.ban-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: rgba(190, 80, 24, 0.32);
}
.ban-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -1px;
    border: 6px solid transparent;
    border-top-color: rgba(26, 8, 1, 0.97);
}

/* Mostrar en hover — desktop */
@media (hover: hover) {
    .ban-item:hover .ban-tooltip {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
    .ban-item:first-child:hover .ban-tooltip {
        transform: translateX(0) translateY(0);
    }
    .ban-item:last-child:hover .ban-tooltip {
        transform: translateX(-100%) translateY(0) translateX(26px);
    }
}

/* Mostrar en tap — móvil (.is-active vía JS) */
.ban-item.is-active .ban-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.ban-item:first-child.is-active .ban-tooltip {
    transform: translateX(0) translateY(0);
}
.ban-item:last-child.is-active .ban-tooltip {
    transform: translateX(-100%) translateY(0) translateX(26px);
}

/* Indicador de pantalla activa en el nav — barra naranja en la parte superior */
.ban-item.is-current {
    color: rgba(200, 75, 0, 1);
}
.ban-item.is-current::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #ff8c00, #ff6200);
    box-shadow: 0 0 8px rgba(255, 140, 0, 0.6);
}

/* ── Botón Cupones: marco naranja en default, naranja sólido al estar activo ── */
#bnavPromo {
    position: relative;
}

#bnavPromo .ban-icon {
    width: 22px;
    height: 22px;
}

/* Activo: relleno naranja completo, sin borde separado */
#bnavPromo.is-current {
    color: #fff;
    background: linear-gradient(145deg, #ff9d1a, #e85500);
    border-color: transparent;
    border-radius: 14px;
    box-shadow:
        0 4px 18px rgba(232, 85, 0, 0.55),
        0 -1px 8px rgba(255, 140, 0, 0.30),
        inset 0 1px 0 rgba(255, 220, 140, 0.30);
    transform: translateY(-2px);
}

#bnavPromo.is-current .ban-icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

#bnavPromo.is-current .ban-label {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

#bnavPromo.is-current::before {
    display: none;
}

/* Nombre del tooltip */
.ban-tooltip-name {
    display: block;
    color: rgba(255, 210, 170, 1);
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

/* Descripción del tooltip */
.ban-tooltip-desc {
    display: block;
    color: rgba(200, 150, 110, 0.85);
    font-family: 'Roboto', sans-serif;
    font-size: 0.74rem;
    font-weight: 400;
    line-height: 1.3;
}

/* Ajustes globales — barra inferior siempre activa */
.cart-fab {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
}

/* Topbar: ocultar botón de perfil y dejar solo el espacio mínimo */
#customerSessionButton { display: none !important; }
#mainTopbar { display: none !important; }

/* Ayuda en barra inferior — igual al resto del nav */
.ban-item--ayuda {
    text-decoration: none;
    color: rgba(90, 50, 15, 0.60);
}
.ban-item--ayuda:hover,
.ban-item--ayuda.is-active {
    color: rgba(200, 75, 0, 1);
    background: rgba(240, 90, 20, 0.10);
}

.featured-section {
    margin-bottom: 130px;
}

/* ===== FIN BARRA DE NAVEGACIÓN INFERIOR ===== */

/* ===== SEGUNDA PANTALLA — HOME SCREEN ===== */

/* Garantía: hidden siempre oculta las pantallas aunque otra regla CSS fije display */
#homeScreen[hidden],
#categoryDetailScreen[hidden],
#navCategoriesScreen[hidden],
#promoScreen[hidden],
#searchScreen[hidden],
#combosScreen[hidden],
#menuCarouselScreen[hidden],
#promoCarouselScreen[hidden] {
    display: none !important;
}

/* ── Scroll vertical: overflow-x explícito en "clip" (no "hidden") en todos los
      contenedores fixed scrolleables. "hidden" + position:fixed + overflow-y:auto
      es el combo que rompe el scroll vertical táctil en Android Chrome; "clip" no
      crea un contenedor de scroll y evita ese bug, sin habilitar overflow-x
      accidental (auto-pairing CSS al dejar overflow-x sin declarar).
      touch-action se deja en "auto" (valor por defecto): forzar pan-y aquí
      bloqueaba por completo el gesto horizontal de los carruseles hijos
      (intersección pan-x ∩ pan-y = ninguno), y el navegador ya resuelve
      correctamente a qué eje pertenece cada gesto de forma nativa. ── */
#homeScreen,
#navCategoriesScreen,
#categoryDetailScreen,
#promoScreen,
#searchScreen,
#combosScreen,
#perfilScreen,
#ayudaScreen,
#promoCarouselScreen,
#menuCarouselScreen {
    overflow-x: clip;
    overscroll-behavior-y: contain;
}


#promoCarouselScreen {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 200;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}

/* Tarjetas de promo en carrusel */
.promo-carousel-card {
    position: relative;
}

.promo-cc-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: #ff5a00;
}

.promo-cc-badge--hot { background: linear-gradient(135deg, #ff7a00, #ff4f00); }
.promo-cc-badge--2x1 { background: linear-gradient(135deg, #7c3aed, #4f1d96); }

.promo-cc-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 0;
    flex-wrap: wrap;
}

.promo-cc-orig {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    color: rgba(90, 50, 15, 0.5);
    text-decoration: line-through;
}

.promo-cc-disc {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ff6600;
}

.promo-cc-desc {
    width: 100%;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    color: rgba(90, 50, 15, 0.65);
    margin: 2px 0 0;
}

/* ── Combo Especial card en promoCarouselScreen ── */
.ce-carousel-card {
    flex: 0 0 320px;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-snap-align: start;
}

.ce-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ce-carousel-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #3a1e00;
    flex: 1;
    line-height: 1.2;
}

.ce-carousel-badge {
    background: linear-gradient(135deg, #ff7a00, #ff4f00);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ce-carousel-thumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.ce-carousel-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.ce-carousel-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: #f3e9d8;
}

.ce-carousel-thumb-name {
    font-size: 0.62rem;
    font-weight: 600;
    text-align: center;
    color: #3a1e00;
    line-height: 1.25;
    word-break: break-word;
}

.ce-carousel-desc {
    font-size: 0.73rem;
    color: rgba(90, 50, 15, 0.65);
    text-align: center;
    line-height: 1.3;
}

.ce-carousel-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ce-carousel-orig {
    font-size: 0.85rem;
    color: rgba(90, 50, 15, 0.45);
    text-decoration: line-through;
}

.ce-carousel-disc {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff6600;
}

#menuCarouselScreen {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 200;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}

.menu-carousel-card-price {
    margin: 4px 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6600;
    text-align: center;
}

/* Tarjeta "Recomendado del día" en el carrusel de Cupones — replica el badge y precio
   con descuento que ya se ven en la tarjeta del Inicio. */
.rec-carousel-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff7a00, #e84800);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(232, 72, 0, 0.35);
    white-space: nowrap;
    z-index: 2;
}

.rec-carousel-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 0;
}

.rec-carousel-orig {
    font-size: 0.85rem;
    color: rgba(90, 50, 15, 0.45);
    text-decoration: line-through;
}

.rec-carousel-disc {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6600;
}

.x2-carousel-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #1a7a42, #0f5c2e);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(15, 92, 46, 0.40);
    white-space: nowrap;
    z-index: 2;
}

.x2-carousel-title {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0f5c2e;
    text-align: center;
    line-height: 1.1;
    margin-top: 2px;
}

.x2-carousel-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 0;
}

.x2-carousel-orig {
    font-size: 0.85rem;
    color: rgba(90, 50, 15, 0.45);
    text-decoration: line-through;
}

.x2-carousel-disc {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f5c2e;
}

/* ── Pantalla Combos ──────────────────────────────────────────────── */
#combosScreen {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 200;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}

.combos-screen-body {
    padding: 20px 0 100px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.combos-carousel-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Override del carrusel genérico para que funcione dentro del scroll vertical */
.combos-carousel-section .mobile-carousel {
    justify-content: flex-start;
    padding-left: 18px;
    padding-right: 18px;
    contain: none;
    overscroll-behavior-x: contain;
}

.combos-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #3a1e00;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0 18px;
    margin: 0;
}

.combo-card-name {
    margin: 10px 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #3a1e00;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.combos-empty-msg {
    padding: 20px 18px;
    color: rgba(90, 50, 15, 0.55);
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
}

#homeScreen {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: transparent;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}

.home-inner {
    padding: 20px 16px 140px;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .home-inner {
        max-width: 780px;
        padding: 28px 24px 140px;
    }
}

/* ===== TARJETAS DE INFO EN HOMESCREEN (redes, dirección, horario) ===== */
.home-info-section {
    margin-top: 28px;
}

.home-info-section .section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #5a2e0a;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
}

.home-info-section .liquid-glass {
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.home-info-section .info-card {
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.home-info-section .info-item {
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.home-info-section .info-text strong {
    color: #2c1a08;
}

.home-info-section .info-text p {
    color: rgba(60, 30, 8, 0.78);
}

.home-info-section .business-hours-status {
    color: rgba(60, 30, 8, 0.70);
}

.home-info-section .social-mini-icon {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(160, 100, 40, 0.20);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 2px 8px rgba(80, 40, 0, 0.08);
}

.home-info-section .maps-btn {
    background: rgba(180, 75, 18, 0.10);
    border: 1px solid rgba(180, 75, 18, 0.30);
    color: #5a2e0a;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-info-section .maps-btn:hover {
    background: rgba(180, 75, 18, 0.20);
    color: #3b1505;
}

.home-info-section .footer {
    border-top: 1px solid rgba(160, 100, 40, 0.22);
    margin-top: 8px;
}

.home-info-section .footer p {
    color: rgba(60, 30, 8, 0.55);
}

.home-info-section .footer a {
    color: rgba(180, 75, 18, 0.80);
}
/* ===== FIN TARJETAS DE INFO ===== */

/* Recomendado del día — banner horizontal */
/* ===== BANNER RECOMENDADO DEL DÍA ===== */

.home-rec-banner {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
}

/* Reflejo superior del cristal blanco */
.home-rec-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, transparent 100%);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
    z-index: 0;
}

/* Franja superior — kicker */
.home-rec-top-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px 8px;
    background: rgba(255, 122, 26, 0.10);
    border-bottom: 1px solid rgba(200, 120, 40, 0.12);
    position: relative;
    z-index: 1;
}

.home-rec-kicker {
    font-family: 'Roboto', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    color: rgba(180, 75, 18, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    flex: 1;
}

.home-rec-discount-badge {
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff7a00, #e84800);
    border-radius: 999px;
    padding: 3px 10px;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(232,72,0,0.35);
    white-space: nowrap;
    position: static;
}

/* Cuerpo — imagen + info (layout vertical centrado) */
.home-rec-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 18px 18px;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.home-rec-img-wrap {
    position: relative;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(180, 90, 20, 0.06);
}

.home-rec-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.home-rec-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.home-rec-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.30rem;
    font-weight: 700;
    color: #1e0e02;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-rec-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 2px 0;
}

.home-rec-price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.home-rec-price-tag {
    font-family: 'Roboto', sans-serif;
    font-size: 0.54rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(120, 80, 40, 0.50);
}

.home-rec-price-block--hot .home-rec-price-tag {
    color: rgba(180, 75, 18, 0.80);
}

.home-rec-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.70rem;
    font-weight: 800;
    color: #c44f00;
    line-height: 1;
}

.home-rec-price-orig {
    font-family: 'Roboto', sans-serif;
    font-size: 0.90rem;
    font-weight: 500;
    color: rgba(120, 80, 40, 0.45);
    text-decoration: line-through;
    line-height: 1;
}

.home-rec-btn {
    margin-top: 4px;
    align-self: stretch;
    padding: 13px 22px;
    background: linear-gradient(135deg, #ff5200, #ff2800);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 5px 26px rgba(255, 65, 0, 0.80), 0 2px 6px rgba(200, 20, 0, 0.55);
    -webkit-tap-highlight-color: transparent;
}

.home-rec-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 28px rgba(255, 70, 0, 0.70), 0 2px 6px rgba(255, 50, 0, 0.40);
}

.home-rec-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(255, 70, 0, 0.50);
}
/* ===== BANNER RECOMENDADO — DESKTOP ===== */
@media (min-width: 769px) {
    .home-rec-banner {
        border-radius: 24px;
        margin-bottom: 36px;
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-rec-top-bar {
        padding: 12px 24px 11px;
    }

    .home-rec-kicker {
        font-size: 0.70rem;
        letter-spacing: 0.16em;
    }

    .home-rec-discount-badge {
        font-size: 0.80rem;
        padding: 4px 14px;
    }

    .home-rec-img-wrap {
        max-width: 260px;
    }

    .home-rec-name {
        font-size: 1.70rem;
        letter-spacing: 0.03em;
    }

    .home-rec-price-row {
        gap: 22px;
    }

    .home-rec-price {
        font-size: 2.10rem;
        font-weight: 900;
    }

    .home-rec-price-orig {
        font-size: 1.10rem;
    }

    .home-rec-btn {
        font-size: 1.05rem;
        padding: 14px 32px;
    }
}
/* ===== FIN BANNER RECOMENDADO ===== */

/* ===== PROMOCIONES 2x1 ===== */
#promos2x1Cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 0;
}

.promo-2x1-badge {
    background: linear-gradient(135deg, #1a7a42, #0f5c2e);
    box-shadow: 0 2px 8px rgba(15, 92, 46, 0.40);
    font-size: 0.88rem;
    letter-spacing: 0.06em;
}

.promo-2x1-desc {
    margin: 0 0 10px;
    font-size: 0.82rem;
    color: rgba(36, 13, 2, 0.72);
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    line-height: 1.4;
}

.promo-2x1-big-title {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f5c2e;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    line-height: 1.05;
}
@media (min-width: 769px) {
    .promo-2x1-big-title { font-size: 2rem; }
}
/* ===== FIN PROMOCIONES 2x1 ===== */

/* ===== COMBOS ESPECIALES (MENÚ PÚBLICO) ===== */
#combosEspecialesCards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 0;
}

.combo-especial-banner {
    position: relative;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    padding: 18px 16px 20px;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    overflow: hidden;
    text-align: center;
}

/* Reflejo líquido superior */
.combo-especial-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    border-radius: 22px 22px 60% 60% / 22px 22px 40% 40%;
    background: linear-gradient(175deg,
        rgba(255, 255, 255, 0.32) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 100%);
    pointer-events: none;
}

/* Destello de esquina */
.combo-especial-banner::after {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.30) 0%, transparent 70%);
    pointer-events: none;
}

.combo-especial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.combo-especial-badge {
    font-size: 1.1rem;
    font-weight: 800;
    color: #240d02;
    letter-spacing: 0.01em;
    text-shadow: none;
}

.combo-especial-pct {
    background: linear-gradient(135deg, #e63946, #c0392b);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
}

.combo-especial-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
}

.combo-public-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.35);
    cursor: zoom-in;
    touch-action: manipulation;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    padding: 8px 10px;
    transition: background 0.18s, transform 0.15s;
    min-width: 60px;
    max-width: 80px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 8px rgba(0,0,0,0.10);
}

.combo-public-icon-btn:active {
    transform: scale(0.95);
    background: rgba(255, 200, 110, 0.25);
}

.combo-public-icon-btn img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}

.combo-public-icon-btn span {
    font-size: 0.62rem;
    color: #240d02;
    text-align: center;
    line-height: 1.2;
    max-width: 70px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 700;
    text-shadow: none;
}

.combo-especial-names {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.75rem;
    color: rgba(36, 13, 2, 0.72);
    margin-bottom: 12px;
    font-weight: 500;
    text-shadow: none;
}

.combo-plus {
    color: #7a3800;
    font-weight: 800;
    margin: 0 2px;
}

.combo-especial-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.combo-especial-orig {
    font-size: 0.82rem;
    color: rgba(36, 13, 2, 0.38);
    text-decoration: line-through;
}

.combo-especial-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #240d02;
    text-shadow: none;
}

.combo-order-btn {
    margin-top: 14px;
    width: 100%;
    padding: 13px 22px;
    background: linear-gradient(135deg, #ff5200, #ff2200);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 5px 24px rgba(255, 55, 0, 0.70), 0 2px 6px rgba(200, 15, 0, 0.45);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
}

.combo-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 50, 0, 0.80), 0 3px 8px rgba(200, 10, 0, 0.55);
}

.combo-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 14px rgba(255, 50, 0, 0.60);
}
/* ===== FIN COMBOS ESPECIALES ===== */

/* ===== CARRUSEL DE PROMOS ===== */
.promo-carousel {
    width: 100%;
}

.promo-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.promo-carousel-track::-webkit-scrollbar {
    display: none;
}

.promo-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 0;
}

.promo-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 0 2px;
}

.promo-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.promo-carousel-dot.active {
    background: #ff7200;
    border-color: #ff7200;
    transform: scale(1.3);
}
/* ===== FIN CARRUSEL DE PROMOS ===== */

/* ===== PANTALLA CONFIRMACIÓN DE PEDIDO ===== */
#orderConfirmScreen {
    position: fixed;
    inset: 0;
    z-index: 9200;
    background: rgba(10, 4, 1, 0.97);
    overflow-y: auto;
    overflow-x: clip;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
}

.oc-inner {
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 16px 160px;
}

/* Header */
.oc-header {
    text-align: center;
    padding-bottom: 24px;
}

.oc-logo-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255, 130, 0, 0.12);
    border: 2px solid rgba(255, 130, 0, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.oc-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.05;
    margin: 0 0 8px;
}

.oc-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 200, 140, 0.65);
    margin: 0 0 18px;
}

.oc-code-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: rgba(180, 75, 18, 0.16);
    border: 1px solid rgba(255, 130, 0, 0.32);
    border-radius: 12px;
    padding: 10px 24px;
}

.oc-code-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 160, 60, 0.65);
}

.oc-code-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 160, 60, 1);
    letter-spacing: 0.04em;
}

/* Cards */
.oc-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 10px;
}

.oc-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 160, 60, 0.70);
    margin: 0 0 12px;
}

/* Items */
.oc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.oc-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.oc-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.oc-item-emoji {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.oc-item-info {
    flex: 1;
    min-width: 0;
}

.oc-item-name {
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 235, 210, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oc-item-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 200, 140, 0.50);
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oc-item-price {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 210, 150, 0.90);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Totales */
.oc-totals-card { padding: 14px 16px; }

.oc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 235, 210, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.oc-total-row:last-child { border-bottom: none; padding-bottom: 0; }

.oc-total-row strong {
    font-weight: 600;
    color: rgba(255, 235, 210, 0.85);
}

.oc-total-final {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    padding-top: 10px;
    margin-top: 2px;
}

.oc-total-final strong {
    font-size: 1.2rem;
    color: rgba(255, 160, 60, 1);
}

/* Info card */
.oc-info-card { display: flex; flex-direction: column; gap: 12px; }

.oc-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.oc-info-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.oc-info-label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 160, 60, 0.60);
    margin-bottom: 2px;
}

.oc-info-value {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 235, 210, 0.88);
}

/* Botones fijos */
.oc-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px 28px;
    background: linear-gradient(to top, rgba(10, 4, 1, 1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9201;
}

.oc-wa-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(255, 90, 0, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

.oc-wa-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 90, 0, 0.50);
}

.oc-menu-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    color: rgba(255, 235, 210, 0.60);
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.oc-menu-btn:hover {
    border-color: rgba(255, 160, 60, 0.35);
    color: rgba(255, 200, 140, 0.85);
}
/* ===== FIN CONFIRMACIÓN DE PEDIDO ===== */

/* ===== TOAST ESTADO DE PEDIDO ===== */
.ost-toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-120px);
    z-index: 9500;
    width: calc(100% - 32px);
    max-width: 460px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    background: linear-gradient(135deg, rgba(30, 14, 4, 0.98), rgba(60, 28, 8, 0.98));
    border: 1px solid rgba(255, 130, 0, 0.35);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.50), 0 0 0 1px rgba(255, 130, 0, 0.10);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease;
    pointer-events: none;
}

.ost-toast--in {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ost-toast--out {
    transform: translateX(-50%) translateY(-120px);
    opacity: 0;
    pointer-events: none;
}

.ost-toast--cancel {
    border-color: rgba(220, 50, 50, 0.45);
    background: linear-gradient(135deg, rgba(30, 4, 4, 0.98), rgba(60, 10, 10, 0.98));
}

.ost-toast--done {
    border-color: rgba(50, 200, 80, 0.40);
    background: linear-gradient(135deg, rgba(4, 25, 10, 0.98), rgba(8, 50, 20, 0.98));
}

.ost-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
}

.ost-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ost-code {
    font-family: 'Oswald', sans-serif;
    font-size: 0.60rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 160, 60, 0.70);
}

.ost-msg {
    font-family: 'Roboto', sans-serif;
    font-size: 0.90rem;
    font-weight: 500;
    color: rgba(255, 235, 210, 0.95);
    line-height: 1.3;
}

.ost-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 235, 210, 0.35);
    font-size: 0.80rem;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color 0.15s;
    align-self: flex-start;
}

.ost-close:hover { color: rgba(255, 235, 210, 0.70); }
/* ===== FIN TOAST ESTADO ===== */

/* Títulos de sección */
.home-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3b1e07;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-section-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1;
}

@media (max-width: 480px) {
    .home-section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .home-section-icon {
        font-size: 1.4rem;
    }
}

/* Sección Combos Futboleros */
.home-combos-section {
    margin-bottom: 30px;
}

/* Carrusel del home con scroll continuo */
#home-combos-carousel {
    overflow-x: hidden;
    scroll-snap-type: none;
    scroll-behavior: auto;
    justify-content: flex-start;
    gap: 14px;
    padding-left: 4px;
    cursor: grab;
    touch-action: pan-y;
}

/* Contenedor de secciones de categorías */
.home-categories-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.home-loading-msg {
    text-align: center;
    color: rgba(80, 45, 12, 0.5);
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    padding: 20px 0;
}

/* Header de cada sección-categoría: título + "Ver todo" */
.home-cat-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}

.home-cat-section-header .combos-section-title {
    padding: 0;
}

.home-cat-all-btn {
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ff6600;
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 0;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.card-product-name {
    margin: 8px 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #3a1e00;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0 6px;
    line-height: 1.25;
}

.card-product-price {
    margin: 3px 0 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ff6600;
    text-align: center;
}

/* Tarjeta de categoría — solo texto */
.home-cat-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 58px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(160, 100, 40, 0.22);
    border-left: 3px solid rgba(180, 90, 20, 0.45);
    box-shadow: 0 2px 10px rgba(80, 40, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.home-cat-card:hover {
    transform: scale(0.97);
    box-shadow: 0 5px 18px rgba(80, 40, 0, 0.14);
    background: rgba(255, 255, 255, 0.90);
}

.home-cat-card:active {
    transform: scale(0.94);
}

.home-cat-img {
    display: none;
}

.home-cat-label {
    position: relative;
    padding: 0;
    background: none;
    font-family: 'Oswald', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2c1a08;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.2;
}

/* ===== FIN HOME SCREEN ===== */

/* ===== PANTALLA DETALLE DE CATEGORÍA ===== */

#categoryDetailScreen {
    position: fixed;
    inset: 0;
    z-index: 503;
    background: transparent;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-top: 0;
}

#categoryDetailScreen:not([hidden]) {
    animation: screenFadeIn 0.18s ease;
}

@keyframes screenFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Header fijo del detalle */
.cds-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 2px 12px rgba(31, 38, 135, 0.07);
}

.cds-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(120, 70, 20, 0.10);
    color: #5c2d0a;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.cds-back-btn:hover {
    background: rgba(120, 70, 20, 0.18);
}

.cds-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c1a08;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Grid de productos en el detalle */
.cds-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 16px 140px;
    max-width: 600px;
    margin: 0 auto;
}

.cds-products-grid {
    padding-bottom: 130px;
}

.cds-empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(80, 45, 12, 0.5);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    padding: 32px 0;
}

/* Tarjeta de producto en el detalle */
.cds-product-card {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(160, 100, 40, 0.18);
    box-shadow: 0 2px 10px rgba(80, 40, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.cds-product-img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(180, 120, 60, 0.07);
}

.cds-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.22s ease;
}

.cds-product-img:hover {
    transform: scale(1.06);
}

.cds-product-info {
    padding: 10px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.cds-product-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: #2c1a08;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.25;
}

.cds-product-price {
    font-family: 'Roboto', sans-serif;
    font-size: 0.78rem;
    color: rgba(100, 55, 12, 0.75);
}

.cds-product-btn {
    margin-top: auto;
    width: 100%;
    padding: 8px 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff5200, #e83000);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.14s, box-shadow 0.14s;
    box-shadow: 0 3px 14px rgba(240, 60, 0, 0.55);
    -webkit-tap-highlight-color: transparent;
}

.cds-product-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(230, 50, 0, 0.68);
}

/* ===== FIN PANTALLA DETALLE ===== */

/* ===== PANTALLA CATEGORÍAS (Menú / Combos desde nav) ===== */

#navCategoriesScreen {
    position: fixed;
    inset: 0;
    z-index: 502;
    background: transparent;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-top: 0;
}

#navCategoriesScreen:not([hidden]) {
    animation: screenFadeIn 0.18s ease;
}

.ncs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px 16px 130px;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FIN PANTALLA CATEGORÍAS ===== */

/* ===== PANTALLA PERFIL ===== */
#perfilScreen {
    position: fixed;
    inset: 0;
    z-index: 505;
    background: transparent;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-top: 0;
}
#perfilScreen[hidden] { display: none !important; }
#perfilScreen:not([hidden]) { animation: screenFadeIn 0.18s ease; }

.perfil-screen-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 16px 130px;
    max-width: 600px;
    margin: 0 auto;
}

.perfil-screen-content .support-modal-card {
    width: 100%;
    max-height: none;
    overflow-y: visible;
    border-radius: 18px;
}
/* ── Perfil rediseño: lista estilo app ── */
.cp-wrap { display: flex; flex-direction: column; gap: 14px; }

.cp-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 18px;
    border-radius: 22px;
}
.cp-avatar {
    width: 68px; height: 68px; flex-shrink: 0;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #ff7a00, #ff4f00);
    color: #fff;
    box-shadow: 0 8px 22px rgba(255,90,0,0.28);
}
.cp-hero-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cp-hero-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.35rem; font-weight: 700;
    color: #1f140d; letter-spacing: 0.3px;
}
.cp-hero-phone { font-size: 0.82rem; color: rgba(90,58,27,0.6); }

.cp-menu-card { border-radius: 22px; overflow: hidden; }

.cp-menu-item {
    width: 100%;
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: none; border: none; cursor: pointer;
    text-align: left;
    position: relative;
    transition: background 0.14s;
}
.cp-menu-item:not(:last-child)::after {
    content: '';
    position: absolute; bottom: 0; left: 70px; right: 0;
    height: 1px;
    background: rgba(90,58,27,0.09);
}
.cp-menu-item:active { background: rgba(255,149,64,0.1); }

.cp-menu-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(90,58,27,0.09);
    color: #5a3a1b;
}
.cp-menu-icon svg { width: 20px; height: 20px; }

.cp-menu-label {
    flex: 1;
    font-size: 0.95rem; font-weight: 600;
    color: #1f140d;
}
.cp-menu-chevron { color: rgba(90,58,27,0.28); flex-shrink: 0; }

.cp-menu-item--danger .cp-menu-icon { background: rgba(220,38,38,0.09); color: #dc2626; }
.cp-menu-item--danger .cp-menu-label { color: #dc2626; }

.cp-panel-back {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 0 14px;
    background: none; border: none; cursor: pointer;
    color: #ff7a00;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem; font-weight: 700; letter-spacing: 0.3px;
}
.cp-delete-link {
    display: block; width: 100%; text-align: center;
    padding: 8px; background: none; border: none; cursor: pointer;
    color: rgba(220,38,38,0.5);
    font-size: 0.78rem;
    text-decoration: underline; text-underline-offset: 3px;
}
/* ===== FIN PANTALLA PERFIL ===== */

/* ===== PANTALLA AYUDA ===== */
#ayudaScreen {
    position: fixed;
    inset: 0;
    z-index: 506;
    background: transparent;
    overflow-y: auto;
    padding-top: 0;
}
#ayudaScreen[hidden] { display: none !important; }
#ayudaScreen:not([hidden]) { animation: screenFadeIn 0.18s ease; }

.ayuda-screen-content {
    padding: 16px 16px 130px;
    max-width: 600px;
    margin: 0 auto;
}

.ayuda-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: 18px;
    padding: 22px;
}

.ayuda-card-desc {
    margin: 0;
    color: #5a3a1b;
    font-size: 0.92rem;
}

.ayuda-field-label {
    font-size: 0.9rem;
    color: #5a3a1b;
}

.ayuda-feedback {
    margin: 0;
    color: #1a7a42;
    font-size: 0.93rem;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}
.ayuda-feedback[hidden] { display: none; }

.ayuda-send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ayuda-send-icon {
    flex-shrink: 0;
}
/* ===== FIN PANTALLA AYUDA ===== */

/* ===== PANTALLA BUSCADOR ===== */

#searchScreen {
    position: fixed;
    inset: 0;
    z-index: 504;
    background: transparent;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-top: 0;
}

#searchScreen:not([hidden]) {
    animation: screenFadeIn 0.18s ease;
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(160, 100, 40, 0.30);
    border-radius: 999px;
    padding: 7px 14px;
    transition: border-color 0.2s;
}

.search-input-wrap:focus-within {
    border-color: rgba(180, 75, 18, 0.55);
    background: rgba(255, 255, 255, 0.88);
}

.search-input-icon {
    color: rgba(80, 45, 12, 0.50);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    color: #2c1a08;
    outline: none;
    min-width: 0;
}

.search-input::placeholder {
    color: rgba(80, 45, 12, 0.42);
}

.search-hint-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(80, 45, 12, 0.48);
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    padding: 44px 16px;
    line-height: 1.55;
}

.search-cat-badge {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.60rem;
    font-weight: 700;
    color: rgba(180, 75, 18, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    background: rgba(180, 75, 18, 0.10);
    border-radius: 4px;
    padding: 2px 5px;
    margin-bottom: 3px;
}

/* Barra de filtros — categoría + precio */
.search-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px 4px;
}
.search-filter-cats {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.search-filter-cats::-webkit-scrollbar { display: none; }
.search-cat-chip {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid rgba(180, 100, 30, 0.25);
    background: rgba(255, 255, 255, 0.14);
    color: rgba(80, 45, 12, 0.7);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex-shrink: 0;
}
.search-cat-chip.active {
    background: rgba(180, 100, 30, 0.18);
    border-color: rgba(180, 100, 30, 0.55);
    color: rgba(120, 55, 5, 0.95);
}
.search-filter-prices {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.search-filter-prices::-webkit-scrollbar { display: none; }
.search-price-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 16px;
    border: 1.5px solid rgba(180, 100, 30, 0.2);
    background: rgba(255, 255, 255, 0.10);
    color: rgba(80, 45, 12, 0.6);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    flex-shrink: 0;
}
.search-price-btn.active {
    background: rgba(180, 100, 30, 0.15);
    border-color: rgba(180, 100, 30, 0.5);
    color: rgba(120, 55, 5, 0.9);
}

/* ===== FIN PANTALLA BUSCADOR ===== */

/* ============================================================
   OPTIMIZACIÓN RESPONSIVA MÓVIL — todas las plataformas
   Corrige: botones de checkout fuera de pantalla, scroll
   bloqueado, safe-area iPhone, zoom de inputs en iOS.
   ============================================================ */

/* — Modales como bottom-sheet en teléfonos ≤ 480px — */
@media (max-width: 480px) {
    .support-modal {
        padding: 0 0 0;
        align-items: flex-end;
    }

    .support-modal-card {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        max-height: min(96vh, 760px);
        max-height: min(96dvh, 760px);
        /* El padding inferior respeta el home indicator de iPhone */
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    }

    .support-modal-close {
        top: 14px;
        right: 14px;
    }

    .support-modal-title {
        font-size: 1.6rem;
    }

    /* Reducir tamaño del mapa de domicilio en pantallas pequeñas */
    #deliveryMap,
    #customerSavedAddressMap {
        min-height: 150px;
    }

    /* El área del mapa en el checkout era 260px — reducir para que el
       botón "Finalizar pedido" sea accesible sin scroll excesivo */
    .checkout-map-area {
        min-height: 180px !important;
    }
}

/* — Pantallas muy pequeñas (360 px) — */
@media (max-width: 360px) {
    .support-modal-card {
        padding: 16px 12px calc(16px + env(safe-area-inset-bottom, 0px));
    }

    .support-modal-title {
        font-size: 1.4rem;
    }

    .cart-drawer {
        padding-left: 12px;
        padding-right: 12px;
    }

    .cart-drawer-title {
        font-size: 1.5rem;
    }

    .cart-checkout-btn,
    .cart-continue-btn,
    .cart-clear-btn {
        min-height: 52px;
    }
}

/* — Fuente mínima 16 px en inputs para prevenir auto-zoom en iOS — */
@media (max-width: 768px) {
    .support-field input,
    .support-field textarea,
    .support-field select {
        font-size: 16px;
    }

    .search-input {
        font-size: 16px;
    }

    /* Áreas táctiles mínimas recomendadas (44 px) */
    .cart-qty-btn {
        width: 32px;
        height: 32px;
    }

    .cart-remove-btn {
        width: 36px;
        height: 36px;
    }

    /* Asegurar que el mapa del checkout no desborde en horizontal */
    .checkout-map-panel,
    #checkoutDeliveryMapPanel {
        overflow: hidden;
    }
}

/* — Mejoras para PWA instalada (pantalla completa sin barra del navegador) — */
@media (display-mode: standalone) {
    .cart-drawer {
        /* Sin barra de navegador: usar solo safe-area */
        height: 100dvh;
    }

    .cart-drawer-footer {
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .support-modal-card {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    /* .bottom-auth-nav ya incluye safe-area-inset en su height y padding-bottom base */
}

/* ===== FIN OPTIMIZACIÓN RESPONSIVA MÓVIL ===== */

/* =====================================================
   OPTIMIZACIONES DE PERFORMANCE MÓVIL
   ===================================================== */

@media (max-width: 768px) {
    /* 1. background-attachment:fixed no puede acelerarse por GPU en iOS/Android
          — causa repaint en cada frame de scroll (el mayor culpable de jank) */
    body::after {
        background-attachment: scroll;
        will-change: auto;
    }
    #bg-layer {
        background-attachment: scroll;
    }

    /* 2. Reducir blur de backdrop-filter: cada capa cuesta GPU.
          En desktop 14-18px se ve bien; en móvil con 6px es indistinguible
          y hasta 4× más rápido en GPU mid-range */
    .liquid-glass {
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
    }
    .glass-strong {
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    /* 3. Promover capas animadas al compositor de GPU antes de que animen
          — evita el "flash of unpromotion" y layout shifts al abrir */
    .menu-drawer,
    .drawer-overlay,
    .support-modal,
    .cart-drawer,
    .product-detail-drawer {
        will-change: transform;
    }

    /* 4. Acortar transiciones: 0.3-0.4 s se siente lento en táctil;
          0.18-0.22 s es más snappy sin perder la sensación de fluidez */
    .menu-drawer,
    .drawer-overlay {
        transition-duration: 0.22s;
    }
    .close-button,
    .drawer-toggle,
    .drawer-close,
    .drawer-overlay,
    .menu-nav-link,
    .menu-card,
    .card-image-wrapper,
    .mobile-order-btn,
    .category-hero-order-btn,
    .skip-button,
    .hero-cta-btn,
    .topbar-help-btn {
        transition-duration: 0.15s;
    }

    /* 5. touch-action:manipulation elimina el retraso de 300ms del doble-tap
          en todos los elementos interactivos */
    button,
    a,
    [role="button"],
    .menu-card,
    .product-card-mobile,
    .category-hero-order-btn,
    .mobile-order-btn,
    .neon-button,
    .drawer-toggle,
    .drawer-close,
    .close-button {
        touch-action: manipulation;
    }

    /* 6. contain:layout paint en secciones del menú: el navegador no necesita
          recalcular layout fuera de cada sección al hacer scroll */
    .menu-section {
        contain: layout paint;
    }
    .category-section,
    .featured-section {
        contain: layout;
    }

    /* 7. Deshabilitar hover effects en táctil (no hay hover real y
          pueden quedarse "pegados" después del toque) */
    .menu-image:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(255, 96, 0, 0.3);
    }
    .card-image-wrapper:hover {
        box-shadow: 0 8px 25px rgba(255, 96, 0, 0.3);
        border-color: rgba(255, 96, 0, 0.2);
    }
    .card-image-wrapper:hover .product-image-mobile {
        transform: none;
    }
    .mobile-order-btn:hover {
        transform: none;
        box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
        background: #ff6600;
    }
    .category-hero-order-btn:hover {
        transform: none;
    }
    .hero-cta-btn:hover,
    .neon-button:hover {
        transform: none;
    }

    /* 8. overscroll-behavior en contenedores de scroll:
          evita que el scroll "rebote" al padre y cause repaint del fondo */
    .mobile-carousel,
    .menu-carousel,
    .menu-drawer,
    .cart-drawer,
    .support-modal-card {
        overscroll-behavior: contain;
    }
}

/* =====================================================
   ELIMINACIÓN DEL 300ms TAP DELAY — todos los
   elementos interactivos responden instantáneamente
   ===================================================== */
button,
a,
[role="button"],
[tabindex],
.ban-item,
.category-chip,
.cp-menu-item,
.menu-card,
.cart-qty-btn,
.support-send-btn,
.support-secondary-btn,
.option-btn,
.upgrade-option-btn,
.featured-item,
.promo-item-card,
.product-card,
.cart-fab {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* =====================================================
   FEEDBACK TÁCTIL — :active states para todos los
   botones/cards interactivos. Crítico en touch:
   el usuario percibe respuesta instantánea al tap.
   ===================================================== */

/* Chips de categoría */
.category-chip:active {
    transform: scale(0.94);
    transition-duration: 0.08s;
}

/* Cards de menú en drawers/modales */
.featured-item:active,
.promo-item-card:active,
.product-card:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
    opacity: 0.9;
}

/* Items del menú de perfil */
.cp-menu-item:active {
    opacity: 0.6;
    transition-duration: 0.08s;
}

/* Botones secundarios del modal de soporte */
.support-secondary-btn:active {
    transform: scale(0.96);
    opacity: 0.75;
    transition-duration: 0.08s;
}

/* Botones de acción del carrito */
.cart-qty-btn:active {
    transform: scale(0.88);
    transition-duration: 0.08s;
}

/* Items del nav inferior */
.ban-item:active {
    background: rgba(240, 90, 20, 0.22);
    transform: scale(0.90);
    transition-duration: 0.08s;
}

/* Botones de cierre */
.drawer-close:active,
.support-modal-close:active,
.customer-chat-send-btn:active {
    transform: scale(0.88);
    opacity: 0.7;
    transition-duration: 0.08s;
}

/* FABs */
.cart-fab:active {
    transform: scale(0.93);
    transition-duration: 0.1s;
}

/* Botones de opciones de producto */
.option-btn:active,
.upgrade-option-btn:active {
    transform: scale(0.96);
    transition-duration: 0.08s;
}

/* =====================================================
   OPTIMIZACIÓN DE SCROLL — GPU hints para contenedores
   que hacen scroll frecuente en mobile
   ===================================================== */
.perfil-screen-content,
.cart-drawer-body,
.menu-drawer-body,
.customer-order-history-list,
.customer-messages-thread {
    scroll-behavior: smooth;
}


/* Forzar compositing layer en elementos animados críticos */
.cart-fab,
.bottom-auth-nav,
.menu-drawer,
.cart-drawer,
.support-modal-card {
    will-change: transform;
}

/* ── Skeleton loading ─────────────────────────────────────────────────────── */
/* opacity → Composite puro: cero Paint, cero Layout por frame */
@keyframes skel-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.38; }
}
.skel-card {
    background: rgba(200, 150, 80, 0.13);
    border-radius: 12px;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
    animation: skel-pulse 1.5s ease-in-out infinite;
    will-change: opacity;
}
/* Tarjeta de categoría (coincide con .home-cat-card: height 58px, border-radius 12px) */
.skel-cat-card {
    height: 58px;
    border: 1px solid rgba(200, 150, 80, 0.14);
}
/* Imagen del recomendado mientras espera datos */
.home-rec-img-wrap.skel-loading {
    background: rgba(200, 150, 80, 0.13);
    animation: skel-pulse 1.5s ease-in-out infinite;
    will-change: opacity;
}
.home-rec-img-wrap.skel-loading .home-rec-img {
    opacity: 0;
}

/* =====================================================
   CONTAIN — aisla reflow/repaint dentro de cada tarjeta
   ===================================================== */
.cp-menu-card,
.cp-hero,
.customer-order-card {
    contain: layout style;
}

/* Para dispositivos que prefieren movimiento reducido (accesibilidad + bajo consumo) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   REGISTRO MULTI-PASO — pasos indicadores
   ══════════════════════════════════════════════════════════════ */
.reg-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 1.1rem 0 1.4rem;
}
.reg-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.28);
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    flex-shrink: 0;
}
.reg-step-dot.is-active {
    background: #f97316;
    border-color: #f97316;
    transform: scale(1.25);
}
.reg-step-dot.is-done {
    background: rgba(249,115,22,0.55);
    border-color: #f97316;
}
.reg-step-divider {
    flex: 0 0 28px;
    height: 2px;
    background: rgba(255,255,255,0.18);
    border-radius: 1px;
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT — tarjetas de dirección guardada
   ══════════════════════════════════════════════════════════════ */
.checkout-addr-section {
    margin: 0.25rem 0 0.75rem;
}
.checkout-addr-cards {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}
.checkout-addr-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    color: inherit;
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.checkout-addr-card:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(255,255,255,0.25);
}
.checkout-addr-card.is-selected {
    background: rgba(249,115,22,0.14);
    border-color: rgba(249,115,22,0.55);
}
.checkout-addr-card-icon {
    font-size: 1.05rem;
    flex-shrink: 0;
}
.checkout-addr-card-text {
    flex: 1;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.checkout-addr-card-check {
    color: #f97316;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.checkout-addr-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.75rem;
    background: transparent;
    border: 1px dashed rgba(255,255,255,0.28);
    border-radius: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
    margin-top: 0.2rem;
}
.checkout-addr-add-btn:hover {
    border-color: rgba(249,115,22,0.5);
    color: #f97316;
}
.checkout-addr-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.4rem 0 0.8rem;
    transition: color 0.15s;
}
.checkout-addr-back-btn:hover {
    color: rgba(255,255,255,0.9);
}
.checkout-addr-new-header {
    margin-bottom: 0.5rem;
}

/* ===== PEDIDO PROGRAMADO (fuera de horario) ===== */
.checkout-schedule-panel {
    margin: 0.25rem 0 0.9rem;
    padding: 0.85rem 1rem;
    background: rgba(255,159,64,0.10);
    border: 1.5px solid rgba(255,159,64,0.35);
    border-radius: 14px;
}
.checkout-schedule-row {
    display: flex;
    gap: 0.65rem;
}
.checkout-schedule-row .support-field {
    flex: 1;
    min-width: 0;
}

/* ===== MAPA CHECKOUT ===== */
.checkout-map-panel { margin: 1rem 0 0; }
.checkout-map-actions {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    align-items: center; margin-bottom: 0.9rem;
}
.checkout-map-button {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: inherit; padding: 0.85rem 1rem;
    border-radius: 14px; cursor: pointer; font-weight: 500;
}
.checkout-zone-status {
    flex: 1 1 auto; min-width: 180px;
    font-size: 0.95rem; color: #e5e7eb;
}
.checkout-zone-status.is-outside-zone { color: #f8b4b4; }
.checkout-map-area {
    width: 100%; min-height: 260px; border-radius: 18px;
    overflow: hidden; border: 1px solid rgba(255,255,255,0.14);
    background: #f8f9fa;
}

/* ===== MODAL UPGRADES / ORDEN PÚBLICA ===== */
.opening-ad-overlay {
    position: fixed; inset: 0; z-index: 9950;
    background: rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.opening-ad-card {
    width: min(92vw, 380px);
    padding: 14px 14px 16px;
    margin-bottom: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.opening-ad-close {
    position: absolute; top: -14px; right: -14px;
    width: 34px; height: 34px; border-radius: 50%;
    background: #1a1a1a; color: #fff; border: 2px solid rgba(255,255,255,0.8);
    font-size: 1.2rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.opening-ad-img {
    width: 100%; height: auto; display: block;
    border-radius: 12px;
}
.opening-ad-cta {
    width: 100%; padding: 12px; border-radius: 12px; border: none;
    background: linear-gradient(135deg,#ff7a00,#e05500);
    color: #fff; font-size: 0.95rem; font-weight: 800;
    letter-spacing: 0.5px; cursor: pointer; font-family: 'Oswald',sans-serif;
}

.pub-upgrade-overlay {
    position: fixed; inset: 0; z-index: 9900;
    background: rgba(0,0,0,0.55);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pub-upgrade-sheet {
    width: min(95vw, 440px);
    background: rgba(253,247,237,0.98);
    border: 1px solid rgba(200,155,100,0.28);
    border-radius: 20px; padding: 0;
    max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 16px 48px rgba(80,35,5,0.28);
}
.pub-upgrade-handle { display: none; }
.pub-upgrade-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px 10px;
    border-bottom: 1px solid rgba(180,120,60,0.14);
}
.pub-upgrade-title {
    font-family: 'Oswald','Roboto',sans-serif;
    font-size: 1rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; color: #3d1f0a;
}
.pub-upgrade-close {
    background: none; border: none; color: rgba(90,50,15,0.45);
    font-size: 1.5rem; cursor: pointer; padding: 4px 8px; line-height: 1;
}
.pub-upgrade-close:hover { color: #3d1f0a; }
.pub-upgrade-product-name {
    display: block; font-size: 0.75rem; color: #c4510a; font-weight: 600; margin-top: 1px;
}
.pub-upgrade-body { flex: 1; overflow-y: auto; padding: 12px 14px; }
.pub-upgrade-footer {
    flex-shrink: 0; padding: 8px 14px 14px;
    border-top: 1px solid rgba(180,120,60,0.12);
    display: flex; flex-direction: column; gap: 7px;
}
.pub-upgrade-comment {
    width: 100%; box-sizing: border-box; resize: none; outline: none;
    background: rgba(255,255,255,0.7); border: 1px solid rgba(180,120,60,0.22);
    border-radius: 10px; padding: 8px 12px; font-size: 0.82rem;
    font-family: inherit; color: #2a1b12; line-height: 1.4;
}
.pub-upgrade-comment:focus { border-color: #c4510a; }
.pub-upgrade-comment::placeholder { color: rgba(90,58,27,0.38); }
.pub-upgrade-add-btn {
    width: 100%; padding: 12px; border-radius: 12px; border: none;
    background: linear-gradient(135deg,#ff7a00,#e05500);
    color: #fff; font-size: 0.95rem; font-weight: 800;
    letter-spacing: 0.5px; cursor: pointer; font-family: 'Oswald',sans-serif;
}
.pub-home-btns { display: grid; grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); gap: 9px; margin-bottom: 10px; }
.pub-cat-btn {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 12px 8px; border-radius: 14px;
    border: 1.5px solid rgba(180,120,60,0.25);
    background: rgba(255,255,255,0.65); color: #2a1b12;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, border-color 0.15s;
}
.pub-cat-btn:hover { background: rgba(255,240,215,0.9); border-color: rgba(196,81,10,0.4); }
.pub-cat-btn-label {
    font-size: 0.9rem; font-weight: 700;
    font-family: 'Oswald',sans-serif; letter-spacing: 0.3px;
}
.pub-cat-btn-hint {
    font-size: 0.66rem; font-weight: 500;
    font-family: 'Roboto',sans-serif;
    color: #8b6b47;
    line-height: 1.2;
}
.pub-solo-btn {
    width: 100%; padding: 10px 14px; border-radius: 12px;
    border: 1px dashed rgba(150,100,50,0.3); background: rgba(255,255,255,0.4);
    color: rgba(90,58,27,0.55); font-size: 0.82rem; cursor: pointer;
    text-align: left; margin-bottom: 10px;
}
.pub-extras-list { display: flex; flex-direction: column; gap: 5px; }
.pub-extra-row {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.6); border-radius: 10px; padding: 7px 10px;
    border: 1px solid rgba(196,81,10,0.15);
}
.pub-extra-name { flex: 1; font-size: 0.82rem; font-weight: 600; color: #2a1b12; }
.pub-extra-price { color: #c4510a; font-weight: 700; font-size: 0.8rem; margin: 0 8px; }
.pub-extra-del { background: none; border: none; color: rgba(180,50,50,0.6); font-size: 1rem; cursor: pointer; }
.pub-section-label {
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.6px;
    text-transform: uppercase; color: rgba(90,58,27,0.45); margin: 6px 0 5px;
}
.pub-upgrade-product {
    font-size: 0.83rem; color: rgba(90,58,27,0.5);
    margin-bottom: 12px; text-align: center;
}
.pub-upgrade-opts { display: flex; flex-direction: column; gap: 9px; }
.pub-upgrade-opt {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 16px; background: rgba(255,255,255,0.72);
    border: 1.5px solid rgba(200,155,100,0.22);
    border-radius: 14px; cursor: pointer; color: #2a1b12;
    text-align: left; gap: 12px; width: 100%;
    transition: background 0.15s, border-color 0.15s;
    box-shadow: 0 1px 6px rgba(120,60,10,0.06);
}
.pub-upgrade-opt:hover { background: rgba(255,247,232,0.95); border-color: rgba(200,130,60,0.42); }
.pub-upgrade-solo { background: rgba(255,255,255,0.45); border-style: dashed; border-color: rgba(150,100,50,0.28); }
.pub-upgrade-opt-name { font-weight: 600; font-size: 0.93rem; display: block; color: #2a1b12; }
.pub-upgrade-opt-detail { font-size: 0.76rem; color: rgba(90,58,27,0.58); display: block; margin-top: 2px; }
.pub-upgrade-opt-price { font-weight: 700; font-size: 0.87rem; color: #c4510a; flex-shrink: 0; }
.pub-upgrade-opt-price.muted { color: rgba(90,58,27,0.42); font-weight: 400; }
.pub-upgrade-opt--combo { align-items: flex-start; }
.pub-upgrade-opt-left { display: flex; flex-direction: column; flex: 1; }
.pub-upgrade-opt-meta { font-size: 0.72rem; color: rgba(90,58,27,0.52); margin-top: 3px; display: block; line-height: 1.4; }
.pub-flavors-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; }
.pub-flavor-btn {
    padding: 14px 8px; background: rgba(255,255,255,0.72);
    border: 1.5px solid rgba(200,155,100,0.22);
    border-radius: 12px; color: #2a1b12; font-size: 0.9rem;
    cursor: pointer; text-align: center;
    transition: background 0.15s, border-color 0.15s;
    box-shadow: 0 1px 4px rgba(120,60,10,0.06);
}
.pub-flavor-btn:hover { background: rgba(255,215,160,0.3); border-color: rgba(196,81,10,0.38); }
.pub-upgrade-back {
    display: flex; align-items: center; gap: 5px;
    background: none; border: none;
    color: rgba(90,58,27,0.52); font-size: 0.84rem;
    cursor: pointer; padding: 10px 0; margin-top: 12px;
}
.pub-upgrade-back:hover { color: #3d1f0a; }

/* ─────────────────────────────────────────────────────────────
   UX IMPROVEMENTS — Botones táctiles, filtros de precio, banner horario
   ───────────────────────────────────────────────────────────── */

/* 1. Touch targets: mínimo 48px en botones de acción principales (solo móvil) */
@media (max-width: 1023px) {
    .home-rec-btn,
    .combo-order-btn,
    .pub-upgrade-add-btn {
        min-height: 48px;
    }
    /* Botón "¡Lo Quiero!" en tarjetas de categoría */
    .cds-product-btn {
        min-height: 44px;
        padding: 10px 0;
    }
}

/* 2. Filtros de precio como pills grandes en móvil */
@media (max-width: 1023px) {
    .search-filter-prices {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 2px 0 8px;
        scroll-snap-type: x mandatory;
    }
    .search-filter-prices::-webkit-scrollbar { display: none; }

    .search-price-btn {
        padding: 8px 18px;
        border-radius: 20px;
        font-size: 0.82rem;
        font-weight: 600;
        min-height: 38px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .search-price-btn.active {
        background: #fb4b08;
        border-color: #fb4b08;
        color: #fff;
        box-shadow: 0 2px 10px rgba(251, 75, 8, 0.40);
    }
}

/* 3. Banner horario cerrado */
#closedHoursBanner {
    display: none;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 11px 18px;
    background: rgba(255, 145, 0, 0.14);
    border-bottom: 1px solid rgba(255, 140, 0, 0.30);
    text-align: center;
    color: #6b3300;
    font-family: 'Roboto', sans-serif;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.45;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
#closedHoursBanner strong {
    font-weight: 700;
    color: #8a3f00;
}
#closedHoursBanner.is-visible {
    display: block;
}


/* ─ Desktop: fondo con parallax suave ─ */
@media (min-width: 1024px) {
    #bg-layer { background-attachment: fixed !important; }
}

/* lightbox generado dinámicamente via JS — sin estilos CSS necesarios */

/* ── Widget de chat del agente de IA ─────────────────────────────────── */

/* Banner cerrado: barra pequeña y ovalada pegada abajo, como un CTA de chat de WhatsApp */
.agent-chat-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    z-index: 10001;
    max-width: 420px;
    margin: 0 auto;
    height: 52px;
    border: none;
    border-radius: 26px;
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff7ef;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(200, 75, 0, 0.28);
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.agent-chat-banner[hidden] {
    display: none;
}
.agent-chat-banner-icon {
    font-size: 1.15rem;
    line-height: 1;
}

/* Panel abierto: pantalla completa, estilo app de chat */
.agent-chat-panel {
    position: fixed;
    inset: 0;
    z-index: 100200;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    background: #f3e9d8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}
.agent-chat-panel[hidden] {
    display: none;
}

/* Pantallas de escritorio: el chat queda como panel lateral (≈1/3) y el menú sigue visible y
   usable en el resto de la ventana, en vez de taparlo todo como en celular. */
@media (min-width: 900px) {
    .agent-chat-panel {
        inset: 0 0 0 auto;
        width: min(34vw, 480px);
        min-width: 380px;
        height: 100vh;
        border-left: 1.5px solid rgba(255, 255, 255, 0.5);
        box-shadow: -16px 0 40px rgba(74, 44, 0, 0.18);
    }
    .agent-chat-banner {
        left: auto;
        right: 24px;
        max-width: 320px;
        margin: 0;
    }
}

.agent-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 14px;
    background: rgba(255, 255, 255, 0.34);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
}
.agent-chat-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    border-radius: 20px;
    min-height: 40px;
    color: #4a2c00;
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 14px;
}
.agent-chat-back:active {
    background: rgba(255, 255, 255, 0.8);
}
.agent-chat-title {
    flex: 1;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #4a2c00;
    font-size: 1.05rem;
}

.agent-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.agent-chat-bubble {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}
.agent-chat-bubble-assistant {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.6);
    color: #3a2200;
    border-bottom-left-radius: 4px;
}
.agent-chat-bubble-user {
    align-self: flex-end;
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff7ef;
    border-bottom-right-radius: 4px;
}
.agent-chat-bubble-image {
    display: block;
    max-width: 100%;
    width: 220px;
    border-radius: 10px;
    margin-top: 6px;
}
.agent-chat-bubble-image:first-child { margin-top: 0; }

.agent-chat-typing {
    padding: 0 16px 6px;
    font-size: 0.8rem;
    color: #6b4a1f;
    font-style: italic;
    flex-shrink: 0;
}

.agent-chat-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.34);
    border-top: 1.5px solid rgba(255, 255, 255, 0.28);
    flex-shrink: 0;
}
.agent-chat-icon-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    color: #a54800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.agent-chat-input {
    flex: 1;
    resize: none;
    max-height: 110px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 10px 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.75);
    color: #2c1a00;
}
.agent-chat-send-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff7ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.agent-chat-send-btn:disabled,
.agent-chat-icon-btn:disabled {
    opacity: 0.6;
    cursor: default;
}
