@media(max-width: 1300px) {
    .menu_desktop a {
        font-size: 14px;
    }
    .footer_grid {
        flex-wrap: wrap;
        width: 95%;
    }
    .proizvoditeli_list {
            grid-template-columns: repeat(8, 1fr);
    }
}

@media(max-width: 1000px) {
    .footer_grid {
        width: 87%;
    }
}
@media screen and (max-width: 1440px) {
}
@media screen and (max-width: 1319px) {
    .right_content{
        overflow: hidden;
    }
    .carousel-item img{
        height: 87%;
    }
    .carousel,
    .carousel-inner,
    .carousel-inner .item,
    .carousel-inner img {
/*      height: 100%;*/
      width: 100%;
      object-fit: cover;
    }
    .product_list{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .caption-maps{
        width: 92%;
    }
    /*.product_img a img{*/
    /*    max-height: 400px;*/
    /*   */
    /*}*/
    .product_page{
        grid-template-columns: 1fr 1.5fr;
    }
}
@media screen and (max-width: 1024px) {
    .left_content {
        display: none;
    }

    .header_info {
        gap: 30px;
    }
    .catalog_menu{
        display: none;
    }
    .btn_catalog{
        flex:2;
        border-radius: 6px;
    }
    .header_info{
        align-items: unset;
    }
    .search_block form{
        margin:0px;
    }
    .carousel-control-prev,
    .carousel-control-next,
    .container{
        padding:0px;
    }
    .block_footer:first-child {
        order: 99;
    }
    
    .block_footer:nth-child(2) {
        order: 20;
    }
    
    .block_footer:nth-child(3) {
        order: 30;
    }
    
    .block_footer:last-child {
        order: 40;
    }
    .product_page{
        grid-template-columns: 1fr 1.5fr;
    }
    .col-xs-12{
        padding:0px;
    }
    .form_cart{
        justify-content: start;
    }
    .row{
        margin: 0px 30px 0px 30px;
    }
    header .container .row{
        margin-top: calc(var(--bs-gutter-y)* -1);
        margin-right: calc(var(--bs-gutter-x)* -.5);
        margin-left: calc(var(--bs-gutter-x)* -.5);
    }
    .container{
        max-width: 100%;
    }
    .right_content {
        overflow: visible;
        margin-bottom: 80px;
        width: 100%;
        margin-left: 0;
    }
    .menu_desktop a {
        font-size: 12px;
    }
    .logo img {
        width: 100%;
    }

    .block_footer_copyright .footer_policy {
        display: grid;
    }

    .block_footer_contacts .footer_policy {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .hide-768 {
        display: none !important;
    }

    .show-768 {
        display: inherit !important;
    }

    .logo img {
        width: auto;
    }
    .header_desktop,
    .menu_desktop{
        display: none;
    }
    .header_mobile{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .container{
        max-width: 100%;
    }
    .btn_catalog{
        flex:1;
    }
    .header_info {
        gap: 20px;
    }
    .footer_grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    .block_footer:first-child{
        order: 35;
    }
    .d-md-block {
        display: block !important;
    }
    .carousel,
    .carousel-inner,
    .carousel-inner .item,
    .carousel-inner img {
      height: 100%;
      width: 100%;
    }
    .right_content{
        overflow: visible;
    }
    .title_banner{
        margin-bottom: 30px;
    }
    .description_banner{
        margin-bottom: 46px;
    }
    .right_content{
        margin-bottom: 80px;
    }
    .carousel-caption{
        width: 65%;
    }
    .caption-maps{
        width: auto;
        display: flex !important;
    }
    .sections_list,
    .product_list {
        grid-template-columns: 1fr 1fr;
    }

    .product_page{
        grid-template-columns: 1fr;
    }
    /*.product_img img{*/
    /*    max-height: 300px;*/
    /*    width: auto;*/
    /*}*/
    /*.product_img{*/
    /*    text-align: center;*/
    /*    background: #F0FAF9;*/
    /*}*/
    .row{
        margin: 0px 20px 0px 20px;
    }
    .proizvoditeli_list {
        grid-template-columns: repeat(7, 1fr);
    }

    .block_footer_copyright .footer_policy {
        display: none !important;
    }

    .block_footer_contacts .footer_policy {
        display: grid;
        text-align: left;
    }

    .contact_content {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 712px) {
    .carousel-caption {
        width: 80%;
        top: 0.75rem;
    }
    .caption-maps {
        width: 90%;
        top: 4.75rem;
    }
}
@media screen and (max-width: 650px) {
    .block_footer_contacts .footer_policy {
        display: none;
    }

    .block_footer_copyright .footer_policy {
        display: grid !important;
    }

    .contact_block{
        display: none;
    }
    .footer_grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .footer_policy{
        text-align:center;
    }
    .sections_list {
        grid-template-columns: 1fr 1fr;
    }
    .carousel-caption {
        width: 90%;
        top: 0;
        left: 6%;
    }
    .caption-maps {
        top: 5.75rem;
    }
    .block_footer:first-child{
        order: 99;
    }
}
@media screen and (max-width: 480px) {
    .header_mobile .nav-container a {
        font-weight: bold !important;
    }

    .contact_block{
        display: none;
    }
    .proizvoditeli_list {
        grid-template-columns: repeat(4, 1fr);
    }
    .product_list {
        grid-template-columns: 1fr 1fr;
    }

    .sections_list {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .sections_list .sections_block {
        flex-basis: calc(50% - 10px);
        width: calc(50% - 10px);
        margin-bottom: 10px;
    }

    .sections_block:nth-child(odd) {
        margin-right: 10px;
    }

    .sections_list .img-wrapper {
        min-height: 100px;
    }

    .sections_list {
        gap: 10px;
    }

    .product_item .title_section {
        margin-top: 10px;
    }

    .product_info{
        max-width: 100%;
    }
    .footer_grid{
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer_contact{
        display: block;
    }
    .form_input{
        width: 100%;
    }
    .cart_item{
        display: block;
    }
    .bottom_info_product_cart{
        display: block;
    }
    .article_cart,
    .av_cart{
        margin-bottom: 30px;
    }
    .left_item_cart img{
        width: auto;
        height: auto;
    }
    .count_input .form-control{
        height: auto;
        width: 50px;
    }
    .left_item_cart{
        margin-bottom: 30px;
    }
    .row{
        margin: 0px;
    }
    .carousel-caption {
        width: 85%;
    }
    .carousel-fade{
        min-height: 500px;
    }
    .carousel-inner img{
        object-fit: cover;
        max-height: 500px;
    }
    .input-group{
        height: 100%;
    }

    .product_list {
        gap: 10px;
    }

    .product_item {
        padding: 5px 12px 10px 12px;
        display: flex;
        flex-direction: column;
        gap:20px;
    }

    .product_item .add_to_cart {
        font-size: 14px;
        padding: 0;
    }


}
@media screen and (max-width: 376px) {
    .product_btn {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {

    .menu-items {
        background: white !important;
    }

    .menu-items .menu-items-header {
        display: flex;
    }

    .menu-items-header .hamburger-lines {
        cursor: pointer;
        display: flex;
    }

    .menu-items-header .logo a {
        display: flex;
    }

    .menu-items .btn_catalog {
        max-height: 56px;
        color: white !important;
        margin: 15px 5px;
        width: calc(100% - 12px);
        display: flex;
    }

    .header_info {
        position: fixed;
        background: white;
        width: 100%;
        left: 0;
        padding: 12px 12px 12px;
        top: 80px;
        z-index: 100;
    }

    .header_info .hamburger-lines {
        top: 18px !important;
    }

    .right_content {
        padding-top: 60px;
    }

    .menu-items-menu {
        align-items: flex-start;
    }

    .menu-items .footer_link {
        margin: 60px 0 0 0;
        text-align: left;
    }

    .nav-container .checkbox {
        display: none;
    }

    .nav-container .hamburger-lines {
        display: none;
    }

    .menu-items-header .hamburger-lines {
        display: flex;
    }

    .header_info .hamburger-lines {
        display: flex;
        cursor: pointer;
        left: 17px;
        right: 0;
        top: 6px;
    }

    .header_info .search_block {
        margin-left: 70px;
    }

    .header_info .btn_catalog {
        display: none;
    }

    .header_mobile .menu-items {
        padding: 0;
    }

    .menu-items a:first-child {
        margin-top: 0;
    }

    .header_mobile .nav-container > .contact_block {
        display: block;
    }

    .nav-container {
        display: flex;
        align-items: center;
    }

    .logo {
        width: 33%;
        flex-basis: 33%;
    }

    .logo a {
        display: block;
        width: 100%;
    }

    .logo img {
        width: 100%;
        max-width: 200px;
    }

    .product_info .product_btn {
        gap: unset;
    }

    .product_info .add_cart_product_page {
        margin-left: 10px;
    }

    .product_info #count_product {
        width: 35px;
    }
}

@media screen and (max-width: 400px) {
    .product_btn {
        flex-direction: column;
        justify-content: center;
    }

    .product_info .add_cart_product_page {
        margin-left: 0;
        margin-top: 10px;
    }
}