@font-face { font-family: Geist; src: url(fonts/geist-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; 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: Geist; src: url(fonts/geist-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; 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; }

@view-transition { navigation: auto; }

/* Palettes. app.php BRAND['theme'] picks one through <html data-theme>. Contrast numbers in DESIGN.md. */
:root, [data-theme=t] { /* T, Třešeň světlá: polepimsi.cz od 2026-12-03 */
  color-scheme: light;
  --bg: #FBF6F2; --card: #FFFFFF; --ink: #1F1416; --muted: #5E4B4E; --line: #EADDD5; --soft: #F4E9E2; --edge: #8C7A7C;
  --accent: #C8102E; --on-accent: #FFFFFF; --tag: #EAD3BE; --on-tag: #1F1416; --error: #9E1030; --cut: #FFFFFF;
  --tile: #F5EDE7; --chip: #F6E3D2;
}
[data-theme=p] { /* P, Papír */
  color-scheme: light;
  --bg: #F5F5F1; --card: #FFFFFF; --ink: #17171B; --muted: #53535D; --line: #DDDDD4; --soft: #EAEAE3; --edge: #7F7F78;
  --accent: #2442E0; --on-accent: #FFFFFF; --tag: #FFD43B; --on-tag: #17171B; --error: #B3142A; --cut: #FFFFFF;
  --tile: #EFEFEA; --chip: #FFEFA8; /* product tile grey, quiet price chip from the brand yellow */
}
[data-theme=h] { /* H, Třešeň: unbothr */
  color-scheme: dark;
  --bg: #0E0A0A; --card: #1A1414; --ink: #EFE2D4; --muted: #B9A896; --line: #3D3232; --soft: #2A2222; --edge: #8A7878;
  --accent: #FF2D3F; --on-accent: #0E0A0A; --tag: #E6D3BF; --on-tag: #0E0A0A; --error: #FF8A90; --cut: #F4EADC;
  --tile: #EDE3D8; --chip: #E6D3BF;
}
[data-theme=z] { /* Z, Značka: zelená bezpečnostních tabulek */
  color-scheme: light;
  --bg: #F3F5EF; --card: #FFFFFF; --ink: #15191A; --muted: #4E5652; --line: #D7DCD3; --soft: #E5EAE1; --edge: #77807A;
  --accent: #0B6B35; --on-accent: #FFFFFF; --tag: #FFD43B; --on-tag: #15191A; --error: #B3142A; --cut: #FFFFFF;
  --tile: #EBEFE7; --chip: #FFEFA8;
}
[data-theme=o] { /* O, Páska: oranžová výstražná */
  color-scheme: light;
  --bg: #FAF6F0; --card: #FFFFFF; --ink: #1C1A17; --muted: #5A544C; --line: #E3DBCF; --soft: #F0E9DE; --edge: #857C70;
  --accent: #B93C0C; --on-accent: #FFFFFF; --tag: #FFB547; --on-tag: #1C1A17; --error: #A8132A; --cut: #FFFFFF;
  --tile: #F2ECE2; --chip: #FFE2B8;
}
[data-theme=n] { /* N, Noc: tmavá modrá a signální žlutá */
  color-scheme: dark;
  --bg: #10131A; --card: #1A1F2A; --ink: #F2F0E6; --muted: #AEB3BF; --line: #2E3442; --soft: #242A37; --edge: #7D8494;
  --accent: #FFD43B; --on-accent: #10131A; --tag: #FFD43B; --on-tag: #10131A; --error: #FF8A90; --cut: #F2F0E6;
  --tile: #E9E7DF; --chip: #FFD43B; /* světlé dlaždice, aby samolepky na tmavé stránce nezčernaly */
}
[data-theme=k] { /* K, Korál: hravá růžová */
  color-scheme: light;
  --bg: #FFF7F3; --card: #FFFFFF; --ink: #1E1519; --muted: #5E4E55; --line: #EFDCD5; --soft: #F8E8E2; --edge: #8A767D;
  --accent: #B0154F; --on-accent: #FFFFFF; --tag: #FFE066; --on-tag: #1E1519; --error: #9E1030; --cut: #FFFFFF;
  --tile: #F9ECE7; --chip: #FFF0B3;
}
:root {
  --gut: clamp(14px, 3vw, 48px);
  --wide: 1880px; /* owner 2026-12-02: on a computer the page reaches the sides */
  --r: 18px;
  --bar: 64px;
  --tab: 62px;
  --shadow: 0 1px 2px rgb(20 20 30 / .06), 0 10px 28px -18px rgb(20 20 30 / .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.22, 1, .36, 1); /* ease-out, no overshoot (unslop 2026-12-03) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 1rem/1.5 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
main { flex: 1; width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
small { font-size: .8125rem; }
h1, h2 { font-weight: 650; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 99; padding: .7rem 1rem; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 1rem; }
.ico { width: 1.45rem; height: 1.45rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
html.js .nojs { display: none; }

/* Header as on disdesign.cz: one glass bar over the whole width. Logo at the left edge, the big menu, links,
   search, then round account, cart and the phone menu at the right. The bar hides while scrolling down. */
.notice { padding: .45rem 1rem; text-align: center; font-size: .8125rem; background: var(--tag); color: var(--on-tag); }
.nav { position: sticky; top: 0; z-index: 40; padding: 0 var(--gut); background: color-mix(in srgb, var(--bg) 74%, transparent); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 8%, transparent); transition: translate .38s var(--ease); }
.nav-away .nav:not(:has([open])) { translate: 0 -100%; }
.nav-in { display: flex; align-items: center; gap: .5rem; min-height: var(--bar); }
/* Liquid glass on the logo: a clear capsule with a bright rim, a soft blue body and a highlight that moves on hover. */
.logo { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: .5rem; flex: none; min-height: 46px; padding: .3rem 1rem .3rem .35rem; border-radius: 999px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.03em;
  background: linear-gradient(160deg, rgb(255 255 255 / .92), color-mix(in srgb, var(--accent) 9%, rgb(255 255 255 / .55)) 60%, color-mix(in srgb, var(--accent) 16%, rgb(255 255 255 / .4)));
  box-shadow: inset 0 1.5px 0 rgb(255 255 255 / .95), inset 0 -1px 1px color-mix(in srgb, var(--accent) 22%, transparent), inset 0 0 0 1px rgb(255 255 255 / .6), 0 0 0 1px color-mix(in srgb, var(--ink) 7%, transparent), 0 8px 22px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
.logo::before { content: ""; position: absolute; z-index: -1; left: -30%; top: -60%; width: 60%; height: 220%; rotate: 20deg; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .75), transparent); translate: -120% 0; transition: translate .9s var(--ease); pointer-events: none; }
.logo.small { min-height: 44px; padding: 0; font-size: 1rem; background: none; box-shadow: none; overflow: visible; }
.logo.small::before { display: none; }
.mark { width: 32px; height: 32px; flex: none; transition: rotate .45s var(--spring); }
.m-face { fill: var(--accent); }
.m-peel { fill: var(--tag); }
.m-shine { fill: none; stroke: var(--on-accent); stroke-width: 2.2; stroke-linecap: round; opacity: .55; }
.mark { rotate: -6deg; }
.logo i { font-style: normal; color: var(--accent); }
.nav-links { display: none; gap: .1rem; padding: 4px; border-radius: 999px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .85rem; border-radius: 999px; font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.nav-links a[aria-current] { background: var(--soft); }
.nav-links .xmas { gap: .35rem; color: var(--error); }
.nav-links .xmas .ico { width: 1rem; height: 1rem; }
[data-theme="h"] .nav-links .xmas { color: var(--accent); }
.find { position: relative; display: flex; align-items: center; }
.nav-find { display: none; }
.find input { width: 100%; min-height: 44px; padding: 0 3rem 0 1.1rem; border-radius: 999px; border: 1px solid var(--edge); background: var(--card); }
.find input::-webkit-search-cancel-button { margin-right: .25rem; }
.find button { position: absolute; right: 2px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.round { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, var(--card) 80%, transparent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 0 0 1px color-mix(in srgb, var(--ink) 9%, transparent); transition: background .25s var(--ease), scale .2s var(--spring); }
.nav-find + .round { margin-left: auto; }
.round[aria-current] { background: var(--ink); color: var(--bg); }
.round:active { scale: .9; }
.round .in { position: absolute; right: 9px; top: 9px; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--card); }
.count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 .3rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-style: normal; font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.count.zero { display: none; }
.round .count { position: absolute; right: -4px; top: -4px; }
.count.bump { animation: bump .7s var(--spring); }

/* The big menu. One <details>, so it works without JS; the same panel is the phone sheet. The bar blurs the page,
   which makes it a backdrop root, so the panel is nearly solid. */
.mega > summary { list-style: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1.1rem 0 .9rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; cursor: pointer; user-select: none; -webkit-user-select: none; transition: background .25s var(--ease), scale .2s var(--spring); }
.mega > summary::-webkit-details-marker { display: none; }
.mega > summary:active { scale: .95; }
.mega[open] > summary { background: var(--accent); color: var(--on-accent); }
.mega.phone > summary { width: 46px; height: 46px; padding: 0; justify-content: center; }
.mega-panel { position: absolute; left: var(--gut); right: var(--gut); top: calc(100% + 8px); max-height: calc(100svh - var(--bar) - 48px); overflow: auto; overscroll-behavior: contain; display: grid; gap: 1.25rem; padding: clamp(1rem, 2.4vw, 1.75rem); border-radius: 26px; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 30px 80px -30px rgb(10 10 30 / .5); }
.mega-find { max-width: 40rem; }
.mega-quick { display: flex; flex-wrap: wrap; gap: .5rem; }
.mega-quick a, .mega-quick button { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--soft); font-size: .9375rem; font-weight: 500; transition: background .2s var(--ease), color .2s var(--ease); }
.mega-quick .ico { width: 1.15rem; height: 1.15rem; color: var(--accent); }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem 1.75rem; }
.mega-head { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding-right: .6rem; border-radius: 12px; font-size: 1.0625rem; }
.mega-head .ico { width: 2.3rem; height: 2.3rem; padding: .48rem; border-radius: 12px; background: var(--soft); color: var(--accent); }
.mega-head small, .mega-col li small { margin-left: auto; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.mega-col ul { display: grid; margin-top: .2rem; }
.mega-col li a { display: flex; align-items: center; min-height: 40px; padding: 0 .6rem 0 2.9rem; border-radius: 10px; font-size: .9375rem; }

/* Bottom tab bar on phones, as on disdesign.cz: icon over a label, the current one tinted. */
.tabbar { position: fixed; z-index: 41; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: flex; height: var(--tab); padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--card) 76%, transparent); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent), 0 12px 32px -12px rgb(10 10 20 / .45); touch-action: none; view-transition-name: tabs; }
.tabbar a { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; border-radius: 999px; font-size: .6875rem; font-weight: 500; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.tabbar a[aria-current] { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.tabbar a[aria-current] .ico { fill: color-mix(in srgb, var(--accent) 20%, transparent); }
.tabbar .count.dot { position: absolute; left: 55%; top: 3px; }
.tabbar .count.dot.zero { display: none; }
.has-lens { isolation: isolate; }
.lens { position: absolute; left: 0; top: 0; z-index: -1; width: 0; height: 0; border-radius: 999px; overflow: hidden; pointer-events: none; opacity: 0; background: color-mix(in srgb, var(--ink) 9%, transparent); box-shadow: inset 0 1px 1px rgb(255 255 255 / .6), 0 8px 24px -12px rgb(0 0 0 / .4); transition: opacity .22s var(--ease); }
.lens.is-on { opacity: 1; }
.lens::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 70% at 30% 0%, rgb(255 255 255 / .35), transparent 55%); }
.has-lens :is(a, button) { transition: scale .26s var(--spring), color .16s var(--ease), background-color .25s var(--ease); }
.has-lens .is-lensed { color: var(--accent); scale: 1.12; background-color: transparent; }

