/* rating */
.rating_div_top .logo{
    height: 23px;
}
.rating_numb{
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
}
.rating_div{
    padding: 32px 24px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border);
}
.rating_div_bottom p{
    font-size: 24px;
    font-weight: 600;
}
.ava_rating_row img{
    height: 44px;
    width: auto;
    margin-left: -10px;
    border-radius: 50%;
    border: 3px solid #fff;
}
.ava_rating_row img:first-child{
    margin: 0;
}

/* about */
hr{
    color: #000;
    opacity: .15;
    margin: 20px 0px;
    padding: 0;
}
#about img{
    width: calc(33% - 12px);
}
.about_text{
    width: calc(66% - 12px);
    padding-left: 10%;
}
.about_div{
    width: calc(33% - 12px);
    height: auto;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 10px;
    position: relative;
    background: #fff;
}
.about_div_color{
    background: var(--main);
}
.about_div_img{
    padding: 0;
}
#about .about_div_img img{
    width: 100%;
    height: 100%;
}
.about_div_img .title{
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 8px;
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 2;
}
.about_div_img .title p{
    color: #fff;
}
.about_div_top p{
    max-width: 140px;
}
#about .about_div_img_row img{
    width: 42%;
}

/* otz */
.otz_div{
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    padding: 24px;
    height: 100%;
}
.otz_div img.ava{
    height: 60px;
    width: auto;
}
.otz_div_top p{
    font-weight: 600;
}
.swiper_otz .swiper-wrapper{
    display: flex;
    align-items: stretch;
}
.swiper_otz .swiper-slide{
    height: auto;
}

/* zayavka */
#zayavka .container{
    max-width: var(--container-big);
    border-radius: 10px;
    background: var(--main);
}
.zayavka_text{
    width: 55%;
    padding: 65px 100px;
}
.zayavka_text h2 span{
    color: #fff;
}
.zayavka_img{
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
input[type="checkbox"]{
    -webkit-appearance: none;
    appearance: none;
    width: 24px !important;
    min-width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid var(--main);
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: .3s;
}
input[type="checkbox"]:checked{
    background-image: url('/static/img/img_ms/icons/checkbox_input.svg');
    background-size: cover;
    background-position: center;
}
input[type="checkbox"]:active {
    filter: brightness(90%);
}
input[type="checkbox"]:hover:not(:disabled) {
    border-color: var(--main);
}
input[type="checkbox"]:focus {
    border-color: var(--main);
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.3);
}
.form_check label{
    font-size: 12px;
    color: var(--text-color);
}
.form_check label a{
    text-decoration: underline;
    color: var(--text-title);
    font-size: 12px;
}
.modal .form_check label{
    color: #2c2c2c;
}
.modal .form_check label a{
    color: #000;
}

/* montazh */
#montazh .container{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    padding: 120px 60px;
}
.montazh_bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.montazh_bg img{
    width: 100%;
    object-fit: cover;
    position: absolute;
    bottom: -40px;
}
.montazh_bg::before{
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to left, #000, transparent);
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: .7;
}
.montazh_text{
    padding-left: 65%;
    position: relative;
    z-index: 3;
}
.montazh_text h2{
    color: #fff;
}
.montazh_text h2 span{
    color: var(--main);
}
.montazh_text p{
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

/* production */
.production_row{
    row-gap: 48px;
    display: none;
}
.production_row_active{
    display: flex;
}
#production .btn_main_border,
#price .btn_main_border{
    padding: 16px 40px;
    color: var(--btn);
    background: transparent;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.1;
    transition: .3s;
}
.production_container .btn_main_black{
    background: #888888;
    border: 1px solid #888888;
}
.production_container{
    display: none;
}
.production_container_active{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 40px;
}
.production_div{
    width: calc(33% - 12px);
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
    border-radius: 10px;
    height: auto;
}
.production_div img{
    width: 100%;
    height: auto;
    object-fit: contain;
}
.production_div p.price{
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}
.production_text p{
    color: #6F6F6F;
}
.production_text{
    padding: 24px;
    padding-top: 0;
}
.production_div_horizontal{
    width: calc(50% - 12px);
    padding: 24px;
}
.production_div_horizontal img{
    width: calc(38% - 12px);
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}
.production_div_horizontal .production_text{
    width: calc(62% - 12px);
}
.production_div_horizontal .production_text{
    padding: 0;
}
.production_p{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    font-size: 14px;
}
.production_p span{
    font-weight: 600;
    color: #000;
}
.production_div_zayavka{
    background: var(--main);
    padding: 24px;
}
.production_div_zayavka img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
.production_div_zayavka h3{
    display: flex;
    align-items: start;
    justify-content: start;
    flex-grow: 1;
}
.production_container .production_div_zayavka .btn_main_black{
    background: #000;
}

