/* Archivo, self-hosted (step 7, D-188): one 51 KB file with the Serbian Latin letters, widths 72-100 %,
   weights 400-800 (tools: fontTools instancer + subset; licence fonts/OFL.txt). No Google request, nothing render-blocking. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-sr.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 72% 100%;
  font-display: swap;
}

:root {
  --ground: #e6e7e8;
  --paper: #f4f4f3;
  --ink: #151515;
  --ink-2: #45484c;
  --rule: rgba(21, 21, 21, .16);
  --blue: #0562a5;
  --blue-ink: #04497b;
  --blue-soft: #cfe0ef;
  --dark: #151515;
  --dark-2: #a9adb2;
  --float: 12px;   /* gap above the floating bar */
  --pad: 12px;     /* bar inner padding (Uroš: 12px) */
  --bar: 72px;     /* bar height */
  --bar-r: 18px;   /* bar corner */
  --in-r: 6px;     /* corner of things inside the bar = bar corner - padding */
  --head: calc(var(--float) + var(--bar));
  --gut: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --cond: 72%;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); scrollbar-color: #8a8e93 var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-stretch: 100%;
  caret-color: var(--blue);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }

h1, h2, h3 {
  font-stretch: var(--cond);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0;
}
h1, h2 { text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.1; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header: a floating glass bar (Uroš, tree M-41). .top is a transparent sticky strip that lets clicks through;
   .top-in is the bar, sized so the logo lines up with the page content. The glass is painted on ::before so the
   bar itself is no backdrop root and the mega menu inside it can blur the page as well. */
.top {
  position: sticky; top: 0; z-index: 30;
  padding: var(--float) calc(var(--gut) - var(--pad)) 0;
  pointer-events: none;
}
.top-in {
  position: relative; z-index: 0; pointer-events: auto;
  max-width: calc(var(--max) - 2 * var(--gut) + 2 * var(--pad)); margin-inline: auto;
  height: var(--bar); padding: var(--pad); border-radius: var(--bar-r);
  display: flex; align-items: center; gap: 28px;
}
.top-in::before, .mega::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 0 1px rgba(21, 21, 21, .08), 0 18px 40px -22px rgba(0, 0, 0, .45);
}
/* logo: transparent copy of the original (vozd-komerc-logo-t.png, tools/logo_transparent.py, Uroš M-70): no white box on the glass */
.brand { flex: none; display: block; border-radius: var(--in-r); }
.brand img { height: calc(var(--bar) - 2 * var(--pad)); width: auto; border-radius: var(--in-r); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav > a, .nav-all-btn { text-decoration: none; padding: 6px 0; border: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav > a:hover, .nav-all-btn:hover { border-bottom-color: var(--rule); }
.nav > a[aria-current="page"], .nav-all-btn.is-current { border-bottom-color: var(--blue); color: var(--blue); }
.nav-all-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; color: inherit; background: none; cursor: pointer; }
.nav-all-btn svg { transition: transform .25s; }
.nav-all-btn[aria-expanded="true"] { border-bottom-color: var(--ink); }
.nav-all-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
/* Mega menu: a second glass panel exactly as wide as the bar, 8px under it. Three link columns + a preview column
   that shows the picture of the hovered or focused product (stage.js). */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 1;
  border-radius: var(--bar-r);
  animation: drop-in .34s cubic-bezier(.16, 1, .3, 1);
}
.mega::before { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); }
.mega[hidden] { display: none; }
.mega-in {
  max-height: calc(100vh - var(--head) - 20px); max-height: calc(100svh - var(--head) - 20px); overflow-y: auto; overscroll-behavior: contain;
  padding: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); column-gap: 28px;
}
.mega-h, .foot-h { margin: 0; padding-top: 10px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; }
.mega-h { margin-bottom: 6px; border-top: 2px solid var(--ink); color: var(--ink-2); }
.mega-col > ul + .mega-h { margin-top: 22px; }
.mega ul, .foot-nav ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: flex; align-items: center; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
.mega li a:hover, .mega li a.is-shown { color: var(--blue); }
.mega li a[aria-current="page"] { padding-bottom: 9px; border-bottom: 2px solid var(--blue); color: var(--blue); }
.mega .ext, .foot-nav .ext { width: 13px; height: 13px; opacity: .7; }
.mega-show {
  display: flex; flex-direction: column; gap: 4px; align-self: stretch;
  padding: 14px 18px 18px; border-radius: var(--in-r); background: var(--ground);
  text-decoration: none; color: var(--ink);
}
.mega-pic { position: relative; display: grid; place-items: center; height: 196px; margin-bottom: 8px; }
.mega-pic img { max-height: 172px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .16)); }
.mega-name { font-stretch: var(--cond); font-weight: 800; font-size: 1.55rem; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; transition: color .15s; }
.mega-show:hover .mega-name { color: var(--blue); }
.mega-line { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.mega-note { visibility: hidden; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 12px; line-height: 1.45; color: var(--ink-2); }
.mega-tag, .range-tag, .prod-tag {
  position: absolute; top: 0; left: 0;
  padding: 3px 7px; border: 1px solid var(--rule); border-radius: 3px; background: rgba(255, 255, 255, .55);
  font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.mega-tag, .mega-missing { display: none; }
.mega-show[data-kind="illus"] .mega-tag { display: block; }
.mega-show[data-kind="illus"] .mega-note { visibility: visible; }
.mega-show[data-kind="none"] img { display: none; }
.mega-show[data-kind="none"] .mega-missing { display: grid; }
.mega-missing, .range-missing {
  place-items: center; width: 100%; height: 100%; max-height: 172px;
  border: 1px dashed rgba(21, 21, 21, .32); border-radius: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); text-align: center;
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top-in::before, .mega::before { background: rgba(255, 255, 255, .97); }
}
.top-call, .call-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none;
  padding: 10px 14px; border: 1.5px solid var(--ink); border-radius: 3px;
  transition: background .2s, color .2s;
}
.top-call:hover, .call-outline:hover { background: var(--ink); color: #fff; }
.top-call { padding-block: 9px; border-radius: var(--in-r); }
/* Language switch (Phase 2, variant B): "EN" / "SR" right before the phone button, a 44 px target on every screen */
.top-lang {
  flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  padding: 0 8px; border: 1.5px solid transparent; border-radius: var(--in-r);
  font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; color: var(--ink);
}
.top-lang:hover { border-color: var(--rule); }
.menu-btn { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none;
  border-radius: 3px; border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(5, 98, 165, .7); }
.btn-blue:hover { background: var(--blue-ink); }
.btn-blue:active { transform: translateY(1px); }
.btn-blue .num { font-weight: 800; }

/* Hero */
.hero { padding-top: clamp(24px, 3.6vw, 52px); }
.hero-head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 22px; align-items: end;
}
.kind-switch { grid-column: 1 / -1; display: flex; gap: 28px; margin-bottom: clamp(14px, 2vw, 22px); border-bottom: 1px solid var(--rule); }
.kind-switch a { padding: 8px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.kind-switch a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.kind-switch a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.pick-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; color: var(--blue); text-decoration: none; }
.pick-link svg { width: 18px; height: 18px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.pick-link:hover svg { transform: translateX(4px); }
.hero h1 { grid-column: 1 / span 7; font-size: clamp(2.75rem, 7.4vw, 6rem); }
.hero-side { grid-column: 8 / -1; }
.lead { margin: 0 0 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.link-down { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link-down:hover { color: var(--blue); border-color: var(--blue); }
.facts {
  grid-column: 1 / -1;
  list-style: none; margin: 8px 0 0; padding: 14px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2);
}
.facts li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--blue); margin: 0 14px 2px; vertical-align: middle; }

/* Product panel (Uroš, tree M-43): on every category page the product stands beside the title, whole and large, on a
   soft studio light; categories with several models get model buttons that swap the picture (stage.js). */
.hero-head.has-prod {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); column-gap: clamp(24px, 4vw, 64px); row-gap: 20px;
  grid-template-rows: 1fr auto auto auto 1fr;
  grid-template-areas: "tabs pic" "title pic" "side pic" "facts pic" ". pic";
  align-items: start;
}
.has-prod .kind-switch { grid-area: tabs; align-self: start; margin-bottom: 0; }
.has-prod h1 { grid-area: title; font-size: clamp(2.5rem, 5vw, 4.7rem); }
.has-prod .hero-side { grid-area: side; }
.has-prod .lead { margin-bottom: 18px; }
.has-prod .facts { grid-area: facts; margin-top: 4px; }
.prod { grid-area: pic; margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.prod-stage {
  --stage-h: clamp(300px, 58svh, 580px);
  position: relative; width: 100%; height: var(--stage-h);
  display: grid; place-items: center;
  background: radial-gradient(58% 52% at 50% 50%, rgba(255, 255, 255, .78), rgba(255, 255, 255, .28) 55%, rgba(255, 255, 255, 0) 74%);
}
.prod-img {
  max-width: 94%; max-height: calc(var(--stage-h) * .88); width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .2));
  animation: prod-in .9s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes prod-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.prod-tag { top: 6px; left: 6px; }
