/* Каталог: список марок (Product/List.html) и страница марки (Product/Show.html). */

.oe-catalog * { box-sizing: border-box; }

.oe-catalog {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    min-width: 0;
}
.oe-catalog > * { min-width: 0; }
/* Правая колонка — тег <main>, а тема задаёт всем main отступ 24px сверху:
   без сброса плашки групп стояли ниже верха панели фильтров. */
.oe-catalog > main.oe-results { padding: 0; min-height: 0; }
@media (max-width: 860px) {
    .oe-catalog { grid-template-columns: 1fr; }
}

/* ---------- Фильтры ---------- */

/* Панель фильтров — PT Sans (читаемее моноширинного IBM Plex Mono), кнопки скруглённые. Выбрано 28.09.2026. */
.oe-filters { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(36,35,32,0.14); height: fit-content; font-family: 'PT Sans', Arial, sans-serif; }
.oe-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(36,35,32,0.14); margin: 0; }
.oe-filters__title { font-family: 'PT Sans', Arial, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.oe-btn-reset { background: none; border: none; color: #E74E0F; font-family: inherit; font-weight: 700; cursor: pointer; font-size: 14px; padding: 0; margin: 0; }
.oe-btn-reset:hover { color: #B43C0B; }

.oe-filter-group { padding: 20px; margin: 0; border-bottom: 1px solid rgba(36,35,32,0.14); }
.oe-filter-group:last-child { border-bottom: none; }
.oe-filter-group > label,
.oe-filter-group__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #726F66; margin: 0 0 10px 0; }

.oe-filter-group input[type="text"] {
    display: block; width: 100%; margin: 0; padding: 10px 12px;
    border: 1px solid rgba(36,35,32,0.14); background: #F3F3F1;
    font-family: 'PT Sans', Arial, sans-serif; font-size: 15px; border-radius: 8px;
}
.oe-filter-group input::placeholder { font-family: 'PT Sans', Arial, sans-serif; color: #A9A599; opacity: 1; }

.oe-filter-toggle summary.oe-filter-group__label {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; list-style: none;
}
.oe-filter-toggle[open] summary.oe-filter-group__label { margin-bottom: 10px; }
.oe-filter-toggle:not([open]) summary.oe-filter-group__label { margin-bottom: 0; }
.oe-filter-toggle summary.oe-filter-group__label::-webkit-details-marker { display: none; }
.oe-filter-toggle__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.oe-filter-toggle__count {
    display: none;
    background: #E74E0F;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 8px;
    text-align: center;
}
.oe-filter-toggle__chevron {
    width: 15px; height: 15px; flex-shrink: 0;
    color: #E74E0F; stroke-width: 3;
    transition: transform .2s ease;
}
.oe-filter-toggle[open] .oe-filter-toggle__chevron { transform: rotate(180deg); }

.oe-chips { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 7px; margin: 0; padding: 0; }
.oe-chip {
    display: inline-block;
    margin: 0;
    padding: 7px 12px;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid rgba(36,35,32,0.14);
    background: #F3F3F1;
    color: #33312C;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    line-height: 1.3;
    transition: all .12s;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    /* Строки при переносе примерно одной длины; ширину кнопки под текст подгоняет fitChips() в catalog.js. */
    text-wrap: balance;
    text-align: left;
}
.oe-chip:hover { border-color: #E74E0F; color: #E74E0F; }
.oe-chip--active { background: #E74E0F; color: #fff; border-color: #E74E0F; }
.oe-chip--active:hover { background: #B43C0B; border-color: #B43C0B; color: #fff; }

/* Длинные группы: сверх первых кнопок — «Ещё N» (catalog.js, updateMoreButton). Выбранные видны всегда. */
.oe-chip.oe-chip--collapsed { display: none; }
.oe-chips-more {
    display: inline-block; margin: 10px 0 0; padding: 6px 12px;
    border: none; border-radius: 8px; background: #33312C; color: #fff;
    font-family: 'PT Sans', Arial, sans-serif; font-size: 13.5px; font-weight: 700;
    cursor: pointer; transition: background .12s;
}
.oe-chips-more:hover { background: #242320; }

/* Подпись у агрегатов с интерактивной моделью. */
.oe-chip--aggregate { position: relative; padding-left: 34px; }
.oe-chip--aggregate::before {
    content: '3D'; position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
    font-size: 11px; font-weight: 700; line-height: 1;
    color: currentColor; opacity: 0.7;
}
.oe-chip--aggregate.oe-chip--active::before { opacity: 1; }

/* На телефоне вместо чипов — выпадающие списки с галочками. */
.oe-mobile-dropdown { display: none; }
@media (max-width: 860px) {
    .oe-filter-toggle { display: none; }
    .oe-filter-group { padding: 12px 16px; border-bottom: none; }
    .oe-mobile-dropdown {
        display: block;
        border: 1px solid rgba(36,35,32,0.14); border-radius: 8px;
        background: #F3F3F1;
    }
    .oe-mobile-dropdown summary {
        list-style: none; cursor: pointer;
        padding: 10px 12px; font-family: 'PT Sans', Arial, sans-serif;
        font-size: 15px; color: #242320;
        display: flex; align-items: center; justify-content: space-between;
    }
    .oe-mobile-dropdown summary::-webkit-details-marker { display: none; }
    .oe-mobile-dropdown__count { color: #E74E0F; font-weight: 700; }
    .oe-mobile-dropdown__chevron {
        width: 16px; height: 16px; flex-shrink: 0; margin-left: 8px;
        color: #E74E0F; transition: transform .2s ease;
    }
    .oe-mobile-dropdown[open] .oe-mobile-dropdown__chevron { transform: rotate(180deg); }
    .oe-mobile-dropdown__list {
        max-height: 240px; overflow-y: auto;
        padding: 6px 12px 10px; border-top: 1px solid rgba(36,35,32,0.14);
    }
    .oe-mobile-dropdown__list label {
        display: block; padding: 6px 0; font-size: 15px;
        font-family: 'PT Sans', Arial, sans-serif; color: #33312C;
        font-weight: 400; letter-spacing: normal; text-transform: none; margin: 0;
    }
    .oe-mobile-dropdown__list input[type=checkbox] { margin-right: 8px; accent-color: #E74E0F; }
}

/* Телефон: фильтры свёрнуты в одну кнопку «Фильтры» (макет утверждён 16.10.2026).
   Выбранные значения видны чипами под кнопкой, внизу раскрытой панели — «Сбросить» и «Показать N». */
.oe-filters__toggle, .oe-filters__selected, .oe-filters__foot { display: none; }
@media (max-width: 860px) {
    .oe-filters { border-radius: 8px; }
    .oe-filters .oe-filters__head { padding: 0; border-bottom: none; }
    .oe-filters__title, .oe-filters__head .oe-btn-reset { display: none; }
    .oe-filters__toggle {
        display: flex; align-items: center; justify-content: space-between; width: 100%;
        padding: 10px 16px; background: none; border: 0; cursor: pointer;
        font-family: 'PT Sans', Arial, sans-serif; font-size: 15px; font-weight: 700;
        letter-spacing: .04em; text-transform: uppercase; color: #242320;
    }
    .oe-filters__badge {
        display: inline-block; min-width: 20px; margin-left: 8px; padding: 1px 7px; border-radius: 10px;
        background: #E74E0F; color: #fff; font-size: 13px; letter-spacing: 0; text-align: center; vertical-align: 1px;
    }
    .oe-filters__badge[hidden] { display: none; }
    .oe-filters__chevron { width: 18px; height: 18px; color: #E74E0F; transition: transform .2s ease; }
    .oe-filters--open .oe-filters__chevron { transform: rotate(180deg); }
    .oe-filters__selected { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 14px; }
    .oe-filters__selected[hidden] { display: none; }
    .oe-filters__selected button {
        padding: 5px 10px; border: 0; border-radius: 8px; background: #242320; color: #fff; cursor: pointer;
        font-family: 'PT Sans', Arial, sans-serif; font-size: 14px; line-height: 1.2; text-align: left;
    }
    .oe-filters:not(.oe-filters--open) .oe-filter-group { display: none; }
    .oe-filters--open .oe-filters__head { border-bottom: 1px solid rgba(36,35,32,0.14); }
    .oe-filters--open .oe-filters__selected { padding-top: 12px; }
    .oe-filters--open .oe-filters__foot {
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 12px 16px 16px;
    }
    .oe-filters__apply {
        padding: 10px 18px; border: 0; border-radius: 8px; background: #E74E0F; color: #fff; cursor: pointer;
        font-family: 'PT Sans', Arial, sans-serif; font-size: 15px; font-weight: 700;
    }
}

/* ---------- 3D-модель агрегата ---------- */

.oe-aggregate-viewer {
    background: #fff; border: 1px solid rgba(36,35,32,0.14); border-radius: 4px;
    margin-bottom: 24px; overflow: hidden;
}
.oe-aggregate-viewer__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid rgba(36,35,32,0.14);
    background: #F3F3F1;
}
.oe-aggregate-viewer__title { font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 16px; }
.oe-aggregate-viewer__close {
    background: none; border: none; cursor: pointer; font-size: 22px; line-height: 1;
    color: #726F66; padding: 2px 6px;
}
.oe-aggregate-viewer__close:hover { color: #242320; }
.oe-aggregate-viewer .oe-3d-test { padding: 18px; grid-template-columns: 1fr; }
.oe-aggregate-viewer .oe-3d-test__info { display: none; }

/* ---------- Плашки групп огнеупоров ---------- */

.oe-catalog__total { margin: 0 0 16px; color: var(--charcoal); font-size: 14px; }
.oe-catalog__total strong { color: var(--ember); }
.oe-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 28px; }
.oe-type-card {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    background: #fff; border: 1px solid rgba(36,35,32,0.14); border-radius: 4px;
    padding: 14px; cursor: pointer; text-align: left; font: inherit; color: inherit;
    transition: border-color .12s, box-shadow .12s;
}
.oe-type-card:hover { border-color: var(--ember); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.oe-type-card__photo--placeholder {
    width: 100%; aspect-ratio: 4/3; border-radius: 3px;
    background: #F7F7F6; border: 1px dashed rgba(36,35,32,0.2);
    display: flex; align-items: center; justify-content: center; color: rgba(36,35,32,0.35);
}
.oe-type-card__photo--placeholder svg { width: 28px; height: 28px; }
.oe-type-card__photo:not(.oe-type-card__photo--placeholder) {
    display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 3px; background: #E74E0F;
}
.oe-type-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.oe-type-card:hover .oe-type-card__photo img { transform: scale(1.03); }
.oe-type-card__name { font-family: 'Roboto Slab'; font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.oe-type-card__count { font-family: 'PT Sans', Arial, sans-serif; font-size: 13px; color: rgba(36,35,32,0.55); }
@media (max-width: 560px) { .oe-type-grid { gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

/* Длинные названия групп («Муллитокремнеземистые», «Корундоуглеродистые») —
   одно слово без пробелов: переносим по слогам, карточка не расширяется. */
.oe-type-grid > * { min-width: 0; }
.oe-type-card__name { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 560px) {
    .oe-type-card { padding: 10px; }
    .oe-type-card__name { font-size: clamp(12px, 3.6vw, 14.5px); }
    .oe-type-card__count { font-size: 12px; }
}

/* ---------- Карточки марок ---------- */

.oe-results__bar { margin-bottom: 14px; }
.oe-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(36,35,32,0.14); border: 1px solid rgba(36,35,32,0.14); min-width: 0; }
.oe-grid > .oe-card { min-width: 0; }
@media (max-width: 860px) { .oe-grid { grid-template-columns: 1fr; } }

.oe-card { background: #fff; padding: 24px; display: flex; flex-direction: column; transition: background .12s; }
.oe-card:hover { background: #FCFBF7; }
.oe-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.oe-card__mark { font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 22px; margin: 0; transition: color .12s; }
.oe-card:hover .oe-card__mark { color: #E74E0F; }
.oe-card__type { font-size: 14px; color: #726F66; margin-top: 6px; }
.oe-card__type:empty { display: none; }
.oe-card__gost { font-family: 'PT Sans', Arial, sans-serif; font-size: 12.5px; color: #726F66; margin-top: 10px; }
.oe-card__variants { font-family: 'PT Sans', Arial, sans-serif; font-size: 12.5px; font-weight: 600; color: #E74E0F; margin-top: 6px; }
.oe-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.oe-card__unit { font-size: 13.5px; color: #726F66; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(36,35,32,0.14); }
.oe-card__unit b { color: #33312C; }
.oe-empty { background: #fff; padding: 24px; grid-column: 1 / -1; }

.oe-card__cta { margin-top: auto; padding-top: 14px; }
.oe-card__cta a.btn { display: inline-block; text-decoration: none; }
.oe-card__cta a.btn.btn-outline { background: transparent; border-color: #242320; color: #242320; }
.oe-card__cta a.btn.btn-outline:hover { background: #E74E0F; border-color: #E74E0F; color: #fff; }

@media (max-width: 480px) {
    .oe-filters__head { padding: 14px 16px; }
    .oe-card { padding: 16px; }
    .oe-card__mark { font-size: 18px; }
    .oe-card__top { flex-wrap: wrap; }
    .oe-badge { font-size: 11.5px; }
    .oe-chip-static { font-size: 10px; padding: 4px 7px; }
}

/* ---------- Страница марки ---------- */

/* Шапка страницы марки — компактнее общей .page-head темы (52/34px) */
.oe-product-head { padding-top: 24px; padding-bottom: 12px; }
.oe-product-head .crumb { margin-bottom: 12px; }
.oe-product-head h1 { font-size: 52px; line-height: 1.05; margin: 0; }
.oe-product-head .oe-product-type-tag { margin: 8px 0 0; }
@media (max-width: 600px) {
    .oe-product-head { padding-top: 0; padding-bottom: 8px; }
    .oe-product-head .crumb { margin-bottom: 8px; }
    .oe-product-head h1 { font-size: 40px; }
    .oe-product-head .oe-product-type-tag { margin-top: 4px; }
}

/* Колонки страницы марки (grid в theme.css) не должны раздуваться под широкую
   таблицу «Где применяется» — иначе на телефоне уезжает вся страница. */
.oe-product-detail > * { min-width: 0; }
.oe-spec th,
.oe-spec td { overflow-wrap: anywhere; }

/* Характеристики марки с несколькими исполнениями — столбец на исполнение */
.oe-variants__count { font-family: 'PT Sans', Arial, sans-serif; font-size: 13px; font-weight: 600; color: #E74E0F; margin-left: 8px; white-space: nowrap; }
.oe-variants-wrap { overflow-x: auto; margin-bottom: 28px; border: 1px solid rgba(36,35,32,0.14); }
/* Изделия марки из 1С: поиск, «Типовые / По чертежам», «Показать ещё» (catalog.js, 04.11.2026) */
.oe-items-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.oe-items-tools[hidden], .oe-items-empty[hidden], .oe-items-more[hidden], .oe-items tr[hidden] { display: none; }
.oe-items-search { flex: 1 1 260px; min-width: 0; height: 44px; padding: 0 14px; font-family: 'PT Sans', Arial, sans-serif; font-size: 16px; color: #242320; background: #fff; border: 1px solid rgba(36,35,32,0.25); border-radius: 8px; }
.oe-items-search:focus { outline: none; border-color: #E74E0F; box-shadow: 0 0 0 3px rgba(231,78,15,0.18); }
.oe-items-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.oe-items-kind { min-height: 44px; padding: 8px 14px; font-family: 'PT Sans', Arial, sans-serif; font-size: 15px; color: #242320; background: #fff; border: 1px solid rgba(36,35,32,0.25); border-radius: 8px; cursor: pointer; }
.oe-items-kind.is-active { color: #fff; background: #E74E0F; border-color: #E74E0F; }
.oe-items-block .oe-variants-wrap { margin-bottom: 12px; }
.oe-items-empty { margin: 0 0 12px; color: #726F66; }
.oe-items-more { margin-bottom: 28px; }
.oe-variants { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.oe-variants th,
.oe-variants td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(36,35,32,0.14); overflow-wrap: anywhere; }
.oe-variants tr:last-child th,
.oe-variants tr:last-child td { border-bottom: none; }
.oe-variants thead th { font-family: 'PT Sans', Arial, sans-serif; font-size: 13px; font-weight: 600; color: #242320; background: #F3F3F1; white-space: nowrap; }
.oe-variants tbody th { font-weight: 400; color: #726F66; width: 36%; }
.oe-variants td { border-left: 1px solid rgba(36,35,32,0.08); }
@media (max-width: 600px) {
    .oe-variants { font-size: 14px; }
    .oe-variants th,
    .oe-variants td { padding: 8px; }
    .oe-variants tbody th { width: auto; min-width: 110px; }
}

/* Карточки «Где применяется» для телефона — на компьютере скрыты */
.oe-apps-mobile { display: none; }

@media (max-width: 600px) {
    /* Характеристики — столбиком: подпись над значением, одна линия-разделитель.
       Селекторы с .oe-product-detail — чтобы перебить обычные правила .oe-spec ниже по файлу. */
    .oe-product-detail .oe-spec,
    .oe-product-detail .oe-spec tbody,
    .oe-product-detail .oe-spec tr,
    .oe-product-detail .oe-spec th,
    .oe-product-detail .oe-spec td { display: block; width: auto; }
    .oe-product-detail .oe-spec tr { padding: 10px 0; border-bottom: 1px solid rgba(36,35,32,0.14); }
    .oe-product-detail .oe-spec tr:first-child { padding-top: 4px; }
    .oe-product-detail .oe-spec th,
    .oe-product-detail .oe-spec td { padding: 0; border: none; }
    .oe-product-detail .oe-spec th { font-size: 13.5px; margin-bottom: 3px; }
    .oe-product-detail .oe-spec td { font-size: 15px; }

    /* Таблица применения → карточки */
    .oe-product-detail .oe-apps-wrap { display: none; }
    .oe-apps-mobile { display: block; margin-bottom: 28px; }
    .oe-apps-m__industry {
        font-family: 'PT Sans', Arial, sans-serif; font-size: 12.5px; font-weight: 600;
        letter-spacing: .05em; text-transform: uppercase; color: #726F66; margin: 14px 0 8px;
    }
    .oe-apps-m__industry:first-child { margin-top: 0; }
    .oe-apps-m__card { background: #fff; border: 1px solid rgba(36,35,32,0.14); border-radius: 4px; padding: 14px; margin-bottom: 10px; }
    .oe-apps-m__aggregate { font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 16px; line-height: 1.3; margin-bottom: 10px; }
    .oe-apps-m__zones { list-style: none; margin: 0; padding: 0; }
    .oe-apps-m__zone { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid rgba(36,35,32,0.1); }
    .oe-apps-m__zone-name { font-weight: 600; font-size: 15px; color: #242320; }
    .oe-apps-m__zone-details { font-size: 13.5px; color: #726F66; line-height: 1.45; }
    /* Общие параметры — по одному в строке: подпись | значение, ровным столбцом */
    .oe-apps-m__common {
        display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px;
        margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed rgba(36,35,32,0.18);
    }
    .oe-apps-m__param { display: contents; }
    .oe-apps-m__param dt { color: #726F66; margin: 0; font-size: 13.5px; }
    .oe-apps-m__param dd { margin: 0; color: #242320; font-size: 13.5px; overflow-wrap: anywhere; }

    .oe-linked__head .oe-linked__title { font-size: 19px; }
    .oe-product-detail { gap: 24px; }
}

.oe-spec { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: 16px; }
.oe-spec th,
.oe-spec td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid rgba(36,35,32,0.14); }
.oe-spec th { width: 42%; padding-right: 20px; font-weight: 500; color: #726F66; }
.oe-spec td { color: #242320; }
.oe-spec__title { font-size: 18px; margin: 8px 0 12px; }

.oe-apps-wrap { overflow-x: auto; margin-bottom: 28px; border: 1px solid rgba(36,35,32,0.14); }
.oe-apps { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; background: #fff; }
.oe-apps th,
.oe-apps td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(36,35,32,0.14); }
.oe-apps th { font-family: 'PT Sans', Arial, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #726F66; background: #F3F3F1; }
.oe-apps td { border-right: 1px solid rgba(36,35,32,0.08); vertical-align: middle; }
.oe-apps td:last-child { border-right: none; }

.oe-linked { padding: 8px 0 48px; }
.oe-linked__title { font-size: 22px; margin-bottom: 16px; }
.oe-linked__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.oe-linked__card {
    display: flex; flex-direction: column; gap: 6px;
    background: #fff; border: 1px solid rgba(36,35,32,0.14); border-radius: 4px;
    padding: 14px 16px; text-decoration: none; color: inherit;
    transition: border-color .12s;
}
a.oe-linked__card:hover { border-color: #E74E0F; }
a.oe-linked__card:hover .oe-linked__mark { color: #E74E0F; }
.oe-linked__card--text { background: #F7F7F6; }
.oe-linked__mark { font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 16px; }
.oe-linked__group { font-size: 13.5px; color: #726F66; }

/* Похожие / сопутствующие — полноценные карточки с кнопками */
.oe-linked__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 6px; }
.oe-linked__head .oe-linked__title { margin-bottom: 0; }
.oe-linked__badge {
    font-family: 'PT Sans', Arial, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: #B43C0B; background: #FDF0E8; border: 1px dashed #E74E0F; border-radius: 2px; padding: 3px 8px;
}
.oe-linked__note { font-size: 14px; color: #726F66; margin: 0 0 16px; max-width: 760px; line-height: 1.5; }
/* Одна строка карточек с горизонтальной прокруткой (стрелки — .oe-linked__nav, логика в catalog.js) */
.oe-linked { padding-bottom: 28px; }
.oe-linked__grid--cards {
    display: flex; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding-bottom: 2px;
    /* Полоса прокрутки скрыта — листать стрелками, тачпадом, пальцем */
    scrollbar-width: none; -ms-overflow-style: none;
}
.oe-linked__grid--cards::-webkit-scrollbar { display: none; }
.oe-linked__grid--cards > .oe-linked__card { flex: 0 0 320px; scroll-snap-align: start; }
@media (max-width: 560px) { .oe-linked__grid--cards > .oe-linked__card { flex-basis: 86%; } }

/* Кнопки карточки — в одну строку, поровну по ширине */
.oe-linked__product .oe-linked__actions { flex-wrap: nowrap; gap: 8px; }
.oe-linked__product .oe-linked__actions .btn {
    flex: 1 1 0; min-width: 0; justify-content: center; text-align: center;
    white-space: nowrap; padding-left: 8px; padding-right: 8px; font-size: 14px;
}
.oe-linked__nav { display: flex; gap: 6px; margin-left: auto; }

/* «Добавить всё в подборку» (сопутствующие) */
.oe-linked__add-all { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.oe-linked__add-all-icon { width: 14px; height: 14px; flex-shrink: 0; }
.oe-linked__add-all--done { background: transparent !important; color: #B43C0B !important; border-color: #E74E0F !important; }
.oe-linked__add-all--done .oe-linked__add-all-icon { display: none; }
@media (max-width: 560px) {
    .oe-linked__add-all { order: 5; width: 100%; justify-content: center; }
}
.oe-linked__nav[hidden] { display: none; }
.oe-linked__arrow {
    width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid rgba(36,35,32,0.25); border-radius: 2px; cursor: pointer; color: #242320;
    transition: border-color .12s, color .12s;
}
.oe-linked__arrow svg { width: 18px; height: 18px; }
.oe-linked__arrow:hover:not(:disabled) { border-color: #E74E0F; color: #E74E0F; }
.oe-linked__arrow:disabled { opacity: .35; cursor: default; }
.oe-linked__head { width: 100%; }
.oe-linked__product { display: flex; flex-direction: column; gap: 8px; }
.oe-linked__product .oe-linked__mark { font-size: 22px; line-height: 1.2; }
@media (max-width: 560px) { .oe-linked__product .oe-linked__mark { font-size: 20px; } }
.oe-linked__product .oe-linked__mark a { color: inherit; text-decoration: none; }
.oe-linked__product .oe-linked__mark a:hover { color: #E74E0F; }
.oe-linked__product:hover { border-color: #E74E0F; }
.oe-linked__nd { font-family: 'PT Sans', Arial, sans-serif; font-size: 12.5px; color: #726F66; }
.oe-linked__agg { font-size: 13.5px; color: #33312C; padding-top: 8px; border-top: 1px solid rgba(36,35,32,0.1); }
.oe-linked__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.oe-linked__actions .btn { text-decoration: none; }

/* Большая строка поиска над каталогом (16.10.2026) */
.oe-search { position: relative; margin: 0 0 28px; }
.oe-search__row { position: relative; display: flex; gap: 8px; }
.oe-search__icon { position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: #726F66; pointer-events: none; }
.oe-search__input { flex: 1; min-width: 0; height: 56px; padding: 0 16px 0 48px; font-family: 'PT Sans', Arial, sans-serif; font-size: 18px; color: #242320; border: 2px solid transparent; border-radius: 10px; -webkit-appearance: none; appearance: none;
    /* обводка — градиент температурной полосы (.tempscale в theme.css) */
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #3A6B8C 0%, #6B7E63 24%, #D9A441 52%, #E74E0F 76%, #B43C0B 100%) border-box; }
.oe-search__input::placeholder { color: #8C887E; }
.oe-search__input:focus { outline: none; box-shadow: 0 0 0 3px rgba(231,78,15,0.18); }
.oe-search__btn { height: 56px; padding: 0 26px; font-family: 'PT Sans', Arial, sans-serif; font-size: 17px; font-weight: 700; color: #fff; background: #E74E0F; border: 0; border-radius: 10px; cursor: pointer; }
.oe-search__btn:hover { background: #C9410B; }
.oe-search__hints { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; color: #726F66; }
.oe-search__hint { padding: 4px 11px; font-family: inherit; font-size: 14px; color: #242320; background: #fff; border: 1px solid rgba(36,35,32,0.2); border-radius: 8px; cursor: pointer; }
.oe-search__hint:hover { border-color: #E74E0F; color: #E74E0F; }
.oe-search__suggest { position: absolute; left: 0; right: 0; top: 62px; z-index: 30; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid rgba(36,35,32,0.18); border-radius: 10px; box-shadow: 0 10px 28px rgba(36,35,32,0.14); }
.oe-search__group { padding: 10px 16px 4px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #726F66; }
.oe-search__item { display: flex; justify-content: space-between; gap: 12px; padding: 9px 16px; font-size: 16px; color: #242320; text-decoration: none; border-top: 1px solid rgba(36,35,32,0.06); }
.oe-search__item:hover, .oe-search__item:focus { background: #F7F7F6; color: #242320; }
.oe-search__item b { font-weight: 700; }
.oe-search__meta { flex-shrink: 0; font-size: 14px; color: #726F66; }
.oe-search__empty { padding: 14px 16px; font-size: 15px; color: #726F66; }
/* Поиск по номеру ТУ / ГОСТ (17.10.2026): шапка с числом марок, номера документов справа */
.oe-search__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; background: #F7F7F6; font-size: 15px; color: #242320; border-bottom: 1px solid rgba(36,35,32,0.08); }
.oe-search__all { flex-shrink: 0; padding: 0; border: 0; background: none; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700; color: #B43C0B; }
.oe-search__all:hover { color: #E74E0F; }
.oe-search__docs { max-width: 55%; text-align: right; }
button.oe-search__doc { width: 100%; border-left: 0; border-right: 0; border-bottom: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; }
.oe-search__foot { padding: 10px 16px; font-size: 14px; color: #726F66; border-top: 1px solid rgba(36,35,32,0.1); }
@media (max-width: 560px) {
    /* Телефон (16.10.2026): поле и «Найти» — каждое на всю ширину, примеры поиска скрыты. */
    .oe-search__row { flex-wrap: wrap; }
    .oe-search__icon { top: 25px; }
    .oe-search__hints { display: none; }
    .oe-search__input { flex-basis: 100%; height: 50px; font-size: 16px; }
    .oe-search__btn { width: 100%; height: 50px; padding: 0 16px; }
    .oe-search__suggest { top: 56px; }
    .oe-search__item { flex-direction: column; gap: 2px; }
    .oe-search__docs { max-width: none; text-align: left; }
    .oe-search__head { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ===== Читаемость и нажатие (17.10.2026, проверка «глазами закупщика»): текст не меньше 14px, цели под палец ===== */
.oe-filter-group__label{font-size:14px;letter-spacing:.02em;padding-top:6px;padding-bottom:6px;}
.oe-type-card__count{font-size:14px;}
.oe-card__gost,.oe-card__variants,.oe-card__unit{font-size:14px;}
.oe-badge{font-size:13px;}
.oe-chip-static{font-size:14px;padding:5px 9px;}
.oe-variants__count,.oe-variants thead th{font-size:14px;}
.oe-apps th{font-size:13px;letter-spacing:.02em;}
.oe-linked__group,.oe-linked__nd,.oe-linked__agg{font-size:14px;}
.oe-search__group{font-size:13px;letter-spacing:.04em;}
.oe-filters__selected button{min-height:40px;padding:8px 12px;font-size:15px;}
.oe-search__empty{font-size:16px;line-height:1.5;color:#33312C;padding:16px;}
.oe-search__empty a{color:#B43C0B;font-weight:700;white-space:nowrap;}
.oe-search__ask,.oe-empty__ask{margin-top:12px;padding:12px 20px;border:0;border-radius:8px;background:#E74E0F;color:#fff;
  font-family:inherit;font-size:16px;font-weight:700;cursor:pointer;}
.oe-search__ask:hover,.oe-empty__ask:hover{background:#B43C0B;}
.oe-empty p{font-size:17px;line-height:1.5;}
@media (max-width:600px){
  .oe-type-card__count{font-size:14px;}
  .oe-badge{font-size:13px;}
  .oe-chip-static{font-size:14px;padding:5px 9px;}
  .oe-product-detail .oe-spec th,.oe-apps-m__zone-details,.oe-apps-m__param dt,.oe-apps-m__param dd{font-size:14px;}
}
.oe-filter-toggle__count{font-size:13px;min-width:20px;}
.oe-empty a{color:#B43C0B;font-weight:700;white-space:nowrap;}
/* Телефон (17.10.2026, замечание пользователя): характеристики — название и значение в одну строку */
@media (max-width: 760px) {
    .oe-product-detail .oe-spec tr { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
    .oe-product-detail .oe-spec th { flex: 1 1 auto; margin: 0; font-size: 15px; }
    .oe-product-detail .oe-spec td { flex: 0 1 auto; max-width: 58%; text-align: right; font-size: 16px; font-weight: 600; }
}
/* Крупная кнопка «← Назад к каталогу» на карточке марки (17.10.2026) */
.oe-back { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 6px; padding: 10px 18px;
    border: 1.5px solid #242320; border-radius: 8px; background: #fff; color: #242320;
    font-family: 'PT Sans', Arial, sans-serif; font-size: 16px; font-weight: 700; text-decoration: none; }
.oe-back:hover { border-color: #E74E0F; color: #E74E0F; }
@media (max-width: 760px) { .oe-back { width: 100%; justify-content: center; } }
/* «← Назад» к плашкам над списком марок — на месте строки «В каталоге» (27.10.2026) */
.oe-back--groups { margin: 0; cursor: pointer; }
/* Ряд «← Назад» + «Формованные» / «Неформованные» (29.10.2026) */
.oe-back-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; scroll-margin-top: 16px; }
.oe-back-row[hidden], .oe-mt-btn[hidden] { display: none; }
.oe-mt-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
    border: 1.5px solid #E5E1DA; border-radius: 8px; background: #fff; color: #242320; cursor: pointer;
    font-family: 'PT Sans', Arial, sans-serif; font-size: 16px; font-weight: 700; }
.oe-mt-btn:hover { border-color: #E74E0F; color: #E74E0F; }
.oe-mt-btn__count { font-weight: 400; opacity: .6; }
.oe-mt-btn.is-active { border-color: #E74E0F; background: #E74E0F; color: #fff; }
.oe-mt-btn.is-active .oe-mt-btn__count { opacity: .85; }
@media (max-width: 760px) {
    .oe-back-row .oe-back--groups { flex: 1 0 100%; }
    .oe-mt-btn { flex: 1 1 0; justify-content: center; padding: 10px 8px; font-size: 15px; }
}
