/* Новые разделы сайта (этап 5 редизайна): /sopla/ и следующие. Шапка страницы — catalog.css (.cat-head),
   таблицы-матрицы и тексты — product.css (.pc-matrix, .pc-text). Зелёных подложек нет — только серые. */

/* ===== /sopla/: подбор ===== */
.nz-pick { display: flex; flex-direction: column; gap: 36px; margin-top: 32px; }
.nz-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.nz-step legend { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 0; font: 700 18px/1.2 var(--display); }
.nz-step legend small { color: var(--muted); font: 500 14px/1.2 var(--text); }
.nz-res { margin-top: 28px; padding: 14px 18px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; scroll-margin-top: 140px; }
.nz-note--warn p { margin: 0 0 10px; }
.nz-step legend span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.nz-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.nz-pill { padding: 10px 16px; border: 0; border-radius: 999px; background: var(--bg-2); color: var(--ink); font: 600 15px/1.2 var(--text); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 120ms var(--ease); }
.nz-pill[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (hover: hover) { .nz-pill:not([aria-pressed="true"]):hover { background: #e6e9e7; } }
.nz-pill:active { transform: scale(0.97); }
/* принтеры плитками с фото — как выбор устройства на bambulab.com/support */
.nz-printers { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.nz-printer { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 12px; border: 0; border-radius: 16px; background: var(--bg-2); color: var(--ink); font: 600 15px/1.2 var(--text); cursor: pointer; transition: transform 160ms var(--ease), background-color 160ms ease; }
.nz-printer img { width: 84px; height: 84px; object-fit: contain; mix-blend-mode: multiply; transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1); }
@media (hover: hover) { .nz-printer:hover img { transform: scale(1.06); } }
.nz-printer[aria-pressed="true"]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ink); pointer-events: none; }
.nz-printer[aria-pressed="true"] { background: #fff; }
@media (hover: hover) { .nz-printer:hover { transform: translateY(-2px); } }
.nz-note { max-width: 76ch; padding: 14px 18px; border-radius: 14px; background: var(--bg-2); font-size: 16px; }
.nz-note--warn { box-shadow: inset 3px 0 0 #d08a00; }
.nz-note a { color: var(--accent-strong); font-weight: 600; }

/* ===== хотенды: семейства и карточки ===== */
.nz-fams { display: flex; flex-direction: column; gap: 40px; margin-top: 36px; }
.nz-fam__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.nz-fam__head h2 { font: 700 clamp(22px, 2.4vw, 28px)/1.15 var(--display); letter-spacing: -0.01em; }
.nz-fam__head p { color: var(--muted); }
.nz-fam__head a:not(.more) { color: var(--ink); }
.nz-fam__head .more { margin-left: 6px; }
.nz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.nz-card[hidden] { display: none; }
.nz-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); overflow: hidden; transition: opacity 200ms ease, box-shadow 200ms ease, transform 200ms var(--ease); }
/* фото разных хотендов бывают на белом и на сером фоне — «умножение» сливает белый фон с карточкой, карточки одинаковые */
.nz-card__img { display: block; aspect-ratio: 1; background: var(--bg-2); }
.nz-card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.nz-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.nz-card__size { font: 700 24px/1.1 var(--display); }
.nz-card__steel { color: var(--muted); font-size: 14px; }
.nz-card__why { align-self: flex-start; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
.nz-card__price { margin-top: 8px; display: flex; align-items: baseline; gap: 8px; }
.nz-card__price b { font-size: 18px; }
.nz-card__price s { color: var(--muted); font-size: 14px; }
.nz-card__buy { margin-top: auto; padding-top: 10px; }
.nz-card__buy .btn { width: 100%; }
/* рамка — слоем поверх карточки: box-shadow самой карточки пряталась под фото */
.nz-card.is-rec::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ink); pointer-events: none; }
.nz-card.is-dim { opacity: 0.45; }
@media (hover: hover) { .nz-card.is-dim:hover { opacity: 1; } }
.nz-fam[hidden], .nz-table[hidden] { display: none; }

