.product-reviews {
    margin-top: 12px;
}

.product-reviews-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.product-reviews-list .item {
    min-width: 0;
}

.section.comments.product-reviews .comments-header {
    gap: 24px;
    margin-bottom: 28px;
    padding: 28px 32px;
    border: 1px solid #dde9e1;
    border-radius: 12px;
    background: linear-gradient(110deg, #f4faf6, #fff 72%);
}

.product-reviews-eyebrow,
.product-review-modal-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #17764e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section.comments.product-reviews h2 {
    margin: 0 0 10px;
    color: #183328;
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 650;
    line-height: 1.2;
}

.product-reviews-score {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c7b71;
    font-size: 14px;
}

.product-reviews-score-star {
    color: #e5a72d;
    font-size: 22px;
    line-height: 1;
}

.product-reviews-score strong {
    color: #183328;
    font-size: 20px;
}

.section.comments.product-reviews .comments-header .product-reviews-add {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 24px;
    border-radius: 8px;
    background: #087e4e;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(8, 126, 78, .13);
}

.section.comments.product-reviews .comments-header .product-reviews-add:hover {
    background: #086a43;
}

.section.comments.product-reviews .comments-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 246px;
    padding: 24px;
    border: 1px solid #e1e9e3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(25, 57, 39, .05);
}

.section.comments.product-reviews .comments-card-title {
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.section.comments.product-reviews .comments-card-title h3 {
    overflow: hidden;
    color: #1c3428;
    font-size: 18px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.section.comments.product-reviews .comments-card-title span {
    flex: 0 0 auto;
    margin: 0;
    color: #8a9990;
    font-size: 13px;
}

.section.comments.product-reviews .comments-card-rank {
    gap: 3px;
    margin-bottom: 15px;
}

.product-review-card-star {
    color: #d9e3dc;
    font-size: 19px;
    line-height: 1;
}

.product-review-card-star.is-filled {
    color: #e5a72d;
}

.section.comments.product-reviews .comments-card-rank .product-review-card-grade {
    margin-left: 8px;
    color: #617269;
    font-size: 13px;
    font-weight: 600;
}

.section.comments.product-reviews .comments-card-message p {
    display: -webkit-box;
    overflow: hidden;
    color: #47564c;
    font-size: 15px;
    line-height: 1.6;
    white-space: pre-line;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.product-review-conversation {
    margin-top: 16px;
}

.product-review-reply {
    margin-top: 10px;
    padding: 13px 16px;
    border-left: 3px solid #a9cdb5;
    border-radius: 0 7px 7px 0;
    background: #f5faf6;
}

.product-review-reply-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}

.product-review-reply-head strong {
    color: #244333;
    font-size: 14px;
}

.product-review-reply-head time {
    color: #87968c;
    font-size: 12px;
}

.product-review-reply p {
    margin: 0;
    color: #4b5e50;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.product-review-reply-trigger {
    align-self: flex-start;
    margin-top: auto;
    padding: 18px 0 0;
    border: 0;
    background: transparent;
    color: #087e4e;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.product-review-reply-trigger:hover {
    color: #075c3a;
}

.product-review-reply-trigger:focus-visible {
    outline: 2px solid #087e4e;
    outline-offset: 3px;
}

.product-reviews-empty {
    min-height: 196px;
    padding: 30px;
    border: 1px dashed #cbdcd0;
    border-radius: 12px;
    background: #f8fbf8;
    text-align: center;
}

.product-reviews-empty > span {
    display: block;
    margin-bottom: 8px;
    color: #a3b8a9;
    font-size: 30px;
    line-height: 1;
}

.product-reviews-empty strong {
    display: block;
    color: #1c3428;
    font-size: 18px;
}

.product-reviews-empty p {
    margin: 4px 0 0;
    color: #718177;
    font-size: 14px;
}

.product-review-modal .modal-dialog {
    max-width: 520px;
}

.product-review-modal .modal-content {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e1e9e3;
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(18, 48, 32, .18);
}

.product-review-modal .modal-header {
    position: relative;
    padding: 28px 32px 24px;
    background: #f5faf6;
    border-bottom: 1px solid #e1ece4;
}

.product-review-modal .modal-header h3 {
    margin: 0 0 5px;
    color: #183328;
    font-size: 27px;
    font-weight: 650;
    line-height: 1.2;
}

.product-review-modal .modal-header p {
    margin: 0;
    color: #718177;
    font-size: 14px;
}

.product-review-modal .modal-header .btn-close {
    top: 25px;
    right: 28px;
    opacity: .6;
}

.product-review-modal .modal-body {
    padding: 25px 32px 8px;
}

.product-review-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 23px;
    padding: 15px 18px;
    border: 1px solid #dce9df;
    border-radius: 9px;
    background: #f8fbf8;
}

.product-review-rating strong,
.product-review-rating span {
    display: block;
}

.product-review-rating strong {
    color: #243c2d;
    font-size: 15px;
    font-weight: 650;
}

.product-review-rating span {
    margin-top: 3px;
    color: #839088;
    font-size: 12px;
}

.product-review-rating-stars {
    display: flex;
    gap: 2px;
}

.product-review-star {
    width: 31px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #cbd7ce;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s, transform .15s;
}

.product-review-star.is-active {
    color: #e5a72d;
}

.product-review-star:hover {
    transform: translateY(-2px);
}

.product-review-star:focus-visible {
    outline: 2px solid #087e4e;
    outline-offset: 2px;
    border-radius: 4px;
}

.product-review-modal .form-group label {
    display: block;
    margin-bottom: 7px;
    color: #2d3c32;
    font-size: 14px;
    font-weight: 600;
}

.product-review-modal .form-control {
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid #dce5de;
    border-radius: 7px;
    background: #fff;
    color: #1c3428;
    font-size: 15px;
    box-shadow: none;
}

.product-review-modal textarea.form-control {
    min-height: 108px;
    resize: vertical;
}

.product-review-modal .form-control:focus {
    border-color: #087e4e;
    box-shadow: 0 0 0 3px rgba(8, 126, 78, .11);
}

.product-review-error {
    margin: 12px 0 0;
    color: #ba3c36;
    font-size: 13px;
}

.product-review-error[hidden] {
    display: none;
}

.product-review-modal .modal-footer {
    padding: 18px 32px 30px;
    border: 0;
}

.product-review-modal .modal-footer .button {
    height: 50px;
    border-radius: 8px;
    background: #087e4e;
    font-size: 15px;
    font-weight: 600;
}

.product-review-modal .modal-footer .button:hover {
    background: #086a43;
}

.product-review-modal .modal-footer .button:disabled {
    opacity: .6;
    cursor: wait;
}

@media (max-width: 600px) {
    .product-reviews-list {
        grid-template-columns: 1fr;
    }
    .section.comments.product-reviews .comments-header {
        align-items: stretch;
        flex-direction: column;
        padding: 22px;
    }

    .section.comments.product-reviews .comments-header .product-reviews-add {
        width: 100%;
    }

    .product-review-modal .modal-dialog {
        margin: 12px;
    }

    .product-review-modal .modal-header {
        padding: 23px 22px 20px;
    }

    .product-review-modal .modal-body {
        padding: 22px 22px 6px;
    }

    .product-review-modal .modal-footer {
        padding: 18px 22px 22px;
    }

    .product-review-rating {
        align-items: flex-start;
        flex-direction: column;
    }
}
