/* 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;
    overflow-x: hidden;
    position: relative;
}

html {
    background-color: #c9a96e;
}

#bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: url('fondo vertical.png') center top / cover no-repeat;
    opacity: 0.60;
    filter: brightness(0.60);
    pointer-events: none;
}

/* Fondo fijo con la imagen real - siempre visible, los temas JS no lo tocan */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: saturate(0.7);
    opacity: 0.5;
    z-index: -2;
    pointer-events: none;
}

/* Modo vertical (portrait) — usa la imagen vertical */
@media (orientation: portrait) {
    body::after {
        background-image: url('fondo vertical.png');
    }
}

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.png?v=20260525');
    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: all calc(0.4s * var(--landing-animation-speed)) cubic-bezier(0.4, 0, 0.2, 1);
    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.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
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.48;
    filter: grayscale(0.45);
    cursor: not-allowed;
    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 ========== */

/* ========== 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.png?v=20260525');
    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: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    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 {
    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;
}

/* ---- 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: box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: visible;
    z-index: 1;
}
}
}

/* Borde animado naranja futurista sutil */
.liquid-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    padding: 2px;
    background: conic-gradient(
        from 0deg,
        #ff9100 0%,
        #ffb347 20%,
        #ff9100 40%,
        #ff9100 60%,
        #ffb347 80%,
        #ff9100 100%
    );
    mask:
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    z-index: 2;
    opacity: 0.7;
    animation: border-glow-rotate 4s linear infinite;
}

@keyframes border-glow-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
}

.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: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    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.95);
    transform: translateY(-2px);
}

.category-chip.active {
    border-color: rgba(255, 96, 0, 0.9);
    background: linear-gradient(160deg, rgba(255, 96, 0, 0.28), rgba(255, 255, 255, 0.9));
}

.category-products-panel {
    margin-top: 12px;
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.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: #ff6600;
    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 4px 15px rgba(255, 102, 0, 0.4);
    transition: all 0.3s 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.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.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, box-shadow 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;
    -webkit-overflow-scrolling: touch;
}

.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.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.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(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 96, 0, 0.4);
}

.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-subtitle {
    font-size: 0.9rem;
    color: #333333;
    font-style: italic;
}

/* Card de Información (glass) */
.info-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 30px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    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.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

/* Contenedor de Botones */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    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: all calc(0.4s * var(--landing-animation-speed)) cubic-bezier(0.4, 0, 0.2, 1);
    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;
    animation: constantGlow 2s ease-in-out infinite alternate !important;
    transform: scale(1.1);
    margin: 20px 0 !important;
}

@keyframes constantGlow {
    0% {
        box-shadow: 
            0 0 20px rgba(255, 96, 0, 0.6),
            0 0 40px rgba(255, 96, 0, 0.4),
            0 0 60px rgba(255, 96, 0, 0.2);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(255, 96, 0, 0.8),
            0 0 60px rgba(255, 96, 0, 0.6),
            0 0 90px rgba(255, 96, 0, 0.4);
    }
}

.mega-button:hover {
    animation: none !important;
    box-shadow: 
        0 0 40px rgba(255, 96, 0, 0.8),
        0 0 80px rgba(255, 96, 0, 0.6),
        0 0 120px rgba(255, 96, 0, 0.4) !important;
}

/* Animación Pulse para WhatsApp */
.pulse-animation {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* 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 .icon {
        font-size: 1.2rem;
        width: 26px;
        height: 26px;
        margin-right: 8px;
    }
}