/* Buttons and links. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 1px solid transparent; background: var(--accent); color: var(--on-accent); font-weight: 600; text-align: center; transition: translate .25s var(--ease), box-shadow .25s var(--ease), scale .15s var(--ease), background .25s var(--ease); }
.btn.ghost { background: var(--card); border-color: var(--edge); color: var(--ink); }
.btn.big { min-height: 56px; font-size: 1.0625rem; }
.btn:active { scale: .97; }
.btn[disabled] { background: var(--soft); border-color: var(--line); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.link, .more, .prose a, .check a, .tbl a, .fine a, .hintbar a, .switch a, .empty a { text-decoration: underline; text-underline-offset: .22em; }
.link { min-height: 44px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.lead { max-width: 46ch; font-size: 1.0625rem; color: var(--muted); }
.fine { font-size: .875rem; color: var(--muted); }
.label { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--muted); }
.label .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); }

/* Stickers drawn in type: die-cut edge and a little gloss. */
.sticker { --rot: -3deg; display: inline-block; max-width: 84%; padding: .42em .62em .46em; border: .28em solid var(--cut); border-radius: .6em; background-color: var(--accent); background-image: linear-gradient(118deg, rgb(255 255 255 / .28), transparent 36%); color: var(--on-accent); font-weight: 800; letter-spacing: -.035em; line-height: .95; text-align: center; text-wrap: balance; rotate: var(--rot); box-shadow: 0 1px 2px rgb(0 0 0 / .25), 0 .5em .9em -.4em rgb(0 0 0 / .45); user-select: none; -webkit-user-select: none; }
.s1 { --rot: 4deg; border-radius: 1.4em; background-color: var(--tag); color: var(--on-tag); }
.s2 { --rot: -2deg; border-radius: .22em; background-color: var(--ink); color: var(--bg); }
.s3 { --rot: 5deg; border-radius: 1.2em .4em; background-color: var(--card); color: var(--ink); }

/* Home intro: text left, the most used stickers clipped with paperclips to a cord on the right. Plays once on load. */
.intro, .block, .band, .detail { width: min(100% - 2 * var(--gut), var(--wide)); margin-inline: auto; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: clamp(2rem, 6vw, 4.5rem); }
.intro-text { display: grid; justify-items: start; align-content: center; gap: 1.1rem; }
.intro h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.03em; }
.intro .btn.ghost .ico { width: 1.15rem; height: 1.15rem; color: var(--accent); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pricetag, .cena { display: inline-block; padding: .2rem .55rem; border-radius: 8px; background: var(--chip); color: var(--on-tag); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Page blocks. */
.block { padding-top: clamp(2.75rem, 6vw, 5rem); }
.block.first { padding-top: clamp(1.5rem, 4vw, 3rem); }
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .35rem 1.5rem; margin-bottom: 1.25rem; }
.head p { grid-column: 1 / -1; max-width: 56ch; color: var(--muted); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; white-space: nowrap; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-items: start; gap: 1rem; }
.cat { display: grid; align-content: start; gap: .5rem; padding: 1rem 1rem .6rem; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.cat-main { display: flex; align-items: center; gap: .75rem; min-height: 48px; }
.cat-main .ico { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 12px; background: var(--soft); color: var(--accent); transition: background .25s var(--ease), color .25s var(--ease); }
.cat-main b { font-size: 1.0625rem; font-weight: 600; line-height: 1.2; }
.cat-main small, .cat-subs small { margin-left: auto; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.cat-subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; border-top: 1px solid var(--line); padding-top: .35rem; }
.cat-subs a { display: flex; align-items: center; gap: .5rem; min-height: 40px; font-size: .875rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em; transition: text-decoration-color .2s var(--ease), color .2s var(--ease); }

/* Product grid. */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 210px), 1fr)); gap: clamp(.6rem, 1.4vw, 1rem); }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card-link { display: flex; flex-direction: column; flex: 1; gap: .15rem; }
.card-art, .detail-art, .line-art { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; container-type: inline-size; border-radius: 12px; background: var(--soft); }
.card-art img, .detail-art img, .line-art img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
/* Supplier pictures have white grounds and any shape, so they are shown whole on white. */
.card-art img.ext, .detail-art img.ext, .line-art img.ext, .thumb img.ext { object-fit: contain; background: var(--cut); }
.card-art:has(img), .detail-art:has(img), .line-art:has(img) { grid-template: 100% / 100%; background: var(--cut); box-shadow: inset 0 0 0 1px var(--line); }
/* In the grid the supplier's white ground melts into the grey tile (multiply), so the sticker stands on its own, as on Sticker Mule. */
.card-art { margin-bottom: .55rem; border-radius: 14px; background: var(--tile); }
.card-art:has(img) { background: var(--tile); box-shadow: none; }
.card-art img.ext { padding: 12%; background: transparent; mix-blend-mode: multiply; transition: scale .45s var(--ease); }
[data-theme=h] .card-art img.ext { mix-blend-mode: normal; }
.card-art .cena { position: absolute; right: .5rem; bottom: .5rem; font-size: .8125rem; }
.card-art .sticker { font-size: 12cqi; transition: rotate .4s var(--spring), scale .4s var(--spring); }
.card-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: .9375rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.card-kind { font-size: .8125rem; color: var(--muted); }
.card-add { position: absolute; top: .5rem; right: .5rem; }
.add { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s var(--ease), color .2s var(--ease), scale .15s var(--ease); }
.add .ico { width: 1.15rem; height: 1.15rem; stroke-width: 2.2; }
.add:active { scale: .92; }


