.ct-reviews {
    --ct-ink: #1e2422;
    --ct-muted: #6e7471;
    --ct-line: #deded9;
    --ct-soft: #f6f5f1;
    --ct-accent: #263f35;
    color: var(--ct-ink);
    width: 100%;
}

.ct-reviews__topbar {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.ct-reviews__count {
    color: var(--ct-muted);
    margin: 0;
}

.ct-reviews__count strong {
    color: var(--ct-ink);
    font-size: 1.25rem;
}

.ct-reviews__filter select {
    background: #fff;
    border: 1px solid var(--ct-line);
    border-radius: 2px;
    color: var(--ct-ink);
    min-width: 220px;
    padding: 11px 38px 11px 14px;
}

.ct-reviews__grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-review {
    background: #fff;
    border: 1px solid var(--ct-line);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px;
}

.ct-review__head {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.ct-review__author,
.ct-review__date {
    display: block;
}

.ct-review__author {
    font-size: 1.05rem;
}

.ct-review__date {
    color: var(--ct-muted);
    font-size: .82rem;
    margin-top: 3px;
}

.ct-review__stars {
    color: #c8c8c2;
    display: flex;
    font-size: 1.05rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.ct-review__stars .is-filled {
    color: #c59a3d;
}

.ct-review__content {
    color: #3c4240;
    flex: 1;
    line-height: 1.7;
    margin: 22px 0 26px;
}

.ct-review__content > :first-child {
    margin-top: 0;
}

.ct-review__content > :last-child {
    margin-bottom: 0;
}

.ct-review__photos {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: -10px 0 24px;
}

.ct-review__photos a {
    aspect-ratio: 1 / 1;
    background: var(--ct-soft);
    display: block;
    overflow: hidden;
}

.ct-review__photos img {
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
    width: 100%;
}

.ct-review__photos a:hover img {
    transform: scale(1.025);
}

.ct-review__product {
    align-items: center;
    background: var(--ct-soft);
    color: inherit;
    display: flex;
    gap: 15px;
    padding: 12px;
    text-decoration: none !important;
    transition: background-color .2s ease;
}

.ct-review__product:hover {
    background: #efeee8;
}

.ct-review__image {
    background: #fff;
    flex: 0 0 72px;
    height: 72px;
    overflow: hidden;
}

.ct-review__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ct-review__product-copy {
    min-width: 0;
}

.ct-review__product-copy small,
.ct-review__product-copy strong,
.ct-review__product-copy span {
    display: block;
}

.ct-review__product-copy small {
    color: var(--ct-muted);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ct-review__product-copy strong {
    margin: 2px 0 4px;
}

.ct-review__product-copy span {
    color: var(--ct-accent);
    font-size: .82rem;
}

.ct-reviews__empty {
    background: var(--ct-soft);
    padding: 34px;
    text-align: center;
}

.ct-reviews__pagination {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 32px;
}

.ct-reviews__pagination a {
    color: var(--ct-accent);
    text-decoration: none;
}

.ct-reviews__pagination span {
    color: var(--ct-muted);
    font-size: .9rem;
}

@media (max-width: 767px) {
    .ct-reviews__topbar {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .ct-reviews__filter select {
        width: 100%;
    }

    .ct-reviews__grid {
        grid-template-columns: 1fr;
    }

    .ct-review {
        padding: 20px;
    }

    .ct-review__head {
        flex-direction: column;
        gap: 10px;
    }
}
