/* Carousel Styles — Espaçamento Generoso e Moderno */
.mf-carousel-section {
    margin-bottom: var(--mf-space-3xl);
    position: relative;
}

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--mf-space-lg);
    padding-left: 4px;
}

.carousel-title {
    font-size: 1.35rem;
    font-weight: var(--mf-font-weight-bold);
    color: var(--mf-text);
    letter-spacing: -0.01em;
}

.carousel-wrapper {
    position: relative;
    padding: 0;
}

.carousel-track {
    display: flex;
    gap: 24px; /* Espaço claro e nítido entre os cards */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 16px 8px 24px 8px; /* Folga superior e inferior para evitar corte de escala no hover */
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    width: 250px;
}

@media (max-width: 767px) {
    .carousel-item {
        width: 170px;
    }
    .carousel-track {
        gap: 16px;
    }
}

.carousel-btn {
    position: absolute;
    top: calc(50% - 10px);
    transform: translateY(-50%);
    width: 44px;
    height: 72px;
    background: rgba(10, 10, 10, 0.75);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--mf-transition-fast), background var(--mf-transition-fast), transform var(--mf-transition-fast);
    border-radius: var(--mf-radius-sm);
}

.carousel-wrapper:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(229, 9, 20, 0.9);
    border-color: rgba(229, 9, 20, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn-left {
    left: -4px;
}

.carousel-btn-right {
    right: -4px;
}
