/* PALETA INSPIRADA EN TED'S KITCHEN (Crema Suave y Verde Bosque) */
:root {
    --bg-crema: #fdfaf2;       /* El fondo crema suave del logo enviado */
    --verde-ted: #1b6333;      /* El verde bosque exacto de las líneas */
    --verde-ted-hover: #124723;
    --texto-oscuro: #1c241e;
    --borde-suave: #e6dfd3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-crema);
    color: var(--texto-oscuro);
}

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--verde-ted);
}

/* NAVEGACIÓN INTEGRADA */
.gastro-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--borde-suave);
    padding: 0.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.gastro-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-local img {
    height: 75px; /* Tamaño destacado para que luzca el osito chef */
    width: auto;
    display: block;
}

.menu-interno a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--texto-oscuro);
    transition: color 0.3s;
}
.menu-interno a:hover { color: var(--verde-ted); }

.btn-volver { font-style: italic; color: #94a3b8 !important; margin-left: 1.5rem; }

/* PRESENTACIÓN HERO */
.gastro-hero {
    background: linear-gradient(rgba(27, 99, 51, 0.9), rgba(28, 36, 30, 0.95)), url('https://unsplash.com') no-repeat center/cover;
    color: white;
    text-align: center;
    padding: 6rem 1rem;
}

.gastro-hero h1 { color: #fef08a; font-size: 2.8rem; margin-bottom: 1rem; }
.gastro-hero p { font-size: 1.1rem; color: #e2e8f0; max-width: 650px; margin: 0 auto 2rem auto; font-weight: 300; }

.info-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.info-badges span {
    background-color: rgba(255,255,255,0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.25);
}

/* MENÚ GRID */
.menu-contenedor {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
    text-align: center;
}

.menu-contenedor h2 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.subtitulo-menu { color: #64748b; margin-bottom: 3rem; font-size: 0.95rem; }

.platos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.plato-card {
    background-color: #ffffff;
    border: 1px solid var(--borde-suave);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(27, 99, 51, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plato-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(27, 99, 51, 0.06);
    border-color: var(--verde-ted);
}

.plato-imagen-placeholder {
    background-color: #f7f4eb;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4.5rem;
}

.plato-detalles {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    text-align: left;
}

.plato-detalles h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--texto-oscuro); }
.plato-detalles p { font-size: 0.88rem; color: #576359; margin-bottom: 1.5rem; line-height: 1.6; }

.plato-precio-fila {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--borde-suave);
    padding-top: 1.2rem;
}

.precio { font-size: 1.3rem; font-weight: 700; color: var(--texto-oscuro); }

.btn-pedir {
    background-color: #f0fdf4;
    color: var(--verde-ted);
    border: 1px solid #bbf7d0;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-pedir:hover {
    background-color: var(--verde-ted);
    color: white;
    border-color: var(--verde-ted);
    transform: scale(1.05);
}

/* CAJA DE CHECKOUT WHATSAPP */
.pedido-checkout-seccion {
    max-width: 600px;
    margin: 0 auto 5rem auto;
    padding: 0 1rem;
}

.checkout-caja {
    background-color: #ffffff;
    border: 1px solid var(--borde-suave);
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    text-align: center;
}

.checkout-caja h3 { font-size: 1.3rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--borde-suave); padding-bottom: 0.6rem; }

.lista-items-vacia { font-size: 0.9rem; color: #94a3b8; font-style: italic; margin-bottom: 1.5rem; }
.lista-items-activa { font-size: 0.95rem; text-align: left; color: var(--texto-oscuro); margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; background-color: #fdfbf7; padding: 1rem; border-radius: 8px; border: 1px dashed var(--borde-suave); }

.total-fila {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    padding: 0 0.5rem;
}
#total-pedido-precio { color: var(--verde-ted); font-size: 1.3rem; }

.btn-enviar-pedido {
    width: 100%;
    background-color: #25d366;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: all 0.3s;
}
.btn-enviar-pedido:hover:not([disabled]) {
    background-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-enviar-pedido:disabled {
    background-color: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

/* FOOTER */
.gastro-footer {
    background-color: #121814;
    color: #8a998e;
    text-align: center;
    padding: 3.5rem 1rem;
    font-size: 0.9rem;
}
.credito-logo { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1.2rem; font-size: 0.85rem; color: #4b554d; }
.credito-logo img { filter: brightness(0) invert(1); opacity: 0.6; }
