.we-responces-brand {
    box-sizing: border-box;
    padding: 32px;
    background: #FFFFFF;
    border: 1px solid #E4E3E0;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
}

.we-responces-brand * {
    box-sizing: border-box;
}

/* empty state */

.we-responces-brand__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /*padding: 24px 16px;*/
}

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

.we-responces-brand__empty-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #17171A;
}

.we-responces-brand__empty-text {
    margin: 0 0 20px;
    font-size: 13.5px;
    line-height: 19px;
    color: #6B6A6E;
}

.we-responces-brand__empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 43px;
    box-sizing: border-box;
    padding: 0 22px;
    border-radius: 8px;
    background: #17171A;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.we-responces-brand__empty-cta:hover {
    background: #333335;
    color: #fff;
}

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

.we-responces-brand__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 33px;
    color: #17171A;
}

.we-responces-brand__all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 13.5px;
    line-height: 20px;
    color: #2F6FD1;
    text-decoration: none;
    white-space: nowrap;
}

.we-responces-brand__all-link:hover {
    text-decoration: underline;
}

.we-responces-brand__body {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
}

.we-responces-brand__stats {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: fit-content;
    gap: 16px;
}

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

.we-responces-brand__stats-score {
    flex-shrink: 0;
}

.we-responces-brand__metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.we-responces-brand__average {
    font-size: 44px;
    font-weight: 700;
    line-height: 44px;
    color: #17171A;
}

.we-responces-brand__stars {
    display: flex;
    gap: 2px;
    margin-top: 8px;
}

.we-responces-brand__star {
    font-size: 13px;
    color: transparent;
    -webkit-text-stroke: 1.1px #D5D4CF;
}

.we-responces-brand__star_filled {
    color: #E0A93E;
    -webkit-text-stroke: 1.1px #E0A93E;
}

.we-responces-brand__hint {
    margin-top: 8px;
    font-size: 12.5px;
    line-height: 19px;
    color: #6B6A6E;
    white-space: nowrap;
}

.we-responces-brand__metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.we-responces-brand__metric-value {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    color: #17171A;
}

.we-responces-brand__metric-label {
    font-size: 12px;
    line-height: 18px;
    color: #6B6A6E;
    white-space: nowrap;
}

.we-responces-brand__previews {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1 1 auto;
    min-width: 0;
}

.we-responces-brand__preview {
    box-sizing: border-box;
    flex: 0 1 265px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background: #F7F7F6;
    border: 1px solid #E4E3E0;
    border-radius: 10px;
}

@media (min-width: 1101px) {
    .we-responces-brand__previews_count-1 .we-responces-brand__preview {
        flex: 1 1 100%;
    }

    .we-responces-brand__previews_count-2 .we-responces-brand__preview {
        flex: 1 1 calc(50% - 8px);
    }
}

.we-responces-brand__preview-product-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    /*height: 24.5px;*/
    padding: 3px 10px;
    background: rgba(47, 111, 209, 0.08);
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11px;
    color: #2F6FD1;
    line-height: 100%;
    text-decoration: none;
}

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

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

.we-responces-brand__preview-star {
    font-size: 13px;
    color: transparent;
    -webkit-text-stroke: 1.1px #D5D4CF;
}

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

.we-responces-brand__preview-comment {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 20px;
    color: #3D3D40;
}

.we-responces-brand__preview-author {
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #6B6A6E;
}

.we-responces-brand__preview-recomend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    color: #1F9D55;
}

@media (max-width: 1100px) {
    .we-responces-brand__body {
        flex-direction: column;
    }

    .we-responces-brand__previews {
        justify-content: flex-start;
        width: 100%;
    }

    .we-responces-brand__preview {
        flex: 1 1 240px;
    }
}

@media (max-width: 767px) {
    .we-responces-brand {
        padding: 20px;
    }

    .we-responces-brand__top {
        justify-content: space-between;
        margin-bottom: 16px;
    }

    .we-responces-brand__title {
        font-size: 20px;
        line-height: 28px;
    }

    .we-responces-brand__all-link {
        font-size: 13px;
    }

    .we-responces-brand__body {
        gap: 20px;
    }

    .we-responces-brand__stats {
        gap: 16px;
    }

    .we-responces-brand__stats-row {
        gap: 16px 24px;
    }

    .we-responces-brand__metrics {
        gap: 8px;
    }

    .we-responces-brand__average {
        font-size: 32px;
        line-height: 34px;
    }

    .we-responces-brand__stars {
        margin-top: 6px;
    }

    .we-responces-brand__star {
        font-size: 12px;
    }

    .we-responces-brand__hint {
        margin-top: 6px;
        font-size: 12px;
        line-height: 16px;
    }

    .we-responces-brand__metric-value {
        font-size: 18px;
        line-height: 24px;
    }

    .we-responces-brand__metric-label {
        font-size: 12px;
        line-height: 16px;
        white-space: normal;
        max-width: 130px;
    }

    .we-responces-brand__previews {
        display: flex;
        overflow-x: auto;
        max-width: 100%;
        scroll-snap-type: x mandatory;
        padding-bottom: 14px;
        scrollbar-width: thin;
        scrollbar-color: #8E8E8E #F2F2F2;
    }

    .we-responces-brand__previews::-webkit-scrollbar {
        height: 6px;
    }

    .we-responces-brand__previews::-webkit-scrollbar-track {
        background: #F2F2F2;
        border-radius: 4px;
    }

    .we-responces-brand__previews::-webkit-scrollbar-thumb {
        background: #8E8E8E;
        border-radius: 4px;
    }

    .we-responces-brand__preview {
        /*flex: 0 0 85%;*/
        flex: 0 0 50%;
        scroll-snap-align: start;
    }
}

@media (max-width: 420px) {
    .we-responces-brand__top {
        flex-wrap: wrap;
    }

    .we-responces-brand__preview {
        flex-basis: 92%;
    }
}