/* Shop filters. */
.wide-find { margin-bottom: .9rem; max-width: 34rem; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.pills { display: flex; gap: .4rem; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.pills a { display: inline-flex; flex: none; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .9375rem; font-weight: 500; transition: background .25s var(--ease), color .25s var(--ease); }
.pills a[aria-current] { background: var(--ink); color: var(--bg); box-shadow: none; }
.sort { display: flex; align-items: center; gap: .6rem; }
.sort label { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted); }
.sort select { width: auto; min-height: 44px; }
.pills.subs { margin: -.4rem 0 1.25rem; }
.pills small { margin-left: .45rem; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.pills a[aria-current] small { color: inherit; opacity: .75; }
#vypis { scroll-margin-top: calc(var(--bar) + 20px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; margin-bottom: .25rem; font-size: .875rem; color: var(--muted); }
.crumbs .ico { width: 1rem; height: 1rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .22em; }
/* Pages: back and forward are the same size, numbers between them. */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; padding-top: 1.75rem; font-variant-numeric: tabular-nums; }
.pg { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; transition: background .2s var(--ease), scale .2s var(--spring); }
.pg .ico { width: 1.1rem; height: 1.1rem; }
.pg.step { min-width: 9rem; }
.pg.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.pg.off { opacity: .4; }
.pg.gap { min-width: 1.5rem; padding: 0; background: none; box-shadow: none; }
a.pg:active { scale: .94; }

/* How to buy, newsletter. */
.steps { display: grid; gap: .75rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: .1rem .9rem; align-content: start; padding: 1.1rem; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: counter(s); grid-row: 1 / 3; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.steps span { color: var(--muted); font-size: .9375rem; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: clamp(2.75rem, 6vw, 5rem); padding: clamp(1.5rem, 4vw, 3rem); border-radius: calc(var(--r) + 6px); background: var(--accent); color: var(--on-accent); }
.band .btn { background: var(--tag); color: var(--on-tag); }
.band :focus-visible { outline-color: var(--on-accent); }

/* Footer as on disdesign.cz: a call band, three columns, small print. */
.foot { width: min(100% - 2 * var(--gut), var(--wide)); margin: clamp(3rem, 7vw, 6rem) auto 0; padding-bottom: calc(var(--tab) + 2rem); }
.foot-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: clamp(1.75rem, 4vw, 3rem); border-block: 1px solid var(--line); }
.foot-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.foot-band p { margin-top: .35rem; color: var(--muted); }
.foot-band .actions { margin: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 2.25rem; }
.foot-cols h2 { margin-bottom: .6rem; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.foot-cols p { margin-bottom: .4rem; color: var(--muted); overflow-wrap: anywhere; }
.foot-cols strong { color: var(--ink); }
.foot-links { display: grid; justify-items: start; }
.foot-links a, .foot-links button, .foot-cols p a { display: inline-flex; align-items: center; min-height: 44px; text-align: left; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em; transition: text-decoration-color .3s; }
.foot-cols p a { color: var(--ink); }
.foot-small { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.5rem; row-gap: .1rem; padding-block: .75rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.foot-small a:not(.logo) { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em; }
.foot-small .logo { color: var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; min-height: 52px; cursor: pointer; font-weight: 600; }
.faq p { padding-bottom: 1rem; color: var(--muted); }

/* Product detail. */
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: clamp(1rem, 2.5vw, 2rem); }
.detail .crumbs { grid-column: 1 / -1; margin: 0 0 -.75rem; }
.perks { display: flex; flex-wrap: wrap; gap: .45rem; }
.perks span, .perks button { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .85rem; border-radius: 999px; background: var(--soft); font-size: .8125rem; font-weight: 500; }
.perks .ico { width: 1.05rem; height: 1.05rem; color: var(--accent); }
.detail-text .about { max-width: 65ch; }
.detail-media { display: grid; align-content: start; gap: .75rem; min-width: 0; }
.detail-art { border-radius: var(--r); view-transition-name: art; }
.detail-art img.ext { padding: 1rem; }
.detail-art .sticker { font-size: 13cqi; }
.thumbs { display: flex; flex-wrap: wrap; gap: .6rem; }
.thumbs img { width: 84px; height: 84px; border-radius: 12px; border: 1px solid var(--line); object-fit: contain; background: #fff; }
.detail-text { display: grid; align-content: start; justify-items: start; gap: 1rem; min-width: 0; }
.detail-text h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); overflow-wrap: anywhere; }
.detail-text .lead { font-size: 1rem; overflow-wrap: anywhere; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; color: var(--muted); text-decoration: underline; text-underline-offset: .22em; }
.price .cena { padding: 0; background: none; font-size: 1.75rem; font-weight: 650; }
.buy { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem; width: 100%; max-width: 34rem; }
.buy label { display: grid; gap: .3rem; font-size: .8125rem; color: var(--muted); }
.buy input { width: 5.5rem; }
.buy .btn { flex: 1 1 10rem; }
.buy .size { flex: 1 1 100%; min-width: 0; }
.size select { min-width: 0; }

/* Narrow pages: cart, order, account, legal texts. */
.narrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; width: min(100% - 2 * var(--gut), 42rem); margin-inline: auto; padding-top: clamp(1.5rem, 4vw, 3rem); }
.narrow h2 { margin-top: .75rem; font-size: 1.25rem; }
.sum { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; font-size: 1.125rem; }
.sum b, .sum dd { font-size: 1.6rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.hintbar { padding: .85rem 1.1rem; border-radius: 14px; background: var(--soft); font-size: .9375rem; }
.choices { display: grid; gap: .5rem; }
.choices legend { margin-bottom: .6rem; font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; }
.form label.choice { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .2s, box-shadow .2s, scale .15s var(--ease); }
.choice input { flex: none; width: 1.25rem; height: 1.25rem; accent-color: var(--accent); }
.choice span { display: grid; flex: 1; min-width: 0; }
.choice small { font-weight: 400; color: var(--muted); }
.choice i { font-style: normal; font-weight: 700; white-space: nowrap; }
.form label.choice:has(:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.form label.choice:has(:disabled) { background: var(--soft); color: var(--muted); cursor: not-allowed; }
.choice:active { scale: .99; }
.form .only-address, form:has([value=adresa]:checked) .only-point { display: none; }
form:has([value=adresa]:checked) .only-address { display: grid; }
.point { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; }
.point label { flex: 1 1 14rem; }
.qr { width: min(15rem, 100%); margin-inline: auto; border-radius: 12px; overflow: hidden; }
.qr svg { display: block; width: 100%; height: auto; }
.qr-facts { width: min(26rem, 100%); margin-inline: auto; text-align: left; }
.qr-facts dd { overflow-wrap: anywhere; text-align: right; }
.totals { display: grid; gap: .4rem; padding: 1.1rem; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-variant-numeric: tabular-nums; }
.totals [hidden] { display: none; }
.prose li + li { margin-top: .5rem; }
.totals .sum { margin-top: .4rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.prose { gap: .7rem; }
.prose h2 { margin-top: 1.2rem; }
.prose p { max-width: 65ch; color: var(--muted); }
.prose .draft { padding: .9rem 1.1rem; border-radius: 14px; border: 1px dashed var(--accent); color: var(--ink); }

/* Sign-in and account. */
.narrow.auth { width: min(100% - 2 * var(--gut), 26rem); }
.socials { display: grid; gap: .6rem; }
.btn.social { min-height: 56px; background: var(--card); border-color: var(--edge); color: var(--ink); }
.btn.social small { font-weight: 400; }
.btn.social[disabled] { background: var(--soft); border-style: dashed; color: var(--muted); cursor: not-allowed; }
.by-mail > summary { width: 100%; list-style: none; cursor: pointer; }
.by-mail > summary::-webkit-details-marker { display: none; }
.by-mail[open] > summary { display: none; }
.switch { font-size: .9375rem; }
.orders { display: grid; gap: .75rem; }
.order { display: grid; gap: .35rem; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.order p:first-child { display: flex; justify-content: space-between; gap: 1rem; }
.state { padding: .1rem .6rem; border-radius: 999px; background: var(--chip); color: var(--on-tag); font-style: normal; font-size: .8125rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); }
.remove summary { cursor: pointer; min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: .22em; }
.remove .form { margin-top: .5rem; }
.btn.danger-btn { background: var(--card); border-color: var(--error); color: var(--error); }

/* Forms. */
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.form label, .pop label { display: grid; gap: .35rem; font-size: .875rem; font-weight: 500; }
input:not([type=checkbox], [type=radio], [type=file], [type=hidden], [type=search]), select, textarea { width: 100%; min-height: 48px; padding: .65rem .9rem; border-radius: 14px; border: 1px solid var(--edge); background: var(--card); font-size: 1rem; }
textarea { min-height: 6rem; resize: vertical; }
[aria-invalid=true] { border-color: var(--error) !important; box-shadow: 0 0 0 1px var(--error); }
label em { font-style: normal; font-weight: 500; color: var(--error); }
.form label.check, .pop label.check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; font-weight: 400; }
.check input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--accent); }
.two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: .75rem; }
input.hp { position: absolute; left: -9999px; width: 1px; height: 1px; min-height: 0; opacity: 0; }

/* Newsletter window, message, empty pages. */
.pop { width: min(100% - 2rem, 30rem); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 24px; background: var(--bg); color: var(--ink); box-shadow: 0 40px 120px -20px rgb(0 0 0 / .6); overflow-x: hidden; }
.pop form { position: relative; display: grid; }
.pop-top { position: relative; height: 9.5rem; overflow: hidden; background: var(--accent); background-image: radial-gradient(rgb(255 255 255 / .16) 1.5px, transparent 1.5px); background-size: 14px 14px; }
.pop-sheet { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .55rem; padding-top: .6rem; }
.pop-sheet span { display: grid; place-items: center; width: 5.4rem; aspect-ratio: 1; padding: .5rem; border-radius: 16px; background: var(--cut); box-shadow: 0 10px 20px -12px rgb(0 0 0 / .55); rotate: -7deg; }
.pop-sheet span:nth-child(2) { rotate: 4deg; translate: 0 -.5rem; width: 6rem; }
.pop-sheet span:nth-child(3) { rotate: -2deg; translate: 0 .35rem; }
.pop-sheet img { width: 100%; height: 100%; object-fit: contain; }
.pop .pop-badge { position: absolute; top: 7rem; left: clamp(1.25rem, 5vw, 2rem); z-index: 1; width: 92px; height: 92px; border: 3px solid var(--bg); }
.pop .pop-badge span { font-size: .6875rem; }
.pop-body { display: grid; gap: .85rem; padding: 3.6rem clamp(1.25rem, 5vw, 2rem) 1rem; }
.pop-body h2 { font-size: clamp(1.45rem, 5vw, 1.75rem); line-height: 1.15; }
.pop-body h2:focus { outline: none; }
.pop-body > p { color: var(--muted); }
.pop-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .5rem; }
.pop .check span { font-size: .8125rem; color: var(--muted); }
.pop-badge { display: grid; place-items: center; align-content: center; width: 88px; height: 88px; border-radius: 50%; background: var(--tag); color: var(--on-tag); line-height: 1; rotate: -9deg; box-shadow: 0 10px 22px -12px rgb(0 0 0 / .5); }
.pop-badge b { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.pop-badge span { font-size: .75rem; font-weight: 600; }
.code-box { display: inline-block; padding: .7rem 1.4rem; border: 2px dashed var(--accent); border-radius: 16px; background: var(--card); font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: .08em; font-variant-numeric: tabular-nums; user-select: all; -webkit-user-select: all; }
.pop .link { justify-self: center; }
.pop .x { position: absolute; top: .6rem; right: .6rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); color: var(--ink); }
.pop::backdrop { background: rgb(15 15 20 / .55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pop[open] { animation: pop .45s var(--spring); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab) + 24px); z-index: 60; translate: -50% 0; width: max-content; max-width: calc(100% - 2rem); padding: .75rem 1.25rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; text-align: center; box-shadow: 0 20px 44px -14px rgb(0 0 0 / .5); animation: toast 4.5s var(--ease) forwards; }
.blank { display: grid; justify-items: center; gap: 1rem; padding: clamp(3rem, 10vh, 7rem) var(--gut); text-align: center; }
.blank p { max-width: 46ch; color: var(--muted); }
.blank-mark .mark { width: 76px; height: 76px; animation: peel 4s var(--ease) infinite; }

