/* SwiftCarousel - Estilos del Carrusel */
.swiper-container {
    width: 100%;
    max-width: 100% !important;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.swiper-slide img:hover {
    /*transform: scale(0.9)*/
}

/* ðŸ”¹ Establecer tamaÃ±o de las flechas */
.swiper-button-next,
.swiper-button-prev {
    width: 30px !important; /* Aumenta el tamaÃ±o */
    height: 30px !important; /* Aumenta el tamaÃ±o */
    background-color: rgba(0, 0, 0, 0.6) !important; /* Color de fondo */
    border-radius: 5px !important; /* Hace las flechas circulares */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* ðŸ”¹ Cambiar el tamaÃ±o del icono de la flecha */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 15px !important; /* Aumenta el tamaÃ±o del icono */
    color: white !important; /* Color del icono */
}

/* ðŸ”¹ Efecto al pasar el cursor */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #005a5782 !important; /* Color de fondo al hacer hover */
}

/* ðŸ”¹ Posicionamiento */
.swiper-button-next {
    right: 15px !important;
}

.swiper-button-prev {
    left: 15px !important;
}

.swiper-pagination {
    position:unset !important;
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: #005a573a !important;
    width: 10px;
    height: 3px;
    border-radius: 0;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #005a57 !important;
    opacity: 1;
}

/* ðŸ”¹ Ocultar flechas cuando no son necesarias */
.hide-navigation .swiper-button-next,
.hide-navigation .swiper-button-prev {
    display: none !important;
}

/* Texto dentro de los carruseles comunes */
.carousel-item-container {
    position: relative;
}

.carousel-caption {
    display: block;
    background: #19827d; /* fondo verde */
    color: #fff;
    padding: 10px 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    text-transform: uppercase;
}

/*lightbox carousel*/
body.lightbox-open {
    overflow: hidden !important;
}

.lb-close {
    display: none !important;
}

/* Asegurar imagen centrada */
.lightbox {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    position: fixed !important;
}

/* Asegurar que el overlay cubra todo */
.lightboxOverlay {
    position: fixed !important;
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 9999;
}


@media (max-width: 767px) {
    .swiper-container {
        width: 100%;
        max-width: 100% !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important; /* Ocultar flechas en mobile */
    }
}

@media (min-width: 768px) {
    .swiper-pagination {
        display: none !important; /* Ocultar puntos en desktop */
    }
}


