/* Main Carousel Container */
.wrc-review-carousel {
    position: relative;
    padding: 40px 0 60px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* Review Box Styling */
.wrc-review-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: auto;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0.9;
}

.swiper-slide-active .wrc-review-box {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    opacity: 1;
}

/* Review Header */
.wrc-review-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.wrc-product-name {
    color: #2c3e50;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Custom Star Rating */
.wrc-star-rating {
    --star-size: 22px;
    --star-color: #ddd;
    --star-background: #ffb900;
    --rating: 0;
    
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
    position: relative;
}

.wrc-star-rating::before {
    content: '★★★★★';
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--star-background) calc(var(--rating) * 20%), var(--star-color) calc(var(--rating) * 20%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Review Content */
.wrc-review-content {
    color: #555;
    line-height: 1.7;
}

.wrc-review-author {
    font-size: 1rem;
    margin: 0 0 15px 0;
    color: #333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.wrc-verified-buyer {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.wrc-verified-buyer::before {
    content: '✓';
    margin-right: 4px;
    font-size: 0.7rem;
}

.wrc-review-text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #4a4a4a;
    line-height: 1.7;
}

.wrc-review-date {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 20px;
    font-style: italic;
}

/* Navigation Buttons */
.swiper-button-next, 
.swiper-button-prev {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    color: #4a4a4a;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background: #4a4a4a;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next {
    right: 20px;
}

/* Pagination */
.swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #4a4a4a;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wrc-review-carousel {
        padding: 30px 0 50px;
    }
    
    .wrc-review-box {
        padding: 25px;
        margin: 10px;
    }
    
    .swiper-button-next, 
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        display: none; /* Hide on mobile if preferred */
    }
    
    .wrc-product-name {
        font-size: 1.1rem;
    }
    
    .wrc-star-rating {
        --star-size: 20px;
    }
    
    .wrc-review-text {
        font-size: 0.95rem;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}