/* Paleta de Colores Zori */
:root {
    --zori-orange: #FF7300; /* Naranja idéntico al logo */
    --zori-dark-orange: #E05E00;
    --text-brown: #3E2723; /* Color café oscuro para links y textos */
    --text-dark: #1A1A1A;
    --text-gray: #757575;
    --bg-light: #F7F7F7;
    --bg-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #E0E0E0; /* Fondo gris para resaltar el celular si se abre en PC */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 0;
}

/* Forzar ancho de celular en cualquier pantalla */
.mobile-container {
    width: 100%;
    max-width: 450px; /* Tamaño máximo estándar de un móvil grande */
    background-color: var(--bg-white);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding-bottom: 90px; /* Espacio para que el carrito flotante no tape nada */
}

/* 1. Header Naranja */
.main-header {
    background-color: var(--zori-orange);
    padding: 25px 15px 15px 15px;
    text-align: center;
    border-bottom: 3px solid #E65100;
}

.logo-text {
    font-size: 52px;
    font-weight: 800;
    color: var(--bg-white);
    font-style: italic;
    line-height: 1;
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 3px;
    margin-top: 2px;
}

/* 2. Sub Navegación */
.sub-nav {
    background-color: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #EAEAEA;
}

.sub-nav a {
    text-decoration: none;
    color: var(--text-brown);
    font-weight: 700;
    font-size: 13px;
    transition: 0.2s;
}

.sub-nav a.active {
    color: var(--zori-orange);
}

.sub-nav span {
    color: #CCCCCC;
    font-size: 12px;
}

/* 3. Banner Promocional */
.promo-banner {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.promo-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 15px;
}

.btn-pide-ahora {
    background-color: var(--zori-orange);
    color: var(--bg-white);
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transform: rotate(-3deg); /* Efecto inclinado idéntico a la foto */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.2s;
}

.slider-dots {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
}

.dot.active {
    background-color: var(--zori-orange);
}

/* 4. Título de sección */
.section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 20px 0 10px 0;
    letter-spacing: 0.5px;
}

/* 5. Categorías horizontales */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 15px 15px 15px;
}

.category-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 10px 5px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #F0F0F0;
}

.cat-img-wrapper {
    width: 100%;
    height: 55px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 8px;
}

.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.category-card p {
    font-size: 8px;
    color: var(--text-gray);
    line-height: 1.2;
    height: 20px;
    margin-bottom: 8px;
    overflow: hidden;
}

.btn-ver-platos {
    background-color: var(--zori-orange);
    color: var(--bg-white);
    border: none;
    font-size: 8px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 15px;
    cursor: pointer;
    width: 100%;
}

/* 6. Grilla de Productos de 2 columnas */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 15px;
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.prod-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prod-info h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.2;
}

.prod-info p {
    font-size: 9px;
    color: var(--text-gray);
    margin-bottom: 8px;
    line-height: 1.3;
    flex-grow: 1;
}

.prod-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.btn-pedir {
    background-color: var(--zori-orange);
    color: var(--bg-white);
    border: none;
    width: 100%;
    padding: 7px 0;
    border-radius: 15px;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}

/* 7. Footer de redes sociales */
.social-footer {
    padding: 30px 0 15px 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: var(--text-dark);
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

/* 8. Botón Flotante de Carrito "Tu Pedido" */
.cart-floating-btn {
    position: absolute; /* Anclado al contenedor celular */
    bottom: 25px;
    right: 70px; /* Desplazado al lado de WhatsApp */
    background-color: #2D3748; /* Fondo oscuro idéntico al mockup */
    color: var(--bg-white);
    padding: 10px 18px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    z-index: 99;
}

.cart-badge {
    background-color: var(--zori-orange);
    color: var(--bg-white);
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: absolute;
    bottom: 20px;
    right: 15px;
    background-color: #25D366;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    z-index: 99;
}

/* Modal del carrito adaptado a celular */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: flex-end; /* Sube desde abajo en pantallas móviles */
    z-index: 1000;
}

