    
    @import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&display=swap');
    
    .nyroModalCont {
        margin: 70px;
        overflow: hidden !important;
    }
    #reviews_add_form {
        display: none;
    }
    .reviews .form .stars .starrating > label:before {
        font-size: 1em;
    }
    .reviews .form .stars .starrating > label{
        margin: 0px;
    }
    #redactor_modal {
        z-index: 10010 !important;
    }
    .reviews .form .redactor_box {
        background: unset;

    }
    .reviews .form .redactor_toolbar {
        background: unset;
        box-shadow: none;
    }
    #reviews_add_form_sub {
        display: none;
    }
    .reviews .form .qq-upload-button {
        display: none;
    }
    .reviews .form .widget_image_single .block, .reviews .form .widget_image_multi .block {
        height: auto;
    }
    .redactor_editor {
        min-height: 150px !important; 
    }
    .reviews .redactor_editor {
        min-height: 100px !important; 
    }
    #reviews_add_link a {
        color: #fff !important;
    }
    .reviews .text p{
        margin-bottom: 5px;
    }
    .reviews .links {
        padding-top: 5px !important;
    }
    .text-grey {
        color: #ccc;
    }
    .images-review img{
        width: 117px;
        border-radius:10px;
    }
    .reviews .redactor_box {
        position: relative;
    }
    #reviews_list .review .content .links a {
     font-size: 13px;
border: 1px solid #eee;
padding: 5px 10px;
border-radius: 8px;
display: inline-block;   
    }
	
	 #reviews_list .review .content .links a:hover {
     opacity: 0.8; 
    }
	

    #reviews_list .images{
        display:flex;
        margin: 0 auto 25px;
        font-family: 'Golos Text';
    }
    .reviews .images img{
        width: 112px;
        border-radius:10px;
    }
    .reviews .images .show-all, .images-review-items .show-all-item {
        width: 112px;
        font-size: 15px;
        background: #f1f1f1;
        display: inline-block;
        text-align: center;
        border-radius:10px;
    }

    .images .show-all a div, .show-all-item a div, .wrp-item-modal-img a div{
    position: absolute;
    width: 100%;
    border-radius:10px;
    text-align: center;
    height: 100%;
    background-color: black;
    opacity: 0.8;
    }

    .images .show-all a div span, .show-all-item a div span , .wrp-item-modal-img a div span{
        position: absolute;
        top: calc(50% - 14px);
        width: 100%;
        text-align: center;
        left: 0;
        font-size:14px;
        color:#fff;
    }
    .color-black {
        color: #fff !important;
    }
    .images-reviews .item{
        float: left;
        margin-bottom: 10px;
    }
    .images-review .item img {
        width: 150px;

    }
    .images-reviews .owl-item {
        margin:0px !important;
    }

    .reviews-load {
        color: #005bff;
        font-weight: 700;
        
        padding-top: 24px;
        
        cursor: pointer;
    }
    .reviews-load button{
        background-color:#E6F4EC;
        color: #138F46;
        font-size: 14px;
        padding: 10px 35px;
        margin-bottom: 30px;
    }
    
    #reviews_widget #reviews_add_form .author_data .field .input {
        background: #fff;
    }


    #reviews_list{

        display:flex;
        flex-direction: column;
        
    }
    #reviews_list div, #reviews_list span{

       font-family: 'Golos Text';
        
    }

    #reviews_list .images-box{

        display:flex;
    }

    .item_rat{
        display: flex;
        align-items: center;
    }
    .item_rat .cnt{
                font-size:12px;
                display:flex;
    }
    .item_rat>span{
                margin-left:5px;
    }
    .avg-rat{
                font-size:22px;
                margin-right:50px;
    }

    .text-warning::before{
                font-family:'Font Awesome 5 Free';
                
    }

    .avg-rat>span span{
                font-size:40px;
                color:black;
                padding-left: 30px;
                font-weight:500;
    }
    .avg-rat>span::before{
                line-height:10px;
                position:absolute;
                top:15px;
                left:10px;
    }
    .avg-rat .revcount{
                font-size:12px;
                color:gray;
                font-weight:400;
                padding-left: 15px;
                
    }

    .item_rat .stars{
                font-size:12px;
                color:gray;
                padding-right: 50px;
                
    }
    
    #reviews_list .owl-item{
                border:1px solid #e4e4e4;
                border-radius:10px;
                padding: 10px;
    }
    #reviews_list .owl-carousel{
                margin-top:20px;
    }
    #reviews_list .owl-prev , #reviews_list .owl-next{
                position: absolute;
                top: calc(50% - 20px);
                width: 40px;
                height: 40px;
                background-color: #f0f0f0;
                border-radius: 40px;
    }
    #reviews_list .owl-prev{
                left:20px;
    }
    #reviews_list .owl-next{
                right:20px;
    }


     .filters{
    margin-top:20px;
    font-family: 'Golos Text';
     font-size: 14px;
 }  
.filters .star{
    margin-right: 37px;
    margin-left: 0;
    cursor:pointer;
    font-size:14px;
}
.filters .star span{
    margin-left: 10px;
     font-family: 'Golos Text';
     font-size:14px;
    
}
.filters .star label{
    
     font-family: 'Golos Text';
     font-size:14px;
    
}



