/* Страница товара нового вида (принтеры, AMS). Разметку пишет scripts/build_product_pages.js,
   поведение — product.js. Подключается после ds.css и catalog.css. */

/* ===== Верх: фото и покупка ===== */
.pp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 16px; }
.pp__media { position: sticky; top: calc(var(--nav-height, 0px) + 16px); }
.pp__main { aspect-ratio: 1; border-radius: var(--r); background: #f3f4f3; overflow: hidden; }
.pp__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity 240ms ease; }
.pp__main img.is-loading { opacity: 0.35; }
.pp__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.pp__thumb { flex: none; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 12px; background: #f3f4f3; overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.pp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pp__thumb[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent-strong); }

.pp__info { display: flex; flex-direction: column; gap: 14px; }
.pp__badge { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; font-weight: 600; }
.pp__info h1 { font: 700 clamp(28px, 3vw, 40px)/1.1 var(--display); letter-spacing: -0.02em; }
.pp__desc { color: var(--muted); font-size: 17px; }
.pp__vars { display: flex; flex-wrap: wrap; gap: 8px; }
.pp__vars .var { min-height: 44px; padding: 8px 16px; font-size: 15px; }
/* Цена — сразу под названием и описанием, на серой подложке, чтобы её было видно с первого взгляда */
.pp__pricebox { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 18px 22px; border-radius: var(--r); background: var(--bg-2); }
.pp__price { align-self: auto; align-items: center; gap: 6px 12px; }
.pp__price b { font: 800 clamp(34px, 3.4vw, 44px)/1 var(--display); letter-spacing: -0.02em; }
.pp__price s { font-size: 18px; }
/* акционная цена (за ней идёт зачёркнутая старая) — зелёная, обычная — чёрная */
.pp__price .off { padding: 4px 10px; border-radius: 999px; background: var(--sale); color: #fff; font-size: 14px; font-weight: 700; }
.pp__stock { font-size: 15px; font-weight: 600; }
.pp__buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp__buy .btn { height: 54px; font-size: 17px; }
.pp__buy > :only-child { grid-column: 1 / -1; }
.pp__pdf { align-self: flex-start; color: var(--accent-strong); font-weight: 600; text-decoration: none; }
.pp__pdf::before { content: '↓ '; }
@media (hover: hover) { .pp__pdf:hover { text-decoration: underline; } }
.pp__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.pp__perks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: 14px; }
.pp__perks li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp__perks small { color: var(--muted); font-size: 14px; line-height: 1.3; }
.pp__perk-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--bg); color: var(--accent-strong); }

/* Комплектации карточками: фото, название, цена */
.pp__vars-t { font: 700 20px/1.2 var(--display); margin: 4px 0 10px; }
.pp__vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vcard { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 12px; border: 0; border-radius: 14px; background: var(--bg-2); text-align: left; cursor: pointer; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow 160ms ease, background-color 160ms ease; }
.vcard img { width: 76px; height: 76px; object-fit: contain; border-radius: 10px; background: #fff; }
.vcard__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vcard small { color: var(--muted); font-size: 13px; }
.vcard__name { font-size: 14px; line-height: 1.3; }
.vcard__price { margin-top: 4px; font: 700 18px/1.1 var(--text); }
.vcard[aria-pressed="true"] { background: var(--bg); box-shadow: inset 0 0 0 2px var(--accent-strong); }
@media (hover: hover) { .vcard:not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1.5px var(--line); } }

/* ===== Особенности (как Product Features у Bambu Lab) ===== */
.pp__feats-t { font-weight: 700; margin-bottom: 6px; }
.pp__feats ul { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; list-style: disc; color: var(--muted); }
.pp__feats li::marker { color: var(--ink); }
.pp__feats li.is-more { display: none; }
.pp__feats.is-open li.is-more { display: list-item; }
.pp__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--accent-strong); font-weight: 600; cursor: pointer; }
.pp__more::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease); }
.pp__feats.is-open .pp__more::after { transform: translateY(2px) rotate(-135deg); }

/* ===== Вкладки под покупкой ===== */
.pp-tabs { position: sticky; top: var(--nav-height, 0px); z-index: 20; margin-top: clamp(24px, 3vw, 40px); background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.pp-tabs__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pp-tabs__in::-webkit-scrollbar { display: none; }
.pp-tabs a { flex: none; position: relative; padding: 11px 14px; font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: none; }
.pp-tabs a small { color: var(--muted); font-weight: 500; }
.pp-tabs a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 3px 3px 0 0; background: transparent; transition: background-color 160ms ease; }
.pp-tabs a[aria-current] { color: var(--ink); }
.pp-tabs a[aria-current]::after { background: var(--accent-strong); }
@media (hover: hover) { .pp-tabs a:hover { color: var(--ink); } }
/* Якорь раздела останавливается под липкими шапкой и полосой разделов */
.pp-panel { scroll-margin-top: 44px; } /* + scroll-padding-top у html (ds.css): 150 px на компьютере, 16 на телефоне */
.pp-panel > .block:first-child, .pp-panel > .pc:first-child { margin-top: clamp(56px, 7vw, 104px); }
.pp-panel .pp-x:first-child { margin-top: clamp(56px, 7vw, 104px); }

