/* Estilos generales */
@font-face {
    font-family: "Cocomat Pro";
    src: url("/fonts/cocomat-pro/CocomatPro-Regular.woff2") format("woff2"),
         url("/fonts/cocomat-pro/CocomatPro-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "TAN Nimbus";
    src: url("/fonts/tnmbs/TAN-NIMBUS.woff2") format("woff2"),
         url("/fonts/tnmbs/TAN-NIMBUS.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cocomat Pro", sans-serif;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    padding-top: 60px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background-color: #ffffff;
    color: #000000;
    padding: 0 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}



nav {
    display: flex;
    justify-content: space-between; /* Logo izquierda / menú derecha */
    align-items: center; /* Centra verticalmente */
    height: 100%;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}


.enlaceBlanco{
    color: rgb(0, 0, 0);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0px;
}

.nav-links li {
    display: inline;
    margin: 0 15px; /* Espacio aumentado entre los elementos del menú */
    text-transform: uppercase;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    letter-spacing: 0.35em;
    padding: 5px 0;
    position: relative;
}

/*IMPORTANT*/
.destacar-nav{
    color: #ac0505 !important;
}

.hover-underline.destacar-nav::after{
    background-color: #ac0505 !important;
}

/* Estilo de la línea inferior en hover */
.hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background-color: #000000; /* Color de la línea */
    transform: scaleX(0); /* Comienza oculta */
    transform-origin: right; /* Inicia desde la derecha */
    transition: transform 0.3s ease; /* Suavidad de la transición */
}

/* Al pasar el ratón, la línea aparece */
.hover-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left; /* Animación de izquierda a derecha */
}

/* Estilos de sección */
.section {
    padding: 40px 20px; /* Mayor padding para un mejor espaciado */
    text-align: center;
}

dab{
    font-family: "TAN Nimbus", sans-serif;
}


/* Formulario */
form label {
    display: block;
    margin: 10px 0 5px;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ---- */

.card img {
    transition: transform 0.3s ease;
}

.card{
    transition: transform 0.3s ease;
    height: 100px;
    margin-bottom: 0px;
    min-height: 250px;
}

.card:hover{
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card:hover #masInfo{
    display: block;
}

.card img:hover {
    transform: scale(1.05);
}

#cartaAperitivos{
    display: flex;
    flex-wrap: wrap; /* Permite que las cartas pasen a una nueva fila */
    gap: 20px; /* Espacio entre las cartas */
    justify-content: center;
}

.letterSpacing{
    letter-spacing: 0.35em;
}

#imagenCarta {
    width: 100%; /* Asegura que ocupe el espacio disponible en la tarjeta */
    max-height: 650px;
    max-width: 600px; /* Define un ancho máximo en pantallas grandes */
    height: auto; /* Mantiene la relación de aspecto */
    padding-top: 2%;
    border-radius: 8px;
    object-fit: cover;
}


.flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}


/* Estilos del menú hamburguesa */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.hamburger-menu span {
    height: 3px;
    width: 100%;
    background-color: #000; /* Negro para que se vea sobre fondo blanco */
    margin: 4px 0;
    transition: 0.3s;
}

/* Mostrar el ícono de menú hamburguesa y ocultar enlaces en pantallas pequeñas */
@media (max-width: 1041px) {
        nav {
        justify-content: space-between;
        align-items: center;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        right: 0;
        flex-direction: column;
        background-color: #ffffff;
        width: 80%;
        max-width: 250px;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
        text-transform: uppercase;
    }
     .nav-links li {
        margin: 10px 0;
    }
    .hamburger-menu {
        display: flex;
    }

    /* Cuando se activa el menú (por JS) */
    .nav-links.nav-active {
        display: flex;
    }
}

/* Efecto de animación de menú hamburguesa en estado activo */
    /* Efecto animado del icono */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

/* Estilos generales para los botones flotantes */
.flotanteRRSS {
    opacity: 80%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #25D366; /* Color predeterminado de WhatsApp */
    border-radius: 50%;
    display: flex;
    align-items: center; /* Centra el ícono verticalmente */
    justify-content: center; /* Centra el ícono horizontalmente */
    color: #fff; /* Color del ícono */
    font-size: 1.7em; /* Tamaño del ícono */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    cursor: pointer;
    text-decoration: none; /* Elimina el subrayado de enlace */
    line-height: 0; /* Asegura que el ícono esté centrado */
}

