/*
Theme Name: Bono Child — LM TEK
Theme URI: https://wpshop.ru/themes/bono
Template: bono
Author: LM TEK RU
Description: Дочерняя тема Bono для каталога LM TEK / EK-Pro в России и СНГ. Дизайн-система повторяет язык lmtek.com: тёмные обложки с фото, крупная типографика с акцентом, моноширинные кикеры, карточки семейств, компактные спек-панели.
Version: 3.1.0
Text Domain: bono-child
*/

/* =========================================================
   1. Токены — язык инженерной документации, не лендинга
   Нейтральные серые (не сине-серый slate), почти нулевой радиус,
   вместо теней — волосяные линии, один сигнальный цвет.
   ========================================================= */
:root {
    --lmtek-ink: #101014;
    --lmtek-ink-2: #3a3a42;
    --lmtek-muted: #71717a;
    --lmtek-line: #dededf;
    --lmtek-line-2: #b9b9bd;
    --lmtek-hair: #ececed;          /* самая тонкая линия — разлиновка таблиц и секций */
    --lmtek-tint: #f6f6f5;
    --lmtek-tint-2: #ededec;
    --lmtek-accent: #d94910;        /* сигнальный: CTA, активное состояние, маркер секции */
    --lmtek-accent-2: #d94910;
    --lmtek-accent-dark: #a83708;
    --lmtek-accent-soft: #fbeade;
    --lmtek-black: #0b0b0d;
    --lmtek-navy: #17171a;
    --lmtek-radius: 2px;
    --lmtek-radius-s: 2px;
    --lmtek-sans: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --lmtek-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    /* шкала: заголовки сдержанные, вес держит иерархию вместо кегля */
    --fs-h1: clamp(34px, 3.8vw, 52px);
    --fs-h2: clamp(24px, 2.6vw, 34px);
    --fs-h3: 20px;
    --fs-h4: 17px;
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-micro: 12px;
    --lh-tight: 1.08;
    --lh-body: 1.62;
    --lh-small: 1.5;
    --lmtek-gutter: clamp(20px, 4vw, 56px);
}

/* =========================================================
   2. Типографика (IBM Plex Sans + IBM Plex Mono)
   ========================================================= */
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Bono ставит .site { overflow: hidden } — это ломает position: sticky у шапки и суб-навигации; горизонтальный overflow уже закрыт на html */
.site { overflow: visible !important; }
body {
    font-family: var(--lmtek-sans) !important; font-size: var(--fs-body); line-height: var(--lh-body);
    color: var(--lmtek-ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "tnum" 0;
}
button, input, select, textarea, .site-title, .main-navigation { font-family: var(--lmtek-sans) !important; }
h1, h2, h3, h4, h5, .page-title, .shop-item__title, .related-products__header, .section-block__title {
    font-family: var(--lmtek-sans) !important; font-weight: 600; letter-spacing: -.021em; color: var(--lmtek-ink); line-height: 1.2;
}
h1 { line-height: var(--lh-tight); letter-spacing: -.03em; }
h3, h4 { letter-spacing: -.012em; line-height: 1.32; }
/* цифры в таблицах и спецификациях должны стоять в колонку */
.lmtek-num, .lmtek-stat__num, .lmtek-hero__facts strong, .lmtek-keyspecs dd, .lmtek-spotlight__specs dd,
.lmtek-table td, .lmtek-specs td, .shop-item__price, .woocommerce-product-attributes td {
    font-variant-numeric: tabular-nums;
}

/* кикер — подпись-метка над заголовком; в документе это номер раздела, а не декоративная плашка */
.lmtek-kicker {
    display: inline-block; font-family: var(--lmtek-mono); font-size: 11px; line-height: 1.5; letter-spacing: .08em;
    text-transform: uppercase; color: var(--lmtek-muted); margin: 0 0 14px; font-weight: 400;
}
.lmtek-kicker--pill { border: 0; border-radius: 0; padding: 0; background: none; }
.lmtek-kicker--light { color: #8a8a93; }
.lmtek-accent { color: inherit; }

/* =========================================================
   3. Интерактивные состояния (перебивают Bono: a:hover #f43c33, кнопки #3960ff)
   ========================================================= */
a { color: var(--lmtek-accent); text-underline-offset: 3px; transition: color .15s; }
a:hover, a:active, a:focus { color: var(--lmtek-accent-dark); }
.lmtek-section--dark a:hover, .lmtek-cta a:hover, .lmtek-hero a:hover { color: #fff; }

:where(a, button, [role="button"], input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--lmtek-accent); outline-offset: 3px; border-radius: 6px;
}
.shop-item:has(a:focus-visible) .shop-item-inner { box-shadow: 0 0 0 2px var(--lmtek-accent); }

/* кнопки: один синий на всём сайте, единая форма, hover/active */
.button, a.button, button.button, input[type="submit"], .lmtek-quote-btn, .lmtek-quote-form__submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--lmtek-accent) !important; color: #fff !important;
    border: 1.5px solid transparent !important; border-radius: var(--lmtek-radius-s) !important;
    font-family: var(--lmtek-sans) !important; font-weight: 600 !important; font-size: 14.5px; line-height: 1.2; letter-spacing: 0;
    padding: 11px 18px; text-decoration: none !important; cursor: pointer; box-shadow: none !important;
    transition: background-color .15s, border-color .15s, color .15s, transform .05s !important;
}
.button:hover, a.button:hover, button.button:hover, input[type="submit"]:hover, .lmtek-quote-btn:hover, .lmtek-quote-form__submit:hover,
.button.alt:hover, .lmtek-quote-btn--single:hover, .lmtek-quote-btn--loop:hover {
    background: var(--lmtek-accent-dark) !important; color: #fff !important;
}
.button:active, .lmtek-quote-btn:active { transform: translateY(1px); }
.button.alt, .lmtek-quote-btn.alt, .lmtek-quote-btn--single, .lmtek-quote-btn--loop,
.lmtek-hero__actions .button.alt, .lmtek-spotlight__actions .button.alt, .lmtek-cta .button.alt { background: var(--lmtek-accent) !important; }

/* контурные варианты — после базовых, чтобы выигрывать при равной специфичности */
.lmtek-btn--ghost, .lmtek-btn--light, .button.lmtek-btn--ghost, .button.lmtek-btn--light {
    background: transparent !important; border-color: currentColor !important; color: inherit !important;
}
.lmtek-btn--light, .button.lmtek-btn--light { color: #fff !important; border-color: rgba(255, 255, 255, .7) !important; }
.lmtek-btn--light:hover, .button.lmtek-btn--light:hover { background: rgba(255, 255, 255, .1) !important; border-color: #fff !important; color: #fff !important; }
.lmtek-btn--ghost, .button.lmtek-btn--ghost { color: var(--lmtek-ink) !important; border-color: var(--lmtek-line-2) !important; }
.lmtek-btn--ghost:hover, .button.lmtek-btn--ghost:hover { border-color: var(--lmtek-ink) !important; background: var(--lmtek-tint-2) !important; color: var(--lmtek-ink) !important; }

/* текстовые ссылки-стрелки */
.lmtek-family__link, .lmtek-section__more a, .lmtek-usecase__link, .lmtek-card--accent a {
    display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600;
}
.lmtek-family__link:hover, .lmtek-section__more a:hover, .lmtek-card--accent a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   4. Шапка: супер-хедер + одна липкая строка (лого · меню · поиск · КП)
   ========================================================= */
.super-header { background: var(--lmtek-black) !important; font-family: var(--lmtek-mono); font-size: 11.5px; letter-spacing: .04em; padding: 6px 0; }
.super-header__item a { color: inherit; }
.super-header__item a:hover { color: #fff; }
.super-header__item--2 { text-align: right; }

.site-header {
    position: sticky; top: 0; z-index: 900; margin-bottom: 0 !important; padding: 0 !important;
    background: rgba(255, 255, 255, .9) !important; -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--lmtek-line); box-shadow: none !important;
}
.site-header-inner { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; min-height: 72px; padding-top: 0 !important; padding-bottom: 0 !important; }
.site-header .site-branding { flex: 0 0 auto; }
.site-logotype img { max-height: 40px !important; width: auto; display: block; }
.site-header .header-html-2 { flex: 1 0 auto; min-width: 0; display: flex; justify-content: center; margin: 0 !important; padding: 0 !important; }
.site-header .header-search { flex: 1 1 160px; min-width: 110px; }
.site-header .header-html-1 { flex: 0 0 auto; margin: 0 !important; padding: 0 !important; text-align: right; }
.header-compare, .header-cart__link, .site-header + .main-navigation { margin-top: 0; }
.header-compare { display: none !important; }
.site-content { padding-top: 28px; }
.home .site-content, .home .content-area, .home .site-main { padding-top: 0; }

.lmtek-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.lmtek-nav__list > li { position: relative; flex: 0 0 auto; }
/* Bono заменяет ссылку на текущую страницу на <span class="removed-link"> — стилизуем оба варианта */
.lmtek-nav__list > li > a, .lmtek-nav__list > li > .removed-link {
    display: inline-flex; align-items: center; padding: 9px 8px; border-radius: 8px;
    font-weight: 600; font-size: 13.5px; line-height: 1.2; white-space: nowrap; color: var(--lmtek-ink); text-decoration: none;
    transition: background .15s, color .15s;
}
.lmtek-nav__list > li > a:hover { background: var(--lmtek-tint-2); color: var(--lmtek-accent-dark); }
.lmtek-nav__list > li.current-menu-item > a, .lmtek-nav__list > li.current-menu-ancestor > a, .lmtek-nav__list > li.current-menu-parent > a,
.lmtek-nav__list > li.current_page_item > a, .lmtek-nav__list > li.current-product_cat-ancestor > a, .lmtek-nav__list > li > .removed-link {
    color: var(--lmtek-accent); background: var(--lmtek-accent-soft);
}
.lmtek-nav__list > li.menu-item-has-children > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6;
}
.lmtek-nav__list .sub-menu {
    position: absolute; top: calc(100% + 8px); left: -6px; min-width: 292px; padding: 8px; margin: 0; list-style: none;
    background: #fff; border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius); box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 950;
}
.lmtek-nav__list .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.lmtek-nav__list > li:hover > .sub-menu, .lmtek-nav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lmtek-nav__list .sub-menu li { position: static; }
.lmtek-nav__list .sub-menu a, .lmtek-nav__list .sub-menu .removed-link { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--lmtek-ink); text-decoration: none; white-space: nowrap; }
.lmtek-nav__list .sub-menu a:hover { background: var(--lmtek-tint-2); color: var(--lmtek-accent-dark); }
.lmtek-nav__list .sub-menu > li.current-menu-item > a, .lmtek-nav__list .sub-menu .removed-link { color: var(--lmtek-accent); background: var(--lmtek-accent-soft); }
.lmtek-nav__list .sub-menu > li:first-child > a { font-weight: 700; margin-bottom: 6px; padding-bottom: 11px; border-bottom: 1px solid var(--lmtek-line); border-radius: 8px 8px 0 0; }

