:root {
    --bg-crema-corporativo: #fbf6ee; /* Eliminamos el blanco. Usamos el crema cálido de la cartilla */
    --verde-ted: #1b612c;
    --borde-decorativo: #eae3d5;
    --texto-oscuro: #1c241e;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body { 
    background-color: var(--bg-crema-corporativo); /* Todo el fondo ahora es crema, no blanco */
    color: var(--texto-oscuro); 
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; color: var(--verde-ted); }
.titulo-seccion-principal { font-size: 2rem; margin-bottom: 0.5rem; text-align: center; }
.subtitulo-menu { color: #64748b; margin-bottom: 2.5rem; font-size: 0.95rem; text-align: center; }

/* RECUADRO ESTILO AJEDREZ */
.patron-tablero {
    height: 24px;
    background-color: var(--bg-crema-corporativo);
    background-image: linear-gradient(45deg, var(--verde-ted) 25%, transparent 25%, transparent 75%, var(--verde-ted) 75%, var(--verde-ted)), 
                      linear-gradient(45deg, var(--verde-ted) 25%, transparent 25%, transparent 75%, var(--verde-ted) 75%, var(--verde-ted));
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
}

/* NAVEGACIÓN SUPERIOR CON LOGO AGRANDADO */
.gastro-header { background-color: #ffffff; border-bottom: 1px solid var(--borde-decorativo); padding: 0.8rem 2rem; }
.gastro-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; }

.logo-local img { 
    height: 95px; /* Agrandamos el logo para darle máxima visibilidad al osito */
    width: auto; 
    display: block; 
    border-radius: 50%; 
    border: 3px solid var(--verde-ted);
}

.menu-interno a { text-decoration: none; font-weight: 600; color: var(--texto-oscuro); margin-left: 1.2rem; }
.menu-interno a:hover { color: var(--verde-ted); }
.btn-volver { font-style: italic; color: #94a3b8 !important; }

/* HERO BANNER */
.gastro-hero {
    background: linear-gradient(rgba(27, 97, 44, 0.45), rgba(27, 36, 29, 0.85)), url('imagenes/hero-ted.jpg') no-repeat center/cover;
    color: white;
    text-align: center;
    padding: 6.5rem 1rem;
}
.gastro-hero h1 { font-size: 3.2rem; color: #ffffff; letter-spacing: 2px; text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.8); }
.gastro-tagline { font-weight: 700; color: #fef08a; text-transform: uppercase; margin-top: 0.5rem; text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); }
.gastro-intro { font-size: 1rem; color: #f1f5f9; max-width: 520px; margin: 1.2rem auto 0 auto; line-height: 1.6; text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.9); }

/* CONTENEDOR DE SECCIONES Y PLANILLA ENMARCADA */
.menu-contenedor { max-width: 900px; margin: 3.5rem auto 0 auto; padding: 0 1rem; }
.gastro-seccion-bloque { background: #ffffff; border: 1px solid var(--borde-decorativo); border-radius: 12px; padding: 2rem; margin-bottom: 2.5rem; text-align: center; }

.titulo-recuadro {
    display: inline-block;
    background-color: var(--verde-ted);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.4rem 1.8rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.opciones-lista { display: flex; flex-direction: column; gap: 1rem; max-width: 400px; margin: 0 auto; text-align: left; }
.opciones-grid-toppings { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; text-align: left; }

.opcion-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #fcfcfb;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #f1f1ef;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
}
.opcion-item:hover { background-color: #f3fdf5; border-color: #bbf7d0; }
.opcion-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--verde-ted); }

/* SECCIÓN PRODUCTOS LISTOS (GRID) */
.platos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.plato-card { background-color: #ffffff; border: 1px solid var(--borde-decorativo); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.plato-imagen-wrapper { height: 180px; }
.plato-imagen-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.plato-detalles { padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; flex: 1; text-align: left; }
.plato-detalles h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--texto-oscuro); }
.plato-detalles p { font-size: 0.88rem; color: #576359; margin-bottom: 1.2rem; line-height: 1.5; }
.plato-precio-fila { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--borde-decorativo); padding-top: 1rem; }
.precio { font-size: 1.25rem; font-weight: 700; }
.btn-pedir { background-color: #f0fdf4; color: var(--verde-ted); border: 1px solid #bbf7d0; padding: 0.5rem 1.2rem; border-radius: 8px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.btn-pedir:hover { background-color: var(--verde-ted); color: white; }

/* CHECKOUT COMPILADOR */
.pedido-checkout-seccion { max-width: 500px; margin: 3rem auto 5rem auto; padding: 0 1rem; }
.checkout-caja { background-color: #ffffff; border: 1px solid var(--verde-ted); border-radius: 16px; padding: 2rem; text-align: center; }
.checkout-caja h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--verde-ted); }
.lista-items-vacia { font-size: 0.9rem; color: #94a3b8; font-style: italic; }
.lista-items-activa { text-align: left; background-color: #faf8f5; padding: 1rem; border-radius: 8px; border: 1px dashed var(--borde-decorativo); margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.total-fila { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 1.5rem; font-size: 1.1rem; }
#total-pedido-precio { color: var(--verde-ted); }
.btn-enviar-pedido { width: 100%; background-color: #25d366; color: white; border: none; padding: 0.9rem; border-radius: 8px; font-weight: bold; cursor: pointer; }

/* REPARACIÓN DEFINITIVA DE TU LOGO GI+ EN EL FOOTER */
.gastro-footer { background-color: #111512; color: #818e84; text-align: center; padding: 2.5rem 1rem; font-size: 0.85rem; }
.credito-logo-gastro { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    margin-top: 1rem; 
}
/* Al quitarle el filter: brightness, tu logo se verá con su color original azul y gris sin manchas */
.credito-logo-gastro img { 
    height: 32px; 
    width: auto; 
    display: block;
    opacity: 0.9;
}
