.reviews-section {
    padding: 60px 0;
    background-color: #fefefe;
    overflow: hidden;
    position: relative;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-header {
    margin-bottom: 50px;
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.star-icon {
    width: 24px;
    height: 24px;
}

.rating-text {
    margin-left: 10px;
    font-size: 16px;
    color: #666;
}

.header-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.reviews-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
}

.reviews-navigation {
    display: flex;
    gap: 10px;
    justify-content: end;
    padding-right: 2rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: #F8F8F7;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: #768071;
    transform: scale(1.05);
}

.nav-btn:hover svg {
    stroke: white;
}

.reviews-slider-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.reviews-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.review-slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
}

.review-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.review-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.review-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.review-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.review-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.review-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #323232;
    margin: 0;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.star-small {
    width: 16px;
    height: 16px;
}

.review-product-btn {
    padding: 12px;
    background: white;
    border: 2px solid #768071;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #768071;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-reviews {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    grid-column: 1 / -1;
}

.mobile-slide-indicators {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    padding-bottom: 10px;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.slide-dot.active {
    background-color: #768071;
    transform: scale(1.2);
}

@media (max-width: 1200px) {
    .review-slide {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 992px) {
    .header-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .reviews-navigation {
        position: static;
        transform: none;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 50px 0;
    }

    .reviews-slider-container {
        padding-left: 15px;
        overflow: visible;
        cursor: grab;
    }

    .reviews-slider-container:active {
        cursor: grabbing;
    }

    .reviews-title {
        font-size: 2rem;
    }

    .review-slide {
        flex: 0 0 calc(85% - 15px);
        min-width: calc(85% - 15px);
        scroll-snap-align: start;
    }

    .reviews-slider {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-right: 15px;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
    }

    .review-image-wrapper {
        height: 220px;
    }

    .mobile-slide-indicators {
        display: flex;
    }

    .reviews-navigation {
        display: flex;
        margin-top: 1rem;
    }

    .reviews-slider-container {
        mask-image: linear-gradient(to right,
                transparent 0%,
                black 10%,
                black 90%,
                transparent 100%);
        -webkit-mask-image: linear-gradient(to right,
                transparent 0%,
                black 10%,
                black 90%,
                transparent 100%);
    }

    .rating-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .reviews-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .header-bottom {
        gap: 15px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .review-slide {
        flex: 0 0 calc(90% - 15px);
        min-width: calc(90% - 15px);
    }
}