/* ============================================================
   SECTION 6: CUSTOMER REVIEWS (ĐÁNH GIÁ CỦA KHÁCH)
   ============================================================ */

.uten-reviews-section {
    padding: 80px 0;
    background: #f8fdf8; /* Xanh lá cực nhạt cho form F&B healthy */
}

.uten-reviews-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Đã chuyển sang cấu trúc Slider của Flatsome (sử dụng class row và col) */
.uten-reviews-slider-wrap {
    position: relative;
    width: 100%;
    padding: 0 20px 40px; /* Thêm padding 2 bên để mũi tên không đè, padding dưới cho dots */
}

/* Tùy chỉnh vị trí mũi tên và dots của Flatsome Slider */
.uten-reviews-slider-wrap .flickity-prev-next-button.previous {
    left: -20px;
}
.uten-reviews-slider-wrap .flickity-prev-next-button.next {
    right: -20px;
}
.uten-reviews-slider-wrap .flickity-page-dots {
    bottom: -10px; /* Kéo dots xuống dưới thẻ */
}

/* CSS rules for equal heights removed to avoid Flickity 0-height bug. Will use JS equal height instead. */
.uten-reviews-slider-wrap .col-inner {
    display: flex;
    flex-direction: column;
}

.uten-review-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef5ee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    opacity: 0;
}
.uten-review-card.is-visible {
    animation: fadeInUpSmooth 2s ease-out forwards;
}

.uten-review-card:nth-child(1) { animation-delay: 0.1s; }
.uten-review-card:nth-child(2) { animation-delay: 0.3s; }
.uten-review-card:nth-child(3) { animation-delay: 0.5s; }
.uten-review-card:nth-child(4) { animation-delay: 0.7s; }

.uten-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(40, 123, 56, 0.1);
}

/* Đánh giá sao */
.uten-review-rating {
    margin-bottom: 15px;
}

.uten-review-rating .star {
    font-size: 20px;
    color: #ddd;
}

.uten-review-rating .star.filled {
    color: #ffb400; /* Màu vàng cam cho sao */
}

/* Nội dung đánh giá */
.uten-review-content {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
}

.uten-review-content::before {
    content: "“";
    font-size: 60px;
    color: var(--uten-secondary, #f28200);
    opacity: 0.15;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Khối thông tin tác giả */
.uten-review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #eef5ee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder svg {
    width: 24px;
    height: 24px;
}

.author-info .author-name {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--uten-primary, #287b38);
}

.author-info .author-role {
    font-size: 13px;
    color: #888;
}

@media (max-width: 768px) {
    .uten-reviews-section {
        padding: 50px 0;
    }
}

@keyframes fadeInUpSmooth {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}
