.reviews-wrapper {
    /*--bg-color: white;*/
    --text-color: #111111;
    --secondary-text: #444444;
    --star-color: #e67a55;
    --star-empty: #b0b0b0;
    --btn-hover-bg: #fdf0eb;
    --white: #ffffff;
    --font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;

    padding: 24px 0;
    font-family: var(--font-family);
    color: var(--text-color);
    box-sizing: border-box;
    width: 100%;
}

.reviews-wrapper * {
    box-sizing: border-box;
}

/* Карточка отзыва - теперь колонка */
.review-card {
    display: flex;
    flex-direction: column; /* Вертикальное расположение блоков */
    gap: 16px;
    margin-bottom: 40px;
}

.review-card:last-child {
    margin-bottom: 0;
}

/* --- ВЕРХНИЙ БЛОК: Картинка + Инфо --- */
.review-card__top {
    display: flex;
    gap: 20px;
}

/* Изображение */
.review-card__image-box {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background-color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #eaeaea;
}

.review-card__image-placeholder {
    width: 60%;
    height: 60%;
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
}

.review-card__image-placeholder::after {
    content: "IMG";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: #999;
}

/* Информация справа от картинки */
.review-card__info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Шапка: Звезды и Кнопки */
.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Выравнивание по верху */
}

.review-card__stars {
    display: flex;
    gap: 4px;
    color: var(--star-color);
    margin-top: 4px; /* Небольшая коррекция для визуального центра */
}

.review-card__stars svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.star--empty {
    color: var(--star-empty);
}

.review-card__actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    color: var(--text-color);
}

.action-btn:hover,
.action-btn.is-highlighted {
    background-color: var(--btn-hover-bg);
}

.action-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Заголовок */
.review-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* --- НИЖНИЙ БЛОК: Текст отзыва --- */
.review-card__comment {
    display: flex;
    gap: 16px; /* Отступ иконки от текста */
    align-items: flex-start;
    padding-left: 0; /* Начинается от левого края (под картинкой) */
}

.review-card__icon-bubble {
    flex-shrink: 0;
    width: 24px;
    display: flex;
    justify-content: center;
    margin-top: 2px;
    color: #999;
}

.review-card__icon-bubble svg {
    width: 20px;
    height: 20px;
}

.review-card__text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .review-card__top {
        /* На мобильных картинка и заголовок могут остаться рядом,
                               или стать колонкой, если текст очень длинный.
                               Оставим рядом для компактности */
    }
    .review-card__image-box {
        width: 70px;
        height: 70px;
    }
    .review-card__title {
        font-size: 16px;
    }
    .review-card__comment {
        gap: 12px;
    }
}
