/*
 * SEO-правки заголовков (ТЗ ноябрь 2026).
 * Теги заголовков поменяли ради структуры h1–h6, а эти классы
 * сохраняют прежний вид. Значения повторяют базовые стили из main.css.
 * Подключается после main.css.
 */

/* Выглядит как h4 */
.h-as-h4 {
    color: #4e4e4e;
    font-family: ProximaNovaRegular;
    font-style: normal;
    font-weight: normal;
    font-size: 1.33333rem;
    line-height: 1.35;
    text-transform: uppercase;
    margin-top: 0.5rem;
    margin-bottom: 1.05rem;
    text-rendering: optimizeLegibility;
}

/* Выглядит как h5 */
.h-as-h5 {
    color: #4e4e4e;
    font-family: ProximaNovaRegular;
    font-style: normal;
    font-weight: normal;
    font-size: 1.33333rem;
    line-height: 1.4;
    text-transform: none;
    margin-top: 0.5rem;
    margin-bottom: 1.05rem;
    text-rendering: optimizeLegibility;
}

/* Заголовок выглядит как родительский блок (названия товаров на странице бренда) */
.h-reset {
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-indent: 0;
    margin: 0;
    padding: 0;
}

/* Главная: h2 вместо h3/h5/h6 — размер и шрифт задаёт .mod-h1, отличается только line-height */
.company-brands h2.mod-h1,
.news-company h2.mod-h1 {
    line-height: 1.35;
}
.route h2.mod-h1 {
    line-height: 1.4;
}

/* Главная: отступ, который раньше давали пустые h3–h6 под «N место» */
.company-make__place {
    margin-bottom: 1.05rem;
}

/* Главная: бывший h1 в баннере */
.banner__preloader-text .banner__title {
    color: #00a8e2;
    line-height: 1.15;
    margin-top: 0.5rem;
    margin-bottom: 1.05rem;
    font-weight: normal;
}

/* Страницы категорий: название товара (было inline-span, поэтому без вертикальных отступов) */
.product__wrapper .product__name {
    color: #4e4e4e;
    font-family: ProximaNovaRegular;
    font-style: normal;
    font-weight: normal;
    font-size: 1.33333rem;
    line-height: 1.4;
    text-transform: none;
    margin: 0;
    text-rendering: optimizeLegibility;
}