.filters .star.active span{
   
    font-weight: 700;
}

.filters .attach, .filters .sorting{
    margin-right: 37px;
    margin-left: 0;
    cursor:pointer;
    font-size:14px;
}
.filters .sort{
    display:flex;
    justify-content: center;
}

.filters .sorting.active{
    font-weight:700;
}


#review_item_product .review-body .info span{
    margin-left:10px;

}
#review_item_product .review-body .info span.user{
    font-weight:700;
}
#review_item_product .wrp-star{
    display: flex;
    justify-content: flex-end;
}

.filters .attach.active {
    font-weight:700;
}

.rerev{ 
    
    padding:10px;
    margin-top:10px;
    background-color:#F5F5F5;
}


.images-review-items{
    display:flex;
}
.images-review-items img{
width: 112px;
    border-radius: 10px;
    cursor:pointer;
}
.show-all-item{
    cursor:pointer;
}
.img-review{
    cursor:pointer;
}

.btn-arrow{
    position: absolute;
    
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(245, 240, 240, 0.5);
    color: black;
    border: none;
    width: 40px;
    height: 40px;
    border-radius:50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-arrow.btn-arrow-left{
    left: 10px;
}


.btn-arrow.btn-arrow-right{
    right: 10px;
}

.btn-arrow:hover {
    background: rgba(0,0,0,0.7) !important;
    color: white !important;
}

.btn-arrow:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
    background:red;
}



.current-image-container {
    height: 400px;
    min-height: 400px;
    max-height: 400px;
    display: flex;
    margin: 0;
    background: #7d7b7a;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.current-image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 99%;
    max-width: 99%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#modal_container .modal-body {
    /*overflow-y: auto;
    max-height: 60vh;*/ /* Ограничиваем высоту контента */
}




#modal_container .modal-dialog{
    min-width:1164px;
    height: 634px; /* Фиксированная высота */
    max-height: 634px; /* На всякий случай */
    margin: auto;
    display: flex;
    align-items: stretch;
}

.item-modal-img{
    border-radius:10px;
    cursor:pointer;


}
.modal-body .right-scroll{
    position: relative;
    overflow-y:auto;
    height: 400px; /* Фиксированная высота */
    max-height: 400px; 
}


.modal-body .show-all .wrp-item-modal-img {
  position: relative;
  width: 100%;
  background-color: black;
    opacity: 0.7;
    border-radius:10px;
 
}
.modal-body .show-all .wrp-item-modal-img div{
   position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color:white;
  font-size: 14px;
  white-space: nowrap;
}
.modal-body .wrp-info{
    display: flex;
    justify-content: space-between;
    
}
.modal-body .wrp-star{
    justify-content: flex-end;
    display:flex;
}

.modal-body .nickname{
    font-weight: 700;
    margin-right: 20px;
}

.modal-body .txt{
    font-family: 'Golos Text';
    font-size: 14px;
}

.txt{
     font-family: 'Golos Text';
     font-size: 14px;
}
/*
.body-dimmed {
    position: relative;
}

.body-dimmed::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040; 
    pointer-events: none;
}*/


.body-dimmed {
    position: relative;
}

.body-dimmed::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1040;
    pointer-events: none;
}
.wrap-stars, .wrp-attaches, .wrp-sortings{
    display:inline-block;
}
/* Стили для кнопки закрытия */
.btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: none;
    border-radius: 0.25rem;
    opacity: 0.7;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
}

.btn-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
}
.back{
    cursor:pointer;
    color:#aaaaaa;
}

   
.container-block{

    justify-content: space-around;
}

.image-block img {
  width: 50px; 
  height: 100%;
  object-fit: cover;
  display: block;
  margin-right:10px;
}

.delivery-btn {
    /*width: 100%;*/
    background-color: #138F46;
    color: #fff;
    height: 45px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 40px;
}

.delivery-btn:hover{
background-color: #018A3C ;

}
.cart-block{
    align-items: center;
    justify-content: flex-end;
}
.cart-button{
    margin-right: 15px;
}

.price-block{
    font-size: 28px;
    margin-right: 15px;
}


/*.modal {
    z-index: 1050;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/
/*мобильные*/

@media (max-width: 768px) {
#modal_container .modal-dialog{
    min-width:100%;
    /*height: 634px; *//* Фиксированная высота */
   
    margin: auto;
    display: flex;
    align-items: stretch;
}
  #modal_container .modal-body {
    overflow-y: auto;
    max-height: 60vh; /* Ограничиваем высоту контента */
}  
  #review_item_product .container-block{
    display:none;
    margin:0;
    padding:0;
  }
  .current-image-container {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    display: flex;
    margin: 0;
    background: #7d7b7a;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.current-image-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 99%;
    max-width: 99%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.modal-body .right-scroll{
    position: relative;
    overflow-y:hidden;
    height: 100%;
    max-height: 100%;

}

    .filters.row{
    display: flex;
    flex-direction: column-reverse;
}
.wrap-stars{
    display: flex;
    justify-content: flex-end;
    margin:10px 0;
}

.wrp-attaches{
    display: flex;
    justify-content: center;

}
}

