/* === Базовый стиль body === */
body 

{
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #222;
}

/* Отступы между параграфами */
p + p {
  margin-top: 1.5em;
}

/* === Заголовки (все = 600) === */
.h1 {
  font-size: 40px;
  line-height: 120%;
  font-weight: 600;
}

.h2 {
  font-size: 32px;
  line-height: 120%;
  font-weight: 600;
}

.h3 {
  font-size: 24px;
  line-height: 130%;
  font-weight: 600;
}

.h4 {
  font-size: 18px;
  line-height: 130%;
  font-weight: 600;
}

/* === Привязка Tilda-заголовков к .h1 */
.t050__title {
  font-size: 40px;
  line-height: 120%;
  font-weight: 600;
  font-family: 'Gilroy', sans-serif; !important;
}

/* === Привязка Tilda-заголовков к .h2 */
.t017__title {
  font-size: 32px;
  line-height: 120%;
  font-weight: 600;
}

/* === Подзаголовки (все = 400) === */
.sub1 {
  font-size: 18px;
  line-height: 130%;
  font-weight: 400;
}

.sub2 {
  font-size: 16px;
  line-height: 140%;
  font-weight: 400;
}

.sub3 {
  font-size: 16px;
  line-height: 130%;
  font-weight: 400;
}

.sub4 {
  font-size: 14px;
  line-height: 140%;
  font-weight: 400;
}

/* === Основной текст === */
.body-m {
  font-size: 18px;
  line-height: 150%;
  font-weight: 400 !important;
}

.body-s {
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
}

.body-xs {
  font-size: 14px;
  line-height: 140%;
  font-weight: 400;
}

/* === Цены === */
.price-s {
  font-size: 18px;
  font-weight: 400;
}

.price-m {
  font-size: 24px;
  font-weight: 400;
}

.price-l {
  font-size: 32px;
  font-weight: 400;
}

/* === Кнопки (все = 600) === */
.btn-text {
  font-size: 16px;
  line-height: 130%;
  font-weight: 600;
  text-transform: uppercase;
}

.t-btn,
.t-submit,
.t-input-submit,
.t206__submit,
.t706__submit,
.t-popup__button,
.t-btntext {
  font-size: 16px !important;
  font-weight: 600 !important;
  font-family: 'Gilroy', sans-serif !important;
}

/* === Прочее (все = 400) === */
.caption {
  font-size: 14px;
  line-height: 140%;
  font-weight: 400;
}

.tab-bar {
  font-size: 14px;
  line-height: 130%;
  font-weight: 400;
}

.font-18 {
  font-size: 18px;
  line-height: 130%;
  font-weight: 400;
}

/* === Принудительный вес только для HTML-заголовков === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600 !important;
}

/* === Zero Block: только заголовки получают 600 === */
.tn-elem[data-elem-type="text"] h1,
.tn-elem[data-elem-type="text"] h2,
.tn-elem[data-elem-type="text"] h3,
.tn-elem[data-elem-type="text"] h4,
.tn-elem[data-elem-type="text"] h5,
.tn-elem[data-elem-type="text"] h6 {
  font-weight: 600 !important;
}

/* Заголовки блока T997 — делаем полужирными (600) */
.t997__card-title,
.t-name,
.t-name_sm,
.t997__bottommargin {
  font-weight: 600 !important;
}

/* Описания блока T997 — стандартные (400) */
.t997__card-desc,
.t-descr,
.t-descr_xs,
.t1106__text,
.t175__text {
  font-weight: 400 !important;
}

/* Стилизация шаблонной сетки */
.t-col.t-col_10.t-prefix_1 {
  font-size: 40px;
  line-height: 120%;
  font-weight: 600;
  font-family: 'Gilroy', sans-serif;
}

.t-col.t-col_8.t-prefix_2 {
  font-size: 18px;
  line-height: 150%;
  font-weight: 400;
  font-family: 'Gilroy', sans-serif;
}

/* === Мобильная адаптация (до 768px) — min font-size = 14px === */
@media (max-width: 768px) {
  .h1,
  .t050__title      { font-size: 28px; }
  .h2?,
  .t017__title { font-size: 24px; }
  .h3        { font-size: 20px; }
  .h4        { font-size: 18px; }

  .price-l   { font-size: 24px; }
  .price-m   { font-size: 20px; }

  .sub1,
  .body-m,
  .price-s   { font-size: 18px; }

  .sub2,
  .sub3,
  .body-s,
  .btn-text  { font-size: 16px; }

  .sub4,
  .caption,
  .tab-bar,
  .body-xs,
  .t-descr_xs,
  .t997__card-desc,
  .t1106__text,
  .t175__text {
    font-size: 14px !important;
  }
}