/* ===== гид: диаметр и сталь ===== */
.nz-guide__lead { max-width: 72ch; margin-bottom: 18px; color: var(--muted); font-size: 17px; }
.nz-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.nz-sizes li { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r); background: var(--bg-2); }
.nz-sizes b { font: 700 30px/1 var(--display); letter-spacing: -0.02em; }
.nz-sizes span { font-size: 15px; }
.nz-steel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.nz-steel > div { padding: 20px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.nz-steel h3 { margin-bottom: 6px; font-size: 18px; }
.nz-tables .pc-text h2 { margin: 18px 0 4px; font-size: 20px; }
.nz-tables .pc-text { max-width: none; }

@media (max-width: 900px) {
  .nz-sizes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nz-printers { display: flex; overflow-x: auto; margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad); scrollbar-width: none; }
  .nz-printers::-webkit-scrollbar { display: none; }
  .nz-printer { flex: 0 0 96px; }
  .nz-printer img { width: 64px; height: 64px; }
  .nz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nz-card__body { padding: 12px; }
  .nz-card__size { font-size: 20px; }
  .nz-card__buy .btn { padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .nz-steel { grid-template-columns: 1fr; }
  .nz-pill { padding: 9px 14px; font-size: 14px; }
}

/* ===== /compare/ — сравнение принтеров ===== */
.cmp-sum { margin-top: 24px; padding: 22px clamp(18px, 2.4vw, 28px); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-sum h2 { margin-bottom: 10px; font: 600 22px/1.2 var(--display); }
.cmp-sum ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding-left: 20px; }
.cmp-sum li { font-size: 16px; }
.cmp { margin-top: 24px; }
.cmp-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.cmp-sel { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.cmp-sel select { padding: 12px 14px; border: 0; border-radius: 12px; background: var(--bg-2); color: var(--ink); font: 500 16px/1.2 var(--text); cursor: pointer; }
.cmp-mode { margin: -4px 0 16px; }
.cmp-pick.is-off { opacity: .45; }
.cmp-table.is-all { min-width: calc(200px + var(--cols) * 150px); }
.cmp-table.is-all .cmp-head { font-size: 15px; }
.cmp-scroll { position: relative; overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.cmp-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 15px; table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table tbody th { width: 200px; color: var(--muted); font-weight: 500; background: var(--bg); position: sticky; left: 0; z-index: 1; }
.cmp-table thead th { background: var(--bg-2); vertical-align: bottom; }
.cmp-corner { width: 200px; position: sticky; left: 0; z-index: 2; }
.cmp-head { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 300px; margin: 0 auto; color: var(--ink); text-align: center; text-decoration: none; font: 500 18px/1.2 var(--display); }
.cmp-head__img { display: block; width: 100%; max-width: 300px; aspect-ratio: 1; overflow: hidden; border-radius: 14px; }
/* у каталожных фото принтер занимает ~55% кадра — увеличиваем, серый фон кадра сливается с шапкой таблицы */
.cmp-head img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.32); mix-blend-mode: multiply; }
@media (hover: hover) { .cmp-head:hover span { color: var(--accent-strong); } }
.cmp-diff { display: flex; align-items: center; gap: 8px; font: 500 14px/1.2 var(--text); color: var(--ink); cursor: pointer; }
.cmp-diff input { width: 18px; height: 18px; accent-color: var(--ink); }
.cmp-table tr.is-same td { color: var(--muted); }
.cmp-table tbody tr:not(.cmp-buy):hover > * { background: var(--bg-2); }
.cmp-table tr[hidden], .cmp-table [hidden] { display: none; }
.cmp-buy td, .cmp-buy th { border-bottom: 0; }
.cmp-pairs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.cmp-pairs b { margin-right: 4px; font-weight: 500; }
.cmp-pairs a, .cmp-pairs span { padding: 8px 14px; border-radius: 999px; background: var(--bg-2); color: var(--ink); font-size: 14px; font-weight: 400; text-decoration: none; }
.cmp-pairs span { background: var(--ink); color: #fff; }
@media (hover: hover) { .cmp-pairs a:hover { background: #e6e9e7; } }
@media (max-width: 700px) {
  .cmp-pick { grid-template-columns: 1fr 1fr; }
  .cmp-pick .cmp-sel:last-child { grid-column: 1 / -1; }
  .cmp-table { min-width: 0; font-size: 14px; }
  .cmp-table th, .cmp-table td { padding: 10px; }
  .cmp-table tbody th, .cmp-corner { width: 108px; }
  .cmp-head { font-size: 15px; }
}

/* ===== /uslugi/ и /servis/ ===== */
.srv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.srv-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border-radius: var(--r); background: var(--bg-2); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform 200ms var(--ease); }
.srv-card img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.srv-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.srv-card h2 { font: 700 22px/1.15 var(--display); }
.srv-card p { font-size: 15px; color: var(--muted); }
.srv-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: auto; }
.srv-card__meta b { font-size: 18px; }
.srv-card__meta span { color: var(--muted); font-size: 14px; }
.srv-card i { font-style: normal; font-weight: 600; color: var(--accent-strong); }
@media (hover: hover) { .srv-card:hover { transform: translateY(-2px); } }
.srv-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.srv-mini { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow 160ms ease; }
.srv-mini b { font-size: 17px; }
.srv-mini span { color: var(--muted); font-size: 15px; }
@media (hover: hover) { .srv-mini:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.srv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.srv-steps li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r); background: var(--bg-2); counter-increment: st; }
.srv-steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.srv-steps b { font-size: 17px; }
.srv-steps span { font-size: 15px; }
.srv-steps a { color: var(--accent-strong); font-weight: 600; }
.srv-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 900px) {
  .srv-list { grid-template-columns: 1fr; }
  .srv-more, .srv-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .srv-card { grid-template-columns: 1fr; }
  .srv-cta .btn { flex: 1 1 100%; }
}