/* ===== Нижняя панель покупки ===== */
.pp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: rgba(255, 255, 255, 0.97); box-shadow: 0 -8px 30px rgba(14, 36, 22, 0.12); transform: translateY(110%); transition: transform 300ms var(--ease); }
.pp-sticky.is-on { transform: none; }
.pp-sticky__in { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.pp-sticky img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #f3f4f3; }
.pp-sticky__name { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; overflow: hidden; }
.pp-sticky__name b, .pp-sticky__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-sticky__name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-sticky__name span { color: var(--muted); font-size: 14px; }
.pp-sticky__price { align-self: center; }
.pp-sticky__price b { font-size: 22px; }
.pp-sticky__buy { display: flex; gap: 10px; }
.pp-sticky__buy .btn { height: 46px; min-width: 160px; }
body.has-pp-sticky .fcontact { bottom: 88px; }
body.has-pp-sticky .cookie-banner { bottom: 84px; } /* плашка cookies не перекрывает кнопки панели */

/* ===== Описание: блоки из content/products/<id>.json ===== */
.pc { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); margin-top: 24px; }
.pc h2, .pc-h2 { font: 700 clamp(24px, 2.4vw, 32px)/1.15 var(--display); letter-spacing: -0.02em; }
.pc h3 { font: 600 20px/1.3 var(--display); }
.pc p { line-height: 1.6; }
.pc p + p { margin-top: 10px; }
.pc a { color: var(--accent-strong); }
.pc-text ul, .pc-text ol, .pc-feature__body ul, .pc-feature__body ol, .pc-lead ul { margin-top: 10px; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 4px; }
.pc-media { display: block; width: 100%; height: auto; border-radius: var(--r); background: #f3f4f3; }
video.pc-media { aspect-ratio: 16 / 9; object-fit: cover; }
.pc-lead { max-width: 820px; font-size: 19px; line-height: 1.55; }
.pc-text { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.pc-h2 { margin-bottom: -24px; }
.pc-h2 + .pc-text h3 { margin-top: 0; }
.pc-wide { margin: 0; }
.pc-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.pc-feature figure { margin: 0; }
.pc-feature--rev figure { order: 2; }
.pc-feature__body { display: flex; flex-direction: column; gap: 12px; }
.pc-cards { display: flex; flex-direction: column; gap: 14px; }
.pc-cards__lead { max-width: 820px; color: var(--muted); }
.pc-cards__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; margin-top: 6px; }
.pc-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.pc-card figure { margin: 0; }
.pc-card .pc-media { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; }
/* ratio: "natural" — фото целиком, без обрезки (коллажи и широкие кадры Bambu Lab) */
.pc-cards__grid.is-natural .pc-media { aspect-ratio: auto; height: auto; object-fit: initial; }
.pc-cards__grid.is-natural { align-items: start; }
.pc-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.pc-card__body b { font-size: 16px; line-height: 1.3; }
.pc-card__body span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.pc .pc-kpis { padding-left: 0; list-style: none; margin-top: 0; }
.pc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.pc-kpis li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--accent-soft); }
.pc-kpis b { font: 700 clamp(24px, 2.6vw, 34px)/1.1 var(--display); color: var(--accent-strong); }
.pc-kpis span { font-size: 14px; color: var(--muted); }

