.locacoes-block {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.locacoes-block h3 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.locacoes-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.locacoes-card {
    flex: 0 0 auto;
    min-width: 280px;
    max-width: 280px;
    background: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 1px 5px #0001;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.locacoes-card img {
    width: 280px;
    height: 352px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

/* Carrossel ativo */

.locacoes-block.carousel .locacoes-cards {
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.locacoes-block.carousel .locacoes-cards::-webkit-scrollbar {
    display: none;
}

.locacoes-block.carousel .locacoes-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 280px;
}

/* Setas do carrossel */

.locacoes-block.carousel .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 60px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
    user-select: none;
}

.locacoes-block.carousel .carousel-arrow.left {
    left: 5px;
}

.locacoes-block.carousel .carousel-arrow.right {
    right: 5px;
}

.locacoes-block.carousel .carousel-arrow:hover {
    background: rgba(0,0,0,0.6);
}