.header-search .search-form .search-field {
    height: 40px; padding-left: 14px; padding-right: 36px; border-radius: var(--lmtek-radius-s); border: 1px solid var(--lmtek-line); background: var(--lmtek-tint);
    font-size: 14px; box-shadow: none; transition: border-color .15s, background .15s, box-shadow .15s;
}
.header-search .search-form .search-field:focus { background: #fff; border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); outline: 0; }
.header-html-1 .lmtek-quote-btn { white-space: nowrap; padding: 10px 16px; font-size: 14px; }

/* ≥1400: всё в одну строку. 1200–1399: компактное меню, поиск — иконка, раскрывается по фокусу.
   992–1199: семь пунктов в строку не помещаются (контейнер 870px) — меню возвращается во вторую строку Bono. */
@media (min-width: 1200px) { .main-navigation { display: none !important; } }
@media (max-width: 1399px) { .super-header__item--1 { display: none; } .super-header__item--2 { text-align: left; } }
@media (min-width: 1200px) and (max-width: 1399px) {
    .site-header-inner { gap: 12px; }
    .lmtek-nav__list > li > a, .lmtek-nav__list > li > .removed-link { padding: 9px 6px; font-size: 13px; }
    .site-logotype img { max-height: 36px !important; }
    .site-header .header-search { flex: 0 0 auto; min-width: 0; }
    .site-header .header-search .search-form .search-field { width: 40px; padding: 0; color: transparent; transition: width .2s, padding .2s; }
    .site-header .header-search .search-form .search-field::placeholder { color: transparent; }
    .site-header .header-search:focus-within .search-form .search-field { width: 220px; padding-left: 14px; color: var(--lmtek-ink); }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .site-header .header-html-2 { display: none !important; }
    .site-header .header-search { flex: 1 1 280px; max-width: 360px; margin-left: auto; }
    .main-navigation { display: block !important; background: #fff; border-bottom: 1px solid var(--lmtek-line); }
    .main-navigation ul.menu > li > a { font-size: 14px; font-weight: 600; color: var(--lmtek-ink); }
    .main-navigation ul.menu > li > a:hover, .main-navigation ul.menu > li.current-menu-item > a, .main-navigation ul.menu > li.current-menu-ancestor > a { color: var(--lmtek-accent); }
}
@media (max-width: 991px) {
    /* плашку оставляем ради бесплатного телефона — с мобильного звонят чаще всего */
    .super-header { padding: 7px 0; font-size: 11px; letter-spacing: .02em; }
    .super-header__item--2 { text-align: center; }
    .site-header .header-html-2 { display: none !important; }
    .site-header-inner { min-height: 60px; gap: 12px; }
    .site-header .header-search { flex: 1 1 auto; min-width: 0; }
    .site-logotype img { max-height: 34px !important; }
    .header-html-1 .lmtek-quote-btn { padding: 9px 14px; font-size: 13.5px; }
}

/* =========================================================
   5. Подвал
   ========================================================= */
.site-footer { background: var(--lmtek-black) !important; color: #94a3b8; padding: 64px 0 28px; }
.site-footer .widget-header, .footer-widget .widget-header {
    color: #fff; font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px;
}
.footer-widget p { font-size: var(--fs-small); color: #94a3b8; line-height: 1.65; }
.footer-widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widget li { margin: 0 0 10px; font-size: var(--fs-small); }
.footer-widget a, .footer-bottom a { color: #cbd5e1; text-decoration: none; }
.footer-widget a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-widget .lmtek-quote-btn { color: #fff !important; text-decoration: none !important; margin-top: 8px; }
.footer-logo { display: block; height: 28px; width: auto; margin-bottom: 16px; opacity: .9; }
.footer-bottom {
    margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12.5px; color: #64748b; font-family: var(--lmtek-mono); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
}
.footer-bottom a { margin-left: auto; }

/* =========================================================
   6. Полноэкранные секции (выход за контейнер Bono)
   ========================================================= */
.lmtek-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.lmtek-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* =========================================================
   7. Главная: обложка
   ========================================================= */
.home .breadcrumb, .home .breadcrumbs, .home .page-title, .home .entry-header { display: none !important; }
.lmtek-hero {
    position: relative; color: #fff; background: var(--lmtek-black);
    min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; margin-bottom: 0;
}
.lmtek-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; opacity: .95; }
.lmtek-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 12, .25) 0%, rgba(5, 7, 12, .55) 45%, rgba(5, 7, 12, .92) 100%),
                linear-gradient(90deg, rgba(5, 7, 12, .75) 0%, rgba(5, 7, 12, 0) 60%);
}
.lmtek-hero__inner { position: relative; padding: 150px 32px 56px; width: 100%; }
.lmtek-hero__title { color: #fff; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 28px; max-width: 16ch; font-weight: 800; }
.lmtek-hero__title .lmtek-accent { display: block; color: #22d3ee; }
.lmtek-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lmtek-hero__lead { font-size: 17px; line-height: 1.6; color: #cbd5e1; max-width: 560px; margin: 0; }
.lmtek-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lmtek-hero__actions .button { padding: 14px 24px; font-size: 15px; }
.lmtek-hero__facts { list-style: none; padding: 28px 0 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.lmtek-hero__facts li { display: flex; flex-direction: column; gap: 4px; }
.lmtek-hero__facts strong { color: #fff; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.02em; }
.lmtek-hero__facts span { font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; }

/* =========================================================
   8. Секции
   ========================================================= */
.lmtek-section { padding: 88px 0; }
.lmtek-section--tint { background: var(--lmtek-tint); border-top: 1px solid var(--lmtek-line); border-bottom: 1px solid var(--lmtek-line); }
.lmtek-section--tint + .lmtek-section--tint { border-top: 0; }
.lmtek-section--dark { background: linear-gradient(180deg, var(--lmtek-navy) 0%, var(--lmtek-black) 100%); color: #cbd5e1; }
.lmtek-section--dark h2, .lmtek-section--dark h3 { color: #fff; }
.lmtek-section--line { border-top: 1px solid var(--lmtek-line); }
.lmtek-section__head { max-width: 760px; margin-bottom: 40px; }
.lmtek-section__head h2, .lmtek-h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); letter-spacing: -.02em; margin: 0 0 14px; }
.lmtek-section__head p { color: var(--lmtek-muted); margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); }
.lmtek-section--dark .lmtek-section__head p { color: #94a3b8; }
.lmtek-section__more { margin: 28px 0 0; font-weight: 600; }

/* статистика (моно-подписи как на странице Components); стоит под вводным текстом секции */
.lmtek-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0 0; margin: 0 0 44px; border-top: 1px solid var(--lmtek-line-2); }
.lmtek-stat { display: flex; flex-direction: column; gap: 6px; }
.lmtek-stat__num { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--lmtek-ink); }
.lmtek-stat__label { font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lmtek-muted); }

/* подбор по задаче — карточки с фото-фоном */
.lmtek-usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lmtek-usecase { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 22px; border-radius: var(--lmtek-radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--lmtek-black); isolation: isolate; }
.lmtek-usecase__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; z-index: -1; }
.lmtek-usecase__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 12, .12) 0%, rgba(5, 7, 12, .55) 45%, rgba(5, 7, 12, .94) 100%); }
.lmtek-usecase:hover .lmtek-usecase__bg { transform: scale(1.04); }
.lmtek-usecase .lmtek-kicker { color: #cbd5e1; margin-bottom: 8px; }
.lmtek-usecase h3 { color: #fff; font-size: var(--fs-h4); margin: 0 0 6px; }
.lmtek-usecase h3, .lmtek-usecase__text, .lmtek-usecase .lmtek-kicker { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.lmtek-usecase__text { font-size: var(--fs-small); color: #cbd5e1; line-height: var(--lh-small); }
.lmtek-usecase__link { margin-top: 12px; font-size: 13px; color: #67e8f9; }
.lmtek-usecase:hover .lmtek-usecase__link { text-decoration: underline; text-underline-offset: 4px; }

/* семейства каталога — большие карточки с фото и чипами */
.lmtek-families { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lmtek-family { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius); padding: 22px 22px 20px; transition: border-color .15s, box-shadow .15s; }
.lmtek-family:hover { border-color: var(--lmtek-line-2); box-shadow: 0 12px 32px rgba(15, 23, 42, .07); }
.lmtek-family__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.lmtek-family__count { font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .06em; color: var(--lmtek-accent-dark); background: var(--lmtek-accent-soft); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.lmtek-family__name { font-size: var(--fs-h3); margin: 0 0 12px; }
.lmtek-family__name a { color: inherit; text-decoration: none; }
.lmtek-family__img { display: flex; align-items: center; justify-content: center; height: 190px; margin: 0 0 14px; border-radius: var(--lmtek-radius-s); background: linear-gradient(180deg, #fff, var(--lmtek-tint)); overflow: hidden; }
.lmtek-family__img img { max-height: 170px; width: auto; max-width: 90%; object-fit: contain; mix-blend-mode: multiply; }
.lmtek-family__text { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--lmtek-ink-2); margin: 0 0 14px; flex: 1; }
.lmtek-family__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.lmtek-family__chips span { font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .02em; padding: 5px 8px; border: 1px solid var(--lmtek-line); border-radius: 6px; color: var(--lmtek-ink-2); background: var(--lmtek-tint); }
.lmtek-family__link { font-size: var(--fs-small); }

/* компактные плитки категорий (если нужны в тексте) */
.lmtek-cats { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.lmtek-cat { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius-s); background: #fff; color: var(--lmtek-ink); text-decoration: none; }
.lmtek-cat:hover { border-color: var(--lmtek-accent); color: var(--lmtek-ink); }
.lmtek-cat__img { flex: 0 0 72px; width: 72px; height: 54px; border-radius: 6px; background: var(--lmtek-tint); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lmtek-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.lmtek-cat__body { display: flex; flex-direction: column; gap: 2px; }
.lmtek-cat__name { font-weight: 600; line-height: 1.25; font-size: var(--fs-small); }
.lmtek-cat__count { font-family: var(--lmtek-mono); font-size: 11px; color: var(--lmtek-muted); }

/* флагман — тёмная секция с фото сервера */
.lmtek-spotlight { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.lmtek-spotlight__media img { width: 100%; height: auto; border-radius: var(--lmtek-radius); display: block; background: var(--lmtek-navy); box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 60px rgba(0, 0, 0, .55); }
.lmtek-spotlight__title { font-size: var(--fs-h2); line-height: var(--lh-tight); margin: 0 0 14px; }
.lmtek-spotlight__lead { color: #cbd5e1; margin: 0 0 24px; line-height: var(--lh-body); font-size: var(--fs-body); }
.lmtek-spotlight__specs { margin: 0 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.lmtek-spotlight__specs div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lmtek-spotlight__specs dt { font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #94a3b8; align-self: center; }
.lmtek-spotlight__specs dd { margin: 0; font-size: var(--fs-small); color: #fff; }
.lmtek-spotlight__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* шаги и карточки */
.lmtek-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--lmtek-line); }
.lmtek-steps li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--lmtek-line); }
.lmtek-steps li + li { border-left: 1px solid var(--lmtek-line); padding-left: 24px; }
.lmtek-steps__num { display: block; font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .14em; color: var(--lmtek-accent-2); margin-bottom: 14px; }
.lmtek-steps h3 { font-size: var(--fs-h4); margin: 0 0 8px; }
.lmtek-steps p { margin: 0; font-size: var(--fs-small); color: var(--lmtek-ink-2); line-height: var(--lh-small); }
.lmtek-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lmtek-card { background: #fff; border-radius: var(--lmtek-radius); padding: 24px; border: 1px solid var(--lmtek-line); }
.lmtek-card h3 { font-size: var(--fs-h4); margin: 0 0 8px; }
.lmtek-card p { margin: 0; font-size: var(--fs-small); color: var(--lmtek-ink-2); line-height: var(--lh-small); }
.lmtek-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; color: var(--lmtek-ink-2); font-size: var(--fs-body); }

/* доверие / инженерные константы (как "What doesn't change across the catalogue") */
.lmtek-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lmtek-trust div { background: #fff; border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.lmtek-trust .lmtek-kicker { margin-bottom: 4px; }
.lmtek-trust strong { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.lmtek-trust span { font-size: var(--fs-small); color: var(--lmtek-muted); line-height: var(--lh-small); }

/* CTA */
.lmtek-cta { background: var(--lmtek-black); color: #fff; padding: 72px 0; }
.lmtek-cta__inner { padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lmtek-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; letter-spacing: -.02em; }
.lmtek-cta p { color: #94a3b8; max-width: 560px; margin: 0; }
.lmtek-cta .button.alt { padding: 14px 24px; font-size: 15px; }

/* =========================================================
   9. Каталог: карточки, шапка архива, фильтры
   ========================================================= */
.shop-grid { margin-left: -10px; margin-right: -10px; }
.shop-item { border: 0; padding: 0 10px; margin-bottom: 20px; background: transparent; box-shadow: none; }
.shop-item--type-standard .shop-item-inner {
    border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius); padding: 16px; background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.shop-item:hover .shop-item-inner { border-color: var(--lmtek-line-2); box-shadow: 0 12px 32px rgba(15, 23, 42, .07); }
.shop-item__image { margin-bottom: 0; }
.shop-item__image-inner {
    aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
    background: var(--lmtek-tint); border-radius: var(--lmtek-radius-s); margin-bottom: 14px;
}
.shop-item__image-inner img { max-height: 100%; height: auto; width: auto; max-width: 92%; object-fit: contain; mix-blend-mode: multiply; }
.shop-item__icons { display: none !important; }
/* кнопки КП в карточке: на десктопе — оверлей по hover (Bono), но их две и translate(100px) не убирает блок за край — прячем через opacity */
body:not(.is-mobile) .shop-item--type-standard .shop-item__buttons { left: 12px; right: 12px; bottom: 12px; opacity: 0; transition: opacity .2s, transform .3s; }
body:not(.is-mobile) .shop-item--type-standard.process .shop-item__buttons { opacity: 1; }
.shop-item__buttons .button { margin: 0 !important; }
.shop-item__buttons .button + .button { margin-top: 6px !important; }
.shop-item__badges:empty { display: none; }
.shop-item__title { min-height: 2.6em; margin-bottom: 6px; }
.shop-item__title a { font-size: 15px; line-height: 1.3; color: var(--lmtek-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shop-item__title a:hover { color: var(--lmtek-accent-dark); }
.shop-item__price { margin: 0 0 8px; }
.shop-item .lmtek-quote-btn--loop { width: 100%; }
.shop-item__price .lmtek-price-request, .lmtek-price-request { font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--lmtek-muted); }
.lmtek-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.shop-item .lmtek-chips { justify-content: flex-start; }
.lmtek-chip { display: inline-block; font-family: var(--lmtek-mono); font-size: 11px; line-height: 1; padding: 6px 7px; border-radius: 6px; background: var(--lmtek-tint); color: var(--lmtek-ink-2); border: 1px solid var(--lmtek-line); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.lmtek-chip--accent { background: var(--lmtek-accent-soft); border-color: #bfdbfe; color: var(--lmtek-accent-dark); }

/* крошки — везде одинаково: блочный поток (flex Bono ломает длинные пункты в колонки), слева, читаемый контраст */
body .woocommerce-breadcrumb, body .breadcrumb { display: block !important; text-align: left !important; font-size: 13px; line-height: 1.7; color: var(--lmtek-muted); opacity: 1; margin: 0 0 18px; }
.woocommerce-breadcrumb .wci-chevron-right, .breadcrumb .wci-chevron-right { font-size: 11px; }
.woocommerce-breadcrumb a, .breadcrumb a, .woocommerce-breadcrumb span, .breadcrumb span { color: var(--lmtek-muted); }
.woocommerce-breadcrumb a:hover, .breadcrumb a:hover { color: var(--lmtek-ink); }

/* шапка архива: крошки → кикер → h1 → лид → счётчик */
.lmtek-archive-kicker { margin: 0 0 12px; }
.woocommerce-products-header .page-title, .archive .page-title { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.02em; margin: 0 0 10px; }
.lmtek-archive-lead { max-width: 720px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--lmtek-muted); margin: 0 0 28px; }
.shop-sorting { margin: 0 0 24px; }
.shop-sorting .woocommerce-result-count, .woocommerce-result-count { font-family: var(--lmtek-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--lmtek-muted); margin: 0; }
.term-description { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--lmtek-line); max-width: 860px; }
@media (min-width: 992px) { body.tax-product_cat:not(.sidebar-none) .shop-grid--columns-4 { --lmtek-cols: 3; } }

/* виджеты сайдбара: реальный класс Bono — .widget-header */
.widget-area .widget-header {
    font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--lmtek-muted); margin-bottom: 14px;
}
.widget-area .widget { margin-bottom: 36px; }
.widget-area .widget_product_categories > ul { border: 0; padding: 0; }
.widget-area .widget_product_categories li { padding: 5px 0; font-size: var(--fs-small); }
.widget-area .widget_product_categories li a { color: var(--lmtek-ink); text-decoration: none; }
.widget-area .widget_product_categories li a:hover { color: var(--lmtek-accent); }
.widget-area .widget_product_categories li.current-cat > a { color: var(--lmtek-accent); font-weight: 600; }
.widget-area .widget_product_categories .children { margin: 6px 0 0 14px; font-size: var(--fs-small); }
.widget-area .widget_product_categories .count,
.widget-area .woocommerce-widget-layered-nav .count { font-family: var(--lmtek-mono); font-size: 11px; color: var(--lmtek-muted); vertical-align: baseline; margin-left: 4px; }
.widget-area .woocommerce-widget-layered-nav-list { max-height: 300px; overflow: auto; padding-right: 6px; }
.widget-area .woocommerce-widget-layered-nav-list__item { padding: 4px 0; font-size: var(--fs-small); }
.widget-area .woocommerce-widget-layered-nav-list__item a { color: var(--lmtek-ink-2); }
.widget-area .woocommerce-widget-layered-nav-list__item a:hover { color: var(--lmtek-ink); }
.widget-area .woocommerce-widget-layered-nav-list__item--chosen a { color: var(--lmtek-ink); font-weight: 600; }

/* =========================================================
   10. Товар
   ========================================================= */
.product-images { background: var(--lmtek-tint); border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius); padding: 16px; align-self: flex-start; }
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery__image img { border-radius: var(--lmtek-radius-s); background: transparent; mix-blend-mode: multiply; }
.woocommerce-product-gallery .flex-control-thumbs li img { object-fit: contain; background: #fff; border: 1px solid var(--lmtek-line); border-radius: 8px; padding: 4px; opacity: .7; }
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active, .woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--lmtek-accent); }

.single-product .product-info h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.1; margin: 6px 0 10px; }
.single-product .product-info .price { font-size: 12px; margin: 0 0 16px; }
.single-product .lmtek-price-request { font-size: 12px; color: var(--lmtek-accent-2); }
.woocommerce-product-details__short-description { margin: 0 0 20px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--lmtek-ink-2); }
.lmtek-quote-single { margin: 18px 0 8px; }
.lmtek-quote-btn--single { width: 100%; padding: 15px 20px; font-size: 15.5px; }
.lmtek-quote-hint { font-size: 13px; color: var(--lmtek-muted); margin: 8px 0 0; }
.lmtek-keyspecs { margin: 18px 0 8px; padding: 0; background: transparent; border-top: 1px solid var(--lmtek-line); border-radius: 0; display: block; }
.lmtek-keyspecs div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--lmtek-line); }
.lmtek-keyspecs dt { font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lmtek-muted); align-self: center; }
.lmtek-keyspecs dd { margin: 0; font-size: var(--fs-small); font-weight: 500; color: var(--lmtek-ink); }
.product-info .product_meta { font-family: var(--lmtek-mono); font-size: var(--fs-micro); color: var(--lmtek-muted); margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.product_meta > span { display: inline; margin: 0; }
.single-product .product-features-btn-container { display: none; }

/* вкладки: по левой оси, панель во всю ширину контента */
.woocommerce-tabs .wc-tabs { text-align: left; box-shadow: inset 0 -1px 0 0 var(--lmtek-line); }
.woocommerce-tabs .wc-tabs li { margin: 0 28px 0 0; font-size: 15px; }
.woocommerce-tabs .wc-tabs li a { display: block; padding: 12px 0; color: var(--lmtek-muted); font-weight: 600; }
.woocommerce-tabs .wc-tabs li a:hover { color: var(--lmtek-ink); }
.woocommerce-tabs .wc-tabs li.active a { color: var(--lmtek-ink); box-shadow: inset 0 -2px 0 0 var(--lmtek-accent); }
.woocommerce-tabs .woocommerce-Tabs-panel { max-width: 860px; margin: 0; padding: 40px 0 8px; }
.woocommerce-Tabs-panel h2 { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.01em; margin: 32px 0 12px; }
.woocommerce-Tabs-panel > h2:first-child { margin-top: 0; }
.woocommerce-Tabs-panel p, .woocommerce-Tabs-panel li { font-size: var(--fs-body); line-height: 1.65; color: var(--lmtek-ink-2); }
.woocommerce-product-attributes { width: 100%; border-top: 1px solid var(--lmtek-line); table-layout: fixed; }
.woocommerce-product-attributes th { width: 34%; font-family: var(--lmtek-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--lmtek-muted); font-weight: 500; }
.woocommerce-product-attributes td, .woocommerce-product-attributes th { padding: 12px 8px; border-bottom: 1px solid var(--lmtek-line); text-align: left !important; }
.woocommerce-product-attributes td { font-size: var(--fs-small); font-weight: 500; color: var(--lmtek-ink); }
.woocommerce-product-attributes td p { margin: 0; font-size: inherit; color: inherit; }
.lmtek-docs { list-style: none; padding: 0; margin: 0 0 16px; }
.lmtek-docs li { padding: 12px 0; border-bottom: 1px solid var(--lmtek-line); }
.lmtek-docs li a::before { content: "PDF"; display: inline-block; font-family: var(--lmtek-mono); font-size: 10px; letter-spacing: .08em; padding: 3px 6px; margin-right: 10px; border-radius: 4px; background: #fee2e2; color: #b91c1c; }
.lmtek-docs__size, .lmtek-docs__note { color: var(--lmtek-muted); font-size: .9em; }
.related-products__header, .up-sells > h2 { font-size: var(--fs-h3); margin: 0 0 24px; }

/* =========================================================
   11. Форма запроса КП (модалка и страница контактов)
   ========================================================= */
.lmtek-quote-form label { font-size: 13px; font-weight: 600; color: var(--lmtek-ink-2); margin-bottom: 16px; }
.lmtek-quote-form input:not([type="checkbox"]), .lmtek-quote-form select, .lmtek-quote-form textarea {
    margin-top: 6px; height: 44px; padding: 0 14px; border: 1px solid var(--lmtek-line-2); border-radius: 8px;
    font-size: 15px; font-weight: 400; color: var(--lmtek-ink); background: #fff; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.lmtek-quote-form textarea { height: auto; min-height: 120px; padding: 12px 14px; }
.lmtek-quote-form input:focus, .lmtek-quote-form select:focus, .lmtek-quote-form textarea:focus {
    border-color: var(--lmtek-accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); outline: 0;
}
.lmtek-quote-form__row { gap: 0 20px; }
.lmtek-quote-form label.lmtek-quote-form__consent, .lmtek-quote-form__consent { display: block; position: relative; padding-left: 26px; font-size: 13px; line-height: 1.5; font-weight: 400; color: var(--lmtek-muted); margin: 4px 0 18px; }
.lmtek-quote-form__consent input { position: absolute; left: 0; top: 2px; margin: 0; }
.lmtek-quote-form fieldset { border: 1px solid var(--lmtek-line); border-radius: 8px; padding: 10px 14px 12px; margin: 0 0 16px; }
.lmtek-quote-form legend { font-size: 13px; font-weight: 600; color: var(--lmtek-ink-2); padding: 0 6px; }
.lmtek-quote-form fieldset label { display: inline-flex; align-items: center; gap: 6px; margin: 4px 16px 0 0; font-weight: 500; }
.lmtek-quote-form input[type="file"] { height: auto; padding: 9px 12px; font-size: 13px; }
.lmtek-quote-form__submit { padding: 14px 28px; font-size: 15px; }
.lmtek-quote-form__title { font-size: var(--fs-h3); margin: 0 0 18px; }
.lmtek-modal__dialog { border-radius: var(--lmtek-radius); padding: 32px; }

/* =========================================================
   12. Посадочные страницы (AI-серверы) — структура страницы lmtek.com/ai-hpc-servers
   ========================================================= */
body.page.lmtek-raw .site-main, body.page.lmtek-raw .content-area { max-width: none; }
body.page.lmtek-raw .site-content.fixed { max-width: 1300px; } /* Bono ограничивает страницы 960px; посадочным нужна ширина каталога */
body.page.lmtek-raw .page-title, body.page.lmtek-raw .entry-header { display: none; }
body.page.lmtek-raw .breadcrumb { margin-bottom: 20px; }
.lmtek-raw .lmtek-landing-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 8px 0 40px; }
.lmtek-landing-hero__title { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 800; }
.lmtek-landing-hero__lead { font-size: 17px; line-height: var(--lh-body); color: var(--lmtek-ink-2); margin: 0 0 20px; }
.lmtek-landing-hero__media img { width: 100%; height: auto; border-radius: var(--lmtek-radius); display: block; background: var(--lmtek-black); }
.lmtek-callout { border-left: 3px solid var(--lmtek-accent); background: var(--lmtek-tint); padding: 14px 18px; border-radius: 0 10px 10px 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--lmtek-ink-2); margin: 0 0 24px; }
.lmtek-callout--row { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; border-radius: 10px; border-left: 0; padding: 22px 24px; }
.lmtek-callout--row div { display: flex; flex-direction: column; gap: 4px; }
.lmtek-callout--row strong { font-size: var(--fs-body); color: var(--lmtek-ink); }
.lmtek-stats--landing { margin: 8px 0 8px; padding-bottom: 28px; border-bottom: 1px solid var(--lmtek-line); border-top-color: var(--lmtek-line); }
.lmtek-landing-section { padding: 64px 0; border-top: 1px solid var(--lmtek-line); }
.lmtek-landing-section:first-child { border-top: 0; }
.lmtek-landing-section > h2, .lmtek-two-col h2 { font-size: clamp(26px, 3vw, 38px); line-height: var(--lh-tight); letter-spacing: -.02em; margin: 0 0 20px; max-width: 18ch; }
.lmtek-two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.lmtek-prose { font-size: var(--fs-body); line-height: 1.65; color: var(--lmtek-ink-2); }
.lmtek-prose p { margin: 0 0 14px; }
.lmtek-approach { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; margin-top: 8px; }
.lmtek-approach__media img { width: 100%; height: auto; border-radius: var(--lmtek-radius); display: block; background: var(--lmtek-black); }
.lmtek-approach__list { list-style: none; padding: 0; margin: 0; }
.lmtek-approach__list li { padding: 18px 0; border-bottom: 1px solid var(--lmtek-line); }
.lmtek-approach__list li:first-child { padding-top: 0; }
.lmtek-approach__list h3 { font-size: var(--fs-h4); margin: 0 0 6px; }
.lmtek-approach__list p { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--lmtek-ink-2); }
.lmtek-quote-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--lmtek-line); }
.lmtek-cards--2 { grid-template-columns: repeat(2, 1fr); }
.lmtek-cards--2 .lmtek-card { padding: 28px; }
.lmtek-cards--2 .lmtek-card .button { margin-top: 16px; }
.lmtek-card--accent { background: var(--lmtek-tint); }
.lmtek-table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius-s); }
.lmtek-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.lmtek-table th { text-align: left; font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lmtek-muted); background: var(--lmtek-tint); padding: 12px 16px; border-bottom: 1px solid var(--lmtek-line); }
.lmtek-table td { padding: 14px 16px; border-bottom: 1px solid var(--lmtek-line); vertical-align: top; }
.lmtek-table tr:last-child td { border-bottom: 0; }
.lmtek-table td:first-child { font-weight: 600; white-space: nowrap; }
.lmtek-table td:nth-child(2) { font-family: var(--lmtek-mono); font-size: 12.5px; }
.lmtek-note { font-size: 12.5px; color: var(--lmtek-muted); margin: 10px 0 0; }
.lmtek-landing-section .lmtek-spotlight { margin-top: 32px; padding: 32px; background: linear-gradient(180deg, var(--lmtek-navy) 0%, var(--lmtek-black) 100%); border-radius: var(--lmtek-radius); color: #cbd5e1; }
.lmtek-landing-section .lmtek-spotlight h2 { color: #fff; }
.lmtek-section--boxed { border-top: 0; border-bottom: 0; padding: 40px; border-radius: var(--lmtek-radius); margin: 24px 0; }
.lmtek-section--boxed .lmtek-wrap { padding: 0; }
@media (max-width: 1024px) {
    .lmtek-raw .lmtek-landing-hero, .lmtek-two-col, .lmtek-approach { grid-template-columns: 1fr; gap: 28px; }
    .lmtek-section--boxed { padding: 24px 18px; }
    .lmtek-cards--2 { grid-template-columns: 1fr; }
    .lmtek-callout--row, .lmtek-quote-line { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   13. Текстовые страницы
   ========================================================= */
.page:not(.home) .breadcrumb, .page:not(.home) .page-title { text-align: left; }
.page:not(.home) .site-main { max-width: 900px; }
.page:not(.home) .page-title { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.02em; margin: 0 0 24px; }
.page .entry-content > h2:first-child { margin-top: 0; }
.page .entry-content h2 { font-size: 26px; margin: 44px 0 14px; }
.page .entry-content h3 { font-size: 20px; margin: 28px 0 10px; }
.page:not(.lmtek-raw) .entry-content > p, .page:not(.lmtek-raw) .entry-content > ul, .page:not(.lmtek-raw) .entry-content > ol { max-width: 720px; }
.page .entry-content p, .page .entry-content li { font-size: var(--fs-body); line-height: 1.65; color: var(--lmtek-ink-2); }
.page .entry-content ul:not([class]) li::before { background: var(--lmtek-accent); border-color: var(--lmtek-accent); }

/* =========================================================
   14. Адаптив
   ========================================================= */
@media (max-width: 1100px) {
    .lmtek-usecases, .lmtek-trust, .lmtek-stats, .lmtek-steps, .lmtek-cards { grid-template-columns: repeat(2, 1fr); }
    .lmtek-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
    .lmtek-spotlight { grid-template-columns: 1fr; gap: 28px; }
    .lmtek-hero__facts { grid-template-columns: repeat(2, 1fr); }
}
/* на тач-устройствах hover нет: фото блоком (миниатюры WooCommerce уже 3:2), кнопки — в ряд под фото */
body.is-mobile .shop-item__image-inner { display: block; aspect-ratio: auto; background: transparent; }
body.is-mobile .shop-item__image-inner img { display: block; width: 100%; max-width: 100%; max-height: none; border-radius: var(--lmtek-radius-s); background: var(--lmtek-tint); }
body.is-mobile .shop-item__buttons { position: static; transform: none; margin: 10px 0 0; }
body.is-mobile .shop-item__buttons .lmtek-quote-actions--loop { display: flex; flex-direction: row; align-items: stretch; gap: 8px; }
body.is-mobile .shop-item__buttons .button { flex: 1 1 0; padding: 10px 8px; font-size: 13px; white-space: nowrap; }
body.is-mobile .shop-item__buttons .button + .button { margin-top: 0 !important; }
@media (max-width: 991px) {
    .shop-item__image-inner { display: block; aspect-ratio: auto; background: transparent; }
    .shop-item__image-inner img { display: block; width: 100%; max-width: 100%; max-height: none; border-radius: var(--lmtek-radius-s); background: var(--lmtek-tint); }
    body:not(.is-mobile) .shop-item--type-standard .shop-item__buttons, .shop-item__buttons { position: static; transform: none; opacity: 1; margin: 10px 0 0; }
    .shop-item__buttons .lmtek-quote-actions--loop { display: flex; flex-direction: row; align-items: stretch; gap: 8px; }
    .shop-item__buttons .button { flex: 1 1 0; padding: 10px 8px; font-size: 13px; white-space: nowrap; }
    .shop-item__buttons .button + .button { margin-top: 0 !important; }
    .woocommerce-tabs .wc-tabs { display: flex; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .woocommerce-tabs .wc-tabs li { flex: 0 0 auto; margin-right: 20px; }
    .product-images { padding: 12px; }
    .site-footer-container { display: flex; flex-wrap: wrap; }
    .site-footer-container--equal-width .footer-widget { flex: 1 1 calc(50% - 40px); min-width: 220px; margin-bottom: 28px; }
}
@media (min-width: 576px) and (max-width: 991px) { .shop-grid--columns-4 .shop-item { width: 50%; } }
@media (max-width: 720px) {
    .lmtek-wrap { padding: 0 20px; }
    .lmtek-section { padding: 52px 0; }
    .lmtek-section__head { margin-bottom: 28px; }
    .lmtek-hero { min-height: 520px; }
    .lmtek-hero__inner { padding: 110px 20px 36px; }
    .lmtek-hero__lead { font-size: 15px; }
    .lmtek-hero__actions .button { flex: 1 1 auto; }
    .lmtek-hero__facts { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
    .lmtek-hero__facts strong { font-size: 19px; }
    .lmtek-usecases, .lmtek-families, .lmtek-trust, .lmtek-stats, .lmtek-steps, .lmtek-cards, .lmtek-cats, .lmtek-columns { grid-template-columns: 1fr; }
    .lmtek-stats { gap: 18px; }
    .lmtek-steps li + li { border-left: 0; padding-left: 0; }
    .lmtek-usecase { min-height: 220px; }
    .lmtek-family__img { height: 170px; }
    .lmtek-kicker--pill { white-space: normal; }
    .lmtek-cta { padding: 48px 0; }
    .lmtek-quote-form__row { gap: 0; }
    .lmtek-modal__dialog { padding: 24px 18px; }
}


/* =========================================================
   Контраст текста на тёмных секциях (перебивает общую шкалу цвета абзацев)
   ========================================================= */
.lmtek-hero .lmtek-hero__lead, .lmtek-section--dark .lmtek-spotlight__lead, .lmtek-section--dark p, .lmtek-cta p { color: #cbd5e1 !important; }
.lmtek-hero .lmtek-kicker, .lmtek-section--dark .lmtek-kicker { color: #94a3b8 !important; }

/* =========================================================
   15. Продуктовые паттерны (NVIDIA DGX / yadro): reveal, шапка поверх обложки, суб-навигация,
       обложка продукта, highlights, преимущества, CSS-графики, спецификации, сравнение, ресурсы, FAQ
   ========================================================= */
/* reveal-on-scroll: скрываем только при работающем JS и без reduced-motion */
html.lmtek-js:not(.lmtek-rm) .lmtek-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.lmtek-js:not(.lmtek-rm) .lmtek-reveal.is-in { opacity: 1; transform: none; }
html.lmtek-js:not(.lmtek-rm) .lmtek-usecase:nth-child(2), html.lmtek-js:not(.lmtek-rm) .lmtek-adv:nth-child(2), html.lmtek-js:not(.lmtek-rm) .lmtek-hl__item:nth-child(2), html.lmtek-js:not(.lmtek-rm) .lmtek-stat:nth-child(2) { transition-delay: .08s; }
html.lmtek-js:not(.lmtek-rm) .lmtek-usecase:nth-child(3), html.lmtek-js:not(.lmtek-rm) .lmtek-adv:nth-child(3), html.lmtek-js:not(.lmtek-rm) .lmtek-hl__item:nth-child(3), html.lmtek-js:not(.lmtek-rm) .lmtek-stat:nth-child(3) { transition-delay: .16s; }
html.lmtek-js:not(.lmtek-rm) .lmtek-usecase:nth-child(4), html.lmtek-js:not(.lmtek-rm) .lmtek-hl__item:nth-child(4), html.lmtek-js:not(.lmtek-rm) .lmtek-stat:nth-child(4) { transition-delay: .24s; }

@keyframes lmtek-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }

/* шапка поверх обложки главной: прозрачная, после 40px — белая с блюром (класс is-scrolled ставит lmtek.js) */
.site-header { transition: background-color .25s, border-color .25s, box-shadow .25s; }
@media (min-width: 1200px), (max-width: 991px) {
    html.lmtek-js body.home .lmtek-hero { margin-top: calc(-1 * var(--lmtek-header-h, 72px)); }
    html.lmtek-js body.home .site-header:not(.is-scrolled) { background: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }
    html.lmtek-js body.home .site-header:not(.is-scrolled) .lmtek-nav__list > li > a, html.lmtek-js body.home .site-header:not(.is-scrolled) .lmtek-nav__list > li > .removed-link { color: #fff; }
    html.lmtek-js body.home .site-header:not(.is-scrolled) .lmtek-nav__list > li > a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
    html.lmtek-js body.home .site-header:not(.is-scrolled) .lmtek-nav__list > li.current-menu-item > a { background: rgba(255, 255, 255, .16); color: #fff; }
    html.lmtek-js body.home .site-header:not(.is-scrolled) .site-logotype img { content: url("assets/logo-white.svg"); }
    html.lmtek-js body.home .site-header:not(.is-scrolled) .humburger span { background: #fff; }
    html.lmtek-js body.home .site-header:not(.is-scrolled) .search-form .search-field { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
    html.lmtek-js body.home .site-header:not(.is-scrolled) .search-form .search-field::placeholder { color: rgba(255, 255, 255, .6); }
    html.lmtek-js body.home .site-header:not(.is-scrolled) .search-form .search-submit { color: rgba(255, 255, 255, .7); }
}
body.home .site-header.is-scrolled { box-shadow: 0 1px 0 var(--lmtek-line); }

/* обложка главной: первый экран (100vh минус супер-хедер), текст внизу слева, медленный zoom фото */
body.home .lmtek-hero { min-height: min(calc(100vh - 32px), 920px); }
html:not(.lmtek-rm) .lmtek-hero__bg { animation: lmtek-zoom 20s ease-out forwards; will-change: transform; }
.lmtek-hero__lead { max-width: 560px; }
.lmtek-section--hl { padding: 0; }

/* полоса highlights: очень крупные цифры (count-up через JS) */
.lmtek-hl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 52px 0; border-bottom: 1px solid var(--lmtek-line); }
.lmtek-hl__num { display: block; font-size: clamp(40px, 5vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--lmtek-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lmtek-hl__num small { font-size: .42em; font-weight: 700; letter-spacing: -.02em; margin-left: 6px; color: var(--lmtek-ink-2); }
.lmtek-hl__label { display: block; margin-top: 12px; font-size: var(--fs-small); color: var(--lmtek-muted); line-height: var(--lh-small); max-width: 26ch; }
.lmtek-section--dark .lmtek-hl__num, .lmtek-hl--dark .lmtek-hl__num { color: #fff; }
.lmtek-section--dark .lmtek-hl__num small { color: #94a3b8; }

/* «кинематографичная» вставка: макро-фото во всю ширину + короткий тезис */
.lmtek-cine { position: relative; min-height: clamp(440px, 64vh, 640px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--lmtek-black); }
.lmtek-cine__bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.lmtek-cine__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 12, .08) 0%, rgba(5, 7, 12, .4) 55%, rgba(5, 7, 12, .82) 100%); }
.lmtek-cine__text { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 96px 32px 56px; }
.lmtek-cine__text .lmtek-kicker { color: #cbd5e1 !important; }
.lmtek-cine__text h2 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.025em; max-width: 18ch; margin: 0 0 12px; }
.lmtek-cine__text p { color: #cbd5e1; max-width: 560px; margin: 0; font-size: 17px; line-height: var(--lh-body); }

/* обложка продукта (как DGX B200): заголовок слева, рендер справа со свечением, медленный zoom, параллакс */
.lmtek-phero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(70% 90% at 78% 45%, #101f3d 0%, var(--lmtek-black) 62%); min-height: min(calc(100vh - var(--lmtek-header-h, 72px) - 32px), 860px); display: flex; align-items: center; }
.lmtek-phero__inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.lmtek-phero .lmtek-kicker { color: #94a3b8; }
.lmtek-phero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; margin: 0 0 18px; }
.lmtek-phero__lead { font-size: 18px; line-height: var(--lh-body); color: #cbd5e1; max-width: 520px; margin: 0 0 22px; }
.lmtek-phero__links { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14px; font-weight: 600; }
.lmtek-phero__links a { color: #fff; text-decoration: none; padding-right: 14px; margin-right: 14px; border-right: 1px solid rgba(255, 255, 255, .25); }
.lmtek-phero__links a:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.lmtek-phero__links a:hover { color: #67e8f9; }
.lmtek-phero__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.lmtek-phero__actions .button { padding: 14px 24px; font-size: 15px; }
.lmtek-phero__media { position: relative; will-change: transform; }
.lmtek-phero__media::before { content: ""; position: absolute; inset: 8% -8% -8%; background: radial-gradient(50% 50% at 50% 55%, rgba(37, 99, 235, .42), rgba(8, 145, 178, .12) 55%, transparent 75%); filter: blur(28px); pointer-events: none; }
.lmtek-phero__media img { position: relative; width: 100%; height: auto; display: block; border-radius: var(--lmtek-radius); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px rgba(0, 0, 0, .55); }
html:not(.lmtek-rm) .lmtek-phero__media img { animation: lmtek-zoom 16s ease-out forwards; }

/* липкая суб-навигация страницы под шапкой */
.lmtek-subnav { position: sticky; top: var(--lmtek-header-h, 72px); z-index: 850; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--lmtek-line); }
.lmtek-subnav__inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 16px; min-height: 54px; }
.lmtek-subnav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lmtek-subnav__list::-webkit-scrollbar { display: none; }
.lmtek-subnav__list li { flex: 0 0 auto; }
.lmtek-subnav__list a { display: block; padding: 17px 12px; font-size: 14px; font-weight: 600; color: var(--lmtek-muted); white-space: nowrap; text-decoration: none; box-shadow: inset 0 -2px 0 transparent; transition: color .15s, box-shadow .15s; }
.lmtek-subnav__list a:hover { color: var(--lmtek-ink); }
.lmtek-subnav__list a.is-active { color: var(--lmtek-ink); box-shadow: inset 0 -2px 0 var(--lmtek-accent); }
.lmtek-subnav__cta { flex: 0 0 auto; padding: 9px 16px !important; font-size: 14px; }
.lmtek-anchor { scroll-margin-top: calc(var(--lmtek-header-h, 72px) + 62px); }
body.page.lmtek-raw .breadcrumb { display: none !important; } /* на посадочных крошка «Главная» одна — не несёт смысла над обложкой */
body.page.lmtek-raw .site-content { padding-top: 0; }

/* преимущества: три карточки с inline-SVG */
.lmtek-adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lmtek-adv { padding: 28px; border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius); background: #fff; }
.lmtek-adv__icon { width: 48px; height: 48px; color: var(--lmtek-accent); margin-bottom: 18px; }
.lmtek-adv__icon svg { width: 100%; height: 100%; display: block; }
.lmtek-adv h3 { font-size: 20px; margin: 0 0 8px; }
.lmtek-adv p { margin: 0; font-size: var(--fs-small); color: var(--lmtek-ink-2); line-height: var(--lh-small); }

/* CSS-графики: горизонтальные бары, заполняются при появлении */
.lmtek-bars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lmtek-bar { padding: 24px; border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius); background: #fff; }
.lmtek-bar h3 { font-size: 17px; margin: 0 0 4px; }
.lmtek-bar__sub { font-size: 13px; color: var(--lmtek-muted); margin: 0 0 18px; }
.lmtek-bar__row { display: grid; grid-template-columns: 9.5em 1fr 6.5em; gap: 12px; align-items: center; margin: 10px 0; font-size: var(--fs-small); color: var(--lmtek-ink-2); }
.lmtek-bar__track { position: relative; height: 12px; border-radius: 999px; background: var(--lmtek-tint-2); }
.lmtek-bar__fill { position: absolute; top: 0; bottom: 0; left: var(--l, 0%); width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--lmtek-accent), var(--lmtek-accent-2)); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2, .7, .2, 1) .15s; }
.lmtek-bar__fill--muted { background: var(--lmtek-line-2); }
.lmtek-bar.is-in .lmtek-bar__fill, html:not(.lmtek-js) .lmtek-bar__fill, html.lmtek-rm .lmtek-bar__fill { transform: none; }
.lmtek-bar__mark { position: absolute; top: -5px; left: var(--l); width: 2px; height: 22px; background: var(--lmtek-ink); }
.lmtek-bar__mark span { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font-family: var(--lmtek-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--lmtek-muted); white-space: nowrap; }
.lmtek-bar__row--marked { margin-bottom: 34px; }
.lmtek-bar__val { font-weight: 700; color: var(--lmtek-ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lmtek-bar__note, .lmtek-bars-note { font-size: 12.5px; color: var(--lmtek-muted); margin: 14px 0 0; line-height: 1.5; }

/* спецификации: две колонки-группы, чередующиеся ряды */
.lmtek-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.lmtek-spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lmtek-spec__group { text-align: left; padding: 8px 14px 12px; font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lmtek-ink); border-bottom: 2px solid var(--lmtek-ink); font-weight: 500; }
.lmtek-spec td { padding: 12px 14px; border-bottom: 1px solid var(--lmtek-line); vertical-align: top; line-height: 1.45; color: var(--lmtek-ink-2); }
.lmtek-spec td:first-child { width: 42%; font-weight: 600; color: var(--lmtek-ink); }
.lmtek-spec tbody tr:nth-child(even) td { background: var(--lmtek-tint); }
.lmtek-spec-note { font-size: 12.5px; color: var(--lmtek-muted); margin: 18px 0 0; max-width: 860px; }

/* сравнение двух товаров (категория) */
.lmtek-compare-wrap { margin: 56px 0 0; padding-top: 48px; border-top: 1px solid var(--lmtek-line); }
.lmtek-compare-wrap .lmtek-section__head { margin-bottom: 24px; }
.lmtek-h3 { font-size: var(--fs-h3); margin: 0 0 10px; }
.lmtek-compare__scroll { margin-top: 0; }
.lmtek-compare { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.lmtek-compare th { text-align: left; padding: 16px; vertical-align: bottom; border-bottom: 2px solid var(--lmtek-ink); font-weight: 700; }
.lmtek-compare th img { width: 140px; height: 94px; object-fit: contain; display: block; margin-bottom: 10px; mix-blend-mode: multiply; }
.lmtek-compare th a { color: var(--lmtek-ink); text-decoration: none; font-size: 15px; line-height: 1.3; }
.lmtek-compare th a:hover { color: var(--lmtek-accent-dark); }
.lmtek-compare td { padding: 12px 16px; border-bottom: 1px solid var(--lmtek-line); vertical-align: top; line-height: 1.45; color: var(--lmtek-ink-2); }
.lmtek-compare td:first-child { font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lmtek-muted); width: 24%; padding-top: 14px; }
.lmtek-compare tbody tr:nth-child(even) td { background: var(--lmtek-tint); }
.lmtek-compare td.is-diff { font-weight: 600; color: var(--lmtek-ink); }
.lmtek-compare__cta td { border-bottom: 0; padding-top: 18px; background: transparent !important; }

/* ресурсы: чередующиеся ряды фото + текст на тёмном */
.lmtek-res { display: grid; gap: 56px; }
.lmtek-res__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.lmtek-res__row:nth-child(even) .lmtek-res__media { order: 2; }
.lmtek-res__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: var(--lmtek-radius); background: var(--lmtek-navy); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .5); }
.lmtek-res__body h3 { color: #fff; font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 10px; letter-spacing: -.02em; }
.lmtek-res__body p { color: #94a3b8 !important; font-size: 15.5px; line-height: var(--lh-body); margin: 0 0 14px; }
.lmtek-res__body a { color: #67e8f9; font-weight: 600; text-decoration: none; }
.lmtek-res__body a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.lmtek-res__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* FAQ: details/summary */
.lmtek-faq { max-width: 860px; }
.lmtek-faq__item { border-bottom: 1px solid var(--lmtek-line); }
.lmtek-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 600; color: var(--lmtek-ink); }
.lmtek-faq__item summary::-webkit-details-marker { display: none; }
.lmtek-faq__item summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 8px 4px 0; border-right: 2px solid var(--lmtek-muted); border-bottom: 2px solid var(--lmtek-muted); transform: rotate(45deg); transition: transform .2s; }
.lmtek-faq__item[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.lmtek-faq__item summary:hover { color: var(--lmtek-accent-dark); }
.lmtek-faq__body { padding: 0 0 18px; color: var(--lmtek-ink-2); font-size: 15.5px; line-height: 1.65; max-width: 720px; }
.lmtek-faq__body p { margin: 0 0 10px; }

/* цена «от …» в карточках и на товаре (разметку выводит mu-plugin) */
.lmtek-price-from { display: block; font-size: 17px; font-weight: 700; color: var(--lmtek-ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.lmtek-price-monthly { display: block; font-size: 12.5px; color: var(--lmtek-muted); margin-top: 2px; }
.product-info .lmtek-price-from { font-size: 26px; }
.product-info .lmtek-price-monthly { font-size: 14px; }
.shop-item__price .price { display: block; }

/* товар сервера: баннер на полный обзор платформы под заголовком */
.lmtek-platform-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid #bfdbfe; background: var(--lmtek-accent-soft); border-radius: var(--lmtek-radius-s); color: var(--lmtek-accent-dark); font-weight: 600; font-size: 14px; text-decoration: none; transition: background .15s; }
.lmtek-platform-link:hover { background: #bfdbfe; color: var(--lmtek-accent-dark); }

/* галерея товара: без зума; миниатюры — горизонтальная лента; своя SVG-лупа вместо emoji */
.product-images .woocommerce-product-gallery { flex-direction: column; overflow: visible; width: 100%; min-width: 0; flex: 1 1 auto; } /* без определённой ширины flexslider измеряет слайды по обёртке 2600% */
.product-images .woocommerce-product-gallery .flex-viewport, .product-images .woocommerce-product-gallery .woocommerce-product-gallery__wrapper { order: 1; width: 100%; flex: none; max-width: none; }
.product-images .woocommerce-product-gallery .flex-control-thumbs { order: 2; flex: none; width: 100%; max-width: none; display: flex; gap: 8px; overflow-x: auto; margin: 12px 0 0; padding: 2px; scrollbar-width: none; }
.product-images .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
.product-images .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 72px; width: 72px; margin: 0; }
.product-images .woocommerce-product-gallery .flex-control-thumbs li img { width: 72px; height: 54px; object-fit: contain; padding: 3px; }
.product-images .woocommerce-product-gallery .flex-control-thumbs li img.flex-active { border-color: var(--lmtek-accent); box-shadow: 0 0 0 1px var(--lmtek-accent); opacity: 1; }
.woocommerce-product-gallery__image img { transform: none !important; transition: none !important; }
.woocommerce-product-gallery__image { background: transparent !important; }
.woocommerce-product-gallery .zoomImg { display: none !important; }
.woocommerce-product-gallery__trigger {
    position: absolute; top: 12px; right: 12px; z-index: 9; width: 40px; height: 40px; border-radius: 50%;
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-4-4M11 8v6M8 11h6'/></svg>") center / 18px 18px no-repeat;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .15); font-size: 0 !important; line-height: 0; color: transparent !important; text-indent: -9999px; overflow: hidden; border: 0;
}
.woocommerce-product-gallery__trigger::before, .woocommerce-product-gallery__trigger::after, .woocommerce-product-gallery__trigger img { display: none !important; }
.woocommerce-product-gallery__trigger:hover { background-color: var(--lmtek-tint-2); }

@media (max-width: 1100px) {
    .lmtek-phero__inner { grid-template-columns: 1fr; padding: 48px 32px; }
    .lmtek-phero { min-height: 0; }
    .lmtek-spec-grid, .lmtek-bars, .lmtek-res__row { grid-template-columns: 1fr; }
    .lmtek-res__row:nth-child(even) .lmtek-res__media { order: 0; }
    .lmtek-res { gap: 44px; }
    .lmtek-adv-grid { grid-template-columns: 1fr 1fr; }
    .lmtek-hl { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (max-width: 720px) {
    body.home .lmtek-hero { min-height: 100vh; }
    .lmtek-hl { grid-template-columns: repeat(2, 1fr); padding: 36px 0; gap: 24px 16px; }
    .lmtek-hl__num { font-size: 36px; }
    .lmtek-adv-grid { grid-template-columns: 1fr; }
    .lmtek-phero__inner { padding: 36px 20px; gap: 28px; }
    .lmtek-phero__actions .button { flex: 1 1 auto; }
    .lmtek-subnav__inner { padding: 0 12px; gap: 8px; min-height: 48px; }
    .lmtek-subnav__list a { padding: 14px 10px; font-size: 13.5px; }
    .lmtek-subnav__cta { padding: 8px 12px !important; font-size: 13px; }
    .lmtek-cine { min-height: 380px; }
    .lmtek-cine__text { padding: 72px 20px 36px; }
    .lmtek-bar__row { grid-template-columns: 1fr; gap: 6px; }
    .lmtek-bar__val { text-align: left; }
    .lmtek-spec td:first-child { width: 40%; }
    .lmtek-compare th img { width: 100px; height: 66px; }
    .lmtek-faq__item summary { font-size: 15.5px; }
}

/* ---------- Подвал прижат к низу на коротких страницах (Bono: .site{min-height:100vh}, футер не sticky) ---------- */
.site { display: flex; flex-direction: column; min-height: 100vh; background: var(--lmtek-black); }
.site-content { background: #fff; }                       /* контент белый, независимо от .site */
.site > .site-footer-container { margin-top: auto; }      /* подвал к низу; зазор над ним — тёмный .site, а не белый */
body { background: var(--lmtek-black); }

/* =========================================================
   16. Инженерный документ
   Язык: сайт читается как даташит производителя, а не как лендинг.
   Правила слоя: ничего не парит (тени → волосяные линии), скругления почти нулевые,
   секции пронумерованы, числа табличные, цвет ровно один и работает как сигнал.
   ========================================================= */

/* --- 16.1 Форма: тени убираем, границы оставляем --------------------------- */
.lmtek-card, .lmtek-trust div, .lmtek-family, .lmtek-usecase, .lmtek-cat,
.shop-item--type-standard .shop-item-inner, .lmtek-spotlight__media img,
.lmtek-chip, .lmtek-family__chips span, .lmtek-family__count, .lmtek-kicker--pill {
    border-radius: 0 !important;
    box-shadow: none !important;
}
.lmtek-family:hover, .lmtek-cat:hover, .shop-item:hover .shop-item-inner {
    border-color: var(--lmtek-ink);
    box-shadow: inset 2px 0 0 var(--lmtek-accent) !important; /* отметка на полях, а не подъём карточки */
}
.lmtek-family__img, .shop-item__image-inner { border-radius: 0; background: var(--lmtek-tint); }

/* чипы характеристик: метка в спецификации, без заливки */
.lmtek-chip, .lmtek-family__chips span {
    background: none; border-color: var(--lmtek-line); color: var(--lmtek-ink-2);
    letter-spacing: .02em; padding: 5px 7px;
}
.lmtek-chip--accent { background: none; border-color: var(--lmtek-accent); color: var(--lmtek-accent-dark); }
.lmtek-family__count { background: none; border: 1px solid var(--lmtek-line); color: var(--lmtek-muted); }

/* --- 16.2 Кнопки: прямоугольные, без градиентов и подъёма ------------------ */
.button, .woocommerce a.button, input[type="submit"], .lmtek-quote-btn {
    border-radius: 0 !important; box-shadow: none !important; text-shadow: none !important;
    font-weight: 500; letter-spacing: 0; transition: background-color .12s, border-color .12s, color .12s;
}
.button:hover, .woocommerce a.button:hover, input[type="submit"]:hover { transform: none !important; }
.button.alt, .woocommerce a.button.alt, input[type="submit"] {
    background: var(--lmtek-accent) !important; border: 1px solid var(--lmtek-accent) !important; color: #fff !important;
}
.button.alt:hover, .woocommerce a.button.alt:hover, input[type="submit"]:hover {
    background: var(--lmtek-accent-dark) !important; border-color: var(--lmtek-accent-dark) !important;
}
.button:not(.alt) {
    background: transparent !important; border: 1px solid var(--lmtek-line-2) !important; color: var(--lmtek-ink) !important;
}
.button:not(.alt):hover { border-color: var(--lmtek-ink) !important; background: var(--lmtek-tint) !important; }
.lmtek-section--dark .button:not(.alt), .lmtek-hero .button:not(.alt), .lmtek-cta .button:not(.alt) {
    border-color: rgba(255, 255, 255, .34) !important; color: #fff !important;
}
.lmtek-section--dark .button:not(.alt):hover, .lmtek-hero .button:not(.alt):hover, .lmtek-cta .button:not(.alt):hover {
    background: rgba(255, 255, 255, .08) !important; border-color: #fff !important;
}

/* --- 16.3 Нумерация разделов: номер на полях, как в спецификации ----------- */
body { counter-reset: lmsec; }
.lmtek-section__head > .lmtek-kicker::before,
.lmtek-section > .lmtek-kicker::before {
    counter-increment: lmsec;
    content: counter(lmsec, decimal-leading-zero) " / ";
    color: var(--lmtek-accent);
}
.lmtek-section { padding: 72px 0; position: relative; }
.lmtek-section + .lmtek-section:not(.lmtek-section--tint):not(.lmtek-section--dark) { border-top: 1px solid var(--lmtek-hair); }
.lmtek-section--dark { background: var(--lmtek-black); color: #c9c9ce; }
.lmtek-section--dark .lmtek-section__head p, .lmtek-cta p { color: #9a9aa2; }
.lmtek-section__head { max-width: 62ch; margin-bottom: 44px; }

/* --- 16.4 Числовые ряды: строка данных, а не четыре плаката ---------------- */
.lmtek-stats, .lmtek-hero__facts {
    gap: 0; border-top: 1px solid var(--lmtek-line-2); padding-top: 0;
}
.lmtek-stat, .lmtek-hero__facts li {
    padding: 20px 24px; border-left: 1px solid var(--lmtek-hair); gap: 8px;
}
.lmtek-stat:first-child, .lmtek-hero__facts li:first-child { border-left: 0; padding-left: 0; }
.lmtek-stat__num { font-size: 30px; font-weight: 500; letter-spacing: -.02em; }
.lmtek-stat__label, .lmtek-hero__facts span { letter-spacing: .07em; font-weight: 400; }
.lmtek-hero__facts { border-top-color: rgba(255, 255, 255, .28); padding-top: 0; margin-top: 44px; }
.lmtek-hero__facts li { border-left-color: rgba(255, 255, 255, .16); }
.lmtek-hero__facts strong { font-weight: 500; font-size: 26px; letter-spacing: -.02em; }

/* --- 16.5 Обложка: фотография как фотография, поверх — чертёжная сетка ----- */
.lmtek-hero { min-height: 580px; }
.lmtek-hero__bg { opacity: 1; filter: grayscale(1) brightness(.4) contrast(1.12); }
.lmtek-hero__bg::after {
    background:
        linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 96px 96px;
}
.lmtek-hero__title { font-weight: 600; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -.032em; max-width: 19ch; }
/* вторая строка отделяется тоном, а не вторым цветом: двухцветный заголовок — примета шаблона */
.lmtek-hero__title .lmtek-accent { display: block; color: rgba(255, 255, 255, .48); }
.lmtek-hero__lead { color: #b6b6bd; }

/* --- 16.6 Карточки-задачи: тёмная плашка с линией, без градиентной пелены -- */
.lmtek-usecase { min-height: 264px; border: 1px solid var(--lmtek-line); padding: 0; justify-content: flex-end; }
.lmtek-usecase__bg { filter: grayscale(1) brightness(.52) contrast(1.1); }
.lmtek-usecase__bg::after { background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 13, .9) 100%); }
.lmtek-usecase > *:not(.lmtek-usecase__bg) { padding-left: 20px; padding-right: 20px; }
.lmtek-usecase .lmtek-kicker { margin-bottom: 6px; padding-top: 18px; }
.lmtek-usecase h3, .lmtek-usecase__text, .lmtek-usecase .lmtek-kicker { text-shadow: none; }
.lmtek-usecase__link { color: #fff; padding-bottom: 20px; margin-top: 14px; }
.lmtek-usecase:hover .lmtek-usecase__link { color: var(--lmtek-accent); text-decoration: none; }
.lmtek-usecase:hover .lmtek-usecase__bg { transform: none; filter: grayscale(1) brightness(.62) contrast(1.1); }

/* --- 16.7 Шаги: нумерация как в регламенте --------------------------------- */
.lmtek-steps__num { color: var(--lmtek-accent); letter-spacing: .08em; }
.lmtek-steps li, .lmtek-steps { border-color: var(--lmtek-line); }
.lmtek-steps li + li { border-left-color: var(--lmtek-hair); }

/* --- 16.8 Таблицы характеристик: главный носитель смысла ------------------- */
.woocommerce-product-attributes, .lmtek-table, .lmtek-specs { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .lmtek-table th {
    font-family: var(--lmtek-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
    font-weight: 400; color: var(--lmtek-muted); text-align: left; vertical-align: top;
}
.woocommerce-product-attributes td, .lmtek-table td { font-size: var(--fs-small); }
.woocommerce-product-attributes tr, .lmtek-table tr { border-bottom: 1px solid var(--lmtek-hair); }

/* --- 16.9 Ссылки: подчёркивание в тексте, цвет — только для действия ------- */
/* подчёркиваем только ссылки внутри текста: карточки-ссылки — это не текст */
.entry-content p > a:not(.button), .entry-content li > a:not(.button),
.entry-content dd > a:not(.button), .lmtek-prose p > a:not(.button), .lmtek-prose li > a:not(.button) {
    color: var(--lmtek-ink); text-decoration: underline; text-decoration-color: var(--lmtek-line-2); text-underline-offset: 3px;
}
.entry-content p > a:not(.button):hover, .entry-content li > a:not(.button):hover,
.lmtek-prose p > a:not(.button):hover, .lmtek-prose li > a:not(.button):hover {
    color: var(--lmtek-accent); text-decoration-color: currentColor;
}
.lmtek-usecase, .lmtek-usecase *, .lmtek-sol, .lmtek-family a, .lmtek-cat, .lmtek-brand, .lmtek-tree a, .lmtek-sheet a {
    text-decoration: none;
}
.lmtek-section__more, .lmtek-family__link { color: var(--lmtek-ink); font-weight: 500; }
.lmtek-section__more:hover, .lmtek-family__link:hover { color: var(--lmtek-accent); }

/* --- 16.10 Мелочи, выдающие шаблон ---------------------------------------- */
.lmtek-cta { border-top: 1px solid rgba(255, 255, 255, .14); }
.lmtek-spotlight__media img { border: 1px solid rgba(255, 255, 255, .14); }
.lmtek-spotlight__specs dt { letter-spacing: .07em; }
.lmtek-price-request { letter-spacing: .06em; }
.woocommerce-result-count, .widget-area .widget-header, .lmtek-archive-kicker { letter-spacing: .07em; font-weight: 400; }

/* --- 16.11 Числовой ряд главной: строка спецификации ----------------------- */
.lmtek-section--hl { padding: 0; }
.lmtek-hl {
    gap: 0; padding: 0; margin: 0;
    border-top: 1px solid var(--lmtek-line); border-bottom: 1px solid var(--lmtek-line);
}
.lmtek-hl__item { padding: 28px 28px 30px; border-left: 1px solid var(--lmtek-hair); }
.lmtek-hl__item:first-child { border-left: 0; padding-left: 0; }
.lmtek-hl__num { font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; letter-spacing: -.03em; }
.lmtek-hl__num small { font-size: .4em; font-weight: 400; color: var(--lmtek-muted); margin-left: 8px; }
.lmtek-hl__label { margin-top: 10px; font-size: 13px; max-width: 30ch; }

/* --- 16.12 см. ниже: реальный класс состояния шапки — .is-scrolled --- */
.site-header, .lmtek-header { border-radius: 0 !important; box-shadow: none !important; }

/* --- 16.13 Сводная таблица линеек: датащит прямо на главной ---------------- */
.lmtek-sheet { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.lmtek-sheet caption {
    caption-side: top; text-align: left; font-family: var(--lmtek-mono); font-size: 11px;
    letter-spacing: .07em; text-transform: uppercase; color: var(--lmtek-muted); padding-bottom: 12px;
}
.lmtek-sheet th, .lmtek-sheet td { padding: 13px 14px; text-align: right; vertical-align: baseline; font-variant-numeric: tabular-nums; }
.lmtek-sheet th:first-child, .lmtek-sheet td:first-child { text-align: left; padding-left: 0; }
.lmtek-sheet td:last-child, .lmtek-sheet th:last-child { padding-right: 0; }
.lmtek-sheet thead th {
    font-family: var(--lmtek-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
    font-weight: 400; color: var(--lmtek-muted); border-bottom: 1px solid var(--lmtek-line-2); padding-bottom: 10px;
}
.lmtek-sheet tbody tr { border-bottom: 1px solid var(--lmtek-hair); }
.lmtek-sheet tbody tr:hover { background: var(--lmtek-tint); }
.lmtek-sheet tbody th { font-weight: 600; color: var(--lmtek-ink); }
.lmtek-sheet tbody th a { color: inherit; text-decoration: none; }
.lmtek-sheet tbody th a:hover { color: var(--lmtek-accent); }
.lmtek-sheet tbody th small { display: block; font-weight: 400; color: var(--lmtek-muted); font-size: 12px; margin-top: 2px; }
.lmtek-sheet__wrap { overflow-x: auto; }
.lmtek-sheet__note { margin: 16px 0 0; font-size: 13px; color: var(--lmtek-muted); }
@media (max-width: 860px) {
    .lmtek-sheet { min-width: 640px; }
    .lmtek-hl { grid-template-columns: repeat(2, 1fr); }
    .lmtek-hl__item { padding: 22px 18px; }
    .lmtek-hl__item:nth-child(odd) { border-left: 0; padding-left: 0; }
    .lmtek-hl__item:nth-child(n+3) { border-top: 1px solid var(--lmtek-hair); }
}

/* --- 16.12 Шапка (исправление): над обложкой прозрачная, при прокрутке плотная --- */
.home .site-header:not(.is-scrolled) {
    background: transparent !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    border-bottom-color: rgba(255, 255, 255, .18) !important;
}
.home .site-header:not(.is-scrolled) .lmtek-nav__list > li > a,
.home .site-header:not(.is-scrolled) .lmtek-nav__list > li > .removed-link { color: #fff !important; }
.home .site-header:not(.is-scrolled) .lmtek-nav__list > li > a:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }
.home .site-header:not(.is-scrolled) .header-search input,
.home .site-header:not(.is-scrolled) .search-form input[type="search"] {
    background: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .26) !important; color: #fff !important;
}
.home .site-header:not(.is-scrolled) .header-search input::placeholder { color: rgba(255, 255, 255, .6) !important; }
.site-header { background: rgba(255, 255, 255, .94) !important; }

/* навигация: активный пункт помечается линией снизу, а не плашкой */
.lmtek-nav__list > li > a, .lmtek-nav__list > li > .removed-link { border-radius: 0; font-weight: 500; padding: 9px 10px; }
.lmtek-nav__list > li.current-menu-item > a, .lmtek-nav__list > li.current-menu-ancestor > a,
.lmtek-nav__list > li.current-menu-parent > a, .lmtek-nav__list > li.current_page_item > a,
.lmtek-nav__list > li.current-product_cat-ancestor > a, .lmtek-nav__list > li > .removed-link {
    background: none; color: var(--lmtek-ink); box-shadow: inset 0 -2px 0 var(--lmtek-accent);
}
.lmtek-nav__list > li > a:hover { background: var(--lmtek-tint); color: var(--lmtek-ink); }
.lmtek-nav__list .sub-menu { border-radius: 0; box-shadow: none; border: 1px solid var(--lmtek-line-2); padding: 6px; }
.lmtek-nav__list .sub-menu a, .lmtek-nav__list .sub-menu .removed-link { border-radius: 0; font-weight: 400; }
.lmtek-nav__list .sub-menu a:hover { background: var(--lmtek-tint); color: var(--lmtek-ink); }

/* поиск в шапке */
.header-search input, .search-form input[type="search"] { border-radius: 0 !important; }

/* --- 16.14 Обложка: заголовок не должен упираться в низ экрана ------------- */
.lmtek-hero__inner { padding-top: 132px; padding-bottom: 48px; }
.lmtek-hero__row { align-items: flex-end; }

/* --- 16.15 Логотип над тёмной обложкой --------------------------------------
   Знак и надпись тёмные, поэтому на прозрачной шапке главной подменяем их
   светлым вариантом того же файла. */
.home .site-header:not(.is-scrolled) .site-logotype img {
    content: url("assets/logo-white.svg");
}

/* --- 16.16 Таблицы: только горизонтальная разлиновка ----------------------- */
.lmtek-sheet, .lmtek-sheet th, .lmtek-sheet td { border-left: 0; border-right: 0; background: none; }
.lmtek-sheet thead th { background: none; }
.lmtek-sheet tbody tr:last-child { border-bottom: 1px solid var(--lmtek-line-2); }
.lmtek-lineup-grid { display: grid; gap: 48px; }
.lmtek-lineup-grid > * { min-width: 0; }

/* --- 16.17 Обложка: первый экран не должен быть наполовину пустым ---------- */
.lmtek-hero { min-height: 0; }
.lmtek-hero__inner { padding-top: 116px; padding-bottom: 44px; }
.lmtek-hero__title { margin-bottom: 22px; }

/* --- 16.18 Таблицы: снимаем рамку родительской темы ------------------------ */
body .lmtek-sheet, body .lmtek-sheet th, body .lmtek-sheet td {
    border-left: 0 !important; border-right: 0 !important; border-top: 0 !important;
    background-color: transparent !important;
}
body .lmtek-sheet tbody tr { border-bottom: 1px solid var(--lmtek-hair) !important; }
body .lmtek-sheet tbody tr:hover { background-color: var(--lmtek-tint) !important; }
body .lmtek-sheet thead th { border-bottom: 1px solid var(--lmtek-line-2) !important; }
body .woocommerce-product-attributes th, body .woocommerce-product-attributes td {
    border-left: 0 !important; border-right: 0 !important; background-color: transparent !important;
}

/* --- 16.19 Ссылка «запросить КП» внутри текста — ссылка, а не кнопка ------- */
.lmtek-quote-btn--inline, p > .lmtek-quote-btn:not(.button) {
    display: inline; padding: 0 !important; background: none !important; border: 0 !important;
    color: var(--lmtek-ink) !important; font-weight: 500; text-decoration: underline;
    text-decoration-color: var(--lmtek-accent); text-underline-offset: 3px;
}
.lmtek-quote-btn--inline:hover, p > .lmtek-quote-btn:not(.button):hover { color: var(--lmtek-accent) !important; }

/* --- 16.20 Сетка каталога: строки равной высоты ---------------------------
   У Bono карточки плавающие, поэтому при разной длине названий ряд «рвался»
   и карточки вставали лесенкой. Переводим на grid и растягиваем содержимое. */
.shop-grid {
    display: grid; grid-template-columns: repeat(var(--lmtek-cols, 3), minmax(0, 1fr));
    gap: 0; margin-left: -10px; margin-right: -10px;
}
.shop-grid--columns-2 { --lmtek-cols: 2; }
.shop-grid--columns-3 { --lmtek-cols: 3; }
.shop-grid--columns-4 { --lmtek-cols: 4; }
.shop-grid > .shop-item { width: auto !important; float: none !important; display: flex; }
.shop-item--type-standard .shop-item-inner { width: 100%; display: flex; flex-direction: column; }
.shop-item__image { order: -1; }
.shop-item__price { margin-top: auto; }
.shop-item .lmtek-chips { margin-bottom: 8px; }
.shop-item__title { min-height: 0; margin-bottom: 10px; }
.shop-item__title a { font-size: 15px; font-weight: 600; }

/* --- 16.21 Сигнальный цвет только для действия ----------------------------
   Оранжевым помечаем то, что можно нажать, и номер раздела. Характеристика —
   не действие, поэтому «акцентный» чип выравниваем с остальными. */
.lmtek-chip--accent { border-color: var(--lmtek-line-2); color: var(--lmtek-ink); }
.shop-item .lmtek-chip { font-size: 10.5px; }

@media (max-width: 1200px) { .shop-grid--columns-4 { --lmtek-cols: 3; } }
@media (max-width: 900px)  { .shop-grid { --lmtek-cols: 2 !important; } }
@media (max-width: 560px)  { .shop-grid { --lmtek-cols: 1 !important; } }

/* --- 16.22 Карточка каталога: одинаковая раскладка во всём ряду ------------ */
.shop-item__image-inner { flex: 0 0 auto; }          /* картинка не сжимается под соседей */
.shop-item__title { min-height: 2.6em; }             /* две строки названия — общая базовая линия */
.shop-item .lmtek-chips { margin-top: 4px; }

/* --- 16.23 Карточки-ссылки не подчёркиваются ------------------------------- */
.lmtek-sol, .lmtek-sol *, .lmtek-usecase, .lmtek-usecase *,
.shop-item__title a, .lmtek-family__name a { text-decoration: none !important; }

/* --- 16.24 Картинка карточки: фиксированная полка --------------------------
   aspect-ratio давал разную высоту у снимков с разными пропорциями, и ряд
   съезжал. Полка фиксированной высоты выравнивает названия по одной линии. */
.shop-item__image-inner {
    aspect-ratio: auto; height: 200px; flex: 0 0 200px;
    background: #fff; border-bottom: 1px solid var(--lmtek-hair); margin-bottom: 14px;
}
.shop-item__image-inner img { max-height: 184px; mix-blend-mode: normal; }
@media (max-width: 900px) { .shop-item__image-inner { height: 170px; flex-basis: 170px; } }

/* --- 16.25 Жёсткая раскладка карточки -------------------------------------
   Плашки-бейджи в режиме «запрос КП» не используются, но Bono печатает пустой
   блок с переносами строк — он и сдвигал часть карточек на строку вверх. */
.shop-item .shop-item__badges { display: none !important; }
.shop-item .shop-item__image-inner { height: 200px !important; min-height: 200px; }
@media (max-width: 900px) { .shop-item .shop-item__image-inner { height: 170px !important; min-height: 170px; } }

/* --- 16.26 Внутренняя раскладка карточки на сетке -------------------------
   При flex-колонке строки карточек с разной длиной чипов расходились по
   вертикали. Фиксированные строки сетки держат картинку, название и подвал
   на одной линии во всём ряду независимо от содержимого. */
.shop-item--type-standard .shop-item-inner {
    display: grid;
    grid-template-rows: 200px auto auto 1fr auto;
    align-content: start;
}
.shop-item--type-standard .shop-item-inner > * { min-width: 0; }
.shop-item__image { grid-row: 1; margin: 0; }
.shop-item__title { grid-row: 2; }
.shop-item__price { grid-row: 3; margin-top: 0; }
.shop-item .lmtek-chips { grid-row: 4; align-content: start; }
.shop-item .lmtek-cmp { grid-row: 5; }
@media (max-width: 900px) { .shop-item--type-standard .shop-item-inner { grid-template-rows: 170px auto auto 1fr auto; } }

/* --- 16.27 Кнопки на тёмных обложках ---------------------------------------
   Вторичная кнопка на тёмном фоне получала тёмный текст и пропадала.
   Собираем все тёмные контексты в одно правило, включая модификаторы Bono. */
.lmtek-phero .button:not(.alt), .lmtek-cine .button:not(.alt), .lmtek-solpage__hero .button:not(.alt),
.lmtek-btn--light, .lmtek-btn--ghost {
    background: transparent !important; border: 1px solid rgba(255, 255, 255, .34) !important; color: #fff !important;
}
.lmtek-phero .button:not(.alt):hover, .lmtek-cine .button:not(.alt):hover, .lmtek-solpage__hero .button:not(.alt):hover,
.lmtek-btn--light:hover, .lmtek-btn--ghost:hover {
    background: rgba(255, 255, 255, .1) !important; border-color: #fff !important; color: #fff !important;
}
/* …но если светлая кнопка стоит на белом фоне (суб-навигация, карточки) — наоборот */
.lmtek-subnav .lmtek-btn--light, .lmtek-subnav .lmtek-btn--ghost,
.lmtek-section:not(.lmtek-section--dark) .lmtek-btn--ghost {
    border-color: var(--lmtek-line-2) !important; color: var(--lmtek-ink) !important;
}
.lmtek-subnav .lmtek-btn--light:hover, .lmtek-section:not(.lmtek-section--dark) .lmtek-btn--ghost:hover {
    background: var(--lmtek-tint) !important; border-color: var(--lmtek-ink) !important; color: var(--lmtek-ink) !important;
}

/* --- 16.28 Кнопки в подвале -----------------------------------------------
   Подвал тёмный, а общее правило вторичной кнопки красит текст в чернильный —
   кнопка пропадала. Подвал добавлен к тёмным контекстам явно. */
.site-footer .button, .footer-widget .button, .footer-widget .lmtek-quote-btn {
    background: transparent !important; border: 1px solid rgba(255, 255, 255, .34) !important; color: #fff !important;
}
.site-footer .button:hover, .footer-widget .button:hover, .footer-widget .lmtek-quote-btn:hover {
    background: rgba(255, 255, 255, .1) !important; border-color: #fff !important; color: #fff !important;
}
.site-footer .button.alt, .footer-widget .button.alt {
    background: var(--lmtek-accent) !important; border-color: var(--lmtek-accent) !important;
}
.site-footer .button.alt:hover, .footer-widget .button.alt:hover {
    background: var(--lmtek-accent-dark) !important; border-color: var(--lmtek-accent-dark) !important;
}

/* --- 16.29 Заглушка фото: не растягиваем векторную картинку --------------- */
.shop-item__image-inner img[src$=".svg"], .woocommerce-product-gallery img[src$=".svg"] {
    width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal;
}

/* =========================================================
   17. Выдача поиска
   Товары, решения, статьи и разделы в одном списке — тип
   виден сразу, миниатюра слева, характеристики строкой.
   ========================================================= */
.post-cards--search { display: flex; flex-direction: column; gap: 0; }
.post-cards--search .navigation { margin-top: 28px; }

.lmtek-sr {
    display: grid; grid-template-columns: 116px 1fr; gap: 20px; align-items: start;
    padding: 22px 0; border-bottom: 1px solid var(--lmtek-line);
}
.lmtek-sr:first-child { border-top: 1px solid var(--lmtek-line); }

.lmtek-sr__thumb {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 4 / 3; border: 1px solid var(--lmtek-line); border-radius: 10px;
    background: var(--lmtek-tint); overflow: hidden; text-decoration: none;
}
.lmtek-sr__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lmtek-sr--product .lmtek-sr__thumb img { object-fit: contain; padding: 8px; background: #fff; }
.lmtek-sr--solution .lmtek-sr__thumb img { filter: grayscale(1) contrast(1.08); }
/* страница без обложки: чертёжная сетка вместо пустого прямоугольника */
.lmtek-sr__thumb--blank {
    background-color: #fff;
    background-image: linear-gradient(var(--lmtek-line) 1px, transparent 1px),
                      linear-gradient(90deg, var(--lmtek-line) 1px, transparent 1px);
    background-size: 22px 22px; background-position: -1px -1px;
}

.lmtek-sr__kind {
    display: inline-block; font-family: var(--lmtek-mono); font-size: 10.5px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--lmtek-muted); margin-bottom: 7px;
}
.lmtek-sr--product .lmtek-sr__kind { color: var(--lmtek-accent); }

.lmtek-sr__title { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 7px; }
.lmtek-sr__title a { color: var(--lmtek-ink); text-decoration: none; }
.lmtek-sr__title a:hover { color: var(--lmtek-accent); }

.lmtek-sr__desc { font-size: var(--fs-small); line-height: 1.55; color: var(--lmtek-ink-2); margin: 0; }

.lmtek-sr__specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
.lmtek-sr__specs li {
    font-family: var(--lmtek-mono); font-size: 11px; color: var(--lmtek-ink-2);
    padding: 4px 8px; border: 1px solid var(--lmtek-line); border-radius: 6px; background: var(--lmtek-tint);
}

@media (max-width: 640px) {
    .lmtek-sr { grid-template-columns: 76px 1fr; gap: 14px; padding: 18px 0; }
    .lmtek-sr__title { font-size: 17px; }
    .lmtek-sr__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* =========================================================
   Мобильная шапка (≤720)
   На телефоне Bono подменяет строку поиска на .header-search--1, но
   поле остаётся во всю ширину: оно уходило на 168 px за край экрана,
   накрывая кнопку «Запросить КП». Сворачиваем его в иконку 40×40 и
   раскрываем поверх строки при фокусе — логотип и кнопка не съезжают.
   Пока поле свёрнуто, submit не ловит нажатия, иначе тап отправлял бы
   пустой запрос вместо того, чтобы раскрыть поиск.
   ========================================================= */
@media (max-width: 720px) {
    .site-header-inner { position: relative; gap: 10px; padding-right: 4px; }
    .site-logotype img { max-height: 30px !important; }
    .header-html-1 .lmtek-quote-btn { padding: 9px 13px; font-size: 13px; }

    .site-header .header-search--1 { flex: 0 0 40px; width: 40px; min-width: 0; }
    .site-header .header-search--1 .search-form { width: 40px; }
    /* цвет перебиваем !important: тёмная шапка главной задаётбелый через
       html.lmtek-js body.home .site-header:not(.is-scrolled) — она специфичнее */
    .site-header .header-search--1 .search-field {
        width: 40px; min-width: 0; padding-left: 0; padding-right: 0;
        color: transparent !important; font-size: 0 !important; transition: none;
    }
    .site-header .header-search--1 .search-field::placeholder { color: transparent !important; }
    .site-header .header-search--1 .search-submit { pointer-events: none; }

    /* .header-search--1 у Bono position:relative — пока он так стоит,
       раскрытая форма считает right от иконки в 40 px, а не от строки */
    .site-header .header-search--1:focus-within { position: static; }
    /* белую подложку вешаем на форму, а не на поле: у поля фон и цвет
       перебивает правило тёмной шапки главной, у формы конкурентов нет */
    .site-header .header-search--1:focus-within .search-form {
        position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%);
        width: auto; z-index: 800;  /* бургер у Bono на z-index 700 */
        background: #fff; border: 1px solid var(--lmtek-line); border-radius: var(--lmtek-radius-s);
        box-shadow: 0 12px 32px rgba(15, 23, 42, .22);
    }
    /* лупа рисуется цветом текста: на тёмной шапке она белая, а внутри
       раскрытой белой строки её не было видно */
    .site-header .header-search--1:focus-within .search-submit { left: auto; right: 0; color: #475569 !important; }
    .site-header .header-search--1:focus-within .search-field {
        width: 100%; height: 40px; padding-left: 14px; padding-right: 46px; font-size: 14px !important;
        background: transparent !important; border: 0 !important; box-shadow: none !important;
        color: var(--lmtek-ink) !important; -webkit-text-fill-color: var(--lmtek-ink);
    }
    .site-header .header-search--1:focus-within .search-field::placeholder { color: #94a3b8 !important; }
    .site-header .header-search--1:focus-within .search-submit { pointer-events: auto; }
}

/* супер-хедер: на узком экране оставляем только бесплатный номер —
   пояснение и ссылка на условия есть в меню и в подвале */
@media (max-width: 560px) {
    .super-header { font-size: 10.5px; letter-spacing: 0; }
    .super-header__item--2 { text-align: center; }
    .super-header__note, .super-header__sep, .super-header__link { display: none; }
}
