/* mob/components.css
   Формы, кнопки, типографика (можно расширять по мере правок)
*/
@media (max-width: 1024px){
  h1{ font-size: 28px; line-height: 1.15; }
  h2{ font-size: 22px; line-height: 1.25; }
  h3{ font-size: 18px; line-height: 1.3; }

  p{ font-size: 16px; color: var(--mob-muted); }

  /* Формы */
  input, select, textarea{
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
  }

  button, .pi-btn, .btn{
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 16px;
  }
}

@media (max-width: 1024px){
  .zk-best-offer li .pi-slide{
    width: auto !important;
    max-width: 100% !important;
    padding: 72px 16px 0 16px !important;
  }

  .zk-best-offer li .pi-slide h2{
    width: auto !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) and (orientation: portrait){
  .zk-feedback-subscribe .pi-section{
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .zk-feedback-subscribe h2{
    margin: 0 0 10px 0 !important;
  }

  .zk-feedback-subscribe p{
    margin: 0 0 14px 0 !important;
  }
}

@media (max-width: 767px) and (orientation: portrait){
  .zk-feedback-question .zk-btn,
  .zk-feedback-question .zk-form{
    width: 100% !important;
  }

  .zk-feedback-question .zk-form input{
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 0 12px 0 !important;
  }

  /* кнопка "Отправить заявку" у вас span — делаем её нормальной */
  .zk-feedback-question .zk-form > span{
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }
}

@media (max-width: 767px) and (orientation: portrait){
  .zk-feedback-question h2 a{
    white-space: nowrap;
    display: inline-block;
  }
}

/* --- Главная: "Лучшие предложения" (Revolution Slider) --- */
@media (max-width: 767px) and (orientation: portrait){
  .zk-best-offer-header h1{ font-size: 26px !important; }

  .tp-banner-container.zk-best-offer,
  .zk-best-offer .tp-banner,
  .zk-best-offer .pi-revolution-slider{
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* делаем слайдер ниже, чтобы картинка и текст влезали */
  .tp-banner-container.zk-best-offer{
    height: 260px !important;
  }
  .zk-best-offer .tp-banner{
    height: 260px !important;
  }
  .zk-best-offer .tp-banner > ul,
  .zk-best-offer .tp-banner > ul > li{
    height: 260px !important;
  }

  .zk-best-offer li .pi-slide{
    padding: 60px 14px 0 14px !important;
  }

  .zk-best-offer li .pi-slide h2{
    margin: 0 0 10px 0 !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
  }
  .zk-best-offer li .pi-slide h2 span{
    display:block;
    max-width: 100%;
  }

  .zk-best-offer li .pi-slide .btn,
  .zk-best-offer li .pi-slide a.btn{
    font-size: 14px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }
}

/* --- Главная: "Почему именно мы?" — не вылезать вправо --- */
@media (max-width: 1024px){
  .zk-main-advantages h3,
  .zk-main-advantages p{
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* --- Главная: "Остались вопросы" — форма не должна вылазить из блока --- */
@media (max-width: 767px) and (orientation: portrait){
  .zk-feedback-question .pi-section{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .zk-feedback-question .zk-text,
  .zk-feedback-question .zk-btn{
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .zk-feedback-question .zk-btn{
    margin-top: 14px !important;
  }

  .zk-feedback-question form.zk-form{
    width: 100% !important;
  }

  .zk-feedback-question form.zk-form input{
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* телефон в заголовке не рвём по частям */
  .zk-feedback-question h2 a{
    white-space: nowrap;
    display: inline-block;
  }
}