.cart-content {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 450px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    max-height: 80%;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 15px;
}

#close-cart {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F5F5F5;
}

.cart-item h4 {
    font-size: 13px;
    font-weight: 600;
}

.cart-item p {
    font-size: 11px;
    color: var(--text-gray);
}

.cart-footer {
    border-top: 1px solid #EAEAEA;
    padding-top: 15px;
}

.checkout-btn {
    width: 100%;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}/* Buscador */
.search-section {
    padding: 15px;
    background-color: var(--bg-white);
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid #EAEAEA;
    padding: 10px 15px;
    border-radius: 25px;
    gap: 10px;
}

.search-box i {
    color: var(--text-gray);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

/* Grilla de Tiendas */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos columnas de locales */
    gap: 12px;
    padding: 0 15px;
}

.store-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid #F0F0F0;
    cursor: pointer;
    transition: 0.2s;
}

.store-card:active {
    transform: scale(0.97);
}

.store-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.store-info {
    padding: 10px;
}

.store-info h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.store-tag {
    font-size: 9px;
    background-color: #FFF3E0;
    color: var(--zori-orange);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.store-time {
    font-size: 9px;
    color: var(--text-gray);
    margin-top: 6px;
}

/* Botón Volver en Menú */
.back-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}/* ==========================================
   FOOTER ULTRA MINIMALISTA - SCLAT
========================================== */
.social-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 10px;
    background-color: #ffffff; /* Ajustalo a tu fondo blanco oficial si corresponde */
    gap: 10px;
}

/* Contenedor de iconos sin bordes ni cajas raras */
.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    color: #333333; /* Gris oscuro elegante en vez de negro puro */
    font-size: 22px; /* Tamaño sutil e idéntico para ambos */
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Efecto sutil al tocar o pasar el cursor */
.social-icons a:hover {
    color: #FFD700; /* Naranja/Dorado de Zori */
    transform: scale(1.05);
}

/* Tipografía ultra fina para la firma de Sclat */
.scalat-credits {
    font-size: 11px;
    font-weight: 300; /* Forzamos la letra más fina disponible */
    color: #888888;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin-top: 4px;
}

.scalat-credits span {
    color: #FFD700; /* Destacamos tu marca con el dorado sin perder la fineza */
    font-weight: 600; /* Un poco más de presencia solo para la marca, pero estético */
}.price-options {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.price-options .btn-pedir {
    flex: 1;
    min-width: 100px;
    font-size: 11px;
    padding: 6px 4px;
}
.combo-btn {
    background-color: #e67e22; /* Un tono naranja diferente para destacar el combo */
}
/* ==========================================
   ESTILOS PARA LOS BOTONES DE CANTIDAD (- / +)
   ========================================== */
.controls {
    display: inline-flex;
    align-items: center;
    background-color: #f1f3f5;
    border-radius: 20px;
    padding: 3px 8px;
    gap: 8px;
    margin-top: 8px;
    border: 1px solid #e9ecef;
}

.btn-qty {
    background-color: #ff6b00; /* Naranja estilo Burgerland/Zori */
    color: #ffffff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease, background-color 0.2s ease;
    user-select: none;
}

.btn-qty:active {
    transform: scale(0.9);
    background-color: #e05e00;
}

.qty-count {
    font-weight: 700;
    font-size: 14px;
    color: #212529;
    min-width: 18px;
    text-align: center;
}

/* ==========================================
   BARRA FLOTANTE DEL CARRITO (ESTILO APP MOBILE)
   ========================================== */
.cart-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px); /* Se adapta al ancho de pantalla */
    max-width: 420px;         /* Ancho máximo en monitores/PC */
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); /* Verde WhatsApp con degradado */
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 9999; /* Asegura que esté por encima de todo */
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-count {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    opacity: 0.9;
}

.cart-total {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.cart-btn-text {
    font-weight: 700;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}