.reviews {
    margin-bottom: 100px;
}
@media (max-width: 575px) {
    .reviews {
        margin-bottom: 80px;
    }
}
.reviews * {
    font-family: 'Open Sans';
}

.review-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.reviews__header {
    margin-bottom: 35px;
}

.article-heading .article-heading__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    padding-bottom: 8px !important;
    letter-spacing: 0;
}

.reviews__header .article-heading {
    padding: 31px 0 0 0;
    letter-spacing: 1px;
}

.reviews__title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.reviews__count {
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0;
}

.reviews__empty {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 40px 0;
}

.review-item {
    gap: 10px;
    padding: 32px;
    border: 1px solid #E9E9E9;
}

.review-item__wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.review-item__product-image {
    flex: 0 0 327px;
}

.review-item__img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.review-item__content {
    flex: 1;
}

.review-item__name {
    font-size: 21px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    display: block;
}

.review-user__name {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 10px;
}

.review-item__date {
    color: #777;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    line-height: 1.4;
}

.review-item__rating {
    margin-bottom: 20px;
    font-size: 19px;
    line-height: 0.7;
    font-weight: 700;
}

.review-item__star {
    color: #ccc;
    font-size: 1.2em;
}

.review-item__star--filled {
    color: gold;
}

.review-item__label {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0;
    margin-bottom: 5px;
    color: #000;
}

.review-item__comment {
    margin-bottom: 24px;
    white-space: pre-wrap;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0;

}

.review-item__media {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.review-item__media-item {
    width: calc(100% / 5 - 10px);
    aspect-ratio: 1;
    /*max-width: 190px;*/
    /*height: 163px;*/
    cursor: pointer;
    overflow: hidden;
}


.review-item__media-item--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .review-item__media-item--image:hover img {
        transform: scale(1.1);
    }
}

@media (max-width: 1024px) {
    .review-item__wrapper {
        flex-direction: column;
    }

    .review-item__product-image,
    .review-item__content {
        flex: none;
        width: 100%;
    }

    .review-item__media-item {
        width: calc(33.33% - 10px);
    }
}

@media (max-width: 575px) {
    .reviews__header {
        margin-bottom: 30px;
    }

    .review-items {
        gap: 16px;
    }

    .review-item__name {

    }

    .review-item {
        padding: 16px;
    }

    .review-item__product-image img {
        width: 100%;
        height: 100%;
    }

    .review-item__product-image {
        height: 274px;
        background: skyblue;
    }

    .review-item__media-item {
        width: calc(100% / 3 - 4px);
    }

    .review-item__media {
        gap: 6px;
    }
}
