       /* ---------------------------------------------------------------- */
        /* --- IMPORTACIÓN DE FUENTES: Inter (Moderna) + Playfair Display (Barroca) --- */
        /* ---------------------------------------------------------------- */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

        /* Reinicio */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body { 
            background: linear-gradient(90deg, #c9c5c3d1 100%);
            /* FUENTE DEL CUERPO: PLAYFAIR DISPLAY para estilo barroco/clásico */
            font-family: 'Playfair Display', serif;
            padding-top: 64px; 
            color: #333; /* Color de texto más oscuro */
        }
        
        /* FUENTES DE INTERFAZ Y NAVEGACIÓN: INTER para claridad */
        .main-header, .logo, .nav-links, .nav-link, .menu-toggle {
            font-family: 'Playfair Display', sans-serif;
        }

        /* Contenedor del logo */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .icon-svg {
            width: 54px; 
            height: 44px;
        }
        .promo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

        /* ------------------- HEADER GENERAL ------------------- */
        .main-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #f4f4f4ce; 
            box-shadow: 0 2px 4px rgba(205, 182, 182, 0.5); 
            z-index: 50;
        }

        .main-nav {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
            height: 64px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-image {
            width: 70px; 
            height: 40px;
            border-radius: 8px;
            object-fit: cover;
            margin-right: 0;
            vertical-align: middle;
        }
        
         .logo,h1{
         font-size:clamp(0.5rem,4vw,2.5rem); 
            font-weight: 700; 
            color: #1f2937;
            margin-left: -15px; 
            text-decoration: none;
            flex-shrink: 0;
        }
        h2 ,h3 {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 1rem;
        }
      
       
        p {
    font-size: clamp(0.875rem, 3.5vw, 1.125rem);
                font-weight: 600;

    line-height: 1.6;
    margin-bottom: 1rem;
    margin-left: 1rem;
    margin-right: 1rem;

    color: #000000;
}
h4 {
    font-style: oblique;
    font-family:sans-serif;
text-align: center;
    font-size: clamp(2rem, 3.5vw, 2.5rem);
            font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
} 
h5 {
    font-style: oblique;
    text-align: center;
    font-size: clamp(1.875rem, 3.5vw, 2.25rem);
            font-weight: 600;
    color: #1f2937;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

        /* ------------------------------------------------------------- */
        /* --- BOTÓN HAMBURGUESA (MÓVIL) --- */
        /* ------------------------------------------------------------- */
        .menu-toggle {
            padding: 0.5rem;
            border-radius: 0.375rem;
            color: #4b5563; 
            cursor: pointer;
            transition: background-color 0.15s;
            z-index: 20; 
            border: none;
            background: transparent;
        }

        .menu-toggle:hover {
            background-color: #f3f4f6;
        }
        
        /* ------------------------------------------------------------- */
        /* --- MENÚ PRINCIPAL (MÓVIL-FIRST) --- */
        /* ------------------------------------------------------------- */
        .nav-links {
            position: absolute;
            top: 74px; 
            left: 0;
            height: 0;
            display: none;
            width:100%;
            background-color: white;
            font-style: oblique;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06); 
            transition: height 0.3s ease-in-out;
            overflow-y: hidden;
            flex-direction: column; 
        }
        
        .nav-list {
            display: flex;
            flex-direction: column; 
            padding: 1rem;
            list-style: none;
            margin: 0;
        }

        /* Espaciado en móvil */
        .nav-list li {
            margin-bottom: 0.5rem; 
        }
        .nav-list li:last-child {
            margin-bottom: 0;
        }
        
        /* Contenedor del link (Importante: SOLO position: relative) */
        .nav-link {
            position: relative; 
        }

        .nav-link a {
            display: flex; 
            
            padding: 0.5rem 0.75rem; 
            border-radius: 0.375rem;
            font-size:1em; 
            font-weight: 900; 
            color: #4b5563; 
            text-decoration: none;
            transition: background-color 0.15s, color 0.15s;
        }

        .nav-link a:hover {
            background-color: #eef2ff; 
            color: #4f46e5; 
        }

        /* Estilo para la flecha de despliegue */
        .arrow-icon {
            transition: transform 0.3s ease;
            margin-left: 0.5rem;
            display: block; 
        }
        .nav-link.open .arrow-icon {
            transform: rotate(180deg);
        }

        /* ------------------------------------------------------------- */
        /* --- SUBMENÚS (BASE/MÓVIL) --- */
        /* ------------------------------------------------------------- */
        .submenu {
            background-color: #f9fafb; 
            max-height: 0; 
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease-out;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
            list-style: none;
            margin: 0;
            display: block;
        }

        /* Clase controlada por JS para desplegar en móvil */
        .submenu.open {
            max-height: 500px; 
            padding-top: 0.5rem !important; 
            padding-bottom: 0.5rem !important; 
        }

        .submenu li a {
            padding: 0.5rem 1rem 0.5rem 1.5rem; 
            font-size: 0.875rem; 
            color: #658aba; 
            display: block; 
            justify-content: initial;
        }
        .submenu li a:hover {
            background-color: #e4d5d6; 
            width: auto;
        }
@media (min-width: 767px)  and (max-width: 1224px) {
    
.logo,h1{
         font-size:clamp(0.5rem,2vw,2.5rem);
         width: auto; 
            font-weight: 700; 
            color: #1f2937;
            margin-left: -25px; 
            text-decoration: none;
            flex-shrink: 0;
        }
        
        .nav-links {
            background-color: transparent;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06); 
            transition: height 0.3s ease-in-out;
            overflow-y: hidden;
            flex-direction: column;
            position: relative;
                top: auto;
                left: auto;
                width: auto;
                background-color: transparent;
                box-shadow: none;
                transition: none;
                height: auto !important;
                display: block !important; 
                margin-left: auto;  
        }
        .nav-link {
            margin-right: -20px;
        }
        
        .submenu{
            background-color: red;
        }
}

        /* ------------------------------------------------------------- */
        /* --- MEDIA QUERY: ESCRITORIO (min-width: 768px) --- */
        /* ------------------------------------------------------------- */
        @media (min-width: 768px) {
            
            /* Ocultar el botón de hamburguesa en desktop */
            .menu-toggle {
                display: none !important;
            }

            /* Mostrar el menú de forma horizontal en desktop */
            .nav-links {
                position: relative;
                top: auto;
                left: auto;
                width: auto;
                background-color: transparent;
                box-shadow: none;
                transition: none;
                height: auto !important;
                display: block !important; 
                margin-left: auto; 
            }

            /* Configurar la lista para ser horizontal */
            .nav-list {
                flex-direction: row;
                padding: 110px;
            }
            
            /* Espaciado horizontal en desktop */
            .nav-list li {
                margin-bottom: 0;
                margin-left: 1rem; 
                display: block;
            }
            
            /* Enlace en desktop: Hacemos que ocupe todo el espacio de la LI para mejorar el área de hover. */
            .nav-link a {
                width: 50%; 
            }

            /* Ocultar la flecha de despliegue en desktop */
            .nav-link a .arrow-icon { 
                 display: none;
            }
            
            /* Submenús en desktop (Hover) */
            .submenu {
                position: absolute;
                left: 0;
                min-width: 100px;
                background-color: #fff;
                box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
                border-radius: 0.5rem;
                z-index: 10;
                
                top: 100%; 
                
                /* Propiedades de ocultación y transición para HOVER */
                max-height: 0; 
                padding: 0 !important;
                opacity: 0;
                pointer-events: none; 
                transition: opacity 0.3s ease, max-height 0.3s ease-out, padding 0.3s ease-out;
            }

            /* Despliegue con HOVER en desktop */
            .nav-link:hover .submenu {
                max-height: 500px; 
                padding-top: 0.5rem !important;
                padding-bottom: 0.5rem !important;
                opacity: 1;
                pointer-events: auto;
            }
        }

        /* ------------------------------------------------------------- */
        /* --- ESTILOS DE CONTENIDO --- */
        /* ------------------------------------------------------------- */
        .main-content {
            max-width: 1280px;
            margin: 0 auto;
            padding: 2rem 1rem; 
        }

        /* --- ESTILOS HERO SECTION --- */
        .hero-section {
            min-height: 400px; 
            width: 100%;
            margin-bottom: 2rem;
            /* RUTA DE IMAGEN LOCAL (EJEMPLO) */
            background-image: url('fondopan.jpg'); 
            background-size: contain; 
            background-position: center; 
            background-repeat: no-repeat;
            
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        .hero-content {
            text-align: center;
            background-color: rgba(0, 0, 0, 0.6); 
            color: white;
            padding: 2rem 1rem;
            border-radius: 8px;
            max-width: 80%;
        }

        .hero-content h1 {
             font-size:clamp(0.5rem,5vw,6rem ); 
            font-weight: 700; 
            margin-bottom: 1rem; 
            color: white; 
            padding-right: 0; 
            font-family: 'Playfair Display', serif;
        }

        .hero-content p {
            margin-bottom: 0; 
            color: #d1d5db;
        }
        /* --- FIN ESTILOS HERO SECTION --- */
        
        .content-scroll {
            min-height: 100vh;
            background-image: url('fp2.jpg');
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            padding: 20px;
        }
        
        /* ------------------------------------------------------------- */
        /* --- CONTENEDOR DE CAROUSELES SECUNDARIOS --- */
        /* ------------------------------------------------------------- */
          /* Contenedor principal para cada carrusel secundario */
        .secondary-slider-item {
            /* Flex layout para el carrusel (el .slider-container) y el texto (el div y p) */
            display: flex;
            flex-direction: column;
            align-items: center; /* Centra el texto */
        }
        /* Estilo para el título de cada carrusel secundario (reemplaza text-center mt-2 font-bold text-lg) */
        .secondary-slider-item .slider-title {
            text-align: center;
            margin-top: 0.5rem; /* mt-2 (approx 8px) */
            font-weight: 700; /* font-bold */
            font-size: 1.125rem; /* text-lg (18px) */
            line-height: 1.75rem;
            color: #333; /* Color de texto estándar */
        }
         /* Estilo para el párrafo debajo del carrusel (reemplaza text-center text-sm text-gray-700 px-2 mt-1) */
        .secondary-slider-item .slider-description {
            text-align: center;
            font-size: 0.875rem; /* text-sm (14px) */
            color: #4b5563; /* text-gray-700 */
            padding-left: 0.5rem; /* px-2 (approx 8px) */
            padding-right: 0.5rem; /* px-2 (approx 8px) */
            margin-top: 0.25rem; /* mt-1 (approx 4px) */
        }

        
        
        
        .secondary-sliders {
            display: flex;
            flex-direction: column; 
            gap: 2rem; 
            margin-top: 2rem;
        }

        @media (min-width: 768px) {
              .hero-section {
            min-height: 400px; 
            width: 100%;
            margin-bottom: 2rem;
         
            
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }  
        }
        
        /* ------------------------------------------------------------- */
        /* --- ESTILOS DEL SLIDER - DESKTOP FIRST --- */
        /* ------------------------------------------------------------- */
        .slider-container {
            /* Desktop default: El principal ocupa todo el ancho, los secundarios solo 1/3 */
            width: 50%; 
            max-width: 100%; 
            height: 300px;
            overflow: hidden; 
            position: relative; 
            margin: 0 auto; /* Eliminar el margin vertical, ya lo da el contenedor */
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        /* Estilos específicos para carruseles secundarios */
        .secondary-sliders .slider-container {
             width: 100%; 
             height: 400px; /* Un poco más pequeños */
                          overflow: hidden; 

        }
        
        @media (min-width: 768px) {
             .secondary-sliders {
                flex-direction: row; 
                justify-content: space-between; 
            }
            
             .secondary-sliders .secondary-slider-item {
                 width: 32%; /* Para que quepan 3 en fila con espacio entre ellos */
                 /* Importante: Mantenemos el width en el contenedor padre */
            }
            .secondary-sliders .slider-container {
                /* El slider-container ya no necesita definir el width, lo hace el padre */
                width: 100%; 
                height: 200px; /* Asegura la altura solo de la pista de imagen */
            } 
            .slider-track {
            display: flex; 
            transition: transform 0.5s ease-in-out; 
            height: 100%;
            width: 100%; /* El ancho del track será manipulado por JS, no por CSS fijo */
            align-items: center; /* Centrado vertical */
        }


            .secondary-sliders .slider-container {
                width: 100%; /* Para que quepan 3 en fila con espacio entre ellos */
            }
        }


        /* MEDIA QUERY SOLICITADA: Para pantallas con un ancho máximo de 767px (móvil/tablet) */
        @media (max-width: 767px) {
             /* El slider principal toma la mitad del viewport en móvil */
            #slider-container-main {
                width: 90vw;
                height: 350px;
                border: 15px solid #b78c6e; 
            }
            
            /* Los sliders secundarios toman todo el ancho disponible en móvil */
            .secondary-sliders .slider-container {
                 width: 100%; 
                 height: 250px;
                 border: none;
            }
        }
        
        /* Estilos del carril de imágenes (común para ambos tamaños) */
        .slider-track {
            display: flex; 
            transition: transform 0.5s ease-in-out; 
            height: 100%;
             width: 100%; 
              align-items: center;
        }
         /* Clase para carruseles de 4 elementos (Principal) */
        .slider-track.track-4 img {
            width: calc(100% / 4); /* Cada imagen ocupa 1/4 del ancho total que JS le da al track */
            height: 100%;
            object-fit: cover; /* Asegura que la imagen cubra el espacio sin distorsión */
            flex-shrink: 0; /* IMPEDIR que se reduzca la imagen */
            display: block;
        }
 /* Clase para carruseles de 3 elementos (Secundarios) */
        .slider-track.track-3 img {
            width: calc(100% / 3); /* Cada imagen ocupa 1/3 del ancho total que JS le da al track */
            height: 100%;
            object-fit: cover; /* Asegura que la imagen cubra el espacio sin distorsión */
            flex-shrink: 0; /* IMPEDIR que se reduzca la imagen */
            display: block;
        }
        
      


       
/*ESTILOS PRODUCTOS*/

     /* ========================================================= */
/* --- 1. CONTENEDOR PADRE (IGUAL ALTURA) --- */
/* ========================================================= */
.column-container {
    /* CLAVE: Aplica Flexbox al contenedor de todas las columnas */
    display: flex; 
    flex-wrap: wrap; /* Permite que las columnas pasen a la siguiente línea */
    /* Usamos el nombre que SÍ existe en tu HTML (column-container) */
}

/* El clearfix ya no es necesario con Flexbox, pero lo dejamos vacío */
.row::after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================================= */
/* --- 2. COLUMNAS (.column) --- */
/* ========================================================= */
.column {
    /* CLAVE: Esto asegura que .content1 ocupe 100% de la altura de la columna */
    display: flex;
    flex-direction: column;
    
    /* Configuración de anchos */
    width: 25%; /* Por defecto, 4 columnas en desktop */
    padding: 2px;
}
/* Limpiamos la regla que podría causar conflicto */

/* ========================================================= */
/* --- 3. CONTENIDO INTERNO (.content1) --- */
/* ========================================================= */
.content1 {
    /* CLAVE: Se estira para llenar el 100% de la altura de la columna */
    flex-grow: 1; 
    
    /* Estilos de caja y tipografía */
    font-size: 30px;
    font-family: cursive;
    padding: 5px;
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.696);
    
    /* Hacemos que la imagen y el texto se apilen por defecto (desktop) */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente imagen y texto */
    text-align: center;
}

