/* Каталоги нового вида: /printers.html, /filament.html, /accessories.html, /ams/, /catalog/.
   Подключается после ds.css. Разметку пишет scripts/build_catalogs.js, поведение — catalog.js. */

/* ===== Заголовок раздела ===== */
.cat-head { margin-top: 8px; }
.cat-head h1 { font: 700 clamp(28px, 3.2vw, 42px)/1.1 var(--display); letter-spacing: -0.02em; }
.cat-head__lead { margin-top: 10px; max-width: 72ch; color: var(--muted); font-size: 17px; }
.cat-head__lead a { color: var(--accent-strong); font-weight: 500; }

/* ===== Каталог: фильтры слева, сетка справа ===== */
.cat { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 28px; }
.cat--plain { display: block; }
/* Фильтры прокручиваются вместе со страницей: липкая колонка с собственной прокруткой не влезала в экран,
   а её полоса прокрутки ложилась на цифры (владелец, 01.11.2026) */
.cat__filters { align-self: start; }
.cat__fhead, .cat__factions { display: none; }
.cat__form { display: flex; flex-direction: column; gap: 22px; }
.fgroup { margin: 0; padding: 0; border: 0; min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.fcheck { display: flex; align-items: center; gap: 12px; padding: 8px 12px; margin: 0 -12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
@media (hover: hover) { .fcheck:hover { background: var(--bg-2); } }
.fcheck input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent-strong); cursor: pointer; }
.fcheck span { flex: 1; min-width: 0; }
.fcheck small { color: var(--muted); font-size: 13px; }
.fcheck.is-empty { opacity: 0.45; }
.fswatches { display: flex; flex-wrap: wrap; gap: 10px; }
.fswatch { position: relative; cursor: pointer; }
.fswatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fswatch i { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); transition: transform 160ms var(--ease), box-shadow 160ms ease; }
.fswatch input:checked + i { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15), 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-strong); }
.fswatch input:focus-visible + i { outline: 2px solid var(--accent-strong); outline-offset: 4px; }
.fswatch.is-empty { opacity: 0.3; }
@media (hover: hover) { .fswatch:hover i { transform: scale(1.1); } }
.fpills { display: flex; flex-wrap: wrap; gap: 6px; }
.fpill { position: relative; cursor: pointer; }
.fpill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fpill span { display: inline-block; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; transition: box-shadow 160ms ease, background-color 160ms ease; }
.fpill input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.fpill input:focus-visible + span { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.fpill.is-empty { opacity: 0.4; }
@media (hover: hover) { .fpill:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.fdot { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }

.cat__bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cat__count { margin-right: auto; color: var(--muted); }
.cat__fbtn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--bg-2); font-weight: 600; cursor: pointer; }
.cat__fbtn i { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-strong); color: #fff; font: 600 12px/20px var(--text); font-style: normal; text-align: center; }
.cat__search { flex: 1 1 240px; max-width: 360px; order: 0; }
.cat__search input { width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 400 15px var(--text); color: var(--ink); background: var(--bg); -webkit-appearance: none; appearance: none; }
.cat__search input:focus { outline: none; border-color: var(--accent-strong); }
.cat__sort select { height: 44px; padding: 0 36px 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141a16' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; font: 500 15px var(--text); color: var(--ink); cursor: pointer; -webkit-appearance: none; appearance: none; }

.cat__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.cat__chips:empty { display: none; }
/* На компьютере фильтры и так видны слева — плашки выбранного не дублируем; на телефоне (шторка) они нужны */
@media (min-width: 901px) { .cat__chips { display: none; } }
.cat__chips:not(:empty) { margin-bottom: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 14px; border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.chip::after { content: '×'; font-size: 18px; line-height: 1; color: var(--muted); }
.chip--reset { padding: 0 14px; background: none; color: var(--accent-strong); }
.chip--reset::after { content: none; }

.cat__grid { margin-top: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat--plain .cat__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.card[hidden] { display: none; }
.cat__empty { margin-top: 32px; padding: 40px 24px; border-radius: var(--r); background: var(--bg-2); text-align: center; }
.cat__empty p { font-size: 17px; margin-bottom: 16px; }
.cat__reset { border: 0; background: none; color: var(--accent-strong); font-weight: 600; cursor: pointer; padding: 10px; }

/* ===== Принтеры — по образцу магазина Bambu Lab ===== */
.pbanner { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 24px; margin: 0 0 20px; padding: clamp(24px, 3vw, 40px) clamp(22px, 3vw, 44px); border-radius: var(--r); color: #fff; text-decoration: none; overflow: hidden;
  /* тёмный баннер, как тёмный слайд на главной; светлое пятно за принтерами — иначе тёмные корпуса теряются */
  background: radial-gradient(ellipse 55% 75% at 74% 58%, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 70%), linear-gradient(115deg, #121416 0%, #23272a 55%, #2e3337 100%);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.55); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.pbanner__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative; z-index: 1; }
.pbanner__chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.85); font: 600 13px/1.2 var(--text); font-style: normal; letter-spacing: 0.02em; }
.pbanner__chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.25); }
.pbanner__text b { font: 700 clamp(24px, 2.6vw, 34px)/1.12 var(--display); letter-spacing: -0.01em; }
.pbanner__text span { color: rgba(255, 255, 255, 0.72); font-size: clamp(15px, 1.2vw, 17px); max-width: 34ch; }
.pbanner__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 13px 22px; border-radius: 12px; background: var(--accent-strong); color: #fff; font: 600 16px/1 var(--text); font-style: normal; transition: background 200ms var(--ease), transform 200ms var(--ease); }
.pbanner__btn::after { content: '→'; transition: transform 200ms var(--ease); }
.pbanner img { width: 100%; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35)); transition: transform 500ms var(--ease); }
@media (hover: hover) { .pbanner:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); } .pbanner:hover img { transform: scale(1.03); } .pbanner:hover .pbanner__btn::after { transform: translateX(4px); } }
.cat[data-kind="printers"] .cat__grid, .cat__grid:has(.pcard) { gap: 32px 20px; }
.pcard { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pcard[hidden] { display: none; }
.pcard__img { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; background: #f5f5f5; overflow: hidden; margin-bottom: 8px; }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 400ms ease, transform 600ms var(--ease); }
.pcard__alt { opacity: 0; }
@media (hover: hover) {
  .pcard__img.has-alt:hover img:not(.pcard__alt) { opacity: 0; }
  .pcard__img.has-alt:hover .pcard__alt { opacity: 1; }
  .pcard__img:not(.has-alt):hover img { transform: scale(1.04); }
  .pcard__name:hover { color: var(--accent-strong); }
}
.pcard__name { font-size: 18px; font-weight: 500; text-decoration: none; }
.pcard__desc { color: var(--muted); font-size: 14px; line-height: 1.4; }
.pcard__price { font-size: 15px; }
.pcard__price b { font: 700 22px/1.2 var(--text); }
.pcard__price s { color: var(--muted); font-size: 14px; margin-left: 4px; white-space: nowrap; }
.pcard__price b { white-space: nowrap; }
.pcard .stock { font-size: 13px; }
.pguide__lead { max-width: 760px; }
.pguide { counter-reset: g; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 0; padding: 0; list-style: none; }
.pguide li { counter-increment: g; position: relative; padding: 22px 22px 22px 70px; border-radius: var(--r); background: var(--bg-2); }
.pguide li::before { content: counter(g); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-strong); color: #fff; font: 700 17px/34px var(--text); text-align: center; }
.pguide b { font: 600 18px/1.3 var(--display); }
.pguide p { margin-top: 6px; }
.pguide__cta { margin-top: 18px; padding: 18px 22px; border-radius: var(--r); background: var(--accent-soft); }
.cat-about:has(.pguide) { max-width: var(--wrap); }

.frange { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.frange input { width: 100%; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 15px var(--text); color: var(--ink); background: var(--bg); -moz-appearance: textfield; }
.frange input::-webkit-inner-spin-button, .frange input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.frange input:focus { outline: none; border-color: var(--accent-strong); }
/* Переключатели «да/нет» — выглядят как тумблер */
.fcheck--switch input { -webkit-appearance: none; appearance: none; position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--bg-3); transition: background-color 160ms ease; order: 2; }
.fcheck--switch input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform 180ms var(--ease); }
.fcheck--switch input:checked { background: var(--accent-strong); }
.fcheck--switch input:checked::after { transform: translateX(16px); }
.fcheck--switch small { order: 1; }
.fgroup--toggles { display: flex; flex-direction: column; }
.cat__bar--min { min-height: 0; }
@media (min-width: 901px) { .cat__bar--min { display: none; } .cat__bar--min + .cat__chips:not(:empty) { margin-top: 0; } .cat__bar--min ~ .cat__grid { margin-top: 0; } }

/* ===== Текст раздела ===== */
.cat-about { margin-top: clamp(56px, 7vw, 96px); max-width: 860px; }
.cat-about h2 { font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -0.01em; margin-bottom: 12px; }
.cat-about h3 { font: 600 18px/1.3 var(--display); margin: 22px 0 6px; }
.cat-about p { margin-top: 8px; line-height: 1.6; }
.cat-about a { color: var(--accent-strong); }

/* ===== AMS: совместимость и сравнение ===== */
.ams-compat__scroll, .ams-cmp__scroll { position: relative; overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.ams-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ams-table th, .ams-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.ams-table tr:last-child th, .ams-table tr:last-child td { border-bottom: 0; }
.ams-table thead th { background: var(--bg-2); font-weight: 600; font-size: 14px; }
.ams-table thead th a, .ams-table tbody th a { text-decoration: none; }
.ams-table tbody th { text-align: left; font-weight: 600; position: sticky; left: 0; background: var(--bg); }
.ams-table td.yes { color: var(--accent-strong); font-weight: 700; font-size: 18px; background: var(--accent-soft); }
.ams-table--specs td { white-space: normal; min-width: 150px; }
.ams-compat__note { margin-top: 12px; color: var(--muted); }
.ams-compat__notes { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 15px; }
.ams-compat__notes a, .ams-table--combo a { color: var(--accent-strong); }
.ams-compat__lead { margin: -8px 0 14px; color: var(--muted); }
.ams-table sup { font-size: 11px; margin-left: 1px; }
.ams-table--combo td { text-align: left; white-space: normal; }
.ams-compat__note a { color: var(--accent-strong); }

/* ===== Страница материала ===== */
.mat__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mat-box { padding: 20px; border-radius: var(--r); background: var(--bg-2); }
.mat-box h3 { font: 600 17px/1.3 var(--display); margin-bottom: 10px; }
.mat-box ul { display: flex; flex-direction: column; gap: 6px; }
.mat-box li { position: relative; padding-left: 18px; line-height: 1.45; }
.mat-box li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.mat-table td { text-align: left; }
.cat--plain .cat__bar { margin-bottom: 16px; }
.cat--plain .cat__bar .more { margin-left: auto; }

/* ===== Сводный каталог ===== */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.hub-tile { display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.hub-tile__main { position: relative; display: flex; justify-content: space-between; gap: 12px; min-height: 170px; padding: 20px; text-decoration: none; }
.hub-tile__main span { display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; max-width: 60%; }
.hub-tile__main b { font: 700 22px/1.2 var(--display); letter-spacing: -0.01em; }
.hub-tile__main small { color: var(--muted); font-size: 14px; }
.hub-tile__main img { position: absolute; right: 8px; bottom: 0; width: 46%; height: 90%; object-fit: contain; object-position: right bottom; transition: transform 400ms var(--ease); }
@media (hover: hover) { .hub-tile__main:hover img { transform: scale(1.04); } }
.hub-tile--accent { background: var(--accent-strong); }
.hub-tile--accent .hub-tile__main b, .hub-tile--accent .hub-tile__main small { color: #fff; }
.hub-tile--accent .hub-tile__main span { max-width: none; }
.hub-tile__links { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 20px; }
.hub-tile__links a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--bg); font-size: 14px; text-decoration: none; }
@media (hover: hover) { .hub-tile__links a:hover { color: var(--accent-strong); } }

/* ===== Планшет ===== */
@media (max-width: 1180px) {
  .cat { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat--plain .cat__grid, .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ===== Телефон: фильтры — шторка снизу ===== */
@media (max-width: 900px) {
  .cat { display: block; margin-top: 20px; }
  .pbanner { grid-template-columns: 1fr; padding: 24px 20px 16px; gap: 14px; }
  .pbanner__btn { width: 100%; justify-content: center; }
  .pguide { grid-template-columns: 1fr; }
  .pguide li { padding: 18px 18px 18px 62px; }
  .pcard__name { font-size: 16px; }
  .pcard__price b { font-size: 18px; }
  .cat__fbtn { display: inline-flex; }
  .cat__search { flex-basis: 100%; max-width: none; order: 3; }
  .cat__count { order: 4; width: 100%; margin: 0; font-size: 14px; }
  .cat__sort { margin-left: auto; }
  .cat__filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 90; max-height: 88vh; padding: 0; border-radius: 20px 20px 0 0; background: var(--bg); box-shadow: 0 -12px 40px rgba(14, 36, 22, 0.2); display: flex; flex-direction: column; transform: translateY(105%); visibility: hidden; transition: transform 300ms var(--ease), visibility 0s 300ms; }
  .cat__filters.is-open { transform: none; visibility: visible; transition: transform 300ms var(--ease); }
  .cat__fhead { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px; font-size: 18px; }
  .cat__x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-2); font-size: 24px; line-height: 1; cursor: pointer; }
  .cat__form { overflow: auto; padding: 8px 20px 16px; overscroll-behavior: contain; }
  .cat__factions { display: flex; align-items: center; gap: 8px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .cat__factions .btn { flex: 1; }
  .cat-shade { position: fixed; inset: 0; z-index: 89; background: rgba(14, 36, 22, 0.4); }
  .cat__grid, .cat--plain .cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; margin-top: 16px; }
  .hub { grid-template-columns: 1fr; }
}

/* ===== Сводный каталог /catalog/ — отделы магазина ===== */
.hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hub-stats { display: flex; gap: 10px; }
.hub-stats li { display: flex; flex-direction: column; min-width: 150px; padding: 14px 18px; border-radius: var(--r); background: var(--bg-2); }
.hub-stats b { font: 800 30px/1 var(--display); letter-spacing: -0.02em; }
.hub-stats span { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.3; }
.hub-nav { display: flex; gap: 6px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; }
.hub-nav::-webkit-scrollbar { display: none; }
.hub-nav a { flex: none; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px; text-decoration: none; }
@media (hover: hover) { .hub-nav a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.hub2 { display: flex; flex-direction: column; gap: 56px; margin: 32px auto 64px; }
.dept { scroll-margin-top: 150px; }
.dept__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.dept__head h2 { font: 700 clamp(26px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -0.02em; }
.dept__head h2 a { text-decoration: none; }
.dept__head p { margin-top: 6px; color: var(--muted); font-size: 16px; max-width: 640px; }
.dept__all { flex: none; color: var(--accent-strong); font-weight: 600; text-decoration: none; white-space: nowrap; }
.dept__all::after { content: ' →'; }
@media (hover: hover) { .dept__all:hover { text-decoration: underline; } }

/* Ряд товаров отдела: фото на серой подложке, название, подпись, цена */
.lu { display: grid; gap: 14px; }
.lu--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lu--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lu a { position: relative; display: flex; flex-direction: column; gap: 2px; height: 100%; text-decoration: none; }
.lu__img { display: block; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.lu__img img { width: 100%; height: 100%; object-fit: contain; padding: 7% 14%; transition: transform 400ms var(--ease); }
@media (hover: hover) { .lu a:hover .lu__img img { transform: scale(1.05); } .lu a:hover b { color: var(--accent-strong); } }
.lu b { font: 700 17px/1.25 var(--display); transition: color 160ms ease; }
.lu small { color: var(--muted); font-size: 14px; line-height: 1.35; }
.lu__price { margin-top: 4px; font-weight: 700; font-size: 16px; }
.lu__tag { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 12px/1.4 var(--text); font-style: normal; }
/* Фото аксессуаров — вырезки без белых полей (images/site/catalog/acc/), товар вписан в плитку по большей стороне; белое растворяется в сером (04.11.2026) */
.lu--acc .lu__img { aspect-ratio: 1 / 1; }
.lu--acc .lu__img img { padding: 0; mix-blend-mode: multiply; }
@media (hover: hover) { .lu--acc a:hover .lu__img img { transform: scale(1.05); } }

/* Пластик: материалы слева, стена всех цветов в наличии справа */
.fil-hub { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.fil-hub__mats { display: flex; flex-direction: column; gap: 8px; }
.fil-hub__mats a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); text-decoration: none; }
.fil-hub__mats b { font: 700 18px/1.2 var(--display); }
.fil-hub__mats span { color: var(--muted); font-size: 14px; white-space: nowrap; }
@media (hover: hover) { .fil-hub__mats a:hover b { color: var(--accent-strong); } }
.fil-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; padding: 14px; border-radius: var(--r); background: var(--bg-2); }
.fil-wall a { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; background: var(--bg); overflow: hidden; transition: transform 200ms var(--ease), box-shadow 200ms ease; }
.fil-wall img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .fil-wall a:hover { transform: scale(1.12); z-index: 1; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); } }

