.bp-comments {
    width: 100%;
    padding: 48px 0;
}

.bp-comments__inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.bp-comments__title,
.bp-comments__form-title {
    margin: 0 0 24px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #151515;
    line-height: 1.2;
}

.bp-comments__form-note {
    margin: 0 0 28px;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.bp-comments__list {
    margin-bottom: 48px;
}

.bp-comments__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bp-comment {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.bp-comment:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bp-comment__article {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bp-comment__avatar {
    flex: 0 0 auto;
}

.bp-comment__avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: block;
}

.bp-comment__body {
    flex: 1 1 auto;
    min-width: 0;
}

.bp-comment__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.bp-comment__author {
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    color: #151515;
}

.bp-comment__author a {
    color: inherit;
    text-decoration: none;
}

.bp-comment__author a:hover {
    color: #d63031;
}

.bp-comment__date {
    font-size: 0.85rem;
    color: #94a3b8;
}

.bp-comment__content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 12px;
}

.bp-comment__content p {
    margin: 0 0 12px;
}

.bp-comment__content p:last-child {
    margin-bottom: 0;
}

.bp-comment__reply {
    margin-top: 12px;
}

.bp-comment__reply-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #d63031;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(214, 48, 49, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bp-comment__reply-link:hover {
    background: rgba(214, 48, 49, 0.15);
    color: #b91c1c;
}

.bp-comments__items .children {
    list-style: none;
    margin: 24px 0 0 0;
    padding: 0 0 0 40px;
}

.bp-comments__items .children .bp-comment {
    margin-bottom: 24px;
    padding-bottom: 24px;
}

.bp-comments__items .children .bp-comment__article {
    gap: 16px;
}

.bp-comments__items .children .bp-comment__avatar-img {
    width: 56px;
    height: 56px;
}

.bp-comments__form-wrapper {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 2px solid rgba(226, 232, 240, 0.8);
}

.bp-comments__form {
    display: grid;
    gap: 24px;
}

.bp-comments__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bp-comments__form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #151515;
    display: block;
}

.bp-comments__form-label .required {
    color: #d63031;
}

.bp-comments__form-input,
.bp-comments__form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.5;
    color: #151515;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.bp-comments__form-input:focus,
.bp-comments__form-textarea:focus {
    outline: none;
    border-color: #d63031;
    box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.1);
}

.bp-comments__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.bp-comments__form-group--cookies {
    margin-top: 8px;
}

.bp-comments__form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.bp-comments__form-checkbox input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #d63031;
}

.bp-comments__form-checkbox-label {
    flex: 1 1 auto;
}

.bp-comments__form-submit {
    margin-top: 8px;
}

.bp-comments__form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    background-color: #4b5563;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.bp-comments__form-button:hover,
.bp-comments__form-button:focus {
    background-color: #374151;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(75, 85, 99, 0.3);
    color: #ffffff;
}

.bp-comments__form-button:active {
    transform: translateY(0);
}

@media (max-width: 680px) {
    .bp-comments {
        padding: 32px 0;
    }

    .bp-comments__title,
    .bp-comments__form-title {
        font-size: clamp(1.6rem, 4vw, 2rem);
        margin-bottom: 20px;
    }

    .bp-comments__form-note {
        margin-bottom: 24px;
        font-size: 0.85rem;
    }

    .bp-comment {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .bp-comment__article {
        gap: 16px;
    }

    .bp-comment__avatar-img {
        width: 56px;
        height: 56px;
    }

    .bp-comment__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .bp-comments__form-wrapper {
        margin-top: 32px;
        padding-top: 32px;
    }

    .bp-comments__form {
        gap: 20px;
    }

    .bp-comments__form-button {
        width: 100%;
        padding: 14px 24px;
    }

    .bp-comments__items .children {
        padding-left: 24px;
    }

    .bp-comments__items .children .bp-comment__avatar-img {
        width: 48px;
        height: 48px;
    }
}

