/**
 * Типографика каталога (не главная, не printing).
 * Текст: Inter 400 / 16px
 * Заголовки страниц: Formular 700 / 64px
 * Цены: Tomorrow 700 / 47px
 * Подзаголовки: Inter 500 / 20px
 */

/* —— Заголовки страниц —— */
.catalog-filter__content h1,
.main.catalog-category .breadcrumbs h1,
.bx-catalog-element .breadcrumbs h1,
.order-text h2 {
  font-family: 'Formular', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

/* —— FAQ: «Часто задаваемые вопросы» —— */
.catalog-items__viewed.category .catalog-section-faq.faq h2 {
  font-family: 'Formular', sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 60px;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  color: #2C2C2C;
}

/* —— Подзаголовки: названия товаров, блок цветов, вопросы FAQ, заголовки блоков —— */
.catalog-filter__colors-text h2,
.catalog-items__viewed.category .category h2,
.catalog-items__viewed.category .category h2 a,
.catalog-items__viewed.color h2 a,
.catalog-items__viewed.static h2,
.catalog-items__viewed.static h2 a,
.catalog-items__viewed.category li a h3,
.catalog-items__viewed.color li a h3,
.catalog-items__viewed.static li a h3,
.catalog-section-faq .faq-list .title p,
.order .order__content_right h2,
.order .table h3,
.order .add-order {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-filter__tag {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0;
  text-transform: none;
}

/* —— Цены в карточках списка —— */
.catalog-items__viewed.category li a > p,
.catalog-items__viewed.color li a > p,
.catalog-items__viewed.static li a > p,
.catalog-items__viewed.category.element-related li p span {
  font-family: 'Tomorrow', sans-serif;
  font-weight: 700;
  font-size: 35px;
  line-height: 30px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #2C2C2C;
}

/* —— Цена на карточке товара —— */
.order .prices span:first-of-type,
.order .prices span:last-of-type {
  font-family: 'Tomorrow', sans-serif;
  font-weight: 700;
  font-size: 47px;
  line-height: 40px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #2C2C2C;
}

/* —— Текст / описания —— */
.catalog-filter__colors-text p,
.catalog-filter__search-form__text,
.catalog-section-faq .faq-list .answer,
.order .tabs-content p,
.order .tabs-content h3,
.order .tabs-content li,
.order-text p,
#catalog-nav .catalog-nav_count,
#catalog-nav #show-more {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0;
}

.catalog-seotext__content h2,
.catalog-seotext__content h3,
.catalog-items .catalog-seotext__content h2,
.catalog-items .catalog-seotext__content h3 {
  font-family: 'Inter', sans-serif;
}

@media (max-width: 991px) {
  .catalog-filter__content h1,
  .main.catalog-category .breadcrumbs h1,
  .bx-catalog-element .breadcrumbs h1,
  .catalog-items__viewed.category .catalog-section-faq.faq h2,
  .order-text h2 {
    font-size: 48px;
    line-height: 46px;
  }

  .catalog-items__viewed.category li a > p,
  .catalog-items__viewed.color li a > p,
  .catalog-items__viewed.static li a > p,
  .catalog-items__viewed.category.element-related li p span {
    font-size: 30px;
    line-height: 26px;
  }

  .order .prices span:first-of-type,
  .order .prices span:last-of-type {
    font-size: 36px;
    line-height: 32px;
  }
}

@media (max-width: 700px) {
  .catalog-filter__content h1,
  .main.catalog-category .breadcrumbs h1,
  .bx-catalog-element .breadcrumbs h1,
  .order-text h2 {
    font-size: 36px;
    line-height: 34px;
  }
}

@media (max-width: 550px) {
  .catalog-items__viewed.category .catalog-section-faq.faq h2 {
    font-size: 36px;
    line-height: 34px;
  }

  .catalog-filter__content h1,
  .bx-catalog-element .breadcrumbs h1,
  .order-text h2 {
    font-size: 28px;
    line-height: 26px;
  }

  .catalog-items__viewed.category li a > p,
  .catalog-items__viewed.color li a > p {
    font-size: 26px;
    line-height: 24px;
  }

  .order .prices span:first-of-type,
  .order .prices span:last-of-type {
    font-size: 28px;
    line-height: 26px;
  }
}

@media (max-width: 500px) {
  .main.catalog-category .breadcrumbs h1 {
    font-size: 36px;
    line-height: 34px;
  }
}

/* SEO-текст внутри листинга — не перебивать стилями цен карточек */
.catalog-items__viewed.category .catalog-seotext__content h1,
.catalog-items__viewed.category .catalog-seotext__content h2,
.catalog-items__viewed.category .catalog-seotext__content h3,
.catalog-items__viewed.category .catalog-seotext__content p,
.catalog-items__viewed.category .catalog-seotext__content ol li,
.catalog-items__viewed.category .catalog-seotext__content ul li {
  font-family: 'Inter', sans-serif;
  text-transform: none;
}

.catalog-items__viewed.category .catalog-seotext__content h1 {
  font-weight: 500;
  font-size: 30px;
  line-height: 140%;
  margin-bottom: 10px;
}

.catalog-items__viewed.category .catalog-seotext__content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
}

.catalog-items__viewed.category .catalog-seotext__content p:last-of-type {
  margin-top: 28px;
}
