.comments-block {
    padding: 40px 0;
}

.comments-block__inner {
    max-width: 740px;
}

.comments-block__title {
    margin: 0 0 24px;
    font-weight: 300;
    font-size: 50px;
    line-height: 1.1;
    color: #6d6d72;
}

.comments-block__empty {
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.4;
    color: #b7b7bc;
}

.comments-block__list {
    margin-bottom: 32px;
}

.comments-block__item {
    padding: 20px 0 18px;
    border-bottom: 1px solid #d9d9de;
}

.comments-block__item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.comments-block__item-author {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.comments-block__item-avatar {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #efeff3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comments-block__item-author-info {
    min-width: 0;
}

.comments-block__item-name {
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.1;
    color: #7B7B7B;
}

.comments-block__item-date {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.1;
    color: #b7b7bc;
}

.comments-block__item-rating {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
}

.comments-block__item-star {
    display: inline-flex;
    width: 23px;
    height: 23px;
}

.comments-block__item-star svg {
    width: 100%;
    height: 100%;
    fill: #d7d7db;
}

.comments-block__item-star--active svg {
    fill: #ff6a00;
}

.comments-block__item-text {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #2f2f35;
}

.comments-block__reply-btn {
    padding: 0;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.2;
    color: #b7b7bc;
    cursor: pointer;
    transition: color 0.2s ease;
}

.comments-block__reply-btn:hover {
    color: #ff6a00;
}

.comments-block__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-bottom: 16px;
    padding: 10px 20px;
    border: 1px solid #ff6a00;
    border-radius: 18px;
    background: transparent;
    color: #ff6a00;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.comments-block__more-btn:hover {
    background: #ff6a00;
    color: #fff;
}

.comments-block__open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 10px 20px;
    border: none;
    border-radius: 18px;
    background: #ff6a00;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.comments-block__open-btn:hover {
    background: #f56200;
}

.comments-block__open-btn-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.comments-block__open-btn-icon {
    font-size: 16px;
    line-height: 1;
}

.comments-block__form-wrap {
    display: none;
    margin-top: 20px;
}

.comments-block__form-wrap--active {
    display: block;
}

.comments-form {
    padding: 28px 28px 24px;
    border-radius: 28px;
    background: #efeff3;
}

.comments-form__title {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    color: #5f5f63;
}

.comments-form__message {
    display: none;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.4;
}

.comments-form__message--success {
    display: block;
    background: #eaf7ea;
    color: #2e7d32;
}

.comments-form__message--error {
    display: block;
    background: #fdeaea;
    color: #c62828;
}

.comments-form__field {
    border-bottom: 1px solid #d8d8de;
}

.comments-form__field--rating {
    padding: 18px 0 20px;
    border-bottom: none;
}

.comments-form__field--textarea {
    min-height: 170px;
}

.comments-form__input,
.comments-form__textarea {
    width: 100%;
    padding: 18px 0;
    border: none;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-size: 24px;
    line-height: 1.3;
    color: #3f3f45;
}

.comments-form__textarea {
    min-height: 150px;
    resize: vertical;
}

.comments-form__input::placeholder,
.comments-form__textarea::placeholder {
    color: #3f3f45;
    opacity: 1;
}

.comments-form__label {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.2;
    color: #3f3f45;
}

.comments-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-rating__star {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.comments-rating__star svg {
    width: 34px;
    height: 34px;
    fill: #d9d9de;
    transition: fill 0.2s ease, transform 0.2s ease;
}

.comments-rating__star:hover svg {
    transform: scale(1.05);
}

.comments-rating__star--active svg {
    fill: #ff6a00;
}

.comments-form__actions {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-top: 24px;
}

.comments-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 145px;
    min-height: 44px;
    padding: 10px 24px;
    border: none;
    border-radius: 16px;
    background: #ff6a00;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.comments-form__submit:hover {
    background: #f56200;
}

.comments-form__close {
    padding: 0;
    border: none;
    background: transparent;
    color: #b7b7bc;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.comments-form__close:hover {
    color: #8e8e95;
}

@media (max-width: 767px) {
    .comments-block__inner {
        max-width: 100%;
    }

    .comments-block__title {
        font-size: 34px;
    }

    .comments-block__item-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .comments-block__item-name {
        font-size: 20px;
    }

    .comments-block__item-date {
        font-size: 16px;
    }

    .comments-form {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .comments-form__title,
    .comments-form__label,
    .comments-form__input,
    .comments-form__textarea {
        font-size: 20px;
    }

    .comments-form__actions {
        flex-wrap: wrap;
        gap: 14px;
    }
}

.comments-block__item--hidden {
    display: none;
}

.comments-block__answer {
    margin-top: 10px;
}

.comments-block__answer-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 4px;
}

.comments-block__answer-text {
    font-size: 16px;
    color: #333;
}

.comments-block__item--hidden {
    display: none;
}

.comments-block__answers {
    margin-top: 14px;
    padding-left: 70px;
}

.comments-block__answer {
    margin-top: 12px;
}

.comments-block__answer-label {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.3;
    color: #b7b7bc;
}

.comments-block__answer-text {
    font-size: 16px;
    line-height: 1.5;
    color: #2f2f35;
}

.comments-reply-form {
    display: none;
    margin-top: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #efeff3;
}

.comments-reply-form--active {
    display: block;
}

.comments-reply-form__message {
    display: none;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.comments-reply-form__message--success {
    display: block;
    background: #eaf7ea;
    color: #2e7d32;
}

.comments-reply-form__message--error {
    display: block;
    background: #fdeaea;
    color: #c62828;
}

.comments-reply-form__field + .comments-reply-form__field {
    margin-top: 10px;
}

.comments-reply-form__input,
.comments-reply-form__textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #d8d8de;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-size: 16px;
    line-height: 1.4;
    color: #3f3f45;
}

.comments-reply-form__textarea {
    min-height: 80px;
    resize: vertical;
}

.comments-reply-form__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.comments-reply-form__submit {
    min-height: 40px;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    background: #ff6a00;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.comments-reply-form__close {
    padding: 0;
    border: none;
    background: transparent;
    color: #b7b7bc;
    font-size: 14px;
    cursor: pointer;
}

.comments-block__answer {
    margin-top: 12px;
}

.comments-block__answer-head {
    margin-bottom: 8px;
}

.comments-block__answer-head--adequo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comments-block__answer-avatar--adequo {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.comments-block__answer-avatar--adequo svg {
    display: block;
    width: 40px;
    height: 40px;
}

.comments-block__answer-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.comments-block__answer-name {
    font-size: 16px;
    line-height: 1.2;
    color: #b7b7bc;
}

.comments-block__answer-name--adequo {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: #6d6d72;
}

.comments-block__answer-label {
    font-size: 14px;
    line-height: 1.2;
    color: #b7b7bc;
}

.comments-block__answer-date {
    font-size: 14px;
    line-height: 1.2;
    color: #b7b7bc;
}

.comments-block__answer-text {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.45;
    color: #2f2f35;
    font-weight: 500;
}