/* =====================================================================
   A&L Prime · GPU — vizuální identita
   ---------------------------------------------------------------------
   Koncept: „Pódium“. Světlý, tichý obchod; jediné temné místo je jeviště
   v hero, kde stojí vlajková karta jako exponát. Všechno ostatní je
   papír, čisté plochy a přesná typografie. Odvaha jen na jednom místě.

   Název / logotyp: A&L Prime + štítek GPU (monospace) ; značka = čtverec
   se zaoblením 9 px, v něm „A&L“, pod ním linka v akcentu.

   Barvy (jeden akcent):
     --paper   #F3F4F6  podklad stránky (studená šedá, ne krém)
     --surface #FFFFFF  karty, panely
     --ink     #0A0B0E  text, patička, jeviště
     --ink-2   #3A3F4A  sekundární text
     --muted   #5F6573  popisky (kontrast 5,4:1 na #F3F4F6)
     --line    #E1E3E8  linky a rámečky
     --accent  #2446FF  ultramarín – CTA, odkazy, záře pod kartou
                         (bílý text na akcentu 6,9:1)
   Typografie: Geist (texty i nadpisy, 400–700), Geist Mono (parametry,
     ceny v přehledech, kódy). Nadpisy: těsné prokládání −0,045 em,
     velikosti přes clamp(): 44–96 px hero, 30–48 px sekce.
   Mřížka: obsah max. 1240 px, okraje clamp(16–40 px), 12 sloupců
     v desktopu, sekce odděleny 96–128 px.
   Rádiusy: 28 jeviště · 18 dlaždice a karty · 12 ovládací prvky ·
     999 tlačítka (tvar pilulky). Ne jeden rádius na všechno.
   Stíny: --sh-1 jemný kontakt, --sh-2 zvednutí při hoveru,
     --sh-glow ultramarínová záře jen u vlajkové karty a primárního CTA.
   Pohyb: jeden řízený vstup v hero (karta vyjede, světlo přejede),
     jinak jen odpovědi na akci (hover, otevření FAQ, toast).
     Respektuje prefers-reduced-motion.
   ===================================================================== */

