.reviewer-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
    color: #625a52;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}

.reviewer-summary span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid #ece4d9;
    border-radius: 999px;
    background: #fffaf5;
}

.product-review-card__stars,
.thread-review-card__stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.product-review-card__star,
.thread-review-card__star {
    width: 22px;
    height: 22px;
}

.product-review-card__rating-text,
.thread-review-card__rating-text {
    margin-left: 8px;
    font-size: 18px;
    font-weight: 700;
}

.product-review-card__body,
.thread-review-card__body {
    font-size: 20px;
    line-height: 1.55;
}

.verified-purch.product-review-card__verified,
.verified-purch.thread-review-card__verified {
    background: #198754;
    color: #fff;
    border-color: #198754;
}

.review-media-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.review-media-thumb {
    position: relative;
    width: 96px;
    height: 96px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e2d8cc;
    border-radius: 8px;
    background: #f7f2ed;
    cursor: pointer;
}

.review-media-thumb:focus {
    outline: 3px solid rgba(217, 61, 136, 0.2);
    outline-offset: 2px;
}

.review-media-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-media-thumb__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.22);
}

.review-media-thumb__play svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 50%;
    fill: #fff;
    background: rgba(0, 0, 0, 0.62);
}

.review-helpful {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #4d4d4d;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.review-helpful__label {
    margin-right: 2px;
}

.review-helpful__button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 58px;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid #d9cfc3;
    border-radius: 999px;
    color: #4b453f;
    background: #fff;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.review-helpful__button:hover,
.review-helpful__button:focus {
    border-color: #c5b6a6;
    background: #fff8f1;
}

.review-helpful__button:focus {
    outline: 3px solid rgba(217, 61, 136, 0.16);
    outline-offset: 2px;
}

.review-helpful__button.is-selected {
    border-color: #d93d88;
    color: #fff;
    background: #d93d88;
    transform: translateY(-1px);
}

.review-helpful__button.is-updating {
    opacity: 0.72;
    pointer-events: none;
}

.review-helpful__button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.review-helpful__status {
    min-height: 20px;
    color: #6f6a64;
    font-size: 15px;
    font-weight: 600;
}

.review-media-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(20, 18, 16, 0.82);
}

.review-media-viewer[hidden] {
    display: none;
}

.review-media-viewer__dialog {
    position: relative;
    width: min(960px, 100%);
    max-height: calc(100vh - 48px);
    display: grid;
    gap: 12px;
}

.review-media-viewer__close {
    justify-self: end;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #2f2a25;
    background: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.review-media-viewer__content {
    display: grid;
    place-items: center;
    min-height: 180px;
}

.review-media-viewer__content img,
.review-media-viewer__content video {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 130px);
    border-radius: 8px;
    background: #000;
}

@media (max-width: 767.98px) {
    .reviewer-summary {
        font-size: 15px;
    }

    .review-media-thumb {
        width: 78px;
        height: 78px;
    }

    .review-helpful {
        align-items: flex-start;
    }

    .review-helpful__status {
        flex-basis: 100%;
    }

    .review-media-viewer {
        padding: 12px;
    }
}
