.alignright {
    text-align: right;
}
/* ===============================================================================================================================
   secciones efecto scroll
   =============================================================================================================================== */

section .section-heading {
    position: relative;
    /* margin: 2em; */
}
section .bg h2 {
    z-index: 2;
}
section .bg .clip-text {
    overflow: hidden;
}
#seccionSlideshow .bg {
    background: #fff;
    /* background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%), url(images/bg01.jpg); */
}

.contenido_seccion {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    /* height: 100%; */
    padding: 1em;
    overflow-y: hidden;
}
html {
    /* scroll-behavior: smooth; */
}
/* ===============================================================================================================================
   FIN secciones efecto scroll
   =============================================================================================================================== */
/* ===============================================================================================================================
   Seccion Slideshow
   =============================================================================================================================== */
.slideshow {
    position: relative;
    height: 100vh;
}
.slideshow .slide {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.slideshow .slide .image-container {
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-position: center; */
    /* z-index: 1; */
    /* background-size: cover; */
    /* image-rendering: smooth; */
}
.slideshow .slide[data-index="1"] .image-container {
    background-image: url(../imagenes/portada01.webp);
}
.slideshow .slide[data-index="2"] .image-container {
    background-image: url(../imagenes/portada02.webp);
}
.slideshow .slide[data-index="3"] .image-container {
    background-image: url(../imagenes/portada03.webp);
}
.slideshow .slide[data-index="4"] .image-container {
    background-image: url(../imagenes/portada04.webp);
}
.slideshow .slide[data-index="5"] .image-container {
    background-image: url(../imagenes/portada05.webp);
}
/* ===============================================================================================================================
   FIN seccion Slideshow
   =============================================================================================================================== */

/* ===============================================================================================================================
   Seccion somos
   =============================================================================================================================== */
.textosomos {
    display: block;
    text-align: left;
    margin-top: 0;
}
.textosomos *:first-child {
    margin-top: 0;
}
.contenido_somos .conenedor_widget {
    display: flex;
    gap: 1rem;
}
.contenido_somos .conenedor_widget h2 {
    font-size: 2.3rem;
}
.contenido_somos .conenedor_widget .widget {
    width: 32rem;
}
.contenido_somos svg {
    width: 3rem;
    height: 3rem;
    fill: #292;
    /* stroke: #fff; */
    /*mismo color del fondo para hacerlo mas delgado*/
    stroke-width: 3%;
    /*cuanto mas valor, mas delgado*/
    /* transition: 0.5s; */
}
.contenido_somos svg:hover {
    /* fill: #a75b4e; */
}

/* ===============================================================================================================================
   FIN Seccion somos
   =============================================================================================================================== */
/* ===============================================================================================================================
   Seccion especialidades
   =============================================================================================================================== */
#seccionEspecialidades {
    max-width: 1100px;
    margin: 0 auto;
}
/* Encabezado de la sección */
#seccionEspecialidades .seccion-titulo {
    text-align: center;
    margin-bottom: 40px;
}
/* Cuadrícula de platos */
#seccionEspecialidades .platos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
/* Tarjeta de plato */
#seccionEspecialidades .plato-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
#seccionEspecialidades .plato-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
/* Imagen del plato */
#seccionEspecialidades .plato-imagen-wrapper {
    position: relative;
    height: 240px;
    background-color: #e0e0e0;
}
#seccionEspecialidades .plato-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Etiqueta flotante (Ej: "Bajo encargo") */
#seccionEspecialidades .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #c0392b;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}
/* Contenido de la tarjeta */
#seccionEspecialidades .plato-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
#seccionEspecialidades .plato-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}
#seccionEspecialidades .plato-titulo {
    font-size: 1.5rem;
    margin: 0;
    color: #2c3e50;
}
#seccionEspecialidades .plato-precio {
    font-size: 1.4rem;
    font-weight: bold;
    color: #27ae60;
    /* Verde éxito/precio */
}
#seccionEspecialidades .plato-descripcion {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}
/* Características del plato (iconos/texto corto) */
#seccionEspecialidades .plato-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    font-size: 0.85rem;
    color: #7f8c8d;
}
#seccionEspecialidades .plato-features li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}
#seccionEspecialidades .plato-features li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 8px;
}
/* ===============================================================================================================================
   FIN Seccion especialidades
   =============================================================================================================================== */
/* ===============================================================================================================================
   Seccion como funciona
   =============================================================================================================================== */