/* Estilo para el icono de Instagram */
.flotanteRRSS.ig {
    background-color: #E1306C; /* Color de Instagram */
    bottom: 85px; /* Ajusta la posición para que no se sobrepongan */
}

/* Efecto al pasar el cursor */
.flotanteRRSS:hover {
    transform: scale(1.1); /* Aumenta el tamaño */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.enlaceProducto{
    text-decoration: none;
    color: black;
}

.col .card{
    border: none;
}

/* --------------- PAGINA DE PRODUCTO  ------------------------- */
 /* Estilos generales */
 .product-page {
    padding: 60px;
    margin-bottom: 50px;
}
.main-image img {
    width: 100%;
    border-radius: 8px;
    max-height: 500px;
    object-fit: cover;
}
.thumbnail {
    width: 100%;
    height: 150px;
    cursor: pointer;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: transform 0.2s;
    object-fit: cover;
}
.thumbnail:hover {
    transform: scale(1.05);
}
.thumbnail-gallery {
    max-width: 80px;
}
.product-info {
    padding-left: 20px;
}
.toggle-detail {
    cursor: pointer;
    color: #555;
    font-weight: bold;
}

 /* Carrusel personalizado */
.carouselSPP {
    display: none;
    overflow: hidden;
    position: relative;
    max-height: 350px;
    width: 100%;
}
.carousel-imagesSPP {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-imagesSPP img {
    width: 100%; /* Cambiar de 50% a 100% para que cada imagen ocupe el ancho completo del contenedor */
    object-fit:cover;
}
.carousel-controlSPP {
    position: absolute;
    display: flex;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transform: translateY(-50%);
    align-items: center; /* Centra el ícono verticalmente */
    justify-content: center; /* Centra el ícono horizontalmente */
}
.carousel-controlSPP.left {
    left: 10px;
    line-height: 0;
}
.carousel-controlSPP.right {
    right: 10px;
    line-height: 0;
}

/* Mostrar el carrusel solo en pantallas pequeñas */
@media (max-width: 768px) {
    .thumbnail-gallery, .main-image {
        display: none;
    }
    .carouselSPP {
        display: block;
    }
}

/*  */

/* Estilos del acordeón */
.accordion {
    width: 100%;
    max-width: 500px;
}
.accordion-item {
    border-bottom: 1px solid #ddd;
}
.accordion-header {
    background-color: #f9f9f9;
    color: #555;
    font-weight: bold;
    width: 100%;
    text-align: left;
    padding: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
.accordion-header:hover {
    background-color: #eee;
}
.accordion-content {
    display: none; /* Oculto por defecto */
    padding: 10px;
    background-color: #fafafa;
    color: #333;
}

/* INDEX PACKS */

/* Estilos de la sección de packs */
.packs-section {
    background-color: #f5f5f5;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    animation: fadeIn 1s ease-out;
}

.packs-section h2 {
    font-family: "TAN Nimbus", serif;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
}

.packs-section p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PACK SPP */
/* Estilos generales de la sección */
.packs-section {
    padding: 60px 20px;
    background-color: #f8f8f8; /* Color de fondo suave */
    text-align: center;
}


/* Botón de ver pack */
.btn-pack {
    display: inline-block;
    background-color: #d99156; /* Color principal */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-pack:hover {
    background-color: #4C5866;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/*30_01_25*/
 /* ----- Contenedor Principal ----- */
 .hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Ajustable */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}
/* ==== SLIDESHOW HERO (sin zoom) ==== */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out; /* solo difuminado */
}

.hero-slideshow .slide.active {
  opacity: 1;
}



/* ----- Contenido del Hero ----- */
.hero-content {
    position: relative;
    color: white;
    /* text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); */
    padding: 20px;
    min-width: 100vw;
    animation: fadeInUp s ease-out forwards;
    animation-delay: 0.3s;
    background: rgba(80, 80, 80, 0.2); /* Fino fondo oscuro semitransparente */
    padding: 15px;
    backdrop-filter: blur(2px); 
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    white-space: nowrap; 
}

.hero-subtitle {
    font-size: 2rem;
    margin-top: 10px;
    font-weight: 500;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9); /* Un blanco con leve transparencia */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); /* Sombra más ligera */
}