/* Акции и услуги */
.hub-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
.hub-duo a { position: relative; display: flex; min-height: 220px; border-radius: var(--r); overflow: hidden; text-decoration: none; }
.hub-duo b { font: 700 28px/1.15 var(--display); letter-spacing: -0.01em; }
.hub-duo i { margin-top: auto; font-style: normal; font-weight: 600; }
.hub-duo__sale { flex-direction: column; gap: 8px; padding: 26px; background: var(--ink); color: #fff; }
.hub-duo__sale span { max-width: 58%; color: rgba(255, 255, 255, 0.75); font-size: 16px; }
.hub-duo__sale i { color: #fff; }
.hub-duo__sale::after { content: '%'; position: absolute; right: 18px; bottom: -36px; font: 800 200px/1 var(--display); color: var(--sale); opacity: 0.9; }
.hub-duo__srv { background: var(--bg-2); }
.hub-duo__srv > span { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; max-width: 52%; padding: 26px; }
.hub-duo__srv > span > span { color: var(--muted); font-size: 16px; }
.hub-duo__srv i { color: var(--accent-strong); }
.hub-duo__srv img { position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) { .lu--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hub-stats { width: 100%; }
  .hub-stats li { flex: 1; min-width: 0; padding: 12px; }
  .hub-stats b { font-size: 24px; }
  .hub-stats span { font-size: 13px; }
  .hub2 { gap: 40px; }
  /* на телефоне ряды листаются пальцем, следующий товар выглядывает справа */
  .hub2 .lu--5, .hub2 .lu--4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding-inline: var(--pad); gap: 12px; }
  .lu::-webkit-scrollbar { display: none; }
  .lu li { flex: 0 0 42%; scroll-snap-align: start; }
  .dept__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fil-hub { grid-template-columns: 1fr; }
  .fil-hub__mats { display: grid; grid-template-columns: 1fr 1fr; }
  .fil-hub__mats a { flex-direction: column; gap: 2px; }
  .fil-wall { grid-template-columns: none; grid-template-rows: repeat(3, 72px); grid-auto-flow: column; grid-auto-columns: 72px; gap: 6px; padding: 10px; overflow-x: auto; scrollbar-width: none; }
  .fil-wall::-webkit-scrollbar { display: none; }
  .hub-duo { grid-template-columns: 1fr; }
  .hub-duo a { min-height: 170px; }
  .hub-duo b { font-size: 24px; }
}

/* сортировка — свой выпадающий список (shell.js → HLSelect) */
.cat__sort .hsel { min-width: 220px; }
.cat__sort .hsel__btn { min-height: 44px; font-weight: 500; }

/* ===== Гид по пластику (/filament-guide/…) ===== */
.sr-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mat-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.mat-hero__img { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg); }
.mat-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mat-hero__sum { margin-top: 16px; font-size: 15px; color: var(--muted); }
.mat-hero__sum a, .guide-toc a { color: var(--accent-strong); font-weight: 500; }
.mat-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 18px; }
.mat-facts div { padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.mat-facts dt { font-size: 13px; color: var(--muted); }
.mat-facts dd { margin: 2px 0 0; font: 600 15px/1.3 var(--display); }
.guide-toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: 15px; }
/* шкалы свойств */
.pbars { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.pbar { display: grid; grid-template-columns: 128px 1fr; gap: 10px; align-items: center; font-size: 14px; }
.pbar dt { color: var(--muted); }
.pbar dd { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.pbar dd > i { flex: 1; height: 8px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.pbar dd > i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 4px; background: var(--accent-strong); transform-origin: left; transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1); }
.pbar span { white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.pbar--note span { text-align: left; min-width: 0; white-space: normal; }
.dots { display: flex; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--accent-strong); }
.pbars--sm .pbar { grid-template-columns: 112px 1fr; font-size: 13px; }
.pbars--sm .pbar dd > i { height: 6px; }
.pbars--sm .pbar span { min-width: 64px; font-size: 12px; }
/* плитки типов */
.ftiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.ftile { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r); background: var(--bg-2); }
.ftile__head { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.ftile__head img { width: 64px; height: 64px; border-radius: 12px; background: var(--bg); flex: none; }
.ftile__head b { display: block; font: 600 17px/1.25 var(--display); }
.ftile__head:hover b { color: var(--accent-strong); }
.ftile__head small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.ftile__when { font-size: 14.5px; line-height: 1.45; }
.ftile__when a { color: var(--accent-strong); }
.ftile__sw { display: flex; align-items: center; gap: 4px; margin-top: auto; text-decoration: none; }
.ftile__sw img { width: 26px; height: 26px; border-radius: 50%; background: var(--bg); }
.ftile__sw span { font-size: 13px; color: var(--muted); margin-left: 4px; }
/* фото */
.gstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 31%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.gstrip__item { margin: 0; scroll-snap-align: start; }
.gstrip__item img, .task img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-radius: var(--r); background: var(--bg-2); }
.gstrip__item figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.gstrip__item figcaption a { color: var(--accent-strong); }
/* текст */
.guide__text { max-width: 76ch; display: flex; flex-direction: column; gap: 12px; font-size: 16.5px; line-height: 1.6; }
.guide__text a, .guide__vs a, .guide__pair a, .tasks a, .guide__more a, .mat-box li a { color: var(--accent-strong); }
.guide--split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
.guide--split .block__head { grid-column: 1 / -1; margin-bottom: 0; }
.guide__boxes { display: flex; flex-direction: column; gap: 12px; }
.mat-box--no li::before { background: var(--muted); }
.guide__pair, .guide__vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.guide__pair p, .guide__vs p { line-height: 1.55; }
.guide__pair p + p, .guide__vs p + p { margin-top: 10px; }
.guide__more { margin-top: 8px; color: var(--muted); }
.guide .ams-cmp__scroll { margin-top: 24px; }
.vsbars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.vsb > b { font-size: 13px; font-weight: 600; }
.vsb__row { display: grid; grid-template-columns: 110px 1fr 84px; gap: 8px; align-items: center; font-size: 13px; margin-top: 4px; }
.vsb__row i { height: 7px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.vsb__row i::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--accent-strong); border-radius: 4px; transform-origin: left; transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1); }
.vsb__row em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
/* корневая /filament-guide/ */
.tasks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.task { display: flex; flex-direction: column; gap: 10px; }
.task b { display: block; font-weight: 600; margin-bottom: 4px; }
.task span { line-height: 1.45; font-size: 15px; }
.mat-cmp th small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.mat-prn td { text-align: center; }
.mat-prn .is-ok { color: var(--accent-strong); font-weight: 700; }
.mat-prn .is-no { color: var(--muted); }
@media (max-width: 900px) {
  .mat-hero, .guide--split { grid-template-columns: 1fr; }
  .mat-hero__img { order: -1; aspect-ratio: 16 / 8; }
}
@media (max-width: 600px) {
  .gstrip { grid-auto-columns: 78%; }
  .ftiles, .guide__vs, .guide__pair { grid-template-columns: 1fr; }
  .tasks { grid-template-columns: 1fr 1fr; gap: 12px; }
  .task span { font-size: 14px; }
}
.gstrip__item img { aspect-ratio: 4 / 5; object-position: center 30%; }
/* Плиток больше 8: на компьютере остальные — по кнопке (чекбокс без JS), на телефоне — лента вбок */
.ftiles__all { display: flex; width: max-content; margin: 16px auto 0; cursor: pointer; }
#ftAll:not(:checked) ~ .ftiles .ftile:nth-child(n+9) { display: none; }
#ftAll:checked ~ .ftiles__all { display: none; }
#ftAll:focus-visible ~ .ftiles__all { outline: 3px solid var(--accent-strong); outline-offset: 2px; }
@media (max-width: 600px) {
  .ftiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .ftile { scroll-snap-align: start; }
  #ftAll:not(:checked) ~ .ftiles .ftile:nth-child(n+9) { display: flex; }
  .ftiles__all { display: none; }
}
.pbars, .ftile { position: relative; }

