/* DVOLT – komponenty pro fotovoltaiku */
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-standard-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --paper: #F1F2EE;
  --surface: #FFFFFF;
  --ink: #16212B;
  --ink-2: #3B4752;
  --muted: #65707A;
  --line: #D4D8D0;
  --line-2: #E4E7E1;
  --blue: #1F4FA0;
  --blue-ink: #163B7A;
  --blue-wash: #E7EDF7;
  --pe-yellow: #E9C31B;
  --pe-green: #2E8B47;
  --ok: #2A7A42;
  --warn: #9C5612;
  --bad: #B3261E;
  --radius: 6px;
  --wrap: 1240px;
  --cond: 74%;
  --pe: repeating-linear-gradient(135deg, var(--pe-yellow) 0 7px, var(--pe-green) 7px 14px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 'Archivo', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-ink); }
h1, h2, h3 { font-stretch: var(--cond); line-height: 1.12; letter-spacing: -0.005em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.r { text-align: right; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
ul.plain { list-style: none; padding: 0; margin: 0; }

/* ---------- tlačítka a formuláře ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius);
  background: var(--blue); color: #fff; font: 600 15px/1 'Archivo', sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--blue-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-ghost:hover { background: var(--blue-wash); color: var(--blue-ink); }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 16px; }
.btn-block { width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input:not([type]), select, textarea {
  width: 100%; min-height: 40px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-wash); }
.qty { width: 72px !important; text-align: center; }
.check, .radio { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.check input, .radio input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }

/* ---------- hlavička ---------- */
.site-head { background: var(--surface); position: relative; }
.site-head::after { content: ''; display: block; height: 4px; background: var(--pe); }
.head-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 20px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 68%; font-size: 30px; letter-spacing: .02em; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.search { display: flex; max-width: 620px; }
.search input { border-radius: var(--radius) 0 0 var(--radius); border-right: 0; min-height: 44px; }
.search button { border: 0; background: var(--ink); color: #fff; padding: 0 18px; border-radius: 0 var(--radius) var(--radius) 0; font: 600 15px 'Archivo', sans-serif; cursor: pointer; }
.search button:hover { background: var(--blue); }
.price-mode { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-mode a { padding: 8px 12px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.price-mode a.on { background: var(--ink); color: #fff; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.cart-link svg { width: 24px; height: 24px; }
.cart-count:not(:empty) { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--blue); color: #fff; font-size: 13px; display: inline-grid; place-items: center; }
.cat-nav { border-top: 1px solid var(--line-2); }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.cat-nav a { display: block; padding: 11px 12px; color: var(--ink-2); text-decoration: none; white-space: nowrap; font-size: 15px; border-bottom: 3px solid transparent; }
.cat-nav a:hover { color: var(--ink); }
.cat-nav a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

/* ---------- úvod: schéma ---------- */
.hero { padding-top: 48px; padding-bottom: 40px; }
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 56px); font-stretch: 70%; font-weight: 750; letter-spacing: -0.01em; }
.hero-copy p { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.schema { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.schema::before { content: ''; position: absolute; left: 8%; right: 8%; top: 44px; height: 2px; background: var(--ink); }
.schema li { position: relative; }
.schema a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px 12px; color: var(--ink); text-decoration: none; }
.sym { width: 88px; height: 88px; display: grid; place-items: center; background: var(--paper); position: relative; z-index: 1; }
.sym svg { width: 64px; height: 64px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .15s; }
.sym svg .ray { stroke: var(--pe-yellow); stroke-width: 2.5; }
.schema a:hover .sym svg, .schema a:focus-visible .sym svg { stroke: var(--blue); }
.node-name { margin-top: 10px; font-weight: 700; font-stretch: var(--cond); font-size: 19px; line-height: 1.15; }
.schema a:hover .node-name { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.node-role { color: var(--muted); font-size: 14px; }
.node-count { margin-top: 6px; font-size: 14px; color: var(--ok); font-weight: 600; }
.more-cats { padding-top: 8px; padding-bottom: 32px; }
.more-cats h2 { font-size: 15px; font-stretch: 100%; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.more-cats ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more-cats a { display: inline-flex; gap: 10px; align-items: baseline; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.more-cats a:hover { border-color: var(--ink); }
.more-cats .n { color: var(--muted); font-size: 14px; }
.sec-h { margin-top: 24px; }
.brands { padding-bottom: 48px; }
.brands ul { list-style: none; margin: 0; padding: 0; columns: 6 150px; column-gap: 24px; }
.brands li { break-inside: avoid; }
.brands a { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; font-stretch: 85%; }
.brands a:hover { color: var(--blue); }
.brands a span { color: var(--muted); font-weight: 400; }

/* ---------- výpis produktů (řádky) ---------- */
.rows { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 190px 250px; gap: 20px; align-items: center; padding: 16px; border-top: 1px solid var(--line-2); }
.row:first-child { border-top: 0; }
.row-img { display: block; width: 96px; height: 96px; }
.row-img img { width: 96px; height: 96px; object-fit: contain; }
.noimg { display: block; width: 100%; height: 100%; background: var(--line-2); border-radius: 4px; }
.noimg.big { aspect-ratio: 1; }
.row h3 { font-stretch: 90%; font-size: 17px; font-weight: 600; margin-bottom: 6px; line-height: 1.25; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--blue); text-decoration: underline; }
.row-specs { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: 14px; }
.row-specs div { display: flex; gap: 6px; }
.row-specs dt { color: var(--muted); }
.row-specs dd { margin: 0; color: var(--ink-2); font-weight: 500; }
.row-avail { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.code { color: var(--muted); font-size: 13px; }
.avail { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.avail .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.avail.in { color: var(--ok); } .avail.in .dot { background: var(--ok); }
.avail.out { color: var(--warn); } .avail.out .dot { background: transparent; box-shadow: inset 0 0 0 2px var(--warn); }
.avail b { font-weight: 500; color: var(--ink-2); }
.row-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.price-main { font-weight: 700; font-size: 21px; font-stretch: 88%; }
.price-sub, .price-unit { font-size: 13px; color: var(--muted); }
.price-lg { align-items: flex-start; }
.price-lg .price-main { font-size: 36px; font-stretch: 80%; }
.price-lg .price-sub { font-size: 15px; }
.buy { display: flex; gap: 8px; }

/* ---------- výpis: rozvržení, filtry ---------- */
.listing { padding-top: 20px; padding-bottom: 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.list-head { margin-bottom: 20px; }
.list-head p { margin: 0; }
.list-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.filter-toggle > summary { display: none; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 14px 0; }
.filters fieldset:first-child { border-top: 0; padding-top: 0; }
.filters legend { font-weight: 700; font-stretch: var(--cond); font-size: 16px; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.filters .check { padding: 4px 0; font-size: 15px; clear: both; }
.filters .n { margin-left: auto; color: var(--muted); font-size: 13px; }
.reset { display: inline-block; margin-top: 10px; font-size: 14px; }
.list-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 12px; font-size: 14px; }
.list-tools a { color: var(--ink-2); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.list-tools a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 18px; font-size: 15px; }
.pager a[rel=next] { justify-self: end; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; }

/* ---------- detail produktu ---------- */
.product { padding-top: 20px; padding-bottom: 64px; }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gallery .g-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; padding: 24px; }
.gallery .g-main img { max-height: 100%; width: auto; object-fit: contain; }
.g-thumbs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.g-thumbs button { width: 72px; height: 72px; padding: 4px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 4px; cursor: pointer; }
.g-thumbs button.on { border-color: var(--ink); }
.g-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-brand { margin: 0 0 6px; font-weight: 700; font-stretch: 85%; letter-spacing: .02em; }
.pd-brand a { color: var(--ink-2); text-decoration: none; }
.pd-info h1 { font-size: clamp(26px, 3vw, 36px); }
.pd-code { color: var(--muted); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap; }

/* typový štítek */
.plate { position: relative; background: #E9ECE7; border: 1.5px solid #B9BFB6; border-radius: 4px; padding: 18px 22px; margin: 18px 0 24px; }
.plate::before, .plate::after { content: ''; position: absolute; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #9AA197 70%); }
.plate::before { left: 7px; } .plate::after { right: 7px; }
.plate dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.plate dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #CDD2CA; font-size: 15px; }
.plate dt { color: var(--ink-2); }
.plate dd { margin: 0; font-weight: 700; text-align: right; font-stretch: 90%; }
.buybox { border-top: 1px solid var(--line); padding-top: 20px; }
.pd-avail { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin: 14px 0 18px; font-size: 15px; }
.buy-lg .qty { min-height: 48px; }
.pd-sections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; margin-top: 48px; }
.pd-sections section { min-width: 0; }
.pd-sections .desc { grid-column: 1 / -1; max-width: 76ch; }
.specs { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }
.specs th, .specs td { padding: 9px 14px; border-top: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.specs th { font-weight: 400; color: var(--ink-2); width: 50%; }
.specs td { font-weight: 600; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.docs a:hover { text-decoration: underline; }
.pdf { flex: none; font-size: 11px; font-weight: 700; color: #fff; background: var(--bad); padding: 3px 5px; border-radius: 3px; }
.desc p, .desc li { color: var(--ink-2); }
.lang-note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--pe-yellow); padding-left: 10px; }

/* ---------- košík a objednávka ---------- */
.checkout { padding-top: 24px; padding-bottom: 64px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cart { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.cart th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cart td { padding: 12px; border-top: 1px solid var(--line-2); vertical-align: middle; }
.cart td.r span { display: block; }
.cart th.r { text-align: right; }
.nw { white-space: nowrap; }
.c-prod { display: flex; gap: 12px; align-items: center; }
.c-prod img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.c-prod a { display: block; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.x { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.x:hover { color: var(--bad); }
.update-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 24px; }
fieldset.ship { border: 0; padding: 0; margin: 0; }
fieldset.ship legend, .co-form h2 { font-size: 20px; font-weight: 700; font-stretch: var(--cond); margin-bottom: 10px; padding: 0; }
.radio { justify-content: flex-start; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.radio b { margin-left: auto; }
.radio:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.radio.disabled { opacity: .55; cursor: not-allowed; }
.radio em { color: var(--muted); font-style: normal; font-size: 14px; }
.co-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.field label { font-size: 14px; color: var(--ink-2); }
.field textarea { min-height: 80px; }
.has-err input { border-color: var(--bad); }
.err { color: var(--bad); font-size: 13px; }
.company { margin: 14px 0; }
.company summary { cursor: pointer; color: var(--blue); font-weight: 600; margin-bottom: 10px; }
.summary { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.summary p { display: flex; justify-content: space-between; margin: 0 0 6px; }
.summary .total { font-size: 20px; font-weight: 700; font-stretch: 88%; padding-top: 6px; }
.terms { align-items: flex-start; font-size: 14px; margin: 14px 0 6px; }
.terms input { margin-top: 2px; }
.terms.has-err { color: var(--bad); }
.co-form .btn-block { margin-top: 12px; }
.alert { background: #FBEAE8; color: var(--bad); border-radius: var(--radius); padding: 12px 14px; font-weight: 600; }
.empty-cart { padding-top: 56px; padding-bottom: 80px; }
.search.inline { max-width: 460px; }
.order-done { padding-top: 40px; padding-bottom: 64px; }
.pay { display: flex; gap: 32px; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 24px 0; }
.kv { margin: 0 0 12px; }
.kv div { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.kv dt { color: var(--muted); min-width: 150px; }
.kv dd { margin: 0; font-weight: 600; }
.qr { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.cart.compact td { padding: 8px 12px; }
.order-done .cart { margin-bottom: 24px; }
.cart .total td { font-weight: 700; font-size: 17px; }
.info { padding-top: 32px; padding-bottom: 64px; }
.info h2 { margin-top: 1.6em; font-size: 20px; }
.info p, .info li { color: var(--ink-2); max-width: 72ch; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); z-index: 20; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #fff; font-weight: 700; margin-left: 10px; }

/* ---------- patička ---------- */
.site-foot { background: var(--ink); color: #C9D0D6; padding: 40px 0 48px; font-size: 15px; }
.site-foot a { color: #fff; }
.site-foot h2 { color: #fff; font-size: 16px; font-stretch: 100%; font-weight: 600; margin-bottom: 8px; }
.site-foot .muted { color: #97A2AC; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 28px; }
.foot-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-stretch: 68%; font-size: 26px; margin-bottom: 10px; }
.foot-logo .logo-mark { --ink: var(--ink); }

/* ---------- administrace ---------- */
.admin-head { background: var(--ink); color: #fff; }
.admin-head::after { content: ''; display: block; height: 3px; background: var(--pe); }
.admin-head .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.admin-head .logo { color: #fff; font-size: 18px; font-stretch: 100%; font-weight: 400; }
.admin-head .logo span { font-weight: 800; font-stretch: 68%; font-size: 24px; }
.admin-head nav { display: flex; gap: 16px; flex-wrap: wrap; }
.admin-head nav a { color: #DDE3E8; text-decoration: none; }
.admin-head nav a:hover { color: #fff; text-decoration: underline; }
.admin main { padding-top: 24px; padding-bottom: 64px; }
.admin main h2 { margin-top: 28px; }
.admin .tile h2 { margin-top: 0; }
.flash { background: var(--blue-wash); border-left: 4px solid var(--blue); padding: 10px 14px; border-radius: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; margin-bottom: 28px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.btn-row input, .btn-row select { width: auto; flex: 1 1 160px; }
.adm { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.adm th, .adm td { padding: 8px 10px; border-top: 1px solid var(--line-2); text-align: left; }
.adm th.r, .adm td.r { text-align: right; }
.nw { white-space: nowrap; }
.adm .total td { font-weight: 700; }
.good { color: var(--ok); } .warn { color: var(--warn); } .bad { color: var(--bad); }
.st { font-size: 13px; padding: 2px 8px; border-radius: 10px; background: var(--line-2); }
.st-nova { background: #FFF3C4; } .st-zaplacena, .st-vyrizena { background: #DDF0E2; } .st-zrusena { background: #F6DEDB; }
.adm-form fieldset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 18px; }
.adm-form legend { font-weight: 700; font-size: 18px; font-stretch: var(--cond); padding: 0 6px; }
.adm-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }
.adm-form label.check { flex-direction: row; align-items: center; align-self: end; padding-bottom: 10px; }
.adm-form .f-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 10px; }
textarea.copy { width: 100%; max-width: 420px; font-family: ui-monospace, monospace; }

/* ---------- responzivita ---------- */
@media (max-width: 1080px) {
  .row { grid-template-columns: 80px minmax(0, 1fr) 210px; }
  .row-img, .row-img img { width: 80px; height: 80px; }
  .row-avail { grid-column: 2; grid-row: 2; flex-direction: row; gap: 14px; }
  .row-buy { grid-column: 3; grid-row: 1 / span 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .head-row { grid-template-columns: auto auto 1fr; gap: 12px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .price-mode { justify-self: end; grid-column: 2; grid-row: 1; }
  .cart-link { justify-self: end; grid-column: 3; }
  .schema { grid-template-columns: 1fr; margin-top: 28px; }
  .schema::before { left: 43px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .schema a { flex-direction: row; text-align: left; align-items: center; gap: 0 14px; padding: 6px 0; display: grid; grid-template-columns: 88px 1fr; grid-template-rows: auto auto auto; }
  .schema .sym { grid-row: 1 / span 3; width: 88px; height: 72px; }
  .schema .sym svg { width: 52px; height: 52px; }
  .node-name { margin-top: 0; }
  .node-count { margin-top: 0; }
  .list-grid { grid-template-columns: 1fr; gap: 12px; }
  .filter-toggle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; }
  .filter-toggle > summary { display: block; padding: 12px 0; font-weight: 600; cursor: pointer; }
  .filter-toggle:not([open]) .filters { display: none; }
  .pd-grid, .pd-sections, .co-grid { grid-template-columns: 1fr; gap: 24px; }
  .plate dl { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .logo { font-size: 26px; }
  .cart-link span:not(.cart-count) { display: none; }
  .price-mode a { padding: 7px 9px; font-size: 13px; }
  .row { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px 12px; }
  .row-img, .row-img img { width: 72px; height: 72px; }
  .row-avail { grid-column: 2; grid-row: 2; flex-direction: column; gap: 2px; }
  .row-buy { grid-column: 1 / -1; grid-row: 3; flex-direction: row; justify-content: space-between; align-items: center; }
  .row-buy .price { align-items: flex-start; }
  .row-specs { gap: 2px 12px; font-size: 13px; }
  .f-grid { grid-template-columns: 1fr; }
  .cart thead { display: none; }
  .cart tr { display: grid; grid-template-columns: 1fr auto; padding: 10px 0; border-top: 1px solid var(--line-2); }
  .cart td { border: 0; padding: 4px 12px; }
  .cart td.c-prod { grid-column: 1 / -1; }
  .pay { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; }
  .kv dt { min-width: 120px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
