/* KL wave 12 — карточки 6 / 7 / 17 (подключается после kl-wave11.css) */

/* ---------- Палитра новых слоёв (план): #14161b / #1d2027 / #ffc42e / #fff ---------- */
:root{
  --kl12-ink:#14161b;
  --kl12-panel:#1d2027;
  --kl12-accent:#ffc42e;
}

/* ================= КАРТОЧКА 17: строки с иконками внутри формы =================
   .kmap-empty / .route__add: min-height 44, padding 8px 0, gap 12, align-items:center,
   иконка 24x24 (20x20 на <=720), flex:0 0 24px, stroke-width 1.75, текст 16/1.5 (15/1.45 моб.)
   ============================================================================ */
.order__form .kmap-empty,
.order__form .route__add{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  height:auto;
  padding:8px 0;
  box-sizing:border-box;
  font-size:16px;
  line-height:1.5;
}

.order__form .kmap-empty__ico,
.order__form .route__add .kmap-empty__ico{
  flex:0 0 24px;
  width:24px;
  height:24px;
  min-width:24px;
  max-width:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--kl12-panel);
}
.order__form .kmap-empty__ico svg,
.order__form .route__add .kmap-empty__ico svg{
  width:24px;
  height:24px;
  display:block;
  flex:0 0 auto;
}
.order__form .kmap-empty__ico svg *,
.order__form .route__add .kmap-empty__ico svg *{
  stroke-width:1.75;
}

.order__form .kmap-empty__txt,
.order__form .route__add .kmap-empty__txt{
  flex:1 1 auto;
  min-width:0;
  font-size:16px;
  line-height:1.5;
  color:#414141;
}
.order__form .kmap-empty__txt small,
.order__form .kmap-empty__sub{
  font-size:13px;
  line-height:1.4;
  color:#5f5f5f;
}

@media (max-width:720px){
  .order__form .kmap-empty__ico,
  .order__form .route__add .kmap-empty__ico{
    flex:0 0 20px;
    width:20px;
    height:20px;
    min-width:20px;
    max-width:20px;
  }
  .order__form .kmap-empty__ico svg,
  .order__form .route__add .kmap-empty__ico svg{
    width:20px;
    height:20px;
  }
  .order__form .kmap-empty__txt,
  .order__form .route__add .kmap-empty__txt{
    font-size:15px;
    line-height:1.45;
  }
  .order__form .kmap-empty,
  .order__form .route__add{
    min-height:44px;
    padding:8px 0;
    gap:12px;
  }
}

/* --- усиление (в бандле/kl-map.js размеры могут приходить инлайном) --- */
.order__form .kmap-empty .kmap-empty__ico,
.order__form .route__add .kmap-empty__ico{
  flex:0 0 24px !important;
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  max-width:24px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.order__form .kmap-empty .kmap-empty__ico svg,
.order__form .route__add .kmap-empty__ico svg{
  width:24px !important;
  height:24px !important;
  max-width:24px !important;
  max-height:24px !important;
}
.order__form .kmap-empty .kmap-empty__txt,
.order__form .route__add .kmap-empty__txt{
  font-size:16px !important;
  line-height:1.5 !important;
}
@media (max-width:720px){
  .order__form .kmap-empty .kmap-empty__ico,
  .order__form .route__add .kmap-empty__ico{
    flex:0 0 20px !important;
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    max-width:20px !important;
  }
  .order__form .kmap-empty .kmap-empty__ico svg,
  .order__form .route__add .kmap-empty__ico svg{
    width:20px !important;
    height:20px !important;
    max-width:20px !important;
    max-height:20px !important;
  }
  .order__form .kmap-empty .kmap-empty__txt,
  .order__form .route__add .kmap-empty__txt{
    font-size:15px !important;
    line-height:1.45 !important;
  }
}

/* ================= КАРТОЧКА 6: hero-заголовок стал h2 — держим прежний визуал ================= */
.hero__title,
.hero__title--h2{
  margin:0;
  font-weight:800;
}
@media (max-width:720px){
  .hero__title,
  .hero__title--h2{
    font-size:27px;
    line-height:1.15;
  }
}
@media (min-width:721px){
  .hero__title,
  .hero__title--h2{
    font-size:44px;
    line-height:1.1;
  }
}
/* порядок заголовков: h1.order__title — крупный, но не гигант */
.order__title{
  margin:0;
}

/* ================= КАРТОЧКА 6: на 390 форма ближе к первому экрану ================= */
@media (max-width:720px){
  .hero{
    min-height:0 !important;
    padding-top:14px !important;
    padding-bottom:10px !important;
  }
  .hero__art{
    display:none !important;
  }
  .hero__lead{
    margin:8px 0 0 !important;
    font-size:14px;
    line-height:1.45;
  }
  .order{
    padding-top:10px !important;
  }
  .order__card{
    padding-top:14px !important;
  }
  .order__head{
    padding-bottom:8px !important;
  }
  .order__lead{
    margin-top:6px !important;
    font-size:14px;
    line-height:1.45;
  }
  .order__intro{
    display:none !important;
  }
}

/* ================= КАРТОЧКА 7: 1024 — карточка уже (<=760) и ближе к первому экрану ================= */
@media (min-width:1025px) and (max-width:1279px){
  .order__card{
    max-width:760px;
    width:100%;
    margin-left:auto;
    margin-right:auto;
  }
  .hero{
    min-height:0 !important;
    padding-top:12px !important;
    padding-bottom:8px !important;
  }
  .hero__art{
    display:none !important;
  }
  .hero__title,
  .hero__title--h2{
    font-size:36px;
    line-height:1.1;
  }
  .hero__lead{
    margin:6px 0 0 !important;
    font-size:15px;
    line-height:1.45;
  }
  .order{
    padding-top:8px !important;
  }
  .order__card{
    padding-top:12px !important;
  }
  .order__head{
    padding-bottom:4px !important;
  }
  .order__intro,
  .order__lead{
    display:none !important;
  }
  .order__note{
    display:none !important;
  }
  .order__transport{
    padding-top:4px !important;
    padding-bottom:4px !important;
  }
  .order__submit{
    margin-top:8px !important;
  }
}

/* ================= hero-clip (карточка ce7f1d5e): текст hero не обрезается по ширине и высоте ================= */
.hero__inner{
  min-width:0;
  max-width:100%;
  overflow:visible;
}
.hero__title,
.hero__title--h2{
  max-width:100%;
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  overflow-wrap:break-word;
  -webkit-line-clamp:unset;
  line-clamp:unset;
}
.hero__lead{
  max-width:min(100%,62ch);
  overflow:visible;
  text-overflow:clip;
  white-space:normal;
  overflow-wrap:break-word;
  -webkit-line-clamp:unset;
  line-clamp:unset;
}
.hero__art{
  max-width:100%;
}