/* Motion. The home intro runs once on load: words rise, the rod draws, stickers drop onto it and swing, price tags flip out. */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .1em .04em .14em; margin: -.1em -.04em -.14em; }
.w i { display: inline-block; font-style: normal; }
@media (prefers-reduced-motion: no-preference) {
  body:has(.intro) .nav { animation: drop .5s var(--ease) backwards; }
  .intro .w i { animation: rise .8s var(--ease) backwards; }
  .intro .w:nth-child(2) i { animation-delay: .05s; }
  .intro .w:nth-child(3) i { animation-delay: .1s; }
  .intro .w:nth-child(4) i { animation-delay: .15s; }
  .intro .w:nth-child(5) i { animation-delay: .2s; }
  .intro .w:nth-child(n+6) i { animation-delay: .25s; }
  .intro .lead { animation: up .6s var(--ease) .3s backwards; }
  .intro .actions { animation: up .6s var(--ease) .4s backwards; }
  .mega[open] .mega-panel { animation: drop .28s var(--ease); }
  .block.first .grid .card:nth-child(-n+8) { animation: up .5s var(--ease) backwards; }
  .block.first .grid .card:nth-child(2) { animation-delay: .04s; }
  .block.first .grid .card:nth-child(3) { animation-delay: .08s; }
  .block.first .grid .card:nth-child(4) { animation-delay: .12s; }
  .block.first .grid .card:nth-child(n+5) { animation-delay: .16s; }
  .block.first .cats li { animation: up .5s var(--ease) backwards; }
  .block.first .cats li:nth-child(2) { animation-delay: .05s; }
  .block.first .cats li:nth-child(3) { animation-delay: .1s; }
  .block.first .cats li:nth-child(n+4) { animation-delay: .15s; }
  ::view-transition-group(art) { animation-duration: .45s; animation-timing-function: var(--ease); }
}
@keyframes rise { from { translate: 0 115%; } }
@keyframes up { from { opacity: 0; translate: 0 14px; } }
@keyframes drop { from { opacity: 0; translate: 0 -14px; } }
@keyframes draw { from { scale: 0 1; } }
@keyframes hang { 0% { opacity: 0; translate: 0 -46px; rotate: -9deg; } 28% { opacity: 1; translate: 0 0; rotate: 7deg; } 48% { rotate: -4.5deg; } 66% { rotate: 2.5deg; } 83% { rotate: -1deg; } 100% { rotate: 0deg; } }
@keyframes flip { from { opacity: 0; transform: rotateY(90deg); } }
@keyframes swing { 25% { rotate: 4deg; } 55% { rotate: -2.5deg; } 80% { rotate: 1deg; } }
@keyframes peel { 0%, 70%, 100% { rotate: 0deg; } 80% { rotate: 14deg; } 90% { rotate: -6deg; } }
@keyframes bump { 30% { scale: 1.6; } 60% { scale: .85; } }
@keyframes pop { from { opacity: 0; translate: 0 30px; scale: .96; } }
@keyframes sheet { from { translate: 0 100%; } }
@media (max-width: 40rem) {
  .pop { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .pop[open] { animation: sheet .4s var(--ease); }
}
@media (max-width: 24rem) { .pop-row { grid-template-columns: 1fr; } }
@keyframes toast { 0% { opacity: 0; translate: -50% 18px; } 8%, 86% { opacity: 1; translate: -50% 0; } 100% { opacity: 0; translate: -50% 8px; visibility: hidden; } }
@keyframes toast-fade { 0% { opacity: 0; } 8%, 86% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

@media (hover: hover) {
  .nav-links a:not([aria-current]):hover, .round:not([aria-current]):hover { background: var(--soft); }
  .logo:hover .mark { rotate: 90deg; }
  .logo:hover::before { translate: 320% 0; }
  .mega > summary:hover { background: var(--accent); color: var(--on-accent); }
  .mega-col a:hover, .mega-quick a:hover, .mega-quick button:hover { background: color-mix(in srgb, var(--accent) 12%, var(--soft)); color: var(--accent); }
  a.pg:hover { background: var(--soft); }
  .foot-small a:hover, .crumbs a:hover { text-decoration-color: currentColor; }
  .btn:not([disabled], .ghost):hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
  .btn.ghost:hover { background: var(--soft); }
  .add:hover { background: var(--accent); color: var(--on-accent); box-shadow: none; }
  .card-link:hover .card-art { background: color-mix(in srgb, var(--tile) 92%, var(--ink)); }
  .card-link:hover .card-art .sticker { rotate: 0deg; }
  .card-link:hover img.ext { scale: 1.04; }
  .card-link:hover .card-name { text-decoration: underline; text-underline-offset: .2em; }
  .cat-main:hover .ico { background: var(--accent); color: var(--on-accent); }
  .cat-subs a:hover { text-decoration-color: currentColor; color: var(--accent); }
  .pills a:not([aria-current]):hover { background: var(--soft); }
  .foot-links a:hover, .foot-links button:hover, .foot-cols p a:hover { text-decoration-color: currentColor; }
  .link:hover { color: var(--ink); }
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 800px) {
  .tabbar { display: none; }
  .foot { padding-bottom: 1.5rem; }
  .toast { bottom: 1.5rem; }
  .buy .size { flex: 1 1 14rem; }
  .detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
}
@media (min-width: 960px) {
  .intro { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
  .nav-find { display: flex; flex: 1; max-width: 26rem; margin-left: auto; }
  .nav-find + .round { margin-left: 0; }
  .mega.phone, .wide-find { display: none; }
}
@media (max-width: 959px) {
  .mega:not(.phone) { display: none; }
  .intro { gap: 1rem; padding-top: 1.25rem; }
  .mega-panel { left: 8px; right: 8px; max-height: calc(100svh - var(--bar) - var(--tab) - 48px); }
}
/* S Memy je v liště 7 odkazů, vejdou se od 1280 px. */
@media (min-width: 1280px) { .nav-links { display: flex; } .nav-links a { padding: 0 .6rem; } }
@media (max-width: 767px) { .foot-cols { grid-template-columns: 1fr; gap: 1.25rem; } }
/* Phone: the clipped stickers stay small so the main button is on the first screen. */
@media (max-width: 640px) {
  .intro h1 { font-size: 2.2rem; }
  .pg.step { min-width: 44px; padding: 0; }
  .pg.step span { display: none; }
}
@media (max-width: 420px) {
  .logo { padding-right: .8rem; font-size: 1.1rem; }
  .mark { width: 28px; height: 28px; }
  .round, .mega.phone > summary { width: 42px; height: 42px; }
  .cat-subs { grid-template-columns: 1fr; }
  .two { grid-template-columns: minmax(0, 1fr) 7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .blank-mark .mark, .count.bump, .pop[open] { animation: none !important; }
  .nav { transition: none; }
  .toast { animation-name: toast-fade; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@media (prefers-reduced-transparency: reduce) { .nav, .tabbar { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Detail 2026-12-03: krátký popis, ceny bez DPH, velikosti jako volby, fakta, celý popis schovaný. */
.price small, .card-net, .sum small { display: block; font-size: .8125rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.price small { margin-top: .15rem; font-size: .875rem; }
.sum small { flex-basis: 100%; text-align: right; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .5rem; width: 100%; margin: 0; padding: 0; border: 0; }
.sizes legend { margin-bottom: .45rem; padding: 0; font-size: .875rem; font-weight: 500; color: var(--muted); }
.buy .size-opt { position: relative; display: grid; gap: .1rem; min-height: 44px; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font-size: .9375rem; cursor: pointer; font-variant-numeric: tabular-nums; }
.buy .size-opt input { position: absolute; width: 1px; opacity: 0; pointer-events: none; }
.size-opt b { font-weight: 600; }
.size-opt small { font-size: .75rem; color: var(--muted); }
.size-opt:has(:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size-opt:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy .size-opt:has(:disabled) { background: var(--soft); color: var(--muted); cursor: not-allowed; }
.buy-row { display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: end; gap: .75rem; }
.buy-row .btn { flex: 1 1 10rem; }
.facts { display: grid; margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.facts a { text-decoration: underline; text-underline-offset: .2em; }
.more-about { border-bottom: 1px solid var(--line); }
.more-about summary { display: flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.more-about ul { margin: 0 0 1rem; padding-left: 1.1rem; max-width: 65ch; color: var(--muted); }
.more-about p { margin: 0 0 1rem; max-width: 65ch; color: var(--muted); }
.more-about li + li { margin-top: .25rem; }

/* Pás se sponkami 2026-12-03: 14 nejprodávanějších, posouvá se do strany. Šňůra je pozadí seznamu (local), jede s ním. */
.rail-btn .ico { width: 1.1rem; height: 1.1rem; }
.rail-btn.prev .ico { rotate: 180deg; }
@media (hover: none) { .rail-btn { display: none; } }

/* Menu 2026-12-03: kategorie jako rozklikávací <details>; na počítači je site.js otevře všechny. */
summary.mega-head { cursor: pointer; list-style: none; }
summary.mega-head::-webkit-details-marker { display: none; }
summary.mega-head > .ico:last-child { width: 1rem; height: 1rem; padding: 0; margin-left: .35rem; background: none; color: var(--muted); rotate: 90deg; transition: rotate .25s var(--ease); }
details[open] > summary.mega-head > .ico:last-child { rotate: -90deg; }
details.mega-col:not([open]) { border-bottom: 1px solid var(--line); }
@media (min-width: 62rem) { summary.mega-head > .ico:last-child { display: none; } summary.mega-head { cursor: default; } details.mega-col:not([open]) { border-bottom: 0; } }

/* Memy 2026-12-03: obrázek má vlastní bílý výřez, proto bez míchání s dlaždicí a s menším okrajem. */
img.ext[src^="/uploads/meme-"] { mix-blend-mode: normal !important; }
.card-art img.ext[src^="/uploads/meme-"] { padding: 3% 4% 15%; } /* dole místo pro štítek s cenou */

/* Filtry 2026-12-03: kategorie jako záložky s ikonou, podkategorie v panelu, řazení jako přepínač. Předchozí vzhled: docs/v5-filtry. */
.cattabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 10px; margin-inline: -4px; scroll-snap-type: x proximity; }
.cattabs a { position: relative; display: flex; flex: 1 0 6.6rem; flex-direction: column; align-items: center; gap: .3rem; padding: .85rem .6rem .7rem; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: center; scroll-snap-align: start; transition: box-shadow .2s var(--ease), background-color .2s var(--ease), translate .2s var(--ease); }
.cattabs .ico { width: 26px; height: 26px; color: var(--muted); transition: color .2s var(--ease), scale .25s var(--ease); }
.cattabs span { font-size: .875rem; font-weight: 600; line-height: 1.2; }
.cattabs small { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.cattabs a[aria-current] { background: color-mix(in srgb, var(--accent) 8%, var(--card)); box-shadow: inset 0 0 0 2px var(--accent); }
.cattabs a[aria-current] .ico { color: var(--accent); }
.cattabs a:active { translate: 0 1px; }
.subtabs { display: flex; flex-wrap: wrap; gap: .25rem; margin-top: .35rem; padding: .45rem; border-radius: 20px; background: color-mix(in srgb, var(--card) 72%, transparent); box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -18px rgb(40 10 10 / .35); backdrop-filter: blur(14px); }
.subtabs a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .55rem 0 .9rem; border-radius: 14px; font-size: .9375rem; font-weight: 500; transition: background-color .2s var(--ease), color .2s var(--ease); }
.subtabs a:not(:has(small)) { padding-right: .9rem; }
.subtabs small { min-width: 1.9rem; padding: .15rem .45rem; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: .75rem; text-align: center; font-variant-numeric: tabular-nums; }
.subtabs a[aria-current] { background: var(--ink); color: var(--bg); }
.subtabs a[aria-current] small { background: var(--bg); color: var(--ink); }
.sortbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 1rem 0 1.25rem; }
.sortbar p { color: var(--muted); font-size: .9375rem; }
.sortbar p b { color: var(--ink); font-variant-numeric: tabular-nums; }
.seg { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--soft); }
.seg a { display: inline-flex; flex: 1; align-items: center; justify-content: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; font-size: .875rem; font-weight: 600; white-space: nowrap; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.seg a[aria-current] { background: var(--card); box-shadow: 0 2px 8px -2px rgb(40 10 10 / .22); }
@media (hover: hover) {
  .cattabs a:hover { translate: 0 -2px; }
  .cattabs a:hover .ico { color: var(--accent); scale: 1.12; }
  .subtabs a:not([aria-current]):hover, .seg a:not([aria-current]):hover { background: var(--card); }
}
@media (max-width: 40rem) {
  .cattabs a { flex: 0 0 5.9rem; }
  .subtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .subtabs a { flex: none; }
  .seg { width: 100%; }
  .seg a { padding: 0 .4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .cattabs a { animation: tab-in .45s var(--ease) backwards; }
  .cattabs a:nth-child(2) { animation-delay: .04s; }
  .cattabs a:nth-child(3) { animation-delay: .08s; }
  .cattabs a:nth-child(4) { animation-delay: .12s; }
  .cattabs a:nth-child(5) { animation-delay: .16s; }
  .cattabs a:nth-child(n+6) { animation-delay: .2s; }
  .subtabs { animation: tab-in .45s var(--ease) .15s backwards; }
}
@keyframes tab-in { from { opacity: 0; translate: 0 8px; } }
@media (min-width: 40.0625rem) { .cattabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)); overflow: visible; } .cattabs a { padding-inline: .25rem; } }

/* Trička: výběr provedení, barvy a velikosti, motiv na ploše v barvě trička, tabulky rozměrů. */
/* Tričko na postavě: fotka, barva z --tee přes masku, potisk na hrudi, záhyby navrch. */
span.tee { position: relative; display: block; width: 100%; height: 100%; min-height: 0; aspect-ratio: 1; --base: #0e0e0e; --x: 50%; --y: 27%; --w: 30%; --h: 44%; }
span.tee.light { --base: #fff; }
span.tee.m133 { --y: 28%; --w: 26%; --h: 39%; }
span.tee.m135 { --x: 49%; --y: 27%; --w: 27%; --h: 40%; }
span.tee > img.foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
span.tee > i, span.tee > b { position: absolute; inset: 0; pointer-events: none; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
span.tee > i { background: var(--tee, var(--base)); transition: background-color .35s var(--ease); }
span.tee > b { z-index: 2; background-size: 100% 100%; }
span.tee > img.tisk { position: absolute; z-index: 1; left: calc(var(--x) - var(--w) / 2); top: var(--y); width: var(--w); height: var(--h); object-fit: contain; object-position: top; transition: scale .45s var(--ease); }
.tee.m132 > i { -webkit-mask-image: url(tee-132-mask.webp); mask-image: url(tee-132-mask.webp); }
.tee.m132 > b { background-image: url(tee-132-shade.webp); }
.tee.m133 > i { -webkit-mask-image: url(tee-133-mask.webp); mask-image: url(tee-133-mask.webp); }
.tee.m133 > b { background-image: url(tee-133-shade.webp); }
.tee.m135 > i { -webkit-mask-image: url(tee-135-mask.webp); mask-image: url(tee-135-mask.webp); }
.tee.m135 > b { background-image: url(tee-135-shade.webp); }
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .6rem; }
.models button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font: inherit; color: inherit; }
.models button[aria-pressed=true] { outline: 2px solid var(--accent); outline-offset: 1px; }
.models small { display: block; padding: .4rem; font-weight: 600; }
.models span.tee { height: auto; }
@media (hover: hover) { .card-link:hover span.tee > img.tisk { scale: 1.05; } }
.opt { flex: 1 1 100%; border: 0; padding: 0; margin: 0 0 .5rem; min-width: 0; }
.opt legend { font-size: .875rem; color: var(--muted); margin-bottom: .45rem; }
.opt legend b { color: var(--ink); }
.opt > div { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt label { position: relative; cursor: pointer; }
.opt input[type=radio] { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt label > span:not(.sr) { display: flex; align-items: center; justify-content: center; min-height: 44px; min-width: 52px; padding: 0 1rem; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); font-weight: 600; font-size: .9375rem; transition: background-color .2s var(--ease), color .2s var(--ease); }
.opt input:checked + span { background: var(--ink) !important; color: var(--bg); box-shadow: none !important; }
.opt input:focus-visible + span, .opt input:focus-visible + svg { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-opt > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 4px; border-radius: 18px; background: var(--soft); }
.seg-opt label > span:not(.sr) { box-shadow: none; background: transparent; }
.swatches > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: .35rem; }
.swatches label { display: grid; place-items: center; min-height: 46px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.swatches label[hidden] { display: none; }
.swatches label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); }
.swatches svg { width: 32px; height: 32px; border-radius: 50%; pointer-events: none; transition: scale .2s var(--ease); }
.swatches circle { stroke: rgb(0 0 0 / .22); stroke-width: 1; }
.sizes-guide .guide { display: grid; gap: 1.25rem; align-items: start; }
.guide-table { overflow-x: auto; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); padding: .5rem; }
.guide-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; text-align: center; }
.guide-table caption { text-align: left; padding: .7rem .75rem; font-weight: 700; }
.guide-table caption small { display: block; color: var(--muted); font-weight: 400; }
.guide-table th, .guide-table td { padding: .6rem .5rem; font-size: .9375rem; }
.guide-table thead th { font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.guide-table tbody tr:nth-child(odd) { background: var(--soft); }
.guide-table .fine { padding: .6rem .75rem; }
.measure { margin: 0; padding: 1.25rem; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.measure svg { display: block; width: min(100%, 22rem); margin: 0 auto 1rem; }
.measure .tee { fill: var(--soft); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.measure .dim { fill: none; stroke: var(--accent); stroke-width: 1.8; }
.measure text { fill: var(--ink); font-weight: 700; font-size: 13px; }
.measure figcaption { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.js .shirt-hide { display: none; }
@media (hover: hover) { .swatches label:hover svg { scale: 1.12; } .opt label:hover > span:not(.sr) { background: var(--soft); } }
@media (min-width: 60rem) { .sizes-guide .guide { grid-template-columns: 1.4fr 1fr; } .sizes-guide .measure { grid-column: 2; grid-row: 1 / span 3; } .js .sizes-guide .measure { grid-row: 1; } }

/* Nižší patička (majitel 2026-12-03: dole byla zbytečně velká). Stará verze: docs/site-pred-patickou.css */
.foot { margin-top: clamp(2rem, 4vw, 3rem); }
.foot-band { padding-block: 1.1rem; gap: .9rem; }
.foot-band h2 { font-size: 1.25rem; }
.foot-band p { margin-top: .15rem; font-size: .9rem; }
.foot-cols { grid-template-columns: 1.3fr 1fr 1.7fr; gap: 1.5rem 2rem; padding-block: 1.25rem; font-size: .9rem; line-height: 1.45; }
.foot-cols h2 { margin-bottom: .35rem; font-size: .9rem; }
.foot-cols p { margin-bottom: .15rem; }
.foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; align-content: start; }
.foot-cols nav:last-child .foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.foot-links a, .foot-links button, .foot-cols p a { min-height: 28px; }
.foot-small { padding-block: .35rem; }
.foot-small a:not(.logo) { min-height: 32px; }
@media (max-width: 1023px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols nav:last-child { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .foot-cols { grid-template-columns: 1fr; gap: 1rem; }
  .foot-cols nav:last-child .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-links a, .foot-links button, .foot-cols p a, .foot-small a:not(.logo) { min-height: 34px; }
  .foot-band { padding-block: .9rem; }
}

/* Layout 2026-12-03: header like Etsy (wide search, all categories underneath), menu in two panes like Allegro,
   photo tiles, Christmas panel with a rail, parameter table and a following buy bar. Previous look: docs/v8-layout. */
.nav-in { flex-wrap: wrap; }
.nav-find { display: flex; order: 9; flex: 1 0 100%; padding-bottom: .35rem; }
.nav-find input { border-width: 2px; border-color: var(--ink); background: var(--card); }
.nav-find button { right: 4px; width: 36px; height: 36px; top: 4px; background: var(--accent); color: var(--on-accent); }
.nav-links { display: flex; gap: .1rem; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.nav-links a { flex: none; padding: 0 .8rem; }
.nav-links a:first-child { margin-left: auto; }
.nav-links a:last-child { margin-right: auto; }
#vypis { scroll-margin-top: 140px; }

.thumb-art { display: grid; place-items: center; flex: none; overflow: hidden; container-type: inline-size; aspect-ratio: 1; border-radius: 10px; background: var(--tile); }
.thumb-art > img { width: 100%; height: 100%; object-fit: cover; }
.thumb-art > img.ext { object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
[data-theme=h] .thumb-art > img.ext { mix-blend-mode: normal; }
.thumb-art > .sticker { font-size: 11cqi; }
.thumb-art > .ico { width: 45%; height: 45%; color: var(--accent); }

.mega-panel { grid-template-columns: minmax(0, 1fr); align-content: start; max-height: calc(100svh - var(--bar) - 110px); }
.mega-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.mega-head > b { margin-right: auto; font-weight: 600; font-size: 1rem; }
.mega-pane { display: grid; align-content: start; gap: .75rem; padding: .35rem 0 .75rem; }
.mega-all { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; min-height: 48px; padding: .6rem .9rem; border-radius: 14px; background: var(--soft); }
.mega-all b { font-size: 1.0625rem; }
.mega-all span { display: inline-flex; align-items: center; gap: .2rem; color: var(--accent); font-weight: 600; font-size: .875rem; }
.mega-all .ico { width: 1rem; height: 1rem; }
.mega-pane ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .15rem 1rem; margin: 0; }
.mega-col .mega-pane li a { gap: .75rem; min-height: 60px; padding: .25rem .6rem .25rem .25rem; }
.mega-pane li .thumb-art { width: 52px; }
@media (min-width: 62rem) {
  .mega-cols { position: relative; grid-template-columns: 17rem; align-content: start; min-height: 26rem; }
  .mega-head { padding: 0 .6rem 0 .35rem; }
  summary.mega-head { cursor: pointer; }
  summary.mega-head > .ico:last-child { display: block; rotate: 0deg; }
  details[open] > summary.mega-head { background: var(--soft); color: var(--accent); }
  details[open] > summary.mega-head > .ico:last-child { rotate: 0deg; color: var(--accent); }
  details[open] > summary.mega-head > .ico:first-child { background: var(--accent); color: var(--on-accent); }
  .mega-pane { position: absolute; left: 18.5rem; right: 0; top: 0; padding: 0; }
}

.ptiles { display: grid; justify-items: center; gap: 1.25rem; }
.ptiles ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem clamp(.6rem, 2vw, 2rem); width: 100%; margin: 0; padding: 0; list-style: none; }
.ptiles li { width: calc((100% - 1.2rem) / 3); max-width: 11rem; }
.ptiles a { display: grid; gap: .6rem; text-align: center; }
.ptiles .thumb-art { width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: translate .25s var(--ease), box-shadow .25s var(--ease); }
.ptiles b { font-size: .9375rem; font-weight: 600; line-height: 1.25; }
@media (min-width: 800px) { .ptiles li { width: calc((100% - 10rem) / 6); } }

.shop-head { text-align: center; margin-bottom: 1.25rem; }
.shop-head h1 { overflow-wrap: anywhere; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 2rem 0 1.25rem; }
.toolbar .total { margin-left: auto; color: var(--muted); font-size: .9375rem; }
.toolbar .sort select { border-radius: 999px; }
.filterbox { position: relative; }
.filterbox > summary { list-style: none; cursor: pointer; gap: .5rem; }
.filterbox > summary::-webkit-details-marker { display: none; }
.filter-panel { position: absolute; z-index: 20; left: 0; top: calc(100% + 8px); display: grid; gap: .75rem; width: min(34rem, calc(100vw - 2 * var(--gut))); max-height: 65svh; overflow: auto; padding: 1.1rem; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgb(40 10 10 / .45); }
.filter-panel h2 { font-size: .9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border-radius: 999px; background: var(--soft); font-size: .875rem; font-weight: 500; }
.chips small { color: var(--muted); font-variant-numeric: tabular-nums; }
.chips a[aria-current] { background: var(--ink); color: var(--bg); }
.chips a[aria-current] small { color: inherit; }

.promo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: clamp(1rem, 2vw, 2rem); border-radius: 26px; background: color-mix(in srgb, var(--accent) 7%, var(--soft)); }
.promo-side { display: grid; align-content: start; justify-items: start; gap: .8rem; }
.promo-art { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; width: 100%; }
.promo-art .thumb-art { background: var(--card); }
.promo-rail { display: grid; align-content: start; gap: .5rem; min-width: 0; }
.promo-nav { display: flex; justify-content: flex-end; gap: .5rem; }
.promo-list { display: grid; grid-auto-flow: column; grid-auto-columns: min(46%, 14rem); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.promo-list .card { padding: .6rem .6rem .9rem; border-radius: 18px; background: var(--card); scroll-snap-align: start; }
.promo-list .card-add { top: 1rem; right: 1rem; }
@media (min-width: 960px) { .promo { grid-template-columns: minmax(18rem, 26rem) minmax(0, 1fr); } .promo-art { grid-template-columns: 1fr 1fr; max-width: 17rem; } }
@media (hover: none) { .promo-nav { display: none; } }

.box-title { font-size: 1.125rem; margin-bottom: -.4rem; }
.facts.params { display: grid; gap: 0; width: 100%; max-width: 34rem; margin: 0; border-radius: 14px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.facts.params > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; margin: 0; padding: .75rem 1rem; border: 0; }
.facts.params > div:nth-child(odd) { background: var(--soft); }
.facts.params dt { color: var(--muted); }
.facts.params dd { margin: 0; }

.buybar { position: fixed; z-index: 38; left: 8px; right: 8px; bottom: calc(var(--tab) + 18px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .75rem; padding: .6rem; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -20px rgb(40 10 10 / .5); translate: 0 20px; opacity: 0; visibility: hidden; transition: translate .25s var(--ease), opacity .25s var(--ease), visibility .25s; }
.buybar.on { translate: 0 0; opacity: 1; visibility: visible; }
.buybar .thumb-art { width: 48px; }
.buybar p { display: grid; flex: 1; min-width: 0; font-size: .875rem; }
.buybar p b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.buybar .btn { flex: none; }

@media (min-width: 800px) {
  .nav-in { flex-wrap: nowrap; gap: .75rem; }
  .nav-find { order: 0; flex: 1; max-width: none; margin: 0; padding: 0; }
  .nav-find + .round { margin-left: 0; }
  .nav-find input { min-height: 48px; }
  .nav-find button { top: 6px; right: 6px; }
  .buybar { left: auto; right: var(--gut); bottom: 1.25rem; width: min(34rem, 60vw); }
}
@media (min-width: 960px) { .nav-find { max-width: none; } }
@media (hover: hover) {
  .ptiles a:hover .thumb-art { translate: 0 -4px; box-shadow: inset 0 0 0 2px var(--accent); }
  .ptiles a:hover b { text-decoration: underline; text-underline-offset: .2em; }
  .mega-all:hover span { text-decoration: underline; }
  .chips a:not([aria-current]):hover { background: color-mix(in srgb, var(--accent) 12%, var(--soft)); }
}
@media (prefers-reduced-motion: no-preference) {
  .ptiles li { animation: up .45s var(--ease) backwards; }
  .ptiles li:nth-child(2) { animation-delay: .05s; }
  .ptiles li:nth-child(3) { animation-delay: .1s; }
  .ptiles li:nth-child(4) { animation-delay: .15s; }
  .ptiles li:nth-child(5) { animation-delay: .2s; }
  .ptiles li:nth-child(n+6) { animation-delay: .25s; }
  .filterbox[open] .filter-panel { animation: drop .25s var(--ease); }
  details[open] > .mega-pane { animation: tab-in .22s var(--ease); }
}
@media (prefers-reduced-motion: reduce) { .buybar, .ptiles .thumb-art { transition: none; } }
@media (min-width: 62rem) {
  .mega:not(.phone) .mega-find { display: none; }
  .mega:not(.phone) .mega-panel { max-height: calc(100svh - 130px); gap: .9rem; }
  .mega-cols .mega-head { min-height: 40px; }
  .mega-cols .mega-head .ico:first-child { width: 2rem; height: 2rem; padding: .42rem; border-radius: 10px; }
}
/* 14 kategorií se má na 1440 px vejít bez posouvání. */
@media (min-width: 1280px) { .nav-links a { padding: 0 .6rem; font-size: .9rem; } }

/* Vlastní návrh: náhled přiblížený na potisk, vedle něj nástroje. Na telefonu náhled drží nahoře při ruce. */
.navrh .subtabs { grid-column: 1 / -1; justify-self: start; margin: 0; }
.navrh .detail-art { width: 100%; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.navrh span.tee { scale: 1.75; transform-origin: 50% 46%; }
.navrh canvas { touch-action: none; cursor: grab; }
.navrh canvas:active { cursor: grabbing; }
.navrh span.tee > canvas.tisk { position: absolute; z-index: 1; left: calc(var(--x) - var(--w) / 2); top: var(--y); width: var(--w); height: var(--h); outline: 1px dashed rgb(127 127 127 / .7); }
.navrh .detail-art > canvas { width: 86%; aspect-ratio: 1; filter: drop-shadow(0 2px 3px rgb(20 20 30 / .25)) drop-shadow(0 12px 18px rgb(20 20 30 / .18)); }
.navrh canvas.empty { background: url(/uploads/vlastni-tricko-00-00000001.webp) top / 100% auto no-repeat; cursor: pointer; }
.navrh .detail-art > canvas.empty { background: url(/uploads/vlastni-samolepka.webp) center / contain no-repeat; }
.navrh .tools { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; width: 100%; max-width: 34rem; }
.navrh .tools > .btn, .navrh .warn { grid-column: 1 / -1; }
.navrh .tools > .btn { position: relative; cursor: pointer; }
.navrh .tools > .btn:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.navrh .field { display: grid; align-content: start; gap: .35rem; font-size: .875rem; font-weight: 500; }
.navrh .field input { width: 100%; min-height: 48px; accent-color: var(--accent); }
.navrh .color input { padding: 4px; border: 1px solid var(--edge); border-radius: 12px; background: var(--card); }
.navrh .warn { margin: 0; padding: .7rem .9rem; border-radius: 12px; background: var(--chip); color: var(--ink); font-size: .9375rem; }
.navrh .rights { max-width: 34rem; padding: 1rem; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.navrh-check { display: grid; justify-items: start; gap: .6rem; margin: 1rem 0; padding: 1rem; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.navrh-check img { max-width: 300px; height: auto; background: repeating-conic-gradient(#ddd 0 25%, #fff 0 50%) 0 0 / 20px 20px; }
@media (max-width: 61.99rem) { .navrh .tools { order: -1; } }

/* ------------------------------------------------------------------------------------------------
   Úpravy 2026-12-03 večer: kratší hledání, menu s ukázkami zboží, stojan s tričky, vlastní výroba, Vánoce, sklo.
   Předchozí vzhled: docs/v9-pred-upravou.
   ------------------------------------------------------------------------------------------------ */

/* Měkké barevné světlo za stránkou, aby sklo mělo co lámat. */
body { background-image: radial-gradient(46rem 34rem at 88% -6%, rgb(255 190 150 / .34), transparent 70%), radial-gradient(40rem 34rem at -4% 34%, rgb(230 60 80 / .1), transparent 70%); background-attachment: fixed; background-repeat: no-repeat; }

/* Tekuté sklo: průsvitná plocha, světlá hrana a ohyb obrazu u okrajů (glass.js, Chrome a Edge). Jinde rozmazání. */
.glass { position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgb(255 255 255 / .8), rgb(255 255 255 / .66)); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -1px 0 rgb(255 255 255 / .45), inset 0 0 0 1px rgb(255 255 255 / .4), 0 0 0 1px rgb(60 20 20 / .07), 0 18px 40px -22px rgb(60 10 20 / .5); }
[data-theme=h] .glass { background: rgb(30 22 24 / .6); }
@media (prefers-reduced-transparency: reduce) { .glass { background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; } }

.nav { top: 8px; margin: 8px max(8px, calc(var(--gut) - 14px)) 0; padding: 0 14px; border-radius: 28px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.nav-away .nav:not(:has([open])) { translate: 0 calc(-100% - 16px); }
.mega-panel { left: 0; right: 0; }
.tabbar { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
@media (min-width: 800px) { .nav-find { flex: 0 1 46%; margin-left: auto; } }

/* Velké menu: řádky s obrázkem, který se na najetí vynoří od poloviny. */
.mega-cols summary.mega-head { position: relative; isolation: isolate; overflow: hidden; min-height: 46px; transition: color .25s var(--ease); }
.peek { position: absolute; z-index: -1; right: 0; top: 0; width: 58%; height: 100%; object-fit: cover; object-position: 50% 32%; opacity: 0; translate: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 62%); mask-image: linear-gradient(90deg, transparent, #000 62%); transition: opacity .35s var(--ease), translate .45s var(--ease); pointer-events: none; }
summary.mega-head:hover .peek, summary.mega-head:focus-visible .peek, .mega-col.on .peek, .mega-col[open]:not(.flat) .peek { opacity: 1; translate: 0 0; }
.mega-head .face { padding: 0 !important; object-fit: cover; object-position: 50% 20%; background: var(--card); }
.mega-goods { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: .75rem !important; padding-top: .25rem; }
.mega-pane .mega-goods li a { display: grid; grid-template-columns: 1fr auto; align-content: start; gap: .15rem .5rem; min-height: 0; padding: .5rem; border-radius: 18px; font-size: .875rem; line-height: 1.25; }
.mega-pane .mega-goods .thumb-art { grid-column: 1 / -1; width: 100%; aspect-ratio: 1; margin-bottom: .35rem; border-radius: 12px; }
.mega-goods span:not(.thumb-art) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.mega-goods b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mega-goods .thumb-art img { transition: scale .4s var(--ease); }
@media (hover: hover) { .mega-goods a:hover .thumb-art img { scale: 1.06; } }
@media (max-width: 61.99rem) { .mega-goods { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .mega-goods li:nth-child(n+5) { display: none; } }
@media (min-width: 62rem) {
  .mega-panel { scrollbar-gutter: stable; }
  .mega-cols::before { content: ""; position: absolute; z-index: 0; left: 0; top: 0; width: 17rem; height: 46px; border-radius: 14px; background: var(--soft); translate: 0 var(--row, 0); transition: translate .32s var(--ease); }
  .mega-cols > .flat > summary { background: none !important; }
  .flat:not(.on) > summary.mega-head { color: var(--ink); }
  .flat:not(.on) > summary.mega-head > .ico:first-child:not(.face) { background: var(--soft); color: var(--accent); }
  .flat:not(.on) > summary.mega-head > .ico:last-child { color: var(--muted); }
  .mega-head .ico { transition: background-color .25s var(--ease), color .25s var(--ease), translate .25s var(--ease); }
  .on > summary.mega-head > .ico:last-child { translate: 3px 0; }
  /* Všechny panely leží na sobě, přepnutí je prolnutí místo překreslení. */
  .flat > .mega-pane { opacity: 0; visibility: hidden; translate: 14px 0; animation: none !important; transition: opacity .22s var(--ease), translate .34s var(--ease), visibility 0s .22s; }
  .flat.on > .mega-pane { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s var(--ease) .04s, translate .38s var(--ease), visibility 0s; }
  .mega-subs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)) !important; }
}

/* Thumb pictures: shirts hang whole, window stickers fill the tile. */
.thumb-art > img.ext { transition: scale .35s var(--ease); }
.thumb-art > img.ext[src*="/visi-"] { padding: 4% 2% 0; mix-blend-mode: normal; }
.thumb-art > img.ext[src*="okno-"], .card-art img.ext[src*="okno-"] { padding: 0; object-fit: cover; mix-blend-mode: normal; }

/* Výpis: větší obrázky. */
.grid { grid-template-columns: repeat(auto-fill, minmax(min(46%, 270px), 1fr)); gap: clamp(.75rem, 1.6vw, 1.4rem); }
.card-art img.ext { padding: 5%; }
.card-art img.ext[src^="/uploads/meme-"] { padding: 2% 2% 12%; }

/* Úvod: text a vánoční karta vlevo, dva stojany vpravo až ke kraji obrazovky (majitel 2026-12-03). */
.hero { --hx: max(var(--gut), (100% - var(--wide)) / 2); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding-top: clamp(1rem, 2.4vw, 2rem); }
.hero .intro { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; align-content: start; gap: .85rem; width: auto; margin: 0; padding: 0 var(--hx); }
.hero .intro h1 { max-width: 15ch; font-size: clamp(2.1rem, 3.3vw, 3.35rem); }
.hero-racks { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: .5rem; min-width: 0; }
.hero-xmas { position: relative; isolation: isolate; overflow: hidden; --fall: 18rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; width: 100%; max-width: 34rem; margin-top: .6rem; padding: 1.15rem 1.25rem; border-radius: 24px; background: linear-gradient(165deg, #16294a, #2c4a75 60%, #5b7ba3); color: #fff; box-shadow: 0 22px 40px -26px rgb(10 25 55 / .8); transition: translate .3s var(--ease); }
.hero-xmas .snow { opacity: .35; }
.hero-xmas > span:not([class]) { display: grid; justify-items: start; gap: .35rem; }
.hero-xmas > span:not([class]) b { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; }
.hero-xmas > span:not([class]) small { font-size: .875rem; color: #dbe7f6; }
.hero-xmas > span:not([class]) i, .duo-card i { display: inline-flex; align-items: center; gap: .2rem; margin-top: .35rem; padding: .5rem .95rem; border-radius: 999px; background: #fff; color: #16294a; font-style: normal; font-weight: 650; font-size: .875rem; }
.hero-xmas i .ico, .duo-card i .ico { width: 1rem; height: 1rem; }
.hero-xmas-art { display: flex; padding-left: 1.4rem; }
.hero-xmas-art .thumb-art { width: clamp(3.9rem, 5.4vw, 5.2rem); margin-left: -1.4rem; rotate: -9deg; box-shadow: 0 8px 16px -8px rgb(0 0 0 / .6); transition: rotate .35s var(--ease), translate .35s var(--ease); }
.hero-xmas-art .thumb-art:nth-child(2) { rotate: 3deg; translate: 0 -.5rem; }
.hero-xmas-art .thumb-art:nth-child(3) { rotate: 11deg; }
@media (hover: hover) { .hero-xmas:hover { translate: 0 -3px; } .hero-xmas:hover .thumb-art:nth-child(1) { rotate: -15deg; } .hero-xmas:hover .thumb-art:nth-child(3) { rotate: 17deg; } }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 37%) minmax(0, 1fr); gap: clamp(1rem, 2.2vw, 2.25rem); padding-left: var(--hx); }
  .hero .intro { padding: clamp(.75rem, 3.4vw, 3rem) 0 0; }
}

/* Stojan: ocelová tyč, trička na ramínku a samolepky na háčku s klipem. Pohupuje se obsah, příchod patří položce,
   aby se po odjetí myší nepřehrával znovu. */
.rack { position: relative; min-width: 0; }
.rack-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 var(--gut) .35rem; }
.rack-head h2 { font-size: 1.2rem; }
.rack-head h2 a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; }
.rack-head h2 .ico { width: 1rem; height: 1rem; color: var(--accent); }
.rack-head span, .shelf-nav { display: flex; align-items: center; gap: .4rem; }
.rack-rod { position: relative; }
.rack-rod::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 10px; border-radius: 6px 0 0 6px; background: linear-gradient(#8d9097, #f4f5f7 28%, #b3b6bd 58%, #6c6f76); box-shadow: 0 9px 12px -5px rgb(40 10 10 / .4); }
.rack-rod > ul { display: flex; align-items: flex-start; margin: 0; padding: 8px var(--gut) .9rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; list-style: none; }
@media (min-width: 960px) { .rack-head { margin-left: .75rem; } .rack-rod > ul { padding-left: 1.1rem; } }
.rack-rod > ul::-webkit-scrollbar, .shelf-list::-webkit-scrollbar { display: none; }
.rack li { position: relative; flex: none; transform-origin: 50% 12px; }
.rack .tee-on { width: clamp(10rem, 13vw, 14.5rem); margin-inline: -.7rem; }
.rack .stick-on { width: clamp(7.75rem, 9.6vw, 10.75rem); margin-inline: .55rem; }
.rack a { display: grid; justify-items: center; }
.sway { position: relative; display: block; width: 100%; transform-origin: 50% 12px; }
.tee-on .sway > img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 12px rgb(50 15 10 / .28)); }
.hook { display: block; width: 34px; height: 72px; margin: 0 auto -8px; position: relative; z-index: 1; filter: drop-shadow(0 2px 2px rgb(0 0 0 / .3)); }
.piece { display: grid; place-items: center; aspect-ratio: 1; padding: .5rem; border-radius: 16px; background: var(--cut); box-shadow: 0 1px 2px rgb(20 20 30 / .1), 0 16px 26px -18px rgb(40 15 15 / .6); }
.piece img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.pricetag { position: absolute; right: 12%; bottom: 14%; padding: .25rem .55rem; border-radius: 7px; background: #fff; color: #231618; font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums; box-shadow: 0 2px 8px -2px rgb(30 10 10 / .45); rotate: -5deg; }
.tee-on .pricetag { right: 9%; bottom: -3%; }
.stick-on .pricetag { right: -6%; bottom: -13%; }
.rack-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: hidden; max-width: 82%; margin-top: .85rem; font-size: .8125rem; text-align: center; }
.stick-on .rack-name { margin-top: 1.85rem; max-width: 100%; }
@media (hover: hover) { .rack a:hover .rack-name { text-decoration: underline; text-underline-offset: .2em; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .rack a:hover .sway { animation: swing 1.3s var(--ease); } }
@media (prefers-reduced-motion: no-preference) {
  .rack li { animation: hang 1.5s var(--ease) backwards; }
  .rack li:nth-child(2) { animation-delay: .1s; } .rack li:nth-child(3) { animation-delay: .2s; } .rack li:nth-child(4) { animation-delay: .3s; } .rack li:nth-child(n+5) { animation-delay: .4s; }
}

/* Kategorie: 13 dlaždic a k nim Vytvořit vlastní, dvě plné řady po sedmi. */
.ptiles li { max-width: none; }
.ptiles .thumb-art { aspect-ratio: 1; border-radius: 20px; }
@media (min-width: 800px) { .ptiles ul { gap: 1.25rem 1rem; } .ptiles li { width: calc((100% - 6rem) / 7); } }
@media (hover: hover) { .ptiles a:hover .thumb-art > img { scale: 1.07; } }

/* Vytvořit vlastní: skleněná deska nad samolepkami. */
.make { position: relative; margin-top: clamp(2.75rem, 6vw, 5rem); padding: clamp(1rem, 4vw, 3.5rem); border-radius: 32px; overflow: hidden; isolation: isolate; background: #a30f24; }
.make-bg { position: absolute; z-index: -1; inset: -6%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5%; align-content: center; }
.make-bg img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; rotate: -8deg; filter: drop-shadow(0 6px 8px rgb(40 0 0 / .4)); }
.make-bg img:nth-child(even) { rotate: 7deg; translate: 0 12%; }
.make-in { position: relative; display: grid; justify-items: center; gap: .6rem; max-width: 62rem; margin: auto; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 28px; text-align: center; isolation: isolate; }
.make-in h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.make-in ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.5rem, 1.5vw, 1rem); width: 100%; margin: .75rem 0 0; padding: 0; list-style: none; }
.make-in li a { display: grid; justify-items: center; align-content: space-between; gap: .75rem; height: 100%; padding: 1rem .6rem; border-radius: 20px; background: rgb(255 255 255 / .78); transition: translate .3s var(--ease), background-color .3s var(--ease); }
.make-in li img { width: 100%; height: clamp(7rem, 17vw, 13rem); object-fit: contain; }
.make-in li b { padding: .6rem 1.1rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .9375rem; line-height: 1.2; }
@media (hover: hover) { .make-in li a:hover { translate: 0 -5px; background: #fff; } }
@media (max-width: 40rem) { .make-bg { grid-template-columns: repeat(3, 1fr); } .make-in ul { grid-template-columns: 1fr 1fr; } .make-in li:last-child { grid-column: 1 / -1; } .make-in li b { padding: .55rem .8rem; font-size: .875rem; } }

/* Řady nejlepšího z kategorií */
.shelf { padding-top: clamp(2rem, 4vw, 3.25rem); }
.shelf-list { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(10.5rem, 21vw, 17rem); gap: clamp(.75rem, 1.6vw, 1.4rem); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.shelf-list .card { scroll-snap-align: start; }
@media (hover: none) { .shelf-nav .rail-btn { display: none; } }

/* Vánoce: zimní obloha a vločky ve tvaru samolepek, které prodáváme. */
.snow { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.snow i { position: absolute; left: var(--x); top: -90px; width: var(--w); aspect-ratio: 1; background: url(vlocka-1.webp) center / contain no-repeat; opacity: var(--o); }
.snow i:nth-child(4n+2) { background-image: url(vlocka-2.webp); } .snow i:nth-child(4n+3) { background-image: url(vlocka-3.webp); } .snow i:nth-child(4n) { background-image: url(vlocka-4.webp); }
.snow i { --x: 4%; --w: 34px; --o: .95; --d: 19s; --s: -3s; top: 12%; }
.snow i:nth-child(12n+2) { --x: 13%; --w: 20px; --o: .6; --d: 26s; --s: -14s; top: 55%; } .snow i:nth-child(12n+3) { --x: 21%; --w: 54px; --o: .5; --d: 23s; --s: -9s; top: 30%; }
.snow i:nth-child(12n+4) { --x: 30%; --w: 24px; --d: 17s; --s: -1s; top: 74%; } .snow i:nth-child(12n+5) { --x: 39%; --w: 40px; --o: .5; --d: 28s; --s: -20s; top: 8%; }
.snow i:nth-child(12n+6) { --x: 47%; --w: 18px; --d: 21s; --s: -6s; top: 48%; } .snow i:nth-child(12n+7) { --x: 56%; --w: 62px; --o: .42; --d: 25s; --s: -16s; top: 66%; }
.snow i:nth-child(12n+8) { --x: 64%; --w: 26px; --d: 18s; --s: -11s; top: 22%; } .snow i:nth-child(12n+9) { --x: 72%; --w: 44px; --o: .55; --d: 29s; --s: -4s; top: 40%; }
.snow i:nth-child(12n+10) { --x: 81%; --w: 22px; --d: 20s; --s: -18s; top: 80%; } .snow i:nth-child(12n+11) { --x: 89%; --w: 50px; --o: .5; --d: 24s; --s: -8s; top: 15%; } .snow i:nth-child(12n+12) { --x: 96%; --w: 28px; --d: 22s; --s: -13s; top: 58%; }
.snow i:nth-child(n+13) { margin-left: 4.5%; margin-top: 18vh; animation-delay: calc(var(--s) - 7s) !important; }
@media (prefers-reduced-motion: no-preference) { .snow i { top: -90px; animation: snow var(--d) linear var(--s) infinite; } }
@keyframes snow { to { transform: translate3d(40px, var(--fall, 110vh), 0) rotate(300deg); } }
.promo { position: relative; isolation: isolate; overflow: hidden; --fall: 46rem; background: linear-gradient(165deg, #16294a, #2c4a75 60%, #5b7ba3); color: #fff; }
.promo .card { color: var(--ink); }
.promo .round { background: rgb(255 255 255 / .9); color: #16294a; }
.snow.page-snow { position: fixed; z-index: -1; }
body[data-xmas] { --soft: #E3ECF4; --tile: #EDF3F8; --line: #C3D3E1; background: linear-gradient(180deg, #9dbbd8, #c4d7e7 55%, #dbe7f0) fixed; }
body[data-xmas] .shop-head { color: #14284a; }
.nav-links { justify-content: safe center; }
.nav-links a:first-child, .nav-links a:last-child { margin-inline: 0; }

.make .glass { background: linear-gradient(180deg, rgb(255 255 255 / .66), rgb(255 255 255 / .44)); }
.ptiles ul { align-items: flex-start; }

/* Menu v telefonu končí nad spodní lištou. */
@media (max-width: 959px) { .mega-panel { max-height: max(14rem, calc(100svh - 252px)); } }
.tabbar .glass { background: linear-gradient(180deg, rgb(255 255 255 / .93), rgb(255 255 255 / .86)); }
[data-theme=h] .tabbar .glass { background: rgb(30 22 24 / .88); }
/* Osm podkategorií v jedné řadě. */
@media (min-width: 800px) { .ptiles li:first-child:nth-last-child(8), .ptiles li:first-child:nth-last-child(8) ~ li { width: calc((100% - 7rem) / 8); } }
@media (min-width: 800px) { .ptiles li:first-child:nth-last-child(6), .ptiles li:first-child:nth-last-child(6) ~ li { width: calc((100% - 5rem) / 6); } }

/* ------------------------------------------------------------------------------------------------
   Úpravy 2026-12-03 noc: hlavička v jedné řadě, dvě okna na úvodu, košík. Předchozí vzhled: docs/v10-pred-upravou.
   ------------------------------------------------------------------------------------------------ */

/* Hlavička: od 1200 px jsou odkazy mezi Kategorie a hledáním, níž mají vlastní řádek. Okraj shora i ze stran 12 px. */
.nav { top: 12px; margin: 12px 12px 0; padding: 0 12px; }
.nav-away .nav:not(:has([open])) { translate: 0 calc(-100% - 20px); }
.nav-links { order: 10; flex: 1 0 100%; min-width: 0; }
.nav-links a.own { gap: .35rem; margin-right: .25rem; background: var(--accent); color: var(--on-accent); font-weight: 650; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.nav-links a.own .ico { width: 1.05rem; height: 1.05rem; }
.nav-links a.own[aria-current] { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent); }
.nav-links a.own:not([aria-current]):hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
@media (min-width: 800px) and (max-width: 1199px) { .nav-in { flex-wrap: wrap; row-gap: 0; padding-top: 4px; } }
@media (min-width: 1200px) and (max-width: 1359px) {
  .mega:not(.phone) > summary { padding: 0 .8rem; }
  .mega:not(.phone) > summary > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
@media (min-width: 1200px) {
  .nav-in { flex-wrap: nowrap; gap: .5rem; min-height: 68px; }
  .nav-links { order: 0; flex: 0 0 auto; overflow: visible; padding: 0; gap: 0; }
  .nav-links a { padding: 0 .5rem; font-size: .875rem; }
  .nav-find { flex: 1 1 11rem; margin-left: .35rem; }
}
@media (min-width: 1600px) { .nav-in { gap: .75rem; } .nav-links { gap: .15rem; } .nav-links a { padding: 0 .75rem; font-size: .9375rem; } }

/* Další motivy pod dlaždicemi triček. */
.more-subs { align-items: center; }
.more-subs > span { flex: none; padding: 0 .35rem 0 .6rem; color: var(--muted); font-size: .875rem; }
.head.near { margin-top: 2.5rem; }

/* Dvě okna vedle sebe mezi řadami zboží. */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1rem; width: min(100% - 2 * var(--gut), var(--wide)); margin: clamp(2rem, 4vw, 3.25rem) auto 0; }
.duo-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 11rem; padding: clamp(1.15rem, 2.4vw, 2rem); overflow: hidden; border-radius: 28px; text-align: left; transition: translate .3s var(--ease); }
.duo-card > span:first-child { display: grid; justify-items: start; gap: .4rem; }
.duo-card b { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.15; }
.duo-card small { font-size: .9375rem; }
.duo-sale { background: linear-gradient(150deg, #8d0d20, #c91f38); color: #fff; }
.duo-sale i { color: #8d0d20; }
.duo-sale em { font-style: normal; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; rotate: -7deg; }
.duo-kids { background: linear-gradient(150deg, #ffe9bd, #ffcfc0); color: #3a1c12; }
.duo-kids i { background: #3a1c12; color: #fff; }
.duo-art { display: flex; padding-left: 2rem; }
.duo-art .thumb-art { width: clamp(4.75rem, 8vw, 7.5rem); margin-left: -2rem; rotate: -8deg; box-shadow: 0 10px 20px -10px rgb(60 20 10 / .55); }
.duo-art .thumb-art:nth-child(2) { rotate: 4deg; translate: 0 -.6rem; }
.duo-art .thumb-art:nth-child(3) { rotate: 12deg; }
@media (hover: hover) { .duo-card:hover { translate: 0 -3px; } }
@media (max-width: 480px) { .duo-sale em, .duo-art .thumb-art:first-child { display: none; } }

/* Košík: každá položka je karta, vpravo drží souhrn. */
.basket-in { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.25rem; }
.lines { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.lines li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; grid-template-areas: "art what del" "art step sum"; align-items: center; gap: .6rem .9rem; padding: .9rem; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.line-art { grid-area: art; display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden; container-type: inline-size; border-radius: 14px; background: var(--tile); }
.line-art > img { width: 100%; height: 100%; object-fit: contain; }
.line-art .sticker { font-size: 13cqi; border-width: .2em; }
.line-what { grid-area: what; display: grid; justify-items: start; gap: .2rem; min-width: 0; }
.line-what a { font-weight: 600; overflow-wrap: anywhere; }
.line-what small { color: var(--muted); font-size: .875rem; }
.line-what .line-var { padding: .1rem .6rem; border-radius: 999px; background: var(--soft); color: var(--ink); }
.stepper { grid-area: step; justify-self: start; display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--soft); }
.stepper button { width: 40px; height: 40px; border-radius: 50%; background: var(--card); font-size: 1.25rem; line-height: 1; transition: scale .2s var(--spring); }
.stepper button:active { scale: .88; }
.stepper input { width: 3rem; min-height: 40px; padding: 0; border: 0; background: transparent; text-align: center; font-weight: 650; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
html:not(.js) .stepper button { display: none; }
.line-sum { grid-area: sum; justify-self: end; font-size: 1.125rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line-del { grid-area: del; justify-self: end; align-self: start; }
.line-del button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--muted); }
.basket-side { display: grid; gap: .8rem; padding: 1.35rem; border-radius: 24px; background: var(--card); box-shadow: var(--shadow); }
.basket-side h2 { font-size: 1.25rem; }
.basket-go { display: grid; gap: .5rem; }
.basket-go .btn { width: 100%; justify-content: center; }
.basket-sale { display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border-radius: 14px; background: color-mix(in srgb, var(--accent) 9%, var(--card)); font-size: .9rem; font-weight: 600; text-align: left; }
.basket-sale .ico { flex: none; width: 1.15rem; height: 1.15rem; color: var(--accent); }
.basket-why { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .875rem; }
.basket-why li { display: flex; align-items: center; gap: .55rem; }
.basket-why li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (min-width: 900px) {
  .basket-in { grid-template-columns: minmax(0, 1fr) 22rem; }
  .basket-side { position: sticky; top: 150px; }
  .lines li { grid-template-columns: 7rem minmax(0, 1fr) auto 7rem auto; grid-template-areas: "art what step sum del"; gap: 1.1rem; }
  .line-del { align-self: center; }
}
@media (hover: hover) { .line-del button:hover { background: var(--soft); color: var(--error); } .line-what a:hover { text-decoration: underline; } .basket-sale:hover { background: color-mix(in srgb, var(--accent) 15%, var(--card)); } }
@media (prefers-reduced-motion: no-preference) {
  .lines li, .basket-side, .duo-card { animation: up .45s var(--ease) backwards; }
  .lines li:nth-child(2) { animation-delay: .05s; } .lines li:nth-child(3) { animation-delay: .1s; } .lines li:nth-child(n+4) { animation-delay: .15s; }
}

/* Informační stránky a sledování zásilky. */
.svc { display: grid; gap: .75rem; }
.svc li { display: grid; justify-items: start; gap: .4rem; padding: 1.1rem; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.svc h2 { margin: 0; font-size: 1.0625rem; }
.svc h2 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .22em; }
.svc p { color: var(--muted); }
.svc .btn { margin-top: .4rem; }
.prose ol:not([class]) { display: grid; gap: .5rem; padding-left: 1.4rem; list-style: decimal; color: var(--muted); }
.prose ul:not([class]) { color: var(--muted); }
.prose b { color: var(--ink); }
.cookies { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.cookies th, .cookies td { padding: .6rem .6rem .6rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.track-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .375rem; font-size: .8125rem; color: var(--muted); }
.prose .track-steps li { margin: 0; padding-top: .5rem; border-top: 4px solid var(--line); }
.prose .track-steps .is-done { border-color: var(--accent); color: var(--ink); }
.track-steps [aria-current] { font-weight: 700; }
.track-log li { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.prose .track-log li { margin: 0; }
.track-log time { color: var(--muted); font-variant-numeric: tabular-nums; }
.foot-info .foot-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.order .actions { gap: .35rem 1.1rem; }
@media (max-width: 35rem) { .track-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (hover: hover) { .svc h2 a:hover { text-decoration-color: currentColor; } }
