/* Contenedor principal */
.gastro-contenedor {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Cada platillo */
.gastro-platillo {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    padding: 20px;
    transition: transform 0.2s;
}
.gastro-platillo:hover {
    transform: translateY(-5px);
}
.gastro-platillo h3 {
    color: #c2185b;
    margin-top: 0;
    cursor: pointer;
}
.gastro-desc-corta {
    color: #555;
    margin: 10px 0;
}
.gastro-carrusel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.gastro-carrusel img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
    border: 2px solid transparent;
}
.gastro-carrusel img:hover {
    border-color: #891457;
}

/* MODAL */
#gastro-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.gastro-modal-contenido {
    display: flex;
    gap: 30px;
    max-width: 90vw;
    max-height: 80vh;
    background: transparent;
    align-items: center;
}
.gastro-modal-img {
    max-width: 60vw;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.gastro-modal-info {
    flex: 1;
    max-width: 400px;
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}
.gastro-titulo {
    margin: 0 0 10px;
    font-size: 1.8rem;
}
.gastro-descripcion {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}
.gastro-info-extra {
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
}
.gastro-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.gastro-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s;
}
.gastro-thumbnails img.active {
    border-width: 3px;
}
.gastro-cerrar, .gastro-prev, .gastro-next {
    position: absolute;
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.gastro-cerrar {
    top: 20px;
    right: 30px;
}
.gastro-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.gastro-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.gastro-cerrar:hover, .gastro-prev:hover, .gastro-next:hover {
    background: #891457;
}
@media (max-width: 768px) {
    .gastro-modal-contenido {
        flex-direction: column;
        max-height: 85vh;
        gap: 15px;
    }
    .gastro-modal-img {
        max-width: 90vw;
        max-height: 50vh;
    }
    .gastro-modal-info {
        max-width: 85vw;
        padding: 15px;
    }
    .gastro-prev, .gastro-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}