.ebsw-slider {
    position: relative;
    width: 100%;
    overflow: visible;
    background: transparent;
    height: auto !important;
}

.ebsw-track {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
}

.ebsw-slide,
.ebsw-slide-link,
.ebsw-slide picture {
    display: block;
    width: 100%;
    height: auto !important;
}

.ebsw-slide {
    position: absolute;
    inset: 0 auto auto 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .75s ease, visibility .75s ease;
    z-index: 1;
    pointer-events: none;
}

.ebsw-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.ebsw-slide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center;
    border: 0;
}

/* Garante que configurações antigas de altura/corte do Elementor não cortem o banner */
.elementor-widget-ebsw_banner_slider .ebsw-slider,
.elementor-widget-ebsw_banner_slider .ebsw-track,
.elementor-widget-ebsw_banner_slider .ebsw-slide,
.elementor-widget-ebsw_banner_slider .ebsw-slide-link,
.elementor-widget-ebsw_banner_slider .ebsw-slide picture,
.elementor-widget-ebsw_banner_slider .ebsw-slide img {
    min-height: 0 !important;
    max-height: none !important;
}

.ebsw-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .28);
    color: #fff;
    font-size: 25px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.ebsw-arrow:hover {
    background: rgba(0, 0, 0, .48);
    transform: translateY(-50%) scale(1.05);
}

.ebsw-prev { left: 22px; }
.ebsw-next { right: 22px; }

.ebsw-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.ebsw-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    opacity: .45;
    cursor: pointer;
    transition: opacity .25s ease, transform .25s ease;
}

.ebsw-dot.is-active,
.ebsw-dot:hover {
    opacity: 1;
    transform: scale(1.22);
}

@media (max-width: 767px) {
    .ebsw-arrow {
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 20px;
    }

    .ebsw-prev { left: 12px; }
    .ebsw-next { right: 12px; }

    .ebsw-dots { bottom: 10px; }
}