:root {
  --paper: #F3F4F6;
  --surface: #FFFFFF;
  --ink: #0A0B0E;
  --ink-2: #3A3F4A;
  --muted: #5F6573;
  --line: #E1E3E8;
  --line-2: #CDD1D9;
  --accent: #2446FF;
  --accent-hover: #1634E0;
  --accent-soft: #E8ECFF;
  --ok: #0F7A4A;
  --warn: #9A5B00;

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  --r-stage: 28px;
  --r-tile: 18px;
  --r-ctl: 12px;

  --sh-1: 0 1px 2px rgba(10, 11, 14, .05), 0 1px 1px rgba(10, 11, 14, .03);
  --sh-2: 0 2px 4px rgba(10, 11, 14, .04), 0 12px 32px -8px rgba(10, 11, 14, .16);
  --sh-glow: 0 10px 40px -10px rgba(36, 70, 255, .55);

  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'tnum' 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tlačítka ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-weight: 500; font-size: 15px; letter-spacing: -.01em;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-accent { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-accent:hover { background: var(--accent-hover); box-shadow: var(--sh-glow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #23262E; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.btn-sm { --bh: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Horní lišta + hlavička ---------- */
.topbar { background: var(--ink); color: #C9CDD6; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: #fff; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3DDC97; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(61, 220, 151, .18); }

#hlavicka { position: sticky; top: 0; z-index: 50; }
header.site {
  background: rgba(243, 244, 246, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
header.site.scrolled { border-bottom-color: var(--line); background: rgba(243, 244, 246, .92); }
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo .mark {
  position: relative; width: 38px; height: 38px; border-radius: 9px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: -.04em;
}
.logo .mark::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--accent); }
.logo .word { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; letter-spacing: -.03em; }
.logo .word i { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .02em; padding: 3px 7px; border-radius: 6px; background: var(--ink); color: #fff; }

nav.main { display: flex; gap: 2px; margin-left: 8px; }
nav.main a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background-color .15s, color .15s; }
nav.main a:hover { background: rgba(10, 11, 14, .06); color: var(--ink); }
nav.main a.active { color: var(--ink); background: var(--surface); box-shadow: var(--sh-1); }

.head-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 8px 0 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; transition: background-color .2s;
}
.cart-btn:hover { background: #23262E; }
.cart-btn .count { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--accent); display: grid; place-items: center; font-family: var(--mono); font-size: 12.5px; }
.cart-btn.bump .count { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; place-items: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- HERO: jeviště ---------- */
.stage-wrap { padding: 12px 12px 0; }
.stage {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-stage); background: #000; color: #fff;
  min-height: min(780px, calc(100svh - 128px));
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.stage::before { /* záře pod kartou */
  content: ''; position: absolute; z-index: -1; right: -8%; top: 4%; width: 74%; height: 76%;
  background:
    radial-gradient(50% 40% at 56% 62%, rgba(36, 70, 255, .55), rgba(36, 70, 255, 0) 70%),
    radial-gradient(30% 22% at 60% 66%, rgba(110, 200, 255, .35), rgba(110, 200, 255, 0) 70%);
  filter: blur(10px);
}
.stage::after { /* horizont */
  content: ''; position: absolute; z-index: 0; left: 0; right: 0; bottom: 106px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 30%, rgba(140, 170, 255, .7) 62%, transparent);
}
.stage-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(36px, 5vw, 72px) var(--gutter) 0;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-rows: 1fr auto; column-gap: 24px;
}
.stage-copy { grid-column: 1; align-self: start; max-width: 640px; }
.stage-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #B8BECB; margin-bottom: 26px; }
.stage-kicker b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: #fff; padding: 4px 9px; border-radius: 999px; background: rgba(36, 70, 255, .9); }
.stage h1 { font-size: clamp(40px, 5.3vw, 78px); letter-spacing: -.05em; line-height: .96; font-weight: 600; }
.stage h1 .soft { color: #8C93A3; }
.stage .lead { margin-top: 22px; max-width: 46ch; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.6; color: #C3C8D2; }
.stage .actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.stage-visual { position: absolute; z-index: 1; right: -4%; top: 14%; width: 66%; pointer-events: none; }
.stage-visual img {
  width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(70% 72% at 52% 46%, #000 52%, transparent 86%);
          mask-image: radial-gradient(70% 72% at 52% 46%, #000 52%, transparent 86%);
}
.stage-spec {
  grid-column: 1 / -1; align-self: end; position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; gap: 24px;
  padding: 24px 0 30px; margin-top: 36px;
}
.stage-spec .s span { display: block; font-size: 12.5px; color: #8C93A3; margin-bottom: 6px; }
.stage-spec .s b { font-family: var(--mono); font-weight: 500; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: -.02em; }
.stage-price {
  display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px);
  transition: background-color .2s, border-color .2s;
}
.stage-price:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .34); }
.stage-price .pn { font-size: 12.5px; color: #B8BECB; line-height: 1.3; }
.stage-price .pn b { display: block; color: #fff; font-family: var(--mono); font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.stage-price .go { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }

/* vstup jeviště – jediná orchestrace na stránce */
@media (prefers-reduced-motion: no-preference) {
  .stage-visual { animation: rise 1.4s var(--ease) .1s both; }
  .stage::before { animation: glow 2.2s var(--ease) .3s both; }
  .stage-copy > * { animation: fadeUp .9s var(--ease) both; }
  .stage-copy > *:nth-child(2) { animation-delay: .08s; }
  .stage-copy > *:nth-child(3) { animation-delay: .16s; }
  .stage-copy > *:nth-child(4) { animation-delay: .24s; }
  .stage-spec { animation: fadeUp 1s var(--ease) .5s both; }
}
@keyframes rise { from { opacity: 0; transform: translate3d(6%, 6%, 0) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes glow { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Pás důvěry ---------- */
.trust { margin-top: 12px; }
.trust-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface); border-radius: var(--r-tile); box-shadow: var(--sh-1); border: 1px solid var(--line);
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.trust-item b { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -.015em; }
.trust-item span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ---------- Sekce ---------- */
.block { padding: clamp(72px, 9vw, 120px) 0 0; }
.block.last { padding-bottom: clamp(72px, 9vw, 120px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.045em; }
.section-head p { margin-top: 12px; color: var(--muted); max-width: 52ch; font-size: 16.5px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--ink); white-space: nowrap; padding-bottom: 2px; border-bottom: 1px solid var(--line-2); transition: border-color .2s, color .2s; }
.link-more:hover { color: var(--accent); border-color: var(--accent); }
.link-more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-more:hover svg { transform: translateX(3px); }

/* ---------- Kategorie (bento) ---------- */
.cats { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 12px; }
.cat {
  position: relative; overflow: hidden; border-radius: var(--r-tile); background: var(--ink); color: #fff; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.cat:first-child { grid-row: span 2; }
.cat:nth-child(4) { grid-column: span 2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.cat::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 14, 0) 35%, rgba(10, 11, 14, .82) 100%); }
.cat.light { background: #fff; color: var(--ink); }
.cat.light img { object-fit: contain; object-position: 70% 40%; padding: 18px 18px 70px 32%; }
.cat.light::before { background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0) 60%); }
.cat:hover img { transform: scale(1.05); }
.cat b { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; }
.cat .meta { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.cat .meta span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.cat.light .meta span { background: var(--paper); }
.cat .arrow { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background-color .25s, color .25s, transform .35s var(--ease); }
.cat.light .arrow { background: var(--paper); }
.cat:hover .arrow { background: var(--accent); color: #fff; transform: rotate(-45deg); }
.cat .arrow svg { width: 16px; height: 16px; }

/* ---------- Produktová karta ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); overflow: hidden;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .25s;
}
.card:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--line-2); }
.card .pi { position: relative; display: block; aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.card .pi.light { background: #fff; border-bottom: 1px solid var(--line); }
.card .pi img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.card .pi img.cover { object-fit: cover; }
.card .pi.light img { padding: 14px; }
.card:hover .pi img { transform: scale(1.045); }
.card .pi::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: radial-gradient(60% 100% at 50% 100%, rgba(36, 70, 255, .35), transparent 70%); opacity: 0; transition: opacity .4s var(--ease); }
.card .pi:not(.light):hover::after, .card:hover .pi:not(.light)::after { opacity: 1; }
.tag { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(6px); }
.pi.light .tag { background: var(--paper); }
.tag.repas { background: #FFF1D6; color: #6B3F00; }
.card .pb { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card .brand { font-size: 12.5px; color: var(--muted); }
.card h3 { margin-top: 6px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.28; }
.card h3 a:hover { color: var(--accent); }
.card .chip { margin-top: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.card .price { margin-top: auto; padding-top: 18px; font-size: 22px; font-weight: 600; letter-spacing: -.035em; font-feature-settings: 'tnum' 1; }
.card .pnote { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.card .stock { margin-top: 10px; font-size: 13px; color: var(--ok); display: flex; align-items: center; gap: 7px; }
.card .stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.card .row { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 8px; }

/* ---------- Sestavy MADLA ---------- */
.madla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; }
.madla-visual { position: relative; border-radius: var(--r-tile); overflow: hidden; background: var(--ink); min-height: 520px; }
.madla-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.madla-visual .cap { position: absolute; left: 20px; right: 20px; bottom: 20px; color: #fff; font-size: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(10, 11, 14, .55); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); }
.madla-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; }
.madla-panel h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.045em; }
.madla-panel > p { margin-top: 14px; color: var(--muted); max-width: 54ch; font-size: 16.5px; }
.ledger { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ledger li a { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); transition: background-color .2s, padding .3s var(--ease); }
.ledger li a:hover { background: var(--paper); padding-left: 12px; padding-right: 12px; }
.ledger .nm b { display: block; font-weight: 600; font-size: 16.5px; letter-spacing: -.02em; }
.ledger .nm span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.ledger .pr { font-family: var(--mono); font-size: 15px; font-weight: 500; letter-spacing: -.02em; text-align: right; white-space: nowrap; }
.ledger svg { width: 16px; height: 16px; color: var(--muted); }
.ledger li a:hover svg { color: var(--accent); }
.madla-panel .foot { margin-top: auto; padding-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.madla-panel .foot small { color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-head h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.045em; }
.faq-head p { margin-top: 12px; color: var(--muted); }
.faq-head .btn { margin-top: 24px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .2s, border-color .2s, color .2s; }
.faq-list summary:hover .pm { border-color: var(--ink); }
.faq-list details[open] .pm { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-list .pm svg { width: 14px; height: 14px; }
.faq-list .ans { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 70ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] .ans { animation: fadeUp .45s var(--ease); }
}

/* ---------- Patička ---------- */
footer.site { margin-top: 0; background: var(--ink); color: #A9AFBC; font-size: 14.5px; }
footer.site .wrap { padding-top: clamp(56px, 7vw, 88px); }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: 56px; }
.foot-brand .logo .mark { background: #fff; color: var(--ink); }
.foot-brand .logo .word { color: #fff; }
.foot-brand .logo .word i { background: var(--accent); }
.foot-brand p { margin-top: 18px; max-width: 40ch; }
footer.site h4 { color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer.site a:hover { color: #fff; }
footer.site address { font-style: normal; line-height: 1.7; }
.foot-word { font-size: clamp(56px, 13.5vw, 196px); font-weight: 600; letter-spacing: -.065em; line-height: .8; color: #1B1E25; white-space: nowrap; overflow: hidden; user-select: none; padding-bottom: 8px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid #22252D; font-size: 13px; }

/* ---------- Hlavička podstránek ---------- */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.page-head h1 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -.05em; line-height: 1; }
.page-head p { margin-top: 14px; color: var(--muted); max-width: 64ch; font-size: 16.5px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--line-2); }

/* ---------- Katalog ---------- */
.catalog { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 20px; padding-bottom: clamp(72px, 9vw, 120px); align-items: start; }
.filters { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 20px; }
.fgroup + .fgroup { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.fgroup h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -.005em; }
.fgroup label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; cursor: pointer; color: var(--ink-2); }
.fgroup label:hover { color: var(--ink); }
.fgroup input[type=checkbox] { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 5px; display: grid; place-items: center; cursor: pointer; flex: none; margin: 0; background: #fff; transition: background-color .15s, border-color .15s; }
.fgroup input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
.fgroup input[type=checkbox]:checked::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.fgroup .n { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters #reset { margin-top: 20px; width: 100%; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.toolbar .count { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.toolbar .tools { display: flex; gap: 8px; }
.filter-toggle { display: none; }

input[type=number], input[type=text], input[type=email], input[type=tel], input:not([type]), select, textarea {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-ctl); background: #fff;
  font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
textarea { height: 96px; padding: 12px 14px; resize: vertical; }
select { appearance: none; padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230A0B0E' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.toolbar select { width: auto; height: 38px; border-radius: 999px; font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-tile); padding: 48px 32px; text-align: center; color: var(--muted); }
.empty h3 { font-size: 24px; color: var(--ink); margin-bottom: 8px; }
.empty .btn { margin-top: 20px; }

/* ---------- Detail produktu ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; padding-bottom: 40px; }
.gallery { position: sticky; top: 92px; }
.main-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-stage); background: #000; overflow: hidden; isolation: isolate; }
.main-img.light { background: #fff; border: 1px solid var(--line); }
.main-img img { width: 100%; height: 100%; object-fit: contain; }
.main-img img.cover { object-fit: cover; }
.main-img.light img { padding: 24px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 92px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #000; cursor: pointer; transition: border-color .2s, opacity .2s; opacity: .7; }
.thumbs button.on, .thumbs button:hover { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { padding: 8px 0; }
.info .brand { font-size: 13.5px; color: var(--muted); }
.info h1 { margin-top: 10px; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.045em; line-height: 1.04; }
.info .sku { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; }
.info .sku span { padding: 4px 9px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); }
.info .popis { margin-top: 20px; color: var(--ink-2); font-size: 16.5px; max-width: 56ch; }
.buybox { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 24px; box-shadow: var(--sh-1); }
.buybox .price { font-size: clamp(32px, 3.2vw, 42px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-feature-settings: 'tnum' 1; }
.buybox .pnote { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.buybox .goods { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; }
.buybox .goods::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-top: 7px; }
.buyrow { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buyrow .btn { height: 52px; }
.qty { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer; font-size: 18px; color: var(--ink-2); transition: background-color .15s; }
.qty button:hover { background: var(--paper); color: var(--ink); }
.qty input { width: 44px; height: 100%; border: 0; text-align: center; padding: 0; font-family: var(--mono); font-size: 15px; -moz-appearance: textfield; border-radius: 0; }
.qty input:focus { box-shadow: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ship-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.assure { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.assure div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.assure b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.specs-wrap { padding: 32px 0 clamp(56px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
.specs-wrap h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.04em; }
.specs { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-2); }
.specs th, .specs td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.specs th { width: 34%; font-weight: 500; color: var(--muted); padding-right: 24px; }
.specs td { font-family: var(--mono); font-size: 14px; color: var(--ink); }

/* ---------- Košík ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; padding-bottom: clamp(72px, 9vw, 120px); }
.cart-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 8px 24px; }
.cart-list h2 { font-size: 20px; letter-spacing: -.02em; padding: 18px 0 8px; }
.cart-item { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.cart-item .ti { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #000; }
.cart-item .ti.light { background: #fff; border: 1px solid var(--line); }
.cart-item .ti img { width: 100%; height: 100%; object-fit: contain; }
.cart-item .ti img.cover { object-fit: cover; }
.cart-item h3 { font-size: 16.5px; letter-spacing: -.02em; line-height: 1.3; }
.cart-item h3 a:hover { color: var(--accent); }
.cart-item .meta { margin-top: 5px; font-size: 13px; color: var(--muted); }
.cart-item .meta.m { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.cart-item .right { display: grid; justify-items: end; gap: 8px; }
.cart-item .right b { font-size: 18px; font-weight: 600; letter-spacing: -.03em; font-feature-settings: 'tnum' 1; }
.cart-item .qty { height: 40px; }
.cart-item .qty button { width: 36px; }
.cart-item .qty input { width: 38px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: #B42318; }
.summary { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 24px; box-shadow: var(--sh-1); }
.summary h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 12px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; color: var(--ink-2); }
.sumrow span:last-child { font-family: var(--mono); font-size: 14.5px; color: var(--ink); }
.sumrow.total { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--ink); }
.sumrow.total span:last-child { font-family: var(--font); font-size: 26px; letter-spacing: -.04em; font-feature-settings: 'tnum' 1; }
.summary .pnote { font-size: 13px; color: var(--muted); }
.form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.notice { font-size: 13px; color: var(--ink-2); background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.okmsg { display: none; font-size: 13.5px; color: var(--ok); background: #E7F6EE; border-radius: 12px; padding: 12px 14px; }
.steps { margin-top: 18px; display: grid; gap: 10px; counter-reset: k; }
.steps div { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.steps div::before { counter-increment: k; content: counter(k); width: 22px; height: 22px; border-radius: 50%; background: var(--paper); color: var(--ink); font-family: var(--mono); font-size: 12px; display: grid; place-items: center; }

/* ---------- Kontakt ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; padding-bottom: clamp(72px, 9vw, 120px); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: clamp(22px, 3vw, 36px); }
.box.dark { background: var(--ink); color: #C3C8D2; border-color: var(--ink); position: sticky; top: 92px; }
.box.dark h2 { color: #fff; }
.box h2 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 18px; }
.box dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; row-gap: 12px; column-gap: 16px; font-size: 15px; }
.box dt { color: #8C93A3; font-size: 13.5px; padding-top: 2px; }
.box dd { margin: 0; color: #fff; }
.box dd a { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.box dd a:hover { border-color: #fff; }
.terms h2 { font-size: 20px; letter-spacing: -.02em; margin: 30px 0 10px; }
.terms h2:first-child { margin-top: 0; font-size: 26px; letter-spacing: -.035em; }
.terms p { color: var(--ink-2); max-width: 68ch; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 18px; max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: 0 20px 50px -12px rgba(10, 11, 14, .5);
  transition: transform .45s var(--ease), opacity .3s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast a { flex: none; background: var(--accent); padding: 8px 16px; border-radius: 999px; font-weight: 500; }
.toast a:hover { background: var(--accent-hover); }

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  nav.main a { padding: 8px 10px; font-size: 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-price { grid-column: 1 / -1; justify-self: start; }
  .stage::after { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  nav.main {
    position: absolute; left: 12px; right: 12px; top: 74px; margin: 0; flex-direction: column; gap: 2px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tile); padding: 8px; box-shadow: var(--sh-2);
    opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden;
    transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s;
  }
  nav.main.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s, transform .3s var(--ease); }
  nav.main a { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .cart-btn .lbl { display: none; }
  .stage-inner { grid-template-columns: 1fr; }
  .stage-visual { position: relative; right: auto; top: auto; width: 112%; margin: 8px -6% -10px; }
  .stage-spec { margin-top: 0; }
  .stage::before { top: -6%; right: -20%; width: 130%; height: 46%; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .cat:first-child { grid-row: auto; grid-column: span 2; }
  .cat:nth-child(4) { grid-column: auto; }
  .madla, .faq, .detail, .cart, .two-col, .specs-wrap { grid-template-columns: minmax(0, 1fr); }
  .madla-visual { min-height: 360px; }
  .gallery, .summary, .box.dark { position: static; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .topbar .hide-m { display: none; }
  header.site .wrap { height: 62px; gap: 12px; }
  nav.main { top: 66px; }
  .logo .word { font-size: 16px; }
  .stage-wrap { padding: 8px 8px 0; }
  .stage { border-radius: 22px; min-height: 0; }
  .stage-inner { padding-top: 36px; }
  .stage .actions .btn { flex: 1 1 100%; }
  .stage-spec { gap: 16px 12px; padding-bottom: 22px; }
  .stage-price { justify-self: stretch; justify-content: space-between; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item { padding: 16px 18px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cats { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .cat:first-child { grid-column: auto; }
  .cat.light img { padding: 12px 12px 96px 42%; object-position: right top; }
  .grid, .grid.three { grid-template-columns: minmax(0, 1fr); }
  .card .pi { aspect-ratio: 16 / 10; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cart-list { padding: 4px 16px; }
  .cart-item { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
  .cart-item .right { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; }
  .cart-item .right b { justify-self: end; }
  .form .two, .assure { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 16.5px; }
  .faq-list .ans { padding-right: 0; }
  .box dl { grid-template-columns: 1fr; row-gap: 2px; }
  .box dd { margin-bottom: 10px; }
  .ledger li a { grid-template-columns: minmax(0, 1fr) auto; }
  .ledger li a svg { display: none; }
  .toast { left: 16px; right: 16px; transform: translateY(24px); max-width: none; }
  .toast.show { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
