/* iSupply parts – designový jazyk isupply.cz (Apple: bílá, černá, #f5f5f7, růžový akcent)
   se strukturou velkoobchodu s díly: velké hledání, strom modelů, husté karty se skladem a cenou bez DPH. */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #f5f5f7;
  --line: #d2d2d7;
  --hair: #e6e6eb;
  --black: #000;
  --pink: #F05CB6;
  --pink-text: #b8287f;      /* růžová pro text na bílé (kontrast AA) */
  --pink-soft: #FB91D1;
  --tint: #FDF3F9;
  --ok: #1d8348;
  --low: #b25e00;
  --warn: #9a3d00;
  --r-l: 20px;
  --r-m: 14px;
  --r-s: 10px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1320px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.47; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-text); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.015em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(26px, 3vw, 34px); }
h2 { font-size: 21px; }
h3 { font-size: 16px; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 600; }
small, .small { font-size: 13px; }
.muted { color: var(--ink-2); }
.mono { font-family: var(--mono); font-size: .9em; }
.num { text-align: right; white-space: nowrap; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--pink-soft); color: var(--ink); }
[hidden] { display: none !important; }
code { font-family: var(--mono); font-size: .88em; background: var(--paper); padding: 1px 6px; border-radius: 6px; }
pre.code { font-family: var(--mono); font-size: 12.5px; background: var(--paper); padding: 12px 14px; border-radius: var(--r-s); overflow: auto; max-height: 420px; white-space: pre-wrap; word-break: break-word; }
.select-all { user-select: all; }

/* tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #e14aa6; color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-s { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-l { height: 50px; padding: 0 28px; font-size: 16px; width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.lnk { background: none; border: 0; font: inherit; color: var(--ink-2); cursor: pointer; padding: 0; }
.lnk:hover { color: var(--pink-text); }

/* ------------------------------------------------------------ horní lišta + hlavička */
.topbar { background: var(--black); color: #f5f5f7; font-size: 12.5px; }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 34px; }
.ticker { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.usp { display: flex; list-style: none; margin: 0; padding: 0; white-space: nowrap; flex: none; }
.usp li { padding-right: 34px; }
.usp li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--pink); margin-right: 10px; vertical-align: 2px; }
.topbar-tel { flex: none; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; white-space: nowrap; }
.topbar-tel:hover { color: var(--pink-soft); }
.topbar-tel .ui { width: 14px; height: 14px; }