.como-funciona-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}
/* Encabezado */
.como-funciona-header {
    text-align: center;
    margin-bottom: 50px;
}
.como-funciona-header p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}
/* Contenedor de Pasos (Responsive) */
.como-funciona-pasos {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
/* Tarjeta o ítem de cada paso */
.paso-item {
    text-align: center;
    padding: 20px;
    background-color: #fdfaf7;
    border-radius: 12px;
    border: 1px solid #f3e9dc;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Círculo con el número */
.paso-numero {
    width: 50px;
    height: 50px;
    background-color: #e67e22;
    /* Color naranja principal */
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.2);
}
.paso-item h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0 0 12px 0;
}
.paso-item p {
    line-height: 1.6;
    margin: 0;
    max-width: 320px;
}
/* Diseño para pantallas de Ordenador / Tablet (Escritorio) */
@media (min-width: 768px) {
    .como-funciona-pasos {
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
    }
    .paso-item {
        flex: 1;
        background-color: transparent;
        border: none;
        padding: 10px;
    }
}
/* ===============================================================================================================================
   FIN Seccion como funciona
   =============================================================================================================================== */
/* ===============================================================================================================================
   Seccion por que elegirnos
   =============================================================================================================================== */
.por-que-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}
/* Encabezado */
.por-que-header {
    text-align: center;
    margin-bottom: 50px;
}
/* Contenedor de Ventajas (Responsive) */
.por-que-ventajas {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
/* Cada tarjeta de ventaja */
.ventaja-item {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.3s ease;
}
.ventaja-item:hover {
    transform: translateY(-5px);
}
/* Estilo de los iconos/emojis */
.ventaja-icono {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.ventaja-item h3 {
    font-size: 1.35rem;
    color: #2c3e50;
    margin: 0 0 12px 0;
}
.ventaja-item p {
    line-height: 1.6;
    margin: 0;
}
/* Diseño para pantallas de Ordenador / Tablet (Escritorio) */
@media (min-width: 768px) {
    .por-que-ventajas {
        flex-direction: row;
        justify-content: space-between;
        gap: 25px;
    }
    .ventaja-item {
        flex: 1;
    }
}
/* ===============================================================================================================================
   FIN Seccion por que elegirnos
   =============================================================================================================================== */
/* ===============================================================================================================================
   Seccion faqs
   =============================================================================================================================== */
/* Contenedor principal */
.faqs-wrapper {
    max-width: 800px;
    margin: auto;
}
.faqs-header {
    text-align: center;
    margin-bottom: 30px;
}
.faqs-lista {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/* Tarjeta contenedora */
.faq-item {
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Ocultamos el checkbox por completo */
.faq-toggle {
    display: none;
}
/* Botón de la pregunta (Ahora es un Label) */
.faq-pregunta {
    padding: 18px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
/* Icono Más / Menos */
.faq-pregunta::after {
    content: "+";
    font-size: 1.4rem;
    color: #3498db;
    transition: transform 0.3s ease, color 0.3s ease;
}
/* ==========================================================================
   EL TRUCO CSS: Cuando el checkbox está seleccionado (Checked)
   ========================================================================== */
/* Estilos de la tarjeta activa */
.faq-toggle:checked~.faq-pregunta {
    color: #2c3e50;
}
.faq-toggle:checked+.faq-pregunta::after {
    transform: rotate(45deg);
    /* Convierte el + en una equis elegantemente */
    color: #e74c3c;
}
/* Manejo de la expansión de la caja al abrir Y al cerrar */
.faq-respuesta {
    display: grid;
    grid-template-rows: 0fr;
    /* Altura 0 por defecto */
    transition: grid-template-rows 0.3s ease-out;
    /* Esta transición funciona en ambas direcciones */
    background-color: #ffffff;
}
.faq-toggle:checked~.faq-respuesta {
    grid-template-rows: 1fr;
    /* Se expande al tamaño del texto */
}
/* Manejo del desvanecimiento (Fade) al abrir Y al cerrar */
.faq-respuesta-contenido {
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}
.faq-toggle:checked~.faq-respuesta .faq-respuesta-contenido {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
    /* Pequeño retraso al abrir para mejor efecto */
}
/* ==========================================================================
   TEXTO INTERNO (Efecto extra de deslizamiento suave)
   ========================================================================== */
.faq-respuesta p {
    margin: 0;
    padding: 18px 20px;
    color: #555;
    line-height: 1.6;
    min-height: 0;
    /* Requisito técnico para que el truco de Grid funcione */
    transform: translateY(-8px);
    transition: transform 0.4s ease-out;
}
.faq-item[open] .faq-respuesta p {
    transform: translateY(0);
}
@starting-style {
    .faq-item[open] .faq-respuesta p {
        transform: translateY(-8px);
    }
}
/* ===============================================================================================================================
   FIN Seccion faqs
   =============================================================================================================================== */
/* ===============================================================================================================================
   Seccion pedido
   =============================================================================================================================== */
#seccionVideo {
    position: relative;
    overflow: hidden;
    /* height: 75vh; */
    /* height: 50vh;
    overflow: hidden; */
    /* background: rgba(0, 100, 0, 0.4); */
    /* display: flex;
    align-items: center;
    justify-content: center; */
}
#seccionVideo video {
    width: 100%;
}
/* ===============================================================================================================================
   FIN Seccion pedido
   =============================================================================================================================== */
/* ----------------- Galeria individual ---------------------*/
#navegadorgalerias {
    position: fixed;
    top: 1em;
    right: 1em;
}
#navegadorgalerias {
    /* background: rgba(0, 0, 0, 0.4); */
    cursor: pointer;
    height: 3em;
    z-index: 105;
}
#navegadorgalerias .line {
    display: block;
    width: 3em;
    height: 0.3em;
    background-color: #fff;
    margin: .5em;
    transform-origin: center;
    border: 3px solid #fff;
    border-radius: 6px;
}
#navegadorgalerias .line1galeria {
    transform: rotate(45deg) translate(0.75em, 0.55em);
}
#navegadorgalerias .line2galeria {
    transform: rotate(-45deg);
}
#contenedorgaleria {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: auto;
    z-index: 5;
    padding: 6em 0.2em;
    background: rgba(0, 0, 0, 1);
}
#contenedorgaleria:before {
    content: '';
    background: url(../imagenes/foto-galeria.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}
