@media screen and (min-width: 320px) and (max-width: 800px) {
  .grid.grid_3.products {
    column-gap: 5px;
  }

  .products_item {
    background: #fff;
    border-radius: 10px;
    padding: 5px;
    background: #fff;
    border-radius: 10px;
    position: relative;
    flex: 0 1 49%;
    width: 47%;
    max-width: max-content;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

  .products_img {
    position: relative;
    text-align: center;
    width: 100%;
    height: auto;
    margin: 0 auto 0px;
  }

  .products_img:has(.owl-dots.disabled) {
    margin-bottom: 32px;
  }

  .products_img img {
    height: auto;
    width: auto;
    margin: 0 auto;
    max-width: 100%;
  }
 .products_img img.our_work {
  
    height: 335px;
    object-fit: cover;
}

  .products_name a {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    margin: 0 auto;
  }

  /* .product-info {
    display: none;
  } */
.product-info {
    font-size: 14px;
}


  .product_fiel_line{
    flex-wrap: wrap;
    line-height: 1.1;
    padding-bottom: 8px;
  }
.product_fiel_line>div:last-child {
    text-align: left;
    font-weight: 600;
}
  body .xdstickers_wrapper.position_upleft {
    right: auto;
    left: -5px;
    top: -5px;
  }

  .xdstickers_wrapper {

    font-size: 14px;
  }

  .products_buttons {

    flex-wrap: wrap;
    gap: 5px;
  }

  .products_buttons_buy,
  a.products_buttons_more {
    width: 100%;
  }
  .carousel_brands_item{
    width:30%;
  }
  body.montaz-category .category_page_subcategories > a {
    width: 46%;
    height: 50px;
    flex: 1 1 45%;
}
}

/* @media screen and (min-width: 320px) and (max-width: 400px) {
   .category_page_subcategories > a {
    flex: 1 1 47%;
    height: 50px;
  }
} */
@media screen and (min-width: 320px) and (max-width: 1300px) {

  html,
  body {
    overflow-x: hidden;
  }

  header {
    display: none;
  }

  .wrapper {
    width: auto;
    margin: 0 auto;
    position: relative;
    padding: 0 10px;
  }

  #mobile_header>.wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #mobile_logo img {
    width: 170px;
    position: relative;
    top: 1px;
  }

  .block_ico_mob_h>div {
    margin: 0 5px;
    color: #0767FA;
  }

  .block_ico_mob_h>div:last-child {
    margin-right: 0;
  }

  .block_ico_mob_h {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  body {
    padding-top: 50px;
  }

  #mobile_header {
    padding: 12px 0;
    padding-bottom: 7px;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    box-shadow: 0px 2px 7px 0px rgb(0 0 0 / 43%);
  }

  .login_ico {
    margin-top: 3px;
    margin-right: 0;
  }

  #main_menu {
    top: 54px;
    position: sticky;

    z-index: 14;
    padding-top: 6px;
  }

  #main_menu .content_menu:first-child ul {
    display: none;
  }

  .content_menu {
    width: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    right: 0;
  }

  #slider_home_banner .banner {
    min-height: 197px;
    background-size: 100% 100% !important;
  }

  .home_top_block {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .home_top_block>div:last-child {
    width: 100%;
  }

  .advantages {
    display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0px;
        background-color: #fff;
        padding-top: 0;
        margin-top: 32px;
  }
  .advantages_item {
    width: 52%;
    flex: 1;
    background: #fff;
    
    padding: 5px;
   
    min-width: auto;
   
}
  .category_page_tag_item {
    width: 100%;
    min-width: 63px;
  }

  body.common-home #column-right {
    display: block !important;
  }

  .home_top_block>div:last-child {
    width: 100%;
  }

  .catalog_banners {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .catalog_banners a {
    max-width: 460px;
    height: 247px;
    text-decoration: none;
    width: 100%;
    margin-bottom: 20px;
    background-size: cover !important;
    border-radius: 10px;
  }

  /* .advantages_item > div:last-child {
    font-size: 12px;
    font-weight: 700;
    color: #27313a;
    padding: 0 20px;
    margin-top: 10px;
    min-height: 34px;
  }
  .advantages_item {
    width: 48%;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 20px 0;
    margin-bottom: 14px;
  } */
  .block_assortiment {
    margin-top: 100px;
    display: none;
  }

  .tabsnav {
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .topcity_wrap {
    flex-wrap: wrap;
  }

  .oblast_blok {
    flex: 0 1 46%;
  }

  .stock_img img {
    width: 100%;
  }

  .stock_item {
    max-width: 420px;
    position: relative;
    margin-bottom: 20px;
  }

  section.banner_bottom .catalog_banners a {
    max-width: inherit;
    height: 247px;
    text-decoration: none;
    background-size: cover !important;
    width: 100%;
    border-radius: 10px;
  }

  footer .grid.grid_1_3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  footer .grid.grid_1_3>div:first-child {
    width: 100%;
  }

  footer .grid.grid_1_3>div:last-child {
    width: 100%;
  }

  footer .grid.grid_1_3>div:last-child ul li a {
    font-size: 16px;
  }

  footer .grid.grid_1_3>div:last-child ul li {
    width: 40%;
    margin-bottom: 10px;
  }

  footer .grid.grid_1_3>div:last-child ul li a {
    font-size: 14px;
  }

  footer .grid.grid_1_3>div:last-child ul {
    justify-content: space-between;
  }

  .home_top_block>#column-left {
    max-width: 460px;
    padding: 0;
    margin-right: 0;
    background: #fff;
    display: none !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }

  #column-left.active {
    display: block !important;
  }

  #menu_toggle>#column-right {
    width: auto;
    float: none;
    padding: 0;
    display: block !important;
  }

  .container {
    width: auto;
    margin: 0 auto;
    padding: 0 15px;
  }

  body.newsblog-article .container {
    padding: 0 15px;
  }

  #menu_toggle {
    max-width: 460px;
    width: 100%;
  }

  .menu_wrap {
    gap: 28px 40px;
  }

  .menu_parent {
    flex: 1 1 100%;
  }

  .images_product {
    width: 100%;
    margin: 0 auto;
    min-width: 300px;
  }

  /* body .products_img .sale_badge,
  body .images_product .sale_badge {
  top: 5px;
  left: 16px;
  z-index: 2;
  } */
  .images_product .xdstickers_wrapper.position_upleft {
    left: 16px;
  }

  #product {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
  }


  .product_image_wrap {
    display: flex;
    width: 100%;
    gap: 20px;
    flex-direction: column;
  }

  .product_image_main {
    order: 1;
    width: 100%;
  }

  .product_image_block img {
    width: 247px;
    height: auto;
  }

  .product_image_thumbs {
    order: 2;
    width: 100%;
    overflow: hidden;
  }

  .product_header_wrap h1 {
  font-size: 32px;
  font-weight: 700;
  color: #27313a;
  font-family: "Qanelas";
  display: inline-block;
    flex: 0 1 70%;
}