/* 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;
    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: all 0.3s 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;
    transition: all 0.3s 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: 0.3s 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: 0.3s ease;
    overflow-y: auto;
}

.menu-drawer.open {
    transform: translateX(0);
}

.drawer-overlay.show {
    opacity: 1;
    visibility: visible;
}

.drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ff4500;
    background: #111111;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s 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: 0.3s 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;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

/* 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;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 10002;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(35, 20, 10, 0.96), rgba(68, 34, 13, 0.96));
    border: 1px solid rgba(255, 145, 0, 0.28);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.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: 112px;
    min-height: 42px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff9d1f, #ff6f00);
    color: #1f140d;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(255, 111, 0, 0.3);
}

.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;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 24px;
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    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: 20px;
    color: #a54800;
    font-size: 0.92rem;
}

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

#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, #25d366, #16b85a);
    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(255, 255, 255, 0.36);
    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: #000;
}

.customer-profile-summary span,
.customer-profile-summary p {
    margin: 0;
    color: #2a1b12;
}

.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(90, 58, 27, 0.12);
    border-radius: 16px;
    background: rgba(255, 251, 245, 0.82);
    color: #7b4a1d;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    cursor: pointer;
}

.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(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.customer-profile-info-card span {
    color: rgba(90, 58, 27, 0.76);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.customer-profile-info-card strong {
    color: #1f140d;
    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-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,
.customer-order-history-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.customer-live-order-meta span,
.customer-order-history-meta span,
.customer-order-history-items 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-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: 36px;
    height: 36px;
    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;
}

.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: 85px;
    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;
}

.cart-added-toast {
    position: fixed;
    left: 50%;
    top: 18px;
    transform: translateX(-50%) translateY(-130%);
    z-index: 10004;
    width: min(90vw, 400px);
    padding: 13px 20px;
    border-radius: 40px;
    background: rgba(30, 16, 6, 0.96);
    color: #fff7ef;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    line-height: 1.35;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 154, 80, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s 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;
}

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

.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-price {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #5a3a1b;
    font-weight: 600;
    margin-top: 2px;
}

.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: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    padding: 4px 10px;
    margin: 3px 0 4px;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.15s;
    display: inline-block;
}
.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;
}
.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, #ff7a00, #e84800);
    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 4px 16px rgba(232, 72, 0, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}
.cie-save-btn:active {
    transform: scale(0.97);
}

/* ===== FAB CHAT PÚBLICO ===== */
.pub-chat-fab {
    position: fixed;
    bottom: 88px;        /* por encima de la barra de navegación inferior */
    right: 16px;
    z-index: 9050;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b2a1a, #5a3a1b);
    border: 1.5px solid rgba(200, 110, 30, 0.40);
    color: #fff;
    font-size: 1.30rem;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.40), 0 2px 8px rgba(200, 100, 30, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, box-shadow 0.15s;
}
.pub-chat-fab[hidden] { display: none; }
.pub-chat-fab:hover {
    transform: scale(1.10);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.50);
}
.pub-chat-fab-icon { line-height: 1; }
.pub-chat-fab-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #e84800;
    border: 2px solid #f3e9d8;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    font-family: 'Roboto', sans-serif;
}
.pub-chat-fab-badge[hidden] { display: none; }
/* ===== FIN FAB CHAT PÚBLICO ===== */

/* 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 {
        left: 10px;
        right: 10px;
        bottom: 8px;
        gap: 10px;
        padding: 11px 12px;
        border-radius: 16px;
    }

    .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;
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 10px 11px;
    }

    .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;
    -webkit-overflow-scrolling: touch;
    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;
}

.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: all 0.3s ease;
    transform: translateZ(0);
}

.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: #ff6600;
    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 4px 15px rgba(255, 102, 0, 0.4);
    transition: all 0.3s 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: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.6);
    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;
}

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

/* ===== MODAL DE PROMOCIÓN ===== */
.promo-modal {
    display: none;
    position: fixed;
    z-index: 10500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.90);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.promo-modal.is-open {
    display: flex;
    animation: fadeIn 0.35s ease-in-out;
}

.promo-modal-card {
    position: relative;
    background: linear-gradient(180deg, #fff6e8 0%, #ffd7aa 100%);
    border: 1px solid rgba(255, 96, 0, 0.30);
    border-radius: 22px;
    max-width: 420px;
    width: 92%;
    max-height: 92vh;
    max-height: 92dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 16px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    animation: promoSlideUp 0.40s ease-out;
}

@keyframes promoSlideUp {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.promo-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(39, 21, 8, 0.72);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s, border-color 0.2s;
}

.promo-modal-close:hover {
    background: rgba(255, 96, 0, 0.35);
    border-color: #ff6000;
}

.promo-modal-img {
    width: 100%;
    height: 100%;
    border-radius: 22px 22px 0 0;
    object-fit: cover;
    display: block;
}

.promo-modal-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    flex-shrink: 0;
}

