.product_comments {
    --border-color: #0005;
}

.product_comments__review-section {
    display: grid;
    grid-column-gap: 20px;
    grid-template-columns: 10fr 1fr 10fr;
    padding: 50px 15px;
}

.product_comments__summary__marks__row {
    display: grid;
    grid-column-gap: 15px;
    grid-template-columns: 2fr 4fr 2fr;
}

@media (max-width: 1220px) {
    .product_comments__summary__marks__row {
        grid-template-columns: repeat(3, 3fr);
    }
}

.product_comments__divider {
    width: 1px;
    height: 300px;
    background: var(--border-color);
}

@media (max-width: 960px) {
    .product_comments__review-section {
        grid-row-gap: 20px;
        grid-template-columns: 1fr;
    }

    .product_comments__summary__marks__row {
        grid-template-columns: 3fr 5fr 3fr;
    }

    .product_comments__divider {
        display: none;
    }
}

@media (max-width: 560px) {
    .product_comments__summary__marks__row {
        grid-template-columns: repeat(3, 3fr);
    }
}

@media (max-width: 470px) {
    .product_comments__summary__marks__row {
        grid-template-columns: 3fr 4fr;
    }

    .product_comments__summary__marks__row--percent {
        display: none;
    }
}

.product_comments__stars--star {
    width: 18px;
    height: 18px;
}

.product_comments--header {
    padding-bottom: 5px;
    font-size: 28px;
}

.product_comments__list--header {
    font-weight: 300;
    font-size: 28px;
    text-align: center;
}

.product_comments__summary--info {
    padding: 10px 0 15px 0;
    font-size: 16px;
}

.progress {
    height: 17px;
    border-radius: 5px;
}

.progress-bar {
    background: #1EE17D;
}

.product_comments .custom-input2-group--input {
    font-size: 16px;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
}

.product_comments .custom-input2-group--label {
    left: 10px;
    color: #000b;
}

.product_comments .custom-input2-group {
    margin-bottom: 15px;
}

.product_comments__create--form {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.product_comments__create .product_comments__stars {
    margin-bottom: 20px;
    cursor: pointer;
}

.product_comments--button {
    align-self: flex-end;
    width: 100%;
    max-width: 250px;
    padding: 10px 0;
    color: #fff;
    font-size: 16px;
    background: #8c0;
    border: none;
    border-radius: 5px;
    outline: none;
}

.product_comments__list__review {
    display: grid;
    grid-column-gap: 15px;
    grid-template-columns: 1fr 5fr;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
}

.product_comments__list__review__customer--name {
    display: block;
    margin: 10px 0 5px 0;
    font-size: 15px;
}

.product_comments__list__review:first-child {
    border-top: none;
}

.product_comments__list__review__body {
    font-size: 14px;
    border-left: 1px solid var(--border-color);
}

.product_comments__list__review__body p {
    margin: 0 0 0 15px;
}

.product_comments__list__review__customer {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
}

.product_comments--see-all-comments {
    margin: 50px 0;
}

@media (max-width: 720px) {
    .product_comments__list__review {
        grid-template-columns: 1fr;
    }

    .product_comments__list__review__body {
        border: none;
    }

    .product_comments__list__review__body p {
        margin: 0;
    }

    .product_comments--see-all-comments {
        line-height: 3rem;
        margin: 15px 0;
    }
}

@media(min-width:768px) {
    .product_comments__list__review__body {
        padding-bottom: 30px;
    }
}
/*negative comment reply section*/
#comment-reply-section {
    padding-top:20px;
}

.comment-reply-button {
    padding:0;
    border:none;
    background-color:transparent;
    text-decoration:underline;
    color:#1EE17D;
}

.comment-reply-container.hidden {
    display:none;
}

.comment-reply-container {
    display:block;
    padding:20px 0 0 15px;
}

.comment-reply-header {
    display:grid;
    grid-template-columns: 0.5fr 7fr;
}

.comment-reply-author + span {
    display:block;
}

.reply-logo {
    max-width: 40px;
}

.comment-reply-details {
    padding:8px 0 0 10px;
    color:#9a9999;
}

