body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    color: #2c2c2c;
    background-color: #fff;
}

.container-custom {
    max-width: 936px;
    margin: 0 auto;
    padding: 40px 16px;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

.rating-total-block {
    display: flex;
    flex-basis: min-content;
}

/* Блок рейтинга слева */
.rating-huge {
    font-size: 64px;
    font-weight: 700;
    line-height: 0.9;
    margin-right: 16px;
}

.stars-main {
    color: #ffab00;
    font-size: 20px;
    /* Увеличенные звезды под 5.0 */
    letter-spacing: 1px;
    line-height: 1.2;
}

.review-count-main {
    font-size: 16px;
    /* Как заказывали: 16-18px */
    color: #2c2c2c;
    margin-top: 4px;
}

/* Линии прогресса в центре */
.rating-grid {
    max-width: 100%;
}

.progress-row {
    display: flex;
    align-items: center;
    height: 24px;
    gap: 12px;
}

.stars-mini {
    color: #ffab00;
    font-size: 18px;
    width: 70px;
    letter-spacing: 1px;
}

.stars-mini-gray {
    color: #e2e2e2;
}

.progress-bar-bg {
    flex-grow: 1;
    height: 4px;
    /* Утолщенные линии: 4px */
    background: #f2f2f2;
    border-radius: 2px;
    position: relative;
}

.progress-bar-fill {
    position: absolute;
    height: 100%;
    background: #afafaf;
    /* На Авито линии чуть светлее текста */
    border-radius: 2px;
}

.progress-count {
    font-size: 16px;
    /* Шрифт 16px для цифр справа от линий */
    color: #2c2c2c;
    width: 30px;
    text-align: right;
}

/* Правая колонка и кнопки */
.rating-description {
    font-size: 12px;
    line-height: 1.4;
    color: #2c2c2c;
    margin-bottom: 16px;
}

.btn-black {
    background-color: #000;
    color: #fff;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    width: 100%;
}

.filter-pill {
    background-color: #f2f2f2;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 8px;
}

/* Карточка отзыва */
.review-item {
    margin-top: 40px;
}

.d-contents {
    display: contents;
    gap: 16px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #607d8b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 8px;
}

.user-name {
    font-size: 16px;
    font-weight: 700;
}

.review-date {
    font-size: 14px;
    color: #828282;
}

.deal-info {
    font-size: 14px;
    color: #828282;
    margin-left: 8px;
    font-weight: 400;
}

.review-text {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.review-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.show-more {
    color: #828282;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
    cursor: pointer;
    user-select: none;
}

.show-more:hover {
    text-decoration: underline;
}

/* Ответ автора */
.reply-block {
    margin-left: 56px;
    margin-top: 24px;
}

.author-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #009cf0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
}

.reply-photo {
    width: 80px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    margin: 16px 0;
}