.reviews-header {
    transition: opacity .5s ease;
    overflow: hidden;
    width: 385px!important;
    margin-left: 85px;
    padding: 32px;
    border-radius: 8px;
    background-color: #F3F3F5;
}

#comment_list_wrp{
    flex: 1;
    overflow: hidden;
}
.reviews-header-row>div{
    width: 100%;
}
.reviews-header .rating {
    padding-bottom: 24px;
    border-bottom: 1px solid #DEE2EA;
    margin-bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviews-header .stars-list {
    display: flex;
    align-items: center;
    pointer-events: none;
}
.reviews-header .stars-list > .star:not(:last-child){
    margin-right: 5px;
}
.reviews-header .star,
.reviews-header .star.empty{
    width: 22px;
    height: 22px;
}
.reviews-header .count-rating {
    font-weight: 600;
    font-size: 20px;
    line-height: normal;
}
.reviews-header .all_rating {
    font-size: 14px;
    font-weight: 400;
    color: var(--main-txt);
}

.reviews-header .item {
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.reviews-header .item:last-of-type{
    margin-bottom: 32px;
}
.reviews-header-row .ec_comment_show{
    cursor: pointer;
}
.reviews-header .item span {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
}
.reviews-header .item span:first-child {
    width: 33%;
}
.reviews-header .item span:nth-child(2) {
    order: 3;
    width: 20px;
    text-align: right;
    flex-shrink: 0;
}
.reviews-header .item .rating-line {
    width: 172px;
    height: 8px;
    margin-top: 4px;
    background: #D7D7DA;
    border-radius: 4px;
}
.reviews-header .item .rating-line span {
    display: block;
    height: 100%;
    border-radius: 10px;
    background: var(--main_color);
}

.ec-comment .author .ec-rating span{
    margin-left: 10px;
    font-size: 13px;
    font-weight: 400;
}
div.element_description .ec-rating{
    background-color: transparent;
}
.comments_rating .ec-rating .ec-criteria .star{
    cursor: pointer !important;
}
.comments_rating .ec-rating .ec-criteria .star:not(:last-child){
    margin-right: 2px;
}
.comments_rating .ec-criterias{
    display: flex;
    column-gap: 72px;
}

.comments_rating .ec-rating .ec-criteria .ec-criteria-rating{
    flex-direction: row-reverse;
}
.comments_rating .ec-criteria-rating-wrp{
    display: flex;
    column-gap: 8px;
    align-items: center;
}

.element_description .author {
    color: #636363;
    font-size: 13px;
    /*width: 30%;*/
    width: 19%;
    flex-shrink: 0;
    padding-right: 15px;
}

.element_description .author .name {
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    margin-bottom: 12px;
    color: var(--main-txt);
}
.element_description .author .city,
.element_description .author time {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: var(--main_text_gray);
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.element_description .author .city{
    margin-bottom: 12px;
}

.element_description .author time {
    display: block;
    margin-bottom: 16px;
}


.element_description .emarket-comments {
    position: relative;
    font-size: 14px;
    background-color: #fff;
    width: 100%;
    padding-top: 20px;
}

.element_description .emarket-comments .emarket-comments-wrap{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
    /*gap: 120px;*/
}

.element_description .emarket-comments h2{
    display: none;
}
.element_description .emarket-comments .rating,
.element_description .ec-rating .ec-criteria .ec-criteria-rating,
.element_description .ec-rating .ec-criteria-full .ec-criteria-rating {
    display: flex;
    align-items: center;
    /*gap: 2px;*/
}

.element_description .ec-rating .ec-criteria .ec-criteria-rating>a:not(:last-child){
    margin-right: 2px;
}

.element_description .ec-rating .ec-criteria-full .ec-criteria-rating>*:not(:last-child){
    margin-right: 2px;
}

.element_description .emarket-comments .rating span {
    position: relative;
    top: -5px;
    padding-left: 7px;
    margin-right: 10px;
    font-weight: 600;
}
.ec-comment.row{
    border-top: 1px solid #dfdfdf;
}
.ec-comments-list.clear{
    border-bottom: 1px solid #dfdfdf;
}

.element_description .ec-comments-add {
    overflow: hidden;
    transition: opacity .5s ease;
}

.element_description .ec-comments-add.open {
    display: block
}

.element_description .ec-comments-add span:first-child {
    padding-top: 0
}

.element_description .ec-comments-add .comments_rating-title::after,
.element_description .ec-comments-add span.required::after {
    content: "*";
    color: #f3542a;
    padding-left: 3px;
}

.comment-form{
    width: 595px;
}

.comment-form > span{
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 16px;
    display: inline-block;
}

.ec-input-param{
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.ec-input-param:last-child{
    height: 44px;
}

.ec-images{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    flex-wrap: wrap;
}
.ec-images::-webkit-scrollbar{
    display: none;
}

.ec-image{
    flex-shrink: 0;
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 4px;
}

.ec-image img{
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.ec-image-delete{
    border-radius: 50%;
    background-color: #fff;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 4px;
    right: 4px;
    display: none;
    cursor: pointer;
    color: #959CAA;
    transition: color 0.3s;
}

.ec-image-delete:hover{
    color: var(--main-txt);
}

.ec-image:hover .ec-image-delete{
    display: flex;
}

.ec-image-add{
    position: absolute;
    inset: 0;
    border: 1px dashed #C8CAD0;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ec-image-add:hover{
    border-color: #7C808A;
}

.ec-image-add:active{
    background-color: #EEEEF0;
}

.element_description .ec-comments-add textarea {
    resize: none;
    overflow: inherit;
    height: 100px;
}

.element_description .ec-comments-add input.ec-empty, .element_description .ec-comments-add textarea.ec-empty {
    border: 1px solid #F3542A;
}

.element_description .ec-comments-add input.ec-empty:focus, .element_description .ec-comments-add textarea.ec-empty:focus {
    background-color: var(--bg-gray);
    color: initial;
}

.element_description .ec-comments-add .required_fields {
    float: left;
    width: 100%;
    padding: 24px 0 40px;
}

.element_description .ec-comments-add .required_fields p {
    color: #93939D;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
}

.element_description .ec-comments-add .required_fields span {
    display: initial;
    padding-top: 0
}
.ec_comments_new_buttons{
    width: 595px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 12px;
}
.ec_comments_new_buttons .button{
    flex: 1;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus, .btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus{
    background-color: var(--main_color);
}

.element_description .ec-comments-add .ec-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.element_description .ec-comments-captcha_title span {
    padding-top: 15px !important
}
.element_description .ec-comments-captcha img {
    height: 50px;
    width: auto;
}

.element_description .comments_rating {
    padding-left: 100px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comments_rating .star, .comments_rating .star.empty{
    width: 22px;
    height: 22px;
}

.element_description .ec-rating {
    background-color: #f5f5f5;
}

.element_description .ec-rating span:after {
    display: none
}

.element_description .ec-rating .ec-criteria-full {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 16px;
    padding-top: 32px;
    border-top: solid 1px var(--border-gray);
    margin-top: 32px;
}
.element_description .ec-rating .ec-criteria{
    flex-direction: column;
    row-gap: 16px;
    display: flex;
    width: 140px;
}

.element_description .ec-rating .ec-criteria-full .ec-criteria-rating-wrp{
    pointer-events: none;
    width: 140px;
}

.element_description .ec-rating .ec-criteria-full span {
    /*padding-bottom: 20px;*/
    font-weight: 700;
}

.element_description .ec-comment {
    padding: 50px 0 44px 0;
    border-bottom: 1px solid #e6e6e6;
}

.element_description .ec-comment:first-child {
    padding-top: 0;
}

.element_description .ec-comment .ec-rating {
    display: flex;
    align-items: center;
    padding: 0;
    background: 0 0;
    flex: 0 0 auto;
    max-width: 100%;
    margin-right: 20px;
    margin-bottom: 10px;
}

.element_description .ec-comment .ec-rating-stars{
    display: flex;
}

.element_description .ec-comment .rating_comments .ec-rating .star {
    position: relative;
    top: -1px;
    -webkit-transition: none;
    transition: none
}
.element_description .ec-comment .ec-rating>div:not(:last-child){
    margin-right: 2px;
}

.element_description .ec-comment .rating_comments i {
    font-size: 20px;
    position: absolute;
    color: #2196f3;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: ease-out .3s;
    transition: ease-out .3s;
    top: -1px
}

.element_description .ec-comment .rating_comments .ec-rating-list-show {
    color: var(--main_color);
    float: left;
    line-height: 17px;
    display: flex;
    font-size: 14px;
    position: relative;
    border-bottom: 1px dashed var(--main_color);
    flex: 0 0 auto;
    max-width: 100%;
}
.ec-rating-list-show:after{
    content: '';
    width: 7px;
    height: 7px;
    position: absolute;
    bottom: 7px;
    right: -16px;
    border-bottom: 1px solid var(--main_font_color);
    border-left: 1px solid var(--main_font_color);
    transform: rotate(-45deg);
    transition: .2s;
}
.ec-rating-list-show.arrow-top:after{
    bottom: 3px;
    transform: rotate(135deg);
}
.element_description .ec-comment .rating_comments .ec-rating-list-show:hover {
    border-bottom-color: transparent;
}

.element_description .ec-comment .rating_comments .ec-rating-list-show:active {
    color: var(--main_color);
}

.element_description .ec-comment .rating_comments .ec-rating-list-show.arrow-top i {
    -webkit-transform: rotate(0);
    transform: rotate(0)
}

.element_description .ec-comment .ec-rating-list {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.element_description .ec-comment .msg {
    width: 100%;
}

.element_description .ec-comment .msg span {
    float: left;
    width: 100%;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    margin-bottom: 16px;
}
.element_description .ec-comment .msg p{
    font-size: 14px;
    font-weight: 300;
    line-height: 160%;
    max-width: 850px;
    white-space: pre-wrap;
}

.element_description .ec-comment .msg-plus {
    margin-bottom: 40px;
}


.element_description .no-comment {
    text-align: center;
    display: block;
    padding: 20px 0;
}

.star {
    background-image: url(images/star_full.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: none;
    fill: var(--main_color)!important;
}

.star:hover {
    cursor: pointer
}

.star.empty {
    background-image: url(images/star_empty.svg?1);
}

.comments_rating .star:hover{
    background-image: url(images/star_full.svg);
}

.comments_rating .star:hover ~ .star{
    background-image: url(images/star_full.svg);
}

.star.half {
    background-image: url(images/star_half.svg);
}

.star.empty.active {
    background-image: url(images/star_full.svg);
}
.star, .star.empty {
    height: 18px;
    width: 18px;
    cursor: default !important;
}

.error-rating{
    background-color: #fbf4f4;
    color: #dd6262;
    border: 1px solid #dd6262;
    border-radius: 4px;
    padding: 5px;
    text-align: center;
    margin-top: 15px;
    display: none;
}
.error-rating.show{
    display: block;
}

.author time, .author p:not(.name) {
    font-size: 14px;
    color: #8d8d8d;
}

.comments_rating span {
    margin-right: auto;
}
.comments_rating-title{
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 32px;
    display: inline-block;
}
.reviews-plug {
    display: flex;
    /*align-items: center;*/
    align-items: start;
    justify-content: space-between;
    flex-direction: row;
    transition: opacity .5s ease;
    overflow: hidden;
    width: 100%;
    flex-wrap: wrap-reverse;
}

.reviews-plug-l p {
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
}

.reviews-plug-l svg {
    fill: #ECECEC;
}


.reviews-plug-r{
    width: 310px;
    margin-bottom: 40px;
}
.rating-marks{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
    margin-bottom: 40px;
}
.reviews-plug-r svg {
    fill: var(--border-bottom-gray);
}
.no-marks{
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
}
.ec_comment_show{
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    width: 100%;
    cursor: pointer;
}
.reviews-plug * {
    /*flex-shrink: 0;*/
}
#CommentModalModeration {
    width: 400px;
    max-width: calc(100% - 20px);
    padding: 60px 40px 40px;
}
#CommentModalModeration svg {
    display: block;
    margin: 0 auto 40px;
}
#CommentModalModeration svg + p{
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
}
#CommentModalModeration .popup-window-buttons{
    padding: 0;
}
#CommentModalModeration .ok-btn{
    width: 100%;
    height: 50px;
    border-radius: 4px;
    background: var(--main_color);
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    transition: 0.2s;
    margin: 40px 0 0;
    padding: 0;
    color: var(--main_text_button);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
}
#CommentModalModeration .ok-btn:hover{
    background-color: var(--yellow-button-hover);
}
#CommentModalModeration .ok-btn:active{
    transform: scale(0.95);
}

/*Modal*/
.modal-comment{
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-comment-layout{
    position: absolute;
    inset: 0;
    background: rgba(30, 38, 60, 0.40);;
    z-index: -1;
}

.modal-comment-content {
    position: relative;
    background-color: #fff;
    width: 400px;
    max-width: calc(100% - 20px);
    padding: 60px 40px 40px;
    border-radius: 12px;
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2);
}

.modal-comment-title{
    margin-bottom: 32px;
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    color: var(--main_text_black);
    display: flex;
    justify-content: center;
    padding: 0;
}

.modal-comment svg{
    display: block;
    margin: 0 auto 40px;
}

.modal-comment-text{
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
}

.modal-comment-ok-btn{
    width: 100%;
    height: 50px;
    border-radius: 4px;
    background: var(--main_color);
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    transition: 0.2s;
    margin: 40px 0 0;
    padding: 0;
    color: var(--main_text_button);
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: none;
}

.modal-comment-ok-btn:hover{
    background-color: var(--yellow-button-hover);
}

.modal-comment-ok-btn:active{
    transform: scale(0.95);
}
.comments-images{
    display: flex;
    margin-top: 32px;
    flex-wrap: wrap;
}
.comments-image-wrp{
    padding: 4px;
    border-radius: 6px;
    border: 1px solid transparent;
    margin-right: 12px;
    margin-bottom: 12px;
    flex-shrink: 0;
    transition: 0.3s;
}
.comments-image{
    width: 72px;
    height: 72px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;

}
.comments-image-wrp:hover{
    border-color: #C6CBD6;
}
.comments-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 1280px){
    .reviews-header{
        margin-left: 80px;
    }
}
@media (max-width: 1180px){
    .element_description .emarket-comments .emarket-comments-wrap{
        flex-direction: column-reverse;
    }
    .reviews-header{
        margin: 0;
    }
    .element_description .ec-comment:first-child{
        padding-top: 50px;
    }
    .reviews-header-row>div{
        width: 310px;
    }
}
@media(max-width: 940px){
    .element_description .comments_rating{
        width: 325px;
    }
    .comment-form,
    .ec_comments_new_buttons{
        width: 400px;
    }
}
@media(max-width: 768px){
    .element_description .author{
        width: 24%;
    }
    .ec_comments_new_buttons{
        width: 100%;
    }
    .element_description .comments_rating{
        padding-left: 0 !important;
        margin-top: 24px;
        width: 100% !important;
    }
    .comment-form{
        width: 100%;
    }
    div.element_description .ec-rating{
        max-width: 100%;
    }
    .comments-image{
        width: 64px;
        height: 64px;
    }
}
@media(max-width: 678px){
    .reviews-header .item:last-child{
        margin-bottom: 30px;
    }
    .reviews-header{
        margin-bottom: 0;
        width: 100%!important;
    }
    .reviews-header-row>div{
        width: 100%;
    }
    .reviews-header .item .rating-line{
        width: 93%;
        margin: 4px 20px 0 20px;
    }
    .reviews-header .item span:first-child{
        width: 28%;
    }
}
@media(max-width: 576px){
    .element_description .author{
        width: 33%;
    }
    .element_description .emarket-comments {
        padding: 0;
    }
    .reviews-header .stars-list > .star:not(:last-child){
        margin-right: 4px;
    }
    .reviews-header{
        padding: 20px;
    }
    .reviews-header .star,
    .reviews-header .star.empty{
        width: 18px;
        height: 18px;
    }
    .reviews-header .count-rating{
        font-size: 16px;
        line-height: 19px;
    }
    .reviews-header .rating{
        padding-bottom: 12px;
    }
    .reviews-header .item span:first-child{
        width: 45%;
        font-size: 12px;
    }
    .reviews-header .item span:nth-child(2){
        font-size: 12px;
    }
    .element_description .ec-comment{
        padding: 24px 0;
    }
    .element_description .ec-comment:first-child{
        padding-top: 40px;
    }
    .element_description .author .name{
        width: 48%;
        order: -1;
        margin-bottom: 8px;
        font-size: 14px;
    }
    .element_description .author .city{
        width: 100%;
        margin-bottom: 8px;
        font-size: 12px;
    }
    .element_description .comments_rating{
        margin-top: 0;
        order: -1;
    }
    .element_description .ec-comments-captcha img{
        height: 46px;
    }
    .comments_rating-title{
        margin-bottom: 24px;
    }
    .comments_rating .ec-criterias{
        flex-direction: column;
        row-gap: 32px;
    }
    .ec_comments_new_buttons{
        flex-direction: column-reverse;
        align-items: stretch;
        row-gap: 8px;
    }
    div.element_description .ec-rating{
        width: 100%;
    }
    .element_description .ec-rating .ec-criteria-full{
        margin-top: 24px;
        padding-top: 24px;
    }
    .comment-form{
        margin-top: 40px;
    }
    .comment-form .el-form-input{
        height: 46px;
        padding: 16px 20px;
    }
    .comment-form .el-form-group{
        margin-bottom: 32px;
    }
}
@media(max-width: 480px){
    .reviews-plug-r{
        width: 100%;
    }
    .reviews-header-row>div{
        margin-bottom: 0;
    }
    .element_description .ec-comment>.d-flex{
        flex-direction: column;
    }
    .ec-comment .author .ec-rating span{
        font-size: 14px;
    }
    .element_description .author{
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        margin-bottom: 24px;
    }
    .element_description .author time{
        font-size: 12px;
        margin-bottom: 0;
    }
    .element_description .ec-comment .rating_comments{
        max-width: 40%;
        order: -1;
        margin-left: auto;
        margin-right: 0;
        margin-bottom: 6px;
    }
    .element_description .ec-comment .rating_comments .ec-rating{
        max-width: none;
        margin-bottom: 0;
    }
    .element_description .ec-comment .ec-rating{
        max-width: 40%;
        order: -1;
        margin-left: auto;
        margin-right: 0;
        margin-bottom: 0;
    }
    .element_description .ec-comment .msg-plus{
        margin-bottom: 24px;
    }
    .element_description .ec-comment .msg span{
        font-size: 14px;
        margin-bottom: 12px;
    }
    .element_description .ec-comment .msg p{
        font-size: 14px;
        line-height: 160%;
    }
}
@media(max-width: 440px){
    #CommentModalModeration{
        max-width: calc(100% - 40px);
        padding: 40px 20px 20px;
    }
    #CommentModalModeration svg{
        margin-bottom: 32px;
    }
    #CommentModalModeration .ok-btn{
        height: 46px;
        margin-top: 32px;
    }
}