.comment-section {
    padding: 24px 0 10px;
    background: #fff;
}

.comment-root-holder,
.comment-list {
    margin-bottom: 26px;
}

.comment-box-wrap {
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 18px;
}

.comment-box-head {
    margin-bottom: 14px;
}

.comment-box-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.comment-box-subtitle {
    font-size: 13px;
    color: #777;
}

.comment-form {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 16px;
}

.comment-form-inner {
    overflow: hidden;
}

.comment-form-left {
    float: left;
    width: 32%;
}

.comment-form-right {
    float: right;
    width: 66%;
}

.comment-input,
.comment-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    background: #fff;
    color: #333;
    font-size: 15px;
    outline: none;
    transition: all .2s ease;
}

.comment-input {
    height: 52px;
    margin-bottom: 14px;
}

.comment-textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-input:focus,
.comment-textarea:focus {
    border-color: #32CD32;
    box-shadow: 0 0 0 3px rgba(47,128,237,.08);
}

.comment-rating-wrap {
    margin-bottom: 12px;
}

.comment-rating-label {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
    font-weight: 600;
}

.comment-rating-select label {
    display: inline-block;
    margin-right: 8px;
    cursor: pointer;
}

.comment-rating-select input {
    display: none;
}

.comment-rating-select span {
    display: inline-block;
    min-width: 48px;
    text-align: center;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 13px;
    transition: all .2s ease;
}

.comment-rating-select input:checked + span {
    background: #fff5e5;
    border-color: #f5b301;
    color: #d98c00;
    font-weight: 700;
}

.comment-form-footer {
    margin-top: 14px;
    text-align: right;
}

.comment-submit-btn {
    min-width: 170px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #32CD32;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 18px;
}

.comment-submit-btn:hover {
    background: #03a84e;
}

.comment-list-head {
    overflow: hidden;
    margin-bottom: 16px;
}

.title-form-coment {
    float: left;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.title-form-coment .count {
    color: #38b449;
}

.comment-list-sort {
    float: right;
    margin-top: 2px;
}

.comment-list-sort-label {
    font-size: 13px;
    color: #666;
    margin-right: 8px;
}

.comment-sort-btn {
    display: inline-block;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    height: 32px;
    line-height: 30px;
    border-radius: 16px;
    padding: 0 12px;
    font-size: 13px;
    margin-left: 4px;
    cursor: pointer;
}

.comment-sort-btn.is-active {
    border-color: #32CD32;
    color: #32CD32;
    background: #f4f9ff;
}

.comment-item {
    display: table;
    width: 100%;
    table-layout: fixed;
    padding: 0;
    border-bottom: none;
}

.comment-avatar {
    display: table-cell;
    width: 56px;
    vertical-align: top;
}

.comment-avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: #eaf8f1;
    position: relative;
    text-align: center;
    line-height: 42px;
    color: #22a96b;
    font-size: 16px;
    font-weight: 700;
}

.comment-avatar-circle img {
    width: 100%;
    height: 100%;
    display: block;
}

.comment-avatar-circle.has-letter img {
    display: none;
}

.comment-main {
    display: table-cell;
    vertical-align: top;
}

.comment-head {
    margin-bottom: 8px;
}

.comment-user-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.comment-name {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.comment-time {
    font-size: 13px;
    color: #7b7b7b;
}

.comment-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.comment-stars .fa {
    font-size: 14px;
    color: #ddd;
}

.comment-stars .fa.active {
    color: #f5b301;
}
.comment-stars .star {
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    color: #d7d7d7;
}

.comment-stars .star.active {
    color: #f5b301;
}

.comment-content {
    color: #333;
    font-size: 16px;
    line-height: 1.65;
    word-break: break-word;
    margin-bottom: 10px;
}

.comment-content.is-collapsed {
    max-height: 82px;
    overflow: hidden;
    position: relative;
}
.comment-action i,
.comment-submit-btn i {
    margin-right: 6px;
}

.comment-time i {
    margin-right: 4px;
    color: #999;
}

.comment-avatar-circle i {
    line-height: 42px;
    font-size: 16px;
}
.comment-rating-wrap {
    margin-bottom: 14px;
}

.comment-rating-label {
    display: block;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
    font-weight: 600;
}

.comment-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rating-star-item {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.rating-star-item input {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.rating-star-item span {
    width: 38px;
    height: 38px;
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all .2s ease;
}

.rating-star-item i {
    font-size: 17px;
    color: #d8d8d8;
    transition: all .2s ease;
}

.rating-star-item.is-hover span,
.rating-star-item.is-active span {
    border-color: #f5b301;
    background: #fff8e8;
}

.rating-star-item.is-hover i,
.rating-star-item.is-active i {
    color: #f5b301;
}

.rating-star-item.is-active span {
    transform: scale(1.06);
    box-shadow: 0 4px 10px rgba(245, 179, 1, .18);
}

.comment-rating-text {
    margin-top: 8px;
    min-height: 18px;
    font-size: 13px;
    color: #777;
}

.comment-rating-text.is-active {
    color: #d98c00;
    font-weight: 600;
}
.comment-more {
    display: inline-block;
    margin-top: 6px;
    border: none;
    background: none;
    color: #32CD32;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.comment-actions {
    margin-top: 4px;
}

.comment-action {
    border: none;
    background: none;
    padding: 0;
    color: #38b449;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.comment-action:hover {
    text-decoration: underline;
}

.subReply {
    margin-top: 12px;
}

.comment-form-reply {
    background: #f7fbff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 14px;
}

.comment-children {
    margin-left: 70px;
    border-left: 2px solid #f0f0f0;
    padding-left: 18px;
}

.comment-children .comment-item {
    padding: 14px 0 0;
    border-bottom: none;
}

.comment-children .comment-main {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 14px 16px;
}
.comment-thread {
    border-bottom: 1px solid #f0f0f0;
    padding: 18px 0;
}

.comment-thread:last-child {
    border-bottom: none;
}

.comment-thread > .comment-item {
    border-bottom: none;
    padding: 0;
}
@media (max-width: 767px) {
    .comment-form-left,
    .comment-form-right {
        float: none;
        width: 100%;
    }

    .comment-form-right {
        margin-top: 10px;
    }

    .comment-list-head {
        display: block;
    }

    .title-form-coment,
    .comment-list-sort {
        float: none;
    }

    .comment-list-sort {
        margin-top: 10px;
    }

    .comment-children {
        margin-left: 18px;
        padding-left: 12px;
    }

    .comment-avatar {
        width: 46px;
    }

    .comment-avatar-circle {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 14px;
    }

    .comment-content {
        font-size: 15px;
    }
}