/* ========================================================= */
/* --- 4. CONTENIDO (IMAGEN y TEXTO) --- */
/* ========================================================= */

.content1 img {
    /* Aseguramos que la imagen no desborde y tiene un tamaño fijo para la estructura */
    display: block;
    max-width: 100%;
    height: 250px; /* Mantener la altura fija que usas en el HTML */
    object-fit: cover; /* Recorta si es necesario para mantener la relación de aspecto */
    margin: 0 auto 10px auto; /* Centrar y dar un poco de margen abajo */
}

.content1 img:hover {
    transform: scale(1.1);
    transition: 0.5s;
}

.text-content {
    /* Asegura que el contenedor de texto se estira si hay espacio */
    flex-grow: 1; 
    padding: 10px 5px; 
}

.text-content p {
    font-family: playfair display, serif;
    font-size: clamp(0.5rem, 3vw, 1.2rem);
    font-weight: 300;
    color: #000000;
    /* Resetear alineación para texto largo */
    text-align: center;
}


/* ========================================================= */
/* --- 5. MEDIA QUERIES (RESPONSIVE) --- */
/* ========================================================= */

/* Tablet: 50% (2 columnas) */
@media (min-width: 601px) and (max-width: 801px) {
    .column{
        width: 50%;
    } 
}

