@media only screen and (max-width: 1767px) and (min-width: 1329px) {
    /*1699*/
    /*
    .wrapper{
        width: 900px;
    }
    .main_slider{
        padding: 0 30px;
    }
    .main_info_wp {
        padding: 30px 30px 20px 30px;
    }
    .left_k{
        display: none;
    }
    .contacts_wp{
        padding: 20px 30px;
    }
    .card_wp{
        padding: 5px 30px;
    }
    .p_wp {
        padding: 0 15px 0 15px;
    }
    */
    .show_mobile .page_wp {
        padding-left: 270px;
    }
    .show_mobile body>.content_wp {
        margin-left: 270px;
    }
}
@media only screen and (max-width: 1499px) {
    .show_mobile .wrapper{
        width: 1000px;
    }
    .show_mobile .main_slider{
        padding: 0 30px;
    }
    .show_mobile .main_info_wp {
        padding: 30px 30px 20px 30px;
    }
    .show_mobile .left_k{
        display: none;
    }
    .show_mobile .contacts_wp{
        padding: 20px 30px;
    }
    .show_mobile .card_wp{
        padding: 5px 30px;
    }
    .show_mobile .p_wp {
        padding: 0 15px 0 15px;
    }
    .show_mobile .gbi_title {
        height: auto;
    }
    .show_mobile .gb_info {
        padding-top: 7px;
        padding-bottom: 7px;
        height: auto;
    }
    .show_mobile .cd_slider .gb_info {
        height: auto;
        min-height: 65px;
    }
    .show_mobile .gallery_block a img.lazy {
        width: 306px;
        height: 164px;
    }
}
/*
@media only screen and (max-width: 1409px) {

}
*/
@media only screen and (max-width: 1329px) {
    .show_mobile .wrapper{
        width: 800px;
    }
    .show_mobile .p_wp{
        padding: 0 30px;
    }
    .show_mobile .gallery_block a:before{
        width: 30px;
        height: 30px;
        background-size: 100%;
    }
    .show_mobile .gallery_slider .gb_img:before{
        width: 30px;
        height: 30px;
        background-size: 100%;
    }
    .show_mobile .gallery_block2{
        width: 33.33%;
    }
    .show_mobile .gallery_block2 img{
        width: 100%;
        height: auto;
    }
    .show_mobile .gbi_title{
        font-size: 14px;
    }
    .show_mobile .cr_title{
        font-size: 18px;
    }
    
    .show_mobile .left_panel_wp{
        display: none;
    }
    .show_mobile .mob_header, .sticky_mob{
        display: block;
    }
    .show_mobile .sticky_mob {
        position: sticky;
        top: 0;
        z-index: 99999;
    }
    .show_mobile .mob_tabs_wp{
        display: block;
    }
    .show_mobile .mob_tabs_wp .lpt_top:before{
        display: none;
    }
    .show_mobile .mob_tabs_wp .lpt_top:after{
        display: none;
    }
    .show_mobile .lp_tab{
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid #fff;
        overflow: hidden;
    }
    .show_mobile .mob_tabs_wp .lpt_block{
        width: 50%;
    }
    .show_mobile .lpt_toggle{
        background: rgba(233,205,175,0.86);
        padding-bottom: 0;
    }
    .show_mobile .logo{
        padding-bottom: 23px;
        margin-bottom: 0;
    }
    .show_mobile .mh_inner{
        padding-bottom: 0;
    }
    .show_mobile .mh_inner .logo {
        padding-bottom: 15px;
    }
    .show_mobile .lp_soc {
        padding-bottom: 15px;
    }
    .show_mobile .lp_tabs {
        padding-bottom: 0;
    }
    .show_mobile .phone_block a{
        margin-bottom: 0;
        margin-right: 15px;
    }
    .show_mobile .lp_soc{
        margin-bottom: 0;
        margin-right: 20px;
    }
    .show_mobile .phone_block{
        margin-bottom: 0;
    }
    .show_mobile .wrapper{
        width: 1024px;
    }
    .show_mobile .right_panel_wp{
        position: static;
        width: 100%;
        padding: 0 10px;
        height: auto;
    }
    .show_mobile .right_panel{
        width: 100%;
        border-radius: 0;
    }
    .show_mobile .rp_articles a{
        text-align: left;
    }
    .show_mobile .rp_articles{
        padding: 0 30px;
    }
    .show_mobile .cb_info{
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    .show_mobile .cb_map{
        width: 100%;
        background-size: cover;
    }
    .show_mobile header {
        position: relative;
        top: 0;
        z-index: 9999;
    }
    .show_mobile .mh_line {
        padding-top: 0;
    }
    .show_mobile .mh_line .phone_block {
        margin-left: auto;
        margin-right: auto;
    }
    .show_mobile .mhl_wp .feedback_link {
        margin-bottom: 0;
    }
    .show_mobile .gallery_block a img.lazy {
        width: 314px;
        height: 168px;
    }
}
@media only screen and (max-width: 1023px) {
    .show_mobile .wrapper{
        width: 768px;
    }
    .show_mobile .phone_block a{
        font-size: 14px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .show_mobile .phone_block a span{
        font-size: 15px;
    }
    .show_mobile .prev1{
        left: 50px;
    }
    .show_mobile .next1{
        right: 50px;
    }
    .show_mobile .articles_wp{
        padding: 20px 30px;
    }
    .show_mobile .gallery_block3{
        width: 50%;
    }
    .show_mobile .gallery_block3 img{
        width: 100%;
        height: auto;
    }
    .cf_btn.mob{
        display: block;
    }
    .mob_form{
        display: none;
    }
    .show_mobile .card_left{
        width: 100%;
        margin-bottom: 20px;
    }
    .show_mobile .card_right{
        width: 100%;
        margin-bottom: 20px;
    }
    .show_mobile .card_tab{
        width: 100%;
    }
    .show_mobile .card_tabs{
        width: 100%;
    }
    .show_mobile .cd_title{
        width: 100%;
        margin-left: 30px;
    }
    .show_mobile .sp3{
        left: 30px;
    }
    .show_mobile .sp4{
        left: 30px;
    }
    .show_mobile .sp5{
        left: 30px;
    }
    .show_mobile .sp6{
        left: 30px;
    }
    .show_mobile .prev3{
        left: 10px;
        margin-top: -60px;
    }
    .show_mobile .next3{
        right: 10px;
        margin-top: -60px;
    }
    .show_mobile .prev4{
        left: 10px;
        margin-top: -60px;
    }
    .show_mobile .next4{
        right: 10px;
        margin-top: -60px;
    }
    .show_mobile .prev5{
        left: 10px;
        margin-top: -25px;
    }
    .show_mobile .next5{
        right: 10px;
        margin-top: -25px;
    }
    .show_mobile .prev6{
        left: 10px;
        margin-top: -25px;
    }
    .show_mobile .next6{
        right: 10px;
        margin-top: -25px;
    }
    .show_mobile .cd_title{
        font-size: 20px;
    }
    .show_mobile .ct_description{
        padding-right: 0;
    }
    .show_mobile .right_btns{
        width: 100%;
        top: inherit;
        right: inherit;
        left: 0;
        bottom: 10px;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    }
    .show_mobile .right_btns a{
        width: 50px;
        height: 50px;
        margin: 0 15px;
        background-size: 70% auto;
    }
    .right_btns a.mobview_btn {
        width: 120px;
        text-transform: uppercase;
        line-height: 46px;
        text-align: center;
        color: #fff;
        background: #463014;
    }
    .show_mobile .pi_top h2 {
        width: 100%;
        margin-bottom: 10px;
    }
    .show_mobile .pit_links {
        margin-left: auto;
    }
    .show_mobile .gallery_block a img.lazy {
        width: 229px;
        height: 124px;
    }
    
    .open-search {
        display: block;
        position: absolute;
        right: 20px;
        top: 23px;
        cursor: pointer;
    }
    .open-search img {
        width: 30px;
    }
    
    .mh_inner {
        z-index: 1;
    }
    
    .search_block {
        position: fixed;
        top: -400px;
        left: 10px;
        right: auto;
        width: calc(100% - 20px);
        background: #463014;
        z-index: 222;
        transition: .2s;
    }
    .search_block.active {
        top: 66px;
    }
    .sb_input {
        height: 51px;
        width: 100%;
        color: #150f06;
    }
    .search_block p {
        top: 26px;
    }
    
    .search_block_mob {
        display: block;
        z-index: 9999999;
    }
    
    .show_mobile .sticky_mob {
        z-index: 9999;
    }
    
    .fixed_bg2 {
        position: fixed;
        z-index: 0;
        background: url(../images/bg1.jpg) repeat;
        width: 100%;
        height: 100%;
    }
    
    .fixed_bg2.active {
        background: #000;
        z-index: 999999;
        opacity: 0.7;
    }
    
    .search_btn {
        position: absolute;
        right: 25px;
        top: 17px;
    }
    
    .sb_input {
        background: #fff;
    }
    
    .search_block.active {
        padding: 7px;
    }

}
@media only screen and (max-width: 767px) {
    
    .tabs__caption li {
        width: 130px;
        margin: 0 5px;
    }
    
    .card-tables__table {
        width: 100%;
    }
    .show_mobile .wrapper {
        width: 100%;
    }
    .show_mobile .f_block{
        padding-left: 15px;
        padding-right: 15px;
    }
    .show_mobile .main_slider{
        padding: 0 15px;
    }
    .show_mobile .main_info_wp{
        padding: 20px 15px;
    }
    .show_mobile .phone_block a{
        padding-left: 12px;
        margin-right: 10px;
    }
    .show_mobile .phone_block a:last-child{
        margin-right: 0;
    }
    .show_mobile .phone_block{
        padding: 0 15px;
        margin-bottom: 10px;
    }
    .show_mobile .phone_block a span{
        font-size: 14px;
    }
    .show_mobile .lp_soc{
        margin-right: 0;
        width: 100%;
        -webkit-box-pack: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    }
    .show_mobile .topmenu ul li a{
        padding: 0 15px;
    }
    .show_mobile .dop_menu ul li a{
        width: auto;
        height: auto;
        background: none;
        color: #fff;
    }
    .show_mobile .dop_menu ul li a:hover {
        color: #000;
    }
    .show_mobile .ab_img{
        width: 100%;
        margin-bottom: 20px;
    }
    .show_mobile .ab_img img{
        width: 100%;
        height: auto;
    }
    .show_mobile .ab_info{
        width: 100%;
        padding-left: 0;
    }
    .show_mobile .page_img{
        width: 100%;
    }
    .show_mobile .page_img img{
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .show_mobile .page_info{
        width: 100%;
        padding: 0;
    }
    .show_mobile .pi_top h2{
        margin-bottom: 10px;
    }
    .show_mobile .gallery_block{
        width: 50%;
    }
    .show_mobile .gallery_block2{
        width: 50%;
        margin-bottom: 20px;
    }
    .show_mobile .gallery2{
        padding-top: 0;
        padding-bottom: 0;
    }
    .show_mobile .gallery_block3{
        width: 100%;
    }
    .show_mobile .card_tabs a{
        /*width: 100%;*/
        width: 32.8%;
        border-radius: 0;
        border-bottom: 1px solid #4a2f0e;
    }
    .show_mobile .card_tabs a:last-child{
        border-bottom: none;
    }
    .show_mobile .card_tabs a.active:before{
        display: none;
    }
    .show_mobile .delivery_map{
        width: 100%;
        margin-bottom: 20px;
    }
    .show_mobile .delivery_info{
        width: 100%;
        padding: 0;
    }
    .show_mobile .mm_link{
        right: 20px;
    }
    .show_mobile .topmenu ul li a {
        width: auto;
        text-align: center;
    }
    .show_mobile .topmenu ul li {
        padding-left: 2px;
        padding-right: 2px;
    }
    .show_mobile .modal_w1{
        width: 450px;
    }
    .show_mobile .modal_inner{
        padding: 15px;
    }
    .show_mobile .cd_title {
        width: calc(100% - 30px);
        display: block;
    }
    .show_mobile .sp4, .show_mobile .sp5, .show_mobile .sp3 {
        left: -3px;
        text-align: left;
        margin-top: 10px;
    }
    .show_mobile .gallery_block2 .gbi_title {
        height: auto;
    }
    .show_mobile .gbi_title {
        height: auto;
        margin-top: 3px;
        margin-bottom: 3px;
    }
    .show_mobile .gb_info {
        height: auto;
    }
    .show_mobile .gallery_block2 .gbi_title {
        height: auto;
    }
    .show_mobile .c_no_maps .contact_block {
        width: 100%;
    }
    .show_mobile .c_no_maps .cb_info {
        width: 100%;
    }
    .show_mobile .gallery_block a img.lazy {
        width: 100%;
        display: block;
        height: auto;
        min-height: 100px;
    }
}
@media only screen and (max-width: 479px) {
    .main_blocks .prir_leaders .cd_slide a .gb_img img{
        height:auto;
    }
    .show_mobile .mib_top{
        width: 100%;
    }
    .show_mobile .mib_top p{
        font-size: 16px;
    }
    .show_mobile .mib_arrow{
        top: 5px;
    }
    .show_mobile .topmenu ul li a {
        padding: 0 7px;
    }
    .show_mobile .phone_block a{
        background: none;
        padding: 0;
        margin: 0 0 7px 0;
        text-align: center;
        width: 100%;
    }
    .show_mobile .topmenu ul li a{
        border: none;
    }
    .show_mobile .dop_menu ul{
        height: auto;
    }
    .show_mobile .articles_wp{
        padding: 15px;
    }
    .show_mobile .rp_articles{
        padding: 0 15px;
    }
    .show_mobile .p_wp{
        padding: 0 15px;
        margin-bottom: 50px;
    }
    .show_mobile .page_block h1{
        font-size: 20px;
    }
    .show_mobile .p_link{
        padding-right: 0;
        text-align: left;
        padding-left: 15px;
    }
    .show_mobile .contacts_wp{
        padding: 20px 15px;
    }
    .show_mobile .gallery_block{
        width: 100%;
    }
    .show_mobile .gallery_block img{
        width: 100%;
        height: auto;
    }
    .show_mobile .content_block h1{
        font-size: 20px;
    }
    .show_mobile .gallery_block2{
        /*width: 100%;*/
    }
    .show_mobile .gallery_block2 .gbi_text {
        font: 12px 'HelveticaNeueCyr-Bold';
    }
    .show_mobile .gallery_block2 .gbi_title {
        height: 30px;
    }
    .show_mobile .card_wp{
        padding: 0 15px;
    }
    .show_mobile .card_tabs_wp{
        /*padding: 0 15px;*/
        padding: 0;
    }
    .show_mobile .cd_title{
        width: 90%;
        margin-left: 5%;
    }
    /*
    .sp3{
        width: 100%;
        border: none;
        text-align: left;
        top: 57px;
        left: 0;
        padding-left: 15px;
        padding-bottom: 0;
    }
    .sp4{
        width: 100%;
        border: none;
        text-align: left;
        top: 57px;
        left: 0;
        padding-left: 15px;
        padding-bottom: 0;
    }
    .sp5{
        width: 100%;
        border: none;
        text-align: left;
        top: 57px;
        left: 0;
        padding-left: 15px;
        padding-bottom: 0;
    }
    */
    .show_mobile .sp6{
        width: 100%;
        border: none;
        text-align: left;
        top: 57px;
        left: 0;
        padding-left: 15px;
        padding-bottom: 0;
    }
    .show_mobile .opt_table .table_caption td{
        font-size: 12px;
    }
    .show_mobile .opt_table td{
        font-size: 12px;
    }
    .show_mobile .opt_table .ot_f1{
        font-size: 14px;
    }
    .show_mobile .opt_table .ot_f2{
        font-size: 16px;
    }
    .show_mobile .mob_tabs_wp .lpt_block{
        width: 100%;
    }
    .show_mobile .logo p{
        text-align: left;
    }
    .show_mobile .modal_w1{
        width: 300px;
        height: 300px;
    }
    .show_mobile .modal_title{
        font-size: 20px;
        margin-bottom: 10px;
    }
    .show_mobile .modal_subtitle{
        font-size: 15px;
    }
    /*new 21.07.20*/
    .show_mobile .modal_w2{
        width: 300px;
        height: auto;
    }
    .show_mobile .mp_item{
        width: 100%;
        height: auto;
        padding: 20px 0;
        margin-bottom: 10px;
    }
    .show_mobile .m_place_wp .mp_item:last-child{
        margin-bottom: 0;
    }
    .show_mobile .gallery_block2 .gbi_title {
        height: auto;
    }
    .show_mobile .gbi_title {
        height: auto;
        margin-top: 3px;
        margin-bottom: 3px;
    }
    .show_mobile .gb_info {
        height: auto;
    }
    .show_mobile .gallery_block2 .gbi_title {
        height: auto;
    }
}
@media only screen and (max-width: 439px) {
    .show_mobile .topmenu ul li a {
        padding: 0 7px;
        font-size: 13px;
    }
    .show_mobile .dop_menu ul li a {
        margin: 0 7px;
        font-size: 14px;
    }
    .show_mobile .lpt_top p {
        font-size: 14px;
    }
}
@media only screen and (max-width: 339px) {
    .show_mobile .topmenu ul li a {
        padding: 0 3px;
    }
}


.left_scroll {
    overflow-y: auto;
    overflow-x: hidden;
}

@media only screen and (max-width: 1329px) {
    
    .left_panel .phone_block {
        padding: 10px 15px;
    }
    
    .show_mobile .left_panel {
        height: calc(100vh - 100px);
        overflow-y: auto;
        overflow-x: hidden;
        background: #492e0e;
    }
    .show_mobile .left_scroll {
        height: auto;
    }
    .mm_link {
        right: auto;
        left: 20px;
    }
    
    .mm_overlay {
        background: transparent;
    }
    
    .show_mobile .left_panel_wp {
        display: block;
        z-index: 999999;
        left: -500px;
        transition: 0.8s all ease;
    }
    
    .left_panel_wp.animated {
        left: -500px;
    }
    
    .left_panel_wp.active {
        left: 0!important;
    }
    
    .show_mobile .left_scroll {
        width: 255px !important;
        background: #492e0e;
    }
    
    .show_mobile .fixed_bg.active {
        background: #000;
        z-index: 999999;
        opacity: 0.7;
    }
    
    .show_mobile .phone_block {
        padding-top: 10px;
    }
}

@media only screen and (max-width: 479px) {
    .show_mobile .logo p {
        text-align: center;
        font-size: 15px;
    }
}



@media(max-width: 1329px){
    .show_mobile .left_panel{
        height: 100vh!important;
        width: 300px!important;
        border-top-right-radius: 15px;
    }
    .show_mobile .left_scroll{
        width: 300px!important;
    }
    .left_scroll .lp_tabs{
        width: 300px!important;
    }
    .show_mobile .left_scroll{
        width: 300px!important;
    }
    .all_tab{
        margin-bottom: 0;
        border-bottom: 1px solid #fff;
    }
    .all_tabs.active .item{
        margin-bottom: 0;
        border-bottom: 1px solid #fff;
    }
    .lptt_arrow_up, .lptt_arrow{
        right: 20px;
    }
}

/* Compact mobile navigation: primary actions stay in the sticky header. */
.right_btns{
    display: none!important;
}

@media only screen and (max-width: 1329px){
    .sticky_mob{
        z-index: 1000000!important;
    }
    .sticky_mob .mob_header{
        padding: 0 8px;
    }
    .sticky_mob .mob_header .mh_inner{
        box-sizing: border-box;
        display: flex;
        align-items: center;
        gap: 4px;
        min-height: 66px;
        padding: 15px 4px 7px 50px;
    }
    .sticky_mob .mob_header .mh_inner .mm_link{
        top: 50%;
        left: 10px;
        right: auto;
        margin: 4px 0 0;
        transform: translateY(-50%);
    }
    .sticky_mob .mob_header .mh_inner .logo{
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        margin: 0;
        padding: 0;
    }
    .sticky_mob .mob_header .mh_inner .logo img,
    .sticky_mob .mob_header .mh_inner .logo .line1,
    .sticky_mob .mob_header .mh_inner .logo .line2{
        display: none;
    }
    .sticky_mob .mob_header .mh_inner .logo p{
        margin: 0;
        color: #492e0e;
        font-size: clamp(11px, 3.7vw, 15px);
        line-height: 1.12;
        text-align: left;
        overflow-wrap: anywhere;
    }
    .sticky_mob .open-search{
        display: none!important;
    }
    .mobile-header-tools{
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 3px;
    }
    .mobile-yandex-rating{
        box-sizing: border-box;
        display: flex;
        width: 50px;
        height: 44px;
        padding: 4px 3px;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border: 1px solid rgba(73,46,14,.28);
        border-radius: 8px;
        background: #fffaf2;
        color: #492e0e;
        line-height: 1;
    }
    .mobile-yandex-mark{
        color: #e32636;
        font: 700 19px/1 Arial,sans-serif;
    }
    .mobile-rating-score{
        display: grid;
        gap: 2px;
        text-align: center;
    }
    .mobile-rating-score strong{
        font: 700 11px/1 Arial,sans-serif;
    }
    .mobile-rating-star{
        color: transparent;
        font-size: 13px;
        background: linear-gradient(90deg,#e3a123 0 86%,#d7cdbf 86% 100%);
        -webkit-background-clip: text;
        background-clip: text;
    }
    .mobile-header-action{
        box-sizing: border-box;
        display: inline-flex;
        width: 44px;
        height: 44px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #492e0e;
        cursor: pointer;
    }
    .mobile-header-action:hover{
        background: rgba(73,46,14,.08);
    }
    .mobile-route{
        background: url("../images/navi.svg") no-repeat center;
        background-size: 22px 28px;
    }
    .mobile-route:hover{
        background: rgba(73,46,14,.08) url("../images/navi.svg") no-repeat center;
        background-size: 22px 28px;
    }
    .mobile-header-action:focus-visible,
    .sticky_mob .mm_link:focus-visible{
        outline: 3px solid #b85f24;
        outline-offset: 1px;
    }
    .mobile-header-action svg{
        width: 23px;
        height: 23px;
        fill: currentColor;
    }
    .show_mobile .left_panel .search_block_mob.menu-inline-search{
        position: relative!important;
        top: auto!important;
        right: auto!important;
        bottom: auto!important;
        left: auto!important;
        z-index: auto;
        display: block!important;
        width: auto!important;
        margin: 12px 14px 16px;
        padding: 0;
        transform: none!important;
        background: transparent;
        box-shadow: none;
    }
    .show_mobile .left_panel .menu-inline-search form{
        position: relative;
        margin: 0;
    }
    .show_mobile .left_panel .menu-inline-search .sb_input,
    .show_mobile .left_panel .menu-inline-search input[type="search"],
    .show_mobile .left_panel .menu-inline-search input[name="query"]{
        box-sizing: border-box;
        width: 100%;
        height: 46px;
        padding: 10px 48px 10px 12px;
        border: 1px solid #dac0a5;
        border-radius: 8px;
        background: #fff;
        color: #150f06;
        font-size: 16px!important;
        line-height: 1.25;
    }
    .show_mobile .left_panel .menu-inline-search .search_btn{
        top: 1px;
        right: 1px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce){
    .left_panel_wp{
        transition: none!important;
    }
}
