.we-responces-list {
    font-family: 'Inter', sans-serif;
}

.we-responces-list__header {
    margin-bottom: 20px;
}

.we-responces-list__title {
    font-size: 28px;
    font-weight: 700;
    color: #17171A;
    margin: 0;
}

/* summary */

.we-responces-list__summary {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 28px 32px;
    background: #FFFFFF;
    border: 1px solid #E4E3E0;
    border-radius: 14px;
    margin-bottom: 20px;
}

.we-responces-list__summary-score {
    flex: 0 0 auto;
    width: 160px;
}

.we-responces-list__average {
    font-size: 42px;
    font-weight: 700;
    line-height: 51px;
    color: #17171A;
}

.we-responces-list__sum-stars {
    display: flex;
    gap: 2px;
    margin: 6px 0 4px;
}

.we-responces-list__sum-star {
    font-size: 15px;
    color: transparent;
    -webkit-text-stroke: 1.25px #D5D4CF;
}

.we-responces-list__sum-star_filled {
    color: #E0A93E;
    -webkit-text-stroke: 1.25px #E0A93E;
}

.we-responces-list__summary-hint {
    font-size: 12px;
    color: #6B6A6E;
    margin-bottom: 14px;
}

.we-responces-list__recomend-percent {
    font-size: 19px;
    font-weight: 700;
    color: #17171A;
}

.we-responces-list__bars {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.we-responces-list__bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.we-responces-list__bar-label {
    flex: 0 0 22px;
    font-size: 11.5px;
    color: #6B6A6E;
}

.we-responces-list__bar-track {
    flex: 1 1 auto;
    height: 5px;
    border-radius: 4px;
    background: #F0F0EF;
    overflow: hidden;
}

.we-responces-list__bar-fill {
    display: block;
    height: 100%;
    background: #E0A93E;
    border-radius: 4px;
}

.we-responces-list__bar-percent {
    flex: 0 0 32px;
    text-align: right;
    font-size: 11.5px;
    color: #6B6A6E;
}

/* toolbar */

.we-responces-list__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.we-responces-list__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.we-responces-list__filter {
    height: 36px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1.25px solid #E4E3E0;
    border-radius: 20px;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 13px;
    color: #6B6A6E;
    cursor: pointer;
}

.we-responces-list__filter_active {
    background: rgba(47, 111, 209, 0.08);
    border-color: #2F6FD1;
    color: #2F6FD1;
}

/* cards grid */

.we-responces-list__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    transition: opacity .15s ease;
}

.we-responces-list__empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 16px;
}

.we-responces-list__empty-icon {
    margin-bottom: 12px;
}

.we-responces-list__empty-title {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #17171A;
}

.we-responces-list__empty-text {
    font-size: 13.5px;
    color: #9C9B9F;
}

@media (max-width: 720px) {
    .we-responces-list__cards {
        grid-template-columns: 1fr;
    }

    .we-responces-list__summary {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
}

/* card */

.we-responces-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid #E4E3E0;
    border-radius: 12px;
}

.we-responces-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.we-responces-card__product-tag {
    display: inline-flex;
    align-items: center;
    height: 24.5px;
    padding: 0 10px;
    background: rgba(47, 111, 209, 0.08);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11px;
    color: #2F6FD1;
    text-decoration: none;
}

.we-responces-card__product-tag:hover {
    color: #2F6FD1;
    text-decoration: underline;
}

.we-responces-card__date {
    font-size: 11.5px;
    color: #9C9B9F;
}

.we-responces-card__photo {
    position: relative;
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #EFEEEC 0%, #E2E1DD 100%);
    cursor: zoom-in;
}

.we-responces-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.we-responces-card__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 26, 0) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='11' cy='11' r='7' stroke='white' stroke-width='2'/%3E%3Cpath d='M20 20l-4.35-4.35' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0;
    transition: background-color .15s ease, opacity .15s ease;
}

.we-responces-card__photo:hover::after {
    background-color: rgba(23, 23, 26, 0.35);
    opacity: 1;
}

.we-responces-card__stars {
    display: flex;
    gap: 1px;
}

.we-responces-card__star {
    font-size: 14px;
    color: transparent;
    -webkit-text-stroke: 1.25px #D5D4CF;
}

.we-responces-card__star_filled {
    color: #E0A93E;
    -webkit-text-stroke: 1.25px #E0A93E;
}

.we-responces-card__comment {
    font-size: 13.5px;
    line-height: 21px;
    color: #333335;
}

.we-responces-card__recomend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1F9D55;
}

.we-responces-card__answer {
    box-sizing: border-box;
    padding: 12px 14px;
    background: #F7F7F6;
    border-radius: 8px;
    border-left: 2px solid #2F6FD1;
}

.we-responces-card__answer-title {
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 11.5px;
    line-height: 16px;
    color: #2F6FD1;
}

.we-responces-card__answer-text {
    font-size: 13px;
    line-height: 20px;
    color: #3B3B3B;
}

.we-responces-card__person {
    display: flex;
    align-items: center;
    gap: 10px;
}

.we-responces-card__avatar {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #E7E6E3 0%, #D5D4CF 100%);
    font-size: 11.5px;
    font-weight: 600;
    color: #6B6A6E;
}

.we-responces-card__name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.we-responces-card__name {
    font-size: 13px;
    font-weight: 600;
    color: #17171A;
}

.we-responces-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 18.25px;
    padding: 0 8px;
    border-radius: 9px;
    background: rgba(31, 157, 85, 0.1);
    font-size: 9.5px;
    font-weight: 600;
    color: #1F9D55;
    white-space: nowrap;
}

.we-responces-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #E4E3E0;
}

.we-responces-card__tag {
    box-sizing: border-box;
    height: 23.75px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    background: #F7F7F6;
    border: 1px solid #E4E3E0;
    border-radius: 5px;
    font-size: 10.5px;
    color: #6B6A6E;
}
