/* Rip & Ship – ZÁKLAD DIZAJNU verejného webu (www.breakhouse.sk) · etapa 1 · 9. 11. 2026
   Zdroj: klikací prototyp ripandship-poznamky/vizual-1109/prototyp (tokens.css + components.css), len časti, ktoré potrebuje web
   (bez réžie, skladu, makiet platby a nástrojov prototypu). Návod: ripandship-poznamky/vizual-1109/ETAPA1-ZAKLAD.md.

   Načítanie: <link rel="stylesheet" href="/assets/bh.css?v=1" /> – NAHRÁDZA /v2/v2.css, /shop.css aj /fonts/fonts.css (písma sú tu).
   S v2.css ho nekombinovať: obe majú triedy .btn, .chip, .logo, .sec, .hero, .label, .fine, .hunt-cards… s iným vzhľadom.

   Téma (rovnako ako dnes): inline skript v <head> nastaví <html data-theme="light|dark"> podľa localStorage 'theme', inak podľa systému;
   tlačidlo #theme-btn ho prepína (shop-common.js, v2.js, shop.js, ucet/produkt/live) a počas prepnutia dá na <html> triedu .theming.
   Bez JS rozhodne systém (prefers-color-scheme). [data-theme="ink"] = tmavá plocha na svetlom webe (päta, tmavý hero), funguje aj na vnorenom prvku.

   Pravidlá: kontrast textu ≥ 4,5 : 1 (okraje polí ≥ 3 : 1), text na mobile ≥ 14 px, polia 16 px, dotyk ≥ 44 px (hlavné tlačidlá 52 px),
   mobil prvý (desktop od 900 px). Farby len cez premenné. --accent ani --brand-red NIKDY ako farba malého textu – na červený text je --accent-text,
   sivý text len --ink-2. Fotky produktov majú biele pozadie → vždy na --img-bg s mix-blend-mode: multiply (aj v noci).

   Obsah: 0 písma · 1 tokeny a témy · 2 základ · 3 hlavička + menu „Viac“ · 4 tlačidlá · 5 štítky · 6 kartička produktu + stepper
          7 kartička battle · 8 sekcie, mriežky, čipy, hero · 9 formuláre a voľby · 10 košík, položky, súhrn · 11 vysielanie, poradie, kroky
          12 hunt, súťaže, hity · 13 detail battle, mapa miest, rozbaľovanie · 14 záložky, dialóg, spodný panel, lišta košíka, toast
          15 päta · 16 text právnych stránok (.prose) · 17 vložený režim (iframe na /live) · 18 prechod z v2 (dočasné aliasy) · 19 pohyb */

/* ============ 0 PÍSMA (lokálne, rovnaké súbory ako /fonts/fonts.css) ============ */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-grotesque-var-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/fonts/bricolage-grotesque-var-latin-ext.woff2) format('woff2'); 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: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-var-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-var-latin-ext.woff2) format('woff2'); 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; }

/* ============ 1 TOKENY A TÉMY ============ */
/* spoločné (nezávisia od témy) */
:root {
  /* značka – rovnaké vo všetkých témach */
  --brand-red: #E3350D;        /* „&“ v logu, pokéball. Len veľký text/grafika (biela na nej 4,39 : 1) */
  --brand-yellow: #FFCB05;     /* zvýraznenie, košík v hlavičke, „Ty“ */
  --brand-ink: #19171C;        /* päta, tmavý hero, štítok Novinka */
  --brand-cream: #F7F2E8;      /* hlavička */
  --on-accent: #FFFFFF;        /* text na --accent (4,81 : 1) */
  --on-yellow: #19171C;        /* text na žltej (11,7 : 1) */

  /* písma */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Instrument Sans', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* veľkosti písma – na mobile nikdy menej ako --fs-sm (14 px) */
  --fs-sm: 14px;   /* popisky, meta, štítky */
  --fs-base: 16px; /* text, polia formulára (16 px = iPhone nezoomuje) */
  --fs-md: 18px;   /* cena, dôležitý riadok */
  --fs-lg: 22px;   /* nadpis panela, h3 */
  --fs-xl: 28px;   /* h2 mobil */
  --fs-2xl: 36px;  /* h1 mobil, h2 desktop */
  --fs-3xl: 56px;  /* h1 desktop */
  --lh-tight: 1.1;
  --lh: 1.5;

  /* rozostupy (4 px mriežka) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s16: 64px;
  --gutter: 16px;            /* okraj obrazovky na mobile; desktop 32 px (nižšie) */
  --wrap: 1200px;            /* max. šírka obsahu webu */
  --hdr-h: 61px;             /* výška hlavičky (kotvy /#battles sa nezasunú pod ňu) */

  /* dotyk */
  --tap: 44px;               /* minimálna dotyková plocha */
  --tap-lg: 52px;            /* hlavné tlačidlá na mobile */

  /* zaoblenia */
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;

  /* pohyb */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: .15s; --t: .25s; --t-sheet: .32s;

  /* stále lišty */
  --cartbar-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 900px) { :root { --gutter: 32px; } }

/* SVETLÁ téma (predvolená) */
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #F9F6F0;             /* pozadie stránky */
  --header: #F7F2E8;         /* hlavička (PDF dizajnéra) */
  --surface: #FFFFFF;        /* karty, panely */
  --surface-2: #F3EEE4;      /* sekundárne tlačidlá, vybraté pozadie */
  --surface-3: #EAE3D6;      /* stopa obsadenosti, oddelené plochy */
  --img-bg: #F4F0E8;         /* pod fotkou produktu (fotky majú biele pozadie) */
  --ink: #19171C;            /* text 15,4 : 1 */
  --ink-2: #5E5850;          /* tlmený text 6,1–7,0 : 1 */
  --line: #E4DDD0;           /* jemné deliace čiary (dekor) */
  --line-strong: #8A8276;    /* okraj polí formulára 3,8 : 1 */
  --accent: #D92F0C;         /* hlavná akcia – pozadie tlačidla */
  --accent-hover: #C42A09;
  --accent-text: #B8270A;    /* červený TEXT na svetlom (6,3 : 1); #D92F0C na krémovej má len 4,3 */
  --accent-soft: #FDEBE5;    /* pozadie štítku akcie */
  --yellow-soft: #FFF4C2;    /* zvýraznený riadok „Ty“ */
  --yellow-ink: #7A5A00;     /* text na --yellow-soft 5,8 : 1 */
  --ok: #17703B;             /* zelený text 5,5 : 1 */
  --ok-soft: #E8F3EA;
  --info: #1D5FA0;
  --focus: #1D5FA0;          /* obrys fokusu 6,1 : 1 */
  --logo-amp: #E3350D;
  --logo-ink: #19171C;
  --occ-fill: #D92F0C;       /* obsadenosť battle */
  --backdrop: rgba(25, 23, 28, .48);
  --inverse-bg: #19171C;     /* stála lišta košíka, aktívny čip */
  --inverse-fg: #F7F2E8;

  --sh-1: 0 1px 2px rgba(25, 23, 28, .06), 0 1px 1px rgba(25, 23, 28, .04);
  --sh-2: 0 4px 14px rgba(25, 23, 28, .08), 0 1px 3px rgba(25, 23, 28, .06);
  --sh-3: 0 12px 32px rgba(25, 23, 28, .14), 0 2px 6px rgba(25, 23, 28, .08);
  --sh-sheet: 0 -10px 40px rgba(25, 23, 28, .22);
}