.prod-tag[hidden] { display: none; }
.prod-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.prod-opt {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 5px 16px 5px 6px;
  border: 1.5px solid var(--rule); border-radius: 3px; background: rgba(255, 255, 255, .4);
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.prod-opt img { width: 58px; height: 40px; object-fit: contain; }
.prod-opt:hover { background: #fff; color: var(--ink); }
.prod-opt[aria-pressed="true"] { border-color: var(--blue); background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--blue); }
.prod-note { max-width: 62ch; margin: 12px 0 0; text-align: center; }
.prod-note[hidden] { display: none; }

/* Exploded view */
.explode { height: 160vh; position: relative; }   /* run = animation length, no dead scroll after it opens (D-133) */
.explode-pin { position: sticky; top: var(--head); height: calc(100vh - var(--head)); height: calc(100svh - var(--head)); display: flex; align-items: flex-start; padding-top: 4px; overflow: hidden; }
.explode-in { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.stage {
  position: relative;
  width: min(100%, calc((100svh - var(--head) - 180px) * 1.7917));
  aspect-ratio: 1376 / 768;
  transform-origin: 50% 50%;
  will-change: transform;
}
.part {
  position: absolute; height: auto;
  will-change: transform;
  filter: drop-shadow(0 22px 16px rgba(0, 0, 0, .16));
}
/* white parts (PP pipes) get a faint edge so they read on the light studio ground */
.part.light { filter: drop-shadow(0 0 1px rgba(0, 0, 0, .5)) drop-shadow(0 12px 10px rgba(0, 0, 0, .16)); }
.part.wall { z-index: 1; }
.part.cap-l, .part.cap-r { z-index: 2; }
.part.body { z-index: 3; }
.part.lid { z-index: 2; }
.stage[data-active] .part { opacity: .18 !important; transition: opacity .3s ease; }
.stage[data-active] .part.on { opacity: 1 !important; }

/* Part callouts: a dot on the part, a hairline leader, the name. */
.tag {
  position: absolute; z-index: 6;
  display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -100%);
  scale: var(--inv, 1); transform-origin: 0 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
.tag::after { content: ""; width: 1px; height: var(--len); background: var(--ink); transform-origin: bottom; transform: scaleY(0); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.tag::before { content: ""; order: 3; width: 7px; height: 7px; margin-top: -4px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--ground); }
.tag.down { flex-direction: column-reverse; transform: translate(-50%, 0); }
.tag.down::after { transform-origin: top; }
.tag.down::before { order: 0; margin: 0 0 -4px; }
.tag.down .lbl { order: -1; }
.tag.right { flex-direction: row; align-items: center; transform: translate(-4px, -50%); }
.tag.right::before { order: 0; margin: 0 -4px 0 0; }
.tag.right::after { order: 1; width: var(--len); height: 1px; transform-origin: left; transform: scaleX(0); }
.tag.right .lbl { order: 2; margin-left: 6px; }
.lbl {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.lbl b {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 800;
  transition: background .2s;
}
.stage.open .tag { opacity: 1; }
.stage.open .tag::after { transform: none; }
.stage[data-active] .tag { opacity: .25; }
.stage[data-active] .tag.on { opacity: 1; }
.stage[data-active] .tag.on .lbl b { background: var(--blue); }
.legend {
  list-style: none; margin: 0; padding: 16px 0 0; width: 100%;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px 24px;
  border-top: 1px solid var(--rule);
  counter-reset: part;
}
.legend li {
  counter-increment: part;
  display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-content: start;
  font-size: 14px; line-height: 1.4; color: var(--ink-2);
  cursor: default; border-radius: 3px; outline-offset: 4px;
  transition: color .2s;
}
.legend li::before {
  content: attr(data-key); grid-row: span 2;
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--ink); color: var(--ink);
  font-size: 13px; font-weight: 800;
  transition: background .2s, color .2s, border-color .2s;
}
.legend b { color: var(--ink); font-weight: 700; font-size: 15px; }
.legend li.on::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.hint { margin: 0; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); transition: opacity .3s; }
.hint.gone { opacity: 0; }
.stage-frame { width: 100%; display: flex; justify-content: center; }

/* Cutaway */
.cut { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
.cut-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(24px, 4vw, 48px); }
.cut-head h2 { grid-column: 1 / span 7; }
.cut-head p { grid-column: 8 / -1; margin: 0; color: var(--ink-2); font-size: 1.05rem; max-width: 44ch; }
.cut-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.cut-fig { grid-column: 1 / span 8; margin: 0; }
.cut-img { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; }
.cut-img img { width: auto; max-height: max(380px, calc(100vh - 240px)); filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .17)); }
.cut-fig figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.spot {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue); color: #fff;
  font: 800 15px/1 "Archivo", sans-serif;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 8px 18px -6px rgba(0, 0, 0, .5);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), background .2s;
}
.spot::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; }
.spot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  opacity: 0;
}
.cut-img.seen .spot::after { animation: ping 1.6s cubic-bezier(.16, 1, .3, 1) 2 both; }
.spot:hover { transform: scale(1.1); }
.spot[aria-pressed="true"] { background: var(--ink); transform: scale(1.15); }
.spot[aria-pressed="true"]::after { animation: none; opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
.cut-panel { grid-column: 9 / -1; }
.cut-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--rule); margin-bottom: 22px; }
.cut-tabs button {
  font: inherit; font-weight: 600; font-size: 15px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--rule);
  padding: 11px 0; cursor: pointer; color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center;
}
.cut-tabs button::after { content: ""; width: 8px; height: 8px; background: transparent; border-radius: 50%; transition: background .2s; }
.cut-tabs button:hover { color: var(--ink); }
.cut-tabs button[aria-selected="true"] { color: var(--ink); }
.cut-tabs button[aria-selected="true"]::after { background: var(--blue); }
.cut-text h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 10px; }
.cut-text p { margin: 0; color: var(--ink-2); }
.cut-text:not([hidden]) { animation: rise .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Two or three chambers */
.pick, .steps, .faq { background: var(--paper); }
.pick { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.pick h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.pick-col { padding: 28px 40px 32px 0; }
.pick-col + .pick-col { padding: 28px 0 32px 40px; border-left: 1px solid var(--rule); }
.pick-col h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; }
.pick-for { margin: 10px 0 18px; font-size: 1.08rem; color: var(--ink-2); max-width: 40ch; }
.pick-col ul { list-style: none; margin: 0; padding: 0; }
.pick-col li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--rule); }
.pick-col li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; background: var(--blue); }
.bio-link {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  text-decoration: none; transition: color .2s;
}
.bio-link b { font-weight: 700; }
.bio-link svg { width: 28px; height: 28px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.bio-link:hover { color: var(--blue); }
.bio-link:hover svg { transform: translateX(6px); }

/* Steps */
.steps { padding: clamp(48px, 7vw, 96px) 0; }
.steps-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: start; }
.steps h2 { grid-column: 1 / span 4; }
.step-list { grid-column: 5 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step-list li { counter-increment: step; display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--ink); }
.step-list li::before { content: counter(step); font-stretch: var(--cond); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--blue); margin-bottom: 6px; }
.step-list b { font-size: 1.1rem; }
.step-list span { color: var(--ink-2); font-size: 15px; }
.steps h2 { grid-row: 1; }
.steps .btn { grid-column: 1 / span 4; grid-row: 2; justify-self: start; align-self: start; }
.step-list { grid-row: 1 / span 2; }

/* FAQ */
.faq { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.faq-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.faq h2 { grid-column: 1 / span 4; margin-bottom: 24px; font-size: clamp(1.7rem, 3.2vw, 2.6rem); overflow-wrap: anywhere; }
.faq-list { grid-column: 5 / -1; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.faq summary:hover { color: var(--blue); }
.faq details[open] summary svg { transform: rotate(180deg); }
.ans { padding: 0 0 24px; color: var(--ink-2); max-width: 68ch; }
.ans p { margin: 0 0 12px; }
.ans ul { margin: 0; padding-left: 20px; }
.ans li { margin: 6px 0; }
.ans b { color: var(--ink); }
.ans a { color: var(--blue); font-weight: 600; }

/* Maker */
.maker { background: var(--dark); color: #e9eaeb; padding: clamp(64px, 9vw, 120px) 0; }
.maker-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; align-items: end; }
.maker-text { grid-column: 1 / span 5; align-self: center; }
.maker h2 { margin-bottom: 20px; }
.maker-text p { margin: 0 0 28px; color: var(--dark-2); font-size: 1.05rem; max-width: 46ch; }
.maker-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); }
.maker-facts dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dark-2); }
.maker-facts dd { margin: 2px 0 0; font-weight: 700; }
.maker-aerial { grid-column: 1 / -1; margin: 0 0 clamp(16px, 4vw, 40px); }
.maker-aerial img { display: block; width: 100%; height: auto; border-radius: 2px; }
.maker-aerial figcaption { margin-top: 10px; font-size: 13px; color: var(--dark-2); }
.maker-photo { margin: 0; }
.maker-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.maker-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--dark-2); }
.maker-photo.a { grid-column: 7 / span 3; }
.maker-photo.b { grid-column: 10 / span 3; margin-bottom: 56px; }

/* Contact */
.contact { background: var(--blue); color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.contact-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 14px; align-items: start; }
.contact h2 { grid-column: 1 / span 7; grid-row: 1; color: var(--blue-soft); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.big-phone {
  grid-column: 1 / span 7; grid-row: 2;
  display: inline-flex; align-items: center; gap: .25em;
  font-stretch: var(--cond); font-weight: 800; font-size: clamp(3rem, 9vw, 6rem); line-height: 1;
  text-decoration: none; letter-spacing: -.01em;
}
.big-phone svg { width: .6em; height: .6em; }
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }
.contact-list { grid-column: 8 / -1; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.contact-list li > span { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-soft); padding-top: 2px; }
.contact-list a { text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; margin-right: 14px; }
.contact-list a:hover { text-decoration: underline; }

/* Footer */
.foot { background: #0f0f0f; color: var(--dark-2); font-size: 13px; padding: 28px 0; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.foot-nav { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 32px; margin-bottom: 28px; }
.foot-h { margin-bottom: 4px; border-top: 1px solid rgba(255, 255, 255, .18); color: #e9eaeb; }
.foot-nav li a { display: block; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-decoration: none; color: var(--dark-2); }
.foot-nav li a:hover, .foot-nav li a[aria-current="page"] { color: #fff; }
.foot-nav li a[aria-current="page"] { font-weight: 600; border-bottom-color: #fff; }
.foot p { margin: 0; }

/* Static product shot under the hero (pages without a scroll explode) */
.hero-shot { margin: 0; padding: clamp(16px, 3vw, 40px) var(--gut) clamp(48px, 7vw, 96px); display: flex; justify-content: center; }
.hero-shot img { width: min(100%, 820px); filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .17)); }
.legend.legend-3 { grid-template-columns: repeat(3, 1fr); }
.legend.legend-4 { grid-template-columns: repeat(4, 1fr); }
.cut-grid-narrow .cut-fig { grid-column: 2 / span 5; }
.cut-grid-narrow .cut-panel { grid-column: 8 / -1; }
.size-list-vol > div { grid-template-columns: 170px 1fr; }

/* Uses: what the product is for */
.uses { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0 clamp(24px, 4vw, 48px); }
.uses-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; }
.uses h2 { grid-column: 1 / span 4; }
.use-list { grid-column: 5 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 2px solid var(--ink); }
.use-list li { position: relative; display: grid; gap: 2px; padding: 14px 0 16px 22px; border-bottom: 1px solid var(--rule); }
.use-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; background: var(--blue); }
.use-list b { font-weight: 700; font-size: 1.05rem; }
.use-list span { color: var(--ink-2); font-size: 15px; }
.pick-img { display: block; height: 170px; width: auto; max-width: 100%; object-fit: contain; margin: 0 0 22px; filter: drop-shadow(0 16px 12px rgba(0, 0, 0, .16)); }
.pick-img.photo { filter: none; border-radius: 2px; object-fit: cover; }

/* Sizes */
.sizes { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.sizes-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(24px, 4vw, 40px); }
.sizes-head h2 { grid-column: 1 / span 7; }
.sizes-head p { grid-column: 8 / -1; margin: 0; color: var(--ink-2); font-size: 1.05rem; max-width: 44ch; }
.size-list { margin: 0; border-top: 2px solid var(--ink); }
.size-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 8px 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.size-list dt { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.size-list dt .num { font-stretch: var(--cond); font-weight: 800; font-size: 1.7rem; color: var(--ink); margin-right: 4px; }
.size-list dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.size-list dd .num { padding: 5px 11px; border: 1px solid var(--rule); border-radius: 3px; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .55); }
.size-list dd .num.top { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.size-note { align-self: center; font-size: 13px; color: var(--ink-2); }
.size-unit { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.size-table { margin-top: 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.size-table summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 700; }
.size-table summary::-webkit-details-marker { display: none; }
.size-table summary svg { width: 22px; height: 22px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.size-table[open] summary svg { transform: rotate(180deg); }
.size-table summary:hover { color: var(--blue); }
.table-wrap { overflow-x: auto; padding-bottom: 20px; }
.size-table table { border-collapse: collapse; min-width: 420px; width: 100%; max-width: 640px; font-variant-numeric: tabular-nums; font-size: 15px; }
.size-table th { text-align: right; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; padding: 8px 12px 8px 0; border-bottom: 2px solid var(--ink); }
.size-table td { text-align: right; padding: 7px 12px 7px 0; border-bottom: 1px solid var(--rule); }

/* Field photos (real installs) */
.field { padding: 0 0 clamp(64px, 9vw, 120px); }
.field-in { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; align-items: end; padding-top: clamp(40px, 5vw, 64px); }
.field-in::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 2px; background: var(--ink); }
.field-text { grid-column: 1 / span 5; align-self: start; }
.field h2 { margin-bottom: 18px; }
.field-text > p { margin: 0 0 20px; color: var(--ink-2); font-size: 1.05rem; max-width: 46ch; }
.field-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.field-facts li { padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; }
.field-facts b { color: var(--ink); }
.field-photo { margin: 0; }
.field-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.field-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.field-photo.a { grid-column: 7 / span 3; }
.field-photo.b { grid-column: 10 / span 3; margin-bottom: 56px; }

/* Process cycle: a sticky cutaway that changes with each step */
.cycle { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.cycle-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(24px, 4vw, 48px); }
.cycle-head h2 { grid-column: 1 / span 7; }
.cycle-head p { grid-column: 8 / -1; margin: 0; color: var(--ink-2); font-size: 1.05rem; max-width: 44ch; }
.cycle-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.cycle-fig { grid-column: 1 / span 8; margin: 0; position: sticky; top: calc(var(--head) + 24px); align-self: start; }
.cycle-stack { position: relative; aspect-ratio: 1334 / 721; }
.cycle-stack img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s ease; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .17)); }
.cycle-stack img.on { opacity: 1; }
.cycle-fig figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.cycle-steps { grid-column: 9 / -1; list-style: none; margin: 0; padding: 0; counter-reset: phase; }
.cycle-steps li { counter-increment: phase; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 8px; border-top: 2px solid var(--ink); padding: 18px 0 32px; opacity: .78; transition: opacity .4s ease; }   /* .78 = lowest that keeps body text 4.5:1 on paper (was .3 = 1.66:1; tree D-196) */
.cycle-steps li:first-child { min-height: 50vh; justify-content: flex-start; }
.cycle-steps li.on { opacity: 1; }
.cycle-steps li::before { content: counter(phase); font-stretch: var(--cond); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--blue); }
.cycle-steps h3 { font-size: 1.7rem; text-transform: uppercase; }
.cycle-steps p { margin: 0; color: var(--ink-2); }

