.custom-reviews {
    padding-block: 27px 29px;
    color: var(--color-text, #242424);
}

.custom-reviews__container { min-width: 0; }
.custom-reviews__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}
.custom-reviews .custom-reviews__title {
    margin: 0;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
}
.custom-reviews__all {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 10px;
    color: var(--color-muted, #7b7b7b);
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}
.custom-reviews__all img, .custom-reviews__arrow img { display: block; flex: 0 0 auto; }
.custom-reviews__all:hover { color: var(--color-text, #242424); text-decoration: underline; }
.custom-reviews__slider { position: relative; min-width: 0; }
.custom-reviews__track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    max-width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}
.custom-reviews__track::-webkit-scrollbar { display: none; }
.custom-reviews .review-card--teaser {
    box-sizing: border-box;
    flex: 0 0 min(287px, 100%);
    min-width: 0;
    min-height: 262px;
    padding: 12px 14px 14px;
    border: 1px solid #f7f7f7;
    border-radius: 7px;
    background: #fff;
    scroll-snap-align: start;
}
.custom-reviews .review-card__header {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    margin: 0;
}
.custom-reviews .review-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f7f7f7;
}
.custom-reviews .review-card__avatar img { display: block; }
.custom-reviews .review-card__author {
    margin: 0;
    overflow: hidden;
    color: #242424;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.custom-reviews .review-card__stars { display: flex; gap: 2px; }
.custom-reviews .review-card__stars img { display: block; flex: 0 0 auto; }
.custom-reviews .review-card__star--empty { opacity: .2; }
.custom-reviews .review-card__meta {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    min-height: 16px;
    margin-top: 12px;
    color: #7b7b7b;
    font-size: 13px;
    line-height: 16px;
}
.custom-reviews .review-card__product, .custom-reviews .review-card__configuration {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.custom-reviews .review-card__product { flex: 1 1 auto; }
.custom-reviews .review-card__configuration { flex: 0 1 50%; text-align: right; }
.custom-reviews .review-card__product:hover { text-decoration: underline; }
.custom-reviews .review-card__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: 53px;
    margin-top: 20px;
    overflow: hidden;
    color: #7b7b7b;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15.344px;
    line-height: 1.15;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.custom-reviews .review-card__text:hover { text-decoration: underline; }
.custom-reviews .review-card__photo {
    display: block;
    height: 89px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 7px;
}
.custom-reviews .review-card__photo img { display: block; width: 100%; height: 89px; object-fit: cover; }
.custom-reviews__layout-note {
    margin: 0 0 12px;
    color: var(--color-muted, #7b7b7b);
    font-size: 13px;
    line-height: 16px;
}
.custom-reviews .review-card__photo:is(.review-card__photo--layout-diana, .review-card__photo--layout-victoria, .review-card__photo--layout-andrey) { position: relative; }
.custom-reviews .review-card__photo--layout-diana img { position: absolute; top: -47.96%; left: 0; height: 257%; object-fit: fill; }
.custom-reviews .review-card__photo--layout-victoria img { position: absolute; top: -142.03%; left: 0; height: 385.04%; object-fit: fill; }
.custom-reviews .review-card__photo--layout-andrey img { position: absolute; top: -171.35%; left: 0; height: 392.13%; object-fit: fill; }
.custom-reviews__empty {
    min-height: 100px;
    padding-block: 16px 24px;
    color: var(--color-muted, #7b7b7b);
    font-size: 16px;
    line-height: 24px;
}
.custom-reviews__empty p { margin: 0 0 12px; }
.custom-reviews__empty a { color: var(--color-text, #242424); }
.custom-reviews__arrow {
    position: absolute;
    top: 122px;
    z-index: 6;
    width: 56px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.custom-reviews__arrow--previous { left: -56px; }
.custom-reviews__arrow--next { right: -56px; }
.custom-reviews__arrow[hidden] { display: none; }
.custom-reviews__arrow:disabled { opacity: .4; cursor: default; transform: none; }
.custom-reviews :is(a, button, .custom-reviews__track):focus-visible {
    outline: 2px solid #242424;
    outline-offset: 3px;
}
@media (max-width: 1390px) {
    .custom-reviews__arrow--previous { left: 0; }
    .custom-reviews__arrow--next { right: 0; }
}
@media (max-width: 760px) {
    .custom-reviews__header { align-items: flex-start; gap: 16px; }
    .custom-reviews .custom-reviews__title { font-size: 22px; line-height: 27px; }
    .custom-reviews__all { font-size: 14px; }
}
@media (max-width: 520px) {
    .custom-reviews__header { flex-direction: column; gap: 8px; }
    .custom-reviews__track { scroll-padding-inline: 0; }
}
