/* 추천 차량 섹션 스타일 */
.recommended-cars-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.recommended-cars-header {
    text-align: center;
    margin-bottom: 2rem;
}

.recommended-cars-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
}

.recommended-cars-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.recommended-cars-slider-wrapper {
    position: relative;
    padding: 0 3rem;
}

.recommended-cars-slider {
    overflow: hidden;
    width: 100%;
}

.recommended-cars-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1rem;
}

.recommended-cars-slide {
    flex: 0 0 auto;
    width: 100%;
}

/* 모바일: 1개 */
@media (max-width: 767.98px) {
    .recommended-cars-section {
        margin: 2rem 0 0.5rem 0;
        padding: 1.5rem 0 1rem 0;
    }
    
    .recommended-cars-header {
        margin-bottom: 1.5rem;
    }
    
    .recommended-cars-title {
        font-size: 1.25rem;
    }
    
    .recommended-cars-subtitle {
        font-size: 0.85rem;
    }
    
    .recommended-cars-slide {
        width: 100%;
    }
    
    .recommended-cars-slider-wrapper {
        padding: 0rem;
    }
}

/* 태블릿: 2개 */
@media (min-width: 768px) and (max-width: 991.98px) {
    .recommended-cars-slide {
        width: calc(50% - 0.5rem);
    }
}

/* 데스크탑: 3개 */
@media (min-width: 992px) {
    .recommended-cars-slide {
        width: calc(33.333% - 0.667rem);
    }
}

.recommended-cars-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recommended-cars-nav-btn:hover {
    background: var(--brand-color, rgb(118, 32, 246));
    border-color: var(--brand-color, rgb(118, 32, 246));
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(118, 32, 246, 0.3);
}

.recommended-cars-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.recommended-cars-nav-btn:disabled:hover {
    background: #ffffff;
    border-color: #e9ecef;
    color: inherit;
}

.recommended-cars-prev {
    left: 0;
}

.recommended-cars-next {
    right: 0;
}

@media (max-width: 767.98px) {
    .recommended-cars-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .recommended-cars-slider-wrapper {
        padding: 0rem;
    }
}

