/* Reviews Section Styles — burgundy & gold (brand) */
.reviews-section {
    background: #fefefe;
    padding: 100px 50px;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold, #CCAC6F), var(--accent-amber, #5D0C1D), var(--accent-gold, #CCAC6F), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    /* allow wrapping to fix glitches */
}

/* Left Side: Badge and Reviewer Info */
.reviews-left {
    flex: 1 1 350px;
    /* More flexible width */
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.reviews-badge {
    background-color: var(--accent-amber, #5D0C1D);
    color: var(--accent-light, #fdf5ec);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    letter-spacing: 1px;
    border: 1px solid rgba(204, 172, 111, 0.45);
    box-shadow: 0 4px 14px rgba(93, 12, 29, 0.12);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-gold, #CCAC6F);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px rgba(204, 172, 111, 0.65);
}

.reviewer-info-container {
    animation: fadeIn 1s ease-in-out;
}

.reviewed-product {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    border: 1px solid rgba(204, 172, 111, 0.35);
    box-shadow: 0 8px 28px rgba(93, 12, 29, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.reviewed-product:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 172, 111, 0.55);
    box-shadow: 0 12px 32px rgba(93, 12, 29, 0.12);
}

.reviewed-product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.reviewed-product-info {
    display: flex;
    flex-direction: column;
}

.reviewed-label {
    font-size: 0.7rem;
    color: var(--accent-gold, #CCAC6F);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.reviewed-name {
    font-weight: 600;
    color: var(--accent-amber, #5D0C1D);
    font-size: 0.95rem;
}

.reviewer-header {
    margin-top: 10px;
}

.reviewer-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-amber, #5D0C1D);
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-badge {
    color: var(--accent-gold, #CCAC6F);
    font-size: 1rem;
}

.reviewer-stars {
    color: var(--accent-gold, #CCAC6F);
}

.reviewer-title {
    font-size: 0.95rem;
    color: rgba(93, 12, 29, 0.55);
    margin-top: 2px;
}

/* Right Side: Heading, Quote, Navigation */
.reviews-right {
    flex: 1 1 500px;
    /* More flexible */
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
    /* Prevent text spilling out */
}

.reviews-heading {
    letter-spacing: -0.02em;
}

.reviewsSwiper {
    width: 100%;
}

.review-quote {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-right: 20px;
}

.review-quote i {
    font-size: 2.5rem;
    color: var(--accent-gold, #CCAC6F);
    margin-top: 5px;
    opacity: 0.9;
}

.quote-text {
    font-size: 1.05rem;
    color: rgba(61, 8, 19, 0.88);
    line-height: 1.6;
    font-weight: 400;
}

.review-navigation {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.review-prev,
.review-next {
    width: 45px;
    height: 45px;
    background: linear-gradient(145deg, var(--accent-gold, #CCAC6F), #d4b581);
    color: var(--accent-amber, #5D0C1D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 14px rgba(93, 12, 29, 0.15);
    border: 1px solid rgba(93, 12, 29, 0.12);
    z-index: 10;
}

.review-next {
    background: linear-gradient(145deg, #d4b581, var(--accent-gold, #CCAC6F));
}

.review-prev:hover,
.review-next:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(93, 12, 29, 0.2);
    filter: brightness(1.03);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .reviews-container {
        flex-direction: column;
        gap: 40px;
    }

    .reviews-left,
    .reviews-right {
        flex: 1 1 100%;
        width: 100%;
    }

    .reviews-left {
        gap: 30px;
    }
}