/* Móvil: 100% (1 columna) */
@media screen and (max-width: 600px) {
    .column{
        width: 100%;
        padding: 10px 0; /* Ajustamos padding en móvil */
    } 
    
    /* En móvil, volvemos a poner la imagen al lado del texto */
    .content1 {
        flex-direction: row; /* Imagen y texto uno al lado del otro */
        align-items: center; 
        gap: 10px; 
        padding: 10px;
    }
    
    /* Limitamos el tamaño de la imagen en móvil para que quepa */
    .content1 img {
        height: 120px;
        width: 120px;
        margin: 0;
        flex-shrink: 0; 
    }
    
    .text-content {
        text-align: left; /* Alineamos texto a la izquierda en móvil */
    }
}   
 
/*RECETAS*/
/* ========================================= */
/* --- ESTILOS GENERALES Y LAYOUT --- */
/* ========================================= */

articule {
    /* Contenedor principal para el encabezado de la receta */
    max-width: 900px;
    margin: 40px auto 20px auto; /* Espacio arriba/abajo */
    padding: 0 20px;
    text-align: center;
}

.receta {
    /* Contenedor principal de la receta (main) */
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 20px;
    background-color: #a4808000; /* Fondo blanco suave para la receta */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-title {
    font-family: 'Georgia', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: #8B4513; /* Tono de marrón de panadería */
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 20px;
}

