/* --- BANNER PRINCIPAL --- */
.banner-principal {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/banner_principal.avif');
    background-size: cover;
    background-position: center;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: #ffffff;
}

.banner-contenido {
    max-width: 800px;
    border: 1px solid rgba(212, 160, 123, 0.4);
    border-radius: 120px;
    padding: 3rem 2rem;
}

.banner-titulo {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fcf6f0;
}

.banner-texto {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #e6d9c8;
}

/* Botón estilo pastilla */
.btn-principal {
    display: inline-block;
    background-color: #a66b45;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-principal:hover {
    background-color: #8c5736;
}

/* --- SECCIÓN FAVORITOS (PRODUCTOS) --- */
.seccion-favoritos {
    padding: 4rem 2rem;
    text-align: center;
}

.seccion-titulo {
    font-size: 2rem;
    color: #3b2219;
    margin-bottom: 0.5rem;
}

.seccion-subtitulo {
    color: #6b5344;
    margin-bottom: 3rem;
}

/* Flexbox Grid para los productos */
.productos-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 3rem auto;
}

.producto-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Contenedor de imagen fijo para garantizar el mismo tamaño */
.producto-imagen-contenedor {
    width: 100%;
    height: 240px; 
    overflow: hidden;
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.producto-card:hover .producto-img {
    transform: scale(1.05);
}

.producto-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.producto-nombre {
    font-size: 1.25rem;
    color: #3b2219;
    margin-bottom: 0.5rem;
}

.producto-precio {
    font-size: 1.1rem;
    font-weight: bold;
    color: #a66b45;
    margin-bottom: 1.25rem;
}

.btn-whatsapp {
    margin-top: auto;
    display: block;
    text-align: center;
    background-color: #a66b45;
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #8c5736;
}

.catalogo-completo-contenedor {
    text-align: center;
}

.btn-secundario {
    display: inline-block;
    background: transparent;
    color: #3b2219;
    border: 1px solid #a66b45;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secundario:hover {
    background-color: #a66b45;
    color: #ffffff;
}

/* Divisor */
.divisor-seccion {
    max-width: 800px;
    height: 1px;
    background-color: rgba(166, 107, 69, 0.3);
    margin: 0 auto;
}

/* --- SECCIÓN QUIÉNES SOMOS --- */
.seccion-historia {
    padding: 4rem 2rem;
}

.historia-contenedor {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.historia-imagen-wrapper {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.historia-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.historia-texto {
    flex: 1;
    min-width: 300px;
}

.seccion-titulo-izq {
    font-size: 2rem;
    color: #3b2219;
    margin-bottom: 1rem;
}

.historia-texto p {
    color: #4a3b32;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* --- MEDIA QUERIES RESPONSIVE --- */
@media (max-width: 768px) {
    .banner-contenido {
        border-radius: 30px;
        padding: 2rem 1rem;
    }
    
    .banner-titulo {
        font-size: 1.8rem;
    }

    .historia-contenedor {
        flex-direction: column;
    }
}