/* Компьютер */
@media (max-width: 3439px) {
    .section-id--main-banner {
      background-position: 65% -7.2%;
    }
}

/* Компьютер */
@media (max-width: 2559px) {
    .section-id--main-banner {
      background-position: 70% -7.2%;
    }
}



/* Компьютер */
@media (max-width: 1919px) {
    .section-id--main-banner {
      background-position: 75% -7.2%;
    }
}



/* Компьютер */
@media (max-width: 1599px) {
    .section-id--main-banner {
      background-position: 80% -7.2%;
    }
}


/* Ноутбуки */
@media (max-width: 1399px) {
    .section-id--main-banner {
      background-position: 85% -7.2%;
    }
    .header-html-1 {
        margin-left: 0px;
    }
    .social-links .social-buttons {
        width: 168px;
        margin: 0 auto;
    }
    .social-button {
        margin: 0;
    }
    .social-buttons--square .social-button {
        width: 1.7em;
        height: 1.7em;
        padding: 0em;
    }

    .social-button:before {
        margin-top: 10px;
    }
    .header-cart__link {
        padding: .5em;
    }
    .header-search--compact .header-search-ico {
        padding: .5em;
    }
}


/* Планшеты (портретный и альбомный режим) */
@media (max-width: 1199px) {
    .lzr-steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 3rem; 
    }
    .main-banner__body-inner {
        max-width: 860px;
    }
}


/* Телефоны (портретный режим и немного шире) */
@media (max-width: 991px) {
    .section-id--main-banner {
      background-position: 90% -7.2%;
    }
      .lzr-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 4rem;
    }
  
    .main-banner__title {
        font-size: 1.7em;
        line-height: 1.25;
    }

  .woocommerce-cart-form table.shop_table_responsive tr td {
    padding: 10px 2px;
  }

  .page-links .page-numbers,
  .page-links .post-page-numbers,
  .pagination .nav-links .page-numbers,
  .pagination .nav-links .post-page-numbers,
  .woocommerce-pagination > .page-numbers .page-numbers,
  .woocommerce-pagination > .page-numbers .post-page-numbers {
    padding: .6em 1em;
  }

  .woocommerce .woocommerce-checkout #order_review_heading {
    font-family: 'TildaSansWebRegular', sans-serif !important;
    font-size: 1.5em;
    margin: 0em 0 1em;
  }

   .cf7-row {
    gap: 10px !important;
  }

  .cf7-title {
    font-size: 18px !important;
  }

  .cf7-half input {
    font-size: 14px !important;
    height: 42px !important;
  }

  .cf7-button {
    height: 42px !important;
    font-size: 15px !important;
  }

  .modal-content {
    padding: 2.4rem 2rem 2rem 2rem !important;
  }

  .wpcf7-radio.cf7-method {
    gap: 3px !important;
  }

  .wpcf7-radio.cf7-method .wpcf7-list-item-label {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    height: auto;
    padding: 12px;
    background-position: top center;
    background-size: 30px 30px;
    padding-top: 45px;
    font-size: 14px;
  }

  .wpcf7-radio.cf7-method .wpcf7-list-item-label {
    width: 90px !important;
    height: 90px !important;
  }

  .header-html-1 {
        margin-left: 0px;
        min-width: 180px;
        text-align: left;
    }
    .lz-card {
        flex: 1 1 calc(50% - 2rem);
    }
}


@media (max-width: 767px) {
    .header-search {
        padding: 20px 20px 0 20px;
    }
    .product-container {
        margin-bottom: 120px;
    }
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      background-color: #f8f7f6; 
      width: 100%;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .site-content {
        background: #fff;
        padding-bottom: 20px;
        padding-top: 179px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .main-navigation-inner.fixed {
        padding-top: 180px;
    }

    .js-mobile-menu-placeholder {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      max-height: 100vh;
      z-index: 9998;
      overflow-y: auto;
      display: none;
    }

    .js-mobile-menu-placeholder.open {
      display: block; 
    }

    .main-navigation {
      margin-bottom: 0;
    }

    .shop-item--type-standard .shop-item-inner {
        padding: 30px;
    }

  .section-id--main-banner {
      background-position: 50% -7.2%;
      background-color: #dad3c1;
      background-image: url(/wp-content/media/images/main-banner-mobile.jpg);
      min-height: 236px;
      background-repeat: no-repeat;
      width: 100vw;
      max-width: 100vw;
      background-size: 273px auto;
      text-align: center;
      padding-top: 210px;
  }
  
  .section-block, .section-html {
      padding-left: 15px;
      padding-right: 15px;
  }
  
  .main-banner__title {
      font-size: 1.5em;
      line-height: 1.25;
      padding: 0 20px;
      margin: 0 auto;
  }
  
  .main-banner__excerpt {
      line-height: 1.4em;
      width: 100%;
      font-size: 16px;
  }
  
  .main-banner__body-inner {
      margin: 0 auto;
      margin-top: -20px;
      min-height: 327px;
  }
  .main-banner__title+.main-banner__excerpt {
    margin-top: 17px;
    margin-bottom: 17px;
  }
    .header-html-1, .header-html-2, .social-links {
        display: none;
    }
    .humburger {
        top: 22px;
        left: 40px;
    }
    .header-cart__link {
        padding: .5em .8em .5em 0;
    }
    .main-navigation ul li span, .main-navigation ul li a {
        border-bottom: 1px solid #f4f4f5;
    }
    .main-navigation ul li>span {
        padding: 18px 20px;
    }
    .footer-widget, .footer-bottom {
        text-align: center;
    }

    .lz-grid {
        gap: 4rem 2rem;
        margin: 3rem auto 3rem;
        padding: 15px;
    }
    .lzr-step-card {
        margin: 0 0 0 35px;
    }
    .lzr-steps-grid {
        gap: 2rem 1rem;
    }
    .lzr-how-we-work {
        padding: 0 15px;
        margin-top: 40px;
    }
    .about-content {
        gap: 1rem;
        flex-direction: column;
     }
    .about-container {
        gap: 1rem 5rem;
    }
    .about-image {
        padding-bottom: 0;
    }
    .about-text {
        padding: 0px 35px;
    }
    .about-button {
      margin-top: 1rem;
      text-align: center;
    }
      .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #f8f7f6;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #ddd;
    z-index: 10000;
  }

  .mobile-bottom-nav .nav-item {
    text-align: center;
    color: #464542;
    text-decoration: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

    .mobile-bottom-nav .icon {
        font-size: 28px;
        padding: 9px 0 0;
        color: #cda644;
    }  

    .mobile-bottom-nav .text {
        font-size: 14px;
        line-height: 1.3em;
        padding: 0 0 6px 0;
        font-family: 'TildaSansWebRegular', sans-serif !important;
    }

  body {
    padding-bottom: 60px;
  }

  .mobile-bottom-nav .nav-item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background-color:#eee;
}
}


