/* ============================================================
   PANCORE — стилі внутрішніх сторінок («Виробництво», «Асортимент»).
   Окремий файл: головна (index.html) його не підключає і не змінюється.
   ============================================================ */

/* ---------- ескізи (креслярський стиль) ---------- */
.sketch { width: 100%; height: auto; display: block; }
.sketch .ln  { fill: none; stroke: #aab3bb; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sketch .ln2 { fill: none; stroke: #eef0f4; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.sketch .hair { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 0.85; vector-effect: non-scaling-stroke; }
.sketch .dim { fill: none; stroke: rgba(255, 61, 79, 0.55); stroke-width: 0.75; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.sketch .fillDim { fill: rgba(211, 217, 222, 0.07); }
.sketch text { fill: var(--text-3); font-family: var(--f-mono); font-size: 7.4px; letter-spacing: 0.08em; }
.sk { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-s); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 70%); }
.sk--wide .sketch { max-height: 160px; }
/* креслення пропелера: планформа + ступиця/переріз — два SVG поруч, на телефоні один під одним */
.sketch .dimL { fill: none; stroke: rgba(255, 61, 79, 0.75); stroke-width: 0.8; vector-effect: non-scaling-stroke; }
/* закладні у кресленні рами — приховані (штрихові) лінії */
.sketch .hid { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 0.85; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
/* схеми місцевості та підключення: маршрут волокна, зони ризику, вода, рослинність, підписи */
.sketch .fiber { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px rgba(255, 61, 79, 0.55)); }
.sketch .road { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.22); stroke-width: 0.75; vector-effect: non-scaling-stroke; }
.sketch .green { fill: rgba(111, 227, 160, 0.12); stroke: rgba(111, 227, 160, 0.5); stroke-width: 0.75; vector-effect: non-scaling-stroke; }
.sketch .warn { fill: var(--accent-2); }
.sketch .ok { fill: var(--ok); }
.sketch .osd { fill: var(--text-2); font-size: 6.6px; letter-spacing: 0.04em; }
/* широка сцена місцевості: вища за звичайні широкі ескізи */
.sk--scene .sketch { max-height: 340px; }
.sketch--prop text { fill: var(--text-2); font-size: 9px; letter-spacing: 0.06em; }
.sketch--prop .t { fill: var(--text-3); font-size: 7.5px; letter-spacing: 0.18em; }
.sketch--prop .big { fill: var(--text); font-size: 12px; font-weight: 500; }
.propsk { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: start; }
.sk--prop { padding: 12px 14px; }

/* ═══════════════════ ВИРОБНИЦТВО ═══════════════════ */