/* ===== /instrumenty/ ===== */
.tools__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tool { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r); background: var(--bg-2); color: var(--ink); text-decoration: none; transition: transform 200ms var(--ease), box-shadow 160ms ease; }
.tool b { font-size: 17px; }
.tool > span:last-child { color: var(--muted); font-size: 15px; }
.tool__ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); }
.tool__ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .tool:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink); } }

/* ===== /search/ ===== */
.srp { margin-top: 24px; }
.sr-form { display: flex; gap: 10px; max-width: 720px; }
.sr-form input { flex: 1; min-width: 0; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--bg-2); font: 500 17px/1.2 var(--text); color: var(--ink); }
.sr-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 28px; }
.sr-pop span { color: var(--muted); font-size: 14px; margin-right: 4px; }
.sr-pop a { padding: 7px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
@media (hover: hover) { .sr-pop a:hover { background: #e6e9e7; } }
.sr-group { margin-bottom: 28px; }
.sr-group h2 { margin-bottom: 10px; font: 700 20px/1.2 var(--display); }
.sr-group h2 small { color: var(--muted); font-size: 15px; font-weight: 500; }
.sr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sr-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--bg-2); color: var(--ink); text-decoration: none; transition: box-shadow 160ms ease; }
.sr-list img, .sr-list a > span:first-child { width: 56px; height: 56px; border-radius: 10px; background: #fff; object-fit: contain; }
.sr-list__t { display: flex; flex-direction: column; min-width: 0; }
.sr-list__t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-list__t small { color: var(--muted); font-size: 13px; }
.sr-list__p { font-weight: 600; white-space: nowrap; }
@media (hover: hover) { .sr-list a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); } }
.sr-none { max-width: 70ch; padding: 16px 18px; border-radius: 14px; background: var(--bg-2); }
.sr-none a { color: var(--accent-strong); font-weight: 600; }
@media (max-width: 560px) { .sr-list { grid-template-columns: 1fr; } }