/* NOČNÁ téma – <html data-theme="dark"> (nastaví inline skript v <head> / #theme-btn) */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141216;
  --header: #19171C;
  --surface: #1F1C22;
  --surface-2: #2A262E;
  --surface-3: #35303A;
  --img-bg: #F1ECE3;         /* fotky ostávajú na svetlom (majú biele pozadie) */
  --ink: #F3EEE4;            /* 14,6 : 1 */
  --ink-2: #B9B1A6;          /* 7,0–7,9 : 1 */
  --line: #36313B;
  --line-strong: #857D8B;    /* 4,2 : 1 */
  --accent: #D92F0C;         /* tlačidlo ostáva rovnaké, biely text 4,81 : 1 */
  --accent-hover: #E9441F;
  --accent-text: #FF7A5C;    /* červený text na tmavom 5,8–6,6 : 1 */
  --accent-soft: #3A1E17;
  --yellow-soft: #3A3113;
  --yellow-ink: #FFD84A;
  --ok: #5FD38D;
  --ok-soft: #173023;
  --info: #7FB6F0;
  --focus: #7FB6F0;
  --logo-amp: #EF4521;
  --logo-ink: #0B0A0E;
  --occ-fill: #FFCB05;
  --backdrop: rgba(0, 0, 0, .6);
  --inverse-bg: #F3EEE4;
  --inverse-fg: #19171C;

  --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-2: 0 4px 14px rgba(0, 0, 0, .45);
  --sh-3: 0 12px 32px rgba(0, 0, 0, .55);
  --sh-sheet: 0 -10px 40px rgba(0, 0, 0, .6);
}
/* bez JS (inline skript nebežal): nočná podľa systému */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #141216; --header: #19171C; --surface: #1F1C22; --surface-2: #2A262E; --surface-3: #35303A; --img-bg: #F1ECE3;
    --ink: #F3EEE4; --ink-2: #B9B1A6; --line: #36313B; --line-strong: #857D8B;
    --accent: #D92F0C; --accent-hover: #E9441F; --accent-text: #FF7A5C; --accent-soft: #3A1E17;
    --yellow-soft: #3A3113; --yellow-ink: #FFD84A; --ok: #5FD38D; --ok-soft: #173023; --info: #7FB6F0; --focus: #7FB6F0;
    --logo-amp: #EF4521; --logo-ink: #0B0A0E; --occ-fill: #FFCB05; --backdrop: rgba(0, 0, 0, .6); --inverse-bg: #F3EEE4; --inverse-fg: #19171C;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4); --sh-2: 0 4px 14px rgba(0, 0, 0, .45); --sh-3: 0 12px 32px rgba(0, 0, 0, .55); --sh-sheet: 0 -10px 40px rgba(0, 0, 0, .6);
  }
}

/* TMAVÁ PLOCHA na svetlom webe (päta, tmavý hero) – data-theme="ink" na prvku; v nočnom režime vyzerá rovnako */
[data-theme="ink"] {
  color-scheme: dark;
  --bg: #19171C;
  --header: #19171C;
  --surface: #232027;
  --surface-2: #2E2A33;
  --surface-3: #3A3540;
  --img-bg: #F1ECE3;
  --ink: #F5F0E6;
  --ink-2: #C4BCB0;          /* 7,5–8,5 : 1 */
  --line: #3D3843;
  --line-strong: #827A89;
  --accent: #D92F0C;
  --accent-hover: #E9441F;
  --accent-text: #FF7A5C;
  --accent-soft: #3A1E17;
  --yellow-soft: #3A3113;
  --yellow-ink: #FFD84A;
  --ok: #5FD38D;
  --ok-soft: #173023;
  --info: #7FB6F0;
  --focus: #FFCB05;          /* žltý fokus – na tmavej ploche ho vidno */
  --logo-amp: #EF4521;
  --logo-ink: #0B0A0E;
  --occ-fill: #FFCB05;
  --backdrop: rgba(0, 0, 0, .6);
  --inverse-bg: #F5F0E6;
  --inverse-fg: #19171C;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-2: 0 4px 14px rgba(0, 0, 0, .45);
  --sh-3: 0 12px 32px rgba(0, 0, 0, .55);
  --sh-sheet: 0 -10px 40px rgba(0, 0, 0, .6);
}

/* ============ 2 ZÁKLAD ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: var(--lh);
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
  padding-bottom: var(--safe-b);
}
/* krátka stránka (404, nenájdený produkt, prázdny košík): päta pri spodku okna, nie uprostred s krémovým pásom pod ňou. main = jediný pružný
   prvok; width/min-width drží šírku ako doteraz (bez nich sa .wrap zúžil na obsah a /shop pri 390 px pretiekol do strán) */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; min-width: 0; }
body.has-cartbar { padding-bottom: 0; }   /* stála lišta košíka nezakryje pätu: miesto pod lištou dáva päta (nižšie), nie krémový pás pod ňou */
/* prepnutie témy tlačidlom: krátky prechod farieb (trieda .theming na <html> na ~0,4 s, pridáva ju skript tlačidla) */
html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, fill .35s ease !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: var(--lh-tight); }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
@media (min-width: 900px) { h1 { font-size: var(--fs-3xl); } h2 { font-size: var(--fs-2xl); } }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }      /* odrážky v texte: .prose (časť 16) */
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
small { font-size: var(--fs-sm); }   /* nikdy menej ako 14 px (predvolené „smaller“ dá pri 14 px len 11,7 px) */
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
input::placeholder, textarea::placeholder { color: var(--ink-2); opacity: 1; }   /* kontrast ≥ 4,5 : 1 v oboch témach */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 24px; height: 24px; }
.muted { color: var(--ink-2); }
.fine { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }
.label { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.link { color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: flex; flex-direction: column; gap: var(--gap, var(--s4)); }
.row { display: flex; align-items: center; gap: var(--gap, var(--s3)); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: var(--s4); }
.divider { height: 1px; background: var(--line); border: 0; margin: var(--s4) 0; }

/* ============ 3 HLAVIČKA + MENU „Viac“ ============
   Rovnaké HTML na každej stránke (vzor v ETAPA1-ZAKLAD.md). <header class="hdr top"> › .hdr-in › .logo · nav.hdr-nav · details.hdr-more · a.hdr-acc · a.hdr-cart · button#theme-btn.
   Háčiky dnešných skriptov: #theme-btn (.moon/.sun, aria-pressed, .spin), #nav-acc (text = prezývka, je na <span>), .cart-n (počet; skripty pri 0 dávajú hidden).
   Logo = <svg class="logo-ball"><use href="#pokeball"/></svg> + <symbol id="pokeball"> v sprite každej šablóny (balík Rip System ho vymení za znak klienta). */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--header); border-bottom: 1px solid var(--line); }