.product_header_buttons {
  flex: 0 0 53px;
  display: flex;
  height: 20px;
  margin-top: 10px;
}
.wishlist_cart {
    background: none;
    border: none;
    padding-left: 8px;
    border-left: 1px solid #27313a;
    margin-left: 8px;
    cursor: pointer;
}

  /* .block_main_image {
    background: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
  }
  .block_main_image img {
    width: 100%;
  }
  .mini_images {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow-x: scroll;
    padding-bottom: 8px;
  } */
  #product_info {
    width: 100%;
    margin-top: 32px;
    min-width: 300px;
  }

  /* .params_top {
    max-width: 460px;
  } */
  .params_top>div {
    font-size: 14px;
  }

  .product_middle_wrap {
    flex-wrap: wrap;
  }

  .products_fields {
    bottom: 204px;
  }

  .product-info:hover~.products_fields {
    display: none;
  }

  .product-info:hover.pokaz~.products_fields {
    display: block;
  }


  #xd_zvonok-form2 .button_zvonok{
    font-size: 12px;
  }

  .nav-tabs {
    border-bottom: none;
    margin-bottom: 25px;
    display: flex;
  }

  .nav-tabs>li {
    float: left;
    margin-bottom: -1px;
    margin-right: 3px;
    width: 33%;
  }

  .nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: none;
    border-radius: 4px 4px 0 0;
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    color: #666666;
    text-decoration: none;
    background: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-family: "Qanelas";
  }

  #related_products {
    margin-top: 50px;
  }

  .categ_main_block {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .categ_main_block>div:first-child {
    width: 100%;
    min-width: 310px;
  }

  .categ_main_block>div:last-child {
    width: 100%;
  }

  /* .category_page_subcategories {
    display: flex;
    flex-wrap: wrap;
    margin-top: 22px;
    justify-content: space-between;
  } */
  .category_page_sorting {
    text-align: center;
  }


  .button_filter_mob {
    display: flex;
    align-items: center;
    background: rgba(232, 230, 14, 1);
    color: rgba(39, 49, 58, 1);
    font-weight: bold;
    border-radius: 5px;
    max-width: 242px;
    text-align: center;
    justify-content: center;


  }
     .filter_sort_buttons .dropdown .btn {
        display: flex;
        align-items: center;
        max-width: 242px;
        text-align: center;
        justify-content: center;
        padding-left: 12px;
        padding-right: 12px;
        width: 100%;
    }

  .button_filter_mob span svg {

    fill: rgba(39, 49, 58, 1);
    position: relative;
    top: 2px;
  }

  .button_filter_mob span:first-child {
    display: none;
  }

  .button_filter_mob span:last-child {
    margin-left: 5px;
    margin-bottom: 2px;
    font-family: "Qanelas";
  }

  .category_page_subcategories>a {
    width: 31% !important;
    height: 40px !important;
    justify-content: center;
  }

  .category_page_subcategories_item {
    padding: 0 2px;
  }

  .category_page_subcategories_item>div:first-child img {
    width: 30px;
  }

  .category_page_subcategories_item>div:last-child {
    font-size: 12px;
  }

  .categ_main_block>div:first-child #column-left {
    display: block !important;
    position: absolute;
    z-index: 14;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .categ_main_block>div:first-child #column-left.active {
    left: 0;
    opacity: 1;
    visibility: visible;
    position: fixed;
    top: 53px;
    left: 50%;
    transform: translate(-50%, 0);
    max-height: 93vh;
    overflow-y: auto;
  }

  body .bf-float-submit {
    left: 0px !important;
    position: fixed !important;
    bottom: 5px !important;
    top: auto !important;
    width: 100% !important;
  }

  .bf-float-submit input[type="button"] {
    display: inline-block;
    width: 84%;
  }

  .bf-float-submit {
    left: 99px !important;
    min-width: 237px;
    width: 85%;
  }

  .bf-float-submit .bf-buttonsubmit {
    display: inline-block !important;
  }

  #accordion .input-group {
    position: relative;
    display: flex;
    border-collapse: separate;
    align-items: center;
    flex-wrap: wrap;
  }

  #accordion .input-group-addon,
  #accordion .input-group-btn {
    width: 100%;
    white-space: nowrap;
    vertical-align: middle;
    margin-top: 10px;
  }

  #accordion label {}

  .menu_catalog nav>ul>li.has_child:after {
    top: 25px;
    margin: inherit;
  }

  .menu_catalog nav>ul>li>ul {
    position: relative;
    left: 0;
    top: 0;
    list-style: none;
    background: #e6f7ff;
    padding: 0;
    z-index: 999;
    display: flex;
    flex-wrap: wrap;
    min-width: inherit;
    width: calc(100% - 51px);
    border-radius: 0px 10px 10px 0;
    opacity: 1;
    visibility: visible;
    transition: 0.5s;
    padding-bottom: 5px;
    padding-left: 60px;
    padding-right: 20px;
    padding-top: 20px;
    display: none;
  }

  .menu_catalog nav>ul>li>ul.active {
    display: block;
  }

  .mobile_arrow {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 60px;
    z-index: 9;
    display: block;
  }
