.reviews__wrapper {
    background-color: #FFFFFF;
    padding: 66px 16px 110px 16px;
    background-image: url("https://img.slimivex.com/checkout/comments-bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.reviews {
    max-width: 1182px;
    margin: 0 auto;
    width: 100%;
}

/* COMMENT STYLES */

.comments {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
}

.comments__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 240px;
    width: 100%;
}

.comment__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    margin-bottom: 13px;
}

.person {
    display: flex;
    align-items: center;
    gap: 8px;
}

.person-image {
    width: 70px;
    height: 70px;
}

.person-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.person-name {
    color: var(--color-primary);
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    margin-bottom: 2px;
}

.person-country {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.flag-image {
    width: 18px;
    height: auto;
}

.time-ago {
    color: rgba(112, 112, 112, 1);
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}

.comment__rating {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
}

.comment__rating-img {
    height: 16px;
    width: auto;
}

.comment-text {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 450;
}

/* Стилі для свайпера */
.comments-swiper {
    display: none;
    width: 100%;
    overflow: hidden;
}

.swiper-slide {
    width: 240px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.swiper-slide-next {
    opacity: 0.5;
    filter: blur(1px);
}

.comments-swiper .swiper-pagination {
    margin-top: 34px !important;
    text-align: center !important;
    bottom: auto !important;
    top: auto !important;
    display: block !important;
}

.comments-swiper .swiper-pagination-bullets,
.comments-swiper .swiper-pagination-horizontal {
    bottom: auto !important;
}

.comments-swiper .swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    background-color: #214F4F !important;
    opacity: 0.2 !important;
    margin: 0 8px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.comments-swiper .swiper-pagination-bullet-active {
    background-color: #214F4F !important;
    opacity: 1 !important;
}

@media (min-width: 1024px) {
    .reviews__wrapper {
        padding: 50px 24px;
    }

    .comments {
        grid-template-columns: repeat(4, 1fr);
        column-gap: 72px;
    }

    .comments-swiper {
        display: none;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .comments {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 32px;
    }

    .comments-swiper {
        display: none;
    }
}

@media (max-width: 767px) {
    .comments {
        display: none;
    }

    .comments-swiper {
        display: block;
    }

    .swiper-pagination {
        display: block;
    }
}