﻿body {
}
/* css/estilos.css (ACTUALIZADO) */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0; /* Quita el padding para el banner full-width */
}

/* --- NUEVO: Estilos de Banner Full-Width --- */
.seccion-banner-principal {
    width: 100%;
    margin-top:75px;
}
@media (min-width:320px){
    .seccion-banner-principal {
        width: 100%;
       margin-top:-200px;
    }
}

@media (max-width: 768px) {
    .seccion-banner-principal {
        width: 100%;
        margin-top: 10px;
    }
}
@media (min-width: 1024px) {
    .seccion-banner-principal {
        width: 100%;
        margin-top: 75px;
    }
}
@media (min-width: 1440px) {
    .seccion-banner-principal {
        width: 100%;
        margin-top: 100px;
    }
}

@media (min-width: 2560px) {
    .seccion-banner-principal {
        width: 100%;
        margin-top: 16vh;
        
    }

}

.banner-carrusel {
    width: 100%;
    height: 400px; /* Altura del banner, ajusta según necesites */
}

    .banner-carrusel .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .banner-carrusel .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Asegura que la imagen cubra el slide */
        }

    /* Colores para la navegación del banner */
    .banner-carrusel .swiper-button-next,
    .banner-carrusel .swiper-button-prev {
        color: #ffffff;
        background-color: #0a9d65;
        padding:25px;
        border-radius:25px;
        --swiper-navigation-size: 30px;
    }

    .banner-carrusel .swiper-pagination-bullet-active {
        background: #ffffff;
    }

/* --- NUEVO: Contenedor para centrar el contenido --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Estilos de Cards (Modificados) --- */
.seccion-cards h1 {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
}

#contenedor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ... (Estilos de .card, .card:hover, .card img, .card-body, etc. se mantienen igual) ... */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card img {
        width: 100%;
        height: 200px; /* Ajusta si es necesario */
        object-fit: cover;
    }

.card-body {
    padding: 15px;
}

    .card-body h3 {
        margin-top: 0;
        font-size: 1.25rem;
    }

    .card-body p {
        font-size: 0.9rem;
        color: #666;
    }


/* --- Estilos de Detalle (Actualizados) --- */
.articulo-detalle {
    max-width: 900px; /* Un poco más ancho para el banner */
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Para contener el banner */
}

/* NUEVO: Estilo para el banner del producto */
.articulo-banner-imagen {
    width: 100%;
    height: 300px; /* Altura para el banner de producto */
    object-fit: cover;
}

/* Contenido del artículo (con padding) */
.articulo-contenido {
    padding: 30px;
}

    .articulo-contenido h1 {
        margin-top: 0;
    }

.articulo-imagen {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
}

.articulo-descripcion-larga {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ... (Estilos de .seccion-extra, .boton-whatsapp, .boton-volver se mantienen igual) ... */
.seccion-extra {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

    .seccion-extra h2 {
        color: #333;
        margin-bottom: 15px;
    }

.boton-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    .boton-whatsapp:hover {
        background-color: #1DA851;
    }

.boton-volver {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

    .boton-volver:hover {
        background-color: #0056b3;
    }