/* Reviews Carousel Styles */
.wc-reviews-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 50px;
    box-sizing: border-box;
}

.reviews-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-slide {
    flex: 0 0 33.333%;
    padding: 10px;
    box-sizing: border-box;
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.review-product-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 8px;
    overflow: hidden;
}

.review-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.review-rating {
    margin-bottom: 12px;
    text-align: center;
}

.review-rating .star {
    font-size: 18px;
    margin: 0 2px;
}

.review-rating .star.filled {
    color: #ffc107;
}

.review-rating .star.empty {
    color: #e0e0e0;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    flex: 1;
    text-align: center;
}

.review-author {
    text-align: center;
    margin-bottom: 10px;
}

.review-author strong {
    display: block;
    font-size: 15px;
    color: #333;
    margin-bottom: 3px;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-product {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.review-product a {
    font-size: 13px;
    color: #7eb934;
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-product a:hover {
    color: #5a8a1f;
    text-decoration: underline;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    background: #7eb934;
    color: #fff;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Dots Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 8px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #7eb934;
    transform: scale(1.2);
}

.carousel-dots .dot:hover {
    background: #aaa;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .review-slide {
        flex: 0 0 50%;
    }
    
    .wc-reviews-carousel {
        padding: 0 40px;
    }
}

@media (max-width: 600px) {
    .review-slide {
        flex: 0 0 100%;
    }
    
    .wc-reviews-carousel {
        padding: 0 35px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .review-card {
        padding: 20px;
    }
}

/* No reviews message */
.no-reviews {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
}
