:root {
    --primario: #d4a373;
    --fondo-oscuro: #111b21;
    --tarjeta: #202c33;
    --detalle: #d4a373;
    --verde: #00a884;
    --texto: #e9edef;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--fondo-oscuro);
    background-image: url('https://www.transparenttextures.com/patterns/food.png');
    margin: 0;
    color: var(--texto);
}

header {
    background: #111b21;
    text-align: center;
    padding: 20px;
    border-bottom: 3px solid var(--detalle);
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 3.8rem;
    color: var(--detalle);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* --- ESTILOS RESERVA --- */
.reserva-box {
    position: relative;
    display: inline-block;
    margin-top: 15px;
}

.btn-reserva-label {
    background: var(--verde);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    transition: 0.3s;
    animation: glow 2s infinite;
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(0,168,132,0.4); }
    50% { box-shadow: 0 0 20px rgba(0,168,132,0.8); }
    100% { box-shadow: 0 0 5px rgba(0,168,132,0.4); }
}

#fecha-reserva {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.fecha-seleccionada {
    background: #34495e !important;
    border: 2px solid var(--verde);
    animation: none;
}

/* --- RESTO DE ESTILOS --- */
.menu-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    flex-wrap: wrap;
}

.btn-menu {
    background: #202c33;
    color: white;
    border: 1px solid #3b4a54;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-menu:hover { background: var(--detalle); color: #111; border-color: var(--detalle); }

.btn-volver { background: #3b4a54; color: white; border: none; padding: 12px 24px; border-radius: 8px; cursor: pointer; }

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1300px;
    margin: auto;
}

.card {
    background: var(--tarjeta);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    border: 1px solid #2f3b44;
}

.card img { width: 100%; height: 280px; object-fit: contain; background: #0b141a; border-radius: 10px; }

.stock-box { margin: 10px 0; font-size: 0.9rem; font-weight: bold; color: #8696a0; }
.punto-verde { height: 10px; width: 10px; background-color: var(--verde); border-radius: 50%; display: inline-block; animation: blink 1s infinite; }

@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 5000;
    justify-content: center; align-items: center;
}

.modal-content {
    background: var(--tarjeta);
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content input, .modal-content select {
    width: 100%; padding: 12px; margin: 8px 0; background: #2a3942; border: 1px solid #3b4a54; border-radius: 5px; color: white; box-sizing: border-box;
}

#map { height: 220px; width: 100%; border-radius: 10px; margin-top: 10px; border: 2px solid var(--detalle); }
.hidden { display: none !important; }

.btn-final { background: var(--verde); color: white; border: none; padding: 15px; width: 100%; border-radius: 8px; font-weight: bold; cursor: pointer; margin-top: 10px;}

.carrito-flotante {
    position: fixed; bottom: 30px; right: 30px; background: var(--verde); color: white;
    width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; cursor: pointer; z-index: 4000;
}

.chat-container {
    position: fixed; bottom: 110px; right: 30px; width: 320px; height: 450px; background: var(--tarjeta); border-radius: 15px; display: flex; flex-direction: column; z-index: 6000; overflow: hidden; border: 1px solid var(--detalle);
}

.chat-header { background: var(--verde); color: white; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; }
.chat-msgs { flex: 1; padding: 15px; overflow-y: auto; background: #0b141a; display: flex; flex-direction: column; gap: 10px; }
.msg-charly { background: #202c33; padding: 10px; border-radius: 10px 10px 10px 0; align-self: flex-start; font-size: 0.9rem; border-left: 3px solid var(--detalle); }
.msg-user { background: #005c4b; padding: 10px; border-radius: 10px 10px 0 10px; align-self: flex-end; font-size: 0.9rem; }
.chat-input-area { padding: 10px; background: #202c33; display: flex; gap: 8px; }

.chat-icon-flotante {
    position: fixed; bottom: 30px; right: 110px; background: var(--detalle); width: 65px; height: 65px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; cursor: pointer; z-index: 6000;
}