@media (max-width:1023px) {
  #burger{
    display: block;
  }
  #content, .site-content{
    max-width: 360px;
    width: 100%;
  }
  .header {
    padding-left: 17px;
    border-bottom-width: 8px;
    border-bottom-style: solid;
    border-image: linear-gradient(108deg, #003678 0%, #4BA5D1 100%) 1;
    height: 71px;
    margin-bottom: 20px;
  }
  .header .logo{
    width: 55px;
    margin-right: 20px;
  }
  .header-description {
    display: none;
  }
  .content-page h1{
    font-size: 1.5rem;
  }
  .content-page h2{
    font-size: 1.3rem;
  }
  .imgLogo {
    width: 55px;
    height: 55px;
  }
  .header .logo span,
  .header .search,
  .menu
  {
    display:none;
  }
  .contactHeaderMobile{
    display: inline-block;
    height: 44px;
  }
  .contactHeaderMobile img{
    width:44px;
    height: 44px;
    margin-right: 20px;
  }
  div.asl_m .probox{
    width:225px;
  }
  .flag{
    margin-right: 20px;
  }
  .block1Home{
    height: auto;
  }
  .block1Home h1{
    /* заголовок */
    left: 21px;
    margin-top: 15px;
    margin-right: 15px;
    font-weight: 700;
    font-size: var(--font-size-h1);
    line-height: 39px;
  }
  .block1Home span{
    width: auto;
    left:21px;
    margin-top: 20px;
    margin-right: 21px;
  }
  .Subashome{
    position: inherit;
    width: 360px;
    height: 307px;
    margin-top: -20px;
  }
  .block1Home a{
    position: inherit;
  }
  a img.Slidebutton{
    width:261px;
    height: 40px;
    left:21px;
    margin-top: 26px;
  }
  .block2Home h2,
  .block3Home h2,
  .block4Home h2
  {
    left: 17px;
    margin-top: 12px;
    font-weight: 700;
    font-size: var(--font-size-h1);
    line-height: 39px;
    margin-bottom: 12px;
  }
  .block2Home div{
    margin-left: 17px;
    margin-right: 17px;
    padding: 7px;
    gap:10px;
    margin-bottom: 12px;
    height: auto;

  }
  .block2Home span{
    font-weight: 500;
    font-size: var(--font-size-14);
    margin-right: 10px;
  }
  .Icoblock21{
    width:50px;
    height: 50px;
  }
  .Icoblock22{
    width:50px;
    height: 45px;
  }
  .Icoblock23{
    width: 40px;
    height: 40px;
  }
  #burger {
    width: 46px;
    height: 44px;
  }
  .menuMobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    display: none;
    flex-direction: column;
    z-index: 20;
  }
  .menuMobileHeader {
    display: flex;
    justify-content: space-between; /* Разделяет элементы на обе стороны */
    align-items: center; /* Центрирует по вертикали */
    width: 100%;
    padding: 12px 20px; /* Отступы */
  }
  .icon1{
    display: none;
  }
  .icon1mobile{
    display: inline-block;
  }
  #menuMobileCat ul {
    list-style-type: none;
    padding: 0;
    width: 100%;
    flex-grow: 1; /* Заставляет меню занимать оставшееся пространство */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
  }
  #menuMobileCat > ul {
    text-transform: uppercase;
    gap:15px;
  }
  #menuMobileCat > ul > li > ul {
    display: inline-flex;
    gap:10px;
    margin-top: 10px;
    text-transform: none;
  }
  #menuMobileCat .submenu > li {
    font-style: normal;
    font-weight: 600;
    line-height: 17px;
  }
  #menuMobileCat .subsubmenu {
    font-weight: 500;
  }
  #menuMobileCat .subsubmenu > li {
    margin-top: 10px;
  }
  #menuMobileCat > ul > li {
    padding-left: 27px;
  }

  #menuMobileCat ul li a {
    text-decoration: none;
    padding: 13px;
    display: block;
    /*width: calc(100% - 54px);*/
  }
  .closeMenuMobile {
    cursor: pointer;
    width: 44px;
    height: 44px;
    margin-right: 44px;
  }
  .searchMobile {
    flex-grow: 1; /* Заставляет элемент поиска занимать оставшееся пространство */
    text-align: right; /* Выравнивание текста вправо */
  }
  #menuMobileCat a{
    color:black;
    font-size: var(--font-size-14);
  }
  .logoFooter{
    display: block;
    margin: 19px auto;
    width: 296px;
    height: 61px;
  }
  .footerUp{
    height: auto;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
  }
  .footerUp div{
    flex: 0 0 auto;
  }
  .footerMenuLeft{
    width: calc(100% - 100px);
    margin: 0 50px 40px 50px;
  }
  .footerMenuCenter{
    width: calc(50% - 40px);
    margin-left: 40px;
  }
  .footerMenuRight{
    width: calc(50% - 40px);
    margin-right: 40px;
  }
  .phoneFooter a, .emailFooter a, .adressFooter span,
  .footerMenuRight a, .footerMenuCenter a
  {
    font-weight: 500;
    font-size: var(--font-size-14);
    line-height: 17px;
  }
  .emailFooter, .adressFooter{
    margin-top: 20px;
  }
  .footerDown{
    border-radius: unset;
  }
  .footerMenuDown{
    flex-direction: column;
    margin-top: 42px;
    padding-top:12px;
    padding-left: 13px;
    padding-right: 13px;
    gap:16px;
  }
  .footerMenuDown a{
    display: block;
    margin-bottom: 16px;
    margin-left: 13px;
  }
  .footerMenuDown a,
  .copyright{
    font-weight: 500;
    font-size: var(--font-size-14);
    line-height: 17px;
  }
  .copyright {
    margin-top: 20px;
  }
  /*.block2Home p,*/
  .block2Home img,
  .block3Home img
  {
    display:none;
  }
  .block3Home{
    padding-left: 0;
  }
  .block3Home > div{
    width: unset;
  }
  .block3Home > div > div,
  .block3Home .even div
  {
    width: auto;
  }
  .block3Home .odd,
  .block3Home .even
  {
    margin: 5px 17px;
  }
  .block3Home > div:nth-child(odd){
    justify-content:flex-start;
  }
  .block3Home .even div{
    margin-right: 0;
  }
  .block3Home span{
    width: auto;
  }
  .block3Home h3{

    padding-left: 13px;
    padding-top: 10px;
    padding-bottom: 22px;

    font-style: normal;
    font-weight: 500;
    font-size: var(--font-size-14);
    line-height: 17px;
    text-transform: uppercase;
  }
  .block3Home span{

    padding-left: 10px;
    padding-top: 0px;

    font-weight: 400;
    font-size: var(--font-size-14);
    align-items: center;
    color: #003678;
  }
  .block4Home{
    padding-left: 17px;
    padding-right: 17px;
  }
  .block4Home h2{
    padding-left:0;
    left: 0;
  }
  .block4Home > div{
    margin: 0 auto;
    left: 0;
  }
  .block4Home .buttonmore{
    display: none;
  }
  .block4Home > div > div{
    width:auto;
  }
  .block4Home > div > div{
    width: calc(100% - 34px);
  }
  .block4Home > div{
    flex-direction: column;
  }
  .block4Home > div > img{
    align-self: flex-end;
  }
  .block4Home > div > div{
    margin-bottom: 0;
    padding-bottom: 61px;
  }
  .block4Home h3,
  .block4Home > div > div > span
  {
    padding-left: 12px;
    font-weight: 500;
    font-size: var(--font-size-14);
  }
  .block4Home h3 {
    padding-top: 22px;
    text-transform: uppercase;
  }
  .block4Home > div > div > span{
    padding-bottom: 20px;
  }
  .block4Home .divspan {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 12px;
    font-weight: 500;
    font-size: var(--font-size-14);
  }
  .block4Home > div > div > div{
    margin-left: 0;
    gap: 10px;
  }
  .block4Home > div > img{
    right: 17px;
    top:-61px;
  }

  .formhome{
    padding-left: 17px;
    padding-right: 17px;
  }
  .formhome h2 {
    font-weight: 700;
    font-size: var(--font-size-h2);
  }
  .formhome > span{
    font-weight: 500;
    font-size: var(--font-size-large);
    color: rgba(0, 0, 0, 0.55);
  }
  .formhome > div{
    margin-left: 0;
    width: 100%;
  }
  .formhome > div img{
    display: none;
  }
  .nameFormHome, .messageFormHome
  {
    width: calc(100% - 75px);
    margin-left: 15px;
  }
  .submitFormHome, .submitFormOrder, .submitForm{
    width: 325px;
  }
  /* Каталог (магазин)*/
  h1.woocommerce-products-header__title.page-title{
    /* Продукция */
    font-weight: 700;
    font-size: var(--font-size-h2);
    line-height: 29px;
    margin-bottom: 13px;
  }
  .content-area{
    margin-top: 0;
  }
  .woocommerce ul.products li.product-category{
    margin-bottom: 10px;
  }
  .woocommerce ul.products{
    justify-content: center;
  }
  .woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count,
  .woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering
  {
    float: none;
    margin-left: 15px;
  }
  .content-area{
    padding-left: 15px;
    padding-right: 15px;
  }
  .woocommerce div.product .product_title{
    font-weight: 700;
    font-size: var(--font-size-large);
    line-height: 24px;
  }
  .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary
  {
    float: none;
  }
  h1.product_title.entry-title{
    margin-bottom: 20px;
  }
  .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images,
  .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary
  {
    width: 100%;
  }
  .sku_wrapper,
  .buttonOrder
  {
    margin-bottom: 22px;
  }
  .productDop{
    margin-left: 0;
    grid-template-columns: 1fr;
  }
  .woocommerce ul.products{
    gap:unset;
  }
  .contactHeader .phoneHeader div{
    display: none;
    z-index: 2;
  }
  .contactHeader .emailHeader div{
    display: none;
    z-index: 2;
  }
  .contactHeader {
    display: flex;
    column-gap: 20px;
    margin-right: 20px;
  }
  .contactHeader .emailHeader{
    margin-top: 0;
  }
  .phoneHeader .icoPhone,
  .emailHeader .icoEmail
  {
    display: none;
  }
  .icoPhoneMobile,
  .icoEmailMobile
  {
    display: block;
  }

  .phoneHeader > div,
  .emailHeader > div
  {
    position: absolute; /* Позиционирование окна относительно родителя */
    top: 200%; /* Центрировать по вертикали */
    transform: translate(-50%, -50%); /* Сдвигаем для центрирования */
    background-color: rgba(255, 255, 255, 1); /* Полупрозрачный фон */
    border: 1px solid #ccc; /* Рамка */
    border-radius: 8px; /* Закругленные углы */
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.2); /* Тень */
    padding: 0 20px; /* Отступы для содержимого */
    transition: display 0.3s ease; /* Плавный переход (требует JavaScript для динамического отображения) */
  }

  /* Стили для ссылок внутри всплывающего окна */
  .phoneHeader > div a,
  .emailHeader > div a
  {
    display: block; /* Каждый элемент ссылки на отдельной строке */
    padding-bottom: 22px; /* Отступ между ссылками */
    padding-top: 22px; /* Отступ между ссылками */
    color: #007bff; /* Цвет текста */
    text-decoration: none; /* Убираем подчеркивание */
  }
  .phoneHeader > div a:hover,
  .emailHeader > div a:hover
  {
    text-decoration: underline; /* Подчеркивание при наведении */
  }

  .block4Home > div > img,
  .block4Home .imgsubas
  {
    width: 41%;
  }
  .carousel-arrow.right{
    right: -40px;
  }
  .haspopover{
    max-width:100%;
  }
  .tooltip-up{
    margin-right:0;
  }
  #popmake-242 .popmake-content{
    margin-left: 0;
  }
  .block2Home section{
    padding: 0;
  }
  .woocommerce div.product .woocommerce-tabs ul.tabs{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 0;
  }
  #ajaxsearchliteres2{
    left:10% !important;
  }
   .buttonAllProduct {
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0;
  }
}