/* ===== /zapchasti/ ===== */
.spx { margin-top: 24px; }
.spx-filters { display: flex; flex-direction: column; gap: 12px; }
.spx-filters input { max-width: 520px; padding: 13px 16px; border: 0; border-radius: 12px; background: var(--bg-2); font: 500 16px/1.2 var(--text); color: var(--ink); }
.nz-pills--sm .nz-pill { padding: 8px 13px; font-size: 14px; }
.spx-count { margin: 18px 0 10px; color: var(--muted); }
.spx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
/* фон карточки = фон фото запчастей Bambu Lab (#f7f7f7): фото и карточка сливаются в одно целое */
.sp-card { --sp-bg: #f7f7f7; display: flex; flex-direction: column; border-radius: var(--r); background: var(--sp-bg); overflow: hidden; }
.sp-card__img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--sp-bg); text-decoration: none; }
/* фото разных пропорций (магазин Bambu, wiki) — вписываем в одинаковый квадрат, карточки одной высоты */
.sp-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; box-sizing: border-box; object-fit: contain; }
.sp-card__img.is-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #a3aaa5; font-size: 13px; }
.sp-card__img.is-empty svg { width: 44px; height: 44px; stroke-width: 1.4; }
.sp-card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.sp-card__body b, .sp-card__name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; font-size: 15px; line-height: 1.3; }
.sp-card__name { color: var(--ink); font-weight: 700; text-decoration: none; }
.sp-card__name:hover { color: var(--accent-strong); }
.sp-card__body small { color: var(--muted); font-size: 13px; }
.sp-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 8px; margin: 8px 0 12px; }
.sp-card__price { font-weight: 700; font-size: 15px; }
.sp-card__st { color: var(--accent-strong); font-size: 13px; font-weight: 600; }
.sp-card__st.is-out { color: var(--muted); font-weight: 500; }
a.sp-card--link { color: var(--ink); text-decoration: none; transition: transform 160ms var(--ease); }
a.sp-card--link:hover { transform: translateY(-2px); }
a.sp-card--link .sp-card__meta { margin-bottom: 0; }
/* страница запчасти без фото */
.sp-part__noimg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 1; color: #a3aaa5; }
.sp-part__noimg svg { width: 72px; height: 72px; stroke-width: 1.2; }
.sp-card__body .btn { margin-top: auto; }
.spx-more { margin-top: 18px; text-align: center; }
.spx-bar { position: fixed; left: 50%; bottom: 16px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transform: translateX(-50%); max-width: calc(100vw - 32px); }
.spx-bar[hidden] { display: none; }
.spx-bar .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); }
.spx-bar span { font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) {
  .spx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* фильтры — одной строкой с прокруткой, иначе занимают весь первый экран */
  .spx-filters .nz-pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 2px; scrollbar-width: none; }
  .spx-filters .nz-pills::-webkit-scrollbar { display: none; }
  .spx-filters .nz-pill { flex: none; }
  .spx-bar { left: 16px; right: 16px; transform: none; flex-wrap: wrap; padding: 10px 12px; gap: 8px; }
  .spx-bar span { width: 100%; font-size: 14px; }
  .spx-bar #spSend { flex: 1; }
}

/* Расходники и запчасти на /servis/: карточки с фото */
.srv-parts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.srv-part { display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.srv-part__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.srv-part__img img { width: 100%; height: 100%; transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1); }
.srv-part__img--cover img { object-fit: cover; }
.srv-part__img--contain img { object-fit: contain; padding: 10% 16%; mix-blend-mode: multiply; }
.srv-part__t { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.srv-part__t b { font: 700 18px/1.25 var(--display); }
.srv-part__t span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.srv-part__t i { margin-top: auto; padding-top: 6px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--accent-strong); }
@media (hover: hover) { .srv-part:hover { transform: translateY(-3px); } .srv-part:hover .srv-part__img img { transform: scale(1.05); } }
@media (max-width: 1000px) { .srv-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .srv-parts { grid-template-columns: 1fr; } }