/* плитки ліній */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 150px;
  padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
  transition: border-color 0.3s var(--ease-brand), background 0.3s var(--ease-brand), transform 0.3s var(--ease);
}
.tile:hover { border-color: rgba(255, 61, 79, 0.45); background: var(--panel-2); transform: translateY(-3px); }
.tile__st { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.tile__st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.tile__st.is-live::before { background: var(--ok); box-shadow: 0 0 10px rgba(111, 227, 160, 0.7); }
.tile__st.is-soon::before { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.tile h3 { font-size: var(--fs-l); font-weight: 700; }
.tile__v { margin-top: auto; font-family: var(--f-display); font-size: var(--fs-h4); font-weight: 500; }
.tile__v small { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--text-3); letter-spacing: 0.12em; margin-left: 8px; text-transform: uppercase; }
.tile__go { position: absolute; right: 18px; top: 18px; color: var(--text-3); }

/* флагманський продукт */
.feat { position: relative; }
.feat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.chips--tags .chip { cursor: default; }
.photo { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--sq { aspect-ratio: 1; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo__cap { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(7, 8, 11, 0.7); backdrop-filter: blur(6px); font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
/* HUD-виноски на фото: координати у % через --x/--y */
.hud { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; pointer-events: none; }
.hud::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 61, 79, 0.25), 0 0 14px var(--accent); }
.hud span { padding: 5px 9px; border-radius: 6px; background: rgba(7, 8, 11, 0.78); backdrop-filter: blur(6px); font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.hud--left { flex-direction: row-reverse; }
/* мітка-«шпилька»: точка стоїть рівно на деталі (--x, --y), підпис праворуч; з .hud--left — ліворуч */
.hud--pin { transform: translate(-4.5px, -50%); }
.hud--pin.hud--left { transform: translate(calc(-100% + 4.5px), -50%); }

/* паспорт: повзунок довжини з силуетом котушки в масштабі */
.passport { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(160deg, rgba(255, 61, 79, 0.07), var(--panel) 45%); display: grid; gap: 18px; overflow: hidden; }
.passport::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 61, 79, 0.16), transparent); pointer-events: none; }
.passport__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.passport__km { font-family: var(--f-display); font-size: clamp(38px, 4vw, 54px); font-weight: 600; line-height: 0.95; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.passport__km small { font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-left: 8px; }
.passport__tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.passport__tags { min-height: 28px; }   /* висота не залежить від того, скільки плашок видно — без стрибка при 30 км */
.ptag { padding: 5px 10px; border-radius: var(--pill); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); transition: opacity 0.3s var(--ease-brand), transform 0.35s var(--ease); }
.ptag.is-off { opacity: 0; transform: translateY(5px); pointer-events: none; }
.ptag--std { border-color: rgba(111, 227, 160, 0.4); color: var(--ok); }
.ptag--ref { border-color: rgba(255, 61, 79, 0.5); color: var(--accent-2); }
/* рейка: невидимий нативний range зверху (перетягування, клавіатура), візуальна доріжка під ним */
.rail { position: relative; padding: 12px 8px 42px; }
.rail__track { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.rail__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); box-shadow: 0 0 12px var(--accent-glow); transition: width 0.45s var(--ease); }
.rail__thumb { position: absolute; top: 50%; left: 60%; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 61, 79, 0.22), 0 0 22px var(--accent-glow); transform: translate(-50%, -50%); transition: left 0.45s var(--ease), box-shadow 0.2s var(--ease-brand); }
.rail:hover .rail__thumb, .rail input:focus-visible ~ .rail__track .rail__thumb { box-shadow: 0 0 0 7px rgba(255, 61, 79, 0.28), 0 0 26px var(--accent-glow); }
.rail__stops { position: absolute; left: 8px; right: 8px; top: 12px; height: 4px; }
.rail__stops span { position: absolute; left: var(--p); top: 50%; transform: translate(-50%, -4px); display: grid; justify-items: center; gap: 22px; }   /* крапка на доріжці, цифра під сяйвом повзунка */
.rail__stops i { width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1.5px solid rgba(255, 255, 255, 0.35); transition: border-color 0.3s var(--ease-brand), opacity 0.3s var(--ease-brand); }
.rail__stops .is-past i { border-color: var(--accent); background: var(--accent); }
.rail__stops .is-on i { opacity: 0; }
.rail__stops b { font-family: var(--f-mono); font-size: var(--fs-2xs); font-weight: 500; letter-spacing: 0.08em; color: var(--text-3); transition: color 0.3s var(--ease-brand); }
.rail__stops .is-on b { color: #fff; }
.rail input[type="range"] { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 40px; margin: 0; opacity: 0; cursor: pointer; z-index: 2; -webkit-appearance: none; appearance: none; }
.passport__grid { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 16px; align-items: center; }
.pcoil { width: 100%; height: auto; display: block; overflow: visible; }
.pcoil__base { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.pcoil__axis { stroke: rgba(255, 61, 79, 0.5); stroke-width: 0.8; stroke-dasharray: 3 3; }
.pcoil__body { fill: url(#pc-layers); stroke: #eef0f4; stroke-width: 1.4; transition: x 0.45s var(--ease), y 0.45s var(--ease), width 0.45s var(--ease), height 0.45s var(--ease); }
.pcoil__core { fill: var(--bg); stroke: #aab3bb; stroke-width: 1; transition: x 0.45s var(--ease), y 0.45s var(--ease), width 0.45s var(--ease), height 0.45s var(--ease); }
.pcoil__t { fill: var(--text-2); font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.06em; transition: x 0.45s var(--ease), y 0.45s var(--ease); }
.readouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; }
.ro { padding: 11px 11px 9px; border: 1px solid var(--line); border-radius: var(--r-s); background: rgba(255, 255, 255, 0.025); transition: opacity 0.3s var(--ease-brand); }
.ro.is-na { opacity: 0.45; }
.ro b.is-tick, .passport__km.is-tick { animation: ro-tick 0.28s ease-out; }
@keyframes ro-tick { from { opacity: 0.55; } to { opacity: 1; } }
.ro b { display: block; font-family: var(--f-display); font-size: var(--fs-l); font-weight: 500; font-variant-numeric: tabular-nums; }
.ro b small { font-size: var(--fs-2xs); color: var(--text-3); margin-left: 3px; font-family: var(--f-mono); }
.ro span { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.passport__fn { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.5; }
@media (max-width: 600px) { .passport { padding: 18px; } .passport__grid { grid-template-columns: 96px minmax(0, 1fr); } .readouts { grid-template-columns: 1fr 1fr; } }

/* переваги */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.adv article { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--panel); }
.adv .n { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.16em; color: var(--accent); }
.adv h4 { margin-top: 10px; font-size: var(--fs-s); font-weight: 700; letter-spacing: 0.02em; }
.adv p { margin-top: 8px; font-size: var(--fs-s); color: var(--text-2); line-height: 1.55; }

/* оптика + OTDR */
.optics { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.att { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.att table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.att th, .att td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.att th { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); font-weight: 500; background: rgba(255, 255, 255, 0.025); }
.att td:last-child { color: var(--ok); font-weight: 700; }
.att tr:last-child td { border-bottom: 0; }
.att td { white-space: nowrap; }   /* «0,335 дБ/км», «−16 %» не рвуться на два рядки */
@media (max-width: 600px) {
  .att table { font-size: var(--fs-s); }
  .att th, .att td { padding: 9px 7px; }
  .att th { font-size: var(--fs-2xs); letter-spacing: 0.08em; white-space: normal; }
}

.otdr { padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.otdr__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.otdr__title { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--pill); padding: 3px; gap: 3px; }
.seg button { padding: 7px 14px; border-radius: var(--pill); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--text-2); }
.seg button.is-on { background: var(--accent); color: #fff; }
.otdr__plot { position: relative; }
.otdr__plot svg { width: 100%; height: auto; display: block; }
.otdr .grid line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.otdr .axis text { fill: var(--text-3); font-family: var(--f-mono); font-size: 10px; }
.otdr .axis line { stroke: rgba(255, 255, 255, 0.18); }
.otdr .trace { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.otdr .area { fill: url(#otdr-fill); }
.otdr .ev { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-dasharray: 3 3; }
.otdr .evl { fill: var(--text-2); font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.06em; }
.otdr .cross { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; }
.otdr .dot { fill: #fff; stroke: var(--accent); stroke-width: 2; }
.otdr__tip { position: absolute; pointer-events: none; padding: 6px 9px; border-radius: 6px; background: rgba(7, 8, 11, 0.9); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--text); white-space: nowrap; transform: translate(-50%, -120%); }
.otdr__tip[hidden] { display: none; }
.otdr__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.otdr__stats div { padding: 10px 10px 8px; border: 1px solid var(--line); border-radius: 8px; }
.otdr__stats b { display: block; font-family: var(--f-display); font-size: var(--fs-l); font-weight: 500; font-variant-numeric: tabular-nums; }
.otdr__stats span { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.otdr__fn { margin-top: 10px; font-size: var(--fs-xs); color: var(--text-3); }

/* польовий корпус */
.casing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.feats { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feats > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feats > div > div { display: block; }
.prods--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) { .prods--3 { grid-template-columns: 1fr; } }
.feats .n { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--accent); letter-spacing: 0.12em; padding-top: 3px; }
.feats b { display: block; font-size: var(--fs-s); font-weight: 700; }
.feats p { margin-top: 4px; font-size: var(--fs-s); color: var(--text-2); line-height: 1.5; }
.casing__ph { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.casing__ph .photo--wide { grid-column: 1 / -1; }
/* фото серійних зразків під деками пропелерів і рам: дві картки поруч, на телефоні одна під одною */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }

/* система sky + ground */
.sys { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sys article { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.sys .sk { padding: 8px 0 0; border: 0; background: none; }
.sys h4 { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.sys h3 { margin-top: 6px; font-size: var(--fs-l); }
.kv { display: grid; gap: 0; margin-top: 14px; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: minmax(96px, 36%) minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-s); }
.kv dt { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); line-height: 1.5; }
.kv dd { margin: 0; color: var(--text); font-weight: 600; line-height: 1.45; }
.kv dd em { font-style: normal; color: var(--accent-2); font-weight: 500; }
.callout { margin-top: 14px; padding: 14px 18px; border-left: 2px solid var(--accent); background: rgba(255, 61, 79, 0.06); border-radius: 0 var(--r-s) var(--r-s) 0; font-size: var(--fs-s); line-height: 1.55; }
.callout b { color: #fff; }

/* застосування */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }   /* 4 застосування — один ряд, без «сироти» в другому */
.apps article { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--panel); }
.apps article.is-prio { border-color: rgba(255, 61, 79, 0.35); }
.apps .n { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; color: var(--text-3); text-transform: uppercase; }
.apps .n i { font-style: normal; color: var(--accent); }
.apps h4 { margin-top: 8px; font-size: var(--fs-s); font-weight: 700; }
.apps p { margin-top: 6px; font-size: var(--fs-s); color: var(--text-2); line-height: 1.5; }

/* блоки сторінки: спільна шапка + точки-навігація праворуч */
/* scroll-margin-top прибрано: html має scroll-padding-top, і разом вони б додались
   (82 + 82 = 164px) — блок сідав би надто низько. */
.blk__head { max-width: 780px; margin-bottom: 28px; }
.blk__head .lead { margin-top: 12px; }
.blk__head .status { display: inline-block; margin-top: 14px; }
.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 30; display: grid; gap: 9px; }
.dots a { position: relative; display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-left: auto; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); transition: transform 0.3s var(--ease), background 0.3s var(--ease-brand); }
.dots a:hover i { background: var(--text); }
.dots a.is-on i { background: var(--accent); transform: scale(1.6); box-shadow: 0 0 10px var(--accent-glow); }
.dots span { position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; padding: 4px 9px; border-radius: 6px; background: rgba(7, 8, 11, 0.88); border: 1px solid var(--line); font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease-brand), transform 0.2s var(--ease-brand); }
.dots a:hover span, .dots a:focus-visible span, .dots a.is-flash span { opacity: 1; transform: translate(0, -50%); }
.dots a.is-on span { color: #fff; }
/* minmax(0, 1fr): без нього широка таблиця порівняння рам (min-width 560px) розпирала колонку,
   і на телефоні вся сторінка ставала 580px завширшки — текст обрізався справа */
.dos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.dos__block { min-width: 0; }

/* пропелери: креслення + специфікація + матеріал */
.propdeck { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(18px, 2.5vw, 32px); align-items: start; }
.propdeck__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.propdeck__note { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.propdeck__dl { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--pill); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); transition: border-color 0.2s var(--ease-brand), color 0.2s var(--ease-brand); }
.dl:hover { border-color: var(--accent); color: #fff; }
.dl svg { width: 12px; height: 12px; }
.propsk--one { grid-template-columns: minmax(0, 420px); justify-content: center; }
.propdeck__spec { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.propdeck__spec h3 { font-size: var(--fs-l); }
.propdeck__spec .kv { margin-top: 12px; }
.chords { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: var(--fs-s); font-variant-numeric: tabular-nums; }
.chords th, .chords td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.chords th { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.chords th:first-child, .chords td:first-child { text-align: left; }
.chords tbody th { color: var(--text-2); }
.mat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mat__opt { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); text-align: left; transition: border-color 0.2s var(--ease-brand), background 0.2s var(--ease-brand); }
.mat__opt:hover { border-color: var(--line-2); }
.mat__opt.is-on { border-color: var(--accent); background: rgba(255, 61, 79, 0.07); }
.mat__opt b { display: block; font-size: var(--fs-s); }
.mat__opt span { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.mat__opt.is-on span { color: var(--accent-2); }
.kv--mat { margin-top: 10px; }
.propdeck__spec .btn { margin-top: 16px; }
.dos__block h4 { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.dos__block h4::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.prod { display: grid; grid-template-rows: auto 1fr; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--panel); gap: 10px; transition: border-color 0.3s var(--ease-brand), transform 0.3s var(--ease); }
.prod:hover { border-color: rgba(255, 61, 79, 0.4); transform: translateY(-2px); }
.prod .sk { padding: 6px 0 0; border: 0; background: none; }
.prod b { font-size: var(--fs-m); font-weight: 700; }
.prod p { font-size: var(--fs-s); color: var(--text-2); line-height: 1.5; }
.prod .go { margin-top: auto; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
/* У .prods з auto-fit одинока картка займала всю ширину, а .sketch тягнеться
   на 100% — звідси ескіз на пів екрана. Обмежуємо саму картку, не всі ескізи. */
.prods--solo { max-width: 640px; }
/* Картка-виріб у рядок: компактний ескіз ліворуч, текст праворуч. */
.prod--row {
  grid-template-columns: minmax(0, 176px) minmax(0, 1fr);
  grid-template-rows: auto; align-items: center; gap: 18px; padding: 18px;
}
.prod--row .prod__fig {
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 70%);
}
.prod--row .prod__fig .sk { padding: 0; }
.prod--row .prod__fig .sketch { max-height: 104px; }
.prod--row .prod__txt { display: grid; gap: 8px; align-content: center; }
.prod--row .prod__txt p { margin: 0; }
.prod--row .go { margin-top: 2px; }
@media (max-width: 700px) {
  .prod--row { grid-template-columns: 1fr; gap: 14px; }
  .prod--row .prod__fig { justify-self: start; min-width: 176px; }
}
.stages { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; position: relative; }
.stages::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 1px; background: var(--line-2); }
.stage { position: relative; padding: 28px 12px 0 0; }
.stage::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.stage b { display: block; font-size: var(--fs-s); font-weight: 700; }
.stage span { display: block; margin-top: 4px; font-size: var(--fs-xs); color: var(--text-3); line-height: 1.45; }
.eq { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.eq th, .eq td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.eq th { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); font-weight: 500; white-space: nowrap; }
.eq td:first-child { font-weight: 600; }
.eq td.mono { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--text-2); }
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.doc { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--panel); }
.doc svg { width: 22px; height: 22px; flex: none; color: var(--ok); }
.doc b { display: block; font-size: var(--fs-s); }
.doc span { display: block; margin-top: 3px; font-size: var(--fs-xs); color: var(--text-3); }
.toggle { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--pill); }
.toggle button { padding: 7px 14px; border-radius: var(--pill); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--text-2); }
.toggle button.is-on { background: #fff; color: #0b0c10; }

/* ═══════════════════ АСОРТИМЕНТ ═══════════════════ */
.cat-top { padding: calc(var(--head-h) + 40px) 0 22px; }
/* шапка каталогу з полем граней, як на сторінці виробництва, але нижча — під нею липка панель пошуку */
.band--cat { min-height: 46svh; }
.cat-top .lead { margin-top: 12px; }
.cat-top h1 { font-size: var(--fs-h2); }
.toolbar--cat { top: var(--head-h); }
/* на широких екранах категорії — у бічній колонці, стрічка чипів не потрібна */
@media (min-width: 1101px) { .toolbar--cat #chips { display: none; } .cat-nav { top: calc(var(--head-h) + 74px); } }
.cat-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; padding-top: 8px; }
.cat-nav { position: sticky; top: calc(var(--head-h) + 84px); max-height: calc(100vh - var(--head-h) - 100px); overflow: auto; display: grid; gap: 2px; align-content: start; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav button { display: flex; justify-content: space-between; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 8px; text-align: left; font-size: var(--fs-s); color: var(--text-2); border: 1px solid transparent; }
.cat-nav button:hover { background: var(--panel); color: var(--text); }
.cat-nav button.is-on { background: var(--panel-2); border-color: var(--line-2); color: #fff; }
.cat-nav button b { font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 500; color: var(--text-3); }
.cat-nav button.is-own { color: var(--accent-2); }
.cat-filters { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 10px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; animation: appear 0.22s ease-out both; }
.cat-filters[hidden] { display: none; }
.cat-filters .lab { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.cat-filters .chips { gap: 6px; }
.cat-filters .chip { padding: 6px 11px; font-size: var(--fs-xs); }
.cat-sum { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--text-3); margin-top: 6px; line-height: 1.6; }
.cat-sum b { color: var(--text-2); font-weight: 500; }
.cat-group { padding-top: 34px; }
.cat-group__head { display: block; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cat-group__head h2 { font-size: var(--fs-h3); }
/* заголовок категорії — кнопка: на десктопі пасивна, на телефоні розгортає вкладку */
.cat-group__btn { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: inherit; cursor: default; pointer-events: none; }
.cat-group__head .cnt { font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 400; color: var(--text-3); letter-spacing: 0.1em; white-space: nowrap; }
.cat-group__chev { display: none; }
.cat-group__body > div { display: block; }
.cat-group--own .cat-group__head h2 { color: var(--accent-2); }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.item { display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--panel); transition: border-color 0.3s var(--ease-brand), background 0.3s var(--ease-brand), transform 0.3s var(--ease); }
.item:hover { border-color: rgba(255, 61, 79, 0.4); background: var(--panel-2); transform: translateY(-2px); }
.item.is-cmp { border-color: rgba(255, 61, 79, 0.6); box-shadow: inset 0 0 0 1px rgba(255, 61, 79, 0.25); }
.item--own { border-color: rgba(255, 138, 122, 0.35); background: linear-gradient(180deg, rgba(255, 61, 79, 0.06), var(--panel) 60%); }
/* картка: іконка категорії · назва · один ключовий параметр */
.item__head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 14px; text-align: left; cursor: pointer; }
.item__ico { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.035); display: grid; place-items: center; color: var(--text-2); transition: color 0.2s var(--ease-brand), border-color 0.2s var(--ease-brand); }
.item__ico svg { width: 22px; height: 22px; }
/* мініатюра фото з техдокументації: світле поле, як у вікні позиції; картка з фото трохи вища */
.item__head:has(.item__ico--ph) { grid-template-columns: 58px minmax(0, 1fr) auto; }
.item__ico--ph { width: 58px; height: 58px; padding: 4px; background: #f3f4f6; border-color: rgba(255, 255, 255, 0.14); overflow: hidden; }
.item__ico--ph img { width: 100%; height: 100%; object-fit: contain; display: block; }
.item:hover .item__ico--ph { border-color: rgba(255, 61, 79, 0.55); }
.item:hover .item__ico { color: var(--accent-2); border-color: rgba(255, 61, 79, 0.4); }
.item--own .item__ico { color: var(--accent-2); border-color: rgba(255, 61, 79, 0.35); background: rgba(255, 61, 79, 0.08); }
.item__txt { display: block; min-width: 0; }
.item__name { display: block; font-size: var(--fs-s); font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }   /* «640KV/900KV/1050KV»: перенос після «/» (<wbr> у catalog.js), а не під стрілку */
.item__meta { display: block; margin-top: 5px; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--text-3); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item__meta b { color: var(--text-2); font-weight: 500; }
.own-badge { display: inline-block; padding: 2px 7px; border-radius: 5px; background: var(--accent); color: #fff; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; }
.item__chev { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; display: grid; place-items: center; color: var(--text-2); transition: border-color 0.2s var(--ease-brand), color 0.2s var(--ease-brand), transform 0.3s var(--ease); }
.item__chev svg { width: 14px; height: 14px; }
.item:hover .item__chev { border-color: var(--accent); color: var(--accent-2); transform: translateX(2px); }
.item__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 14px 9px; border-top: 1px solid var(--line); }
.item__id { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; color: var(--text-3); }
.item__cmp { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding: 4px 0; }
.item__cmp::before { content: ""; width: 12px; height: 12px; border: 1px solid var(--line-2); border-radius: 3px; }
.item__cmp:hover { color: var(--text); }
.item__cmp.is-on { color: var(--accent-2); }
.item__cmp.is-on::before { background: var(--accent); border-color: var(--accent); }
.more { margin-top: 12px; width: 100%; padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--r-s); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); transition: border-color 0.2s var(--ease-brand), color 0.2s var(--ease-brand); }
.more:hover { border-color: var(--accent); color: #fff; }
.empty { padding: 48px 0; }
.empty .btn { margin-top: 16px; }

/* шухляда специфікації */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__back { position: absolute; inset: 0; background: rgba(7, 8, 11, 0.6); backdrop-filter: blur(4px); animation: dr-fade 0.28s ease-out both; }
@keyframes dr-fade { from { opacity: 0; } to { opacity: 1; } }
/* закриття: затемнення й панель гаснуть разом (catalog.js ховає шухляду після 220 мс) */
.drawer.is-closing .drawer__back { animation: dr-fade-out 0.22s ease-in both; }
.drawer.is-closing .drawer__panel { animation: drawer-out 0.22s ease-in both; }
@keyframes dr-fade-out { to { opacity: 0; } }
@keyframes drawer-out { to { transform: scale(0.98); opacity: 0; } }
/* перехід між позиціями: панель лишається, оновлений вміст коротко проявляється */
.drawer__hero.is-swap > :not(.drawer__bar), .drawer__body.is-swap { animation: swap-in 0.22s ease-out both; }
/* вікно по центру: inset 0 + margin auto центрує без transform, тож анімації масштабу не зсувають його */
.drawer__panel { position: absolute; inset: 0; margin: auto; width: min(1120px, calc(100% - 48px)); height: min(820px, calc(100% - 48px)); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: drawer-in 0.32s var(--ease); }
@keyframes drawer-in { from { transform: scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
/* шапка вікна: градієнт із сіткою, ескіз або велика іконка, мета-рядок, назва, чипи */
.drawer__hero {
  position: relative; overflow: hidden; padding: 16px 22px 18px; border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(160deg, rgba(255, 61, 79, 0.16), rgba(255, 255, 255, 0.02) 60%);
  background-size: 22px 22px, 22px 22px, 100% 100%;
}
.drawer__hero::after { content: ""; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 61, 79, 0.22), transparent); pointer-events: none; }
.drawer__hero > * { position: relative; z-index: 1; }
.drawer__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.drawer__nav { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(7, 8, 11, 0.5); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; color: var(--text-3); }
.drawer__nav span { padding: 0 6px; }
.drawer__nav button { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: background 0.2s var(--ease-brand), color 0.2s var(--ease-brand); }
.drawer__nav button svg { width: 14px; height: 14px; }
.drawer__nav button:hover:not(:disabled) { background: var(--panel-2); color: #fff; }
.drawer__nav button:disabled { opacity: 0.3; cursor: default; }
.drawer__x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(7, 8, 11, 0.5); display: grid; place-items: center; color: var(--text-2); flex: none; }
.drawer__x:hover { border-color: var(--accent); color: #fff; }
.drawer__glyph { position: absolute; right: 18px; top: 52px; width: 120px; height: 120px; color: var(--accent-2); opacity: 0.32; filter: drop-shadow(0 0 18px var(--accent-glow)); pointer-events: none; }
.drawer__glyph svg { width: 100%; height: 100%; stroke-width: 1.1; }
.drawer__sk { max-width: 260px; margin: 0 0 8px; }
.drawer__sk .sketch { max-height: 180px; }
.drawer__sk--prop .propsk { grid-template-columns: 1fr; }
.drawer__sk--prop .propsk svg:nth-child(2) { display: none; }
.drawer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.drawer__meta .mono { color: var(--text-3); }
.drawer__hero h2 { margin-top: 10px; padding-right: 110px; font-size: var(--fs-h4); font-weight: 700; line-height: 1.35; }
.drawer__hero--own h2 { padding-right: 0; }
.drawer__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.drawer__chips .chip { padding: 5px 10px; font-size: var(--fs-2xs); cursor: default; }
.chip--doc { border-color: rgba(111, 227, 160, 0.4); color: var(--ok); }
.drawer__body { overflow: auto; padding: 16px 22px 20px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.fact { padding: 11px 12px 9px; border: 1px solid var(--line); border-radius: var(--r-s); background: rgba(255, 255, 255, 0.03); }
.fact b { display: block; font-family: var(--f-display); font-size: var(--fs-s); font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.fact span { display: block; margin-top: 5px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.drawer__body .item__desc { padding: 0 0 14px; }
.drawer__h { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 4px 0 8px; display: flex; align-items: center; gap: 12px; }
.drawer__h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.specs-tbl { border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.specs-tbl .spec { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.specs-tbl .spec:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.specs-tbl .spec:last-child { border-bottom: 0; }
.specs-tbl .spec.is-key dt { color: var(--accent-2); }
/* групи варіантів: перемикач у вікні позиції; приглушена картка позицій без документації */
.dr-var { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.dr-var__lab { width: 100%; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.dr-var__b { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(7, 8, 11, 0.5); color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; cursor: pointer; transition: border-color 0.2s var(--ease-brand), color 0.2s var(--ease-brand), background 0.2s var(--ease-brand); }
.dr-var__b:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.dr-var__b[aria-pressed="true"] { border-color: var(--accent); background: rgba(255, 61, 79, 0.16); color: #fff; }
.item--muted { opacity: 0.55; transition: opacity 0.2s var(--ease-brand); }
.item--muted:hover, .item--muted:focus-within { opacity: 1; }
/* турбореактивні двигуни: фото на світлому полі, креслення й документи у вікні позиції */
.drawer__photo { margin: 0 0 16px; padding: 14px; border-radius: 12px; background: #f3f4f6; display: grid; place-items: center; }
.drawer__photo img { width: 100%; max-height: 260px; object-fit: contain; display: block; }
.dr-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.dr-gal__it { display: grid; gap: 7px; align-content: start; margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-s); background: rgba(255, 255, 255, 0.03); color: var(--text-2); font-size: var(--fs-xs); line-height: 1.35; transition: border-color 0.2s var(--ease-brand); }
a.dr-gal__it:hover { border-color: var(--accent); color: var(--text); }
a.dr-gal__it img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 6px; display: block; }
.dr-gal__it--sk { grid-column: 1 / -1; }
.dr-gal__it--sk .sketch { max-height: 210px; margin: 0 auto; }
.dr-docs { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.dr-docs a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: var(--fs-s); transition: border-color 0.2s var(--ease-brand); }
.dr-docs a:hover { border-color: var(--accent); }
.dr-docs svg { width: 18px; height: 18px; flex: none; color: var(--accent-2); }
/* вікно позиції 901 (власна котушка): фото корпусу з мініатюрами, посилання, паспорт довжини, система, технологія, креслення */
.dr-shot { margin: 0 0 16px; }
.dr-shot__main { position: relative; margin: 0; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #1a1b1f; }   /* колір студійного тла фото */
/* поля навколо фото - те саме фото, розмите: краї студійного тла не видно за будь-якого співвідношення сторін */
.dr-shot__main::before { content: ""; position: absolute; inset: -12%; background: var(--ph) center / cover no-repeat; filter: blur(22px) brightness(0.75); }
.dr-shot__main img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; transition: opacity 0.18s ease; }
.dr-shot__main img.is-fade { opacity: 0; }
.dr-shot__main figcaption { position: absolute; z-index: 1; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: var(--pill); background: rgba(7, 8, 11, 0.62); backdrop-filter: blur(6px); font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.dr-shot__th { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.dr-shot__th button { aspect-ratio: 1; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #16171b; cursor: pointer; opacity: 0.6; transition: opacity 0.2s var(--ease-brand), border-color 0.2s var(--ease-brand); }
.dr-shot__th button:hover { opacity: 0.9; }
.dr-shot__th button[aria-pressed="true"] { opacity: 1; border-color: var(--accent); }
.dr-shot__th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.dr-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(7, 8, 11, 0.5); color: var(--text-2); font-size: var(--fs-xs); font-weight: 600; transition: border-color 0.2s var(--ease-brand), color 0.2s var(--ease-brand); }
.dr-links a:hover { border-color: var(--accent); color: #fff; }
.dr-links a span { color: var(--accent-2); }
.dr-len { margin-bottom: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: linear-gradient(180deg, rgba(255, 61, 79, 0.07), rgba(255, 255, 255, 0.02) 55%); }
.dr-len__seg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(7, 8, 11, 0.5); }
.dr-len__seg button { padding: 7px 0; border-radius: var(--pill); color: var(--text-2); font-family: var(--f-display); font-size: var(--fs-s); font-weight: 600; cursor: pointer; transition: background 0.2s var(--ease-brand), color 0.2s var(--ease-brand); }
.dr-len__seg button:hover { color: #fff; }
.dr-len__seg button small { margin-left: 2px; font-family: var(--f-mono); font-size: var(--fs-2xs); font-weight: 400; color: var(--text-3); }
.dr-len__seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.dr-len__seg button[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.82); }
.dr-len__body { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: end; margin-top: 12px; }
.dr-len__sil { width: 100%; height: auto; overflow: visible; }
.dr-len__sil .body { fill: rgba(255, 61, 79, 0.16); stroke: var(--accent); stroke-width: 1.2; }
.dr-len__sil .layers { stroke: none; }
.dr-len__sil .core { fill: #16171b; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.dr-len__sil .base { stroke: rgba(255, 255, 255, 0.25); stroke-width: 1; }
.dr-len__sil .axis { stroke: rgba(255, 255, 255, 0.25); stroke-width: 0.8; stroke-dasharray: 4 3; }
.dr-len__sil text { fill: var(--text-2); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; }
.dr-len__ro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dr-len__ro > div:not(.dr-len__tags) { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(7, 8, 11, 0.35); }
.dr-len__ro b { display: block; font-family: var(--f-display); font-size: var(--fs-m); font-weight: 600; line-height: 1.2; }
.dr-len__ro b small { margin-left: 3px; font-family: var(--f-mono); font-size: var(--fs-2xs); font-weight: 400; color: var(--text-3); }
.dr-len__ro span { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.dr-len__ro .is-na b { font-size: var(--fs-xs); color: var(--text-3); }
.dr-len__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.dr-len__tags span { margin: 0; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--text-2); }
.dr-len__tags .is-std { border-color: rgba(63, 185, 80, 0.5); color: var(--ok); }
.dr-len__tags .is-ref { border-color: rgba(255, 61, 79, 0.5); color: var(--accent-2); }
.dr-len__fn { margin: 10px 0 0; font-size: var(--fs-xs); line-height: 1.45; color: var(--text-3); }
.drawer__body { container-type: inline-size; }
.dr-sys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.dr-sys article { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: rgba(255, 255, 255, 0.03); }
.dr-sys article:first-child { border-color: rgba(255, 61, 79, 0.45); background: rgba(255, 61, 79, 0.06); }
.dr-sys h5 { margin: 0; font-family: var(--f-mono); font-size: var(--fs-2xs); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.dr-sys h4 { margin: 4px 0 8px; font-size: var(--fs-s); line-height: 1.3; }
.dr-sys ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; color: var(--text-2); font-size: var(--fs-xs); line-height: 1.35; }
.dr-sys li { position: relative; padding-left: 12px; }
.dr-sys li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.dr-adv { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin-bottom: 16px; }
.dr-adv > div { padding: 10px 12px; border-left: 2px solid var(--accent); border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, 0.03); }
.dr-adv b { display: block; font-size: var(--fs-s); line-height: 1.3; }
.dr-adv .n { margin-right: 7px; font-family: var(--f-mono); font-size: var(--fs-2xs); font-weight: 400; color: var(--text-3); }
.dr-adv p { margin: 4px 0 0; color: var(--text-2); font-size: var(--fs-xs); line-height: 1.4; }
.dr-drw { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin-bottom: 16px; }
.dr-drw figure { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-s); background: rgba(255, 255, 255, 0.03); }
.dr-drw .sketch { width: 100%; height: auto; max-height: 220px; display: block; margin: 0 auto; }
.dr-drw figcaption { margin-top: 6px; color: var(--text-2); font-size: var(--fs-xs); line-height: 1.35; }
/* вузька колонка вікна: система в зборі - одна колонка, у картці заголовок ліворуч і пункти праворуч */
@container (max-width: 600px) {
  .dr-sys { grid-template-columns: 1fr; }
  .dr-sys article { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0 14px; align-items: start; }
  .dr-sys h5, .dr-sys h4 { grid-column: 1; }
  .dr-sys ul { grid-column: 2; grid-row: 1 / 3; }
}
@container (max-width: 400px) { .dr-sys article { display: block; } }
@media (max-width: 600px) {
  .dr-shot__main { aspect-ratio: 4 / 3; }
  .dr-len__body { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
  .dr-len__seg button { font-size: var(--fs-s); }
  .dr-len__seg button small { display: none; }
}
/* одна колонка (телефон і планшет): прокручується вся панель, а не лише тіло під зафіксованою шапкою; кнопки прилипають знизу */
@media (max-width: 900px) {
  .drawer__panel { display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
  .drawer__hero { flex: none; }
  .drawer__body { flex: 1 0 auto; overflow: visible; }
  .drawer__foot { position: sticky; bottom: 0; z-index: 2; flex: none; }
}
@media (max-width: 600px) { .dr-gal { grid-template-columns: 1fr; } .drawer__photo { margin-bottom: 10px; padding: 8px; } .drawer__photo img { max-height: 150px; } }
.drawer__foot { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px 22px 18px; border-top: 1px solid var(--line); background: var(--bg-2); }
.drawer__foot .btn { flex: 1 1 auto; }
.drawer__ok { width: 100%; font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--ok); min-height: 16px; }
/* вікно позиції: «Запит» і «Поділитися» першим рядком, решта втрьох другим */
.drawer:not(.drawer--cmp) .drawer__foot { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.drawer:not(.drawer--cmp) .drawer__foot .btn { grid-column: span 2; }
.drawer:not(.drawer--cmp) .drawer__foot [data-req], .drawer:not(.drawer--cmp) .drawer__foot [data-share] { grid-column: span 3; }
.drawer:not(.drawer--cmp) .drawer__ok { grid-column: 1 / -1; }
.drawer:not(.drawer--cmp) .drawer__ok:empty { display: none; }
/* «Поділитися»: меню над кнопкою (на комп'ютері; на телефоні - системне меню) */
@media (min-width: 901px) { .drawer__foot { position: relative; } }
.drawer__foot [data-share] svg { flex: none; }
.share-menu { position: absolute; bottom: calc(100% + 8px); z-index: 5; display: grid; min-width: 236px; padding: 6px; border-radius: 14px; background: rgba(12, 14, 19, 0.97); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); backdrop-filter: blur(10px); animation: appear 0.16s ease-out both; }
.share-menu a, .share-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 9px; color: var(--text); font-size: var(--fs-s); text-align: left; text-decoration: none; }
.share-menu a:hover, .share-menu button:hover, .share-menu a:focus-visible, .share-menu button:focus-visible { background: rgba(255, 255, 255, 0.06); color: #fff; outline: none; }
.share-menu svg { width: 18px; height: 18px; flex: none; color: var(--text-2); }
.share-menu [data-sh="tg"] svg { color: #2aabee; }
.share-menu [data-sh="wa"] svg { color: #25d366; }
.share-menu [data-sh="vb"] svg { color: #8f7cf6; }

/* порівняння */
.cmp-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: var(--pill); background: rgba(12, 14, 19, 0.92); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; }
.cmp-bar[hidden] { display: none; }
.cmp-bar { animation: appear 0.22s ease-out both; }
.cmp-bar .x { color: var(--text-3); padding: 6px 8px; }
.cmp-bar .x:hover { color: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.cmp-table th, .cmp-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.cmp-table th { font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.cmp-table thead th { color: var(--text); font-family: var(--f-body); font-size: var(--fs-s); text-transform: none; letter-spacing: 0; font-weight: 700; }
.cmp-table td.diff { color: var(--accent-2); font-weight: 600; }
.cmp-wrap { overflow-x: auto; }
.drawer--cmp .drawer__panel { width: min(1000px, calc(100% - 48px)); }
/* широкий екран: дві колонки — ліворуч шапка (навігація, ескіз, назва), праворуч характеристики й кнопки */
@media (min-width: 901px) {
  .drawer:not(.drawer--cmp) .drawer__panel { grid-template-columns: minmax(320px, 410px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .drawer:not(.drawer--cmp) .drawer__hero { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; padding: 22px 26px 26px; border-bottom: 0; border-right: 1px solid var(--line); overflow: hidden auto; }
  .drawer:not(.drawer--cmp) .drawer__body { grid-column: 2; grid-row: 1; padding: 26px 30px 24px; }
  .drawer:not(.drawer--cmp) .drawer__foot { grid-column: 2; grid-row: 2; padding: 14px 30px 20px; }
  .drawer:not(.drawer--cmp) .drawer__bar { margin-bottom: 22px; }
  .drawer:not(.drawer--cmp) .drawer__sk { max-width: none; margin: 4px 0 18px; }
  .drawer:not(.drawer--cmp) .drawer__sk .sketch { max-height: 300px; max-width: 100%; }
  .drawer:not(.drawer--cmp) .drawer__glyph { top: auto; bottom: 26px; right: 26px; width: 170px; height: 170px; opacity: 0.22; }
  .drawer:not(.drawer--cmp) .drawer__hero h2 { padding-right: 0; font-size: var(--fs-h4); }
  .drawer:not(.drawer--cmp) .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .adv, .apps { grid-template-columns: repeat(2, 1fr); }
  .items { grid-template-columns: repeat(2, 1fr); }
  .propdeck { grid-template-columns: 1fr; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-nav { display: none; }
  /* категорії — згорнуті вкладки (як у першій версії каталогу) */
  .cat-group { padding-top: 0; border-bottom: 1px solid var(--line); }
  .cat-group__head { margin: 0; padding: 0; border-bottom: 0; }
  .cat-group__head h2 { font-size: var(--fs-l); }
  .cat-group__btn { padding: 16px 0; cursor: pointer; pointer-events: auto; }
  .cat-group__chev { display: grid; place-items: center; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); flex: none; transition: transform 0.3s var(--ease), border-color 0.2s var(--ease-brand), color 0.2s var(--ease-brand); }
  .cat-group__chev svg { width: 14px; height: 14px; }
  .cat-group.is-open .cat-group__chev { transform: rotate(180deg); border-color: var(--accent); color: var(--accent-2); }
  .cat-sum { display: none; }
  .cat-group.is-open .cat-sum { display: block; margin: -6px 0 12px; }
  .cat-group__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
  .cat-group.is-open .cat-group__body { grid-template-rows: 1fr; }
  .cat-group__body > div { overflow: hidden; }
  .cat-group__body .items, .cat-group__body .more { margin-bottom: 18px; }
}
@media (max-width: 880px) {
  .feat__grid, .optics, .casing, .sys { grid-template-columns: 1fr; }
  .readouts { grid-template-columns: repeat(2, 1fr); }
  .otdr__stats { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-auto-flow: row; }
  .stages::before { left: 5px; right: auto; top: 12px; bottom: 12px; width: 1px; height: auto; }
  .stage { padding: 0 0 18px 24px; }
  .stage::before { top: 4px; }
  .dots { right: 6px; gap: 8px; }
  .dots span { display: none; }
}
@media (max-width: 600px) {
  .tiles, .adv, .apps, .items, .casing__ph, .shots, .propsk, .mat { grid-template-columns: 1fr; }
  .casing__ph .photo--wide { grid-column: auto; }
  .hud span { font-size: var(--fs-2xs); }
  .drawer__panel { top: auto; left: 0; right: 0; bottom: 0; margin: 0; width: 100%; height: min(92vh, 100%); border: 0; border-top: 1px solid var(--line-2); border-radius: 18px 18px 0 0; animation: sheet-in 0.32s var(--ease); }
  @keyframes sheet-in { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
  .drawer.is-closing .drawer__panel { animation: sheet-out 0.22s ease-in both; }
  @keyframes sheet-out { to { transform: translateY(32px); opacity: 0; } }
  .drawer--cmp .drawer__panel { width: 100%; height: min(92vh, 100%); }
  .drawer__hero { padding: 14px 18px 16px; }
  .drawer__hero h2 { padding-right: 0; font-size: var(--fs-l); }
  .drawer__glyph { width: 84px; height: 84px; top: 14px; right: 60px; opacity: 0.22; }
  .drawer__body { padding: 14px 18px 18px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
  .fact { padding: 9px 9px 7px; }
  .fact b { font-size: var(--fs-s); }
  .fact span { font-size: var(--fs-2xs); letter-spacing: 0.08em; }
  .drawer__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); }
  .drawer__foot .btn { min-height: 38px; padding: 8px 10px; font-size: var(--fs-xs); }
  .drawer:not(.drawer--cmp) .drawer__foot .btn { gap: 8px; letter-spacing: 0.06em; }
  .drawer__ok { grid-column: 1 / -1; min-height: 0; }
  .drawer__ok:empty { display: none; }
  .cmp-bar { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .cat-top { padding-top: calc(var(--head-h) + 24px); }
}
@media (max-width: 880px) {
  .cmp-bar { bottom: 76px; }   /* над плаваючою панеллю запиту */
}
@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__back, .item, .prod, .tile, .cat-filters, .cmp-bar { animation: none; transition: none; }
}

/* ---------- вікно позиції й порівняння на весь екран (30.10.2026): без рамки й заокруглень;
   на широкому екрані колонка з фото до 520 px, текст характеристик не ширший за 1100 px ---------- */
.drawer .drawer__panel { inset: 0; margin: 0; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
@media (min-width: 901px) {
  .drawer:not(.drawer--cmp) .drawer__panel { grid-template-columns: minmax(360px, min(34%, 520px)) minmax(0, 1fr); }
  .drawer:not(.drawer--cmp) .drawer__body > * { max-width: 1100px; }
  .drawer:not(.drawer--cmp) .drawer__body { padding: 34px 40px 28px; }
  .drawer:not(.drawer--cmp) .drawer__foot { padding: 14px max(40px, calc(100% - 1140px)) 22px 40px; }
  .drawer--cmp .drawer__body { padding: 26px 40px; }
}
@media (max-width: 600px) {
  .drawer .drawer__hero { padding-top: calc(14px + env(safe-area-inset-top)); }
}

/* ---------- друк специфікації позиції (кнопка PDF у шухляді) ---------- */
@media print {
  body.is-printing { background: #fff; color: #000; }
  body.is-printing * { visibility: hidden; }
  body.is-printing .drawer, body.is-printing .drawer__panel, body.is-printing .drawer__panel * { visibility: visible; }
  body.is-printing .drawer { position: static; }
  body.is-printing .drawer__back, body.is-printing .drawer__x, body.is-printing .drawer__foot, body.is-printing .drawer__nav, body.is-printing .drawer__glyph { display: none !important; }
  body.is-printing .drawer__hero { background: none; border: 0; border-bottom: 1px solid #999; padding: 0 0 10px; }
  body.is-printing .drawer__hero::after { display: none; }
  body.is-printing .drawer__hero h2, body.is-printing .fact b { color: #000; }
  body.is-printing .fact, body.is-printing .specs-tbl { border-color: #ddd; }
  body.is-printing .drawer__panel { position: absolute; left: 0; top: 0; right: auto; bottom: auto; margin: 0; border-radius: 0; width: 100%; height: auto; border: 0; box-shadow: none; background: #fff; color: #000; display: block; animation: none; }
  body.is-printing .drawer__head { border-bottom: 1px solid #999; padding: 0 0 10px; }
  body.is-printing .drawer__head h2, body.is-printing .spec dd, body.is-printing .item__desc, body.is-printing .cmp-table td { color: #000; }
  body.is-printing .spec dt, body.is-printing .item__top, body.is-printing .item__src, body.is-printing .item__note, body.is-printing .cmp-table th { color: #444; }
  body.is-printing .spec, body.is-printing .cmp-table td, body.is-printing .cmp-table th { border-color: #ddd; }
  body.is-printing .own-badge { background: #000; color: #fff; }
  body.is-printing .drawer__body { overflow: visible; padding: 10px 0; }
  body.is-printing .drawer__body::after { content: "PANCORE · office@pancore.eu · Made in EU"; display: block; margin-top: 18px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.1em; color: #444; }
}

/* ---------- 3D-сцена «Волокно на складному маршруті» (js/route3d.js) ---------- */
.scene3d { position: relative; height: clamp(320px, 44vw, 540px); border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, rgba(255, 61, 79, 0.05), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%);
  touch-action: pan-y; cursor: grab; user-select: none; --scene-fade: 1; }
.scene3d.is-drag { cursor: grabbing; }
.scene3d canvas { display: block; width: 100%; height: 100%; opacity: var(--scene-fade); }
.scene3d__labels { position: absolute; inset: 0; pointer-events: none; opacity: var(--scene-fade); }
.scene3d__lbl { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2); padding: 3px 7px; background: rgba(7, 8, 11, 0.62); border: 1px solid var(--line); border-radius: 3px; transition: opacity 0.4s var(--ease-brand); will-change: transform; }
.scene3d__cap, .scene3d__ok { position: absolute; left: 18px; font-family: var(--f-mono); font-size: var(--fs-xs); line-height: 1.55; letter-spacing: 0.06em; pointer-events: none; }
.scene3d__cap { top: 16px; color: var(--text-3); }
.scene3d__ok { bottom: 16px; color: var(--ok); }
.scene3d__hint { position: absolute; right: 14px; bottom: 14px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); opacity: 0.7; pointer-events: none; }
.scene3d.is-fallback { height: auto; cursor: default; padding: 18px; }
.scene3d.is-fallback canvas, .scene3d.is-fallback .scene3d__cap, .scene3d.is-fallback .scene3d__ok, .scene3d.is-fallback .scene3d__hint, .scene3d.is-fallback .scene3d__labels { display: none; }
.scene3d.is-fallback .sketch { max-height: 340px; }
@media (max-width: 640px) {
  .scene3d { height: 320px; }
  .scene3d__lbl { font-size: var(--fs-2xs); padding: 2px 5px; }
  .scene3d__lbl--minor { display: none; }
  .scene3d__cap, .scene3d__ok { font-size: var(--fs-2xs); left: 12px; }
  .scene3d__cap { top: 10px; } .scene3d__ok { bottom: 10px; }
  .scene3d__hint { display: none; }
}
@media (max-width: 700px) { .dots { display: none; } .band--cat { min-height: 0; } }   /* .band--cat 46svh задано вище в цьому файлі й перебивало style.css */   /* на телефоні точки-навігація налазять на текст */

/* ---------- OTDR: курсор, який тягнуть, і живі показання під графіком ---------- */
.otdr__plot svg { touch-action: none; cursor: ew-resize; user-select: none; }
.otdr .cross { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 3; }
.otdr__live { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.otdr__live div { padding: 9px 10px 8px; border: 1px solid rgba(255, 61, 79, 0.35); border-radius: 8px; background: var(--accent-soft); }
.otdr__live b { display: block; font-family: var(--f-display); font-size: var(--fs-m); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--text); }
.otdr__live b small { font-family: var(--f-mono); font-size: var(--fs-2xs); color: var(--text-2); }
.otdr__live span { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: var(--fs-2xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.otdr__live .otdr__zone { border-color: var(--line); background: transparent; }
.otdr__live .otdr__zone b { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--text-2); padding-top: 3px; }
@media (max-width: 880px) { .otdr__live { grid-template-columns: repeat(2, 1fr); } }

/* ---------- попап «на весь екран» для схем (production: #link2d, #route3d) ---------- */
.fs-wrap { position: relative; }
.fs-wrap > .sk, .fs-wrap > .scene3d { margin-bottom: 0 !important; }
.fs-btn { position: absolute; right: 12px; top: 12px; z-index: 5; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(7, 8, 11, 0.7); color: var(--text-2); cursor: pointer; transition: color 0.2s var(--ease-brand), border-color 0.2s var(--ease-brand), background 0.2s var(--ease-brand); }
.fs-btn svg { width: 16px; height: 16px; }
.fs-btn:hover { color: #fff; border-color: var(--accent); background: rgba(255, 61, 79, 0.16); }
.fs-holder { display: none; }
.fs-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); background: rgba(7, 8, 11, 0.94); backdrop-filter: blur(6px); animation: fs-in 0.25s var(--ease); }
@keyframes fs-in { from { opacity: 0; } to { opacity: 1; } }
.fs-panel { width: min(1500px, 100%); max-height: 100%; }
.fs-close { position: fixed; top: 16px; right: 16px; z-index: 201; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(7, 8, 11, 0.8); color: #fff; cursor: pointer; }
.fs-close svg { width: 18px; height: 18px; }
.fs-close:hover { border-color: var(--accent); background: rgba(255, 61, 79, 0.18); }
.fs-wrap.is-fs .fs-btn { display: none; }
.fs-wrap.is-fs .scene3d { height: min(86vh, 900px); }
.fs-wrap.is-fs .sk--scene .sketch { max-height: calc(100vh - 140px); }
.fs-wrap.is-fs .sk { padding: 24px; }
body.fs-open { overflow: hidden; }
@media (max-width: 700px) { .fs-btn { right: 8px; top: 8px; width: 30px; height: 30px; } .fs-wrap.is-fs .scene3d { height: 70vh; } }

/* ---------- 13.10: огляд «Виробництва» і блок «Ще у виробництві» — чотири вироби в ряд ---------- */
.prods--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prods--4 .prod .sketch { max-height: 170px; }
.prods--4 .prod .propsk { grid-template-columns: 1fr; }
.prods--4 .prod .propsk svg:nth-child(2) { display: none; }
@media (max-width: 1100px) { .prods--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .prods--4 { grid-template-columns: 1fr; } }
.blk__head--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.blk__head--row .eyebrow { margin-bottom: 0; }

/* ---------- 13.10: спокійніша типографіка сторінок виробництва (див. style.css) ---------- */
body:not([data-page="catalog"]) :is(.tile__st, .tile__v small, .photo__cap, .hud span, .passport__km small, .ro span, .att th, .otdr__stats span, .otdr__live span, .kv dt, .dots span,
  .propdeck__note, .chords th, .mat__opt span, .eq th, .scene3d__lbl, .scene3d__hint, .scene3d__cap, .sys h4, .dos__block h4, .otdr__title, .prod .go) {
  font-family: var(--f-body); letter-spacing: 0.01em; text-transform: none;
}
body:not([data-page="catalog"]) :is(.tile__st, .tile__v small, .photo__cap, .hud span, .dots span, .propdeck__note, .scene3d__lbl, .scene3d__hint, .scene3d__cap) { font-size: var(--fs-xs); }
body:not([data-page="catalog"]) :is(.ro span, .att th, .otdr__stats span, .otdr__live span, .kv dt, .chords th, .mat__opt span, .eq th) { font-size: var(--fs-s); }
body:not([data-page="catalog"]) .passport__km small { font-size: var(--fs-m); }
body:not([data-page="catalog"]) :is(.sys h4, .dos__block h4, .otdr__title) { font-size: var(--fs-s); font-weight: 600; color: var(--text); }
body:not([data-page="catalog"]) .prod .go { font-size: var(--fs-s); font-weight: 600; color: var(--text-2); }
body:not([data-page="catalog"]) .prod:hover .go { color: var(--accent-2); }
body:not([data-page="catalog"]) .kv dd em { color: var(--text); font-weight: 600; }
body:not([data-page="catalog"]) :is(.adv .n, .feats .n) { color: var(--text-3); }
/* 13.10: характеристики модулів S-T / S-R згорнуті — розгортаються за кліком, креслення модулів на виду */
.kv-more { margin-top: 14px; border-top: 1px solid var(--line); }
.kv-more > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; cursor: pointer; font-size: var(--fs-s); font-weight: 600; color: var(--text-2); transition: color 0.2s var(--ease-brand); }
.kv-more > summary::-webkit-details-marker { display: none; }
.kv-more > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s var(--ease); }
.kv-more > summary:hover { color: #fff; }
.kv-more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.kv-more .kv { margin-top: 0; }

/* ===== 14.10.2026: вкладки «Виробництво», розділення блоків, головна схема системи, карусель креслень ===== */
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ptabs a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-s); font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, 0.03); transition: color .2s var(--ease-brand), border-color .2s var(--ease-brand), background .2s var(--ease-brand); }
.ptabs a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.ptabs a[aria-current="page"] { color: #fff; border-color: var(--accent); background: rgba(255, 61, 79, 0.16); }
body[data-page="production"] main > section.blk:nth-of-type(odd) { background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.012) 60%, transparent); }
body[data-page="production"] main > section.blk > .wrap > .blk__head .eyebrow::before { content: ""; display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; vertical-align: middle; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.sys3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.sys3__card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.sys3__card h4 { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.sys3__card h3 { margin-top: 6px; font-size: var(--fs-l); }
.sys3__card ul { margin: 14px 0 4px; padding: 0; list-style: none; display: grid; gap: 7px; font-size: var(--fs-s); color: var(--text-2); }
.sys3__card li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.sys3__card--st { align-self: start; }
.sys3__card--sr { align-self: end; }
.sys3__main .sk { padding: 6px 10px; border: 0; background: radial-gradient(closest-side, rgba(255, 61, 79, 0.08), transparent 70%); }
.sys3__main .sketch { max-height: 560px; margin: 0 auto; }
.sketch .sys-t1 { fill: #fff; font-size: 8.2px; font-weight: 600; letter-spacing: 0.12em; }
.sketch .sys-v { fill: var(--accent); } .sketch .sys-c { fill: #cfd6dc; }
.sketch .sys-badge { fill: rgba(10, 11, 14, 0.85); stroke: rgba(255, 61, 79, 0.5); stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.sketch .pulse { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 3 17; vector-effect: non-scaling-stroke; animation: sk-flow 1.4s linear infinite; }
.sketch .pulse--dn { stroke: #ffb3bb; } .sketch .pulse--up { stroke: #ffffff; opacity: .7; animation-direction: reverse; animation-duration: 1.9s; }
@keyframes sk-flow { to { stroke-dashoffset: -40; } }
@media (prefers-reduced-motion: reduce) { .sketch .pulse { animation: none; } }
.dcar { --sw: min(600px, 58vw); position: relative; margin: 6px 0 14px; }
.dcar__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px calc((100% - var(--sw)) / 2) 10px; cursor: grab; outline: none; }
.dcar__track::-webkit-scrollbar { display: none; }
.dcar__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.dcar__slide { flex: 0 0 var(--sw); scroll-snap-align: center; margin: 0; padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); opacity: .38; transform: scale(.94); transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease-brand); }
.dcar__slide.is-on { opacity: 1; transform: none; border-color: rgba(255, 61, 79, 0.45); }
.dcar__slide.is-prev, .dcar__slide.is-next { opacity: .55; cursor: pointer; }
.dcar__slide .sk { padding: 0; border: 0; background: none; }
.dcar__slide .sketch { max-height: 330px; margin: 0 auto; }
.dcar__slide figcaption { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--text-2); }
.dcar__slide figcaption b { color: #fff; font-weight: 700; }
.dcar__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.dcar__btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: #fff; font-size: var(--fs-m); cursor: pointer; transition: border-color .2s var(--ease-brand), background .2s var(--ease-brand); }
.dcar__btn:hover:not(:disabled) { border-color: var(--accent); background: rgba(255, 61, 79, 0.14); }
.dcar__btn:disabled { opacity: .3; cursor: default; }
.dcar__dots { display: flex; gap: 8px; }
.dcar__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.25); cursor: pointer; transition: width .25s var(--ease-brand), background .25s var(--ease-brand); }
.dcar__dots button[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--accent); }
@media (max-width: 1100px) { .sys3 { grid-template-columns: 1fr 1fr; } .sys3__main { grid-column: 1 / -1; order: -1; } .sys3__card--st, .sys3__card--sr { align-self: stretch; } }
@media (max-width: 700px) { .sys3 { grid-template-columns: 1fr; } .dcar { --sw: 80vw; } .dcar__slide { padding: 14px; } .dcar__track { gap: 12px; } .ptabs a { padding: 8px 13px; font-size: var(--fs-s); } }

/* 14.10.2026: етапи оптоволоконної лінії в блоці котушки (замість окремої порожньої секції) */
.fline { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 20px 48px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.fline__head h3 { margin: 6px 0 12px; font-size: var(--fs-h3); line-height: 1.2; }
.fline .stages { align-self: center; }
@media (max-width: 900px) { .fline { grid-template-columns: 1fr; padding: 22px 20px; } }

/* ---------- корпус у 3D (coil.html #build3d, js/coil3d.js): sticky-сцена в довгій доріжці, прокрутка розбирає колбу;
   виноски й картка - HTML поверх канви, координати з --x/--y (ставить скрипт) ---------- */
.c3d { padding: 0; }
.c3d__track { position: relative; height: 300vh; }
.c3d__stage { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h)); display: flex; flex-direction: column; padding: 26px 0 18px; }
.c3d__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.c3d__head .h2 { margin: 6px 0 0; }
.c3d__hint { max-width: 320px; margin: 0; color: var(--text-3); font-size: var(--fs-s); line-height: 1.5; }
.c3d__tp { display: none; }
@media (hover: none) { .c3d__hv { display: none; } .c3d__tp { display: inline; } }
.c3d__scene { position: relative; flex: 1; min-height: 0; margin: 10px 0; touch-action: pan-y; }
.c3d__scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* м'яке світіння й кільця за колбою, як на постері-рендері */
.c3d__scene::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 34% 44% at 50% 52%, rgba(255, 61, 79, 0.11), transparent 70%); pointer-events: none; }
.c3d__scene::after { content: ''; position: absolute; left: 50%; top: 50%; width: min(64vh, 70%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.045); box-shadow: 0 0 0 clamp(40px, 9vh, 90px) rgba(255, 255, 255, 0.012), inset 0 0 0 clamp(40px, 9vh, 90px) rgba(255, 255, 255, 0.012); pointer-events: none; }
.c3d__scene.is-drag { cursor: grabbing; }
.c3d__poster { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: opacity 0.5s var(--ease-brand); }
.c3d__scene.is-live .c3d__poster { opacity: 0; pointer-events: none; }
.c3d__scene.is-fallback { display: grid; place-items: center; }
.c3d__track:has(.is-fallback) { height: auto; }
.c3d__track:has(.is-fallback) .c3d__stage { position: static; height: auto; }
.c3d__ui { position: absolute; inset: 0; pointer-events: none; }
.c3d__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.c3d__lines line { stroke: rgba(255, 255, 255, 0.34); stroke-width: 1; }
.c3d__lines circle { fill: #fff; }
.c3d__lines line.is-on { stroke: var(--accent); }
.c3d__lines circle.is-on { fill: var(--accent); }
.c3d__lbl { position: absolute; left: 0; top: 0; transform: translate(var(--x, 0px), var(--y, 0px)) translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(7, 8, 11, 0.8); backdrop-filter: blur(8px);
  color: #fff; font: 600 var(--fs-xs)/1.2 var(--f-body); white-space: nowrap; pointer-events: auto; cursor: default; opacity: 0; transition: border-color 0.2s var(--ease-brand), background 0.2s var(--ease-brand); }
.c3d__lbl.is-up { transform: translate(var(--x, 0px), var(--y, 0px)) translate(-50%, -100%); }
.c3d__lbl.is-down { transform: translate(var(--x, 0px), var(--y, 0px)) translate(-50%, 0); }
.c3d__lbl.is-left { transform: translate(var(--x, 0px), var(--y, 0px)) translate(-100%, -50%); }
.c3d__lbl.is-right { transform: translate(var(--x, 0px), var(--y, 0px)) translate(0, -50%); }
.c3d__lbl i { font: 600 var(--fs-2xs)/1 var(--f-mono); font-style: normal; letter-spacing: 0.06em; color: var(--accent); }
.c3d__lbl.is-on { border-color: var(--accent); background: rgba(255, 61, 79, 0.18); }
.c3d__hot { position: absolute; left: 0; top: 0; z-index: 2; width: 26px; height: 26px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%;
  background: rgba(7, 8, 11, 0.6); color: #fff; font: 600 var(--fs-2xs)/1 var(--f-mono); display: grid; place-items: center; pointer-events: auto; cursor: pointer; opacity: 0;
  transform: translate(var(--x, 0px), var(--y, 0px)) translate(-50%, -50%); transition: border-color 0.2s var(--ease-brand), background 0.2s var(--ease-brand); }
.c3d__hot::before { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 61, 79, 0.6); animation: c3dPulse 2.4s ease-out infinite; }
.c3d__hot:hover, .c3d__hot.is-on { border-color: var(--accent); background: rgba(255, 61, 79, 0.28); }
.c3d__hot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@keyframes c3dPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .c3d__hot::before { animation: none; } }
.c3d__tipln { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1; opacity: 0; transition: opacity 0.18s var(--ease-brand); }
.c3d__tip i { display: block; margin-bottom: 6px; font: 600 var(--fs-2xs)/1 var(--f-mono); font-style: normal; letter-spacing: 0.1em; color: var(--accent); }
.c3d__tip--side { border-left: 2px solid var(--accent); }
.c3d__tip { position: absolute; left: 0; top: 0; z-index: 3; width: max-content; max-width: min(290px, calc(100% - 16px)); padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(12, 14, 19, 0.94); backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45); opacity: 0; transition: opacity 0.18s var(--ease-brand); pointer-events: none; }
.c3d__tip.is-on { opacity: 1; }
.c3d__tip b { display: block; margin-bottom: 4px; font-size: var(--fs-s); color: #fff; }
.c3d__tip p { margin: 0; font-size: var(--fs-s); line-height: 1.45; color: var(--text-2); }
.c3d__foot { display: flex; align-items: center; gap: 16px; }
.c3d__bar { flex: 0 0 140px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.c3d__bar i { display: block; width: calc(var(--p, 0) * 100%); height: 100%; background: var(--accent); }
.c3d__note { font: var(--fs-xs)/1.4 var(--f-mono); letter-spacing: 0.04em; color: var(--text-3); }
.c3d__sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .c3d__track { height: 260vh; }
  .c3d__stage { padding: 18px 0 12px; }
  .c3d__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .c3d__hint { font-size: var(--fs-s); }
  .c3d__lbl { gap: 6px; padding: 4px 9px 4px 6px; font-size: var(--fs-xs); }
  .c3d__lbl b { max-width: 104px; white-space: normal; }
  .c3d__bar { flex-basis: 70px; }
  .c3d__note { display: none; }   /* на телефоні місце віддаємо сцені: розміри є в блоці «Корпус» вище */
}


/* ============================================================
   Редизайн 23.10.2026 (pages.css): «Виробництво» на одній сторінці, каталог.
   ============================================================ */

/* ---------- «Виробництво»: навігація розділами (production.js). Десктоп - рядок посилань під шапкою,
   телефон і планшет - кнопка з поточним розділом і випадний список (без горизонтальної стрічки) ---------- */
.pnav { position: sticky; top: var(--head-h); z-index: 35; background: rgba(7, 8, 11, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.pnav__in { position: relative; display: flex; align-items: center; gap: 24px; min-height: 52px; }
.pnav__title { flex: none; font-family: var(--f-display); font-size: var(--fs-m); font-weight: 600; color: var(--text); }
.pnav__cur { display: none; }
.pnav__list { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.pnav__list::-webkit-scrollbar { display: none; }
.pnav__list a { flex: none; padding: 8px 11px; border-radius: 8px; font-size: var(--fs-s); color: var(--text-2); white-space: nowrap; transition: color 0.2s var(--ease-brand), background 0.2s var(--ease-brand); }
.pnav__list a:hover { color: #fff; background: var(--panel); }
.pnav__list a.is-on { color: #fff; background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width: 1100px) {
  .pnav__in { min-height: 52px; gap: 12px; }
  .pnav__cur { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; max-width: 70%; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--panel); font-size: var(--fs-s); font-weight: 600; color: #fff; }
  .pnav__cur span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pnav__cur svg { flex: none; width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
  .pnav.is-open .pnav__cur svg { transform: rotate(180deg); }
  .pnav__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: none; flex-direction: column; gap: 2px; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--bg-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
  .pnav.is-open .pnav__list { display: flex; }
  .pnav__list a { padding: 13px 14px; font-size: var(--fs-m); }
  .pnav__list a.is-on { box-shadow: inset 3px 0 0 var(--accent); }
}

/* ---------- «Виробництво» на телефоні: щільніше, менше рамок. Лінії - сітка 2×2, переваги й застосування - список ---------- */
@media (max-width: 600px) {
  .sec { padding: 56px 0; }
  .sec--tight { padding: 40px 0; }
  .sec__head, .blk__head { margin-bottom: 28px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { padding: 14px; gap: 6px; min-height: 0; }
  .tile h3 { font-size: var(--fs-m); }
  .tile__v { font-size: var(--fs-l); }
  .tile__v small { display: block; margin: 2px 0 0; font-size: var(--fs-2xs); letter-spacing: 0.06em; }
  .tile__go { display: none; }
  .adv, .apps { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
  .adv article, .apps article { padding: 14px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .apps article.is-prio { border-color: var(--line); }
  .adv h4, .apps h4 { margin-top: 4px; font-size: var(--fs-m); }
}

/* ---------- каталог: панель - пошук, «Категорія» (≤1100 px; на десктопі бічна колонка), «Фільтри», кількість;
   під нею вибрані фільтри. Без стрічки чипів, яку на телефоні доводилось гортати вбік ---------- */
.toolbar--cat .toolbar__in { position: relative; display: grid; gap: 10px; }
.toolbar--cat .toolbar__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar--cat .search { flex: 1 1 320px; }
.dd { position: relative; flex: none; }
.dd[hidden] { display: none; }
.dd__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--panel); color: var(--text); font-size: var(--fs-s); font-weight: 600; white-space: nowrap; transition: border-color 0.2s var(--ease-brand), background 0.2s var(--ease-brand); }
.dd__btn:hover { border-color: rgba(255, 255, 255, 0.32); }
.dd__k { color: var(--text-3); font-weight: 500; }
.dd__v { max-width: 24ch; overflow: hidden; text-overflow: ellipsis; }
.dd__v:empty { display: none; }
.dd--f .dd__v:empty { display: none; }
.dd--f .dd__v { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: var(--fs-xs); }
.dd.is-set .dd__btn { border-color: var(--accent); background: var(--accent-soft); }
.dd__btn svg { flex: none; width: 14px; height: 14px; color: var(--text-2); transition: transform 0.2s var(--ease); }
.dd.is-open .dd__btn svg { transform: rotate(180deg); }
.dd__menu { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; display: none; min-width: 300px; max-width: min(92vw, 380px); max-height: min(64vh, 520px); overflow: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--bg-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }
.dd.is-open .dd__menu { display: block; }
.dd__menu button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 8px; text-align: left; font-size: var(--fs-s); color: var(--text-2); }
.dd__menu button:hover { background: var(--panel); color: #fff; }
.dd__menu button.is-on { background: var(--panel-2); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.dd__menu button b { flex: none; font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 400; color: var(--text-3); }
.dd__menu button.is-own span { color: var(--accent-2); }
.dd__lab { margin: 0; padding: 12px 12px 4px; font-size: var(--fs-xs); font-weight: 700; color: var(--text-3); }
.dd__lab:first-child { padding-top: 6px; }
.toolbar--cat .toolbar__count { margin-left: auto; font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--text-3); white-space: nowrap; }
.applied { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.applied[hidden] { display: none; }
.applied__tag { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 10px 4px 12px; border: 1px solid rgba(255, 61, 79, 0.5); border-radius: var(--pill); background: var(--accent-soft); color: #fff; font-size: var(--fs-xs); font-weight: 600; }
.applied__tag svg { width: 12px; height: 12px; opacity: 0.8; }
.applied__tag:hover { border-color: var(--accent); }
.applied__reset { min-height: 32px; padding: 4px 8px; font-size: var(--fs-xs); color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.applied__reset:hover { color: #fff; }
@media (min-width: 1101px) {
  .dd--cat { display: none; }
  .toolbar--cat .search { flex: 0 1 520px; }
  .cat-nav { top: calc(var(--head-h) + 84px); }
}
@media (max-width: 1100px) {
  /* список на всю ширину панелі, а не від кнопки: не вилазить за край екрана */
  .dd { position: static; }
  .dd__menu { left: var(--gutter); right: var(--gutter); max-width: none; min-width: 0; }
}
@media (max-width: 600px) {
  .toolbar--cat { padding: 10px 0; }
  .toolbar--cat .toolbar__in { gap: 8px; }
  .toolbar--cat .toolbar__row { gap: 8px; }
  .toolbar--cat .search { flex-basis: 100%; }
  .dd__btn { height: 40px; padding: 0 14px; }
  .dd--cat .dd__btn { max-width: calc(100vw - 2 * var(--gutter) - 112px); }
  .dd--cat .dd__k { display: none; }
}

/* ---------- каталог: заголовки категорій без зведення; картки - фото, назва, бренд і ключові параметри, вища контрастність ---------- */
.cat-sum, .cat-group.is-open .cat-sum { display: none; }
.item { grid-template-rows: auto; background: var(--bg-3); border-color: rgba(255, 255, 255, 0.11); }
.item:hover { background: #171b24; }
.item__head { padding: 14px 14px 14px 12px; gap: 14px; }
.item__head:has(.item__ico--ph) { grid-template-columns: 64px minmax(0, 1fr) auto; }
.item__ico--ph { width: 64px; height: 64px; }
.item__name { font-size: var(--fs-m); font-weight: 650; color: #fff; line-height: 1.3; }
.item__meta { margin-top: 6px; font-family: var(--f-body); font-size: var(--fs-s); letter-spacing: 0; color: var(--text-3); white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.item__meta b { color: var(--text-2); font-weight: 600; }
.item__chev { width: 28px; height: 28px; border-color: var(--line); }
.cat-group__head h2 { color: #fff; }
@media (max-width: 1100px) {
  .cat-group__btn { padding: 18px 0; }
  .cat-group__head h2 { font-size: var(--fs-l); }
  .cat-group__head .cnt { margin-left: 4px; }
}
@media (max-width: 600px) {
  .items { gap: 8px; }
  .item__head { padding: 12px; gap: 12px; }
  .item__head:has(.item__ico--ph) { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .item__ico--ph { width: 56px; height: 56px; }
}

/* точки каруселі креслень: видима точка та сама, а зона натискання 28 px (на телефоні 8 px не влучити) */
.dcar__dots { gap: 0; }
.dcar__dots button { position: relative; width: 28px; height: 28px; background: none; border-radius: 0; }
.dcar__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); transition: width 0.3s var(--ease-brand), margin 0.3s var(--ease-brand), background 0.3s var(--ease-brand); }
.dcar__dots button[aria-current="true"] { width: 36px; border-radius: 0; background: none; }
.dcar__dots button[aria-current="true"]::before { width: 22px; margin-left: -11px; border-radius: 4px; background: var(--accent); }

/* ---------- «Виробництво», десктоп: замість рядка розділів - блок точок праворуч (5 ліній). Підпис ліворуч від точки
   з'являється при наведенні й фокусі; поточна лінія - червона точка. Блок показується після першого екрана ---------- */
.pdots { display: none; }
@media (min-width: 1101px) {
  .pnav { display: none; }
  .pdots { position: fixed; right: 14px; top: 50%; z-index: 30; display: grid; gap: 2px; padding: 8px 4px; border: 1px solid var(--line-2); border-radius: var(--pill); background: rgba(7, 8, 11, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity 0.3s var(--ease-brand), transform 0.3s var(--ease); }
  .pdots.is-on { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
  .pdots a { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
  .pdots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.32); transition: transform 0.3s var(--ease), background 0.3s var(--ease-brand), box-shadow 0.3s var(--ease-brand); }
  .pdots a:hover i { background: #fff; }
  .pdots a.is-on i { background: var(--accent); transform: scale(1.5); box-shadow: 0 0 10px var(--accent-glow); }
  .pdots span { position: absolute; right: calc(100% + 10px); top: 50%; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(7, 8, 11, 0.92); font-size: var(--fs-s); font-weight: 600; color: var(--text); white-space: nowrap; opacity: 0; transform: translate(6px, -50%); pointer-events: none; transition: opacity 0.2s var(--ease-brand), transform 0.2s var(--ease); }
  .pdots a:hover span, .pdots a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
  .pdots a.is-on span { color: #fff; border-color: rgba(255, 61, 79, 0.5); }
}

/* ---------- «Виробництво», розділ «Композитні матеріали»: карбонові рами в асортименті (30.10.2026, frames_site.py) ---------- */
.asf { margin-top: clamp(28px, 4vw, 44px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); }
.asf__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.asf__head h4 { margin: 0; font-size: var(--fs-h4); }
.asf__lead { margin: 10px 0 0; color: var(--text-2); max-width: 70ch; }
.asf__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; margin-top: 20px; }
.asf__it { display: flex; flex-direction: column; gap: 4px; padding: 8px 8px 12px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--panel); color: var(--text); text-decoration: none; transition: border-color 0.3s var(--ease-brand), background 0.3s var(--ease-brand), transform 0.3s var(--ease-brand); }
.asf__it:hover { border-color: rgba(255, 61, 79, 0.45); background: var(--panel-2); transform: translateY(-2px); }
.asf__ph { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 6px; border-radius: 8px; background: #fff; overflow: hidden; }
.asf__ph img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.asf__it b { padding: 0 4px; font-size: var(--fs-s); }
.asf__it > span:last-child { padding: 0 4px; color: var(--text-3); font-size: var(--fs-xs); }
/* телефон: стрічка з прокруткою вбік */
@media (max-width: 600px) {
  .asf__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .asf__grid::-webkit-scrollbar { display: none; }
  .asf__it { scroll-snap-align: start; }
}

/* ---------- «Виробництво»: ДВЗ в асортименті - 3D-модель 30 см³ Twin (engine_site.py, js/engine3d.js); те саме вікно в картці каталогу (.dr-3d) ---------- */
.eng { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.eng__view, .dr-3d { margin: 0; border: 1px solid var(--line); border-radius: var(--r); background: radial-gradient(70% 60% at 50% 40%, rgba(255, 255, 255, 0.06), transparent 70%), var(--panel); overflow: hidden; }
.eng__3d, .dr-3d__view { position: relative; aspect-ratio: 4 / 3; touch-action: pan-y; cursor: grab; }
.eng__3d:active, .dr-3d__view:active { cursor: grabbing; }
.eng__3d canvas, .dr-3d__view canvas { display: block; width: 100%; height: 100%; }
.eng__3d.is-fallback img, .dr-3d__view.is-fallback img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.eng__bar, .dr-3d__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.eng__bar span, .dr-3d__bar span { color: var(--text-3); font-size: var(--fs-xs); }
.eng__cap { margin: 0 0 6px; color: var(--text-3); font-size: var(--fs-xs); }
.eng__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 900px) { .eng { grid-template-columns: 1fr; } }
.dr-3d { margin-bottom: 18px; }
/* легенда виносок 3D-моделі: номер у кружку (як у дрона) і назва деталі; наведення підсвічує виноску на моделі */
.e3d-legend { list-style: none; margin: 0; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 6px 8px; border-top: 1px solid var(--line); }
.e3d-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: var(--pill); background: rgba(255, 255, 255, 0.02); color: var(--text-2); font-size: var(--fs-xs); cursor: default; transition: border-color 0.2s var(--ease-brand), color 0.2s var(--ease-brand), background 0.2s var(--ease-brand); }
.e3d-legend li i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--accent); background: rgba(7, 8, 11, 0.82); font-family: var(--f-mono); font-size: var(--fs-2xs); font-style: normal; color: var(--text); }
.e3d-legend li:hover, .e3d-legend li.is-on { border-color: var(--accent); color: var(--text); background: rgba(255, 61, 79, 0.06); }
.e3d-legend li:hover i, .e3d-legend li.is-on i { background: var(--accent); color: #fff; }
.e3d-legend:empty { display: none; }
/* виноски поверх моделі: контейнер має бути позиціонованим, лінії й кружки - класи drone__* зі style.css */
.eng__3d .drone__mark, .dr-3d__view .drone__mark { cursor: pointer; }
.dr-3d__view { aspect-ratio: 16 / 10; max-height: min(460px, 52vh); width: 100%; }