.hdr:has(.hdr-more[open]) { z-index: 75; }   /* otvorené menu nad lištou košíka */
.hdr-in { display: flex; align-items: center; gap: var(--s2); min-height: 60px; max-width: var(--wrap); margin: 0 auto; padding: var(--s2) var(--gutter); }
.logo { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: var(--tap); margin-right: auto; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.logo-ball { flex: none; width: 30px; height: 30px; color: var(--logo-ink); transition: transform .6s var(--ease); }
.logo:hover .logo-ball { transform: rotate(-30deg); }
.logo em { font-style: normal; color: var(--logo-amp); margin: 0 1px; }
@media (min-width: 900px) { .logo { font-size: 22px; gap: 10px; } .logo-ball { width: 34px; height: 34px; } }
.hdr-nav { display: none; }
/* mobil a tablet: z navigácie len žlté „Shop“ (ako „Shop →“ pred novým vzhľadom), nie na samotnom shope; účet len ikonou (názov ostáva pre čítačku),
   košík neutrálny – dve žlté tlačidlá vedľa seba by splývali. HTML hlavičky sa nemení (rovnaké na všetkých stránkach). */
@media (max-width: 899px) {
  .hdr-nav { display: flex; align-items: center; }
  .hdr-nav a { display: none; }
  .hdr-nav a:first-child:not([aria-current="page"]) { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; border-radius: var(--r); background: var(--brand-yellow); color: var(--on-yellow); font-weight: 700; text-decoration: none; }
  .hdr-acc-t, .hdr-acc .t-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr-in .hdr-cart { background: var(--surface); border-color: var(--line); color: var(--ink); }   /* .hdr-in = prebije základné pravidlo nižšie v súbore */
  .hdr-in .hdr-cart:hover { background: var(--surface-2); }
  .hdr-in .hdr-cart[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
}
@media (max-width: 340px) { .hdr-in .logo > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }   /* 320 px: logo len znakom */
@media (min-width: 900px) {
  .hdr-nav { display: flex; align-items: center; gap: 2px; }
  .hdr-nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; text-decoration: none; }
  .hdr-nav a:hover { color: var(--ink); background: var(--surface-2); }
  .hdr-nav a[aria-current="page"], .hdr-nav a.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
}
.hdr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); min-width: var(--tap); padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; white-space: nowrap; }
.hdr-btn:hover { background: var(--surface-2); }
.hdr-btn[aria-current="page"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.hdr-btn .t-long { display: none; }
@media (min-width: 900px) { .hdr-btn .t-long { display: inline; } }
/* účet s textom: „Účet“ alebo prezývka (skript prepíše #nav-acc) – dlhá prezývka sa skráti */
.hdr-acc { flex: 0 1 auto; min-width: var(--tap); }   /* pri dlhej prezývke sa zúži účet, nie logo */
.hdr-acc-t { display: inline-block; min-width: 0; max-width: 9ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
@media (min-width: 900px) { .hdr-acc-t { max-width: 16ch; } }
/* košík: žltý, s počtom. Pri prázdnom košíku je počet skrytý na každej stránke rovnako (skripty pri 0 dávajú hidden, [hidden] platí).
   Stránky, ktoré košík nenačítavajú (úvod, účet, live mimo panela, doprava, OP, ochrana údajov, 404), počet nepoznajú – ostáva skrytý;
   dopyt na košík by každému návštevníkovi založil košík a cookie (GET /api/public/shop/cart → getOrCreateCart). */
.hdr-cart { background: var(--brand-yellow); border-color: var(--brand-yellow); color: var(--on-yellow); padding: 0 12px; }
.hdr-cart:hover { background: #F2C000; }
.hdr-cart[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--on-yellow); }
.hdr-cart .cart-n, .hdr-cart .n { min-width: 1ch; font-variant-numeric: tabular-nums; }
.hdr-cart.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }
/* prepínač noci: v hlavičke od 900 px, na mobile je v menu „Viac“ (riadok .menu-theme klikne na #theme-btn) */
.hdr-theme { display: none; }
@media (min-width: 900px) { .hdr-theme { display: inline-flex; } }
.theme-btn .sun, .theme-ic-sun { display: none; }
[data-theme="dark"] .theme-btn .sun, [data-theme="dark"] .theme-ic-sun { display: block; }
[data-theme="dark"] .theme-btn .moon, [data-theme="dark"] .theme-ic-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-btn .sun, :root:not([data-theme]) .theme-ic-sun { display: block; } :root:not([data-theme]) .theme-btn .moon, :root:not([data-theme]) .theme-ic-moon { display: none; } }
.theme-btn.spin .ic { animation: spin .55s var(--ease); }
@keyframes spin { from { transform: rotate(-120deg) scale(.4); } to { transform: none; } }
/* úzky telefón: všetko sa zmestí do 360 px; pod 360 px ostane z účtu len ikona (názov ostáva pre čítačku) */
@media (max-width: 380px) { .hdr-in { gap: 6px; } .logo { font-size: 19px; gap: 6px; } .logo-ball { width: 26px; height: 26px; } .hdr-btn { padding: 0 8px; } .hdr-cart { padding: 0 10px; } }
@media (max-width: 359px) { .hdr-acc-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (max-width: 380px) { .hdr-in { gap: 4px; } .hdr-nav a:first-child:not([aria-current="page"]) { padding: 0 8px; } }   /* so „Shop“ v hlavičke: pri 360 px ☰ neprilieha k okraju */
/* úzky mobil so „Shop“ v hlavičke: košík s dvojciferným počtom sa nesmie zúžiť pod svoj obsah (číslo by pretieklo cez rámik) – priestor vezmú medzery a logo */
@media (max-width: 419px) { .hdr-in { gap: 4px; } .hdr-in .hdr-cart { padding: 0 8px; gap: 4px; } .hdr-in .logo { font-size: 18px; gap: 5px; } .hdr-in .logo-ball { width: 26px; height: 26px; } .hdr-nav a:first-child:not([aria-current="page"]) { padding: 0 10px; } }
@media (max-width: 379px) { .hdr-in .logo { font-size: 16px; gap: 4px; } .hdr-in .logo-ball { width: 24px; height: 24px; } .hdr-nav a:first-child:not([aria-current="page"]) { padding: 0 8px; } }

/* menu „Viac“ = <details class="hdr-more"> – funguje bez JS. Mobil: tlačidlo ☰ za košíkom, otvorí spodný panel s tmavým pozadím
   (ťuk na pozadie zavrie). Desktop: odkaz „Viac“ za Live, otvorí rozbaľovacie menu (klik mimo zavrie).
   Zatvorenie po kliknutí na odkaz / ✕ / Esc rieši krátky inline onclick/onkeydown na <details> (vzor v ETAPA1-ZAKLAD.md). */
.hdr-more { order: 9; }   /* mobil: posledné (za košíkom); v HTML je hneď za nav, aby poradie Tab sedelo na desktope */
.hdr-more > summary { list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hdr-more > summary::-webkit-details-marker { display: none; }
.hdr-more-chev { display: none; }
.hdr-more-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }   /* mobil: ☰, názov „Viac“ ostáva pre čítačku */
.hdr-more[open] > summary::before { content: ''; position: fixed; inset: 0; z-index: 1; background: var(--backdrop); cursor: default; animation: fade-in var(--t) var(--ease); }
.hdr-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: var(--s1) var(--gutter) calc(var(--s5) + var(--safe-b)); background: var(--surface); color: var(--ink); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--sh-sheet); animation: sheet-up var(--t-sheet) var(--ease); }
.hdr-panel::before { content: ''; flex: none; width: 40px; height: 5px; margin: 4px auto 0; border-radius: var(--r-pill); background: var(--line-strong); opacity: .6; }   /* úchyt panela */
.hdr-panel-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-right: calc(-1 * var(--s2)); }
.hdr-panel-head h2, .hdr-panel-title { margin: 0; font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 800; letter-spacing: -.02em; line-height: var(--lh-tight); }   /* <p class="hdr-panel-title"> – menu nie je v osnove nadpisov pred <h1> stránky */
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 899px) { html:has(.hdr-more[open]) { overflow: hidden; } }   /* pod otvoreným panelom sa stránka neposúva */
@media (min-width: 900px) {
  .hdr-more { order: 0; position: relative; margin-right: var(--s4); }
  .hdr-more > summary.hdr-btn { min-width: 0; padding: 0 12px; border: 0; background: none; color: var(--ink-2); font-size: var(--fs-base); font-weight: 600; border-radius: var(--r-sm); }
  .hdr-more > summary.hdr-btn:hover, .hdr-more[open] > summary.hdr-btn { color: var(--ink); background: var(--surface-2); }
  .hdr-more-t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .hdr-more-chev { display: block; transition: transform var(--t) var(--ease); }
  .hdr-more[open] .hdr-more-chev { transform: rotate(180deg); }
  .hdr-more-ic { display: none; }
  .hdr-more[open] > summary::before { background: transparent; animation: none; }   /* desktop: priehľadné, len zachytí klik mimo menu */
  .hdr-panel { position: absolute; top: calc(100% + 10px); right: 0; left: auto; bottom: auto; width: 340px; max-height: calc(100dvh - var(--hdr-h) - 24px); padding: var(--s2) var(--s4) var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); animation: drop-in var(--t) var(--ease); }
  .hdr-panel::before { display: none; }
  .hdr-panel-head { display: none; }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