/* price */
.price_container{
    display: none;
}
.price_container_active{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 40px;
}
#price table{
    border-spacing: 0px;
    position: relative;
}
#price table::after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: var(--main);
    border-radius: 10px;
}
#price table td{
    padding: 15px 25px;
}
#price table td span{
    font-weight: 600;
}
#price table tr td:first-child{
    border-radius: 10px 0px 0px 10px;
}
#price table tr td:last-child{
    border-radius: 0px 10px 10px 0px;
}
#price table tr:nth-child(odd) {
    background: var(--bg);
    border-radius: 10px;
    overflow: hidden;
}
#price table tr:nth-child(even) {
    background: #fff;
    border-radius: 10px;
}
#price table thead tr{
    background: #fff !important;
}
#price table thead tr th{
    padding: 20px 25px;
    text-align: left;
}

/* expiration */
#expiration .container{
    row-gap: 48px;
}
.expiration_text, .expiration_img{
    width: calc(50% - 12px);
}
.expiration_img_column{
    width: calc(50% - 8px);
}
.expiration_img_column img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.error p{
    color: #F43C3C;
}
.succes p{
    font-weight: 600;
}
.error img, .succes img{
    height: 39px;
    width: 39px;
}
.expiration_img_error::after{
    content: "";
    display: block;
    position: relative;
    height: 3px;
    width: 100%;
    background: #F43C3C;
    border-radius: 10px;
}
.expiration_text{
    padding-right: 10%;
}
.expiration_text_active{
    padding: 24px 32px;
    border-radius: 10px;
    background: var(--main);
}

/* steps */
#steps .container{
    padding: 330px 0px 30px 0px;
    position: relative;
    overflow: hidden;
    max-width: var(--container-big);
    border-radius: 10px;
    padding-left: calc((var(--container-big) - var(--container))/2);
    padding-right: calc((var(--container-big) - var(--container))/2);
}
.steps_bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.steps_bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.steps_content{
    position: relative;
    z-index: 3;
}
#steps .title p, #steps .title h2{
    color: #fff;
}
.step_div{
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    height: auto;
    width: calc(20% - 8px);
    position: relative;
}
.step_div::after{
    content: "";
    position: absolute;
    top: 50px;
    right: -16px;
    width: 16px;
    height: auto;
    aspect-ratio: .18;
    background-image: url('/static/img/img_ms/steps_bridge.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.step_div:last-child:after{
    display: none;
}
.step_text{
    flex-grow: 1;
    color: #676767;
    font-size: 14px;
}
.step_div p.numb{
    font-size: 24px;
    color: var(--main);
    font-weight: 600;
    display: flex;
    gap: 4px;
}
.step_div p.numb::after{
    content: "]";
}
.step_div p.numb::before{
    content: "[";
}

/* preim */
.preim_div{
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    width: calc(33% - 12px);
}
.preim_div .title{
    flex-direction: row;
    align-items: center;
    justify-content: start;
}
.preim_div_img{
    position: relative;
    overflow: hidden;
    padding: 0;
}
.preim_div_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preim_div_img_text{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    padding: 24px;
    height: 100%;
}
.preim_div_img_text h3, .preim_div_img_text li{
    color: #fff;
}
.preim_div_img_row img{
    width: 40%;
}
.preim_div img{
    max-width: 100%;
}
.preim_div_color{
    background: var(--main);
}

/* portfolio */
.swiper_portfolio img{
    width: auto;
    height: 540px;
}
.swiper_portfolio .swiper-slide{
    width: auto !important;
}
.swiper_portfolio{
    padding-left: calc(50% - var(--container)/2);
}

/* sale */
.swiper_sale{
    padding-left: calc(50% - var(--container)/2);
}
.swiper_sale .swiper-slide{
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 32px;
    aspect-ratio: 16/8;
}
.swiper_sale .bg_sale{
    width: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    height: 100%;
}
.swiper_sale .bg_sale img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.sale_text p::after{
    content: "]";
}
.sale_text p::before{
    content: "[";
}
.sale_text{
    position: relative;
    z-index: 3;
    height: 100%;
    max-width: 50%;
}
.sale_text h3{
    font-size: 32px;
    line-height: 1.1;
    color: #fff;
}
.sale_text p{
    color: #fff;
}
.swiper_sale .swiper_sale_active .bg_sale::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #C2D23B, #C2D23B54);
}
.swiper_sale .swiper_sale_active h3,
.swiper_sale .swiper_sale_active p{
    color: #000;
}
.swiper_sale .swiper_sale_active .btn_main{
    background: #000;
    color: #fff;
}