/* ----- Botón CTA ----- */
.cta-button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background: #d4a373; /* Bonito degradado */
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
}

/* ----- Responsividad ----- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.8rem; }
    .cta-button { font-size: 1.3rem; padding: 12px 25px; }
}

@media (max-width: 768px) {
    .hero-section { height: 80vh; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.5rem; }
    .cta-button { font-size: 1.2rem; padding: 10px 20px; }
}

@media (max-width: 480px) {
    .hero-section { height: 80vh; display: flex; justify-content: center; align-items: center; }
    
    .hero-content {
        width: 90%;
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.2rem; /* Reducido para que quepa en una línea */
        text-align: center;
        white-space: normal; /* Permite mejor ajuste */
        line-height: 1.1; /* Ajuste de espaciado */
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        white-space: normal;
        overflow-wrap: break-word;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 8px 18px;
    }
}



    /* Animación */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /**/

    .servicios {
        display: flex;
        justify-content: center;
        gap: 100px;
        margin: 40px auto;
        max-width: 900px;
        flex-wrap: wrap; /* Permite que los elementos pasen a la siguiente línea si no caben */
    }
    
    .servicio-item {
        position: relative;
        width: 100%;
        max-width: 400px;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .servicio-item img {
        width: 100%;
        display: block;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }
    
    .servicio-item:hover img {
        transform: scale(1.05);
    }
    
    .servicio-texto {
        position: absolute;
        bottom: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 20px;
        text-align: center;
        border-radius: 0 0 10px 10px;
    }
    
    .btn-servicio {
        display: inline-block;
        margin-top: 10px;
        padding: 10px 20px;
        background-color: #9bb89c;
        color: white;
        text-decoration: none;
        font-weight: bold;
        border-radius: 5px;
        transition: background 0.3s ease;
    }
    
    .btn-servicio:hover {
        background-color: #7e9a7e;
    }
    
    /* 🔹 Diseño para pantallas pequeñas (MODO MÓVIL) */
    @media (max-width: 768px) {
        .servicios {
            flex-direction: column;
            align-items: center;
            gap: 35px;
        }
    
        .servicio-item {
            max-width: 90%; /* Hace que las imágenes sean más grandes en móviles */
        }
    
        .servicio-texto {
            padding: 25px;
            font-size: 1.2em;
        }
    
        .btn-servicio {
            padding: 12px 25px;
            font-size: 1em;
        }
    }
    

/**/
.historia {
    padding: 50px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.historia h2 {
    font-size: 2.2em;
    color: #4a4a4a;
    margin-bottom: 30px;
}

/* Estilos generales para los bloques de historia */
.historia-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: auto;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.historia-texto {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.historia-texto p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

/* Imágenes */
.historia-imagen {
    flex: 1;
    max-width: 400px;
}

.historia-imagen img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Alternar imágenes y texto */
.historia-reverse {
    flex-direction: row-reverse;
}

/* 🔹 Diseño responsivo */
@media (max-width: 768px) {
    .historia-contenido {
        flex-direction: column;
        text-align: center;
    }

    .historia-texto {
        text-align: center;
    }

    .historia-reverse {
        flex-direction: column;
    }
}


/* Estilos del scroll personalizado */
::-webkit-scrollbar {
    width: 8px;
  }
  
  ::-webkit-scrollbar-track {
    background-color: #f0f0f000;
    border-radius: 10px;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #757575;
    border-radius: 10px;
    transition: background-color 0.3s ease;
  }

  /* Sección de introducción de eventos */

.hero {
    background: url('/media/platos_carta/tostaPresaP.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;  /* Asegura que no exceda el ancho de la pantalla */
    max-width: 100%;
    overflow: hidden;
}

.hero-overlay {
    background: rgba(56, 56, 56, 0.3);
    padding: 50px;
    min-width: 100vw;
    backdrop-filter: blur(1px);
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: bold;
}
.boton-elegante {
    background-color: #d4a373;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s;
}
.boton-elegante:hover {
    background-color: #bf8a5e;
}
.galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 50px 20px;
    max-width: 100%;
}

.galeria img {
    width: calc(45% - 10px); /* 50% del ancho menos el espacio del gap */
    max-width: 100%;
    height: auto; /* Ajusta la altura proporcionalmente */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: block;
}

/* En pantallas menores a 768px (modo móvil), las imágenes ocuparán el 100% del ancho */
@media (max-width: 768px) {
    .galeria img {
        width: 100%;
    }
}

/* Contenedor del formulario */
.formulario-container {
    background: #ffffff;
    padding: 50px 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    max-width: 800px;
}

/* Estilo del título */
.titulo-formulario {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: #333;
}

/* Descripción debajo del título */
.descripcion-formulario {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

/* Estilos generales de los inputs */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: bold;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
}

/* Cambios al enfocar el input */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #d4a373;
    outline: none;
    box-shadow: 0px 0px 5px rgba(212, 163, 115, 0.5);
}

/* Botón de Enviar */
.boton-reserva {
    background-color: #d4a373;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
}

.boton-reserva:hover {
    background-color: #bf8a5e;
}

/* Mejoras para móviles */
@media (max-width: 768px) {
    .titulo-formulario {
        font-size: 1.8rem;
    }
    
    .formulario-container {
        padding: 30px 15px;
    }
}

.boton-reserva {
    background-color: #d4a373;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 15px;
    transition: background 0.3s;
}
.boton-reserva:hover {
    background-color: #bf8a5e;
}


/* 🔹 CORRECCIÓN RESPONSIVE PARA MÓVILES */
@media (max-width: 768px) {
    .hero {
        height: 75vh; /* Reducimos altura en móviles */
        padding: 30px 15px;
    }

    .hero-overlay {
        padding: 20px;
    }

    .hero h1 {
        font-size: 2rem; /* Reducimos tamaño del título */
        line-height: 1.1;
    }

    .boton-elegante {
        font-size: 1rem;
        padding: 12px 20px;
    }
}


/* Formulario de reserva */
#eventosFormulario {
    text-align: center;
}



    .boton-elegante {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: bold;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: white;
        background: linear-gradient(135deg, #ff7e5f, #feb47b);
        padding: 12px 30px;
        position: relative;
        transition: all 0.3s ease-in-out;
        text-decoration: none;
        overflow: hidden;
        border: transparent;
        border-radius: 5px;
    }
    
/* CARRITO */
.carrito-flotante {
    position: fixed;
    top: 100px;
    right: 10px;
    background: white;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    z-index: 900;
}

.carrito-flotante i{
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 1.5rem;
    width: 100%;
    height: 100%;
}

.carrito-flotante:hover {
    border-color: #007bff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

#notificacion-carrito {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: red;
    border-radius: 50%;
    display: none;
    opacity: 0; /* Inicialmente invisible */
    transition: opacity 0.2s ease, transform 0.2s ease; /* Transición suave */
}

/* Animación para mostrar la notificación */
@keyframes notificacion-entrada {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50%{
        transform: scale(2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Cuando la notificación tiene display block, se activa la animación */
#notificacion-carrito.mostrar {
    display: block;
    animation: notificacion-entrada 0.5s ease forwards;
}



.productos, .carrito {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.producto, .producto-carrito {
    border: 1px solid #ddd;
    padding: 15px;
    max-width: 300px;
}


.labelCantidad {
    font-weight: bold;
    margin-bottom: 5px;
}

#cantidad {
    width: 60px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.agregar {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    margin: 15px;
}


#lista-carrito {
    border: 1px solid #ddd;
    padding: 15px;
}

.formulario-compra {
    max-width: 500px;
    margin: auto;
}


.textoCuadrado {
    border: 1px solid rgba(0, 0, 0, 0.1); /* Borde sutil */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera y elegante */
    padding: 20px; /* Espaciado interno para que el contenido respire */
    background-color: white; /* Fondo blanco para resaltar el contenido */
}




/* Input */
#buscador {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 1em;
  color: #333;
  background: transparent;
}


/* Overlay de carga */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  z-index: 9999;
}
.loader-card {
  display: inline-flex;
  align-items: center;
  padding: .9rem 1.1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  font-weight: 500;
}
.loader-text { font-size: .95rem; }


/* BOTON FILTRO EXTRA */
/* Posicionamiento relativo del botón para el badge */
.pos-rel { position: relative; }

/* Badge redondo y pequeño en el botón de filtro */
.badge-filtros {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc3545; /* rojo Bootstrap */
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff; /* halo blanco elegante */
}



/* SCROLL TO TOP */
/* Botón scroll to top */
.scroll-top-btn{
  position: fixed;
  right: 20px;
  bottom: 170px;           /* > IG está a 85px, así no se pisan */
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 1001;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;     /* No clickeable cuando está oculto */
  line-height: 0;
}
.scroll-top-btn:hover{ background: rgba(0,0,0,0.9); }
.scroll-top-btn.visible{
  opacity: 50%;
  transform: translateY(0);
  pointer-events: auto;
}

/* Ajuste móvil: un poco más alto para no tapar dedos/barras */
@media (max-width: 576px){
  .scroll-top-btn{ bottom: 170px; }
}

/* NUEVO FILTRO */

/* Botón "Filtrar" visible */
.btn-filtro{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:16px 22px; border-radius:9px; border:1px solid #ddd;
  background:#fff; font-weight:600; cursor:pointer;
  transition: box-shadow .2s ease, transform .1s ease;
  line-height: 0;
  margin-top: 15px;
  margin-bottom: 15px;
  color: #000;
  /* 👇 lo importante para que siga visible al hacer scroll */
  position: sticky;
  top: 100px;      /* un poco por debajo del header (90px) */
  z-index: 900;    /* por debajo del header (1000), pero por encima del contenido */
}
.btn-filtro:hover{ box-shadow:0 2px 8px rgba(0,0,0,.08); }
.btn-filtro:active{ transform:scale(.98); }

/* Overlay */
.drawer-overlay[hidden]{ display:none; }
.drawer-overlay{
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(0,0,0,.25);
  opacity:0; transition: opacity .2s ease;
}
.drawer-overlay.visible{ opacity:1; }

/* Drawer lateral derecho */
.drawer[hidden]{ display:none; }
.drawer{
  position: fixed; top:0; right:0; height:100vh; width:min(92vw, 380px);
  background:#fff; z-index: 1201; display:flex; flex-direction:column;
  box-shadow: -24px 0 60px rgba(0,0,0,.18);
  transform: translateX(100%); opacity:.98;
  transition: transform .25s ease;
}
.drawer.open{ transform: translateX(0); }

.drawer-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1px solid #eee;
}
.icon-btn{ all:unset; cursor:pointer; padding:6px; border-radius:6px; }

.drawer-content{
  padding: 14vh 16px; overflow:auto; flex: 1 1 auto;
  display:flex; flex-direction:column; gap:18px;
}
.drawer-field label{ display:flex; align-items:center; gap:.5rem; margin:.35rem 0; cursor:pointer; }
.drawer-field input[type="text"]{
  width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:10px;
}
/* --- CHECKBOX PERSONALIZADOS --- */
.checkFiltro {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #aaa;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  margin-right: 8px;
  transition: all .2s ease;
}

.checkFiltro:hover {
  border-color: #333;
}

/* Estado marcado */
.checkFiltro:checked {
  background-color: #000;
  border-color: #000;
}

.checkFiltro:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Etiquetas */
.drawer-field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  margin-bottom: 6px;
}