/* obsah menu: zoznam odkazov, riadok nočného režimu, právne odkazy, firma */
.menu-list a, .menu-list button { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); width: 100%; min-height: 52px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font-size: var(--fs-md); font-weight: 700; text-decoration: none; text-align: left; }
.menu-list a::after { content: ''; flex: none; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(-45deg); }   /* šípka › bez ikony */
.menu-list a[aria-current="page"] { color: var(--accent-text); }
.menu-list .ic { color: var(--ink-2); }
.menu-list .menu-sub { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
@media (min-width: 900px) { .menu-list a, .menu-list button { min-height: 44px; font-size: var(--fs-base); } .menu-theme { display: none !important; } }   /* desktop: noc prepína tlačidlo v hlavičke */
/* „Nočný režim · zapnutý/vypnutý“ – stav ukazuje CSS podľa data-theme, nie skript */
.menu-theme .when-dark { display: none; }
[data-theme="dark"] .menu-theme .when-dark { display: inline; } [data-theme="dark"] .menu-theme .when-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .menu-theme .when-dark { display: inline; } :root:not([data-theme]) .menu-theme .when-light { display: none; } }
.menu-legal { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin-top: var(--s4); }
.menu-legal a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.menu-legal a[href="/odstupenie"], .menu-legal a.is-legal { font-weight: 800; color: var(--accent-text); }   /* Odstúpiť od zmluvy tu – zákonná povinnosť, musí byť vidieť */
.menu-co { margin-top: var(--s2); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }

/* ============ 4 TLAČIDLÁ ============
   .btn + .btn-primary (červené, len jedno na obrazovku) / .btn-secondary / .btn-outline / .btn-ghost / .btn-yellow / .btn-ink / .btn-danger;
   veľkosti .btn-sm (stále 44 px), .btn-lg (52 px, hlavné na mobile), .btn-block, .btn-icon; textové .btn-link („Zmeniť“).
   Samotné .btn bez varianty vyzerá ako .btn-secondary (dnešné skripty generujú class="btn"). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: var(--tap); padding: 0 var(--s5); border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface-2); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast), transform var(--t-fast) var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--surface-3); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-yellow { background: var(--brand-yellow); color: var(--on-yellow); border-color: transparent; }
.btn-yellow:hover { background: #F2C000; }
.btn-ink { background: var(--inverse-bg); color: var(--inverse-fg); border-color: transparent; }
.btn-ink:hover { background: var(--inverse-bg); opacity: .9; }
.btn-danger { background: transparent; color: var(--accent-text); border-color: currentColor; }
.btn-danger:hover { background: var(--accent-soft); }
.btn-link { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s2); border: 0; background: none; color: var(--accent-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; white-space: nowrap; cursor: pointer; }
.btn-sm { padding: 0 var(--s3); font-size: var(--fs-sm); }
.btn-lg { min-height: var(--tap-lg); padding: 0 var(--s6); font-size: var(--fs-md); border-radius: var(--r-lg); }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: var(--tap); padding: 0; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn .btn-sub { font-weight: 600; opacity: .92; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ============ 5 ŠTÍTKY ============ */
.badge { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 8px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.badge-sale { background: #B8270A; color: #FFFFFF; }                       /* Akcia −19 % (6,3 : 1) */
.badge-last { background: var(--brand-yellow); color: var(--on-yellow); }  /* Posledné 2 */
.badge-new { background: var(--brand-ink); color: var(--brand-cream); }    /* Novinka – leží vždy na svetlej fotke, preto pevná tmavá aj v nočnom režime */
.badge-live { background: var(--accent); color: var(--on-accent); }        /* Naživo / Otvárame */
.badge-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.2s steps(2) infinite; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }                /* Zaplatené */
.badge-wait { background: var(--surface-2); color: var(--ink-2); }         /* Čaká */
.badge-warn { background: var(--yellow-soft); color: var(--yellow-ink); }  /* Čaká na platbu (5,8 : 1) */
.badge-stop { background: var(--accent-soft); color: var(--accent-text); } /* Vypredané, Skončila (5,5 : 1) */
.badge-me { background: var(--brand-yellow); color: var(--on-yellow); }    /* Ty, Moje vstupy */
.badge-ig { background: #C13584; color: #FFFFFF; }                         /* IG súťaž (5,5 : 1) */
.badge-outline { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
@keyframes blink { 50% { opacity: .25; } }

/* ============ 6 KARTIČKA PRODUKTU + STEPPER ============
   .pcard › .pcard-img (img + .pcard-badges) › .pcard-body (.pcard-meta, .pcard-name, .pcard-price › .price + s.price-old + .price-30, .pcard-stock) › .pcard-cta;
   riadková verzia .pcard--row (pás „Teraz“, výsledky hľadania). */
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.pcard-img { --pad: var(--s3); position: relative; display: block; aspect-ratio: 1 / 1; background: var(--img-bg); }
.pcard-img img { position: absolute; top: var(--pad); left: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); max-width: none; object-fit: contain; mix-blend-mode: multiply; }
.pcard-badges { position: absolute; z-index: 1; top: var(--s2); left: var(--s2); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pcard-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: var(--s3); }
.pcard-meta { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.35; }
.pcard-name { margin: 0; font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; letter-spacing: 0; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.pcard-name a { color: inherit; text-decoration: none; }
.pcard-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: auto; padding-top: 4px; }
.price { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-old { font-size: var(--fs-sm); color: var(--ink-2); white-space: nowrap; }
.price-unit { font-size: var(--fs-sm); color: var(--ink-2); }
.price-30 { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.35; }   /* Omnibus: najnižšia cena za 30 dní pred zľavou pri každej akcii */
.pcard-stock { font-size: var(--fs-sm); font-weight: 600; color: var(--ok); }
.pcard-stock.is-low { color: var(--accent-text); }
.pcard-stock.is-out { color: var(--ink-2); }
.pcard.is-out .pcard-img img { filter: grayscale(1); opacity: .7; }
.pcard > .pcard-cta { padding: 0 var(--s3) var(--s3); }
.pcard-cta > .btn { width: 100%; }
.pcard--row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); padding: var(--s2); }
.pcard--row .pcard-img { --pad: 4px; aspect-ratio: auto; width: 72px; height: 72px; border-radius: var(--r); overflow: hidden; }
.pcard--row .pcard-badges { display: none; }
.pcard--row .pcard-body { padding: 0; gap: 2px; }
.pcard--row .pcard-name { min-height: 0; -webkit-line-clamp: 2; font-size: 15px; }
.pcard--row .pcard-price { padding: 0; margin: 0; }
.pcard--row .price-30 { margin-top: 2px; }
.pcard--row > .pcard-cta { padding: 0; width: 124px; }
.pcard--row .pcard-cta .btn { padding: 0 var(--s3); }
.pcard--row .stepper-n small { display: none; }

.stepper { display: grid; grid-template-columns: var(--tap) minmax(0, 1fr) var(--tap); align-items: center; min-height: var(--tap); border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.stepper-btn { display: grid; place-items: center; width: var(--tap); height: var(--tap); border: 0; background: transparent; color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1; }
.stepper-btn:hover { background: var(--surface-2); }
.stepper-btn[disabled] { color: var(--ink-2); opacity: .5; cursor: not-allowed; }
.stepper-n { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; font-size: var(--fs-base); white-space: nowrap; }
.stepper-n small { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }

/* ============ 7 KARTIČKA BATTLE ============
   .bcard › .bcard-img (+ .badge) › .bcard-body (.bcard-meta, .bcard-name, .bcard-prize, .occ › .occ-bar > span[style="--p: 62%"] + .occ-txt, .bcard-foot, .pcard-cta);
   odkaz v názve (.bcard-name a) urobí klikateľnú celú kartičku, tlačidlo ostane navrchu. Riadková verzia .bcard--row. */
.bcard { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.bcard-img { position: relative; aspect-ratio: 4 / 3; background: var(--img-bg); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.bcard-img .badge { position: absolute; top: var(--s2); left: var(--s2); }
.bcard-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: var(--s3) var(--s4) var(--s4); }
.bcard-meta { font-size: var(--fs-sm); color: var(--ink-2); }
.bcard-name { margin: 0; font-family: var(--font-body); font-size: var(--fs-md); font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.bcard-name a { color: inherit; text-decoration: none; }
.bcard-name a::after { content: ''; position: absolute; inset: 0; }
.bcard .pcard-cta { position: relative; z-index: 1; margin-top: var(--s2); }
.bcard-prize { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.bcard-prize .ic { color: var(--accent-text); }
.bcard-foot { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; padding-top: 4px; }
.occ { display: flex; flex-direction: column; gap: 6px; margin: 4px 0; }
.occ-bar { height: 8px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.occ-bar > span, .occ-bar > i { display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: var(--occ-fill); transition: width var(--t) var(--ease); }
.occ-txt { font-size: var(--fs-sm); color: var(--ink-2); }
.occ-txt b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bcard--row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s3); padding: var(--s2); }
.bcard--row .bcard-img { aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; }
.bcard--row .bcard-img .badge { display: none; }
.bcard--row .bcard-body { padding: 0; }

/* ============ 8 SEKCIE, MRIEŽKY, ČIPY, HERO ============
   <main class="wrap"> › section.sec › .sec-head (h2 + a.sec-more) + .sec-sub + obsah (.pgrid / .hscroll / .stack). */
.sec { padding: var(--s8) 0; }
.sec + .sec { padding-top: 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.sec-head h2 { font-size: var(--fs-xl); }
@media (min-width: 900px) { .sec-head h2 { font-size: 32px; } }
.sec-sub { margin: calc(-1 * var(--s3)) 0 var(--s3); font-size: var(--fs-sm); color: var(--ink-2); }
.sec-more { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sec-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (min-width: 600px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); } }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 76%); gap: var(--s3); margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
.hscroll--narrow { grid-auto-columns: minmax(160px, 46%); }
@media (min-width: 900px) { .hscroll { grid-auto-columns: 300px; } .hscroll--narrow { grid-auto-columns: 220px; } }
.chips { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: var(--tap); padding: 0 var(--s4); border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; white-space: nowrap; text-decoration: none; }
.chip[aria-pressed="true"], .chip[aria-current="true"], .chip[aria-current="page"] { background: var(--inverse-bg); color: var(--inverse-fg); border-color: var(--inverse-bg); }
.chip small { font-weight: 600; opacity: .8; }
.hero { padding: var(--s8) 0; background: var(--bg); color: var(--ink); }
.hero h1 .hl { color: var(--brand-yellow); display: block; }   /* žltá len na tmavom hero (data-theme="ink") */
.hero-lead { margin-top: var(--s3); font-size: var(--fs-md); color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
/* úvod na mobile: kompaktný hero (odpočet alebo „Práve vysielame“) */
.mhero { padding: var(--s5) 0 var(--s6); background: var(--bg); color: var(--ink); }
.mhero-when { display: flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); font-weight: 700; }
.mhero-when .onair-dot { width: 10px; height: 10px; }
.mhero-when.is-live .onair-dot { background: var(--accent); animation: blink 1.2s steps(2) infinite; }
.mhero h1 { margin-top: var(--s3); font-size: 34px; }
.mhero h1 .hl { display: block; color: var(--brand-yellow); }
.mhero-sched { margin-top: var(--s3); font-size: var(--fs-sm); color: var(--ink-2); }
.mhero-sched b { color: var(--ink); }
.mhero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: var(--s5); }
.mhero-cta .btn { padding: 0 var(--s3); }

/* ============ 9 FORMULÁRE A VOĽBY ============
   .field › label (+ .opt nepovinné) + input/select/textarea + .field-hint / .field-err; .field.is-error; .check (checkbox + text, súhlas nikdy predvyplnený);
   voľby (rádio karty): fieldset.choices › label.choice › input[type=radio] + .choice-main (b + span) + .choice-price. */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: var(--fs-sm); font-weight: 700; }
.field .opt { font-weight: 600; color: var(--ink-2); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r); background: var(--surface); color: var(--ink); font-size: 16px; }
.field select { height: 48px; }   /* Safari na Macu pri <select> s vlastným rámom berie len výslovnú výšku (min-height prepíše na 25 px) */
.field textarea, textarea.input { min-height: 96px; padding: 12px 14px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field-hint { font-size: var(--fs-sm); color: var(--ink-2); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--accent-text); }
.field-err { font-size: var(--fs-sm); font-weight: 700; color: var(--accent-text); }
.fields-2 { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 600px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s3); align-items: start; min-height: var(--tap); padding: 10px 0; font-size: var(--fs-sm); line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.check a { color: var(--accent-text); font-weight: 700; }
/* hľadanie: .search › svg.ic + input.input */
.search { position: relative; display: flex; align-items: center; }
.search > .ic { position: absolute; left: 14px; color: var(--ink-2); pointer-events: none; }
.search > .input, .search > input { padding-left: 44px; }
/* prepínač (zapnuté/vypnuté) – notifikácie, „ukázať moje meno“: label.switch › input[type=checkbox] + span */
.switch { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: var(--tap); cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 48px; height: 28px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface-3); cursor: pointer; transition: background-color var(--t-fast); }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-1); transition: transform var(--t-fast) var(--ease); }
.switch input:checked { background: var(--ok); border-color: var(--ok); }
.switch input:checked::after { transform: translateX(20px); }
.choices { display: flex; flex-direction: column; gap: var(--s2); margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.choices-legend { margin-bottom: var(--s2); padding: 0; font-weight: 700; font-size: var(--fs-base); }
.choice { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); min-height: 56px; padding: var(--s3) var(--s4) var(--s3) var(--s3); border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); cursor: pointer; }
.choice input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 0.5px var(--ink); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.choice-main > b { font-size: 15px; }
.choice-main > span { font-size: var(--fs-sm); color: var(--ink-2); }
.choice-price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.choice.is-disabled { opacity: .55; cursor: not-allowed; }
.choice.is-off { cursor: default; background: var(--surface-2); border-style: dashed; }   /* nedostupná voľba s vysvetlením, nie skrytá */
.choice.is-off .choice-main > b { color: var(--ink-2); }
.choice-dot { width: 20px; height: 20px; border: 2px solid var(--line-strong); border-radius: 50%; justify-self: center; }
/* správa nad/pod formulárom */
.msg { padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--surface-2); color: var(--ink); font-size: var(--fs-sm); line-height: 1.45; }
.msg.is-ok { background: var(--ok-soft); color: var(--ok); font-weight: 700; }
.msg.is-err { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }

/* ============ 10 KOŠÍK, POLOŽKY, DOPRAVA, SÚHRN ============ */
/* prepínač Otvoriť na streame / Poslať neotvorené: fieldset.seg › label.seg-opt › input[type=radio] + span; pod tým .seg-hint */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 4px; border: 0; border-radius: var(--r); background: var(--surface-2); min-inline-size: 0; }
.seg-opt { position: relative; display: block; cursor: pointer; }
.seg-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg-opt span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); padding: 4px 8px; border-radius: calc(var(--r) - 4px); color: var(--ink-2); font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; text-align: center; }
.seg-opt input:checked + span { background: var(--surface); color: var(--ink); font-weight: 700; box-shadow: var(--sh-1), inset 0 0 0 1.5px var(--ink); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.seg-hint { margin-top: 6px; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
/* riadok položky: .line-item › .line-item-img, .line-item-name, .line-item-sub, .line-item-price (+ .seg pod tým) */
.line-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s2) var(--s3); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.line-item-img { width: 56px; height: 56px; padding: 3px; border-radius: var(--r-sm); background: var(--img-bg); }
.line-item-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line-item-name { font-weight: 700; line-height: 1.3; }
.line-item-sub { font-size: var(--fs-sm); color: var(--ink-2); }
.line-item-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-item > .seg, .line-item > .seg-hint, .line-item > .line-item-extra { grid-column: 1 / -1; }
/* informačný riadok (kam doručujeme a ako sa platí) a riadok voľby dopravy/kontaktu/platby */
.infoline { display: flex; align-items: flex-start; gap: var(--s2); padding: var(--s2) var(--s3); border-radius: var(--r); background: var(--surface-2); font-size: var(--fs-sm); color: var(--ink); line-height: 1.45; }
.infoline .ic { margin-top: 1px; color: var(--ink-2); }
.ship-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: var(--s3); min-height: 64px; padding: var(--s2) var(--s1) var(--s2) var(--s3); border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); }
.ship-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); }
.ship-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ship-txt > b { font-size: 15px; }
.ship-txt > span { font-size: var(--fs-sm); color: var(--ink-2); }
.ship-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ship-price:empty { display: none; }
.ship-row.is-bundle { border-color: var(--ink); box-shadow: inset 0 0 0 0.5px var(--ink); }
.ship-row.is-bundle .ship-ic { background: var(--brand-yellow); color: var(--on-yellow); }
.ship-row.is-later .ship-ic { background: var(--ok-soft); color: var(--ok); }
/* súhrn: dl.sum › .sum-row (dt/dd), .sum-total; .sum--compact do päty panela */
.sum { display: flex; flex-direction: column; gap: 6px; }
.sum-row { display: flex; justify-content: space-between; gap: var(--s3); font-size: 15px; }
.sum-row dt { color: var(--ink-2); min-width: 0; }
.sum-row dd { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-total { margin-top: 4px; padding-top: var(--s2); border-top: 1px solid var(--line); font-size: var(--fs-md); }
.sum-total dt { color: var(--ink); font-weight: 700; }
.sum-total dd { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); }
.sum--compact { gap: 2px; }
.sum--compact .sum-row { font-size: var(--fs-sm); }
.sum--compact .sum-total { margin-top: 2px; padding-top: 6px; font-size: var(--fs-base); }
.sum--compact .sum-total dd { font-size: var(--fs-md); }
.legal-btn-note { margin-top: var(--s2); font-size: var(--fs-sm); color: var(--ink-2); text-align: center; }
/* objednávka prijatá */
.done-hero { display: grid; justify-items: center; gap: var(--s2); padding: var(--s6) 0 var(--s2); text-align: center; }
.done-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.done-ic .ic { width: 38px; height: 38px; stroke-width: 2.5; }
.done-hero h1 { font-size: var(--fs-xl); }
.done-hero p { color: var(--ink-2); font-size: var(--fs-sm); }

/* ============ 11 VYSIELANIE, VIDEO, PORADIE, KROKY ============ */
/* odpočet / naživo: .onair (+ .is-live) › .onair-dot, .onair-txt (b + span), tlačidlo */
.onair { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s3) var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.onair-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--brand-yellow); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-yellow) 25%, transparent); }
.onair.is-live .onair-dot, .onair-dot.is-live { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); animation: blink 1.2s steps(2) infinite; }
.onair-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.onair-txt > b { font-size: var(--fs-base); }
.onair-txt > span { font-size: var(--fs-sm); color: var(--ink-2); }
.video { position: relative; aspect-ratio: 16 / 9; background: #0B0A0E; color: #F5F0E6; overflow: hidden; }
.video img, .video video, .video iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.video .badge { position: absolute; top: var(--s2); left: var(--s2); }
/* poradie otvárania: .queue › .queue-head, ol.queue-list › .queue-item (.is-now, .is-me[aria-current]) › .queue-pos, .queue-name › .queue-who + .badge-me; .queue-note */
.queue { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s4); }
.queue-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s2); }
.queue-head h3 { font-size: var(--fs-md); }
.queue-list { display: flex; flex-direction: column; }
.queue-item { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: var(--s3); min-height: 52px; padding: 6px var(--s2); border-bottom: 1px solid var(--line); }
.queue-item:last-child { border-bottom: 0; }
.queue-pos { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.queue-name { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 700; }
.queue-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* skráti sa meno, štítok „Ty“ ostane */
.queue-name .badge { flex: none; margin-left: 0; }
.queue-item.is-now .queue-pos { background: var(--accent); color: var(--on-accent); }
.queue-item.is-me { margin: 2px calc(-1 * var(--s2)); padding-left: var(--s4); padding-right: var(--s4); border-radius: var(--r); border-bottom-color: transparent; background: var(--yellow-soft); box-shadow: inset 4px 0 0 var(--brand-yellow); }
.queue-item.is-me .queue-pos { background: var(--brand-yellow); color: var(--on-yellow); }
.queue-me-txt { font-size: var(--fs-sm); font-weight: 700; color: var(--yellow-ink); white-space: nowrap; }
.queue-more { padding: var(--s2); font-size: var(--fs-sm); color: var(--ink-2); }
.queue-note { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.45; }
.queue-note a { color: var(--ink); font-weight: 700; }
.queue-note .btn-link { min-height: var(--tap); padding: 0; vertical-align: middle; color: var(--ink); }
@media (max-width: 380px) { .queue-eta { display: none; } }
/* osobné „Si 3. na rade“ (ďakovná stránka, /live, účet) */
.myturn { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-lg); background: var(--yellow-soft); box-shadow: inset 4px 0 0 var(--brand-yellow); }
.myturn-n { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); line-height: 1; color: var(--ink); }
.myturn-txt { display: flex; flex-direction: column; line-height: 1.3; }
.myturn-txt > b { font-size: var(--fs-md); }
.myturn-txt > span { font-size: var(--fs-sm); color: var(--ink); }
.myturn--big .myturn-n { font-size: 48px; }
.myturn > .btn-link { margin-left: auto; }
/* kroky: ol.steps › li.step › .step-ic + div (b + span) */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(6, 1fr); } }
.step { display: grid; grid-template-columns: 40px 1fr; gap: var(--s3); align-items: start; }
.step-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-text); }
.step b { display: block; font-size: var(--fs-base); }
.step > div > span, .step > span:not(.step-ic) { font-size: var(--fs-sm); color: var(--ink-2); }
.av { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-3); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; }

