.reviews-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.reviews-carousel {
    width: 100%;
    overflow: hidden;
}

.reviews-carousel-wrapper {
    width: 100%;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1rem;
    /* padding: 1rem 0.5rem; */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.review-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    /* width: clamp(280px, 85vw, 350px); */
    width: 100%;
    scroll-snap-align: start;
    scroll-margin: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding: 0 var(--padding);
}

.review-rating {
    /* color: #ffa500; */
    color: white;
    margin-right: auto;
    font-size: var(--variable-font-h2);
}

.review-text {
    margin-bottom: 1rem;
    padding: 1rem 0;
}

.review-item .review-text {
    text-align: left !important;
}

.review-author {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-top: auto;
}

.review-time {
    display: none;
}

.author-name {
    font-weight: 600;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: #666;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        scroll-behavior: auto;
    }
}