.drawer-field .field-title {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.destacar-nav {
  font-weight: 600;
  color: #000;
}

.field-title{ font-weight:700; color:#333; }

/* ---------- Footer minimal & elegante ---------- */
.site-footer{
  /* Paleta */
  --bg: #ffffff;
  --fg: #161616;
  --muted: #6b7280;
  --border: rgba(0,0,0,.08);

  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Marca */
.site-footer .footer-logo{
  width: 56px; height: 56px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  object-fit: cover;
}

.site-footer .footer-tagline{
  color: var(--muted);
  font-size: .92rem;
}

/* Títulos y listas */
.site-footer .footer-title{
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: .75rem;
  color: var(--fg);
}

.site-footer .footer-list{
  margin: 0; padding: 0;
}

.site-footer .footer-list li + li{
  margin-top: .25rem;
}

/* Enlaces */
.site-footer .footer-link{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--fg);
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease, border-color .2s ease, transform .1s ease;
  border-bottom: 1px solid transparent;
}

.site-footer .footer-link:hover{
  opacity: 1;
  border-color: var(--border);
}

.site-footer .footer-link i{
  font-size: 1rem;
  line-height: 0;
}

/* Redes */
.site-footer .footer-social{
  display: flex;
  gap: .5rem;
}

.site-footer .social-btn{
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: white;
  line-height: 0;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
  transition: transform .1s ease, box-shadow .2s ease, background .2s ease;
}

.site-footer .social-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* Separador y bottom */
.site-footer .footer-divider{
  height: 1px; border: 0; margin: 28px 0;
  background: var(--border);
}

.site-footer .footer-bottom{
  color: var(--muted);
  font-size: .9rem;
}

.site-footer .footer-bottom .footer-link{
  color: inherit;
  border-color: transparent;
}

.site-footer .footer-bottom .footer-link:hover{
  color: var(--fg);
  border-color: var(--border);
}

/* Accesibilidad */
.site-footer a:focus-visible,
.site-footer .social-btn:focus-visible{
  outline: 2px solid var(--border);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Responsive detalles */
@media (max-width: 767.98px){
  .site-footer .footer-brand{
    margin-bottom: .5rem;
  }
  .site-footer .footer-social{
    margin-top: .25rem;
  }
}

/* Modo oscuro automático */
@media (prefers-color-scheme: dark){
  .site-footer{
    --bg: #0f1114;
    --fg: #e5e7eb;
    --muted: #9ca3af;
    --border: rgba(255,255,255,.1);
  }
  .site-footer .social-btn{
    background: transparent;
    border-color: var(--border);
    box-shadow: none;
  }
  .site-footer .social-btn:hover{
    background: rgba(255,255,255,.06);
    box-shadow: none;
  }
}

/* Menos movimiento para quien lo prefiera */
@media (prefers-reduced-motion: reduce){
  .site-footer *{ transition: none !important; }
}

.btn-sec{
  border:1px solid #ddd; background:#fff; padding:8px 14px; border-radius:10px; cursor:pointer;
}
.btn-pri{
  border:none; background:#000; color:#fff; padding:8px 14px; border-radius:10px; cursor:pointer;
}
.btn-link{
  border:none; background:transparent; color:#555; text-decoration:underline; cursor:pointer;
}
.acciones{ display:flex; gap:.5rem; }

#btnCerrarDrawer{
    background-color: #000;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    margin: 15px;
}

#btnLimpiarDrawer{
    background-color: #000;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    margin: 15px;
}

/* Reutiliza tu .badge-filtros existente */

.product-card {
    position: relative;
    overflow: hidden; /* por si la etiqueta se acerca al borde */
}

/* Etiqueta Especial Navidad */
.pill-navidad {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 4px 10px;
    border-radius: 999px;

    background: #ac0505;
    border: 1px solid rgba(0, 0, 0, 0.04);

    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;

    color: white; /* verde elegante; cámbialo por tu color de marca si quieres */
    pointer-events: none; /* para no molestar el clic en el enlace */
    z-index: 2;
}

.pill-navidad .bi {
    font-size: 0.9rem;
}

/* Bloque de opciones del pavo */
.pavo-options {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 14px 16px;
    background: #fbfaf8;
}

.pavo-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b6b6b;
    margin-bottom: 6px;
}

/* Select más elegante */
.pavo-select {
    border-radius: 999px;
    border-color: rgba(0, 0, 0, 0.12);
    font-size: 0.9rem;
    padding-inline: 14px;
    padding-block: 8px;
    background-color: #ffffff;
}

.pavo-select:focus {
    border-color: #c1a27b;
    box-shadow: 0 0 0 0.1rem rgba(193, 162, 123, 0.25);
}

/* Extra de huevo hilado */
.pavo-extra.form-check{
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.08);
    padding: 8px 12px;
    background: #ffffff;
}

.pavo-extra .form-check-input {
    margin-right: 10px;
    box-shadow: none;
}

.pavo-extra .form-check-input:checked {
    background-color: #c1a27b;
    border-color: #c1a27b;
}

.pavo-extra .form-check-input{
    margin: 0;           /* quitamos márgenes de Bootstrap */
    flex-shrink: 0;
}

/* Que el texto y el precio se repartan el espacio */
.pavo-extra .form-check-label{
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.pavo-extra-title{
    font-size: 0.9rem;
    margin: 0;
}

.pavo-extra-price{
    font-size: 0.9rem;
    font-weight: 600;
}