.promo-modal-badge {
    position: absolute;
    top: 18px;
    left: -38px;
    min-width: 180px;
    padding: 10px 44px;
    background: linear-gradient(135deg, #ff4d00, #ff8a00);
    color: #fff9f2;
    font-family: 'Oswald', sans-serif;
    font-size: 0.98rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 12px 28px rgba(164, 60, 0, 0.34);
    transform: rotate(-24deg);
    z-index: 2;
}

.promo-modal-body {
    width: 100%;
    padding: 10px 16px 4px;
    box-sizing: border-box;
}

.promo-modal-kicker {
    margin: 0 0 2px;
    color: #a84b00;
    font-family: 'Oswald', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
}

.promo-modal-title {
    margin: 0;
    color: #351707;
    font-family: 'Oswald', sans-serif;
    font-size: 1.55rem;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.promo-modal-text {
    font-family: 'Roboto', sans-serif;
    color: #4c2a16;
    font-size: 0.88rem;
    text-align: center;
    padding: 6px 0 0;
    line-height: 1.45;
    letter-spacing: 0.01em;
    margin: 0;
}

.promo-modal-selector {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 248, 239, 0.88);
    border: 1px solid rgba(168, 75, 0, 0.14);
}

.promo-modal-selector-title {
    margin: 0 0 10px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    color: #5e2f0f;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.promo-modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.promo-option-btn {
    min-height: 48px;
    border: 1px solid rgba(168, 75, 0, 0.18);
    border-radius: 12px;
    background: #ffffff;
    color: #4c2a16;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.promo-option-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 96, 0, 0.45);
    box-shadow: 0 10px 22px rgba(168, 75, 0, 0.12);
}

.promo-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 10px 16px 0;
    box-sizing: border-box;
}

.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, #ff7a00, #ff5400);
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(200, 75, 0, 0.32);
}

.promo-btn-order:hover {
    background: linear-gradient(135deg, #ff8b18, #ff6210);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(200, 75, 0, 0.38);
}

.promo-btn-menu {
    background: transparent;
    color: #5e2f0f;
    border: 1px solid rgba(94, 47, 15, 0.24);
}

.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: 22px 22px 0 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;
    -webkit-overflow-scrolling: touch;
    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);
    animation: promoSlideUp 0.32s ease-out;
}

.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, 132, 0, 0.22);
    background: linear-gradient(135deg, #ff7a00, #ff5a00);
    color: #fff7ef;
    box-shadow: 0 12px 28px rgba(200, 75, 0, 0.28);
}

.bebidas-modal-btn-primary:hover {
    background: linear-gradient(135deg, #ff8c1a, #ff6000);
    box-shadow: 0 16px 32px rgba(200, 75, 0, 0.36);
}

@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, #ff7a1a, #e85d00);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
}
.promo-reg-btn--register:hover {
    box-shadow: 0 12px 30px rgba(255, 122, 26, 0.5);
}

.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 ===== */

/* ===== 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;
    height: 48px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(36, 13, 2, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(180, 75, 18, 0.22);
    display: flex;
    align-items: stretch;
    z-index: 9000;
    box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.4);
}

.ban-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(210, 155, 100, 0.55);
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.ban-item:hover,
.ban-item.is-active {
    color: rgba(255, 210, 170, 1);
    background: rgba(240, 90, 20, 0.08);
}

.ban-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    pointer-events: none;
}

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

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

.featured-section {
    margin-bottom: 130px;
}

/* ===== FIN BARRA DE NAVEGACIÓN INFERIOR ===== */

/* ===== SEGUNDA PANTALLA — HOME SCREEN ===== */

#homeScreen {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: transparent;
    overflow-y: auto;
}

.home-inner {
    padding: 68px 16px 140px;
    max-width: 600px;
    margin: 0 auto;
}

.home-inner {
    padding-bottom: 130px;
}

