/* --- ESTILOS BASE --- */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f5f5; /* Crema suave: transmite calidez */
    color: #3e2723; /* Marrón chocolate: confianza y sabor */
    overflow-x: hidden;
}

/* --- ANIMACIONES --- */
@keyframes entradaSuave {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fundidoTexto {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.text-justify{
  text-align: justify;
  text-align-last: center;
}

/* --- HEADER LARGO (HERO SECTION) --- */
.main-hero {
    animation: entradaSuave 1.2s ease-out;
}
.hero {
    background: url("img/header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 3 / 1.2; /* Altura del 70% de la ventana */

    animation: entradaSuave 1.2s ease-out; /* Animación de caída suave */
}

.hero h1 {
    font-size: 4.5rem;
    margin: 0;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.6);
    animation: fundidoTexto 2s ease-in;
}

.hero p {
    font-size: 1.8rem;
    margin-top: 15px;
    font-style: italic;
    animation: fundidoTexto 3s ease-in;
}

/* --- CONTENEDOR Y GRID --- */
.container {
    max-width: 1100px;
    margin: 0px auto 60px; 
    padding: 20px;
    position: relative;
    z-index: 10;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid #f3e5f5;
}

.card:hover {
    transform: translateY(-15px); /* Efecto de levitación al pasar el mouse */
}

.card img {
    width: 100%;
    background-size: cover;
    aspect-ratio: 3/2;
    
}

.card-body {
    padding: 30px;
}

.price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e67e22; /* Naranja: Estimula el apetito */
    margin: 15px 0;
}

/* --- BOTÓN PSICOLÓGICO --- */
.btn-all{
    /* Verde: Acción positiva y frescura */
    color: black;
    background-color: #4e0017;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 0, 23, 1);
}
.btn-all-hero{
  font-size: 2.2vw;
  padding: 1vw 2vw;

}
.btn-plus-min{
    /* Verde: Acción positiva y frescura */
    color: white;
    background-color: #4e0017;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 0, 23, 1);
}
.btn-plus-min:hover{
  background-color: #cbcbcb;
  color: black;
  transform: scale(1.05);
}


.btn:hover {
    transform: scale(1.05);
}
/* Contenedor del botón */
.btn-flotante-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* El botón circular/alargado */
.btn-whatsapp-float {
    background-color: #cdacb7;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.btn-whatsapp-float:hover {
    transform: scale(1.05);
    background-color: #cdacb7;
}

/* Badge del contador (el numerito rojo) */
.badge-flotante {
    background-color: #4e0017;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -12px;
    right: 5px;
    border: 2px solid white;
    z-index: 1000;
}

/* Animación sutil */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* En celulares pequeños, ocultar el texto y dejar solo el icono si prefieres */
@media (max-width: 480px) {
    .texto-boton {
        display: none;
    }
    .btn-whatsapp-float {
      
        border-radius: 50%;
        padding: 15px 20px;
    }
}


footer {
    background: #f9f5f5;
    color: #4e0017;
    text-align: center;
    padding: 60px 20px;
}
footer p {
  font-size: 2vw;
  
}
.fuente-bodoni{
  font-family: 'Bodoni moda', serif;
  font-style: italic;
  font-weight: 700;
}
@media(max-width: 768px){
  footer p {
  font-size: 0.8rem;
}
}
