/* ===== 고객 이용 후기 섹션 ===== */
.testimonials {
    padding: 60px 0;
    background-color: transparent; /* 배경 색상 제거 */
    overflow: hidden;
}

.reviews-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 30px;
}

.reviews-slider {
    display: flex;
    animation: scrollLeft 120s linear infinite; /* 속도 더 줄임 */
    width: max-content;
}

.review-item {
    width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.review-rating {
    display: flex;
    margin-bottom: 15px;
    order: -1; /* 별점을 맨 위로 이동 */
}

.star {
    color: #FEE500; /* 카카오 버튼 색상과 동일 */
    font-size: 1.2rem;
    margin-right: 3px;
    border-radius: 50%; /* 별을 둥근 형태로 변경 */
}

.review-product {
    color: #00BF73;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 600;
    order: 0; /* 상품명을 별점 다음으로 배치 */
    text-align: left;
    align-self: flex-start;
}

.review-content {
    color: #666;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 25px;
    flex-grow: 1;
    position: relative;
    padding: 0 10px;
    font-weight: 500;
}

.review-content::before {
    content: '\201C'; /* 열린 따옴표 */
    font-size: 2.5rem;
    color: #f0f0f0;
    position: absolute;
    left: -10px;
    top: -15px;
    font-family: Georgia, serif;
    font-weight: bold;
}

.review-content::after {
    content: '\201D'; /* 닫힌 따옴표 */
    font-size: 2.5rem;
    color: #f0f0f0;
    position: absolute;
    right: -10px;
    bottom: -30px;
    font-family: Georgia, serif;
    font-weight: bold;
}

.review-name {
    font-weight: 600;
    color: #333;
    align-self: flex-end; /* 오른쪽 하단으로 이동 */
    margin-top: auto;
    font-size: 0.9rem;
}

/* 슬라이드 애니메이션 */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .review-item {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .review-item {
        width: 220px;
        padding: 15px;
    }
    
    .star {
        font-size: 1rem;
    }
    
    .review-content {
        font-size: 0.9rem;
    }
}
