/* Крупная версия «для старшего возраста»: крупные шрифты, меньше текста,
   жирные заголовки в стиле лендингов. Вся новая версия — только этот файл.
   Вернуть прежний вид: открыть сайт с ?style=old или убрать подключение
   lider-large.css в header.php. Резервная копия: _backup/okno-lider-before-senior-style_*.zip */

@font-face { font-family: "Roboto Condensed"; src: url("/fonts/roboto-condensed/roboto-condensed-cyrillic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Roboto Condensed"; src: url("/fonts/roboto-condensed/roboto-condensed-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+20BD,U+2197; }
@font-face { font-family: "Roboto Condensed"; src: url("/fonts/roboto-condensed/roboto-condensed-cyrillic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Roboto Condensed"; src: url("/fonts/roboto-condensed/roboto-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+20BD,U+2197; }
@font-face { font-family: "Roboto Condensed"; src: url("/fonts/roboto-condensed/roboto-condensed-cyrillic-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Roboto Condensed"; src: url("/fonts/roboto-condensed/roboto-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+20BD,U+2197; }

:root,
html[data-palette] {
    --head-font: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    --large-red: #e51c25;
    --type-h1: clamp(46px, 4.7vw, 66px);
    --type-h2: clamp(36px, 3.5vw, 50px);
    --type-h3: 26px;
    --type-body: 19px;
    --type-intro: 22px;
    --type-label: 17px;
    --type-caption: 16px;
    --desktop-text-min: 16px;
}

/* ---------- Текст: крупнее и контрастнее ---------- */
body.lider-site { font-size: 19px; line-height: 1.55; color: #1c1c1c; }
html:not(#_) body.lider-site p { line-height: 1.5 !important; color: #2a2a2a; }

/* ---------- Заголовки, кнопки, цены, телефон — узкий жирный шрифт ---------- */
html:not(#_) body.lider-site :is(h1, h2, h3, h4, summary, .btn, button.btn, .contacts-submit,
    .lead-capture__submit, .home-calc__lead, .lider-logo > span,
    .lider-header__contact > a, .lider-footer__call > a, .site-header__nav a,
    .wg-product__price > strong, .home-product__price strong, .wg-hero__price > strong,
    .home-calc__total > strong, .lider-commerce-price > strong, .wg-trust-strip b,
    [role='tab'], .wg-profile-tabs button, .lif-number),
html:not(#_) body.lider-site :is(h1, h2, h3, h4, summary, .btn, .lider-logo > span) * {
    font-family: var(--head-font) !important;
}
html:not(#_) body.lider-site :is(h1, h2) {
    text-transform: uppercase;
    font-weight: 700 !important;
    color: #1a1a1a;
}
html:not(#_) body.lider-site h1 { line-height: 1.05 !important; }
html:not(#_) body.lider-site h2 { line-height: 1.1 !important; }
html:not(#_) body.lider-site h1 em { font-style: normal; color: var(--large-red); }
html:not(#_) body.lider-site :is(h3, h4) { font-weight: 700 !important; line-height: 1.2 !important; }

/* Заголовки секций — по центру с красной чертой, без мелких надписей над ними */
html:not(#_) body.lider-site :is(.wg-section-heading, .lider-section-head, .home-section__head, .lif-heading) {
    display: block !important;
    text-align: center;
    max-width: none !important;
    margin-left: auto; margin-right: auto;
}
html:not(#_) body.lider-site :is(.wg-section-heading, .lider-section-head, .home-section__head, .lif-heading,
    .lider-service-links > .container, .lider-offers > .container) > h2,
html:not(#_) body.lider-site :is(.wg-section-heading, .lider-section-head, .home-section__head, .lif-heading) > div > h2 {
    text-align: center;
}
html:not(#_) body.lider-site :is(.wg-section-heading, .lider-section-head, .home-section__head, .lif-heading) h2::after,
html:not(#_) body.lider-site :is(.lider-service-links, .lider-offers) h2::after {
    content: "";
    display: block;
    width: 90px; height: 5px;
    margin: 18px auto 0;
    background: var(--large-red);
    border-radius: 3px;
}
html:not(#_) body.lider-site :is(.lider-service-links, .lider-offers) h2 { text-align: center; }
html:not(#_) body.lider-site :is(.lider-kicker, .home-eyebrow, .lif-eyebrow) { display: none !important; }

/* ---------- Кнопки и поля: большие, удобно нажимать ---------- */
html:not(#_) body.lider-site :is(.btn, .contacts-submit, .lead-capture__submit, .home-calc__lead) {
    font-size: 21px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    min-height: 60px;
    padding-left: 28px; padding-right: 28px;
    border-radius: 8px;
}
html:not(#_) body.lider-site :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) {
    font-size: 19px !important;
    min-height: 56px;
}
html:not(#_) body.lider-site :is(label, legend, .wg-hero-form__row > label > span, .home-calc__fieldset > legend) {
    font-size: 17px !important;
}
html:not(#_) body.lider-site :is([role='tab'], .wg-profile-tabs button, .home-tabs button) {
    font-size: 19px !important;
    font-weight: 700 !important;
}
html:not(#_) body.lider-site :is(.lider-link, .home-text-button, .wco-text-button) { font-size: 18px !important; font-weight: 700 !important; }
html:not(#_) body.lider-site summary { font-size: 22px !important; font-weight: 700 !important; line-height: 1.3 !important; }
html:not(#_) body.lider-site :is(table th, table td, dl dt, dl dd, dl > div, .wg-trust-strip span,
    .wg-trust-strip a, .wg-product__profile, .wg-choice-row span, .lider-catalog-specs,
    .wco-checks li, .lider-order-sheet li, .wco-service-card li) {
    font-size: 17px !important;
}
html:not(#_) body.lider-site :is(small, figcaption, .lider-caption, .home-calc__price-note, .lead-capture__hours) {
    font-size: 15px !important;
}
html:not(#_) body.lider-site :is(label.wg-consent, label.contacts-policy, .lead-capture__consent > label) { font-size: 15px !important; }

/* ---------- Шапка ---------- */
html:not(#_) body.lider-site .lider-utility { display: none; }
html:not(#_) body.lider-site .lider-logo > span { font-size: 34px !important; font-weight: 800 !important; }
html:not(#_) body.lider-site .lider-logo small { font-size: 13px !important; font-family: var(--site-font) !important; text-transform: none; }
html:not(#_) body.lider-site .lider-header__contact > a { font-size: 34px !important; font-weight: 800 !important; letter-spacing: .01em !important; color: #1a1a1a; }
html:not(#_) body.lider-site .lider-header__contact > span { font-size: 15px !important; }
html:not(#_) body.lider-site .wg-location-label { font-size: 14px !important; }
html:not(#_) body.lider-site .header-city strong { font-size: 18px; }
html:not(#_) body.lider-site .lider-header__cta { font-size: 18px !important; }
html:not(#_) body.lider-site .wg-header-calc { display: none !important; }
html:not(#_) body.lider-site .site-header__nav a {
    font-size: 17px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .02em !important;
}

/* ---------- Главная: первый экран ---------- */
html:not(#_) body .lider-home .wg-hero__copy > p { display: none; }
html:not(#_) body .lider-home .hero-brand-line .profile-original { display: none; }
html:not(#_) body .lider-home .wg-badge { font-size: 16px !important; padding: 8px 14px; }
html:not(#_) body .lider-home .wg-hero__benefits li { font-size: 21px !important; font-weight: 700; line-height: 1.4; }
html:not(#_) body .lider-home .wg-hero__price > span { font-size: 20px !important; font-weight: 700; }
html:not(#_) body .lider-home .wg-hero__price > strong { font-size: 52px !important; font-weight: 800 !important; color: var(--large-red); }
html:not(#_) body .lider-home .wg-hero__price > small { font-size: 15px !important; }
html:not(#_) body.lider-site .wg-hero__request { --section-heading-size: 28px; }
html:not(#_) body.lider-site .wg-hero__request h2 { text-transform: uppercase; }
html:not(#_) body.lider-site .wg-hero__request h2::after { display: none; }

/* Полоса преимуществ */
html:not(#_) body.lider-site .wg-trust-strip b { font-size: 28px !important; font-weight: 800 !important; text-transform: uppercase; }

/* Каталог */
html:not(#_) body.lider-site .wg-product > h3 { font-size: 25px !important; }
html:not(#_) body.lider-site .wg-product__price > span { font-size: 17px !important; }
html:not(#_) body.lider-site :is(.wg-product__price > strong, .home-product__price strong, .lider-commerce-price > strong, .type-card .price) {
    font-size: 40px !important; font-weight: 800 !important; color: var(--large-red);
}
html:not(#_) body.lider-site .home-calc__total > strong { font-size: 44px !important; font-weight: 800 !important; }

/* ---------- Главная: убираем лишний текст ---------- */
html:not(#_) body .lider-home :is(.wg-section-heading > p, .lider-section-head > p, .home-section__head > p,
    .lif-heading > p, .wg-profile-intro > p, .lider-caption, .home-proof-faq-intro > p,
    .home-estimate__note, .lider-solution__caption p, .home-calc__glass-guide > p,
    .home-calc__hint:not(.home-calc__hint--box), .home-calc__installation-note) {
    display: none !important;
}
html:not(#_) body .lider-home .city-seo p + p { display: none; }
/* Блоки, где почти только текст: «Подбор по требованиям», «Что учесть при выборе»,
   «Как проверить окно после монтажа» */
html:not(#_) body .lider-home :is(#selection, .lider-editorial, #reviews) { display: none !important; }
html:not(#_) body .lider-home .wg-profile-intro { justify-content: center; }

/* Текст в карточках и шагах — крупно */
html:not(#_) body.lider-site :is(.lif-step__copy p, .home-proof-trust-grid article p, .lider-offers__grid article p,
    .lider-service-links p, .home-partner-lead, .home-proof-lead, .lead-capture__text, details p) {
    font-size: 19px !important;
}
html:not(#_) body.lider-site .lider-service-links a h3 { font-size: 28px !important; }

/* ---------- Подвал ---------- */
html:not(#_) body.lider-site :is(.lider-footer nav a, .lider-footer__social a) { font-size: 17px !important; }
html:not(#_) body.lider-site .lider-footer__call > a { font-size: 32px !important; font-weight: 800 !important; }

/* ---------- Планшет и телефон ---------- */
@media (max-width: 1440px) {
    html:not(#_) body.lider-site .site-header__nav a { font-size: 15px !important; letter-spacing: 0 !important; }
}
@media (max-width: 1200px) {
    html:not(#_) body.lider-site .lider-header__contact > a { font-size: 28px !important; }
    html:not(#_) body.lider-site .site-header__nav a { font-size: 15px !important; }
}
@media (max-width: 1000px) {
    :root, html[data-palette] { --type-h1: 44px; --type-h2: 36px; }
}
@media (max-width: 760px) {
    :root, html[data-palette] {
        --type-h1: 36px;
        --type-h2: 30px;
        --type-h3: 23px;
        --type-body: 18px;
        --type-intro: 19px;
    }
    body.lider-site { font-size: 18px; }
    html:not(#_) body.lider-site .lider-logo > span { font-size: 26px !important; }
    html:not(#_) body.lider-site .lider-header__contact > a { font-size: 26px !important; }
    html:not(#_) body.lider-site .lider-header__contact > span { font-size: 14px !important; }
    html:not(#_) body.lider-site .lider-menu-toggle b { font-size: 13px !important; }
    html:not(#_) body.lider-site :is(.btn, .contacts-submit, .lead-capture__submit, .home-calc__lead) { font-size: 19px !important; width: 100%; justify-content: center; }
    html:not(#_) body .lider-home .wg-hero__price > strong { font-size: 44px !important; }
    html:not(#_) body .lider-home .wg-hero__benefits li { font-size: 19px !important; }
    html:not(#_) body.lider-site .wg-trust-strip b { font-size: 22px !important; }
    html:not(#_) body.lider-site :is(.wg-product__price > strong, .home-product__price strong) { font-size: 36px !important; }
    html:not(#_) body.lider-site summary { font-size: 20px !important; }
    html:not(#_) body.lider-site .lider-footer__call > a { font-size: 28px !important; }
}

/* ---------- Доводка: мелкие подписи не меньше 16px, лишние метки скрыты ---------- */
html:not(#_) body.lider-site :is(.home-calc__quiet-button, .home-calc__add, .home-calc__export button,
    .home-calc__share, .home-calc__edit-head button, .home-calc__dimensions label > span,
    .wg-profile-intro a, .home-partner-contract-link, .lider-contact__email, .lider-footer nav > span,
    .lider-footer__call > span, .lider-contact__office span, .home-proof-faq-contact span,
    .wg-location-label, .lider-header__contact > span, label small, .lider-certificate-mark small,
    .lider-footer__call small, .wg-hero__price > small, .lead-capture__hours) {
    font-size: 16px !important;
}
html:not(#_) body.lider-site :is(.lead-capture__eyebrow, .wco-eyebrow, .lider-order-sheet > span,
    .lif-step__top > span:last-child, .lider-offers__grid article > span:first-child) {
    display: none !important;
}
html:not(#_) body.lider-site :is(.wg-section-heading, .lider-section-head, .home-section__head, .lif-heading) h2 {
    max-width: none !important;
    margin-left: auto !important; margin-right: auto !important;
}
html:not(#_) body.lider-site .wg-product > .btn {
    font-size: 18px !important;
    padding-left: 12px; padding-right: 12px;
    white-space: nowrap;
}
html:not(#_) body.lider-site :is(.wg-hero__price > strong, .wg-product__price > strong, .service-hero__price > strong) { white-space: nowrap; }
@media (max-width: 760px) {
    html:not(#_) body .lider-home .wg-hero__price { grid-template-columns: 1fr; }
}

/* ---------- Логотип РЕХАУ в шапке ---------- */
html:not(#_) body.lider-site .lider-header__rehau {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 0; margin-left: 6px;
    border-left: 1px solid #e3e3e3; padding-left: 18px;
    text-decoration: none; color: #4a4a4a; flex-shrink: 0;
}
html:not(#_) body.lider-site .lider-header__rehau img { width: 116px; height: auto; display: block; }
html:not(#_) body.lider-site .lider-header__rehau span { font-size: 13px !important; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 1280px) {
    html:not(#_) body.lider-site .lider-header__rehau span { display: none; }
    html:not(#_) body.lider-site .lider-header__rehau img { width: 96px; }
}
@media (max-width: 1440px) and (min-width: 761px) {
    html:not(#_) body.lider-site .lider-header__location { display: none; }
}
@media (max-width: 760px) {
    html:not(#_) body.lider-site .lider-header__rehau { grid-area: 2 / 1 / 3 / 3; justify-self: end; align-self: start; margin: 4px 0 0; border-left: 0; padding: 0; z-index: 1; }
    html:not(#_) body.lider-site .lider-header__rehau img { width: 70px; }
}

/* ---------- Информационные страницы ---------- */
html:not(#_) body.lider-site .lider-info-form { padding: 70px 0; background: #f6f3f3; }
html:not(#_) body.lider-site .lider-info-form__box { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; background: #fff; border-radius: 16px; padding: 44px; box-shadow: 0 8px 35px #3020200d; }
html:not(#_) body.lider-site .lider-info-form__copy a { color: var(--large-red); font-weight: 700; white-space: nowrap; }
html:not(#_) body.lider-site .lider-info-form .contacts-form { display: grid; gap: 16px; }
html:not(#_) body.lider-site .lider-info-form .contacts-form label { display: grid; gap: 6px; font-weight: 700; }
html:not(#_) body.lider-site .lider-info-form .contacts-form label.contacts-policy { display: flex; gap: 10px; font-weight: 400; }
html:not(#_) body.lider-site .lider-info-form :is(input:not([type=checkbox]), textarea) { width: 100%; box-sizing: border-box; border: 1px solid #ddd; border-radius: 8px; padding: 14px 16px; background: #fafafa; font: inherit; }
html:not(#_) body.lider-site .lider-info-price { font-family: var(--head-font) !important; font-size: 40px !important; font-weight: 800; color: var(--large-red); margin: 8px 0; }
@media (max-width: 860px) {
    html:not(#_) body.lider-site .lider-info-form__box { grid-template-columns: 1fr; padding: 26px 20px; gap: 24px; }
}