/* Plain lists of facts (test results etc.) */
.proof { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.proof-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; }
.proof h2 { grid-column: 1 / span 5; }
.proof-text { grid-column: 7 / -1; }
.proof-text > p { margin: 0 0 18px; color: var(--ink-2); font-size: 1.05rem; }
.proof-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.proof-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule); font-weight: 600; }
.proof-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; background: var(--blue); }

/* Home: product line-up */
/* Home hero: a full-bleed photo from our hall that runs up under the floating glass bar (Uroš, tree M-43).
   Text sits on the left, over a dark gradient; the tank on the machine stays clear on the right. */
.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--head));
  padding: calc(var(--head) + clamp(56px, 12vh, 140px)) 0 clamp(18px, 2.6vw, 30px);
  min-height: min(94svh, 960px); display: flex; flex-direction: column; justify-content: flex-end;
  background: #1b1c1e; color: #fff;
}
.home-photo { position: absolute; inset: 0; z-index: -2; }
.home-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13, 14, 15, .84) 0%, rgba(13, 14, 15, .66) 34%, rgba(13, 14, 15, .16) 64%, rgba(13, 14, 15, 0) 100%),
    linear-gradient(0deg, rgba(13, 14, 15, .72) 0%, rgba(13, 14, 15, 0) 42%),
    linear-gradient(180deg, rgba(13, 14, 15, .38) 0%, rgba(13, 14, 15, 0) 24%);
}
.home-hero .hero-head { align-items: end; }
.home-hero h1 { grid-column: 1 / span 7; font-size: clamp(2.8rem, 6.8vw, 5.8rem); color: #fff; }
.home-hero .hero-side { grid-column: 1 / span 5; }
.home-hero .lead { color: rgba(255, 255, 255, .86); }
.home-hero .link-down { color: #fff; border-color: rgba(255, 255, 255, .7); }
.home-hero .link-down:hover { color: var(--blue-soft); border-color: var(--blue-soft); }
.home-hero .facts { color: rgba(255, 255, 255, .84); border-top-color: rgba(255, 255, 255, .26); }
.home-hero .facts li + li::before { background: #fff; }
.home-hero :focus-visible { outline-color: #fff; }
.photo-cap { margin: 12px auto 0; font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .62); text-align: right; }
/* Home: every product category, group by group (Uroš, tree M-41). 3 per row, 2 on tablet and phone. */
.range { padding: clamp(8px, 2vw, 24px) 0 clamp(64px, 9vw, 120px); }
.range-group + .range-group { margin-top: clamp(48px, 6vw, 80px); }
.range-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.range-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.range-head p { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.range-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.range-grid li { border-bottom: 1px solid var(--rule); }
.range-grid li:not(:nth-child(3n)):not(:last-child) { border-right: 1px solid var(--rule); }
.range-grid a { position: relative; display: grid; grid-template-rows: 200px auto 1fr; gap: 6px; height: 100%; padding: 24px; text-decoration: none; transition: background .25s; }
.range-grid a:hover { background: rgba(255, 255, 255, .45); }
.range-pic { display: grid; place-items: center; min-height: 0; }
.range-pic img { max-height: 180px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 14px rgba(0, 0, 0, .16)); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
/* step 7: a home card whose picture waits (data-defer, stage.js) keeps the exact box the picture will get:
   width = card width or max-height x its shape (--r, set inline by build.py), height from aspect-ratio */
.range-pic img[data-defer] { width: min(100%, calc(180px * var(--r))); }
.range-grid a:hover img { transform: translateY(-4px); }
.range-tag { top: 18px; left: 18px; }
.range-missing { display: grid; height: 180px; }
.range-grid h3 { margin-top: 10px; font-size: clamp(1.35rem, 2vw, 1.75rem); text-transform: uppercase; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.range-grid h3 svg { width: 22px; height: 22px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.range-grid a:hover h3 { color: var(--blue); }
.range-grid a:hover h3 svg { transform: translateX(5px); }
.range-grid a[href^="http"]:hover h3 svg { transform: translate(3px, -3px); }
.range-grid a[href^="#"]:hover h3 svg { transform: none; }
.range-grid p { margin: 0; color: var(--ink-2); font-size: 15px; }
.range .illus-note { margin-top: 20px; }

.callbar { display: none; }

/* Header: with "Svi proizvodi" the nav needs more room, so it tightens below 1180px and folds into "Meni" below 1040px */
@media (max-width: 1180px) {
  .top-in { gap: 20px; }
  .nav { gap: 16px; font-size: 14px; }
}
@media (max-width: 1040px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
    font: inherit; font-weight: 600; font-size: 15px; background: none; border: 0; padding: 10px 8px; min-height: 44px; cursor: pointer; color: var(--ink);
  }
  .menu-btn svg { transition: transform .25s; }
  .menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    flex-direction: column; gap: 0; margin: 0; padding: 6px 20px 14px;
    border-radius: var(--bar-r);
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
    box-shadow: 0 0 0 1px rgba(21, 21, 21, .08), 0 18px 40px -22px rgba(0, 0, 0, .45);
    display: none; font-size: 15px;
    max-height: calc(100vh - var(--head) - 20px); max-height: calc(100svh - var(--head) - 20px); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open { display: flex; animation: drop-in .34s cubic-bezier(.16, 1, .3, 1); }
  .nav > a, .nav-all-btn { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .nav-all-btn { width: 100%; justify-content: space-between; }
  .nav-all-btn[aria-expanded="true"] { border-bottom-color: var(--rule); }
  /* inside the menu the product list opens in place, one column */
  .mega { position: static; animation: none; }
  .mega::before, .mega-show { display: none; }
  .mega-in { display: block; padding: 2px 0 10px; max-height: none; overflow: visible; }
  .mega-col { margin-top: 14px; }
  .mega li a { padding: 12px 0; }
  .mega li a[aria-current="page"] { padding-bottom: 11px; }
  .mega li a.is-shown:not([aria-current]) { color: inherit; }  /* no preview column here, so no 'shown' mark */
}

/* Tablet */
@media (max-width: 960px) {
  .foot-nav { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .hero h1, .hero-side { grid-column: 1 / -1; }
  .home-hero h1, .home-hero .hero-side { grid-column: 1 / -1; }
  .hero-head.has-prod { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "tabs" "title" "pic" "side" "facts"; }
  .has-prod .kind-switch, .has-prod h1, .has-prod .hero-side, .has-prod .facts { grid-column: auto; }
  .prod-stage { --stage-h: clamp(240px, 46svh, 440px); }
  .legend { grid-template-columns: repeat(3, 1fr); }
  .cut-head h2, .cut-head p, .cut-fig, .cut-panel { grid-column: 1 / -1; }
  .cut-head p { margin-top: 14px; }
  .cut-panel { margin-top: 28px; }
  .cut-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; }
  .cut-tabs button { border: 1.5px solid var(--rule); border-radius: 3px; padding: 8px 12px; min-height: 44px; }
  .cut-tabs button::after { display: none; }
  .cut-tabs button[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
  .steps h2, .step-list, .steps .btn, .faq h2, .faq-list { grid-column: 1 / -1; }
  .step-list { grid-row: 2; }
  .steps .btn { grid-row: 3; }
  .contact h2, .big-phone { grid-column: 1 / -1; }
  .contact-list { grid-row: 3; }
  .maker-text { grid-column: 1 / -1; }
  .maker-photo.a { grid-column: 1 / span 6; }
  .maker-photo.b { grid-column: 7 / span 6; margin-bottom: 0; }
  .big-phone, .contact-list { grid-column: 1 / -1; }
  .uses h2, .use-list, .sizes-head h2, .sizes-head p, .field-text, .cycle-head h2, .cycle-head p, .proof h2, .proof-text { grid-column: 1 / -1; }
  .sizes-head p, .cycle-head p { margin-top: 14px; }
  .field-photo.a { grid-column: 1 / span 6; }
  .field-photo.b { grid-column: 7 / span 6; margin-bottom: 0; }
  .cycle-fig { grid-column: 1 / -1; top: var(--head); z-index: 2; background: var(--paper); padding: 8px 0 10px; }
  .cycle-steps { grid-column: 1 / -1; }
  .cycle-steps li, .cycle-steps li:first-child { min-height: 46vh; justify-content: flex-start; }
  .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range-grid li:not(:nth-child(3n)):not(:last-child) { border-right: 0; }
  .range-grid li:nth-child(odd):not(:last-child) { border-right: 1px solid var(--rule); }
  .cut-grid-narrow .cut-fig { grid-column: 2 / span 10; }
  .cut-grid-narrow .cut-panel { grid-column: 1 / -1; }
  .legend.legend-3 { grid-template-columns: repeat(3, 1fr); }
  .legend.legend-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 640px) {
  :root { --float: 8px; --pad: 8px; --bar: 60px; --bar-r: 14px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .top-in { gap: 12px; }
  .top-call span { display: none; }
  .top-call { justify-content: center; min-width: 44px; min-height: 44px; padding: 0; }
  .top-call svg { width: 20px; height: 20px; }
  .foot-nav { column-gap: 20px; }
  .foot-nav li a { padding: 13px 0; }
  .illus-note a { display: inline-block; padding: 13px 6px; margin: -13px -6px; }
  .spot::before { inset: -5px; }
  /* tap targets: 44px hit areas around small controls through an invisible pseudo-element, the look stays the same */
  .contact-list a, .link-down, .pick-link, .legend li, p:not(.illus-note) a[href^="tel:"], .install-lead a[href^="tel:"] { position: relative; }
  .contact-list a::after, .link-down::after, .pick-link::after { content: ""; position: absolute; inset: -10px -6px; }
  p:not(.illus-note) a[href^="tel:"]::after, .install-lead a[href^="tel:"]::after { content: ""; position: absolute; inset: -14px -6px; }
  .legend li::after { content: ""; position: absolute; inset: -3px 0; }
  .kind-switch a { padding: 9px 0; }
  .actions .btn { width: 100%; justify-content: center; }
  .facts { font-size: 12px; }
  .facts li + li::before { margin: 0 9px 2px; }
  /* Phone: closed -> open -> numbers. No zooming into single parts. */
  .explode { height: 160vh; }
  .explode-pin { align-items: center; padding-top: 0; height: calc(100svh - var(--head) - 60px); }
  /* long horizontal products (opt-in, data-wide): a frame as wide as the tank is, a shorter scroll run, the legend right under it */
  .explode[data-wide] { height: 130vh; }
  .explode[data-wide] .stage-frame { height: min(30svh, 230px); overflow: visible; }   /* the pin still clips; the floor shadow is not cut at the frame edge */
  .explode-in { gap: 12px; }
  .stage-frame {
    width: 100vw; margin-inline: calc(var(--gut) * -1);
    height: min(46svh, 380px);
    align-items: center; overflow: hidden;
  }
  .stage { width: 116vw; flex: none; }
  .hint { order: 1; }
  .legend { order: 2; grid-template-columns: 1fr; gap: 8px; padding-top: 12px; transition: opacity .5s ease; }
  .explode:not([data-open]) .legend { opacity: 0; }
  .explode[data-open] .hint { display: none; }
  .legend li { font-size: 13px; grid-template-columns: 22px 1fr; column-gap: 8px; }
  .legend li::before { width: 22px; height: 22px; font-size: 12px; }
  .legend li span { font-size: 12.5px; }
  .tag .lbl { font-size: 0; gap: 0; }
  .tag .lbl b { width: 20px; height: 20px; font-size: 11px; }
  .tag { --len: 14px !important; }
  .tag.right { --len: 10px !important; }
  .spot { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 13px; }
  .pick-grid { grid-template-columns: 1fr; }
  .pick-col, .pick-col + .pick-col { padding: 24px 0; border-left: 0; }
  .pick-col + .pick-col { border-top: 1px solid var(--ink); }
  .step-list { grid-template-columns: 1fr; }
  .steps .btn { width: 100%; justify-content: center; }
  .maker-facts { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .maker-aerial img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .use-list, .proof-list { grid-template-columns: 1fr; }
  .legend.legend-3 { grid-template-columns: 1fr; }
  .legend.legend-4 { grid-template-columns: 1fr; }
  .cut-grid-narrow .cut-fig { grid-column: 1 / -1; padding: 0 12%; }
  .size-list-vol > div { grid-template-columns: 110px 1fr; }
  .size-list > div { grid-template-columns: 1fr; }
  .size-list dd .num { font-size: 14px; padding: 4px 9px; }
  .pick-img { height: 130px; }
  .cycle-fig figcaption { margin-top: 0; }
  .cycle-fig figcaption .cap { display: none; }   /* step 8: the illustration note now sits inside the caption (valid HTML); only the caption text hides */
  .cycle-steps li, .cycle-steps li:first-child { min-height: 40vh; }
  .cycle-steps h3 { font-size: 1.4rem; }
  .range-head h2 { font-size: 1.7rem; }
  .range-head p { font-size: 12px; }
  .range-grid a { grid-template-rows: 112px auto 1fr; gap: 4px; padding: 16px 10px 18px; }
  .range-pic img { max-height: 104px; }
  .range-pic img[data-defer] { width: min(100%, calc(104px * var(--r))); }
  .range-missing { height: 104px; font-size: 10px; padding: 0 6px; }
  .range-tag { top: 8px; left: 6px; padding: 2px 5px; font-size: 10px; }
  .range-grid h3 { margin-top: 8px; font-size: 1.08rem; }
  .range-grid h3 svg { display: none; }
  .range-grid p { font-size: 13px; line-height: 1.4; }
  .prod-stage { --stage-h: clamp(220px, 40svh, 380px); }
  .prod-opts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; gap: 6px; }
  .prod-opt { flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 6px 4px 8px; font-size: 12.5px; line-height: 1.25; text-align: center; }
  .prod-opt img { width: 56px; height: 34px; }
  .home-hero { min-height: 92svh; padding-top: calc(var(--head) + 34svh); }
  .home-photo img { object-position: 50% 42%; }
  .home-hero::before {
    background:
      linear-gradient(0deg, rgba(13, 14, 15, .92) 0%, rgba(13, 14, 15, .78) 46%, rgba(13, 14, 15, .12) 78%, rgba(13, 14, 15, 0) 100%),
      linear-gradient(180deg, rgba(13, 14, 15, .4) 0%, rgba(13, 14, 15, 0) 20%);
  }
  .photo-cap { text-align: left; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    align-items: center; justify-content: center; gap: 10px;
    height: 60px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700;
    box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4);
    transform: translateY(100%); transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  }
  .callbar.show { transform: none; }
  .callbar svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .explode, .explode[data-wide] { height: auto; }
  .explode-pin { position: static; height: auto; padding: 24px 0 48px; }
  .stage { width: 100%; }
  .tag { opacity: 1; transition: none; }
  .tag::after { transform: none; transition: none; }
  .hint { display: none; }
  .spot::after { animation: none; }
  .stage-frame, .explode[data-wide] .stage-frame { height: auto; }
  .explode .legend { opacity: 1 !important; }
  .cut-text:not([hidden]) { animation: none; }
  .mega, .nav.open, .prod-img { animation: none; }
  .range-pic img, .range-grid h3 svg { transition: none; }
}

/* ===== Brother's pack (2 Nov 2026): real photos, connectors, installation ===== */

/* Section head: heading left, one short paragraph right */
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(24px, 4vw, 40px); }
.sec-head h2 { grid-column: 1 / span 7; }
.sec-head p { grid-column: 8 / -1; margin: 0; color: var(--ink-2); font-size: 1.05rem; max-width: 46ch; }

/* Real photographs from the plant and from sites */
.gallery { padding: clamp(56px, 8vw, 104px) 0; }
.cut + .gallery { padding-top: 0; }
.gal-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 2px solid var(--ink); padding-top: 24px; }
.gal-row figure { margin: 0; }
.gal-row img { width: 100%; height: auto; border-radius: 2px; background: var(--rule); }
.gal-row figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 42ch; }
.gal-row figcaption b { color: var(--ink); }

/* Three connector types */
.joints { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.joints + .uses { padding-top: 0; }
.joint-list { list-style: none; margin: 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 2px solid var(--ink); }
.joint-list li { display: flex; flex-direction: column; gap: 4px; }
.joint-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; margin-bottom: 12px; background: var(--rule); }
.joint-list b { font-size: 1.12rem; line-height: 1.25; }
.joint-list span { color: var(--ink-2); font-size: 15px; }

/* Installation: steps + rules beside a sticky photo block */
.install { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.install-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: start; }
.install-text { grid-column: 1 / span 6; }
.install h2 { margin-bottom: 18px; }
.install-lead { margin: 0 0 28px; color: var(--ink-2); font-size: 1.05rem; max-width: 52ch; }
.install-lead a { color: var(--ink); font-weight: 700; }
.install-steps { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: st; border-top: 2px solid var(--ink); }
.install-steps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px 0 16px; border-bottom: 1px solid var(--rule); }
.install-steps li::before { content: counter(st); grid-row: 1 / span 2; font-stretch: var(--cond); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--blue); }
.install-steps b { font-size: 1.05rem; }
.install-steps span { color: var(--ink-2); font-size: 15px; }
.install-rules { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.install-rules li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; }
.install-rules li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; background: var(--blue); }
.install-rules b { color: var(--ink); }
.install-more { margin-top: 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.install-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-weight: 700; }
.install-more summary::-webkit-details-marker { display: none; }
.install-more summary svg { width: 22px; height: 22px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.install-more[open] summary svg { transform: rotate(180deg); }
.install-more summary:hover { color: var(--blue); }
.install-more ul { margin: 0 0 18px; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.install-more li + li { margin-top: 8px; }
.install-more b { color: var(--ink); }
.install-photos { grid-column: 8 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: sticky; top: calc(var(--head) + 24px); }
.install-photos figure { margin: 0; }
.install-photos figure:first-child { grid-column: 1 / -1; }
.install-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: var(--rule); }
.install-photos figcaption { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }

/* Notes under size tables, measured test results */
.table-note { max-width: 640px; margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.proof-text > p.proof-note { margin: 32px 0 12px; font-size: 15px; }
.proof-nums { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.proof-nums div { padding: 12px 12px 14px 0; border-bottom: 1px solid var(--rule); }
.proof-nums dt { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; line-height: 1.3; min-height: 2.6em; }
.proof-nums dd { margin: 6px 0 0; font-stretch: var(--cond); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; }

@media (max-width: 960px) {
  .sec-head h2, .sec-head p { grid-column: 1 / -1; }
  .sec-head p { margin-top: 14px; }
  .install-text { grid-column: 1 / -1; }
  .install-photos { grid-column: 1 / -1; position: static; grid-template-columns: repeat(3, 1fr); }
  .install-photos figure:first-child { grid-column: auto; }
  .proof-nums { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  /* photo rows become a swipe row; the next photo peeks in so it reads as scrollable */
  .gal-row, .install-photos {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut);
    scrollbar-width: none;
  }
  .gal-row::-webkit-scrollbar, .install-photos::-webkit-scrollbar { display: none; }
  .gal-row { border-top: 0; padding-top: 0; }
  .gal-row > figure, .install-photos > figure { scroll-snap-align: start; }
  .joint-list { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .joint-list li { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .joint-list img { grid-row: 1 / span 2; aspect-ratio: 1; margin: 0; }
  .joint-list b { align-self: end; font-size: 1.05rem; }
  .joint-list span { font-size: 14px; }
  .install-steps li { grid-template-columns: 34px 1fr; }
  .install-steps li::before { font-size: 1.7rem; }
  .proof-nums { grid-template-columns: 1fr 1fr; }
}

/* Disclosure under every illustration (Uroš, 2 Nov 2026) */
.illus-note { margin: 14px 0 0; max-width: 74ch; font-size: 13px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.illus-note a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.illus-note a:hover { color: var(--blue); text-decoration-color: currentColor; }

/* Call line under every size table */
.size-call { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.size-call p { margin: 0; font-weight: 600; }
.hero > .wrap > .illus-note { margin: 0 0 4px; }
.pick-grid + .illus-note { margin-top: 18px; }

/* new category pages (phase 4) */
.hero-pair { gap: clamp(16px, 4vw, 64px); align-items: flex-end; }
.hero-pair img { width: min(46%, 440px); }
.gal-crop img { aspect-ratio: 4 / 3; object-fit: cover; }

/* two-part legend (tankvane page) */
.legend.legend-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .legend.legend-2 { grid-template-columns: 1fr; } }

/* Certificates strip (tree D-71): thumbnails are 120 px files on purpose, never readable */
.certs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: clamp(32px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
.certs-head { grid-column: 1 / span 3; }
.certs h3 { font-size: 1.15rem; margin: 0 0 8px; color: #fff; }
.certs-head p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--dark-2); max-width: 30ch; }
.cert-list { grid-column: 4 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: start; }
.cert b { display: block; font-size: 14px; line-height: 1.3; color: #fff; }
.cert span:not(.cert-doc) { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--dark-2); }
.cert-doc { display: grid; place-items: center; width: 84px; aspect-ratio: 3 / 4; margin-bottom: 12px; padding: 5px; background: #fff; border-radius: 1px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.cert-doc img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.cert-plain { padding-top: 0; border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 16px; }
@media (max-width: 1100px) {
  .certs-head { grid-column: 1 / -1; margin-bottom: 20px; }
  .cert-list { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .cert-list { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .cert-plain { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 12px; }
}
.size-table .sep-table { max-width: 760px; min-width: 560px; }
.size-table .sep-table tbody th { text-align: left; font-weight: 700; padding: 7px 12px 7px 0; border-bottom: 1px solid var(--rule); }
.size-table .sep-table thead th:first-child { text-align: left; }
.gal-sub { margin: clamp(40px, 6vw, 64px) 0 16px; font-size: 1.15rem; }
.gal-tall img { aspect-ratio: 3 / 4; object-fit: cover; }
.size-table .sep-table tbody th { font-size: 15px; color: var(--ink); letter-spacing: 0; text-transform: none; }
.size-table .sep-table th, .size-table .sep-table td { white-space: nowrap; }

/* ===== Home v3 (Uroš, tree M-47 / D-73): factory photo + headline, then a shelf with every group and every product
   name in the first screen; full range below; made-to-measure; how to order. Colours and type unchanged. ===== */
.home-hero { min-height: max(520px, calc(100svh - 230px)); padding-top: calc(var(--head) + clamp(40px, 9vh, 120px)); }
.home-hero h1 { grid-column: 1 / span 9; font-size: clamp(2.6rem, 5.6vw, 5rem); text-wrap: balance; }
.home-hero .hero-side { grid-column: 1 / span 6; }
.home-hero .photo-cap { grid-column: 1 / -1; margin: -10px 0 0; text-align: right; }

.shelf { background: var(--ground); padding: clamp(18px, 2.4vw, 28px) 0 clamp(28px, 4vw, 48px); }
.shelf-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shelf-group { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; align-content: start; padding: 6px 20px 0; border-left: 1px solid var(--rule); }
.shelf-group:first-child { padding-left: 0; border-left: 0; }
.shelf-pic { grid-row: 1 / span 2; display: grid; place-items: center; height: 104px; }
.shelf-pic img { max-width: 104px; max-height: 96px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 12px 10px rgba(0, 0, 0, .16)); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.shelf-group:hover .shelf-pic img { transform: translateY(-3px); }
.shelf-h { margin: 0; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; }
.shelf-h a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.shelf-h a:hover { color: var(--blue); }
.shelf-h svg { width: 16px; height: 16px; flex: none; }
.shelf-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; line-height: 1.35; }
.shelf-links a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.shelf-links a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.shelf-links svg { width: 12px; height: 12px; vertical-align: -1px; }

.range { padding-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--ink); }
.range-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; column-gap: 28px; }
.range-head .range-lead { margin: 0; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: normal; color: var(--ink-2); }
.range-more { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); }
.range-more a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.range-more a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.range-more svg { width: 14px; height: 14px; vertical-align: -2px; }

.custom { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.custom-in { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; align-items: start; }
.custom-text { grid-column: 1 / span 4; grid-row: 1 / span 2; }
.custom-text p { margin: 18px 0 26px; color: var(--ink-2); font-size: 1.05rem; max-width: 40ch; }
.custom-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.custom-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.custom-list a { display: inline-flex; align-items: center; gap: 6px; align-self: start; font-weight: 700; text-decoration: none; }
.custom-list a:hover { color: var(--blue); }
.custom-list a svg { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.custom-list a:hover svg { transform: translateX(4px); }
.custom-list li > span { font-size: 14px; color: var(--ink-2); }
.custom-pic { margin: 0; }
.custom-pic img { display: block; width: 100%; height: auto; border-radius: 2px; background: var(--rule); }
.custom-pic figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.custom-a { grid-column: 6 / span 4; grid-row: 1 / span 2; }
.custom-a img { aspect-ratio: 3 / 4; object-fit: cover; }
.custom-b { grid-column: 10 / span 3; grid-row: 1; }
.custom-c { grid-column: 10 / span 3; grid-row: 2; }
.custom-b img, .custom-c img { aspect-ratio: 4 / 3; object-fit: cover; }
.home-steps { background: var(--ground); }

@media (max-width: 1100px) {
  .shelf-group { grid-template-columns: 84px minmax(0, 1fr); padding: 6px 14px 0; }
  .shelf-pic { height: 84px; }
  .shelf-pic img { max-width: 84px; max-height: 78px; }
}
@media (max-width: 960px) {
  .home-hero h1, .home-hero .hero-side { grid-column: 1 / -1; }
  .shelf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .shelf-group:nth-child(odd) { padding-left: 0; border-left: 0; }
  .range-head { grid-template-columns: auto 1fr; }
  .range-head .range-lead { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; }
  .custom-text { grid-column: 1 / -1; grid-row: auto; }
  .custom-a { grid-column: 1 / span 6; grid-row: auto; }
  .custom-b, .custom-c { grid-column: 7 / span 6; grid-row: auto; }
  .custom-in { grid-template-rows: auto; }
  .custom-a { grid-row: 2 / span 2; }
  .custom-b { grid-row: 2; }
  .custom-c { grid-row: 3; }
}
@media (max-width: 640px) {
  .home-hero { min-height: 0; padding-top: calc(var(--head) + 22svh); }
  .home-hero h1 { font-size: clamp(2.3rem, 10.4vw, 2.9rem); }
  .home-hero .photo-cap { text-align: left; margin-top: -6px; }
  .shelf-in { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .shelf-group, .shelf-group:nth-child(odd) { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--rule); grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; }
  .shelf-group:last-child { border-bottom: 0; }
  .shelf-pic { height: 72px; }
  .shelf-pic img { max-width: 76px; max-height: 66px; }
  .shelf-h { font-size: 1.15rem; }
  .shelf-links { font-size: 14px; gap: 6px 12px; }
  .custom-a, .custom-b, .custom-c { grid-column: 1 / -1; grid-row: auto; }
  .custom-a img { aspect-ratio: 4 / 5; }
}
.shelf-group { grid-template-rows: auto auto; }
.shelf-links { align-content: start; align-self: start; }
.shelf-h { font-size: 1.2rem; text-wrap: balance; }
.shelf-h a { display: inline; padding-block: 2px; }   /* step 7: 24 px tap target (WCAG 2.5.8); inline padding moves nothing */
.shelf-h svg { display: inline-block; vertical-align: -2px; margin-left: 4px; }

/* ===== Home v3 round 2 (mock-up for Uroš, tree D-73): split hero on the studio ground, tidier shelf,
   full rows in the range, maker band heading first ===== */
.home-top { padding: clamp(20px, 3vw, 36px) 0 clamp(20px, 2.6vw, 30px); }
.home-split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.home-copy { grid-column: 1 / span 6; padding-right: clamp(0px, 2vw, 24px); }
.home-copy h1 { font-size: clamp(2.6rem, 4.7vw, 4.6rem); margin-bottom: 20px; text-wrap: balance; }
.home-copy .lead { max-width: 44ch; }
.home-copy .lead b { color: var(--ink); font-weight: 700; }
.home-facts { list-style: none; margin: 26px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: 15px; font-weight: 600; color: var(--ink); }
.home-facts li { display: flex; align-items: center; gap: 10px; }
.home-facts li::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex: none; }
.home-fig { grid-column: 7 / -1; margin: 0; }
.home-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; border-radius: 2px; }
.home-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-2); text-align: right; }

.shelf { padding-top: clamp(14px, 2vw, 22px); border-top: 2px solid var(--ink); }
.shelf-group { position: relative; grid-template-columns: 96px minmax(0, 1fr); }
.shelf-pic { height: 96px; place-items: end center; }
.shelf-pic img { max-width: 96px; max-height: 84px; }
.shelf-h { font-size: 1.15rem; }
.shelf-links { display: grid; gap: 3px; margin-top: 8px; font-size: 15px; line-height: 1.3; }
.shelf-links a { color: var(--ink); border-bottom: 0; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.shelf-links a:hover { color: var(--blue); text-decoration-color: var(--blue); }

.range { border-top: 0; }
.range-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.range-grid li { grid-column: span 2; border-right: 1px solid var(--rule); }
.range-grid li:not(:nth-child(3n)):not(:last-child) { border-right: 1px solid var(--rule); }
.range-grid li:nth-child(3n), .range-grid li:last-child { border-right: 0; }
.range-grid.n2 li:nth-last-child(-n+2) { grid-column: span 3; }
.range-grid.n2 li:nth-last-child(2) { border-right: 1px solid var(--rule); }
.range-grid.n1 li:last-child { grid-column: span 6; }
.range-more a svg { width: 14px; height: 14px; vertical-align: -2px; }

.maker-text { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(20px, 3vw, 32px); }
.maker-text h2 { grid-column: 1 / span 6; margin: 0; }
.maker-text p { grid-column: 7 / -1; margin: 0 0 18px; }
.maker-facts { grid-column: 7 / -1; }
.maker-photo.a { grid-column: 1 / span 6; }
.maker-photo.b { grid-column: 7 / span 6; margin-bottom: 0; }
.cert-more { grid-column: 4 / -1; margin: 18px 0 0; font-size: 14px; color: var(--dark-2); }
.cert-list { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 960px) {
  .home-copy, .home-fig { grid-column: 1 / -1; }
  .home-fig { margin-top: 28px; }
  .range-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range-grid li, .range-grid.n2 li:nth-last-child(-n+2), .range-grid.n1 li:last-child { grid-column: span 1; border-right: 0; }
  .range-grid li:nth-child(odd) { border-right: 1px solid var(--rule); }
  .range-grid li:nth-child(odd):last-child { grid-column: 1 / -1; border-right: 0; }
  .maker-text h2, .maker-text p, .maker-facts { grid-column: 1 / -1; }
  .maker-text p { margin-top: 14px; }
  .cert-more { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { padding-bottom: 0; }
  .foot { padding-bottom: calc(28px + 64px); }
  .home-top { padding-top: 0; }
  .home-split { display: flex; flex-direction: column; }
  .home-fig { order: -1; margin: calc(-1 * var(--head)) calc(-1 * var(--gut)) 22px; width: calc(100% + 2 * var(--gut)); }
  .home-fig img { aspect-ratio: 16 / 9; border-radius: 0; }
  .home-fig figcaption { display: none; }
  .home-copy h1 { font-size: clamp(2.2rem, 10vw, 2.7rem); margin-bottom: 14px; }
  .home-facts { font-size: 14px; gap: 8px 14px; margin-top: 20px; }
  .shelf-group, .shelf-group:nth-child(odd) { min-height: 76px; }
  .shelf-h a::after { content: ""; position: absolute; inset: 0; }
  .shelf-links { display: flex; flex-wrap: wrap; gap: 2px 0; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); pointer-events: none; }
  .shelf-links li + li::before { content: "·"; margin: 0 6px; color: var(--ink-2); }
  .shelf-links a { color: var(--ink-2); text-decoration: none; }
  .shelf-h::after { content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
  .shelf-group { padding-right: 28px; }
  .cert-list { grid-template-columns: 1fr; }
  .cert { display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; align-items: start; }
  .cert .cert-doc { grid-row: 1 / span 2; width: 72px; margin: 0; }
}
@media (max-width: 640px) {
  .shelf-group, .shelf-group:nth-child(odd) { padding-right: 30px; }
  .home-facts { grid-template-columns: 1fr; gap: 6px; }
}

/* Home round 3 (Uroš M-49): category icons on the shelf instead of repeated product photos; phone landing picture =
   the plant from the air (4:3, img/home/pogon-p-*.webp, swap those two files to change it). */
.shelf-group { grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; }
.shelf-pic { width: 64px; height: 64px; place-items: center; border: 1.5px solid var(--ink); border-radius: 3px; color: var(--ink); transition: color .2s, border-color .2s, background .2s; }
.shelf-pic svg { width: 40px; height: 40px; fill: currentColor; }
.shelf-group:hover .shelf-pic { color: #fff; background: var(--ink); }
.shelf-h { padding-top: 2px; }
@media (max-width: 1100px) {
  .shelf-group { grid-template-columns: 56px minmax(0, 1fr); }
  .shelf-pic { width: 56px; height: 56px; }
  .shelf-pic svg { width: 34px; height: 34px; }
}
@media (max-width: 640px) {
  .home-fig img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
  .shelf-group, .shelf-group:nth-child(odd) { grid-template-columns: 52px minmax(0, 1fr); min-height: 72px; align-items: center; }
  .shelf-pic { width: 52px; height: 52px; grid-row: 1 / span 2; align-self: center; }
  .shelf-pic svg { width: 32px; height: 32px; }
}
/* detector round: icons sit in flow, no tile around them; more air under the shelf's top rule */
.shelf { padding-top: clamp(22px, 2.8vw, 30px); }
.shelf-pic, .shelf-group:hover .shelf-pic { border: 0; border-radius: 0; background: none; width: auto; height: auto; place-items: start center; }
.shelf-pic svg { width: 46px; height: 46px; }
.shelf-group:hover .shelf-pic { color: var(--blue); }
.shelf-group { grid-template-columns: 48px minmax(0, 1fr); }
@media (max-width: 1100px) { .shelf-group { grid-template-columns: 42px minmax(0, 1fr); } .shelf-pic svg { width: 40px; height: 40px; } }
@media (max-width: 640px) {
  .shelf { padding-top: 10px; }
  .shelf-group, .shelf-group:nth-child(odd) { grid-template-columns: 40px minmax(0, 1fr); }
  .shelf-pic { align-self: center; }
  .shelf-pic svg { width: 36px; height: 36px; }
}
.mega-tag, .range-tag, .prod-tag { font-size: 11px; }

/* Phone menu icons (Uroš M-51/M-52): black-and-white Phosphor light icons, the same four as the home shelf, so the
   menu reads at a glance. Hidden on the desktop bar. */
.nav-ico { display: none; }
.nav-all-l { display: inline-flex; align-items: center; }
@media (max-width: 1040px) {
  .nav-ico { display: inline-block; width: 26px; height: 26px; margin-right: 12px; fill: currentColor; flex: none; }
  .nav > a { display: flex; align-items: center; }
  .mega-h { display: flex; align-items: center; padding-top: 12px; font-size: 13px; color: var(--ink); }
  .mega-h .nav-ico { width: 24px; height: 24px; margin-right: 10px; }
  .mega li a { padding-left: 34px; }
}

/* O nama page (Uroš M-54/M-55): Filip's informal portrait (tools/portrait_onama.py) beside the company story. */
.about-hero { padding-bottom: clamp(40px, 6vw, 80px); }
.about-split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.about-copy { grid-column: 1 / span 6; }
.about-copy h1 { margin-bottom: 18px; }
.about-quote { margin: 26px 0 28px; padding-top: 18px; border-top: 2px solid var(--ink); }
.about-quote p { margin: 0 0 14px; font-size: 1.2rem; line-height: 1.5; color: var(--ink); max-width: 46ch; }
.about-quote footer b { display: block; }
.about-quote footer span { font-size: 14px; color: var(--ink-2); }
.about-fig { grid-column: 8 / -1; margin: 0; }
.about-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.about-fig figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.maker .about-link { margin-top: 18px; color: #fff; border-color: rgba(255, 255, 255, .6); grid-column: 7 / -1; justify-self: start; }
.maker .about-link:hover { color: var(--blue-soft); border-color: var(--blue-soft); }
@media (max-width: 960px) {
  .about-split { display: flex; flex-direction: column; align-items: stretch; }
  .about-fig { order: -1; max-width: 460px; margin-bottom: 24px; }
  .maker .about-link { grid-column: 1 / -1; }
}

/* Phone shelf (Uroš M-55: "it opens everything underneath"): every product is its own tap target to its own page. */
@media (max-width: 640px) {
  .shelf-group, .shelf-group:nth-child(odd) { padding-right: 0; grid-template-rows: auto auto; align-items: center; }
  .shelf-pic { grid-row: 1; }
  .shelf-h { grid-row: 1; grid-column: 2; }
  .shelf-h::after, .shelf-h a::after { content: none; }
  .shelf-links { grid-row: 2; grid-column: 1 / -1; pointer-events: auto; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .shelf-links li + li::before { content: none; }
  .shelf-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 3px; background: rgba(255, 255, 255, .55); color: var(--ink); font-size: 14px; text-decoration: none; }
  .shelf-links a:active { background: var(--ink); color: #fff; }
}

/* O nama round 2 (Uroš M-60, "like the catalog page"): grey cut-out of Filip standing on the edge of the band, the
   text block centred on his height. The next section (paper) starts right under his elbows. */
.about-band { padding-bottom: 0; }
.about-band .about-split { align-items: center; }
.about-cut { align-self: end; }
.about-cut img { aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.about-band .about-copy { padding-bottom: clamp(24px, 4vw, 48px); }
@media (max-width: 960px) {
  .about-cut { order: 0; align-self: center; width: 78%; max-width: 380px; margin: 8px auto 0; }
}

/* Phone shelf round 3 (Uroš M-60: "I liked it when it was simpler"): back to compact rows (icon, group, product names
   in one line), but every name is still its own link to its own page; the tap area is padded, not boxed. */
@media (max-width: 640px) {
  .shelf-pic { grid-row: 1 / span 2; align-self: start; padding-top: 2px; }
  .shelf-h { grid-row: 1; grid-column: 2; }
  .shelf-links { grid-row: 2; grid-column: 2; display: block; margin-top: 3px; font-size: 14px; line-height: 1.75; }
  .shelf-links li { display: inline; }
  .shelf-links li + li::before { content: "·"; margin: 0 7px; color: var(--ink-2); }
  .shelf-links a { display: inline; min-height: 0; padding: 6px 0; border: 0; border-radius: 0; background: none; color: var(--ink-2); font-size: 14px;
    text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
  .shelf-links a:active { background: none; color: var(--blue); }
}

/* O nama round 3 (Uroš M-63): on the phone the quote, name and call sit UNDER Filip's photo. Desktop unchanged:
   the two text parts stay one block, centred on his height (rows 1fr / auto / auto / 1fr). */
.about-band .about-split { grid-template-rows: 1fr auto auto 1fr; align-items: stretch; }
.about-head { grid-column: 1 / span 6; grid-row: 2; }
.about-say { grid-column: 1 / span 6; grid-row: 3; }
.about-band .about-cut { grid-column: 8 / -1; grid-row: 1 / span 4; align-self: end; }
.about-head .lead { margin-bottom: 0; }
.about-say .about-quote { margin-top: 26px; }
@media (max-width: 960px) {
  .about-band .about-split { display: flex; flex-direction: column; }
  .about-head { order: 1; }
  .about-band .about-cut { order: 2; margin-top: 18px; }
  .about-say { order: 3; }
  .about-say .about-quote { margin-top: 0; }
}
@media (max-width: 960px) { .about-band .about-cut { margin-top: -34px; position: relative; z-index: 0; } .about-head { position: relative; z-index: 1; } }

/* Review round 2 (tree D-89) */
.shelf-h { min-height: 2.1em; }                                       /* columns start their lists on one line */
.shelf-links a { white-space: nowrap; }                                /* names never break in the middle */
.certs h3 { font-stretch: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.tankvane-anchor, img[id] { scroll-margin-top: calc(var(--head) + 24px); }
@media (max-width: 1040px) { .nav { background: rgba(255, 255, 255, .97); } }
@media (max-width: 640px) { .shelf-h { min-height: 0; } }
@media (max-width: 640px) { .home-fig img { aspect-ratio: 16 / 9; } }

/* Hero text (tree D-101, Uroš M-79): the four badge bullets became one proof line (customers from the catalog) */
.home-proof { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); max-width: 46ch; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
@media (max-width: 960px) { .home-proof { margin-top: 20px; font-size: 14px; } }

/* Home first screen A1 (tree D-104; Uroš M-81/M-82): the photo fills the screen; the text sits on its own shaded,
   outlined panel so it reads over any part of the photo; customers named as signs + "i mnogi drugi". */
.home-full { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--head)); min-height: clamp(620px, 94svh, 880px);
  display: grid; align-items: end; background: #0c0f14; color: #fff; }
.home-full-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 26% 72%; z-index: -2; }
.home-full::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(270deg, rgba(9, 11, 15, .55) 0%, rgba(9, 11, 15, .25) 45%, rgba(9, 11, 15, 0) 65%),
              linear-gradient(0deg, rgba(9, 11, 15, .35) 0%, rgba(9, 11, 15, 0) 28%); }
.home-full-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-block: calc(var(--head) + 56px) clamp(48px, 7vw, 88px); }
.home-panel { grid-column: 7 / -1; padding: clamp(28px, 2.8vw, 40px); background: rgba(12, 14, 19, .78); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 4px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75); }
.home-panel h1 { color: #fff; font-size: clamp(2.6rem, 4.3vw, 4.4rem); margin: 0 0 22px; text-wrap: balance; }
.home-panel .lead { color: rgba(255, 255, 255, .84); max-width: 44ch; }
.home-panel .lead b { color: #fff; font-weight: 700; }
.home-panel .link-down { color: #fff; border-color: rgba(255, 255, 255, .7); }
.home-panel .link-down:hover { color: var(--blue-soft); border-color: var(--blue-soft); }
.home-buyers { display: grid; gap: 8px; margin-top: 30px; }
.home-buyers-l { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .64); }
.home-buyers ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.home-buyers li { font-stretch: var(--cond); font-weight: 800; font-size: 1.2rem; line-height: 1.2; text-transform: uppercase; letter-spacing: -.005em; color: #fff; }
.home-buyers li.more { font-stretch: 100%; font-weight: 500; font-size: 15px; text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, .78); }
.home-full-cap { position: absolute; left: var(--gut); bottom: 14px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .72); }
@media (min-width: 641px) { .home-panel .btn-blue .num { display: none; } }   /* the number is already in the top bar */
@media (max-width: 1100px) { .home-panel { grid-column: 5 / -1; } }
@media (max-width: 860px) { .home-panel { grid-column: 2 / -1; } }
@media (max-width: 640px) {
  .home-full { display: block; min-height: 0; background: var(--ground); color: var(--ink); overflow: visible; }
  .home-full::after { display: none; }
  .home-full-bg { display: block; position: relative; height: 66svh; min-height: 420px; }
  .home-full-bg img { z-index: 0; object-position: 30% 70%; }
  .home-full-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9, 11, 15, .88) 0%, rgba(9, 11, 15, .5) 30%, rgba(9, 11, 15, 0) 55%); }
  .home-full-in { display: block; padding-block: 0 28px; margin-top: -164px; position: relative; }
  .home-panel { padding: 0; background: none; border: 0; box-shadow: none; }
  .home-panel h1 { font-size: clamp(2.2rem, 10vw, 2.7rem); margin-bottom: 44px; min-height: 140px; display: flex; align-items: flex-end; }
  .home-panel .lead { color: var(--ink-2); }
  .home-panel .lead b { color: var(--ink); }
  .home-panel .link-down { color: var(--ink); border-color: var(--ink); }
  .home-buyers { margin-top: 24px; }
  .home-buyers-l { color: var(--ink-2); }
  .home-buyers li { color: var(--ink); font-size: 1.1rem; }
  .home-buyers li.more { color: var(--ink-2); font-size: 14px; }
  .home-full-cap { display: none; }
}
@media (max-width: 360px) { .home-panel .btn-blue { gap: 8px; padding-inline: 14px; font-size: 15px; } }   /* 320 px phones: button stays one line */

/* Whole range band under the home first screen (tree D-111/D-112). The picture's own edges are --ground,
   so it melts into the page; on phones the whole range stays visible (Uroš M-87: not a swipe strip). */
.lineup { padding: clamp(24px, 4vw, 64px) 0 clamp(4px, 1.5vw, 20px); }
.lineup-in { max-width: 1480px; margin: 0 auto; padding: 0 clamp(4px, 2vw, 24px); }
.lineup img { display: block; width: 100%; height: auto; }

/* Galerija page + O nama extras (tree D-115) */
.gal-more { margin-top: 24px; }
.gallery.pumpa { padding-top: 0; }
.gal-row.gal-two { grid-template-columns: repeat(2, 1fr); }
.gal-page { padding-top: clamp(8px, 2vw, 24px); }
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); border-top: 2px solid var(--ink); padding-top: 24px; }
.gal-grid figure { margin: 0; }
.gal-grid a { display: block; }
.gal-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: var(--rule); }
.gal-grid figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.gal-grid figcaption b { color: var(--ink); }
@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gal-grid { gap: 14px; } .gal-grid figcaption { font-size: 13px; } }

/* Review fixes (tree D-123, 6 Nov 2026) */
.range-note { margin: 4px 0 0; font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.pin-note { margin: 0; font-size: 12px; line-height: 1.4; color: var(--ink-2); text-align: center; }
.cycle-fig .pin-note { text-align: left; margin-top: 6px; }
.explode { overflow-x: clip; }   /* separatori: no 2 px sideways drag on phones */
/* model buttons: an even grid, so the last button never sits alone on a second line */
@media (min-width: 641px) { .prod-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); width: 100%; } }   /* phones keep one row (line ~769) */
/* Ekspanzer: the only source photo is tiny, so it is shown smaller (Uroš M-92). D-146: the site now uses the sharp Gemini
   packshot img/prod/ekspanzer-*.webp at normal size; the studio-ekspanzer rules below only match the old file. */