/* Богатые блоки (страницы, оформленные по материалам Bambu Lab): тёмные ленты, сравнения, плитки */
.pc-eyebrow { color: var(--accent-strong); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: -2px; }
.pc-hero { position: relative; min-height: clamp(360px, 46vw, 620px); border-radius: var(--r); overflow: hidden; background: #050806; display: flex; align-items: flex-end; }
.pc-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 0; background: #050806; }
.pc-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.62)); pointer-events: none; } /* затемнение на весь блок — раньше обрывалось швом по ширине текста */
.pc-hero__body { position: relative; z-index: 1; padding: clamp(24px, 4vw, 56px); max-width: 720px; color: #fff; }
.pc-hero__body h2 { color: #fff; font-size: clamp(30px, 4vw, 52px); }
.pc-hero__body p { color: #d9e2dc; font-size: 18px; margin-top: 10px; }
.pc-hero .pc-eyebrow { color: #fff; opacity: 0.85; margin-bottom: 8px; }
.pc-why { display: flex; flex-direction: column; gap: 18px; }
.pc-why__grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; } /* --cols — по числу плиток (product.js renderBlocks), без одинокой плитки в ряду */
.pc-why__tile { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 1 / 1.06; }
.pc-why__tile .pc-media { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pc-why__tile picture { display: contents; }
.pc-why__tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.pc-why__tile b { font-size: 17px; }
.pc-why__tile span { font-size: 13px; color: #c9d2cc; }
.pc-widefeat { display: flex; flex-direction: column; gap: 14px; }
.pc-widefeat figure { margin: 6px 0 0; }
.pc-widefeat__text { max-width: 820px; }
.pc-widefeat.is-dark, .pc-feature.is-dark, .pc-compare.is-dark { padding: clamp(24px, 4vw, 48px); border-radius: var(--r); background: #0b0f0c; color: #e6ece8; }
.is-dark h2, .is-dark h3 { color: #fff; }
.is-dark p, .is-dark .pc-widefeat__text { color: #c4cec8; }
.is-dark .pc-eyebrow { color: #7fe39a; }
.is-dark .pc-media { background: #000; }
.pc-compare { display: flex; flex-direction: column; gap: 18px; }
.pc-compare__body { max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.pc-compare__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pc-compare__pair figure { position: relative; margin: 0; }
.pc-compare__pair .pc-media { aspect-ratio: 16 / 10; object-fit: cover; }
.pc-compare__pair figcaption { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 13px; font-weight: 600; }
.pc-compare__pair .is-ours figcaption { background: var(--accent-strong); color: #fff; }
.pc-video { display: flex; flex-direction: column; gap: 10px; }
.pc-video > p:not(.pc-eyebrow) { max-width: 820px; color: var(--muted); }
.pc-video__box { margin-top: 8px; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.pc-video__box video { display: block; width: 100%; height: 100%; object-fit: contain; }
.pc-chips { display: flex; flex-direction: column; gap: 12px; }
.pc-chips ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pc-chips li { padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; font-size: 15px; }
.pc-box { display: flex; flex-direction: column; gap: 16px; }
.pc-box ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pc-box li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; border-radius: var(--r); background: var(--bg-2); text-align: center; font-size: 14px; }
.pc-box__more { display: flex; flex-direction: column; gap: 8px; }
.pc-box__more b { font-size: 15px; }
.pc-box__more ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.pc-box .pc-box__more ol li { display: block; background: none; border-radius: 0; text-align: left; align-items: initial; break-inside: avoid; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.pc-box__more ol li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-strong); }
.pc-box .pc-media { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; background: transparent; }

/* ===== Характеристики: «Главное» + группы с иконками ===== */
.sp-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; }
.sp-key { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.sp-key li { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-radius: var(--r); background: var(--accent-soft); }
.sp-key .sp-ic { background: var(--accent-strong); }
.sp-key span:last-child { display: flex; flex-direction: column; gap: 2px; }
.sp-key small { color: var(--muted); font-size: 13px; }
.sp-key b { font: 700 18px/1.25 var(--display); }
.sp-src { margin-top: 4px; color: var(--muted); font-size: 14px; }
@media (max-width: 1180px) { .sp-key { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .sp-key { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .sp-key li { padding: 14px; } .sp-key b { font-size: 16px; } }

/* ===== Характеристики (старый вид) ===== */
.pp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.pp-specs div { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pp-specs dt { color: var(--muted); }
.pp-specs dd { font-weight: 500; }

/* ===== Что взять к товару ===== */
.pp-x__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ===== Планшет ===== */
@media (max-width: 1180px) {
  .pp { gap: 28px; }
  .pc-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-box ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp-x__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pc-cards__grid { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); }
}
/* ===== Телефон ===== */
@media (max-width: 900px) {
  .pp { grid-template-columns: minmax(0, 1fr); gap: 20px; } /* minmax: ряд миниатюр не должен раздвигать страницу */
  .pc-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pc-compare__pair { grid-template-columns: 1fr; }
  .pc-hero { min-height: 420px; }
  .pp__media { position: static; }
  .pp__perks { grid-template-columns: 1fr 1fr; }
  .pp-specs { grid-template-columns: 1fr; }
  .pc-feature, .pc-feature--rev { grid-template-columns: 1fr; }
  .pc-feature--rev figure { order: 0; }
  .pc-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pp-x__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .pc-lead { font-size: 17px; }
}
@media (max-width: 560px) {
  .pp__buy { grid-template-columns: 1fr; }
  .pp-sticky__in { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .pp-sticky img, .pp-sticky__name span, .pp-sticky__buy [data-pp=quick] { display: none; }
  .pp-sticky__name { display: none; }
  .pp-sticky__price b { font-size: 19px; }
  .pp-sticky__buy .btn { min-width: 0; padding: 0 22px; }
  .pp-tabs a { padding: 10px 11px; font-size: 14px; }
  body.has-pp-sticky .fcontact { bottom: 80px; }
  body.has-pp-sticky .cookie-banner { bottom: 76px; }
  .pp__vgrid { grid-template-columns: 1fr; }
  .pc-box ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-box__more ol { columns: 1; }
  .pc-why__tile b { font-size: 15px; }
  .pp__perks li { padding: 10px 12px; font-size: 13px; }
  .pc-card__body { padding: 10px 12px 12px; }
  .pc-card__body b { font-size: 14px; }
  .pc-card__body span { font-size: 13px; }
}
.pc-video, .pc-box { scroll-margin-top: 44px; }

/* Телефон: первый экран описания — картинка, под ней текст (поверх картинки заголовок ложился на сам товар) */
@media (max-width: 700px) {
  .pc-hero { display: block; min-height: 0; }
  .pc-hero__media { position: static; height: auto; aspect-ratio: auto; display: block; }
  .pc-hero__body { max-width: none; padding: 20px 20px 24px; background: #050806; }
  .pc-hero__body h2 { font-size: 28px; }
  .pc-hero__body p { font-size: 16px; }
  /* цифры — строками: число слева, подпись справа */
  .pc-kpis { grid-template-columns: 1fr; gap: 8px; }
  .pc-kpis li { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; min-width: 0; }
  .pc-kpis span { min-width: 0; overflow-wrap: anywhere; }
  .pc-kpis b { flex: none; min-width: 88px; font-size: 26px; }
  /* плашки под кнопками — в одну колонку, иначе текст рубится по слову */
  .pp__perks { grid-template-columns: 1fr; gap: 8px; }
}

/* Таблицы в описании (сравнения материалов) */
.pc-table { position: relative; overflow-x: auto; margin-top: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.pc-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; }
.pc-table th, .pc-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.pc-table thead th { background: var(--bg-2); font-weight: 700; }
.pc-table tr:last-child td { border-bottom: 0; }

/* Матрица «материал × сопло»: значки в ячейках, крест подсветки при наведении, закреплённая колонка.
   Шапка и первая колонка липкие внутри своей прокрутки — 37 строк не теряют заголовков. */
.pc-matrix { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.pc-matrix__find { width: min(100%, 320px); padding: 10px 14px; border: 0; border-radius: 12px; background: var(--bg-2); font: inherit; font-size: 15px; color: inherit; }
.pc-matrix__empty { color: var(--muted); font-size: 15px; }
.pc-table.is-matrix { margin-top: 0; overflow-x: auto; overflow-y: visible; }
.is-matrix table { border-collapse: separate; border-spacing: 0; }
.is-matrix thead th { position: sticky; top: 0; z-index: 2; cursor: pointer; user-select: none; transition: background-color 120ms ease, color 120ms ease; }
.is-matrix tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); font-weight: 600; min-width: 150px; transition: background-color 120ms ease; }
.is-matrix thead th:first-child { left: 0; z-index: 3; cursor: default; }
.is-matrix thead th:not(:first-child) { text-align: center; }
.is-matrix td, .is-matrix th { transition: background-color 120ms ease; }
.is-matrix td.mx { text-align: center; white-space: nowrap; }
.mx span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.mx span::before { font-size: 13px; line-height: 1; }
.mx--yes span, .mx--best span { color: var(--accent-strong); }
.mx--yes span::before { content: '✓'; }
.mx--best span::before { content: '★'; }
.mx--best span { box-shadow: inset 0 0 0 1.5px var(--accent-strong); }
.mx--warn span { color: #9a5a00; } .mx--warn span::before { content: '!'; font-weight: 800; }
.mx--no span { color: var(--sale); } .mx--no span::before { content: '✕'; }
.mx--must span { color: var(--ink); } .mx--must span::before { content: '●'; font-size: 9px; }
.mx--any span { color: var(--muted); font-weight: 500; }
/* крест: строка и колонка под курсором серым, сама ячейка — рамкой (зелёных заливок нет) */
.is-matrix tr.is-row > *, .is-matrix .is-col { background-color: #eef0ef; }
.is-matrix tr.is-row > th, .is-matrix thead th.is-col { background-color: #e2e6e3; }
.is-matrix tbody tr.is-row > th { box-shadow: inset 3px 0 0 var(--accent-strong); }
.is-matrix thead th.is-col { box-shadow: inset 0 -3px 0 var(--accent-strong); }
.is-matrix td.is-cell { background-color: #dfe3e0; box-shadow: inset 0 0 0 2px var(--ink); }
/* закреплённая колонка (нажатие на заголовок) — остальные приглушены */
.is-matrix.has-pin td.mx:not(.is-pin) span { opacity: 0.35; }
.is-matrix.has-pin td.is-pin { background-color: #eef0ef; }
.is-matrix.has-pin thead th.is-pin { background-color: var(--ink); color: #fff; box-shadow: none; }
.is-matrix thead th.is-pin::after { content: ' ✕'; font-weight: 500; opacity: 0.7; }
.is-matrix tr[hidden] { display: none; }
@media (max-width: 700px) {
  .is-matrix tbody th { min-width: 120px; font-size: 14px; }
  .is-matrix th, .is-matrix td { padding: 8px 10px; }
}
.pp-docs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.pp-docs svg { width: 18px; height: 18px; flex: none; }
.pp-docs a { color: var(--ink); font-weight: 600; }
/* Обслуживание принтера (content/maintenance/<id>.json) */
.pm__lead { max-width: 780px; margin-bottom: 18px; font-size: 17px; }
.pm__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pm__item { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.pm__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.pm__head b { font: 700 17px/1.3 var(--display); }
.pm__when { padding: 3px 10px; border-radius: 999px; background: var(--bg-2); font-size: 13px; font-weight: 600; }
.pm__item p { font-size: 15px; }
.pm__need { color: var(--muted); }
.pm__need span { color: var(--ink); font-weight: 600; }
.pm__h { margin: 24px 0 10px; font: 700 18px/1.25 var(--display); }
.pm__cons { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 20px; font-size: 15px; }
.pm__note { margin-top: 16px; color: var(--muted); font-size: 14px; }

.pm__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pm__img--none { display: grid; place-items: center; background: var(--bg-2); box-shadow: none; color: #b7beb9; }
.pm__img--none svg { width: 44px; height: 44px; }
.sp-tabs { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.sp-tabs--one { grid-template-columns: 1fr; }
/* один раздел — без внутренней прокрутки: липкая панель с overscroll-behavior: contain перехватывала колёсико,
   и страница не листалась (владелец 06.11.2026, страница запчасти) */
.sp-tabs--one .sp-tabs__panels { position: static; max-height: none; overflow: visible; overscroll-behavior: auto; }
.sp-r { position: absolute; opacity: 0; pointer-events: none; }
.sp-tabs__list { display: flex; flex-direction: column; gap: 4px; }
.sp-tabs__list label { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.sp-tabs__list label > span:nth-child(2) { flex: 1; min-width: 0; }
.sp-tabs__list small { color: var(--muted); font-size: 12px; font-weight: 500; }
.sp-tabs__list .sp-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--bg-2); color: var(--ink); transition: background-color 180ms ease, color 180ms ease; }
.sp-tabs__list .sp-ic svg { width: 18px; height: 18px; }
@media (hover: hover) { .sp-tabs__list label:hover { color: var(--ink); } }
.sp-tabs__panels { position: sticky; top: calc(var(--nav-height, 0px) + 84px); align-self: start; min-width: 0; max-height: calc(100vh - var(--nav-height, 0px) - 100px); overflow: auto; padding: 6px 24px 10px; border-radius: var(--r); background: var(--bg-2); }
.sp-panel { display: none; }
.sp-tabs--one .sp-panel { display: block; }
.sp-panel__h { padding: 14px 0 6px; font: 700 18px/1.25 var(--display); }
.sp-panel dl div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sp-panel dt { color: var(--muted); }
.sp-panel dd { font-weight: 500; }
@keyframes sp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sp-r:focus-visible + .sp-r, .sp-r:focus-visible { outline: none; }
/* Вкладки характеристик — на CSS (радиокнопки). Правил с запасом на 24 раздела: у P2S их 14, а было на 12 — два последних не открывались */
#spr0:checked ~ .sp-tabs__panels .sp-panel:nth-child(1) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr0:checked ~ .sp-tabs__list label:nth-child(1) { background: var(--bg-2); color: var(--ink); }
#spr0:checked ~ .sp-tabs__list label:nth-child(1) .sp-ic { background: var(--ink); color: #fff; }
#spr0:focus-visible ~ .sp-tabs__list label:nth-child(1) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr1:checked ~ .sp-tabs__panels .sp-panel:nth-child(2) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr1:checked ~ .sp-tabs__list label:nth-child(2) { background: var(--bg-2); color: var(--ink); }
#spr1:checked ~ .sp-tabs__list label:nth-child(2) .sp-ic { background: var(--ink); color: #fff; }
#spr1:focus-visible ~ .sp-tabs__list label:nth-child(2) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr2:checked ~ .sp-tabs__panels .sp-panel:nth-child(3) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr2:checked ~ .sp-tabs__list label:nth-child(3) { background: var(--bg-2); color: var(--ink); }
#spr2:checked ~ .sp-tabs__list label:nth-child(3) .sp-ic { background: var(--ink); color: #fff; }
#spr2:focus-visible ~ .sp-tabs__list label:nth-child(3) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr3:checked ~ .sp-tabs__panels .sp-panel:nth-child(4) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr3:checked ~ .sp-tabs__list label:nth-child(4) { background: var(--bg-2); color: var(--ink); }
#spr3:checked ~ .sp-tabs__list label:nth-child(4) .sp-ic { background: var(--ink); color: #fff; }
#spr3:focus-visible ~ .sp-tabs__list label:nth-child(4) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr4:checked ~ .sp-tabs__panels .sp-panel:nth-child(5) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr4:checked ~ .sp-tabs__list label:nth-child(5) { background: var(--bg-2); color: var(--ink); }
#spr4:checked ~ .sp-tabs__list label:nth-child(5) .sp-ic { background: var(--ink); color: #fff; }
#spr4:focus-visible ~ .sp-tabs__list label:nth-child(5) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr5:checked ~ .sp-tabs__panels .sp-panel:nth-child(6) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr5:checked ~ .sp-tabs__list label:nth-child(6) { background: var(--bg-2); color: var(--ink); }
#spr5:checked ~ .sp-tabs__list label:nth-child(6) .sp-ic { background: var(--ink); color: #fff; }
#spr5:focus-visible ~ .sp-tabs__list label:nth-child(6) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr6:checked ~ .sp-tabs__panels .sp-panel:nth-child(7) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr6:checked ~ .sp-tabs__list label:nth-child(7) { background: var(--bg-2); color: var(--ink); }
#spr6:checked ~ .sp-tabs__list label:nth-child(7) .sp-ic { background: var(--ink); color: #fff; }
#spr6:focus-visible ~ .sp-tabs__list label:nth-child(7) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr7:checked ~ .sp-tabs__panels .sp-panel:nth-child(8) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr7:checked ~ .sp-tabs__list label:nth-child(8) { background: var(--bg-2); color: var(--ink); }
#spr7:checked ~ .sp-tabs__list label:nth-child(8) .sp-ic { background: var(--ink); color: #fff; }
#spr7:focus-visible ~ .sp-tabs__list label:nth-child(8) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr8:checked ~ .sp-tabs__panels .sp-panel:nth-child(9) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr8:checked ~ .sp-tabs__list label:nth-child(9) { background: var(--bg-2); color: var(--ink); }
#spr8:checked ~ .sp-tabs__list label:nth-child(9) .sp-ic { background: var(--ink); color: #fff; }
#spr8:focus-visible ~ .sp-tabs__list label:nth-child(9) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr9:checked ~ .sp-tabs__panels .sp-panel:nth-child(10) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr9:checked ~ .sp-tabs__list label:nth-child(10) { background: var(--bg-2); color: var(--ink); }
#spr9:checked ~ .sp-tabs__list label:nth-child(10) .sp-ic { background: var(--ink); color: #fff; }
#spr9:focus-visible ~ .sp-tabs__list label:nth-child(10) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr10:checked ~ .sp-tabs__panels .sp-panel:nth-child(11) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr10:checked ~ .sp-tabs__list label:nth-child(11) { background: var(--bg-2); color: var(--ink); }
#spr10:checked ~ .sp-tabs__list label:nth-child(11) .sp-ic { background: var(--ink); color: #fff; }
#spr10:focus-visible ~ .sp-tabs__list label:nth-child(11) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr11:checked ~ .sp-tabs__panels .sp-panel:nth-child(12) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr11:checked ~ .sp-tabs__list label:nth-child(12) { background: var(--bg-2); color: var(--ink); }
#spr11:checked ~ .sp-tabs__list label:nth-child(12) .sp-ic { background: var(--ink); color: #fff; }
#spr11:focus-visible ~ .sp-tabs__list label:nth-child(12) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr12:checked ~ .sp-tabs__panels .sp-panel:nth-child(13) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr12:checked ~ .sp-tabs__list label:nth-child(13) { background: var(--bg-2); color: var(--ink); }
#spr12:checked ~ .sp-tabs__list label:nth-child(13) .sp-ic { background: var(--ink); color: #fff; }
#spr12:focus-visible ~ .sp-tabs__list label:nth-child(13) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr13:checked ~ .sp-tabs__panels .sp-panel:nth-child(14) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr13:checked ~ .sp-tabs__list label:nth-child(14) { background: var(--bg-2); color: var(--ink); }
#spr13:checked ~ .sp-tabs__list label:nth-child(14) .sp-ic { background: var(--ink); color: #fff; }
#spr13:focus-visible ~ .sp-tabs__list label:nth-child(14) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr14:checked ~ .sp-tabs__panels .sp-panel:nth-child(15) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr14:checked ~ .sp-tabs__list label:nth-child(15) { background: var(--bg-2); color: var(--ink); }
#spr14:checked ~ .sp-tabs__list label:nth-child(15) .sp-ic { background: var(--ink); color: #fff; }
#spr14:focus-visible ~ .sp-tabs__list label:nth-child(15) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr15:checked ~ .sp-tabs__panels .sp-panel:nth-child(16) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr15:checked ~ .sp-tabs__list label:nth-child(16) { background: var(--bg-2); color: var(--ink); }
#spr15:checked ~ .sp-tabs__list label:nth-child(16) .sp-ic { background: var(--ink); color: #fff; }
#spr15:focus-visible ~ .sp-tabs__list label:nth-child(16) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr16:checked ~ .sp-tabs__panels .sp-panel:nth-child(17) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr16:checked ~ .sp-tabs__list label:nth-child(17) { background: var(--bg-2); color: var(--ink); }
#spr16:checked ~ .sp-tabs__list label:nth-child(17) .sp-ic { background: var(--ink); color: #fff; }
#spr16:focus-visible ~ .sp-tabs__list label:nth-child(17) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr17:checked ~ .sp-tabs__panels .sp-panel:nth-child(18) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr17:checked ~ .sp-tabs__list label:nth-child(18) { background: var(--bg-2); color: var(--ink); }
#spr17:checked ~ .sp-tabs__list label:nth-child(18) .sp-ic { background: var(--ink); color: #fff; }
#spr17:focus-visible ~ .sp-tabs__list label:nth-child(18) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr18:checked ~ .sp-tabs__panels .sp-panel:nth-child(19) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr18:checked ~ .sp-tabs__list label:nth-child(19) { background: var(--bg-2); color: var(--ink); }
#spr18:checked ~ .sp-tabs__list label:nth-child(19) .sp-ic { background: var(--ink); color: #fff; }
#spr18:focus-visible ~ .sp-tabs__list label:nth-child(19) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr19:checked ~ .sp-tabs__panels .sp-panel:nth-child(20) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr19:checked ~ .sp-tabs__list label:nth-child(20) { background: var(--bg-2); color: var(--ink); }
#spr19:checked ~ .sp-tabs__list label:nth-child(20) .sp-ic { background: var(--ink); color: #fff; }
#spr19:focus-visible ~ .sp-tabs__list label:nth-child(20) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr20:checked ~ .sp-tabs__panels .sp-panel:nth-child(21) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr20:checked ~ .sp-tabs__list label:nth-child(21) { background: var(--bg-2); color: var(--ink); }
#spr20:checked ~ .sp-tabs__list label:nth-child(21) .sp-ic { background: var(--ink); color: #fff; }
#spr20:focus-visible ~ .sp-tabs__list label:nth-child(21) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr21:checked ~ .sp-tabs__panels .sp-panel:nth-child(22) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr21:checked ~ .sp-tabs__list label:nth-child(22) { background: var(--bg-2); color: var(--ink); }
#spr21:checked ~ .sp-tabs__list label:nth-child(22) .sp-ic { background: var(--ink); color: #fff; }
#spr21:focus-visible ~ .sp-tabs__list label:nth-child(22) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr22:checked ~ .sp-tabs__panels .sp-panel:nth-child(23) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr22:checked ~ .sp-tabs__list label:nth-child(23) { background: var(--bg-2); color: var(--ink); }
#spr22:checked ~ .sp-tabs__list label:nth-child(23) .sp-ic { background: var(--ink); color: #fff; }
#spr22:focus-visible ~ .sp-tabs__list label:nth-child(23) { box-shadow: 0 0 0 2px var(--accent-strong); }
#spr23:checked ~ .sp-tabs__panels .sp-panel:nth-child(24) { display: block; animation: sp-in 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#spr23:checked ~ .sp-tabs__list label:nth-child(24) { background: var(--bg-2); color: var(--ink); }
#spr23:checked ~ .sp-tabs__list label:nth-child(24) .sp-ic { background: var(--ink); color: #fff; }
#spr23:focus-visible ~ .sp-tabs__list label:nth-child(24) { box-shadow: 0 0 0 2px var(--accent-strong); }
@media (prefers-reduced-motion: reduce) { .sp-panel { animation: none !important; } }
@media (max-width: 900px) {
  .sp-tabs { grid-template-columns: 1fr; gap: 10px; }
  .sp-tabs__list { flex-direction: row; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .sp-tabs__list::-webkit-scrollbar { display: none; }
  .sp-tabs__list label { flex: none; padding: 6px 12px 6px 6px; font-size: 14px; }
  .sp-tabs__list small { display: none; }
  .sp-tabs__panels { position: static; max-height: none; overflow: visible; padding: 4px 16px 8px; }
  .sp-panel dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 900px) { .sp-tabs { align-items: start; } }
.pp-panel .block__head { margin-bottom: 28px; }

/* ===== Телефон: название и цена ближе к первому экрану, плашка покупки без переноса, плитки «Почему» по одной ===== */
@media (max-width: 600px) {
  .pp__main { aspect-ratio: 4 / 3; }
  .pp-sticky__price { flex-wrap: nowrap; white-space: nowrap; }
  .pp-sticky__price .off { display: none; }
  .pc-why__grid { grid-template-columns: minmax(0, 1fr); }
  .pp__more { min-height: 44px; }
}

/* Блок «Обслуживание»: куда идти за деталями — запчасти серии, сопла, аксессуары (06.11.2026) */
.pm-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.pm-link { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r); background: var(--bg-2); color: var(--ink); text-decoration: none; transition: transform 160ms var(--ease), box-shadow 160ms ease; }
.pm-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(14, 36, 22, 0.08); }
.pm-link__img { flex: none; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 12px; background: #fff; overflow: hidden; color: var(--muted); }
.pm-link__img img { width: 100%; height: 100%; padding: 4px; box-sizing: border-box; object-fit: contain; }
.pm-link__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pm-link__t b { font-size: 16px; line-height: 1.25; }
.pm-link__t small { color: var(--muted); font-size: 14px; line-height: 1.3; }
.pm-link i { margin-left: auto; font-style: normal; font-weight: 700; color: var(--muted); }
.pm-link--main { background: var(--ink); color: #fff; }
.pm-link--main .pm-link__t small, .pm-link--main i { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 860px) { .pm-links { grid-template-columns: 1fr; } }

/* Таблица в описании (сравнение сопел, состав наборов — рич-контент Bambu Lab, 06.11.2026) */
.pc-table { display: flex; flex-direction: column; gap: 12px; }
.pc-table__scroll { overflow-x: auto; border-radius: var(--r); background: var(--bg-2); }
.pc-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pc-table th, .pc-table td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.pc-table thead th { border-top: 0; font-weight: 700; background: var(--bg-3, #e9eee9); white-space: nowrap; }
.pc-table tbody th { font-weight: 600; }
.pc-table td { color: var(--muted); }
@media (max-width: 700px) { .pc-table table { font-size: 14px; } .pc-table th, .pc-table td { padding: 8px 10px; } }

/* Артикул с копированием (общий обработчик — product.js, [data-copy-art]) и верх карточки: категория слева, артикул справа (scripts/lib/site.js → ppTop) */
.fp-art { position: relative; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 0; border-radius: 8px; background: var(--bg-2); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.fp-art code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--ink); letter-spacing: .01em; }
.fp-art svg { flex: none; opacity: .7; }
.fp-art:hover { background: var(--line); }
.fp-art:hover svg { opacity: 1; }
.fp-art.is-copied::after { content: 'Скопировано'; position: absolute; right: 0; bottom: calc(100% + 6px); padding: 4px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; }
.fp-art[hidden] { display: none; }
/* верх карточки товара: категория слева, артикул справа (scripts/lib/site.js → ppTop) */
.pp__top { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.pp__top .pp__badge { align-self: center; }
.pp__top .fp-art { margin-left: auto; }

/* Обслуживание — баннер на /obsluzhivanie/ (вместо графика на странице принтера, 07.11.2026) */
.pm-banner__in { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 28px; padding: 20px 32px 20px 20px; border-radius: var(--r); background: var(--ink); color: #fff; text-decoration: none; transition: transform 200ms var(--ease); }
.pm-banner__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: #fff; }
.pm-banner__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pm-banner__k { color: rgba(255, 255, 255, 0.6); font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.pm-banner__text b { font: 700 clamp(20px, 2.2vw, 28px)/1.15 var(--display); }
.pm-banner__text > span:last-child { color: rgba(255, 255, 255, 0.75); font-size: 15px; line-height: 1.45; max-width: 62ch; }
.pm-banner__btn { white-space: nowrap; }
.pm-banner__btn i { font-style: normal; }
@media (hover: hover) { .pm-banner__in:hover { transform: translateY(-2px); } }
@media (max-width: 760px) { .pm-banner__in { grid-template-columns: 1fr; gap: 16px; padding: 16px 16px 22px; } .pm-banner__btn { justify-self: start; } }