/* шкалы «наливаются» при появлении (plastik.js ставит .is-grow, затем .is-in); без JS и при reduce — сразу полные */
.is-grow:not(.is-in) .pbar dd > i::before, .is-grow:not(.is-in) .vsb__row i::before { transform: scaleX(0); }
.is-grow .pbar:nth-child(2) i::before, .is-grow .vsb:nth-child(2) i::before { transition-delay: 80ms; }
.is-grow .pbar:nth-child(3) i::before, .is-grow .vsb:nth-child(3) i::before { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .pbar dd > i::before, .vsb__row i::before { transition: none; }
}

/* Таблицы пластины / сопла / сушки (tables.json): цвет — только маркер-точка, без заливки */
.mat-kit__h { margin: 22px 0 10px; font: 700 18px/1.25 var(--display); }
.mat-kit th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.mat-kit tbody th small { display: none; }
.mat-kit td { font-size: 14px; }
.mat-kit td[class]::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: var(--muted); }
.mat-kit td.is-ok::before, .mat-kit td.is-best::before { background: var(--accent-strong); }
.mat-kit td.is-best { font-weight: 600; }
.mat-kit td.is-glue::before, .mat-kit td.is-warn::before, .mat-kit td.is-must::before { background: #d08a00; }
.mat-kit td.is-no::before { background: #c8372d; }
.mat-kit td.is-no, .mat-kit td.is-na { color: var(--muted); }
.mat-kit thead th { text-align: left; }

/* ===== Карточки «Виды пластика» (mc): фото, паутинка свойств, режимы. Без зелёных заливок: фигура — штрих
   зелёным и светло-серая заливка ===== */
.mcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.mc a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; overflow: hidden; transition: box-shadow 200ms ease, transform 200ms cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) { .mc a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); } .mc a:hover .mc__foot em { color: var(--accent-strong); } .mc a:hover .mc__img img { transform: scale(1.03); } }
.mc__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.mc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.mc__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 20px 18px; }
.mc__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mc__title b { font: 800 28px/1 var(--display); letter-spacing: -0.02em; }
.mc__tag { padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.mc__tag--closed { color: #9a5a00; }
.mc__line { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; min-height: 2.9em; }
.mc__chart { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg-2); }
.rd { display: block; width: 132px; height: 132px; overflow: visible; }
.rd__ring { fill: none; stroke: #d9ddda; stroke-width: 0.8; }
.rd__ring:last-child { fill: #fff; }
.rd__grid polygon:last-of-type { fill: #fff; }
.rd__axis { stroke: #d9ddda; stroke-width: 0.8; }
.rd__poly { fill: rgb(17 20 18 / .08); stroke: var(--accent-strong); stroke-width: 2; stroke-linejoin: round; }
.rd__dot { fill: var(--accent-strong); }
.rd__n { fill: var(--muted); font: 700 8px/1 var(--text); text-anchor: middle; dominant-baseline: middle; }
.rd__shape { transform-box: view-box; transform-origin: 60px 60px; transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease; }
.rd.is-grow:not(.is-in) .rd__shape { transform: scale(0.15); opacity: 0; }
.mc__vals { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.mc__vals div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mc__vals dt { display: flex; align-items: center; gap: 6px; color: var(--muted); min-width: 0; }
.mc__vals dt i { display: inline-grid; place-items: center; flex: none; width: 15px; height: 15px; border-radius: 50%; background: #fff; color: var(--ink); font: 700 9px/1 var(--text); font-style: normal; }
.mc__vals dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mc__flex { display: flex; align-items: center; gap: 14px; min-height: 156px; padding: 14px; border-radius: 14px; background: var(--bg-2); }
.mc__flex svg { flex: none; color: var(--accent-strong); }
.mc__flex div { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.mc__flex b { color: var(--ink); font-size: 15px; }
.mc__ease { color: var(--ink) !important; font-weight: 600; }
.mc__chips { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mc__chips li { display: flex; flex-direction: column; gap: 1px; flex: 1; padding: 7px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.mc__chips span { color: var(--muted); font-size: 12px; }
.mc__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-top: auto; padding-top: 4px; }
.mc__foot small { color: var(--muted); font-size: 13px; }
.mc__foot em { font-style: normal; font-weight: 700; font-size: 14px; transition: color 160ms ease; }
@media (max-width: 1100px) { .mcs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mcs { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .rd__shape { transition: none; } }

/* ===== Общая таблица сравнения пластиков (.fc) — по образцу «Compare» Bambu Lab ===== */
.fc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fc-filter button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--ink); font: 600 14px/1 var(--text); cursor: pointer; }
.fc-filter small { color: var(--muted); font-weight: 500; }
.fc-filter .is-on { background: var(--ink); color: #fff; }
.fc-filter .is-on small { color: rgb(255 255 255 / .6); }
/* Шапка закреплена: внутри блока с прокруткой по горизонтали sticky к окну не прилипает,
   поэтому таблица прокручивается в своём окне по высоте — шапка и первая колонка остаются на месте */
.fc-scroll { max-height: min(78vh, 820px); overflow: auto; overscroll-behavior-x: contain; border-radius: var(--r); background: var(--bg-2); }
.fc-table { width: 100%; min-width: 1040px; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.fc-table thead th { position: sticky; top: 0; z-index: 2; padding: 0; background: var(--bg-2); text-align: left; vertical-align: bottom; box-shadow: inset 0 -1px 0 var(--line); }
.fc-table thead button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 14px 12px 12px; border: 0; background: none; color: var(--ink); font: 700 13px/1.2 var(--text); text-align: left; cursor: pointer; }
.fc-table thead button small { color: var(--muted); font-weight: 500; font-size: 12px; }
.fc-table thead button::after { content: '↕'; color: #b7beb9; font-weight: 400; }
.fc-table th[aria-sort="descending"] button::after { content: '↓'; color: var(--accent-strong); }
.fc-table th[aria-sort="ascending"] button::after { content: '↑'; color: var(--accent-strong); }
.fc-table thead button:hover { color: var(--accent-strong); }
.fc-table thead button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.fc-table .fc-corner { left: 0; z-index: 3; }
.fc-table tbody th, .fc-table td { padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--bg-2); vertical-align: middle; }
.fc-table tbody th { position: sticky; left: 0; z-index: 1; min-width: 210px; box-shadow: 1px 0 0 var(--line); }
.fc-table tbody th a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.fc-table tbody th img { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--bg-2); object-fit: contain; }
.fc-table tbody th span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fc-table tbody th b { font-size: 14px; font-weight: 700; }
.fc-table tbody th small { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.fc-table tbody th a:hover b { color: var(--accent-strong); }
.fc-table tbody tr:hover > * { background: #fafbfa; }
.fc-table tbody tr[hidden] { display: none; }
.fc-table td { min-width: 104px; }
.fc-v { display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
.fc-bar { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: var(--bg-2); }
.fc-bar i { display: block; height: 100%; border-radius: 2px; background: var(--accent-strong); }
.fc-bar--inv i { background: #9aa39d; }
.fc-na { color: #b7beb9; }
.fc-prn { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--bg-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.fc-prn.is-closed { color: #9a5a00; }
.fc-table .dots i { width: 8px; height: 8px; }
@media (max-width: 760px) { .fc-table tbody th { min-width: 156px; } .fc-table tbody th img { display: none; } .fc-scroll { margin-right: -16px; border-radius: var(--r) 0 0 var(--r); } }

/* Карточки «Виды пластика» — как карточки сайта: серая подложка без обводки */
.mc a { background: var(--bg-2); box-shadow: none; }
@media (hover: hover) { .mc a:hover { box-shadow: 0 12px 32px rgb(17 20 18 / .08); transform: translateY(-3px); } }
.mc__chart, .mc__flex { background: #fff; }
.mc__vals dt i { background: var(--bg-2); }
.mc__chips li { background: #fff; box-shadow: none; }
.mc__tag { background: #fff; }
.fc-scroll, .fc-table td, .fc-table caption { position: relative; }
.fc-table tbody th { text-align: left; }
.fc-table thead button { position: relative; padding-right: 22px; }
.fc-table thead button::after { position: absolute; top: 14px; right: 8px; }
.fc-x__n { display: flex; align-items: center; gap: 10px; }
.fc-x__n::before { content: ''; flex: none; width: 40px; height: 40px; border-radius: 8px; background: repeating-linear-gradient(45deg, var(--bg-2) 0 6px, #e8ebe9 6px 12px); }
@media (max-width: 760px) { .fc-x__n::before { display: none; } }
.fc-table tr.fc-x th b { color: var(--muted); }
.mx-more { margin-top: 20px; padding: 22px 24px; border-radius: var(--r); background: var(--bg-2); }
.mx-more__h { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.mx-more__h b { font: 700 19px/1.25 var(--display); }
.mx-more__h span { color: var(--muted); font-size: 15px; }
.mx-more__h a { color: var(--accent-strong); font-weight: 600; }
.mx-more ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.mx-more li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.4; }
.mx-more li b { font: 700 16px/1.2 var(--display); }
.mx-more li span { color: var(--muted); }
.mx-more li small { margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 12px; color: var(--ink); }
.fc-table tbody th .fc-x__n { flex-direction: row; align-items: center; gap: 10px; }
/* Материалы под заказ */
.mx-more__h2 { margin: 36px 0 16px; }
.mx-more__h2 h3 { font: 700 22px/1.2 var(--display); }
.mx-more__h2 p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.mx-more__h2 a { color: var(--accent-strong); font-weight: 600; }
.ftile--x .ftile__head img { object-fit: cover; border-radius: 10px; }
.ftile__kv { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.ftile__kv li { display: flex; flex-direction: column; gap: 1px; padding: 6px 9px; border-radius: 8px; background: #fff; font-size: 13px; }
.ftile__kv span { color: var(--muted); font-size: 11px; }
.ftile:target { box-shadow: 0 0 0 2px var(--accent-strong); }
/* Интерактив диаграммы */
.rd__hit { fill: transparent; cursor: pointer; }
.rd__dot { transition: r 200ms ease, fill 200ms ease; }
.rd__node.is-on .rd__dot { r: 4.6; fill: var(--ink); }
.rd__axis { transition: stroke 200ms ease, stroke-width 200ms ease; }
.rd__axis.is-on { stroke: var(--accent-strong); stroke-width: 1.6; }
.rd__n { cursor: pointer; transition: fill 200ms ease; }
.rd__n.is-on { fill: var(--accent-strong); font-size: 10px; }
.mc__vals div { padding: 2px 6px; margin: 0 -6px; border-radius: 6px; cursor: default; transition: background-color 200ms ease, opacity 200ms ease; }
.is-focus .mc__vals div { opacity: 0.45; }
.is-focus .mc__vals div.is-on { opacity: 1; background: var(--bg-2); }
.mc__vals div.is-on dt i { background: var(--accent-strong); color: #fff; }
.is-focus .rd__node:not(.is-on) .rd__dot { fill: #9aa39d; }
.fc-table tbody th .fc-x__n img { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.fc-x__n::before { content: none; }
.fc-table tr.fc-x th b { color: var(--ink); }

/* Инженерные пластики: «в цифрах», применения с фото, когда не подходят */
.eab { display: flex; flex-direction: column; gap: 24px; }
.eab .guide__text { max-width: 860px; }
.eab .hb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.eab__nums { padding: 22px 24px; border-radius: var(--r); background: var(--bg-2); }
.eab__k { margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 600; }
.hb-grid { display: flex; flex-direction: column; gap: 20px; }
.hb { margin: 0; }
.hb figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.hb figcaption b { font: 700 16px/1.2 var(--display); }
.hb figcaption span { color: var(--muted); font-size: 12px; }
.hb ul { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; list-style: none; }
.hb li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; align-items: center; gap: 10px; font-size: 13px; border-radius: 6px; transition: background-color 150ms ease; }
.hb li span { font-weight: 600; white-space: nowrap; }
.hb li i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--accent-strong) var(--w), #fff var(--w)); }
.hb li.is-ref span { color: var(--muted); font-weight: 500; }
.hb li.is-ref i { background: linear-gradient(90deg, #9aa39d var(--w), #fff var(--w)); }
.hb li b { text-align: right; font-variant-numeric: tabular-nums; }
.hb li:hover { background: #fff; }
.eu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.eu { display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.eu img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.eu > span { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.eu b { font: 700 17px/1.3 var(--display); }
.eu small { color: var(--accent-strong); font-size: 14px; font-weight: 700; }
@media (hover: hover) { .eu:hover img { transform: scale(1.04); } }
.ea { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; padding: 0; list-style: none; }
.ea li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.5; }
.ea__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-2); color: #9a5a00; }
.ea a { color: var(--accent-strong); font-weight: 600; }
@media (max-width: 960px) { .eab .hb-grid { grid-template-columns: 1fr; } .eu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .eu-grid, .ea { grid-template-columns: 1fr; } }
.eab--side { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.eab--side .hb-grid { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 960px) { .eab--side { grid-template-columns: 1fr; } }

/* ===== /filament-guide/sushka/ — сушка пластика (02.11.2026): фото Bambu Lab, признаки, способы, шаги, AMS, хранение ===== */
.dr-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.dr-hero__img { margin: 0; }
.dr-hero__img img, .dr-pair img, .dr-wide img, .dr-bed__img img, .dr-methods__img img { display: block; width: 100%; height: auto; border-radius: var(--r); background: #fff; }
.dr-hero__img figcaption, .dr-pair figcaption, .dr-wide figcaption, .dr-bed__img figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.dr-why { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.dr-quote { margin: 0; padding: 22px 24px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 4px 0 0 var(--accent-strong); }
.dr-quote p { font: 600 17px/1.5 var(--display); }
.dr-quote cite { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; font-style: normal; }
.dr-lead { max-width: 72ch; margin: -6px 0 18px; font-size: 17px; line-height: 1.55; }
.dr-signs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.dr-signs li { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r); background: var(--bg-2); }
.dr-signs b { font: 700 16px/1.25 var(--display); }
.dr-signs p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.dr-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--accent-strong); }
.dr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dr-pair figure, .dr-wide, .dr-bed__img { margin: 0; }
.dr-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dr-methods > li { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 14px 14px 20px; border-radius: var(--r); background: var(--bg-2); }
.dr-methods__n { position: absolute; top: 24px; left: 24px; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 15px/1 var(--display); }
.dr-methods__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #fff; }
.dr-methods__img img { height: 100%; object-fit: contain; border-radius: 0; }
.dr-methods > li:last-child .dr-methods__img img { object-fit: cover; }
.dr-methods__img--ic { display: grid; place-items: center; color: var(--accent-strong); }
.dr-methods__img--ic svg { width: 64px; height: 64px; stroke-width: 1.2; }
.dr-methods > li > div { padding: 0 6px; }
.dr-methods h3 { margin: 2px 0 8px; font: 700 19px/1.25 var(--display); }
.dr-methods p { font-size: 15px; line-height: 1.5; }
.dr-tag { color: var(--accent-strong); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.dr-bed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.dr-steps { margin: 0; padding: 0; list-style: none; counter-reset: drs; display: flex; flex-direction: column; gap: 10px; }
.dr-steps li { position: relative; padding: 14px 16px 14px 58px; border-radius: 14px; background: var(--bg-2); font-size: 15px; line-height: 1.5; counter-increment: drs; }
.dr-steps li::before { content: counter(drs); position: absolute; left: 16px; top: 13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--accent-strong); font: 800 14px/1 var(--display); }
.dr-wide { margin-bottom: 16px; }
.dr-ams { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dr-ams__col { padding: 22px 24px; border-radius: var(--r); background: var(--bg-2); }
.dr-ams__v { font: 800 30px/1 var(--display); letter-spacing: -0.02em; color: var(--accent-strong); }
.dr-ams__col h3 { margin: 6px 0 12px; font: 700 20px/1.2 var(--display); }
.dr-ams__col ul { margin: 0 0 14px; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; }
.dr-warn { margin-top: 14px; padding: 14px 18px; border-radius: 14px; background: var(--bg-2); box-shadow: inset 4px 0 0 #e0a100; font-size: 15px; line-height: 1.5; }
.dr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.dr-tiles li { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 18px; border-radius: var(--r); background: var(--bg-2); }
.dr-tiles__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: #fff; margin-bottom: 6px; }
.dr-tiles__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dr-tiles b { padding: 0 4px; font: 700 16px/1.25 var(--display); }
.dr-tiles p { padding: 0 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.dr-after { margin-top: 16px; }
@media (max-width: 1100px) { .dr-signs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .dr-hero, .dr-why, .dr-bed, .dr-ams, .dr-pair, .dr-methods { grid-template-columns: 1fr; gap: 18px; }
  .dr-signs { grid-template-columns: 1fr 1fr; }
  .dr-signs li:last-child { grid-column: span 2; }
}

/* ===== Телефон: баннер «Какой принтер подходит?» — над кнопкой фильтров, а не под ней ===== */
@media (max-width: 900px) {
  .cat__main { display: flex; flex-direction: column; }
  .cat__main > .pbanner { order: -1; margin: 0 0 16px; }
}

/* ===== Телефон: правки по проверке мобильной вёрстки 02.11.2026 ===== */
@media (max-width: 480px) {
  /* гид: «Термостойкость» не помещалась рядом с числом — диаграмма над списком */
  .mc__chart { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .mc__vals { width: 100%; }
  .mc__vals div { flex-wrap: wrap; font-size: 14px; }
  .cat__sort { flex: 1; min-width: 0; }
  .cat__sort .hsel { min-width: 0; }
}
@media (max-width: 600px) {
  /* таблица сушки: длинные названия пластиков переносятся, колонка с ними не занимает весь экран */
  .mat-kit tbody th { min-width: 120px; max-width: 150px; white-space: normal; font-size: 13px; line-height: 1.3; }
  .mat-kit td { min-width: 130px; white-space: normal; }
}
.rd__n { font-size: 9px; }
.mc__vals dt i { width: 16px; height: 16px; font-size: 10px; }