.prod-img[src*="studio-ekspanzer"] { max-height: calc(var(--stage-h) * .52); }
.range-pic img[src*="studio-ekspanzer"], .mega-pic img[src*="studio-ekspanzer"] { max-height: 62%; width: auto; }
/* D-141: a % max-height has no effect in the auto-height grid row of .mega-pic, so the tall ekspanzer picture grew to
   246 px and covered the product name in the "Proizvodi" menu (Uroš M-101). Pixel cap, same as the home tile. */
.mega-pic img[src*="studio-ekspanzer"] { max-height: 118px; }
@media (max-width: 700px) {
  /* size tables: all three columns fit a phone, Zapremina never hidden */
  .size-table table { min-width: 0; font-size: 13.5px; }
  .size-table th { font-size: 10.5px; letter-spacing: .02em; padding: 8px 8px 8px 0; }
  .size-table td { padding: 7px 8px 7px 0; }
  .size-table .sep-table { min-width: 0; font-size: 12px; }
  .size-table .sep-table th { font-size: 9.5px; }
  /* repeated maker block on product pages: text, the aerial photo and "Više o nama" only (Uroš M-92) */
  .maker-short .maker-photo, .maker-short .certs { display: none; }
}
@media (max-width: 700px) {
  /* separator table (5 columns): Tip, Protok and Zapremina fit; the row name stays pinned while the sizes are swiped */
  .sep-table th[scope="row"], .sep-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--ground); }
}