/* ============ 12 HUNT, SÚŤAŽE, HITY ============ */
.hunt { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: var(--s3); align-items: center; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.hunt h3 { margin-top: var(--s2); font-size: var(--fs-lg); }
.hunt p { margin-top: var(--s1); font-size: var(--fs-sm); color: var(--ink-2); }
.hunt-cards { position: relative; height: 128px; }
.hunt-cards img { position: absolute; top: 4px; width: 64px; border-radius: 4px; box-shadow: var(--sh-2); }
.hunt-cards img:nth-child(1) { left: 0; transform: rotate(-9deg); }
.hunt-cards img:nth-child(2) { left: 24px; top: 0; z-index: 1; transform: rotate(1deg); }
.hunt-cards img:nth-child(3) { left: 48px; transform: rotate(10deg); }
.hunt-list { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.hunt-list .badge { font-weight: 600; }
.hunt-list .badge b { font-weight: 800; }
/* súťaž: .contest › .contest-img + .contest-body (h3, p, .contest-cd odpočet, .contest-foot so štítkami / „Moje vstupy“) */
.contest { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--s3); padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.contest-img { width: 84px; height: 84px; padding: 4px; border-radius: var(--r); background: var(--img-bg); }
.contest-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.contest-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contest-body h3 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.contest-body p { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
.contest-body .contest-cd { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: var(--fs-sm); font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.contest-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--s2); margin-top: 4px; }
.contest.is-done .contest-img img { filter: grayscale(.9); opacity: .7; }
/* hit (top hity, moje hity): .hit › .hit-img + b + .price + span */
.hit { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hit-img { aspect-ratio: 5 / 7; border-radius: var(--r); background: var(--surface-2); overflow: hidden; }
.hit-img img { width: 100%; height: 100%; object-fit: cover; }
.hit b { font-size: var(--fs-sm); line-height: 1.3; overflow-wrap: anywhere; }
.hit .price { font-size: var(--fs-md); }
.hit span { font-size: var(--fs-sm); color: var(--ink-2); }

/* ============ 13 DETAIL BATTLE, MAPA MIEST, ROZBAĽOVANIE ============ */
.bd-img { position: relative; aspect-ratio: 2 / 1; margin: 0 calc(-1 * var(--gutter)); background: var(--img-bg); }
.bd-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bd-img .badge { position: absolute; left: var(--gutter); bottom: var(--s2); }
.bd-back { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: 700; text-decoration: none; color: var(--ink); }
.bd-head { display: flex; flex-direction: column; gap: var(--s2); padding-top: var(--s3); }
.bd-head h1 { font-size: var(--fs-xl); }
.bd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px var(--s2); }
.bd-price .price { font-size: var(--fs-xl); }
.bd-cta { display: grid; grid-template-columns: 1fr; gap: var(--s2); margin-top: var(--s2); }
.bd-cta.has-qty { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bd-cta .stepper, .bd-cta .btn { min-height: var(--tap-lg); }
/* mapa miest v battle: .seats › .seat (.is-taken, .is-me); legenda .seats-legend › i(.is-taken/.is-me) + text */
.seats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.seat { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-sm); background: var(--surface-3); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; font-variant-numeric: tabular-nums; }
.seat.is-taken { background: var(--inverse-bg); color: var(--inverse-fg); }
.seat.is-me { background: var(--brand-yellow); color: var(--on-yellow); box-shadow: inset 0 0 0 2px var(--ink); }
.seats-legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: var(--fs-sm); color: var(--ink-2); }
.seats-legend i { display: inline-block; width: 14px; height: 14px; margin-right: 6px; border-radius: 4px; vertical-align: -2px; background: var(--surface-3); }
.seats-legend i.is-taken { background: var(--inverse-bg); }
.seats-legend i.is-me { background: var(--brand-yellow); }
.seat:not(.is-taken):not(.is-me), .seats-legend i:not(.is-taken):not(.is-me) { box-shadow: inset 0 0 0 1px var(--line-strong); }   /* voľné miesto: viditeľný okraj 3,5 : 1 */
/* rozbaľovanie (pravidlá, „Čo keď vyhrám“): details.fold › summary (text + svg.ic šípka) + .fold-body */
.fold { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 52px; padding: 0 var(--s4); font-weight: 700; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary .ic { transition: transform var(--t) var(--ease); }
.fold[open] > summary .ic { transform: rotate(180deg); }
.fold-body { display: flex; flex-direction: column; gap: var(--s2); padding: 0 var(--s4) var(--s4); font-size: 15px; }
.fold-body li { position: relative; padding-left: 18px; }
.fold-body li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); }

/* ============ 14 ZÁLOŽKY, DIALÓG, SPODNÝ PANEL, LIŠTA KOŠÍKA, TOAST ============ */
/* záložky: .tabs › button.tab[role=tab][aria-selected] (aj .tab.on) */
.tabs { display: flex; gap: var(--s4); border-bottom: 1px solid var(--line); margin-bottom: var(--s5); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap); min-width: var(--tap); padding: 0 2px; border: 0; background: none; color: var(--ink-2); font-weight: 700; white-space: nowrap; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; }
.tab[aria-selected="true"], .tab.on { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
/* dialóg (Rip Dex, potvrdenia): <dialog class="dlg"> › .dlg-head (h2 + zatvárací .btn-ghost.btn-icon) · .dlg-body · .dlg-foot */
.dlg { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); color: var(--ink); box-shadow: var(--sh-3); }
.dlg::backdrop { background: var(--backdrop); }
.dlg[open] { animation: dlg-in var(--t) var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s3) var(--s2) var(--s6); }
.dlg-head h2 { font-size: var(--fs-lg); }
.dlg-body { display: flex; flex-direction: column; gap: var(--s3); padding: 0 var(--s6) var(--s5); }
.dlg-foot { display: flex; justify-content: flex-end; gap: var(--s2); padding: var(--s4) var(--s6); border-top: 1px solid var(--line); background: var(--surface-2); }
/* spodný panel (bottom sheet): section.sheet[role=dialog][hidden] › .sheet-handle, .sheet-head, .sheet-body, .sheet-foot; .sheet-backdrop.
   Otvorenie: odstrániť hidden a pridať .is-open (pozadie tiež .is-open), html.sheet-lock – správanie si rieši skript stránky. */
