/* reviews-carousel.css — без переопределения шрифтов */

.reviews-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 40px;
}

.reviews-carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

.review-card {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.review-card:hover {
    transform: translateY(-5px);
}

.reviewer-name {
    font-weight: 600;
}

.reviewer-status {
    margin-top: 5px;
}

.review-stars {
    margin: 15px 0;
}

.star.filled {
    color: var(--wp--preset--color--accent-1, #ffc107);
}

.star.empty {
    color: #ccc; /* всегда серый */
}

.review-text {
    font-style: italic;
}

.review-date {
    margin-top: 15px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: var(--wp--preset--color--accent-1, #333);
}

@media (max-width: 768px) {
    .reviews-carousel-container {
        padding: 10px 0;
    }
    
    .carousel-prev,
    .carousel-next {
        display: none;
    }
    
    .review-card {
        padding: 20px;
    }
}