#galeria {
    display: none;
}
#galeria div {
    display: inline-block;
    height: 150px;
    border: 1px solid #fff !important;
    border-radius: 4px !important;
    background-size: cover !important;
    background-position: center center !important;
    cursor: pointer;
}
#image_full_container {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    z-index: 10;
}
#imageFull {
    /* position: absolute;
    top: 0;
    left: 0; */
    height: 100%;
    width: 100%;
    background-size: contain !important;
    background-position: center center !important;
    display: none;
    cursor: pointer;
    /* object-fit: contain; */
    /* object-position: 50% 50%; */
    /* border: 1px solid #fff;
    border-radius: 4px; */
}
.stop-scrolling {
    height: 100%;
    overflow: hidden;
}
/* ===============================================================================================================================
   FIN Seccion galerias
   =============================================================================================================================== */
#mapa {
    width: 100%;
}
#mapagoogle iframe {
    width: 100%;
    height: 50vh;
}
#imagenfondo img {
    /* -webkit-filter: blur(3px); */
    /* Safari 6.0 - 9.0 */
    /* filter: blur(3px); */
}
/* ===============================================================================================================================
    Media queries
    =============================================================================================================================== */
@media (min-aspect-ratio: 1/1) {
    #platos {
        grid-template-columns: repeat(auto-fit, minmax(min(100%/3, max(30%, 100%/5)), 1fr));
    }
}
@media (aspect-ratio: 1/1) {
    #platos {
        grid-template-columns: repeat(auto-fit, minmax(min(100%/3, max(30%, 100%/5)), 1fr));
    }
}
@media (max-aspect-ratio: 1/1) {
    h1 {
        font-size: 2em;
    }
    #platos {
        grid-template-columns: 1fr;
    }
    .slideshow .slide[data-index="1"] .image-container {
        background-image: url(../imagenes/portada01v.webp);
    }
    .slideshow .slide[data-index="2"] .image-container {
        background-image: url(../imagenes/portada02v.webp);
    }
    .slideshow .slide[data-index="3"] .image-container {
        background-image: url(../imagenes/portada03v.webp);
    }
    .slideshow .slide[data-index="4"] .image-container {
        background-image: url(../imagenes/portada04v.webp);
    }
    .slideshow .slide[data-index="5"] .image-container {
        background-image: url(../imagenes/portada05v.webp);
    }
    #seccionCarta #contenedor_carta .contenedor_carta {
        width: 24vh;
        height: 24vh;
    }
    #seccionCarta .contenedor_carta .texto_carta {
        font-size: 0.5rem;
        grid-column: 1 / span 4;
    }
    .ocultarparamovil {
        display: none;
    }
    #seccionCarta .contenedor_carta .texto_carta button,
    #seccionCarta .contenedor_carta .texto_carta a {
        font-size: 0.8rem;
    }
    #contact-form {
        width: 100%;
    }
    #seccionContacto .datos-contacto {
        font-size: 0.8rem;
    }
    #contact-form .privacycheckbox a {
        /* font-size: 0.5rem;
        vertical-align: inherit; */
    }
    .horario {
        width: 100%;
    }
}
#menu_dia, #carta_navidad {
    padding: 2rem;
    margin: 0.5rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    /* max-width: 400px; */
}