.sheet-backdrop { position: fixed; inset: 0; z-index: 60; background: var(--backdrop); opacity: 0; transition: opacity var(--t-sheet) var(--ease); }
.sheet-backdrop.is-open { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; flex-direction: column; max-height: calc(100dvh - 32px); background: var(--surface); color: var(--ink); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--sh-sheet); transform: translateY(105%); transition: transform var(--t-sheet) var(--ease); padding-bottom: var(--safe-b); }
.sheet.is-open { transform: translateY(0); }
.sheet--tall { top: var(--sheet-top, 12dvh); max-height: none; }   /* /live: video ostane hore (nastav --sheet-top na výšku videa) */
.sheet--full { top: 0; max-height: none; border-radius: 0; }
@media (min-width: 900px) {
  .sheet { left: 50%; right: auto; width: min(560px, 100vw); transform: translate(-50%, 105%); }
  .sheet.is-open { transform: translate(-50%, 0); }
  .sheet--tall { top: 6dvh; }
}
.sheet-handle { width: 40px; height: 5px; margin: 8px auto 0; border-radius: var(--r-pill); background: var(--line-strong); opacity: .6; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s1) var(--s2) var(--s2) var(--gutter); flex: none; }
.sheet-head h2 { font-size: var(--fs-lg); }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) var(--s5); }
.sheet-foot { flex: none; padding: var(--s3) var(--gutter) var(--s4); border-top: 1px solid var(--line); background: var(--surface); }
.sheet-foot .check { padding: 6px 0; }
html.sheet-lock, html.sheet-lock body { overflow: hidden; }
/* stála lišta košíka: .cartbar › .cartbar-sum (b + span) + .btn.btn-primary; .is-hidden / .is-tucked schová */
html:has(.cartbar:not([hidden])) { scroll-padding-bottom: calc(var(--cartbar-h) + 16px); }   /* prvok s fokusom (Tab) nezájde pod stálu lištu košíka */
.cartbar { position: fixed; left: var(--s3); right: var(--s3); bottom: calc(var(--s3) + var(--safe-b)); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 64px; padding: var(--s2) var(--s2) var(--s2) var(--s4); border-radius: var(--r-lg); background: var(--inverse-bg); color: var(--inverse-fg); box-shadow: var(--sh-3); text-decoration: none; transform: translateY(0); transition: transform var(--t) var(--ease), opacity var(--t); }
.cartbar.is-hidden, .cartbar.is-tucked { transform: translateY(140%); opacity: 0; pointer-events: none; }
.cartbar-sum { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.cartbar-sum > b { font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.cartbar-sum > span { font-size: var(--fs-sm); opacity: .9; }
.cartbar .btn { min-height: 48px; }
@media (min-width: 900px) { .cartbar { left: auto; right: var(--s8); width: 420px; } }
/* toast: krátka správa dole (.toast.is-on) */
.toast { position: fixed; left: 50%; bottom: calc(var(--s3) + var(--safe-b) + 76px); z-index: 80; display: flex; align-items: center; gap: var(--s2); max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: var(--r); background: var(--inverse-bg); color: var(--inverse-fg); font-size: var(--fs-sm); font-weight: 700; box-shadow: var(--sh-3); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform var(--t) var(--ease), opacity var(--t); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ============ 15 PÄTA ============
   <footer class="foot bottom" data-theme="ink"> › .wrap.foot-in › (logo + .foot-tag + .foot-social) · nav.foot-links · .foot-co (SAMIMA s.r.o., adresa, IČO, IČ DPH).
   Odkaz <a href="/odstupenie">Odstúpiť od zmluvy tu</a> musí byť v päte presne takto (test withdrawals) – zvýrazní ho CSS podľa href, nie trieda. */
.foot { margin-top: var(--s12); padding: var(--s8) 0 calc(var(--s8) + var(--safe-b)); background: var(--bg); color: var(--ink); }
[data-theme="dark"] .foot { border-top: 1px solid var(--line-strong); }   /* noc: pozadie stránky #141216 a päta #19171C sú takmer rovnaké (1,1 : 1) – čiara ukáže, kde obsah končí */
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .foot { border-top: 1px solid var(--line-strong); } }
body.has-cartbar .foot { padding-bottom: calc(var(--cartbar-h) + 28px + var(--safe-b)); }
.foot-in { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1.2fr 2fr; align-items: start; } }
.foot .logo { margin: 0; }
.foot-tag { margin-top: var(--s2); font-size: var(--fs-sm); color: var(--ink-2); }
.foot-social { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin-top: var(--s2); }
.foot-social a, .foot-social span { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; }
.foot-social a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
@media (min-width: 900px) { .foot-links { grid-template-columns: repeat(3, 1fr); } }
.foot-links > span { display: contents; }   /* objednavka.html: <span id="withdraw-foot"> okolo odstúpenia (skript ho skrýva pri objednávke zo streamu) */
.foot-links a { display: flex; align-items: center; min-height: var(--tap); min-width: 0; color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-links a[href="/odstupenie"], .foot-links a.is-legal { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--accent-text); }   /* zákonná povinnosť, musí byť vidieť */
[data-theme="ink"] .foot-links a[href="/odstupenie"], [data-theme="ink"] .foot-links a.is-legal { color: var(--brand-yellow); }
.foot-co { grid-column: 1 / -1; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.foot-co a { color: inherit; }

/* ============ 16 TEXT PRÁVNYCH A INFORMAČNÝCH STRÁNOK ============
   <main class="wrap prose"> (OP, ochrana údajov, doprava, podmienky súťaží, odstúpenie, 404). .legal = to isté (dnešná trieda právnych stránok).
   Vráti odrážky zoznamom, rozostupy odsekov, podčiarknuté odkazy, rámček .box a tabuľky (široká tabuľka sa posúva vo vnútri, nie celá stránka). */
.prose, .legal { max-width: 860px; padding-top: var(--s6); padding-bottom: var(--s6); }
.prose > * + *, .legal > * + * { margin-top: var(--s3); }
.prose h1, .legal h1 { font-size: var(--fs-2xl); }
@media (min-width: 900px) { .prose h1, .legal h1 { font-size: 44px; } }
.prose h2, .legal h2 { margin-top: var(--s8); font-size: var(--fs-lg); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.prose h3, .legal h3 { margin-top: var(--s5); font-size: var(--fs-md); }
.prose p, .prose li, .legal p, .legal li { line-height: 1.6; }
.prose ul, .legal ul { list-style: disc; padding-left: 1.4em; }
.prose ol, .legal ol { list-style: decimal; padding-left: 1.6em; }
.prose li + li, .legal li + li { margin-top: 6px; }
.prose li::marker, .legal li::marker { color: var(--ink-2); }
.prose a:not(.btn), .legal a:not(.btn) { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose .box, .legal .box { padding: var(--s4) var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-1); }
.prose .box > * + *, .legal .box > * + * { margin-top: var(--s2); }
.prose table, .legal table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td, .legal th, .legal td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th, .legal th { font-size: var(--fs-sm); color: var(--ink-2); font-weight: 700; }
.prose .muted, .legal .muted { color: var(--ink-2); }

/* ============ 17 VLOŽENÝ REŽIM (stránka shopu v paneli na /live, iframe) ============
   Inline skript v <head>: if(self!==top)document.documentElement.classList.add('embed'); – bez hlavičky a päty, menšie okraje. */
html.embed .hdr, html.embed .foot { display: none !important; }
html.embed body { padding-bottom: var(--safe-b); }
html.embed .sec { padding: var(--s4) 0; }
html.embed h1 { font-size: var(--fs-xl); }

/* ============ 18 PRECHOD Z v2 (dočasné aliasy) ============
   Len aby triedy, ktoré dnes generujú skripty a server (v2.js, shop.js, seo.js, OP), nevyzerali rozbito, kým ich stránky neprepíšu.
   V novom HTML nepoužívať – po prepise všetkých šablón sa táto časť zmaže. */
.btn.yellow { background: var(--brand-yellow); color: var(--on-yellow); border-color: transparent; }
.btn.red { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.btn.red:hover { background: var(--accent-hover); }
.btn.big { min-height: var(--tap-lg); padding: 0 var(--s6); font-size: var(--fs-md); border-radius: var(--r-lg); }
.btn.small { padding: 0 var(--s3); font-size: var(--fs-sm); }
.linkish { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: var(--accent-text); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; cursor: pointer; }
.sticker { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 8px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.sticker.red { background: #B8270A; color: #FFFFFF; }
.sticker.yellow { background: var(--brand-yellow); color: var(--on-yellow); }
.sticker.black, .sticker.ink { background: var(--brand-ink); color: var(--brand-cream); }
.sticker.ig { background: #C13584; color: #FFFFFF; }
.chip.sale, .chip.ok, .chip.no, .chip.live { min-height: 26px; padding: 2px 8px; border: 0; border-radius: var(--r-sm); }
.chip.sale { background: #B8270A; color: #FFFFFF; }
.chip.ok { background: var(--brand-yellow); color: var(--on-yellow); }
.chip.no { background: var(--surface-2); color: var(--ink-2); }
.chip.live { background: var(--accent); color: var(--on-accent); }
.tilt-l, .tilt-r { transform: none; }
.halftone { display: none; }
.empty { padding: var(--s5); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); font-weight: 600; }
.empty a, .empty .linkish { color: var(--accent-text); }

/* ============ 19 POHYB (menej pohybu podľa systému) ============ */
@media (prefers-reduced-motion: reduce) {
  .badge-live::before, .onair-dot, .onair.is-live .onair-dot, .mhero-when.is-live .onair-dot { animation: none; }
  .hdr-panel, .hdr-more[open] > summary::before, .dlg[open], .theme-btn.spin .ic, .hdr-cart.bump { animation: none; }
  .sheet, .sheet-backdrop, .cartbar, .toast, .logo-ball, .btn { transition: none; }
  html.theming, html.theming *, html.theming *::before, html.theming *::after { transition: none !important; }
}
