.slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
}

.slides {
    display: flex;
    transition: transform 0.9s ease-in-out;
    width: 100%;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 18px;
    cursor: pointer;
    border: none;
    z-index: 2;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Dots o indicadores */
.dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
    z-index: 2;
}

.dots span {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dots .active {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-container {
        aspect-ratio: unset;
        height: auto;
    }

    .slides {
        flex-direction: row; /* <-- CORREGIDO */
    }

    .slides img {
        height: auto;
    }

    .prev,
    .next {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dots span {
        height: 8px;
        width: 8px;
    }
}
