/* wrapper geral (IMPORTANTE) */
.widget-images-carousel-wrapper {
    position: relative;
    padding: 0 23px;
}

/* container swiper */
.widget-images-carousel {
    width: 100%;
}

/* NÃO mexe no fluxo do swiper */
.widget-images-carousel .swiper-wrapper {
    display: flex;
}

/* slide */
.widget-images-carousel .swiper-slide {
    display: block;
}

/* item */
.carousel-lightbox {
    display: block;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
}

/* imagem */
.carousel-lightbox img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* hover */
.carousel-lightbox:hover img {
    transform: scale(1.05);
}

/* 🔥 SETAS FORA DO SWIPER */
.widget-images-carousel-wrapper .swiper-button-prev,
.widget-images-carousel-wrapper .swiper-button-next {
    position: absolute;
    z-index: 10;

    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #F3F7F9;
}

/* ícones */
.widget-images-carousel-wrapper .swiper-button-prev::after,
.widget-images-carousel-wrapper .swiper-button-next::after {
    font-size: 14px;
    color: #1c7ce4;
}

/* posição (agora fora de verdade) */
.widget-images-carousel-wrapper .swiper-button-prev {
    left: 0;
}

.widget-images-carousel-wrapper .swiper-button-next {
    right: 0;
}

/* disabled */
.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* 🔥 LightGallery sempre acima */
.lg-outer {
    z-index: 2147483647 !important;
}

.lg-backdrop {
    z-index: 2147483646 !important;
}

/* responsivo */
@media (max-width: 1024px) {
    .carousel-lightbox img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .carousel-lightbox img {
        height: 150px;
    }

    /* setas mais próximas no mobile */
    .widget-images-carousel-wrapper .swiper-button-prev {
        left: 5px;
    }

    .widget-images-carousel-wrapper .swiper-button-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .carousel-lightbox img {
        height: 130px;
    }
}