/* Párrafo introductorio bajo el título */
articule p {
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: #021c03; /* Color distintivo para las secciones */
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin: 40px 0 25px 0;
}

/* ========================================= */
/* --- BOTÓN DE NAVEGACIÓN --- */
/* ========================================= */

nav {
    text-align: left;
    margin-bottom: 20px;
}

.nav-button {
    display: inline-block;
    padding: 10px 15px;
    margin-left: 20px;
    background-color: #A0522D; /* Marrón más oscuro */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 0.9rem;
}

.nav-button:hover {
    background-color: #8B4513;
    transform: translateY(-2px);
}

/* ========================================= */
/* --- RESUMEN DE LA RECETA --- */
/* ========================================= */

.recipe-summary {
    display: flex;
    width: 90%;
    justify-content: space-around;
    align-items: center;
    padding: 15px;
    background-color: #FFF8E1; /* Fondo amarillo claro */
    border-radius: 8px;
    margin-bottom: 30px;
    margin-left: 5%;
}

.recipe-summary p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    font-weight: 500;
    text-align: center;
}

.recipe-summary strong {
    color: #D2691E; /* Color marrón tostado para datos importantes */
    font-weight: bold;
    display: block; /* Mueve el valor a una nueva línea para claridad */
    font-size: 1.2rem;
    margin-top: 5px;
}