.comment-reply-author {
    font-weight:700;
    font-size:15px;
    color:#2e2e2e;
}

.comment-reply-content {
    padding:14px 10px 0 0;
    line-height:20px;
}

@media(max-width:375px) {
    .comment-reply-details {
        padding-top:5px;
    }
}

@media(min-width:376px) {
    .comment-reply-details {
        padding-top:4px;
    }
}

@media(min-width:768px) {
    #comment-reply-section {
        grid-column:2/3;
        padding-top:0;
        margin-top:-15px;
    }
    .comment-reply-container {
        width:80%;
        margin-left:50px;
        padding:25px 0 0 20px;
    }
    .comment-reply-details {
        margin: -3px 0 0;
    }
    .comment-reply-button {
        padding-left:15px;
    }
}

@media(min-width:1200px) {
    .comment-reply-container {
        width:70%;
        margin-left:110px;
    }
    .comment-reply-button {
        padding: 0 15px;
    }
    .comment-reply-content {
        padding:15px 10px 0 0;
    }
    .comment-reply-details {
        margin-top:2px;
        padding-left:5px;
    }
    .reply-logo {
        max-width:43px;
    }
}

/* Languages */

.pc-comment-lang {
    width: 15px;
    margin: -4px 0 0 2px;
}

.pc-select-language {
    margin: 30px 0 20px;
}

.pc-select-language-btn {
    display: none;
    margin: 2px;
    padding: 5px 20px;
    background: white;
    border: 2px solid #1EE17D;
    border-radius: 4px;
    outline: none;
}

.pc-select-language-btn:focus,
.pc-select-language-btn:hover,
.pc-select-language-btn.--active {
    color: #00392C;
    background: #1EE17D;
}

.pc-select-language-btn.--visible {
    display: inline-block;
}

.pc-select-language-list {
    margin: -2px;
}

.pc-select-language-text {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .pc-select-language {
        display: flex;
        align-items: center;
    }

    .pc-select-language-text {
        margin: 0 10px 0 0;
    }
}

.add-comment-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0002;
    z-index: 9999;
    display: none;
}

.add-comment-popup-box {
    max-width: 650px;
    width: 100%;
    height: 190px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #FFF;
    border-radius: 10px;
    border: 3px solid #1EE17D;
    z-index: 10000;
}

@media (max-width: 768px) {
    .add-comment-popup-box {
        width: 95%;
    }
}

.add-comment-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.add-comment-cross {
    top: -5px;
    right: 15px;
    font-size: 55px;
    color: #1EE17D;
    position: absolute;
    cursor: pointer;
    z-index: 20;
    line-height: 1.5em;
}

.add-comment-flex-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.add-comment-desc {
    margin: 0 0 0 10px !important;
    font-size: 17px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.42;
    text-align: justify;
    width: 70%;
}
.add-comment-desc strong{
    font-weight: 700;
}

@media (max-width: 768px) {
    .add-comment-desc {
        font-size: 15px;
    }
}

.add-comment-close-button {
    position: absolute;
    bottom: -18px;
    background: #1EE17D;
    width: 250px;
    padding: 7px 0;
    margin: 0 auto;
    left: 0;
    right: 0;
    border-radius: 10px;
    color: #00392C;
    font-size: 16px;
    text-align: center;
    outline: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

.add-comment-popup input[type='text'] {
    position: absolute;
    bottom: 30px;
    max-width: 370px;
    width: 100%;
    font-size: 16px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 8px 20px;
    border: 1px solid #0005;
    border-radius: 5px;
}

#popup-height {
    height: 290px;
}

.product-comment-not-allowed-wrapper {
    height: 100%;
    width: 100%;
    display: flex;
}

.product-comment-not-allowed {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.confirmation-purchase-info {
    display: flex;
    flex-direction: row;
}

.confirmation-purchase-info img {
    max-width: 16px;
    height: 16px;
}

.confirmation-purchase-info p {
    min-height: 15px;
    font-size: 12px;
    margin-left: 5px;
}

.product_comments--button.disabled {
    cursor: not-allowed;
    border-color: #c6c6c6!important;
    background-color: #c6c6c6!important;
}