/* D-133: catalog-style product page order + less empty ground after the exploded view */
.hero:has(.explode) + .cut, .inside + .cut { padding-top: clamp(32px, 4vw, 56px); }
.hero + .sizes { padding-top: clamp(24px, 3vw, 40px); }

/* Round 3 (8 Nov 2026) ------------------------------------------------------------------------------------------- */
/* Catalog download inside every sizes block and in the footer (tools/catalog_web.py makes the web copy) */
.size-cat { margin: 22px 0 0; }
.size-call + .size-cat { margin-top: 18px; }
.size-cat a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); }
.size-cat a:hover { color: var(--blue); border-color: var(--blue); }
.size-cat svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
/* Footer: company data (old site kontakt page) and the social links */
.foot-in { align-items: baseline; }
.foot-in a { color: #e9eaeb; }
.foot-in a:hover { color: #fff; }
.foot-social a { display: inline-flex; align-items: center; gap: 6px; }
.foot-social svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.foot-cat { white-space: nowrap; }
.foot-cat svg { width: 18px; height: 18px; fill: currentColor; vertical-align: -4px; margin-right: 5px; }
.foot-social { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot-social a { min-height: 44px; text-decoration: none; }
.foot-social a:hover { text-decoration: underline; }
/* Home grid (Fable's list): the Ekspanzer picture stays inside its slot; a lone last card is a normal card */
.range-pic img[src*="studio-ekspanzer"] { max-height: 118px; }
.range-grid.n1 li:last-child { grid-column: span 2; border-right: 1px solid var(--rule); }
@media (max-width: 960px) {
  .range-grid li:nth-child(odd):last-child { grid-column: auto; border-right: 1px solid var(--rule); }
}
@media (max-width: 640px) { .range-pic img[src*="studio-ekspanzer"] { max-height: 70px; } }
/* Product panel with one picture only: the stage hugs the picture, no empty floor under it */
.prod:not(:has(.prod-opts)) .prod-stage { height: auto; padding: 8px 0 14px; }
/* Home lineup band: capped at 1440 px */
.lineup-in { max-width: calc(1440px + 2 * clamp(4px, 2vw, 24px)); }
/* separatori on a 390 px phone (Fable's list): the finished hotspot ping kept its ring scaled 1.7x past the right edge */
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 70% { transform: scale(1.7); opacity: 0; } 100% { transform: scale(1); opacity: 0; } }
.cut { overflow-x: clip; }
/* tall products on short phones (Fable's list): when the open view plus its part list is taller than the pinned
   area, it starts under the header instead of being centred up behind it; short screens get a shorter frame */
@media (max-width: 640px) { .explode-pin { align-items: safe center; } }
@media (max-width: 640px) and (max-height: 760px) { .explode:not([data-wide]) .stage-frame { height: min(36svh, 380px); } }

/* D-140: desktop frame fitted to the opened product by stage.js; the product sits centred in it, the pinned block
   sits centred in the screen, the legend stays clickable above the (transparent) overflow of the stage */
@media (min-width: 641px) {
  .stage-frame { align-items: center; }
  .explode-pin { padding-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .explode-pin { height: auto; padding-block: 8px; }   /* content height; stage.js centres it and sizes the run (D-140) */
}
.inside + .cut, .hero:has(.explode) + .cut { padding-top: clamp(24px, 3vw, 40px); }
.explode .legend, .explode .hint, .explode .pin-note { position: relative; z-index: 7; }

/* D-141: model buttons in a narrow hero (screens ~960-1200 px): a column may shrink to 112 px, but picture + padding
   take ~90 px, so names were cut or covered (gajbice, rezervoari-za-vodu, kace). When the row is too narrow, the
   picture goes above the name, the same layout phones use (line ~769). */
@media (min-width: 641px) { .prod-opts { container-type: inline-size; } }
@container (max-width: 585px) {
  .prod-opts:has(> .prod-opt:nth-child(4)) > .prod-opt { flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 6px 4px 8px; font-size: 12.5px; line-height: 1.25; text-align: center; }
  .prod-opts:has(> .prod-opt:nth-child(4)) > .prod-opt img { width: 56px; height: 34px; }
}
@container (max-width: 470px) {
  .prod-opts > .prod-opt { flex-direction: column; justify-content: center; gap: 4px; min-height: 76px; padding: 6px 4px 8px; font-size: 12.5px; line-height: 1.25; text-align: center; }
  .prod-opts > .prod-opt img { width: 56px; height: 34px; }
}

/* ===== D-151 phone round (Uroš M-105 + independent phone review D-150) ===== */

/* Sizes: plain dimension values on a hairline row, each with its unit; nothing that looks like a button (Uroš: "they
   look like buttons, but they do nothing"). Thin vertical rules separate the values; the most common size is bold. */
.size-list dd { gap: 6px 0; align-items: baseline; }
.size-list dd .num {
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: 0;
}
.size-list dd .num + .num::before {
  content: ""; display: inline-block; width: 1px; height: .95em; margin: 0 12px; vertical-align: -.12em;
  background: rgba(21, 21, 21, .28);
}
.size-list dd .num[data-u]::after { content: "\00a0" attr(data-u); font-weight: 500; color: var(--ink-2); }
.size-list dd .num.top { border: 0; box-shadow: none; background: none; font-weight: 800;
  position: static; z-index: auto; pointer-events: auto; }   /* 'top' is also the header's class (sticky); it made this value stick and drift over the note */
.size-list dd .size-note { flex-basis: 100%; margin-top: 4px; }
@media (max-width: 640px) { .size-list dd .num { font-size: 16px; padding: 0; } .size-list dd .num + .num::before { margin: 0 10px; } }

/* Phone menu, one level at a time: groups are rows with a count and a caret; a group opens its products. */
.mega-cnt, .mega-caret { display: none; }
@media (max-width: 1040px) {
  .js .mega-col ul { display: none; }
  .js .mega-h.open + ul { display: block; }
  .mega-col { margin-top: 0; }
  .mega-col > ul + .mega-h { margin-top: 0; }
  .mega-in { padding-top: 0; }
  .js .mega-h {
    display: flex; align-items: center; min-height: 54px; margin: 0; padding: 10px 0;
    border-top: 0; border-bottom: 1px solid var(--rule);
    font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink);
    cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s;
  }
  .js .mega-h:active { background-color: rgba(21, 21, 21, .06); }
  .js .mega-h:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
  .js .mega-h .mega-cnt { display: inline; margin-left: auto; font-size: 13px; font-weight: 500; color: var(--ink-2); }
  .js .mega-h .mega-caret { display: inline-block; width: 16px; height: 16px; margin-left: 10px; fill: currentColor; transition: transform .25s; }
  .js .mega-h.open .mega-caret { transform: rotate(180deg); }
  .js .mega-h.open { border-bottom-color: transparent; }
  .js .mega-h:has(+ ul a[aria-current="page"]) .mega-t { color: var(--blue); }
  .js .mega-h.open + ul { padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
  .js .mega li:last-child a { border-bottom: 0; }
  .mega li a:active { color: var(--blue); }
}

/* Scroll cue: a framed instruction with an arrow that keeps nudging down, until the product is clearly opening. */
.hint {
  display: inline-flex; align-items: center; gap: 10px; align-self: center;
  padding: 9px 14px; border: 1px solid rgba(21, 21, 21, .22); border-radius: 3px; background: rgba(255, 255, 255, .6);
  color: var(--ink); font-weight: 600; letter-spacing: .05em; transition: opacity .3s;
}
.hint-ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .hint:not(.gone) .hint-ico { animation: nudge 1.4s cubic-bezier(.45, 0, .55, 1) infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }
@media (max-width: 640px) { .hint { font-size: 12.5px; padding: 8px 12px; } }

/* Phone held sideways: the exploded view is shown still and fully open (stage.js .is-still), like reduced motion. */
.explode.is-still, .explode.is-still[data-wide] { height: auto !important; }
.explode.is-still .explode-pin { position: static; height: auto; padding: 16px 0 32px; }
.explode.is-still .stage { width: 100%; }
.explode.is-still .tag { opacity: 1; transition: none; }
.explode.is-still .tag::after { transform: none; transition: none; }
.explode.is-still .hint { display: none; }
.explode.is-still .stage-frame, .explode.is-still[data-wide] .stage-frame { height: auto; }
.explode.is-still .legend { opacity: 1 !important; }

/* The phone call bar steps aside while an exploded view is pinned, so it never covers the part list. */
@media (max-width: 640px) { body.pin-active .callbar { transform: translateY(calc(100% + 16px)); } }

/* Cut-away on phones: the explanation sits right under the picture (tap -> answer on screen), the part buttons under
   it, the caption and disclosure last. stage.js also scrolls the answer into view if a tap leaves it off-screen. */
@media (max-width: 640px) {
  .cut-grid { display: flex; flex-direction: column; }
  .cut-fig { display: contents; }
  .cut-img { order: 1; }
  .cut-grid-narrow .cut-img { max-width: 76%; }
  .cut-panel { order: 2; margin-top: 18px; display: flex; flex-direction: column; }
  .cut-panel .cut-text { order: 1; margin-bottom: 16px; }
  .cut-panel .cut-tabs { order: 2; margin-bottom: 0; }
  .cut-fig figcaption { order: 3; margin-top: 16px; }   /* the disclosure note is inside the caption since step 8 */
  .cut-fig figcaption .cap { display: block; width: fit-content; margin-inline: auto; }   /* caption box centred as before (.cut-grid align-items) */
  .cut-text h3 { font-size: 1.4rem; margin-bottom: 6px; }
  .cut-tabs button:active { background: rgba(21, 21, 21, .08); }
}

/* Photo strips on phones: dots for position + "Prevucite" until the first swipe. */
.swipe-cue { display: none; }
@media (max-width: 640px) {
  .swipe-cue { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; grid-column: 1 / -1; min-width: 0; }
  .swipe-dots { display: flex; gap: 7px; }
  .swipe-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(21, 21, 21, .22); transition: background .2s, transform .2s; }
  .swipe-dots i.on { background: var(--ink); transform: scale(1.15); }
  .swipe-word { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); transition: opacity .3s; }
  .swipe-word svg { width: 20px; height: 20px; fill: currentColor; }
  .swipe-cue.moved .swipe-word { opacity: 0; }
  .maker .swipe-dots i { background: rgba(255, 255, 255, .3); }
  .maker .swipe-dots i.on { background: #fff; }
  .maker .swipe-word { color: var(--dark-2); }
}

/* Enlargeable photos: a small corner mark says "tap to enlarge"; the viewer is a full-screen dark dialog. */
.zoomable, .gal-row figure, .install-photos figure { position: relative; }
.zoomable img, .gal-row figure img, .install-photos figure img { cursor: zoom-in; }
.zoom-mark {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 3px; background: rgba(21, 21, 21, .6); color: #fff; pointer-events: none;
}
.zoom-mark svg { width: 18px; height: 18px; fill: currentColor; }
.zoomable:active img, .gal-row figure img:active, .install-photos figure img:active { opacity: .85; }
html.lb-open { overflow: hidden; }
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(14, 15, 16); color: #fff; overscroll-behavior: contain;
}
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb::backdrop { background: rgb(14, 15, 16); }
.lb-count { margin: 0; min-height: 20px; padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px 8px; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #b9bcc1; font-variant-numeric: tabular-nums; }
.lb-fig { margin: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px)); }
.lb-img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 2px; touch-action: pan-y; transition: transform .2s, opacity .2s; }
.lb-cap { max-width: 62ch; padding: 10px 4px 0; text-align: center; font-size: 14px; line-height: 1.45; color: #d4d6d9; }
.lb-cap b { color: #fff; }
.lb-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  padding: 14px max(12px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
}
.lb-bar button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px;
  font: inherit; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); border-radius: 3px;
  transition: background-color .15s, transform .1s;
}
.lb-bar button:hover { background: rgba(255, 255, 255, .16); }
.lb-bar button:active { transform: translateY(1px); background: rgba(255, 255, 255, .22); }
.lb-bar button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb-bar svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.lb-prev { justify-self: start; }
.lb-next { justify-self: end; }
.lb-bar .lb-close { background: #fff; border-color: #fff; color: var(--ink); padding: 0 20px; }
.lb-bar .lb-close:hover { background: #f0f1f2; }
.lb-bar .lb-close:active { background: #dfe1e3; }
.lb.single .lb-prev, .lb.single .lb-next { visibility: hidden; }
@media (max-width: 380px) { .lb-bar button { padding: 0 10px; font-size: 14px; gap: 6px; } .lb-bar .lb-close { padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .lb-img, .lb-bar button { transition: none; } }

/* Small grey text on phones raised (review: 9.5-12.5 px was hard to read outdoors). */
@media (max-width: 640px) {
  .facts { font-size: 13.5px; }
  .legend li { font-size: 15px; }
  .legend li span { font-size: 14px; }
  .pin-note, .illus-note { font-size: 13px; }
  .cut-fig figcaption, .size-unit { font-size: 14px; }
}
@media (max-width: 700px) {
  .size-table th { font-size: 12.5px; }
  .size-table table { font-size: 14.5px; }
  .size-table .sep-table { font-size: 13.5px; }
  .size-table .sep-table th { font-size: 12px; }
}

/* ---------- Naši kupci (tree M-112 / D-160): the brother's references, grey like his portrait ----------
   Logos sit on rules like every list on the site: 2px ink rule on top, hairline cells, no cards.
   Every logo file is a 360x160 grey canvas (tools/kupci_logos.py), so all cells line up without per-logo CSS. */
.kupci { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.kupci h2 { margin-bottom: clamp(24px, 4vw, 40px); }
.kupci-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.kupci-grid li {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 10px;
  padding: clamp(18px, 2.4vw, 30px) 10px 16px; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule);
}
.kupci-grid li:nth-child(6n) { border-right: 0; }
.kupci-grid img, .kupac-ime { display: block; width: 100%; max-width: 180px; height: auto; aspect-ratio: 9 / 4; }
.kupac-ime {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-stretch: var(--cond); font-weight: 800; font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1; letter-spacing: -.005em;
  text-transform: uppercase; color: #676b71;  /* was #7d8187 (3.55:1); 4.9:1 on the paper (step 7) */
}
.kupac-n { font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--ink-2); text-align: center; text-wrap: balance; }
/* 42 companies (D-162) = 7 full rows of 6, or 14 of 3 on small screens; no 4-column step (42 / 4 leaves a half row) */
@media (max-width: 960px) {
  .kupci-grid li { padding: 18px 6px 14px; }
  .kupac-n { font-size: 12.5px; }
}
@media (max-width: 760px) {
  .kupci-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kupci-grid li { padding: 16px 6px 12px; gap: 8px; }
  .kupci-grid li:nth-child(6n) { border-right: 1px solid var(--rule); }
  .kupci-grid li:nth-child(3n) { border-right: 0; }
}

/* Step 3 text blocks (TEXT-RULES.md, 10 Nov 2026): models table (block 4), feature-advantage-benefit table (block 5),
   related products (block 8). Rules, not cards: a 2px ink rule opens each table, hairlines separate rows.
   Phones turn every table row into a stacked block: row heading first, then "label: value" lines from data-label. */
.model-wrap { overflow: visible; padding-bottom: 0; }
.model-table, .fab-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.model-table thead th, .fab-table thead th {
  text-align: left; vertical-align: bottom; padding: 12px 24px 10px 0;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2);
  border-bottom: 1px solid var(--ink);
}
.model-table tbody th, .fab-table tbody th {
  text-align: left; vertical-align: top; padding: 18px 24px 20px 0;
  font-stretch: var(--cond); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; color: var(--ink);
}
.model-table tbody th { font-size: clamp(1.45rem, 2.4vw, 1.9rem); text-transform: uppercase; width: 22%; }
.model-table td, .fab-table td { vertical-align: top; padding: 20px 24px 20px 0; color: var(--ink-2); line-height: 1.5; }
.model-table tbody tr, .fab-table tbody tr { border-bottom: 1px solid var(--rule); }
.model-table td.num { font-stretch: var(--cond); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; width: 10%; padding-top: 18px; }
.model-table td:last-child, .fab-table td:last-child { padding-right: 0; }
.model-note { max-width: 68ch; margin: 18px 0 0; color: var(--ink-2); }

.fab { padding: clamp(64px, 9vw, 120px) 0; }
.fab h2 { margin-bottom: clamp(28px, 4vw, 48px); max-width: 16ch; }
.fab-table tbody th { font-size: 1.35rem; width: 30%; }
.fab-table td:nth-of-type(1) { width: 40%; }
.fab-table td:nth-of-type(2) { color: var(--ink); font-weight: 600; }

.related { padding: clamp(48px, 7vw, 96px) 0; }
.related h2 { margin-bottom: clamp(20px, 3vw, 32px); }
/* Rows always full (DESIGN.md): where the grid drops to 2 columns, an odd last card spans the row. */
@media (max-width: 960px) {
  .related .range-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
}

@media (max-width: 640px) {
  .model-table thead, .fab-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .model-table, .model-table tbody, .model-table tr, .model-table th, .model-table td,
  .fab-table, .fab-table tbody, .fab-table tr, .fab-table th, .fab-table td { display: block; width: auto; }
  .model-table tbody th, .model-table td, .model-table td.num,
  .fab-table tbody th, .fab-table td, .fab-table td:nth-of-type(1) { width: auto; }
  .model-table tbody tr, .fab-table tbody tr { padding: 16px 0 18px; }
  .model-table tbody th, .fab-table tbody th { padding: 0 0 10px; }
  .model-table td, .fab-table td, .model-table td.num { padding: 4px 0; font-size: 16px; font-stretch: 100%; font-weight: 400; line-height: 1.5; color: var(--ink-2); }
  .fab-table td:nth-of-type(2) { color: var(--ink); font-weight: 600; }
  .model-table td::before, .fab-table td::before {
    content: attr(data-label); display: block; margin-bottom: 1px;
    font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2);
  }
}

/* ===== Step 8: accessibility, WCAG 2.2 AA (tools/qa/a11y.py, step8/A11Y-REPORT.md) ===== */
/* 2.4.7 / 1.4.11: the blue focus ring was invisible on the blue contact band (1:1) and weak on the dark maker band
   (2.87:1); white there, as on the home photo. The footer (3.0:1) and the light page keep the blue ring. */
.contact :focus-visible, .maker :focus-visible { outline-color: #fff; }
/* 2.5.8: desktop shelf product links were 16 px tall, 22.5 px apart. Inline padding makes each one 24 px tall without
   moving the text; 2 px more between rows keeps the padded areas from touching. */
@media (min-width: 641px) {
  .shelf-links { row-gap: 5px; }
  .shelf-links a { padding-block: 4px; }
}
.shelf-h a { padding-block: 3px; }   /* phone group names were 23.3 px tall; 3 px makes 25 px, text does not move */
@media (max-width: 640px) {
  /* 2.4.11: a field reached with Tab is scrolled clear of the call bar, never under it */
  html { scroll-padding-bottom: 76px; }
  /* the call bar is out of the Tab order while it is slid away (it took focus below the screen, invisibly) */
  .callbar { visibility: hidden; transition: transform .35s cubic-bezier(.16, 1, .3, 1), visibility 0s .35s; }
  .callbar.show { visibility: visible; transition: transform .35s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
  body.pin-active .callbar { visibility: hidden; transition: transform .35s cubic-bezier(.16, 1, .3, 1), visibility 0s .35s; }
}
@media (prefers-reduced-motion: reduce) {
  .cut-img.seen .spot::after { animation: none; }   /* the hotspot pulse rule was more specific than the reduced one */
  .callbar, .callbar.show, body.pin-active .callbar { transition: none; }   /* the call bar appears without sliding */
}

/* ===== Step 8: cookie notice (only on the page when GA_ID is set in tools/build.py; js/consent.js runs it) ===== */
/* Not a wall: a small card at the bottom, the page stays usable. Accept and reject look the same (equal choice). */
.kolacici {
  position: fixed; z-index: 45; left: 12px; bottom: 12px; width: min(540px, calc(100% - 24px));
  padding: 16px 18px; background: #fff; color: var(--ink); border: 1px solid var(--rule); border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); font-size: 15px; line-height: 1.45;
}
.kolacici[hidden], body.menu-open .kolacici { display: none; }   /* steps aside while the phone menu is open (QA D-216) */
.kolacici p { margin: 0 0 12px; }
.kolacici a { color: var(--blue-ink); font-weight: 700; text-decoration: underline; }
.kolacici-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kolacici button {
  min-height: 48px; font: inherit; font-weight: 700; font-size: 16px; color: #fff; background: var(--ink);
  border: 0; border-radius: 6px; cursor: pointer; transition: background .15s, transform .1s;
}
.kolacici button:hover { background: #333; }
.kolacici button:active { background: #000; transform: scale(.97); }   /* UIUX standard 4: every press answers */
.kolacici :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
html:has(.kolacici:not([hidden])) { scroll-padding-bottom: 200px; }   /* 2.4.11: Tab never hides a link under the card */
.foot-kolacici { font: inherit; color: #e9eaeb; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.foot-kolacici:hover { color: #fff; }
/* English footer: "Cookie settings" and the catalogue link share a line on phones; 24 px tap height for both (WCAG 2.5.8, E2 a11y run) */
html[lang="en"] .foot-kolacici, html[lang="en"] .foot-cat { display: inline-block; padding-block: 3px; }
@media (max-width: 640px) {
  .kolacici { bottom: 72px; }   /* above the 60 px call bar */
  html:has(.kolacici:not([hidden])) { scroll-padding-bottom: 260px; }
}
@media (prefers-reduced-motion: reduce) { .kolacici button:active { transform: none; } }
