/* 슬라이더 전체 감싸는 영역 */
.review-banner-wrap {
    width: 100%;
    position: relative;
    margin: 0 auto;
    padding: 40px 40px;
    background-color: #ecedff; /* 연보라 배경 유지 */
}

/* Swiper 컨테이너 */
.review-banner-container {
    padding: 15px;
    overflow: hidden;
    max-width: 1200px;

}

/* 카드 기본 스타일 (기존 디자인 유지) */
.review-banner-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: auto !important; /* 상품명에 따라 늘어나도록 */
    box-sizing: border-box;
    align-items: center;
    text-align: center;
    width: 25%;
}

/* 헤더: 이름 & 별점 */
.review-banner-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.review-banner-user {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.review-banner-stars {
    color: #ffcc00;
    font-size: 16px;
}

/* 이미지 박스 (4:3 비율 고정) */
.review-banner-img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #eee;
}

.review-banner-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.review-banner-img-box:hover img {
    transform: scale(1.05);
}

/* 파란색 태그 */
.review-banner-tag {
    display: inline-block;
    align-self: center;
    background-color: #4b6bff;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
}

/* 하단 텍스트 (줄바꿈 대응) */
.review-banner-content {
    text-align: center;
}

.review-banner-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 4px 0;
    word-break: keep-all; /* 한글 예쁘게 줄바꿈 */
}

.review-banner-label {
    font-weight: 700;
    color: #222;
}

/* 네비게이션 버튼 (기존 스타일 유지) */
.review-banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #5a78ff;
    background: white;
    color: #5a78ff;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s;
}

.review-banner-nav:hover {
    background: #5a78ff;
    color: white;
}

.review-banner-nav-wrap {
position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    left: 50%;
}

.review-banner-prev{left: -22px;}

.review-banner-next { right: -24px}

/* 화면 작아질 때 화살표 안으로 이동 */
@media (max-width: 1400px) {
    .review-banner-prev { left: 10px; }
    .review-banner-next { right: 10px; }
}