/* --- Contenedor del Carrusel Refinado --- */
.banner-precio {
    width: 95%; /* Un poco de aire a los lados */
    max-width: 1100px;
    margin: 30px auto;
    height: 400px; /* Altura más cómoda para ver los textos del banner */
    position: relative;
    overflow: hidden;
    
    /* Fondo Glassmorphism para suavizar la transición con el fondo verde de la web */
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    /* Bordes y Sombra */
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* --- Ajuste de las Imágenes --- */
.banner-precio img {
    width: 100%;
    height: 100%;
    /* 'cover' hará que la imagen llene todo el espacio sin dejar bordes blancos */
    object-fit:fill;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

/* --- Animación Automática (2 Imágenes) --- */
.banner-precio img:first-child {
    animation: fadeCycle 10s infinite;
}

.banner-precio img:last-child {
    animation: fadeCycle 10s infinite reverse;
}

@keyframes fadeCycle {
    0%, 45% { opacity: 1; z-index: 2; }
    55%, 100% { opacity: 0; z-index: 1; }
}

/* --- Mejoras de Diseño Adaptadas --- */

/* 1. Viñeta interna para dar profundidad */
.banner-precio::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.05);
    pointer-events: none;
    z-index: 3;
    border-radius: 25px;
}

/* 2. Efecto de elevación al pasar el mouse */
.banner-precio:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .banner-precio {
        height: 250px;
        width: 90%;
        border-radius: 15px;
    }
}