/* ===================================================
   Customer Reviews Showcase — Public Styles
   Matches warm cream/gold design from reference image
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Lato:wght@300;400;700&display=swap');

.crs-section {
    font-family: 'Lato', sans-serif;
    max-width: 980px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ---- Header ---- */
.crs-section-header {
    text-align: center;
    margin-bottom: 28px;
}

.crs-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #3b2106;
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.crs-overall-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.crs-overall-stars .crs-star {
    font-size: 2rem;
    color: #f59e0b;
    text-shadow: 0 1px 3px rgba(245,158,11,0.3);
}

/* ---- Carousel ---- */
.crs-carousel {
    position: relative;
}

.crs-carousel-track {
    position: relative;
    overflow: hidden;
}

.crs-slide {
    display: none;
    animation: crs-fadeIn 0.4s ease;
}

.crs-slide.crs-slide-active {
    display: block;
}

@keyframes crs-fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Review Card ---- */
.crs-review-card-front {
    background: #fff;
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 4px 32px rgba(59,33,6,0.08), 0 1px 4px rgba(59,33,6,0.05);
    display: flex;
    gap: 32px;
    align-items: stretch;
    min-height: 260px;
    border: 1px solid rgba(245,158,11,0.12);
}

.crs-review-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---- Reviewer ---- */
.crs-reviewer-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.crs-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #fef3c7;
    box-shadow: 0 2px 10px rgba(245,158,11,0.2);
}

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

.crs-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.crs-reviewer-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f1204;
    font-family: 'Playfair Display', serif;
}

.crs-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #d97706;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 2px;
}

.crs-verified-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Review Text ---- */
.crs-review-text {
    font-size: 0.97rem;
    line-height: 1.75;
    color: #4b3621;
    flex: 1;
}

.crs-review-text strong {
    color: #1f1204;
}

/* ---- Stars & Footer ---- */
.crs-review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crs-stars {
    display: flex;
    gap: 2px;
}

.crs-star {
    font-size: 1.25rem;
    line-height: 1;
}

.crs-star-filled  { color: #f59e0b; }
.crs-star-empty   { color: #d1d5db; }

.crs-time-ago {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 400;
}

/* ---- Thumbnail Images ---- */
.crs-thumb-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.crs-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #fef3c7;
    transition: transform 0.2s ease, border-color 0.2s;
    flex-shrink: 0;
}

.crs-thumb:hover {
    transform: scale(1.05);
    border-color: #f59e0b;
}

.crs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Featured Image ---- */
.crs-featured-image {
    width: 280px;
    min-width: 280px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(59,33,6,0.12);
}

.crs-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Carousel Navigation ---- */
.crs-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.crs-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e5c990;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #d97706;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.crs-nav-btn svg {
    width: 18px;
    height: 18px;
}

.crs-nav-btn:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
    box-shadow: 0 3px 12px rgba(245,158,11,0.35);
}

.crs-carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.crs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #d1b882;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.crs-dot.crs-dot-active {
    background: #f59e0b;
    width: 24px;
    border-radius: 6px;
}

/* ---- No reviews ---- */
.crs-no-reviews {
    text-align: center;
    color: #9ca3af;
    padding: 40px;
    font-style: italic;
}

/* ---- Responsive ---- */
@media ( max-width: 700px ) {
    .crs-review-card-front {
        flex-direction: column;
        padding: 24px 20px;
    }

    .crs-featured-image {
        width: 100%;
        min-width: 0;
        height: 220px;
    }

    .crs-section-title {
        font-size: 1.5rem;
    }
}