#mob_pop_up button.close {
        margin-top: 10px;
    }
  .form-horizontal .form-group {
    display: block;
  }

  .buttons_news {
    height: auto;
    overflow: hidden;
    margin-bottom: 50px;
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .buttons_news .pull-left {
    margin-bottom: 20px;
  }

  .quant_block_cart>span {
    left: 40px;
    min-width: 125px;
  }

  #mob_menu_info {
    position: fixed;
    z-index: 9911;
    background: #fff;
    right: 0;
    top: 50px;
    width: 200px;
    padding: 15px 0px;
    display: none;
  }

  .mob_info_menu_top_line {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid #ccc;
    justify-content: center;
    padding-bottom: 5px;
  }

  .mob_info_bottom_line {
    padding: 15px 20px;
    padding-bottom: 0;
  }

  .mob_info_bottom_line ul {
    list-style: none;
  }

  .mob_info_bottom_line ul li {
    margin-bottom: 10px;
  }

  .mob_info_bottom_line ul li a {
    font-size: 18px;
  }

  .mobile_menu_two_toggle {
    width: 30px;
    margin-left: 10px !important;
  }

  .mobile_menu_two_toggle svg path {
    stroke: #0767fa;
  }

  .mob_info_menu_top_line>div {
    margin: 0 5px;
  }

  .s_hidden_block {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 40px;
    margin: auto;
  }

  .s_hidden_block #search {
    position: relative;
    margin: 0 auto;
  }

  .block_s_mobile_button {
    margin-right: 4px;
  }

  .mob_info_menu_top_line .sr,
  .mob_info_menu_top_line .wl {
    margin-right: 10px;
  }

  /* Smart Menu Modal Media */
  .menu_smart_modal .modal-dialog {
    top: 3px; /* Position for mobile header */
  }
  .menu_smart_modal .modal-content {
    max-height: calc(100vh - 80px);
  }

  @media (max-width: 767px) {
    .modal_col_title {
      font-size: 12px;
    }
    .modal_col_content a {
      font-size: 11px;
    }
  }
  .mob_info_menu_top_line .sr,
  .mob_info_menu_top_line .wl {
    position: relative;
  }

  .mini_ws,
  .mini_sr {
    width: 16px;
    height: 16px;
    display: block;
    background: #e8e60e;
    font-size: 10px;
    color: #27313a;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -2px;
    right: -8px;
  }

  .product_variant_wrap .scrolable {

    flex-wrap: nowrap;

  }
  body.montaz-article .container {
    padding: 0 15px;
}


}