/* ========================================= */
/* --- GALERÍA DE IMÁGENES --- */
/* ========================================= */

.image-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    overflow: hidden; /* Oculta si hay desbordamiento */
}

.image-gallery img {
    width: 33.33%; /* Tres imágenes ocupan el ancho total */
    height: 180px; /* Altura uniforme para las miniaturas */
    object-fit: cover; /* Asegura que la imagen cubra el área sin deformarse */
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* ========================================= */
/* --- INGREDIENTES Y PREPARACIÓN --- */
/* ========================================= */

.ingredient-list, .steps-list {
    padding-left: 25px;
    font-family: 'Arial', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Lista de ingredientes */
.ingredient-list li {
    list-style-type: disc;
    margin-bottom: 5px;
}

.ingredient-list li strong {
    color: #D2691E;
}

/* Pasos de preparación */
.steps-list {
    counter-reset: step-counter; /* Resetea el contador para pasos */
}

.steps-list li {
    list-style: none; /* Elimina la numeración por defecto */
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}

/* Crea el círculo numerado para los pasos */
.steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #4CAF50; /* Color verde */
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    font-size: 1rem;
}

.steps-list li strong {
    color: #A0522D; /* Color marrón oscuro para los títulos de pasos */
}

/* ========================================= */
/* --- RESPONSIVE (Móviles y Tablets) --- */
/* ========================================= */

@media (max-width: 600px) {
    
    .receta {
        padding: 15px;
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .main-title {
        font-size: 2rem;
        margin-left: 20px;
    }
    
    /* El resumen de la receta se apila en móvil */
    .recipe-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 15px;
    }

    .recipe-summary p {
        text-align: left;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .recipe-summary strong {
        display: inline; /* Vuelve a poner el valor en línea */
        margin-left: 5px;
        font-size: 1rem;
    }

    /* La galería muestra solo una imagen principal */
    .image-gallery {
        flex-direction: column;
        gap: 15px;
    }

    .image-gallery img {
        width: 100%;
        height: auto;
        max-height: 250px;
    }

    .section-title {
        font-size: 1.6rem;
    }
    
    .steps-list li {
        padding-left: 35px;
        font-size: 1rem;
    }

    .steps-list li::before {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 0.9rem;
    }
}



      
  /* formulario*/

 #button-formulario{
    display: flex;
    justify-content: center;
    align-items:center;
    font-size:clamp(
        1.0rem,1vw,2rem );
    border-radius: 15px;
    margin-top: 20px;
    height: 40px;
    background-color: #4CAF50;
    width: auto;
    margin-left: 10%;
  }


/*consentimiento de cookies*/


.btn {
    background-color: #4CAF50;
      text-decoration: none;

    color:black;
    border-radius: 20px;
    border: none;
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

 /* Estilos para la ventana emergente de Cookies */
.cookie-modal {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 1001; /* Asegura que esté por encima de todo lo demás (más alto que el banner anterior) */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Habilita el scroll si el contenido es demasiado grande */
    background-color: rgba(0,0,0,0.6); /* Fondo semi-transparente oscuro */
    justify-content: center; /* Centrar horizontalmente el contenido */
    align-items: center; /* Centrar verticalmente el contenido */
    /* Usamos flexbox para centrar, display:none/flex se gestiona con JS */
}

.cookie-modal-content {
    background-color: #fefefe;
    margin: auto; /* Para centrar en navegadores más antiguos o si no se usa flex */
    padding: 30px;
    border: 1px solid #888;
    width: 80%; /* Ancho del modal */
    max-width: 600px; /* Ancho máximo */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: center; /* Centra el texto dentro del modal */
    transform: translateY(-50px); /* Inicialmente un poco arriba para el efecto de caída */
    opacity: 0; /* Inicialmente transparente */
    transition: transform 0.4s ease-out, opacity 0.4s ease-out; /* Animación */
}

/* Estado del modal cuando está activo (visible) */
.cookie-modal.show {
    display: flex; /* Muestra el modal como un flex container */
}

.cookie-modal.show .cookie-modal-content {
    transform: translateY(0); /* Vuelve a su posición original */
    opacity: 1; /* Completamente visible */
}

.cookie-modal-content h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

.cookie-modal-content p {
    color: #555;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 25px;
}

.cookie-modal-content a {
    color: #007bff; /* Color para el enlace a la política de cookies */
}

.modal-buttons {
    display: flex;
    justify-content: center; /* Centra los botones */
    gap: 15px; /* Espacio entre los botones */
    flex-wrap: wrap; /* Permite que los botones se envuelvan en pantallas pequeñas */
}

.cookie-button {
    background-color: #4CAF50; /* Verde principal */
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Para el enlace 'Saber más' */
    display: inline-block; /* Para que el enlace 'Saber más' se vea como botón */
}

.cookie-button:hover {
    background-color: #45a049;
}

.cookie-button.secondary-button {
    background-color: #007bff; /* Azul para el botón secundario */
    color:black;
}

.cookie-button.secondary-button:hover {
    background-color: #0056b3;
}

/* Deshabilitar el scroll del cuerpo cuando el modal esté activo */
.modal-open {
    overflow: hidden;
}


/* Estilos base para el contenedor de los enlaces de redes sociales (footer-link) */
.footer-link {
    position: fixed; /* Lo ancla a la ventana del navegador */
    bottom: 0;       /* Lo ancla a la parte inferior */
    left: 0;         /* Lo ancla a la izquierda */
    width: 100%;     /* Ocupa todo el ancho */
     background: linear-gradient(90deg, #f0ebe8 100%);

    padding: 10px 0; /* Padding vertical por defecto */
    display: flex;   /* Para organizar los iconos en fila */
    justify-content: center; /* Centra los iconos horizontalmente */
    align-items: center; /* Centra los iconos verticalmente */
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2); /* Sombra sutil */
    z-index: 1000;   /* Asegura que esté por encima de otros elementos */
    text-align: center; /* Centra el texto si hubiera */
}

/* Estilos para los iconos dentro del footer-link */
.footer-link img,
.footer-link svg {
    height: 40px; /* Ajusta un tamaño inicial para los iconos en pantallas grandes */
    width: auto;  /* Mantiene la proporción */
    margin: 0 15px; /* Espacio entre iconos en pantallas grandes */
    transition: transform 0.3s ease; /* Añade una transición suave al pasar el ratón */
}

.footer-link img:hover,
.footer-link svg:hover {
    transform: scale(1.1); /* Ligeramente más grande al pasar el ratón */
}

/* Margen inferior para evitar que el contenido quede oculto detrás del footer fijo */
/* Ajusta este valor para que sea un poco más grande que la altura de tu footer */
body {
    padding-bottom: 70px; /* Un valor inicial, lo ajustaremos con media queries */
}

/* --- Media Queries para Adaptabilidad --- */

/* Pantallas pequeñas (ej. móviles, hasta 600px de ancho) */
@media (max-width: 600px) {
    .footer-link {
        padding: 8px 0; /* Menos padding en pantallas pequeñas */
    }

    .footer-link img,
    .footer-link svg {
        height: 35px; /* Iconos más pequeños en móviles */
        margin: 0 10px; /* Menos espacio entre iconos */
    }

    body {
        padding-bottom: 60px; /* Ajusta este padding para móviles */
    }
}

/* Pantallas medianas (ej. tablets, entre 601px y 900px) */
@media (min-width: 601px) and (max-width: 900px) {
    .footer-link {
        padding: 10px 0; /* Padding estándar */
    }

    .footer-link img,
    .footer-link svg {
        height: 40px; /* Tamaño estándar de iconos */
        margin: 0 15px; /* Espacio estándar entre iconos */
    }

    body {
        padding-bottom: 70px; /* Padding estándar */
    }
}

/* Pantallas grandes (ej. escritorios, a partir de 901px) - Estos son los estilos por defecto
   pero puedes ajustarlos si necesitas algo específico para pantallas muy grandes */
@media (min-width: 901px) {
    .footer-link {
        padding: 12px 0; /* Un poco más de padding en pantallas grandes si se desea */
    }

    .footer-link img,
    .footer-link svg {
        height: 45px; /* Iconos ligeramente más grandes para monitores */
        margin: 0 20px; /* Más espacio entre iconos en pantallas grandes */
    }

    body {
        padding-bottom: 80px; /* Mayor padding para monitores grandes */
    }
}
.parpadeo {
    animation: parpadeo 1s infinite; /* Nombre de la animación, duración, repetición infinita */

}

.whatsapp-link  {
    position: fixed;
    bottom: 70%;       
    right:2%;        
    padding: 10px 0; 
    display: flex; 
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2); 
    z-index: 1000; 
    text-align: center; 

}

/* Estilos para los iconos dentro del footer-link */
.whatsapp-link img,
.whatsapp-link svg {
    height: 80px; /* Ajusta un tamaño inicial para los iconos en pantallas grandes */
    width: auto;  /* Mantiene la proporción */
    margin: 0 15px; /* Espacio entre iconos en pantallas grandes */
    transition: transform 0.3s ease; /* Añade una transición suave al pasar el ratón */
}

.whatsapp-link img:hover,
.whatsapp-link svg:hover {
    transform: scale(1.1); /* Ligeramente más grande al pasar el ratón */
}


 





  

 

