/* Variables y Estilos Base */
:root {
    --primary-color: #A03472; /* Morado/Rosa de la marca */
    --secondary-color: #F8C300; /* Dorado/Amarillo */
    --whatsapp-color: #25d366; 
    --map-color: #4285f4; /* Azul de Google */
    --text-color: #333;
    --bg-color: #F5F5F5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { 
    width: 30vw;
 }
.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    margin-left: 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.navbar a:hover { background-color: rgba(255, 255, 255, 0.2); }

/* --- CARRUSEL/HERO (Mismo que antes) --- */
.hero-carousel {
    position: relative;
    overflow: hidden;
    height: 600px; 
    margin-bottom: 40px;
    margin-top: 15px;
}

.carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; 
    flex-shrink: 0;
}

.carousel-image.active {
    display: block; 
}

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.indicator {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.indicator.active {
    background-color: var(--secondary-color);
}

/* --- SECCIÓN DE SUCURSALES (NUEVO) --- */
.sucursales-section {
    padding: 40px 0;
    text-align: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.section-subtitle {
    margin-bottom: 20px;
    color: #666;
}

.sucursal-selector {
    margin-bottom: 25px;
}

#sucursal-select {
    padding: 10px 15px;
    font-size: 1em;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    background-color: white;
    cursor: pointer;
}

.sucursal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.action-btn {
    text-decoration: none;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: opacity 0.3s, background-color 0.3s;
}

.action-btn[disabled] {
    opacity: 0.5;
    pointer-events: none; /* Desactiva clics */
}

.whatsapp-btn {
    background-color: var(--whatsapp-color);
}

.map-btn {
    background-color: var(--map-color);
}

.whatsapp-btn:not([disabled]):hover { background-color: #128c7e; }
.map-btn:not([disabled]):hover { background-color: #357ae8; }

.divider {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 40px 0;
}

/* --- SECCIÓN DE MENÚ --- */
.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.menu-filters {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover { transform: translateY(-5px); }

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.product-info p {
    margin-bottom: 15px;
    font-size: 0.9em;
}

.price {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Indicador de Picor (NUEVO) */
.picor-indicator {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #cc0000;
    margin-top: 10px;
}

.chili-icon {
    margin-left: 5px;
    font-size: 1.2em;
    color: #ff4500;
}


/* Footer */
footer{
text-align: center;
padding: 20px;
margin-top: 40px;
background-color: var(--primary-color);
color: white;
}


/* Estilos para el botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed; /* Lo hace flotante */
    bottom: 20px;    /* 20px desde abajo */
    right: 20px;     /* 20px desde la derecha */
    width: 60px;     /* Tamaño del botón */
    height: 60px;
    background-color: #25d366; /* Color oficial de WhatsApp */
    color: white;
    border-radius: 50px; /* Lo hace redondo */
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-float img {
    width: 35px; /* Tamaño del icono */
    height: 35px;
    filter: invert(100%); /* Hace el icono blanco si es necesario */
}

/* Efecto hover */
.whatsapp-float:hover {
    background-color: #128c7e; 
    box-shadow: 2px 2px 5px #777;
}



@media (max-width:520px{ /* tablets */
    .hero-carousel {
    max-height: 100px; }
 }