/* ===== /obsluzhivanie/ — планировщик ухода ===== */
.ob-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 12px; padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--r) + 6px); background: var(--bg-2); }
.ob-hero h1 { margin: 6px 0 14px; font: 800 clamp(30px, 4vw, 48px)/1.08 var(--display); letter-spacing: -0.03em; }
.ob-hero__lead { max-width: 560px; font-size: 18px; line-height: 1.55; }
.ob-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; padding: 0; list-style: none; }
.ob-hero__facts li { display: flex; flex-direction: column; gap: 2px; min-width: 120px; padding: 12px 16px; border-radius: 14px; background: #fff; }
.ob-hero__facts b { font: 800 28px/1 var(--display); color: var(--accent-strong); }
.ob-hero__facts span { color: var(--muted); font-size: 13px; line-height: 1.3; max-width: 150px; }
.ob-hero__pics { position: relative; aspect-ratio: 5 / 4; }
.ob-hero__pics img { position: absolute; border-radius: 16px; object-fit: cover; box-shadow: 0 16px 40px rgb(17 20 18 / .14); animation: ob-float 6s ease-in-out infinite; }
.ob-hero__p0 { left: 0; top: 4%; width: 62%; aspect-ratio: 4 / 3; height: auto; }
.ob-hero__p1 { right: 0; top: 0; width: 46%; aspect-ratio: 1; height: auto; animation-delay: -2s !important; }
.ob-hero__p2 { right: 10%; bottom: 0; width: 54%; aspect-ratio: 4 / 3; height: auto; animation-delay: -4s !important; }
@keyframes ob-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ob-easy__in { max-width: 860px; }
.ob-easy__in h2 { margin-bottom: 10px; font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--display); }
.ob-easy__in p { font-size: 17px; line-height: 1.6; color: var(--ink); }
.ob-easy__in p + p { margin-top: 10px; }
.ob-easy__in a { color: var(--accent-strong); font-weight: 600; }
.ob-lead { max-width: 760px; margin: -6px 0 18px; color: var(--muted); font-size: 16px; }
/* ритм */
.ob-rhythm { counter-reset: r; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.ob-rhythm li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0 14px 0 0; }
.ob-rhythm li::before { content: ''; position: absolute; left: 22px; right: 0; top: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.ob-rhythm li:last-child::before { display: none; }
.ob-rhythm__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), background-color 200ms ease; }
.ob-rhythm li:hover .ob-rhythm__ic { transform: scale(1.1); background: var(--accent-strong); }
.ob-rhythm b { font: 700 16px/1.25 var(--display); }
.ob-rhythm small { color: var(--muted); font-size: 13px; line-height: 1.4; }
/* планировщик */
.ob-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-bottom: 18px; }
.ob-pick .nz-printer[aria-selected="true"] { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.obp { padding: clamp(18px, 2.4vw, 28px); border-radius: calc(var(--r) + 4px); background: var(--bg-2); animation: ob-in 300ms cubic-bezier(0.16, 1, 0.3, 1); }
.obp[hidden] { display: none; }
@keyframes ob-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.obp__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.obp__head img { flex: none; width: 84px; height: 84px; object-fit: contain; mix-blend-mode: multiply; }
.obp__head h3 { font: 700 22px/1.2 var(--display); }
.obp__head p { margin-top: 4px; color: var(--muted); font-size: 15px; max-width: 720px; }
.obp__head .btn { margin-left: auto; flex: none; }
.obp__lanes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.obl { display: flex; flex-direction: column; gap: 8px; }
.obl__h { display: flex; align-items: center; gap: 8px; font: 700 15px/1.2 var(--display); }
.obl__h span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; }
.obl__h small { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; }
.obl ul, .obc ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.obt details { border-radius: 14px; background: #fff; overflow: hidden; transition: box-shadow 200ms ease; }
.obt details[open] { box-shadow: 0 8px 24px rgb(17 20 18 / .08); }
.obt summary { display: flex; align-items: center; gap: 12px; padding: 8px; cursor: pointer; list-style: none; }
.obt summary::-webkit-details-marker { display: none; }
.obt summary img, .obt__noimg { flex: none; width: 76px; height: 56px; border-radius: 10px; object-fit: cover; }
.obt__noimg { display: grid; place-items: center; background: var(--bg-2); color: #b7beb9; }
.obt__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.obt__t b { font-size: 14px; line-height: 1.3; }
.obt__t small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.obt summary::after { content: '+'; margin-left: auto; padding-right: 6px; color: var(--muted); font-size: 18px; transition: transform 200ms ease; }
.obt details[open] summary::after { transform: rotate(45deg); }
.obt__body { padding: 0 14px 14px; font-size: 14px; line-height: 1.5; }
.obt__need { margin-top: 6px; color: var(--muted); }
.obt__need span { color: var(--ink); font-weight: 600; }
.obt__need a { color: var(--accent-strong); font-weight: 600; }
.obc { margin-top: 18px; }
.obc ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin-top: 8px; }
.obc li { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 14px; }
.obc li span { color: var(--muted); font-size: 13px; line-height: 1.4; }
/* правила */
.ob-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ob-rules li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-radius: var(--r); background: var(--bg-2); transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.ob-rules li:hover { transform: translateY(-3px); }
.ob-rules__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; }
.ob-rules__n { position: absolute; top: 14px; right: 18px; font: 800 40px/1 var(--display); color: #e2e6e3; }
.ob-rules b { font: 700 17px/1.25 var(--display); }
.ob-rules p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
/* серии */
.obz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.obz { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.obz__img { position: relative; min-height: 100%; }
.obz__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obz__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.obz__body h3 { font: 700 18px/1.25 var(--display); }
.obz__row { display: flex; gap: 10px; }
.obz__row b { font-size: 13px; }
.obz__row ul { margin: 2px 0 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.obz__ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #fff; }
.obz__row--oil .obz__ic { color: #2f6fd6; } .obz__row--grease .obz__ic { color: #9a5a00; } .obz__row--wipe .obz__ic { color: var(--accent-strong); }
.obz__note { padding: 8px 10px; border-radius: 10px; background: #fff; font-size: 13px; line-height: 1.4; }
.obz__models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.obz__models a { padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.obz__models a:hover { background: var(--ink); color: #fff; }
.ob-ams { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.ob-ams img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.ob-ams h2 { margin-bottom: 10px; font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--display); }
.ob-ams p { font-size: 16px; line-height: 1.6; } .ob-ams p + p { margin-top: 10px; } .ob-ams a { color: var(--accent-strong); font-weight: 600; }
.ob-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: var(--r); background: var(--ink); color: #fff; }
.ob-buy h2 { font: 700 22px/1.2 var(--display); } .ob-buy p { margin-top: 4px; color: rgb(255 255 255 / .75); }
.ob-buy .btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .5); }
@media (max-width: 1100px) { .ob-rhythm { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; } .ob-rhythm li:nth-child(3)::before { display: none; } .obz-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .ob-hero, .ob-ams { grid-template-columns: 1fr; } .ob-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .obp__head { flex-wrap: wrap; } .obp__head .btn { margin-left: 0; } }
@media (max-width: 600px) { .ob-rhythm, .ob-rules { grid-template-columns: 1fr; } .obz { grid-template-columns: 1fr; } .obz__img { aspect-ratio: 16 / 9; } .ob-pick { display: flex; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; } .ob-pick .nz-printer { flex: 0 0 96px; } }
@media (prefers-reduced-motion: reduce) { .ob-hero__pics img, .obp { animation: none; } }
/* серии: фото сверху целиком, без обрезки */
.obz { grid-template-columns: 1fr; }
.obz__img { min-height: 0; background: #fff; }
.obz__img img { position: static; display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.ob-buy .sv-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Телефон: сопла — по одной карточке, таблички размеров в колонку; поиск — имя в две строки ===== */
@media (max-width: 600px) {
  .nz-grid, .nz-sizes { grid-template-columns: minmax(0, 1fr); }
  .nz-card__buy .btn { height: auto; min-height: 42px; white-space: normal; line-height: 1.2; }
  .sr-list__t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .cmp-diff input { width: 22px; height: 22px; }
}
/* Ритм ухода на телефоне — вертикальная лента: иконка слева, пунктир между шагами, текст справа (04.11.2026) */
@media (max-width: 600px) {
  .ob-rhythm { row-gap: 0; }
  .ob-rhythm li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: start; padding: 0 0 18px; }
  .ob-rhythm li::before, .ob-rhythm li:nth-child(3)::before { display: block; left: 19px; right: auto; top: 44px; bottom: 4px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px); }
  .ob-rhythm li:last-child { padding-bottom: 0; }
  .ob-rhythm li:last-child::before { display: none; }
  .ob-rhythm__ic { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
  .ob-rhythm__ic svg { width: 20px; height: 20px; }
  .ob-rhythm b { padding-top: 1px; font-size: 16px; }
  .ob-rhythm small { font-size: 14px; }
}

/* /zapchasti/ — посадочная и страницы серий (06.11.2026): плитки моделей как у Bambu Lab, пометка «хотенды — в аксессуарах» */
.spl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.spl-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 14px 18px; border-radius: var(--r); background: var(--bg-2); color: var(--ink); text-align: center; text-decoration: none; transition: transform 160ms var(--ease), background-color 160ms ease; }
.spl-tile:hover { background: var(--bg-3, #e9eee9); transform: translateY(-2px); }
.spl-tile__img { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px; margin-bottom: 8px; color: #a3aaa5; }
.spl-tile__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.spl-tile__img svg { width: 56px; height: 56px; stroke-width: 1.3; }
.spl-tile b { font-size: 16px; line-height: 1.25; }
.spl-tile small { color: var(--muted); font-size: 14px; }
.spl-tile__n { margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 600; }
.spl-tiles--sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.spl-tiles--sm .spl-tile__img { width: 80px; height: 80px; }
.spl-tiles--sm .spl-tile b { font-size: 14px; }
.spl-wiki-lead { margin: 0 0 12px; color: var(--muted); }
.spl-wiki a { text-decoration: none; }
.spl-head { display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.spl-head__txt { min-width: 0; }
.spl-head__img { flex: none; width: 180px; height: 180px; object-fit: contain; mix-blend-mode: multiply; }
.spl-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.spl-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1.2 var(--text); text-decoration: none; transition: transform 160ms var(--ease), box-shadow 160ms ease; }
.spl-link svg { width: 18px; height: 18px; color: var(--muted); }
.spl-link:hover { box-shadow: 0 4px 14px rgba(14, 36, 22, 0.1); transform: translateY(-1px); }
@media (max-width: 600px) {
  .spl-tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .spl-tile { padding: 12px 8px 14px; }
  .spl-tile__img { width: 88px; height: 88px; }
  .spl-tile b { font-size: 14px; }
  .spl-head__img { display: none; }   /* на телефоне фото сжимало заголовок */
  .spl-head { gap: 12px; }
  .spl-link { font-size: 14px; padding: 8px 12px; }
}

.sp-part .pp__main { background: #f7f7f7; }

/* страница запчасти: артикул, описание + характеристики рядом, варианты по моделям */
.sp-part__sku { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.sp-part__sku b { color: var(--ink); font-weight: 600; }
.sp-part .pp__main img { width: 100%; height: 100%; object-fit: contain; }
.sp-vars .ap-var small { color: var(--muted); font-size: 12px; }
.sp-desc__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sp-desc__in .pc-lead p { margin: 0 0 12px; }
.sp-specs { padding: 18px 22px; border-radius: var(--r); background: var(--bg-2); }
.sp-specs h3 { margin: 0 0 6px; font-size: 18px; }
.sp-specs dl { margin: 0; }
.sp-specs dl > div { display: grid; grid-template-columns: minmax(120px, 0.8fr) 1.2fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.sp-specs dl > div:first-child { border-top: 0; }
.sp-specs dt { color: var(--muted); }
.sp-specs dd { margin: 0; overflow-wrap: anywhere; }
.btn.is-notify { gap: 8px; }
@media (max-width: 860px) { .sp-desc__in { grid-template-columns: 1fr; gap: 20px; } }