@media (min-width: 769px) {
    .home-inner {
        max-width: 780px;
        padding: 80px 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.68);
    border: 1px solid rgba(160, 100, 40, 0.22);
    box-shadow: 0 2px 12px rgba(80, 40, 0, 0.07);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-info-section .info-card {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(160, 100, 40, 0.22);
    box-shadow: 0 2px 12px rgba(80, 40, 0, 0.07);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.home-info-section .info-item {
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(160, 100, 40, 0.15);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.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: linear-gradient(135deg, #fff9f2 0%, #fff3e3 100%);
    border: 1px solid rgba(200, 120, 40, 0.18);
    box-shadow: 0 8px 36px rgba(80, 35, 0, 0.16), 0 2px 8px rgba(200,100,30,0.08);
    display: flex;
    flex-direction: column;
}

/* Franja superior — kicker */
.home-rec-top-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px 8px;
    background: linear-gradient(90deg, rgba(255,122,26,0.12), rgba(255,122,26,0.04));
    border-bottom: 1px solid rgba(200,120,40,0.10);
}

.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 */
.home-rec-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 140px;
}

.home-rec-img-wrap {
    position: relative;
    width: 148px;
    min-width: 148px;
    flex-shrink: 0;
    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 {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
}

.home-rec-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e0e02;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-rec-price-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 2px 0;
}

.home-rec-price-block {
    display: flex;
    flex-direction: column;
    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.60rem;
    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: 6px;
    align-self: flex-start;
    padding: 10px 22px;
    background: linear-gradient(135deg, #ff7a00, #e84800);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 16px rgba(232, 72, 0, 0.38);
}

.home-rec-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 22px rgba(232, 72, 0, 0.52);
}
/* ===== BANNER RECOMENDADO — DESKTOP ===== */
@media (min-width: 769px) {
    .home-rec-banner {
        border-radius: 24px;
        margin-bottom: 36px;
        background: linear-gradient(120deg, #fff8ef 0%, #fff2e0 55%, #fde8cb 100%);
        box-shadow: 0 12px 48px rgba(80, 35, 0, 0.18), 0 3px 12px rgba(200, 100, 30, 0.10);
        border: 1.5px solid rgba(200, 120, 40, 0.22);
    }

    .home-rec-top-bar {
        padding: 12px 24px 11px;
        background: linear-gradient(90deg, rgba(255,122,26,0.13), rgba(255,122,26,0.04));
    }

    .home-rec-kicker {
        font-size: 0.70rem;
        letter-spacing: 0.16em;
    }

    .home-rec-discount-badge {
        font-size: 0.80rem;
        padding: 4px 14px;
    }

    .home-rec-content {
        min-height: 200px;
    }

    .home-rec-img-wrap {
        width: 220px;
        min-width: 220px;
    }

    .home-rec-body {
        padding: 20px 28px 20px 22px;
        gap: 10px;
        justify-content: center;
    }

    .home-rec-name {
        font-size: 2.00rem;
        letter-spacing: 0.03em;
        -webkit-line-clamp: 1;
    }

    .home-rec-price-row {
        gap: 20px;
        margin: 4px 0;
        align-items: center;
    }

    .home-rec-price-tag {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    .home-rec-price {
        font-size: 2.40rem;
        font-weight: 900;
    }

    .home-rec-price-orig {
        font-size: 1.10rem;
    }

    .home-rec-btn {
        margin-top: 10px;
        padding: 12px 32px;
        font-size: 1.00rem;
        letter-spacing: 0.08em;
        box-shadow: 0 5px 20px rgba(232, 72, 0, 0.40);
    }
}
/* ===== FIN BANNER RECOMENDADO ===== */

/* ===== PANTALLA CONFIRMACIÓN DE PEDIDO ===== */
#orderConfirmScreen {
    position: fixed;
    inset: 0;
    z-index: 9200;
    background: rgba(10, 4, 1, 0.97);
    overflow-y: auto;
}

.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, #25d366, #128c3e);
    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(18, 140, 62, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

.oc-wa-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(18, 140, 62, 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;
}

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

/* Grid de categorías */
.home-categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.home-loading-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(80, 45, 12, 0.5);
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    padding: 20px 0;
}

/* 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: #f3e9d8;
    overflow-y: auto;
    padding-top: 0;
}

#categoryDetailScreen:not([hidden]) {
    animation: slideInRight 0.28s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0.6; }
    to   { transform: translateX(0);    opacity: 1;   }
}

/* 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(243, 233, 216, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(160, 100, 40, 0.20);
}

.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;
    padding-top: 8px;
    width: 100%;
    padding: 8px 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7a00, #f65102);
    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;
    -webkit-tap-highlight-color: transparent;
}

.cds-product-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(246, 81, 2, 0.4);
}

/* ===== FIN PANTALLA DETALLE ===== */

/* ===== PANTALLA CATEGORÍAS (Menú / Combos desde nav) ===== */

#navCategoriesScreen {
    position: fixed;
    inset: 0;
    z-index: 502;
    background: #f3e9d8;
    overflow-y: auto;
    padding-top: 0;
}

#navCategoriesScreen:not([hidden]) {
    animation: slideInRight 0.28s 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 BUSCADOR ===== */

#searchScreen {
    position: fixed;
    inset: 0;
    z-index: 504;
    background: #f3e9d8;
    overflow-y: auto;
    padding-top: 0;
}

#searchScreen:not([hidden]) {
    animation: slideInRight 0.28s 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;
}

/* ===== 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 {
        /* Asegura que la nav inferior no quede bajo el home indicator */
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}

/* ===== FIN OPTIMIZACIÓN RESPONSIVA MÓVIL ===== */