/* faq */
.faq_btn{
    width: 39px;
    min-width: 39px;
    height: 39px;
    border-radius: 10px;
    background: var(--main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: .3s;
}
.faq_btn:hover{
    background: var(--main-hover);
}
.faq_btn span{
    width: 18px;
    height: 1px;
    display: block;
    background: #000;
    position: absolute;
}
.faq_btn span:last-child{
    transform: rotate(90deg);
}
.faq_div_active .faq_btn span:last-child{
    transform: rotate(0deg);
}
.faq_div{
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.faq_body{
    display: none;
}
.faq_div_active .faq_body{
    display: block;
}

/* cont */
#cont{
    background: #282828;
    padding: 64px 0px;
    margin-top: 64px;
}
#cont h2, #cont p, #cont a{
    color: #fff;
}
#cont h3{
    color: var(--main);
}
#map{
    height: auto;
    width: calc(50% - 12px);
    border-radius: 10px;
    overflow: hidden;
}
.cont_column{
    width: calc(50% - 12px);
}
.cont_adress_div{
    padding: 15px 0px;
    border-bottom: 1px solid #6F6F6F;
}
.cont_adress_div p{
    white-space: nowrap;
}
.cont_adress_div p.cont_adress_text{
    text-align: left;
    display: flex;
    flex-grow: 1;
    white-space: inherit;
}

/* footer */
footer{
    background: #000;
    padding: 64px 0px 32px 0px;
}
footer a, footer p{
    color: #fff;
}
.footer_bottom p:first-child{
    max-width: 200px;
}
.footer_bottom p:last-child{
    color: #D9D9D9;
    max-width: 830px;
    font-size: 14px;
}

/* modal */
.modal, .modal_product{
    display: none;
    background: rgb(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
}
.modal h2 span{
    color: #fff;
}
.modal_active{
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal_content{
    padding: 64px 100px;
    background: var(--main);
    position: relative;
    width: 100%;
    max-width: 790px;
    border-radius: 10px;
}
.modal_product .modal_content{
    padding: 24px;
    border: 1px solid var(--border);
    background: #fff;
    max-width: var(--container);
}
.modal_content form{
    margin-top: 20px;
}
.modal_content img.toggle_modal,
.modal_content img.toggle_modal_product{
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    height: 16px;
    height: 32px;
    width: 32px;
    opacity: .7;
    transition: .3s;
    z-index: 10;
}
.modal_content img.toggle_modal:hover,
.modal_content img.toggle_modal_product:hover{
    opacity: 1;
}
.modal_product .swiper{
    width: 40%;
    height: auto;
    margin: 0;
}
.modal_product .swiper .swiper-slide img{
    width: auto;
    height: 100%;
    object-fit: cover;
    max-height: 440px;
    border-radius: 10px;
}
.modal_product .swiper-navigation button.disabled{
    display: none;
}
.modal_product .swiper .swiper-slide{
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal_product .modal_product_text{
    width: calc(60% - 48px);
}
.modal_product .modal_product_text p.price{
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
}
.swiper_modal_product{
    position: relative;
}
.swiper_modal_product .prev{
    position: absolute;
    z-index: 10;
    left: 10px;
    top: calc(50% - 24px);
}
.swiper_modal_product .next{
    position: absolute;
    z-index: 10;
    right: 10px;
    top: calc(50% - 24px);
}