@media screen and (min-width: 768px) and (max-width: 1300px) {
  #slider_home_banner .banner {
    min-height: 380px;
    background-size: 100% 100% !important;
  }

  .catalog_banners a {
    max-width: 460px;
    height: 247px;
    text-decoration: none;
    width: 33%;
    margin-bottom: 20px;
    background-size: cover !important;
    border-radius: 10px;
  }

  .catalog_banners {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .advantages_item {
    width: 24%;
  }

  .stock_item {
    max-width: 358px;
    position: relative;
    margin-bottom: 20px;
  }

  section.banner_bottom .catalog_banners a {
    width: 33%;
  }

  footer .grid.grid_1_3>div:first-child {
    width: 50%;
  }

  footer .grid.grid_1_3>div:last-child {
    width: 50%;
  }

  .home_top_block>#column-left {
    max-width: 500px;
    width: 100%;
  }

  .testimonials .slick-slide {
    margin: 0 0px;
  }

  .category_page_subcategories_item {
    padding: 0 10px;
  }

  .category_page_subcategories_item>div:last-child {
    font-size: 14px;
  }

  .testimonials .slick-list {
    margin: 0 0px;
  }

  /* .grid.grid_3.products .products_item:nth-child(3n) {
    margin-right: 20px;
  }
  .grid.grid_3.products .products_item {
    margin-right: 20px;
  }
  .grid.grid_3.products .products_item:nth-child(2n) {
    margin-right: 0px;
  } */
  .mini_images {
    justify-content: center;
  }

  #product_info {
    text-align: center;
  }

  /* .params_top {
    max-width: 460px;
    margin: 0 auto;
  } */
  .price_info {
    justify-content: center;
  }

  .button_wrap_product {
    justify-content: center;
  }

  .count {
    top: -8px;
  }

  .scrolable_wrap .slick-prev {
    left: 10px;
    display: block;
  }

  .scrolable_wrap .slick-next {
    right: 10px;
    display: block;
  }
}


@media (min-width: 1300px) {
  .on-pc {
    display: inherit !important;
  }

  .on-phone {
    display: none !important;
  }
}

@media (max-width: 1300px) {
  .on-pc {
    display: none !important;
  }

  .on-phone {
    display: inherit !important;
  }
}