/* odpočet do odeslání */
.cdown { background: var(--tint); border-bottom: 1px solid #f7d9eb; }
.cdown-in { display: flex; align-items: center; justify-content: center; gap: 12px 22px; min-height: 46px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.cdown-t { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink); line-height: 1.25; }
.cdown-t .ui { width: 20px; height: 20px; color: var(--pink-text); }
.cdown-c { display: inline-flex; align-items: center; gap: 10px; }
.cdown-l { font-size: 12.5px; color: var(--ink-2); }
.cdown-v { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.cdown-v b { min-width: 32px; height: 30px; padding: 0 5px; display: inline-grid; place-items: center; background: var(--ink); color: #fff; border-radius: 8px; font-size: 16px; font-weight: 600; letter-spacing: .02em; transition: background .3s var(--ease); }
.cdown-v i { font-style: normal; font-weight: 700; color: var(--ink); width: 6px; text-align: center; }
.cdown-soon .cdown-v b { background: var(--pink-text); }
.ui { width: 20px; height: 20px; flex: none; }

.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.hdr-row { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 8px; }
.brand-t { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.brand-s { font-size: 20px; font-weight: 400; color: var(--pink-text); letter-spacing: -.02em; margin-left: -3px; }
.burger { display: none; background: none; border: 0; padding: 6px; margin-left: -6px; cursor: pointer; color: var(--ink); }

.sbox { position: relative; flex: 1; max-width: 680px; display: flex; align-items: center; height: 46px; background: var(--paper); border: 1px solid transparent; border-radius: 999px; padding: 0 14px 0 16px; transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.sbox:focus-within { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(240, 92, 182, .16); }
.sbox > .ui { color: var(--ink-2); }
.sbox input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 0 10px; height: 100%; color: var(--ink); outline: none; }
.sbox input::placeholder { color: var(--ink-3); }
.sbox input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sbox-kbd { font: 12px var(--font); color: var(--ink-3); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.sbox:focus-within .sbox-kbd { display: none; }
.home:not(.hero-out) .sbox-quiet { visibility: hidden; }
.hdr-help { display: flex; flex-direction: column; line-height: 1.15; flex: none; text-align: right; }
.hdr-help small { color: var(--ink-2); font-size: 12px; }
.hdr-help b { font-size: 15px; }
.hdr-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; flex: none; }
.hdr-cart:hover { color: #fff; background: #000; }
.hdr-cart .cnt { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; }
.hdr-cart.bump .cnt { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

.cats { border-top: 1px solid var(--hair); }
.cats-in { display: flex; align-items: center; gap: 4px; height: 46px; font-size: 14px; }
.cat-item { position: relative; height: 100%; display: flex; align-items: center; }
.cat-main, .cat-type, .cat-info { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; white-space: nowrap; }
.cat-main { font-weight: 600; }
.cat-main.on, .cat-type.on { background: var(--paper); }
.cat-info { color: var(--ink-2); }
.cats-sep { width: 1px; height: 18px; background: var(--line); margin: 0 8px; }
.cats-fill { flex: 1; }
.mega { position: fixed; left: 0; right: 0; top: auto; margin-top: 45px; background: #fff; border-bottom: 1px solid var(--hair); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
.cat-item { position: static; }
.cat-item:hover .mega, .cat-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.mega-in { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px 28px; padding-top: 22px; padding-bottom: 26px; max-height: 70vh; overflow: auto; }
.mega-h { font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.mega-col a { display: block; padding: 3px 0; font-size: 14px; }

/* ------------------------------------------------------------ našeptávač */
.sugg { position: absolute; left: -1px; right: -1px; top: calc(100% + 8px); background: #fff; border-radius: var(--r-l); box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -20px rgba(0, 0, 0, .28); overflow: hidden; z-index: 60; min-width: min(760px, 92vw); }
.sugg-in { display: grid; grid-template-columns: 250px 1fr; }
.sugg-in.one { grid-template-columns: 1fr; }
.sugg-l { background: var(--paper); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.sugg-r { padding: 8px 8px 4px; }
.sugg-h { font-size: 12px; color: var(--ink-2); padding: 8px 10px 4px; }
.sugg-understood { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 8px; }
.sugg-understood b { font-size: 12px; font-weight: 500; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.s-m { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--r-s); font-size: 14px; }
.s-m .dev { width: 18px; height: 24px; color: var(--ink-2); flex: none; }
.s-m em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-3); }
.s-t { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: var(--r-s); font-size: 13.5px; }
.s-t .pi { width: 18px; height: 18px; color: var(--ink-2); }
.s-t em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-3); }
.s-p { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; padding: 7px 8px; border-radius: var(--r-s); }
.s-p .s-img { width: 46px; height: 46px; border-radius: 9px; background: var(--paper); object-fit: contain; display: grid; place-items: center; overflow: hidden; }
.s-p .s-img .pi { width: 24px; height: 24px; color: var(--ink-2); }
.s-p .s-n { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-p .s-n mark { background: none; color: inherit; font-weight: 600; }
.s-p .s-s { font-size: 12px; margin-top: 2px; }
.s-p .s-pr { text-align: right; font-weight: 600; white-space: nowrap; font-size: 14px; }
.s-p .s-pr small { display: block; font-weight: 400; color: var(--ink-3); font-size: 11.5px; }
.s-m.on, .s-t.on, .s-p.on, .s-m:hover, .s-t:hover, .s-p:hover { background: var(--tint); color: var(--ink); }
.sugg-l .s-m.on, .sugg-l .s-m:hover, .sugg-l .s-t.on, .sugg-l .s-t:hover { background: #fff; }
.sugg-all { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--hair); padding: 11px 18px; font-size: 14px; font-weight: 500; }
.sugg-all.on { background: var(--tint); }
.sugg-empty { padding: 22px 20px; color: var(--ink-2); font-size: 14px; }
.sugg-empty b { color: var(--ink); }

/* ------------------------------------------------------------ úvod */
.hero { background: var(--black); color: #fff; }
.hero-in { padding-top: 72px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 64px); letter-spacing: -.03em; max-width: 19ch; margin-bottom: 14px; }
.hero-sub { color: #a1a1a6; font-size: clamp(16px, 1.6vw, 19px); max-width: 56ch; margin-bottom: 34px; }
.hsearch { position: relative; display: flex; align-items: center; gap: 10px; max-width: 860px; height: 66px; background: #fff; border-radius: 999px; padding: 0 8px 0 24px; color: var(--ink); transition: box-shadow .25s var(--ease); }
.hsearch:focus-within { box-shadow: 0 0 0 5px rgba(240, 92, 182, .45); }
.hsearch > .ui { width: 24px; height: 24px; color: var(--ink-2); }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font: inherit; font-size: 19px; color: var(--ink); }
.hsearch input::placeholder { color: var(--ink-3); }
.hsearch input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hsearch .btn { height: 50px; padding: 0 26px; font-size: 16px; }
.sugg-hero { top: calc(100% + 10px); left: 0; right: 0; min-width: 0; color: var(--ink); }
.hero-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: #a1a1a6; }
.hero-try a { color: #fff; border: 1px solid #424245; border-radius: 999px; padding: 5px 13px; transition: border-color .2s var(--ease); }
.hero-try a:hover { border-color: var(--pink); color: #fff; }
.hero-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 38px; font-size: 13px; color: #86868b; }
.hero-live .ui { width: 16px; height: 16px; color: var(--pink); }

.devs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.dev-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; background: var(--paper); border-radius: var(--r-l); padding: 22px 22px 20px; transition: background .2s var(--ease); }
.dev-card:hover { color: var(--ink); background: #eeeef1; }
.dev-art { height: 104px; display: flex; align-items: center; color: var(--ink); }
.dev-big { height: 96px; width: auto; }
.dev-mac { height: 92px; }
.dev-watch { height: 90px; }
.dev-txt b { display: block; font-size: 22px; letter-spacing: -.02em; margin-bottom: 4px; }
.dev-txt span { color: var(--ink-2); font-size: 14px; }
.dev-go { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: background .2s var(--ease), color .2s var(--ease); }
.dev-go .ui { width: 16px; height: 16px; }
.dev-card:hover .dev-go { background: var(--ink); color: #fff; }

.block { margin-top: 56px; }
.block-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.block-h h2 { margin: 0; font-size: 26px; }
.block-h a { color: var(--pink-text); font-size: 15px; }

.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mt { display: grid; grid-template-rows: 58px auto auto; justify-items: start; gap: 2px; padding: 14px 16px 14px; border: 1px solid var(--hair); border-radius: var(--r-m); background: #fff; transition: border-color .15s var(--ease); }
.mt:hover { border-color: var(--ink); color: var(--ink); }
.mt-dev { color: var(--ink); align-self: center; }
.mt-dev .dev { height: 50px; width: auto; }
.mt-name { font-weight: 600; font-size: 15px; letter-spacing: -.01em; line-height: 1.25; margin-top: 6px; }
.mt-a { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.mt-c { font-size: 12.5px; color: var(--ink-2); }

.tgrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.tt { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px 16px; border-radius: var(--r-m); background: var(--paper); text-align: center; font-size: 14px; font-weight: 500; transition: background .15s var(--ease); }
.tt:hover { background: var(--tint); color: var(--ink); }
.tt-i { width: 34px; height: 34px; color: var(--ink); }

.facts { background: var(--paper); margin-top: 64px; }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-top: 40px; padding-bottom: 40px; }
.fact { display: flex; gap: 14px; }
.fact .ui { width: 26px; height: 26px; color: var(--pink-text); margin-top: 2px; }
.fact b { display: block; font-size: 16px; margin-bottom: 4px; }
.fact p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ------------------------------------------------------------ výpisy */
.crumbs-w { padding-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-2); }
.crumbs b { color: var(--ink); font-weight: 500; }
.two { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 36px; padding-top: 18px; padding-bottom: 72px; }
.side { font-size: 14px; position: sticky; top: 132px; align-self: start; max-height: calc(100vh - 150px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.side-g { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--hair); }
.side-g:last-child { border-bottom: 0; }
.side-h { font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 2px 10px 8px; }
.side-devs { display: grid; gap: 2px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--hair); }
.side-dev { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 14px; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-m); font-weight: 600; font-size: 15px; letter-spacing: -.01em; transition: background .2s var(--ease); }
.side-dev:hover { background: var(--paper); color: var(--ink); }
.side-dev.on { background: var(--ink); color: #fff; }
.side-dev-i { height: 28px; width: auto; max-width: 30px; justify-self: center; }
.side-dev em { font-style: normal; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.side-dev.on em { color: #a1a1a6; }
.side-dev .ui { width: 14px; height: 14px; color: var(--ink-3); }
.side-dev.on .ui { color: var(--pink-soft); }
.side-sub .side-h { color: var(--ink); font-weight: 600; font-size: 13px; }
.side-list { margin-top: 6px; }
.side-s { font-size: 12px; color: var(--ink-3); padding: 10px 10px 3px; }
.side-m { display: flex; align-items: center; gap: 9px; padding: 5px 10px; border-radius: 8px; color: var(--ink-2); }
.side-m span { flex: 1; min-width: 0; }
.side-m em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.side-m:hover { color: var(--ink); background: var(--paper); }
.side-m.on { color: var(--ink); font-weight: 600; background: var(--tint); box-shadow: inset 3px 0 0 var(--pink); }
.side-ic { width: 16px; height: 16px; flex: none; }
.side-models { margin: 12px 0 0; border-top: 1px solid var(--hair); }
.side-models summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 6px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink); }
.side-models summary::-webkit-details-marker { display: none; }
.side-models summary .ui { width: 14px; height: 14px; transform: rotate(90deg); color: var(--ink-3); transition: transform .2s var(--ease); }
.side-models[open] summary .ui { transform: rotate(-90deg); }
.side-models .side-s { padding-left: 10px; }
.side-mm { display: block; padding: 4px 10px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px; }
.side-mm:hover { color: var(--ink); background: var(--paper); }
.side-mm.on { color: var(--ink); font-weight: 600; background: var(--tint); }
.mdevs { display: none; }
.main { min-width: 0; }
.ph { margin-bottom: 18px; }
.ph p { color: var(--ink-2); margin: 0; max-width: 70ch; }
.ph-model { display: flex; gap: 18px; align-items: center; }
.ph-dev { flex: none; width: 64px; height: 76px; display: grid; place-items: center; background: var(--paper); border-radius: var(--r-m); }
.ph-dev .dev { height: 52px; width: auto; }
.ph-model h1 { margin-bottom: 4px; }
.ser { margin-bottom: 34px; }
.ser-h { font-size: 17px; margin-bottom: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: #fff; white-space: nowrap; }
.chip span { color: var(--ink-3); font-size: 12.5px; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on span { color: #a1a1a6; }
.chip-ic { width: 16px; height: 16px; }
.chip-dev { width: auto; height: 17px; max-width: 18px; }
.chip-s { height: 30px; font-size: 13px; padding: 0 11px; }
.chips.collapsed .chip-x { display: none; }
.chip-more { background: var(--paper); border-color: var(--paper); font: inherit; font-size: 14px; cursor: pointer; }
.chips-l { font-size: 13px; color: var(--ink-2); align-self: center; margin-right: 2px; }

.tbar { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; border-bottom: 1px solid var(--hair); margin: 6px 0 16px; padding-bottom: 6px; }
.tbar-t { font-size: 24px; letter-spacing: -.02em; margin: 0; padding: 6px 0 2px; }
.lhead { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; margin-bottom: 16px; border-bottom: 1px solid var(--hair); }
.lhead-i { flex: none; width: 78px; height: 90px; display: grid; place-items: center; background: var(--paper); border-radius: var(--r-l); }
.lhead-i .dev { height: 58px; width: auto; max-width: 62px; }
.lhead-t { flex: 1; min-width: 0; }
.lhead-e { display: block; font-size: 13px; font-weight: 600; color: var(--pink-text); margin-bottom: 4px; }
.lhead h1 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.035em; line-height: 1.04; margin: 0 0 8px; }
.lhead p { margin: 0; color: var(--ink-2); font-size: 14px; }
.lhead .tbar-r { align-self: flex-end; flex: none; }
.ph-dev-h { display: flex; gap: 18px; align-items: center; }
.ph-dev-h h1 { margin-bottom: 4px; }
.tbar-r { display: flex; align-items: center; gap: 18px; font-size: 14px; padding: 6px 0; }
.tbar-n { color: var(--ink-2); }
.tbar-n b { color: var(--ink); }
.tgl { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.tgl span { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--line); transition: background .2s var(--ease); }
.tgl span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.tgl.on span { background: var(--ok); }
.tgl.on span::after { transform: translateX(14px); }

/* karta dílu */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 14px; }
.pc { display: flex; flex-direction: column; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 10px 12px 10px; background: #fff; min-width: 0; transition: border-color .15s var(--ease); }
.pc:hover { border-color: #bdbdc2; }
.pc-img { display: block; aspect-ratio: 1 / 1; border-radius: var(--r-s); background: var(--paper); overflow: hidden; margin-bottom: 10px; }
.pimg { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.phd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; color: var(--ink); }
.ph-i { width: 44%; height: 44%; stroke-width: 1.1; }
.ph-m { font-size: 12px; color: var(--ink-2); font-weight: 500; text-align: center; padding: 0 8px; }
.pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 22px; margin-bottom: 6px; }
.pc-note { font-size: 12px; color: var(--ink-2); }
.q { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
.q-original { background: var(--ink); color: #fff; }
.q-refurb { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.q-premium { background: var(--tint); color: var(--pink-text); box-shadow: inset 0 0 0 1px rgba(240, 92, 182, .35); }
.q-standard { background: var(--paper); color: var(--ink-2); }
.pc-name { font-size: 14px; font-weight: 500; line-height: 1.32; letter-spacing: 0; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.96em; }
.pc-stock { margin-bottom: 10px; }
.stk { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; }
.stk i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.stk em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.stk > span { min-width: 0; }
.stk-in { color: var(--ok); }
.stk-in i { background: var(--ok); }
.stk-low { color: var(--low); }
.stk-low i { background: var(--low); }
.stk-local { color: var(--ok); }
.stk-local i { background: var(--ok); box-shadow: 0 0 0 3px rgba(29, 131, 72, .18); }
.stk-out { color: var(--ink-3); }
.stk-out i { background: var(--line); }
.pc-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; }
.pc-foot .buy { margin-left: auto; }
.pr b { display: block; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; }
.pr small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 2px; white-space: nowrap; }
.pr-big b { font-size: 34px; letter-spacing: -.025em; }
.pr-big small { font-size: 14px; }
.pc-sku { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.pc-out .pc-img { opacity: .6; }
.buy { display: flex; gap: 10px; align-items: center; }
.buy.done .btn-pink { background: var(--ok); }
.step { display: inline-flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.step button { width: 38px; height: 100%; border: 0; background: #fff; font: inherit; font-size: 18px; cursor: pointer; color: var(--ink); }
.step button:hover { background: var(--paper); }
.step input { width: 44px; height: 100%; border: 0; text-align: center; font: inherit; font-size: 15px; -moz-appearance: textfield; }
.step input::-webkit-outer-spin-button, .step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; font-size: 14px; }
.pager a { border: 1px solid var(--hair); }
.pager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 56px 20px; background: var(--paper); border-radius: var(--r-l); }
.empty h2 { font-size: 24px; }
.empty p { color: var(--ink-2); max-width: 52ch; margin: 0 auto 20px; }

/* hledání */
.ph-search h1 { margin-bottom: 10px; }
.understood { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.understood b { color: var(--ink); font-weight: 500; background: var(--paper); border-radius: 999px; padding: 3px 12px; }
.note { color: var(--ink-2); font-size: 14px; }
.model-hit { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 10px 16px 10px 12px; border-radius: var(--r-m); background: var(--tint); }
.model-hit .mh-i { width: 22px; height: 30px; }
.model-hit em { font-style: normal; color: var(--ink-2); font-size: 13px; }
.side-f { padding-top: 4px; }
.fgroup { margin-bottom: 22px; }
.fgroup-h { font-weight: 600; font-size: 14px; padding: 0 10px 6px; }
.fopt { display: flex; justify-content: space-between; gap: 10px; padding: 5px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.fopt em { font-style: normal; color: var(--ink-3); font-size: 12.5px; }
.fopt:hover { background: var(--paper); color: var(--ink); }
.fopt.on { background: var(--ink); color: #fff; }
.fopt.on em { color: #a1a1a6; }

/* detail dílu */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 18px; }
.pd-gal { position: sticky; top: 132px; align-self: start; min-width: 0; }
.pd-media { aspect-ratio: 1 / 1; background: var(--paper); border-radius: var(--r-l); overflow: hidden; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pd-thumbs::-webkit-scrollbar { display: none; }
.pd-th { flex: none; width: 72px; height: 72px; padding: 4px; border: 1px solid var(--hair); border-radius: 12px; background: var(--paper); cursor: pointer; }
.pd-th img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-th.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pd-about { font-size: 15px; }
.pd-about p { color: var(--ink-2); max-width: 66ch; }
.pd-about .pd-lead { color: var(--ink); font-size: 16px; }
.pd-about ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pd-about li { display: flex; gap: 10px; }
.pd-about li .ui { width: 18px; height: 18px; color: var(--ok); margin-top: 1px; flex: none; }
.pd-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-img .ph-i { width: 36%; height: 36%; }
.pd-img .ph-m { font-size: 15px; }
.pd-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.pd-info h1 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 22px; }
.pd-buy { padding: 22px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: grid; gap: 14px; }
.pd-buy .buy .btn { height: 46px; padding: 0 26px; }
.pd-stock .stk { font-size: 15px; }
.pd-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pd-ticks li { display: flex; gap: 10px; }
.pd-ticks .ui { width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }
.pd-ticks a { color: var(--pink-text); }
.pd-var { margin-top: 30px; }
.pd-var h2 { font-size: 17px; }
.vt { width: 100%; border-collapse: collapse; font-size: 14px; }
.vt td { padding: 9px 8px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.vt tr.on td { background: var(--tint); }
.vt tr.on td:first-child { border-radius: 8px 0 0 8px; }
.vt tr.on td:last-child { border-radius: 0 8px 8px 0; }
.pd-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 48px; padding-bottom: 72px; }
.pd-more .pd-rel { grid-column: 1 / -1; }
.pd-specs dl { display: grid; grid-template-columns: 170px 1fr; margin: 0; font-size: 14px; }
.pd-specs dt, .pd-specs dd { padding: 9px 0; border-bottom: 1px solid var(--hair); margin: 0; }
.pd-specs dt { color: var(--ink-2); }
.pd-specs dd a { color: var(--pink-text); }
.pd-desc { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.pd-desc summary { cursor: pointer; color: var(--ink); font-weight: 500; }

/* košík, pokladna, objednávka */
.pg-h { margin: 28px 0 22px; }
.cart { border-top: 1px solid var(--hair); }
.cl { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 120px 36px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.cl-img { width: 72px; height: 72px; border-radius: 12px; background: var(--paper); overflow: hidden; display: block; }
.cl-pimg { width: 100%; height: 100%; object-fit: contain; }
.cl-pimg .ph-i { width: 50%; height: 50%; }
.cl-pimg .ph-m { display: none; }
.cl-name a { font-weight: 500; }
.cl-sub { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; font-size: 12px; }
.cl-price { text-align: right; }
.cl-price b { display: block; }
.cl-price small { color: var(--ink-2); }
.cl-rm { width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; cursor: pointer; color: var(--ink-3); display: grid; place-items: center; }
.cl-rm:hover { background: var(--paper); color: var(--ink); }
.cl .step { height: 38px; }
.cart-sum { margin: 26px 0 80px auto; max-width: 400px; }
.cart-sum dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; margin: 0 0 20px; font-size: 15px; }
.cart-sum dt { color: var(--ink-2); }
.cart-sum dd { margin: 0; text-align: right; }
.cart-sum .tot { font-size: 20px; color: var(--ink); font-weight: 600; padding-top: 10px; border-top: 1px solid var(--hair); }
.free { font-size: 14px; margin-bottom: 20px; }
.free-bar { display: block; height: 6px; background: var(--paper); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.free-bar i { display: block; height: 100%; background: var(--pink); border-radius: 3px; }
.flash { padding: 12px 16px; border-radius: var(--r-s); background: var(--paper); margin: 0 0 12px; font-size: 14px; }
.flash-warn { background: #fff4e5; color: #7a3600; }
.flash-ok { background: #e8f6ee; color: #145a2b; }
.flash-err { background: #fdecec; color: #8a1c1c; }

.co { padding-bottom: 80px; }
.co-form { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.box { border: 1px solid var(--hair); border-radius: var(--r-l); padding: 22px 24px; margin: 0 0 18px; background: #fff; min-width: 0; }
.box legend, .box h2 { font-size: 18px; font-weight: 600; padding: 0; margin-bottom: 12px; }
fieldset.box { padding-top: 18px; }
fieldset.box legend { float: left; width: 100%; }
fieldset.box legend + * { clear: both; }
.opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 10px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input { accent-color: var(--pink); width: 18px; height: 18px; margin: 0; }
.opt-t small { display: block; color: var(--ink-2); font-size: 13px; }
.opt-p { font-weight: 600; font-size: 14px; white-space: nowrap; }
.opt.off, .opt[hidden] { display: none; }
/* pokladna: očíslované kroky, dopravci a platební metody */
.co-n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; vertical-align: 2px; }
.opt-ship, .opt-pay { grid-template-columns: 22px auto 1fr auto; }
.opt-pay { grid-template-columns: 22px 1fr auto; }
.car { display: inline-grid; place-items: center; min-width: 54px; height: 28px; padding: 0 8px; border-radius: 7px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pmarks { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.pmarks i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; white-space: nowrap; }
.pmarks .pm-apple { background: var(--ink); color: #fff; border-color: var(--ink); }
.co-safe { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--ink-2); margin: 10px 0 0; }
.co-safe .ui { width: 15px; height: 15px; color: var(--ok, #1a7f37); }
.ord-pay { display: grid; gap: 6px; justify-items: start; margin: 0 0 20px; }
.ord-pay small { color: var(--ink-2); font-size: 12.5px; }
.ord-inv { margin: 0 0 20px; }
.ord-inv .btn { display: inline-flex; align-items: center; gap: 8px; }
.ord-inv .ui { width: 18px; height: 18px; }
@media (max-width: 560px) { .opt-ship { grid-template-columns: 22px 1fr auto; } .opt-ship .car { display: none; } .pmarks { max-width: 110px; } }
.fld { display: block; margin-bottom: 14px; }
.fld > span:first-child { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 5px; }
.fld input, .fld select, .fld textarea, .filters input, .filters select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: var(--r-s); padding: 0 12px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.fld textarea { height: auto; padding: 10px 12px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .filters input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240, 92, 182, .18); }
.fld.bad input { border-color: #d83a2e; }
.ferr { display: block; color: #c0352a; font-size: 13px; margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0 14px; cursor: pointer; }
.chk input { accent-color: var(--pink); width: 17px; height: 17px; margin: 1px 0 0; flex: none; }
.chk a { color: var(--pink-text); text-decoration: underline; }
.chk.bad { color: #c0352a; }
.hint { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.co-side { position: sticky; top: 132px; }
.co-sum h2 { margin-bottom: 14px; }
.cs-l { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 6px 0; }
.cs-l span { min-width: 0; }
.cs-l b { white-space: nowrap; }
.cs-x { color: var(--ink-2); }
.cs-tot { display: flex; justify-content: space-between; font-size: 19px; font-weight: 600; padding: 14px 0 16px; margin-top: 8px; border-top: 1px solid var(--hair); }

.ord-h { display: flex; gap: 18px; align-items: center; margin: 32px 0 24px; }
.ord-h h1 { margin-bottom: 4px; }
.ord-h p { margin: 0; color: var(--ink-2); }
.ord-ok { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none; }
.ord-ok .ui { width: 30px; height: 30px; }
.pay { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.pay-qr { text-align: center; color: var(--ink-2); }
.qr { width: 180px; height: 180px; margin: 0 auto 8px; background: var(--paper); border-radius: 12px; display: grid; place-items: center; padding: 10px; }
.qr img, .qr canvas { width: 100% !important; height: auto !important; }
.pay-d { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.pay-d dt { color: var(--ink-2); }
.pay-d dd { margin: 0; }

/* textové stránky */
.prose { padding-bottom: 80px; }
.prose .crumbs { margin-top: 18px; }
.prose h2 { margin-top: 30px; }
.prose p, .prose li { max-width: 72ch; }
.prose a { color: var(--pink-text); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl td, .tbl th { padding: 9px 10px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.tbl th { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact .big { font-size: 26px; font-weight: 600; color: var(--ink); }

/* patička */
.ftr { background: var(--paper); color: var(--ink-2); font-size: 14px; margin-top: 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 46px; padding-bottom: 36px; }
.ftr h4 { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.ftr-grid a, .ftr-grid span { display: block; padding: 3px 0; }
.ftr-brand p { margin-top: 14px; max-width: 42ch; }
.ftr-grid .brand { display: inline-flex; }
.ftr-grid .brand span { display: inline; padding: 0; }
.ftr-legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 26px; font-size: 12px; }
.home .ftr { margin-top: 72px; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 999px; font-size: 14px; display: flex; gap: 14px; align-items: center; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); z-index: 90; max-width: calc(100vw - 32px); animation: toast .35s var(--ease); }
.toast a { color: #fff; background: var(--pink); border-radius: 999px; padding: 6px 14px; font-weight: 500; white-space: nowrap; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* doručení */
.co-when { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); background: var(--tint); border-radius: var(--r-s); padding: 10px 12px; margin: 12px 0 0; }
.co-when .ui { color: var(--pink-text); width: 18px; height: 18px; margin-top: 1px; }
.co-when b { color: var(--ink); }
.dlv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 22px; }
.dlv-i { background: var(--paper); border-radius: var(--r-m); padding: 18px 18px 16px; }
.dlv-i b { display: block; font-size: 28px; letter-spacing: -.025em; margin-bottom: 4px; }
.dlv-i span { color: var(--ink-2); font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------ admin */
.adm { background: #fafafa; }
.adm-h { display: flex; align-items: center; gap: 24px; padding: 0 24px; height: 58px; background: #fff; border-bottom: 1px solid var(--hair); position: sticky; top: 0; z-index: 10; }
.adm-h nav { display: flex; gap: 4px; overflow-x: auto; }
.adm-h nav a { padding: 7px 12px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
.adm-h nav a.on { background: var(--ink); color: #fff; }
.adm-h .brand-t, .adm-h .brand-s { font-size: 17px; }
.adm-u { margin-left: auto; display: flex; gap: 16px; align-items: center; font-size: 14px; }
.adm-u form { margin: 0; }
.adm-m { max-width: 1320px; margin: 0 auto; padding: 26px 24px 80px; }
.adm-m h1 { font-size: 26px; }
.adm-login { max-width: 380px; margin: 12vh auto; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 16px 18px; }
.kpi span { display: block; font-size: 13px; color: var(--ink-2); }
.kpi b { display: block; font-size: 26px; letter-spacing: -.02em; margin: 2px 0; }
.kpi small { color: var(--ink-2); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-form.one { grid-template-columns: 1fr; }
.grid-form .actions, .grid-form fieldset { grid-column: 1 / -1; }
.grid-form fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.pair { display: flex; gap: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.inline { display: inline-flex; gap: 12px; align-items: center; margin: 4px 0; }
.copy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.copy code { padding: 8px 12px; font-size: 13px; word-break: break-all; }
.st { display: inline-block; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--paper); }
.st-ok, .st-o-done, .st-o-shipped { background: #e8f6ee; color: #145a2b; }
.st-error, .st-o-cancelled { background: #fdecea; color: #a32a1f; }
.st-running, .st-o-new { background: var(--tint); color: var(--pink-text); }
.st-o-paid, .st-o-supplier_ordered, .st-o-ready { background: #eaf2fd; color: #1a4f9c; }
.tag { font-size: 11px; background: var(--paper); border-radius: 5px; padding: 1px 6px; color: var(--ink-2); }
.dim td { opacity: .55; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filters input { max-width: 420px; height: 38px; }
.filters select { width: auto; height: 38px; }
.rules input, .rules select { height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; font: inherit; font-size: 14px; width: 100%; }
.rules .w-s { width: 80px; }
.rules input[type=checkbox] { width: 16px; height: 16px; padding: 0; }
.rules .w-m { width: 120px; }
.rules tr.new td { background: var(--paper); }
.formula { font-size: 15px; background: var(--paper); padding: 12px 16px; border-radius: var(--r-s); }
.calc-out { background: var(--tint); border-radius: var(--r-s); padding: 12px 16px; font-size: 14px; line-height: 1.7; }
.calc-out b { font-size: 20px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; word-break: break-word; }
.kv a { color: var(--pink-text); }
.prod td { vertical-align: middle; }

/* admin: statistiky */
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.s-head h1 { margin-bottom: 2px; }
.s-head p { margin: 0; }
.s-live { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; background: #fff; border: 1px solid var(--hair); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.s-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29, 131, 72, .45); } 70% { box-shadow: 0 0 0 8px rgba(29, 131, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 131, 72, 0); } }
.sfilters { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-l); padding: 14px 16px; margin-bottom: 16px; display: grid; gap: 12px; }
.sf-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.sf-form label { display: grid; gap: 4px; font-size: 12px; color: var(--ink-2); }
.sf-form select, .sf-form input { height: 36px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.sf-form select[name=tyden] { max-width: 270px; }
.skpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.sk { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.sk-l { font-size: 13px; color: var(--ink-2); }
.sk-v { font-size: 26px; letter-spacing: -.02em; font-weight: 600; line-height: 1.2; }
.sk-s { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; font-size: 12px; color: var(--ink-2); }
.sk-s em { font-style: normal; }
.dl { font-size: 12px; font-weight: 600; white-space: nowrap; }
.dl-up { color: var(--ok); }
.dl-down { color: #b42318; }
.dl-0 { color: var(--ink-3); font-weight: 500; }
.scharts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.scharts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 14px 0 0; }
.scharts > .ch { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px 16px 10px; }
.sdash .scharts > .ch { border: 0; padding: 0; }
.ch { margin: 0; min-width: 0; }
.ch-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.ch-h b { color: var(--ink); font-size: 15px; }
.ch-body { position: relative; margin-left: 46px; }
.ch-grid { position: absolute; inset: 0; pointer-events: none; }
.ch-grid span { position: absolute; left: 0; right: 0; border-top: 1px solid #efeff2; }
.ch-grid span:first-child { border-top-color: var(--line); }
.ch-grid em { position: absolute; right: calc(100% + 8px); top: -7px; font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.ch-plot { position: absolute; inset: 0; }
.ch-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ch-stroke { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ch-area { fill: rgba(29, 29, 31, .06); }
.ch-dash { stroke-dasharray: 4 4; stroke: var(--ink-3); }
.ch-col.part .ch-bar { opacity: .4; }
.ch-cols { position: absolute; inset: 0; display: flex; gap: 2px; }
.ch-dense { gap: 1px; }
.ch-col { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; border-radius: 4px; outline-offset: 0; cursor: default; }
.ch-col.on, .ch-col:focus-visible { background: rgba(240, 92, 182, .09); }
.ch-bar { display: block; width: 100%; background: var(--ink); border-radius: 4px 4px 0 0; }
.ch-dense .ch-bar { border-radius: 2px 2px 0 0; }
.ch-pink .ch-bar { background: var(--pink); }
.ch-col.on .ch-bar { background: #000; }
.ch-pink .ch-col.on .ch-bar { background: #d63d9c; }
.ch-dot { position: absolute; left: 50%; width: 9px; height: 9px; margin: 0 0 -4.5px -4.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px #fff; opacity: 0; }
.ch-col.on .ch-dot { opacity: 1; }
.ch-x { display: flex; gap: 2px; margin-left: 46px; margin-top: 7px; height: 16px; }
.ch-x span { flex: 1; min-width: 0; position: relative; }
.ch-x em { position: absolute; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.ch-tip { position: fixed; z-index: 100; transform: translate(-50%, -100%); background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; line-height: 1.5; pointer-events: none; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); min-width: 160px; }
.ch-tip b { display: block; font-weight: 600; margin-bottom: 2px; }
.ch-tip span { display: flex; justify-content: space-between; gap: 16px; }
.ch-tip em { font-style: normal; color: #a1a1a6; }
.sgrid { column-count: 2; column-gap: 16px; }
.sgrid > .box { break-inside: avoid; display: block; width: 100%; overflow-x: auto; }
.sbox-s h2 { font-size: 16px; }
.sbox-s h3 { font-size: 13px; color: var(--ink-2); margin: 14px 0 4px; font-weight: 600; }
.sbox-s .ch + .ch { margin-top: 16px; }
.scharts .ch + .ch { margin-top: 0; }
.stbl td, .stbl th { padding: 7px 8px; }
.stbl th { white-space: nowrap; }
.stbl tfoot th { border-top: 1px solid var(--line); border-bottom: 0; color: var(--ink); }
.stbl tbody tr:hover td { background: #fafafa; }
.st-name { min-width: 0; width: 60%; }
.st-name small { display: block; margin-top: 1px; }
.st-name a { color: var(--ink); }
.st-name a:hover { color: var(--pink-text); }
.sbar { display: block; height: 4px; background: var(--paper); border-radius: 2px; margin-top: 5px; overflow: hidden; }
.sbar i { display: block; height: 100%; background: var(--pink); border-radius: 2px; }
.funnel { display: grid; gap: 10px; }
.fn { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr) 64px 54px; gap: 10px; align-items: center; font-size: 13.5px; }
.fn-b { height: 10px; background: var(--paper); border-radius: 5px; overflow: hidden; }
.fn-b i { display: block; height: 100%; background: var(--ink); border-radius: 5px; }
.fn b { text-align: right; }
.fn em { font-style: normal; color: var(--ink-2); text-align: right; font-size: 12.5px; }
.s2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tscroll { overflow-x: auto; }
.sdash-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sdash-h h2 { margin: 0 auto 0 0; }
.skpis-s { margin-bottom: 0; }
.chips-w { display: flex; flex-wrap: wrap; gap: 6px; }
.days { display: flex; flex-wrap: wrap; gap: 0 14px; }
.days .chk { margin: 4px 0; }
fieldset.fld { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
fieldset.fld > span:first-child { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 5px; }

/* ------------------------------------------------------------ menu pro telefon a tablet */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .42); opacity: 0; transition: opacity .25s var(--ease); }
.drawer-p { position: absolute; top: 0; bottom: 0; left: 0; width: min(390px, 90vw); background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; transform: translateX(-100%); transition: transform .3s var(--ease); padding-bottom: calc(24px + env(safe-area-inset-bottom)); box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .35); }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-p { transform: none; }
.drawer-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: env(safe-area-inset-top) 6px 0 16px; background: #fff; border-bottom: 1px solid var(--hair); }
.drawer-h .brand-t, .drawer-h .brand-s { font-size: 18px; }
.drawer-x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; }
.drawer-x:active { background: var(--paper); }
.drawer-sec { padding: 16px 12px; border-bottom: 1px solid var(--hair); }
.drawer-l { font-size: 12px; font-weight: 500; color: var(--ink-3); padding: 0 6px 8px; }
.dd { border-radius: var(--r-m); }
.dd + .dd { margin-top: 2px; }
.dd[open] { background: var(--paper); }
.dd > summary { list-style: none; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 16px; align-items: center; gap: 12px; min-height: 58px; padding: 0 12px 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; border-radius: var(--r-m); }
.dd > summary::-webkit-details-marker, .ds > summary::-webkit-details-marker { display: none; }
.dd > summary em, .ds > summary em { font-style: normal; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.dd > summary .ui, .ds > summary .ui { width: 16px; height: 16px; color: var(--ink-3); transition: transform .2s var(--ease); }
.dd[open] > summary .ui, .ds[open] > summary .ui { transform: rotate(90deg); color: var(--ink); }
.dd-i { height: 30px; width: auto; max-width: 34px; justify-self: center; }
.dd-b { padding: 0 10px 14px; }
.dd-all { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; background: var(--ink); color: #fff; border-radius: 12px; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.dd-all:hover { color: #fff; }
.dd-all .ui { width: 16px; height: 16px; }
.dd-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dd-types a { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 6px 10px; background: #fff; border-radius: 12px; font-size: 14px; line-height: 1.2; }
.drawer-sec > .dd-types a { background: var(--paper); }
.dd-ti { width: 18px; height: 18px; flex: none; color: var(--ink-2); }
.dd-sl { font-size: 12px; color: var(--ink-3); padding: 14px 4px 4px; }
.ds { border-top: 1px solid var(--line); }
.ds > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; min-height: 46px; padding: 0 4px; font-size: 15px; font-weight: 600; cursor: pointer; }
.ds-m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 0 0 12px; }
.ds-m a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; background: #fff; border-radius: 10px; font-size: 14px; line-height: 1.2; }
.drawer-info { display: grid; padding-top: 8px; padding-bottom: 8px; }
.drawer-info a { display: flex; align-items: center; min-height: 48px; padding: 0 6px; font-size: 16px; }
.drawer-call { display: flex; align-items: center; gap: 12px; margin: 16px 12px 0; padding: 14px 16px; border-radius: var(--r-m); background: var(--tint); }
.drawer-call .ui { width: 22px; height: 22px; color: var(--pink-text); }
.drawer-call b { display: block; font-size: 17px; }
.drawer-call small { display: block; color: var(--ink-2); }
html.lock, html.lock body { overflow: hidden; }
.pbar, .cdown-short, .mtypes { display: none; }
.sbox-x { border: 0; background: none; font: inherit; font-size: 15px; color: var(--pink-text); padding: 0 2px 0 8px; cursor: pointer; white-space: nowrap; }
.q { white-space: nowrap; }

/* ------------------------------------------------------------ responzivita */
@media (hover: none) {
  .mega { display: none; }   /* dotykové displeje: kategorie bez rozbalovacích menu na najetí */
}
@media (max-width: 1180px) {
  .hdr-help { display: none; }
  .devs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scharts { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: repeat(4, 1fr); }
  .cat-info { display: none; }
}
@media (max-width: 980px) {
  .two { grid-template-columns: 1fr; gap: 0; }
  .two > .side { display: none; }
  .mdevs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -24px 16px; padding: 0 24px; }
  .mdevs::-webkit-scrollbar { display: none; }
  .mdev { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--paper); font-size: 14.5px; font-weight: 500; }
  .mdev.on { background: var(--ink); color: #fff; }
  .mdev-i { height: 20px; width: auto; max-width: 22px; }
  .mtypes { display: flex; }
  .skpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgrid { column-count: 1; }
  .s2col { grid-template-columns: 1fr; }
  .pd, .pd-more { grid-template-columns: 1fr; gap: 28px; }
  .pd-gal { position: static; max-width: 520px; }
  .co-form { grid-template-columns: 1fr; }
  .co-side { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .cols2 { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  /* hlavička v jedné řadě, kategorie v menu */
  .hdr-row { height: 62px; gap: 12px; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; }
  .burger .ui { width: 24px; height: 24px; }
  .burger:active { background: var(--paper); }
  .cats { display: none; }
  .hdr-cart { height: 44px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  html { scroll-padding-top: 76px; }
  a, button, summary, label, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  a, button, summary, label { touch-action: manipulation; }

  /* horní lišty: běžící text + odpočet v jednom řádku */
  .topbar { font-size: 12px; }
  .topbar-in { height: 30px; }
  .topbar-tel { display: none; }
  .cdown-in { justify-content: space-between; gap: 10px; min-height: 42px; flex-wrap: nowrap; padding-top: 5px; padding-bottom: 5px; }
  .cdown-t { font-size: 13.5px; gap: 7px; min-width: 0; }
  .cdown-t .ui { width: 17px; height: 17px; flex: none; }
  .cdown-long { display: none; }
  .cdown-short { display: inline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cdown-c { gap: 7px; flex: none; }
  .cdown-l { font-size: 12px; }
  .cdown-v b { min-width: 27px; height: 27px; font-size: 14px; border-radius: 7px; padding: 0 3px; }
  .cdown-v i { width: 4px; }

  /* hlavička: menu · logo · hledání · košík */
  .hdr-row { height: 60px; gap: 8px; }
  .brand { gap: 6px; flex: none; }
  .hdr .brand img { width: 30px; height: 30px; }
  .brand-t, .brand-s { font-size: 18px; }
  body:not(.home) .hdr .brand-t, body:not(.home) .hdr .brand-s, .home.hero-out .hdr .brand-t, .home.hero-out .hdr .brand-s { display: none; }
  .sbox { flex: 1; min-width: 0; max-width: none; height: 42px; padding: 0 10px 0 12px; }
  .sbox input { font-size: 16px; padding: 0 8px; }
  .sbox > .ui { width: 18px; height: 18px; }
  .sbox-kbd { display: none; }
  .home:not(.hero-out) .sbox-quiet { display: none; }
  .hdr-cart { margin-left: auto; width: 44px; padding: 0; justify-content: center; position: relative; flex: none; }
  .hdr-cart-t { display: none; }
  .hdr-cart .cnt { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; font-size: 11px; box-shadow: 0 0 0 2px #fff; }

  /* našeptávač přes celou obrazovku pod hledáním */
  .sugg, .sugg-hero { position: fixed; left: 0; right: 0; top: 120px; height: 60vh; min-width: 0; max-height: none; border-radius: 18px 18px 0 0; overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 -1px 0 var(--hair), 0 -24px 40px -24px rgba(0, 0, 0, .3); z-index: 60; }
  .sugg-open .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .sugg-in { grid-template-columns: 1fr; }
  .sugg-l { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px 12px; }
  .sugg-l .sugg-h { width: 100%; padding: 4px 2px 0; }
  .sugg-l .sugg-understood { width: 100%; padding: 0; }
  .sugg-l .s-m, .sugg-l .s-t { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 13px; min-height: 40px; font-size: 14px; gap: 6px; }
  .sugg-l .s-m em, .sugg-l .s-t em { margin-left: 2px; }
  .sugg-l .s-m .dev { width: 14px; height: 18px; }
  .sugg-r { padding: 6px 6px 0; }
  .s-p { padding: 9px 8px; grid-template-columns: 52px minmax(0, 1fr) auto; }
  .s-p .s-img { width: 52px; height: 52px; }
  .sugg-all { min-height: 54px; position: sticky; bottom: 0; background: #fff; }

  /* úvod */
  .hero-in { padding-top: 26px; padding-bottom: 26px; }
  .hero h1 { font-size: 31px; margin-bottom: 10px; }
  .hero-sub { font-size: 15px; margin-bottom: 18px; }
  .hsearch { height: 54px; padding-left: 16px; }
  .hsearch input { font-size: 16px; }
  .hsearch .btn { display: none; }
  .hero-try { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px; white-space: nowrap; }
  .hero-try::-webkit-scrollbar { display: none; }
  .hero-try a { flex: none; padding: 7px 13px; }
  .hero-try span { flex: none; }
  .hero-live { margin-top: 16px; font-size: 12.5px; }
  .devs { gap: 10px; margin-top: 16px; }
  .dev-card { padding: 16px 14px 14px; gap: 10px; border-radius: var(--r-m); }
  .dev-card:active { background: #e8e8ed; }
  .dev-art { height: 62px; }
  .dev-big, .dev-mac, .dev-watch { height: 56px; }
  .dev-txt b { font-size: 17px; margin-bottom: 2px; }
  .dev-txt span { font-size: 12.5px; }
  .dev-go { width: 28px; height: 28px; right: 10px; top: 10px; }
  .block { margin-top: 36px; }
  .block-h h2 { font-size: 21px; }
  .home .mgrid .mt:nth-child(n+9) { display: none; }
  .tgrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tt { flex-direction: row; justify-content: flex-start; padding: 12px 14px; gap: 10px; text-align: left; }
  .tt-i { width: 24px; height: 24px; }
  .facts-in { grid-template-columns: 1fr; gap: 22px; }

  /* dlaždice modelů: kompaktní, ikona vlevo */
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mt { grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: none; align-items: center; justify-items: stretch; column-gap: 10px; row-gap: 1px; padding: 10px 12px; min-height: 60px; }
  .mt:active { background: var(--paper); }
  .mt-dev { grid-row: 1 / span 3; }
  .mt-dev .dev { height: 32px; }
  .mt-name { grid-column: 2; margin: 0; font-size: 14px; }
  .mt-a, .mt-c { grid-column: 2; font-size: 12px; }
  .ser { margin-bottom: 24px; }
  .ser-h { font-size: 16px; margin-bottom: 8px; }
  .ph-dev-h { gap: 14px; }
  .ph-dev-h .ph-dev { width: 52px; height: 60px; }
  .ph-dev-h .ph-dev .dev { height: 40px; }
  .ph-dev-h h1 { font-size: 27px; }
  .ph-dev-h p { font-size: 14px; }

  /* výpisy */
  .mdevs { margin: 0 -16px 14px; padding: 0 16px; }
  .lhead { flex-wrap: wrap; gap: 12px 14px; padding-bottom: 14px; margin-bottom: 12px; }
  .lhead-i { width: 56px; height: 66px; border-radius: var(--r-m); }
  .lhead-i .dev { height: 42px; }
  .lhead-e { font-size: 12px; margin-bottom: 2px; }
  .lhead h1 { font-size: 30px; margin-bottom: 4px; }
  .lhead p { font-size: 13px; }
  .lhead .tbar-r { width: 100%; justify-content: space-between; padding: 0; }
  .tbar { margin-bottom: 12px; }
  .tbar-t { font-size: 20px; }
  .tgl { min-height: 40px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; height: 40px; }
  .chip-s { height: 36px; }
  .chip:active { background: var(--paper); }
  .chip.on:active { background: #000; }
  .chips.collapsed .chip-x { display: inline-flex; }
  .chip-more { display: none !important; }
  .chips-l { flex: none; }
  .crumbs-w { padding-top: 12px; }
  .crumbs { font-size: 12.5px; }
  .two { padding-top: 12px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pc { padding: 8px 9px 9px; border-radius: 12px; }
  .pc-name { font-size: 13.5px; }
  .pc-foot { flex-direction: column; align-items: stretch; }
  .pc-foot .buy { width: 100%; margin-left: 0; }
  .pc-foot .buy .btn, .pc-foot .btn { width: 100%; height: 40px; }
  .pc-sku { display: none; }
  .pr b { font-size: 16px; }

  /* detail dílu */
  .pd { padding-top: 10px; gap: 18px; }
  .pd-gal { max-width: none; }
  .pd-media { aspect-ratio: 4 / 3; max-height: 290px; width: 100%; border-radius: var(--r-m); }
  .pd-th { width: 60px; height: 60px; }
  .pd-img .ph-i { width: 28%; height: 28%; }
  .pd-info h1 { font-size: 23px; margin-bottom: 14px; }
  .pd-buy { padding: 16px 0; gap: 12px; }
  .pr-big b { font-size: 30px; }
  .pd-buy .buy { width: 100%; }
  .pd-buy .buy .btn { flex: 1; height: 48px; }
  .pd-buy .step { height: 48px; }
  .vt, .vt tbody { display: block; }
  .vt tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "q n p" "q s p"; column-gap: 10px; row-gap: 2px; padding: 10px 8px; border-bottom: 1px solid var(--hair); align-items: center; }
  .vt td { padding: 0; border: 0; }
  .vt td:nth-child(1) { grid-area: q; }
  .vt td:nth-child(2) { grid-area: n; }
  .vt td:nth-child(3) { grid-area: s; }
  .vt td:nth-child(4) { grid-area: p; }
  .vt tr.on { background: var(--tint); border-radius: 10px; border-bottom-color: transparent; }
  .vt tr.on td { background: none; }
  .pd-more { padding-top: 32px; }
  .pbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-top: 1px solid var(--hair); transform: translateY(110%); transition: transform .25s var(--ease); }
  .pbar.show { transform: none; }
  .pbar .pr b { font-size: 19px; }
  .pbar .buy .btn { height: 46px; padding: 0 24px; font-size: 15px; }
  .pbar-on .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .pbar-on .ftr { padding-bottom: 80px; }

  /* košík, pokladna, formuláře (16 px kvůli zvětšování na iPhonu) */
  .fld input, .fld select, .fld textarea, .step input, .filters input, .filters select, .rules input, .rules select, .sf-form select, .sf-form input { font-size: 16px; }
  .btn-s { height: 40px; }
  .btn-l { height: 54px; }
  .opt { padding: 14px; min-height: 56px; }
  .cl { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px 12px; }
  .cl-img { width: 56px; height: 56px; }
  .cl .step { grid-column: 2; height: 42px; justify-self: start; }
  .cl-price { grid-column: 3; grid-row: 2; }
  .cl-rm { grid-column: 3; grid-row: 1; justify-self: end; width: 40px; height: 40px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .box { padding: 18px 16px; border-radius: var(--r-m); }
  .pay { grid-template-columns: 1fr; }
  .pd-specs dl { grid-template-columns: 1fr; }
  .pd-specs dt { border-bottom: 0; padding-bottom: 0; }
  .contact { grid-template-columns: 1fr; gap: 10px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 22px; }
  .ftr-grid a { padding: 6px 0; }
  .toast { bottom: calc(16px + env(safe-area-inset-bottom)); }

  /* admin */
  .grid-form { grid-template-columns: 1fr; }
  .adm-h { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .dlv { grid-template-columns: 1fr; }
  .fn { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 50px 46px; font-size: 13px; }
  .skpis { gap: 8px; }
  .sk { padding: 12px; }
  .sk-v { font-size: 19px; overflow-wrap: anywhere; }
  .sf-form label { flex: 1 1 140px; }
  .sf-form select, .sf-form input { width: 100%; }
  .sf-form select[name=tyden] { max-width: none; }
  .scharts > .ch { padding: 12px 12px 8px; }
  .ch-body { margin-left: 40px; }
  .ch-x { margin-left: 40px; }
  .s-head .s-live { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* postranní panel: zařízení → rozbalí se modely */
.side-d { margin: 0; }
.side-d > summary { list-style: none; cursor: pointer; }
.side-d > summary::-webkit-details-marker { display: none; }
.side-d > summary .ui { transition: transform .2s var(--ease); }
.side-d[open] > summary .ui { transform: rotate(90deg); }
.side-d[open] > summary.side-dev:not(.on) { background: var(--paper); }
.side-ms { padding: 6px 0 12px; display: grid; gap: 2px; }
/* všechny řádky (řady i modely) stejně odsazené a stejně vysoké */
.side-ms .side-s, .side-ms .side-mm { display: flex; align-items: center; gap: 8px; min-height: 30px; margin: 0; padding: 4px 10px 4px 14px; border-radius: 8px; line-height: 1.25; }
.side-ms .side-s { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.side-ms .side-mm { font-size: 13.5px; }
.side-mm span { flex: 1; min-width: 0; }
.side-mm em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.side-mm.on { color: var(--ink); font-weight: 600; background: var(--tint); box-shadow: inset 3px 0 0 var(--pink); }
.side-all { font-weight: 500; color: var(--ink); }
/* podkategorie zařízení (iPhone 17, iPad Pro, MacBook Air …) – rozbalí se modely */
.side-sg { margin: 0; }
.side-sg > summary { list-style: none; cursor: pointer; }
.side-sg > summary::-webkit-details-marker { display: none; }
.side-sgs { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 10px 4px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.25; transition: background .2s var(--ease); }
.side-sgs:hover { background: var(--paper); }
.side-sgs span { flex: 1; min-width: 0; }
.side-sgs em { font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--ink-3); }
.side-sgs .ui { width: 12px; height: 12px; flex: none; color: var(--ink-3); transition: transform .2s var(--ease); }
.side-sg[open] > .side-sgs .ui { transform: rotate(90deg); }
.side-sg[open] > .side-sgs { background: var(--paper); }
.side-sgm { display: grid; gap: 2px; margin: 4px 0 8px 18px; padding-left: 8px; border-left: 1px solid var(--hair); }
.side-mm0 { color: var(--ink-3); }
.side-sgm .side-mm { display: flex; align-items: center; gap: 8px; min-height: 30px; margin: 0; padding: 4px 10px; border-radius: 8px; font-size: 13px; line-height: 1.25; }

/* filtry: rozbalovací seznamy ve stylu čipů */
.fbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 18px; }
.dsel { position: relative; }
.dsel > summary { list-style: none; }
.dsel > summary::-webkit-details-marker { display: none; }
.dsel-b { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; cursor: pointer; user-select: none; white-space: nowrap; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.dsel-b:hover { border-color: var(--ink); }
.dsel[open] > .dsel-b { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240, 92, 182, .14); }
.dsel-l { color: var(--ink-3); font-size: 13px; }
.dsel-v { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.dsel-v em, .dsel-o em { font-style: normal; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.dsel-b > .ui { width: 13px; height: 13px; color: var(--ink-3); transform: rotate(90deg); transition: transform .2s var(--ease); }
.dsel[open] > .dsel-b > .ui { transform: rotate(-90deg); }
.dsel-p { position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; min-width: 260px; max-width: min(360px, calc(100vw - 32px)); max-height: 380px; overflow: auto; padding: 6px; background: #fff; border: 1px solid var(--hair); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .06); display: grid; gap: 2px; scrollbar-width: thin; }
.dsel-o { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border-radius: 12px; font-size: 14px; color: var(--ink); }
.dsel-o span { flex: 1; min-width: 0; }
.dsel-o:hover { background: var(--paper); color: var(--ink); }
.dsel-o.on { background: var(--ink); color: #fff; }
.dsel-o.on em { color: #a1a1a6; }
.dsel-g { font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 10px 12px 2px; }
.qdot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; background: var(--ink-3); }
.qdot-original { background: var(--ink); }
.qdot-refurb { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.qdot-premium { background: var(--pink); }
.qdot-standard { background: #c7c7cc; }
.dsel-o.on .qdot-refurb { box-shadow: inset 0 0 0 2px #fff; background: transparent; }
@media (min-width: 981px) { .dsel-m { display: none; } }
@media (max-width: 760px) {
  .fbar { gap: 8px; }
  .dsel { flex: 1 1 100%; }
  .dsel-b { width: 100%; height: 46px; font-size: 15px; }
  .dsel-v { flex: 1; min-width: 0; }
  .dsel-t { overflow: hidden; text-overflow: ellipsis; }
  .dsel-p { left: 0; right: 0; max-width: none; min-width: 0; max-height: 60vh; }
  .dsel-o { min-height: 44px; font-size: 15px; }
}

/* díl bez fotky: logo iS jako stín */
.ph-logo { width: 34%; max-width: 140px; height: auto; opacity: .13; }
.pd-img .ph-logo { width: 34%; max-width: 220px; }
.cl-pimg .ph-logo { width: 60%; }

/* nekonečný výpis */
.more-load { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px 0 8px; color: var(--ink-3); font-size: 14px; min-height: 60px; }
.more-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--hair); border-top-color: var(--pink); animation: spin .8s linear infinite; }
.more-load:not(.on) .more-spin { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }

/* značky v hlavní liště */
.cat-more .ui { width: 12px; height: 12px; margin-left: 4px; transform: rotate(90deg); color: var(--ink-3); }
.mega-hl { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.mega-more { color: var(--pink-text) !important; font-size: 13px !important; margin-top: 4px; }
.mega-brands { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 18px; }
.mega-b { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 10px; font-size: 14px; }
.mega-b:hover { background: var(--paper); }
.mega-b em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.side-brand { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; margin: 0 0 6px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.side-brand:hover { background: var(--paper); }
.side-brand.on { background: var(--tint); box-shadow: inset 3px 0 0 var(--pink); }
.side-brand em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--ink-3); }
.brand-mark { display: inline-grid; place-items: center; width: 100%; height: 100%; font-size: 40px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.dd-bm { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--paper); font-weight: 700; font-size: 13px; margin-right: 2px; }
.znacky { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 8px 0 40px; }
.znacky a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--hair); border-radius: var(--r-m); font-weight: 600; }
.znacky a:hover { border-color: var(--ink); color: var(--ink); }
.znacky em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink-3); }

/* menu značek pod lištou (ne přes ni) */
.cats { position: relative; }
.cats-in, .cat-item { position: static; }
.mega { position: absolute; top: 100%; margin-top: 0; }
