﻿.carouselY-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    z-index: 0;
}

.carouselY-wrapperY {
    width: 100%;
    overflow: hidden;
}

.carouselY-slideY {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carouselY-itemY {
    min-width: 100%;
    transition: opacity 0.5s ease;
}

    .carouselY-itemY img {
        width: 100%;
        height: auto;
        display: block;
    }

.carouselX-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    z-index: 0;
}

.carouselX-wrapper {
    width: 100%;
    overflow: hidden;
}

.carouselX-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carouselX-itemX {
    min-width: 100%;
    transition: opacity 0.5s ease;
}

    .carouselX-itemX img {
        width: 100%;
        height: auto;
        display: block;
    }

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

    .prev-btn:hover, .next-btn:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

@media (max-width: 768px) {
    .prev-btn, .next-btn {
        padding: 5px;
    }
}


/* Mostrar banner certo por dispositivo */
.carousel-desktop {
    display: block;
}

.carousel-mobile {
    display: none;
}

@media (max-width: 768px) {
    .carousel-desktop {
        display: none;
    }

    .carousel-mobile {
        display: block;
    }
}
