.elementor-custom-elementor-slideshow {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.elementor-custom-elementor-slideshow .swiper {
    width: 100%;
    position: relative;
}

.elementor-custom-elementor-slideshow .swiper-slide {
    text-align: center;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.elementor-custom-elementor-slideshow .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Container de vídeo */
.elementor-custom-elementor-slideshow .swiper-slide[data-slide-type="video"] {
    height: 100%;
}

.elementor-custom-elementor-slideshow-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.elementor-custom-elementor-slideshow-video-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Navegação (setas) */
.elementor-custom-elementor-slideshow .swiper-button-next,
.elementor-custom-elementor-slideshow .swiper-button-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateY(-50%);
    top: 50%;
    z-index: 2;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
}

.elementor-custom-elementor-slideshow .swiper-button-next {
    right: 20px;
}

.elementor-custom-elementor-slideshow .swiper-button-prev {
    left: 20px;
}

.elementor-custom-elementor-slideshow .swiper-button-next:hover,
.elementor-custom-elementor-slideshow .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.elementor-custom-elementor-slideshow .swiper-button-next:after,
.elementor-custom-elementor-slideshow .swiper-button-prev:after {
    display: none;
}

/* Estado desabilitado dos botões */
.elementor-custom-elementor-slideshow .swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

/* Estilo dos ícones SVG */
.elementor-custom-elementor-slideshow .swiper-button-next svg,
.elementor-custom-elementor-slideshow .swiper-button-prev svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    display: block;
}

.elementor-custom-elementor-slideshow .elementor-icon svg {
    width: 100%;
    height: 100%;
}

/* Paginação (bolinhas) */
.elementor-custom-elementor-slideshow .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    padding: 10px 0;
}

.elementor-custom-elementor-slideshow .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
    margin: 0 4px;
    pointer-events: auto;
}

.elementor-custom-elementor-slideshow .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Transition Effects */
.elementor-custom-elementor-slideshow[data-effect="fade"] .swiper-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.elementor-custom-elementor-slideshow[data-effect="fade"] .swiper-slide-active {
    opacity: 1;
}

.elementor-custom-elementor-slideshow[data-effect="cube"] .swiper-cube-shadow {
    background: rgba(0, 0, 0, 0.2);
}

.elementor-custom-elementor-slideshow[data-effect="coverflow"] .swiper-slide {
    transform-style: preserve-3d;
}

/* Garante que os botões fiquem visíveis apenas em loop infinito */
.swiper-infinite .swiper-button-disabled {
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Controles responsivos */
@media screen and (max-width: 767px) {
    .elementor-custom-elementor-slideshow .swiper-button-next,
    .elementor-custom-elementor-slideshow .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .elementor-custom-elementor-slideshow .swiper-button-next svg,
    .elementor-custom-elementor-slideshow .swiper-button-prev svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    .elementor-custom-elementor-slideshow .swiper-button-next,
    .elementor-custom-elementor-slideshow .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
    
    .elementor-custom-elementor-slideshow .swiper-button-next svg,
    .elementor-custom-elementor-slideshow .swiper-button-prev svg {
        width: 18px;
        height: 18px;
    }
}