/* Мобильные устройства (маленькие экраны, телефоны) */
@media (max-width: 480px) {
    .shop-item__price {
        font-size: 15px;
        padding: 0 4px;
    }
    .shop-item__title {
        line-height: 1.3;
        font-size: 15px;
        padding: 0 4px;
    }
    .button:not(.btn-outline),
    .button:not(.btn-outline) {
      padding: 0.625rem !important;
      width: 100%;
    }
    .shop-item {
        padding: 0 5px;
    }
    .shop-item--type-standard .shop-item-inner{
        padding: 8px;
    }

    .lz-grid {
        gap: 4rem 1rem !important;
        margin: 3.5rem auto !important;
        padding: 0 5px;
    }
    .lz-card {
        padding: 0.5rem 0.9rem;
        flex: 1 1 calc(50% - 2rem);
        max-width: 100%;
    }
    .lz-icon {
        width: 60px;
        height: 60px;
        margin: -2.8rem auto 0;
        font-size: 1.5rem;
    }
    .lz-card h5 {
        font-size: 1.2em;
        line-height: 1.2;
    }
    .lz-card p {
        font-size: 0.9em;
        line-height: 1.3;
    }
    .material-symbols-outlined {
      font-size: 30px;
    }

    .section-id--partnership, .section-id--about, .section-id--work, .section-id--faq, .section-id--reviews {
        padding: 60px 15px 55px 15px;
    }
    .main-banner__excerpt {
        line-height: 1.4em;
        width: 100%;
        font-size: 17px;
    }
    .main-banner__title {
        font-size: 23px;
        line-height: 1.3;
        padding: 0 10px;
        margin: 0 auto;
    }
    .header-cart {
        right: 9px;
    }
    .humburger {
        top: 17px;
        left: 17px;
    }
    .header-cart__link {
        padding: .3em .2em .5em;
    }
  .category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem !important;
    justify-content: space-around;
    padding: 1rem 0 !important;
    background-color: #f8f7f6;
  }

  .section-block__title  {
      min-width: 320px !important;
      margin: 0 20px 0px 20px !important;
  }
   .about-text-title, .about-text-title, .section-block__title {
      font-size: 23px !important;
      line-height: 1.3em !important;
  }

  .section-block__header {
    margin-bottom: 20px;
  }

  .lz-subtitle {
      text-align: center !important;
      font-size: 17px !important;
      padding: 0 20px !important;
      line-height: 1.3; 
  }
  .custom-reviews-section {
    padding: 30px 20px !important;
  }

  .lzr-steps-grid {
    gap: 2.5rem !important;
    grid-template-columns: repeat(1, 1fr);
  }

  .lzr-step-card {
    justify-content: flex-start !important;
  }

  .lzr-how-we-work-container {
    margin: 0 auto !important;
  }
  
  .wpcf7-radio.cf7-method .wpcf7-list-item-label {
    width: 80px !important;
    height: 80px !important;
    background-size: 30px 30px !important;
    background-position: center 15px !important;
    padding-top: 54px !important;
  }

  .modal-content {
    padding: 2.4rem 1.5rem 2rem 1.5rem !important;
  }
  .circle {
      width: 130px;
      height: 130px;
  }
  .footer-widget #custom_html-3, .footer-widget #custom_html-8 {
      display: none;
  }
  .about-text {
      padding: 0px;
  }
  .site-logotype img {
    padding: 0 20px;
    height: 50px;
  }
}