/* =========================================================
   SPORTARSENAL.SK — redizajn (HTML prototyp)
   Dizajn vychádza zo sportarsenal.cz (výrobca):
   — čierna + žltá (#fdc700), biely obsah
   — skosené prvky (parallelogram / chevron), italic verzálky
   — logo v strede hlavičky, mega-menu Umiestnenie × Produktové rady
   Pripravené na rozpad do Blade komponentov / partials.
   Konvencia tried: BEM-lite (blok__element --modifikátor)
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --c-black:       #111111;
  --c-dark:        #1c1c1c;
  --c-dark-2:      #262626;
  --c-dark-3:      #333333;
  --c-yellow:      #fdc700;   /* žltá z loga */
  --c-yellow-dark: #e0b000;
  --c-yellow-soft: #fff6d0;
  --c-bg:          #f4f4f4;
  --c-surface:     #ffffff;
  --c-text:        #2b2b2b;
  --c-muted:       #6f6f6f;
  --c-line:        #e4e4e4;
  --c-green:       #1e9e5a;
  --c-green-soft:  #e4f5ec;
  --c-red:         #d64040;
  --c-gold:        #f5b301;

  /* alias pre staršie inline štýly */
  --c-accent:      #a88400;

  --radius:    6px;
  --radius-sm: 4px;
  --shadow:    0 1px 2px rgba(0,0,0,.07), 0 8px 24px rgba(0,0,0,.09);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1);

  --font: "Roboto", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-sport: "Exo 2", "Roboto", sans-serif;   /* nadpisy — športová italic */
  --container: 1240px;

  /* skosenie prvkov (parallelogram) */
  --clip-skew: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* `display` z vlastného štýlu prebije UA pravidlo `[hidden] { display: none }`
   bez ohľadu na špecificitu — bez tohto by skryté panely ostali viditeľné */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 .8em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.icon { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* športový nadpis — italic verzálky ako na sportarsenal.cz */
.sport-h {
  font-family: var(--font-sport);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- 3. Buttons (skosené) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  clip-path: var(--clip-skew);
  font-family: var(--font-sport); font-style: italic; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; font-size: 14px;
  transition: .15s ease; white-space: nowrap;
}
.btn--primary { background: var(--c-yellow); color: #111; }
.btn--primary:hover { background: var(--c-yellow-dark); }
.btn--dark { background: var(--c-black); color: var(--c-yellow); }
.btn--dark:hover { background: var(--c-dark-3); }
.btn--ghost { background: transparent; color: var(--c-black); box-shadow: inset 0 0 0 2px var(--c-black); clip-path: none; }
.btn--ghost:hover { background: var(--c-black); color: var(--c-yellow); }
.btn--lg { padding: 16px 34px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- 4. Horný pruh + top bar ---------- */
/* žlto-čierny prúžok ako na sportarsenal.cz */
.topstripe { height: 6px; background: linear-gradient(100deg, var(--c-yellow) 0 55%, var(--c-black) 55% 100%); }

/* Blade: partials/topbar.blade.php */
.topbar { background: var(--c-black); color: #bdbdbd; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar__usps { display: flex; gap: 28px; }
.topbar__usp { display: inline-flex; align-items: center; gap: 7px; }
.topbar__usp .icon { width: 15px; height: 15px; color: var(--c-yellow); }
.topbar__usp strong { color: #fff; font-weight: 700; }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a:hover { color: var(--c-yellow); }

/* ---------- 5. Header: logo v strede ---------- */
/* Blade: partials/header.blade.php */
.header { background: var(--c-surface); border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 50; }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 18px 0 14px; }

.header__left { display: flex; gap: 8px; }
.iconbtn {
  width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center;
  color: var(--c-black); transition: .15s;
}
.iconbtn:hover { background: var(--c-yellow); }

.logo { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.logo__img { height: 52px; width: auto; }
.logo__tagline {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text);
}
.logo__tagline strong { font-weight: 700; }

.header__cart { display: flex; align-items: center; gap: 12px; justify-self: end; color: var(--c-black); }
.header__cart .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.header__cart-ico { position: relative; display: grid; place-items: center; flex: none; }
/* počet kusov v odznaku — na mobile je to jediné, čo z košíka ostane */
.header__cart-badge {
  position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--c-yellow); color: #111;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.header__cart-label { display: block; font-size: 12.5px; color: var(--c-muted); }
.header__cart strong { font-size: 15.5px; }
.header__cart:hover strong { text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 3px; }

/* ---------- 6. Hlavná navigácia ---------- */
/* Blade: partials/nav.blade.php */
.nav { background: var(--c-surface); }
.nav__list { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px 14px; font-weight: 500; font-size: 15px; color: var(--c-black);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.nav__link:hover, .nav__link.is-active { border-color: var(--c-yellow); }
.nav__link--strong { font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.nav__link--sale { font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; color: var(--c-black); }
.nav__link--sale:hover { color: var(--c-red); border-color: var(--c-red); }
.nav__link .icon { width: 14px; height: 14px; }

/* ---------- 7. MEGA panel — Umiestnenie × Produktové rady ---------- */
/* Blade: components/mega-menu.blade.php — hlavný vizuál homepage */
.mega {
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 3px, transparent 3px 90px),
    linear-gradient(180deg, #232323, #161616);
  padding: 36px 0 44px;
}
.mega__block { display: flex; margin-bottom: 26px; box-shadow: var(--shadow); }
.mega__block:last-child { margin-bottom: 0; }

.mega__side {
  background: var(--c-dark-2); color: #fff; flex: none; width: 58px;
  display: grid; place-items: center;
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em; font-size: 21px;
}
.mega__side span { writing-mode: vertical-rl; transform: rotate(180deg); }

/* flex namiesto mriežky: promo panel sa vykresľuje len keď má fotku,
   pri pevných stĺpcoch by po jeho vynechaní ostalo prázdne miesto */
.mega__cols { flex: 1; display: flex; min-width: 0; }
.mega__col { background: #1e1e1e; padding-bottom: 10px; flex: 1 1 0; min-width: 0; }

.mega__head {
  background: var(--c-dark-2); color: #fff; padding: 12px 20px; margin-bottom: 10px;
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; font-size: 15px;
}

.mega__item { display: flex; align-items: stretch; gap: 0; margin: 4px 10px; }
.mega__ico { background: #fff; width: 74px; flex: none; display: grid; place-items: center; padding: 4px 8px; }
.mega__ico img { max-height: 34px; width: auto; }
.mega__brand {
  background: #fff; color: #111; flex: none; min-width: 74px;
  display: grid; place-items: center; padding: 6px 10px;
  font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 14px;
  text-transform: uppercase;
}
.mega__label {
  /* miesto pre šípku je vyhradené aj v pokoji, inak by text pri prejdení
     myšou poskočil o 10 px doprava */
  flex: 1; display: flex; align-items: center; padding: 10px 16px 10px 26px;
  color: #e8e8e8; font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .03em;
  position: relative; transition: .12s;
}
/* zvýraznenie patrí položke pod kurzorom, nie prvej v poradí; :focus-within
   ho ukáže aj pri prechádzaní klávesnicou */
.mega__item:hover .mega__label,
.mega__item:focus-within .mega__label {
  background: #0d0d0d; color: var(--c-yellow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.mega__item:hover .mega__label::before,
.mega__item:focus-within .mega__label::before {
  content: ""; position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  border-left: 9px solid var(--c-yellow); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

.mega__promo { background: var(--c-yellow); display: grid; place-items: center; padding: 18px 14px; flex: 0 0 20%; }
.mega__promo img { max-height: 250px; width: auto; object-fit: contain; }

/* ---------- 8. „Ďalšie možnosti výberu" — dlaždice ---------- */
/* Blade: components/picker-tiles.blade.php */
.picker { background: var(--c-black); padding: 52px 0 60px; }
.picker__title {
  color: #fff; text-align: center; font-size: 28px; margin-bottom: 8px;
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
}
.picker__title::after { content: ""; display: block; width: 64px; height: 3px; background: var(--c-yellow); margin: 12px auto 0; }
.picker__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }

.picker-tile {
  position: relative; overflow: hidden; min-height: 150px;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 26px, transparent 26px 52px),
    linear-gradient(120deg, #232323, #1a1a1a);
  color: #fff; padding: 24px 26px 46px; display: block; transition: .15s;
}
.picker-tile:hover { transform: translateY(-3px); }
.picker-tile__kicker {
  font-family: var(--font-sport); font-style: italic; font-weight: 700;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-yellow);
  display: block; margin-bottom: 6px;
}
.picker-tile__title {
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  font-size: 25px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.15;
}
.picker-tile__link {
  position: absolute; right: 20px; bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  display: inline-flex; align-items: center; gap: 6px;
}
.picker-tile__link .icon { width: 13px; height: 13px; color: var(--c-yellow); transition: .15s; }
.picker-tile:hover .picker-tile__link .icon { transform: translateX(4px); }

.picker-tile--yellow {
  background:
    repeating-linear-gradient(115deg, rgba(0,0,0,.05) 0 26px, transparent 26px 52px),
    linear-gradient(120deg, #ffd21e, var(--c-yellow));
  color: #111;
}
.picker-tile--yellow .picker-tile__kicker { color: #111; }
.picker-tile--yellow .picker-tile__link { color: #111; }
.picker-tile--yellow .picker-tile__link .icon { color: #111; }

/* ---------- 9. USP pás ---------- */
/* Blade: components/usp-band.blade.php */
.usps { padding: 40px 0 8px; }
.usps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp-card {
  background: var(--c-surface); border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--c-yellow);
}
.usp-card__icon {
  width: 44px; height: 44px; flex: none; clip-path: var(--clip-skew);
  background: var(--c-black); color: var(--c-yellow); display: grid; place-items: center;
}
.usp-card__title { font-weight: 700; font-size: 14.5px; color: var(--c-black); }
.usp-card__sub { font-size: 13px; color: var(--c-muted); }

/* ---------- 10. Sekcie ---------- */
.section { padding: 36px 0 48px; }
.section--alt { background: var(--c-surface); }
/* wrap: na úzkom displeji sa odkaz „Zobraziť všetko" nezmestí vedľa nadpisu
   a bez zalomenia by pretlačil stránku do vodorovného rolovania */
.section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.section__title {
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
  font-size: 25px; color: var(--c-black);
}
.section__title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--c-yellow); margin-top: 8px; }
.section__sub { color: var(--c-muted); margin: 8px 0 0; }
.section__more { font-weight: 700; color: var(--c-black); display: inline-flex; align-items: center; gap: 6px; flex: none; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.section__more:hover { color: var(--c-yellow-dark); }
.section__more .icon { width: 16px; height: 16px; color: var(--c-yellow-dark); }

/* centrovaná varianta hlavičky sekcie */
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__head--center .section__title::after { margin: 8px auto 0; }

/* ---------- 11. Dlaždice kategórií / blog ---------- */
/* Blade: components/category-tile.blade.php */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile {
  background: var(--c-surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: .18s ease; display: block;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile__media { aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; }
.cat-tile__media .icon { width: 64px; height: 64px; stroke-width: 1.2; color: var(--c-black); opacity: .7; }
.cat-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.cat-tile__body { padding: 16px 18px 18px; }
.cat-tile__title { font-size: 16px; font-weight: 700; color: var(--c-black); }
.cat-tile__count { font-size: 13px; color: var(--c-muted); }

/* podklady dlaždíc (placeholder za fotky) */
.ph { background: linear-gradient(145deg, #ececec, #dcdcdc); }
.ph--a { background: linear-gradient(145deg, #ffe89a, #ffd21e); }   /* žltá */
.ph--b { background: linear-gradient(145deg, #e8e8e8, #d2d2d2); }   /* šedá */
.ph--c { background: linear-gradient(145deg, #3a3a3a, #232323); }   /* čierna */
.ph--d { background: linear-gradient(145deg, #f3ecdd, #e7dcc3); }
.ph--c .icon { color: #fff !important; opacity: .8 !important; }

/* ---------- 12. Produktová karta ---------- */
/* Blade: components/product-card.blade.php */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  background: var(--c-surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: .18s ease; position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card__media { aspect-ratio: 1; position: relative; display: grid; place-items: center; overflow: hidden; }
.product-card__media .icon { width: 72px; height: 72px; stroke-width: 1.1; color: var(--c-black); opacity: .45; }
/* Fotky sú orezané na obsah príkazom products:trim-images, takže tovar
   vyplní 90 % dlaždice a nič sa neuseká (cover by zo 4:3 záberu odstrihol
   širším taškám boky).
   max-* namiesto width/height: pri percentuálnej výške vysoká fotka roztiahne
   box a dlaždica prestane byť štvorcová. */
/* absolútne ukotvenie: inset 5 % = plocha 90 × 90 % v strede dlaždice.
   Pri percentuálnej výške v toku by vysoká fotka dlaždicu roztiahla
   a mriežka by mala rôzne vysoké karty. */
.product-card__media img {
  position: absolute; inset: 5%;
  width: 90%; height: 90%;
  object-fit: contain;
}
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 1; align-items: flex-start; }
.badge {
  font-size: 11.5px; font-weight: 800; padding: 5px 12px; color: #fff; letter-spacing: .05em;
  clip-path: var(--clip-skew);
  font-family: var(--font-sport); font-style: italic; text-transform: uppercase;
}
.badge--sale { background: var(--c-red); }
.badge--new { background: var(--c-black); color: var(--c-yellow); }
.badge--tip { background: var(--c-yellow); color: #111; }
.product-card__fav {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.88); color: var(--c-muted); display: grid; place-items: center; z-index: 1;
}
.product-card__fav:hover { color: var(--c-red); background: #fff; }
.product-card__fav .icon { width: 18px; height: 18px; }
.product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__cat { font-size: 12px; color: var(--c-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.product-card__title { font-size: 15px; font-weight: 500; color: var(--c-black); line-height: 1.35; }
.product-card__title a::after { content: ""; position: absolute; inset: 0; } /* celá karta klikateľná */
.product-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--c-muted); }
.stars { color: var(--c-gold); font-size: 13px; letter-spacing: 1px; }
.product-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 8px; }
.price { display: flex; flex-direction: column; }
.price__old { font-size: 12.5px; color: var(--c-muted); text-decoration: line-through; }
.price__now { font-size: 18px; font-weight: 800; color: var(--c-black); }
.price__now--sale { color: var(--c-red); }
.price__vat { font-size: 11.5px; color: var(--c-muted); }
.product-card__cart {
  width: 46px; height: 44px; clip-path: var(--clip-skew); background: var(--c-yellow); color: #111;
  display: grid; place-items: center; position: relative; z-index: 1; transition: .15s;
}
.product-card__cart:hover { background: var(--c-yellow-dark); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--c-green); }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--c-green); }
.stock--out { color: var(--c-muted); }
.stock--out::before { background: var(--c-muted); }
/* tovar z externého skladu — dostupný, ale nie do 24 hodín */
.stock--slow { color: var(--c-gold); }
.stock--slow::before { background: var(--c-gold); }
.stock__more { font-weight: 400; color: var(--c-muted); }

/* rozpis dostupnosti po skladoch (detail produktu) */
.stock-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.stock-list__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; }
.stock-list__row .stock { min-width: 62px; }
.stock-list__where { font-weight: 700; color: var(--c-black); }
.stock-list__when { color: var(--c-muted); }

/* ---------- 13. Brand story ---------- */
.story {
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 26px, transparent 26px 52px),
    var(--c-black);
  color: #fff;
}
.story__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 64px 0; }
.story__eyebrow { color: var(--c-yellow); font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; margin-bottom: 12px; }
.story__title { font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: .02em; margin-bottom: 16px; }
.story__text { color: #c9c9c9; font-size: 16px; }
.story__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story__stat { background: var(--c-dark-2); padding: 24px 20px; text-align: center; clip-path: var(--clip-skew); }
.story__num { font-family: var(--font-sport); font-style: italic; font-size: 30px; font-weight: 800; color: var(--c-yellow); }
.story__label { font-size: 13px; color: #c9c9c9; margin-top: 4px; }

/* ---------- 14. Newsletter ---------- */
.newsletter { background: linear-gradient(120deg, #ffd21e, var(--c-yellow)); color: #111; }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 0; flex-wrap: wrap; }
.newsletter__title { font-family: var(--font-sport); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 22px; }
.newsletter__sub { opacity: .8; margin: 4px 0 0; }
.newsletter__form { display: flex; gap: 10px; flex: 1; max-width: 480px; }
.newsletter__input { flex: 1; padding: 13px 18px; border: 0; outline: none; background: #fff; }
.newsletter__form .btn { background: var(--c-black); color: var(--c-yellow); }
.newsletter__form .btn:hover { background: var(--c-dark-3); }

/* ---------- 15. Footer ---------- */
/* Blade: partials/footer.blade.php — svetlý, aby vyniklo logo */
.footer { background: var(--c-surface); border-top: 4px solid var(--c-yellow); color: var(--c-muted); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer__title { color: var(--c-black); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; font-family: var(--font-sport); font-style: italic; }
.footer__links li { margin-bottom: 10px; }
.footer__links a:hover { color: var(--c-black); text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; }
.footer__about { max-width: 300px; }
.footer__about .logo__img { height: 42px; margin-bottom: 16px; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer__contact .icon { width: 17px; height: 17px; color: var(--c-yellow-dark); margin-top: 2px; }
.footer__bottom { border-top: 1px solid var(--c-line); padding: 20px 0; font-size: 13px; }
/* na 375 px sa štítky platieb nezmestia do riadku a pretiekli o 3 px */
.footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__pay span { background: var(--c-bg); border: 1px solid var(--c-line); padding: 5px 10px; font-size: 12px; font-weight: 700; color: var(--c-black); }

/* ---------- 16. Breadcrumbs ---------- */
.breadcrumbs { padding: 18px 0 0; font-size: 13.5px; color: var(--c-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #b8b8b8; }
.breadcrumbs a:hover { color: var(--c-black); text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; }
.breadcrumbs li:last-child { color: var(--c-black); font-weight: 700; }

/* ---------- 17. Stránka kategórie ---------- */
/* Blade: pages/category.blade.php */
.cat-head { padding: 16px 0 8px; }
.cat-head__title {
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  font-size: 30px; color: var(--c-black); text-transform: uppercase; letter-spacing: .04em;
}
.cat-head__title small { font-size: 16px; font-weight: 400; font-style: normal; font-family: var(--font); color: var(--c-muted); margin-left: 10px; text-transform: none; letter-spacing: 0; }
.cat-head__title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--c-yellow); margin-top: 8px; }
.cat-head__desc { max-width: 760px; color: var(--c-muted); margin-top: 12px; }

.cat-chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 0 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px;
  background: var(--c-surface); border: 1.5px solid var(--c-line);
  clip-path: var(--clip-skew);
  font-weight: 700; font-size: 13px; color: var(--c-black); transition: .15s;
  text-transform: uppercase; letter-spacing: .03em;
}
.chip:hover { border-color: var(--c-yellow); background: var(--c-yellow-soft); }
.chip--active { background: var(--c-black); border-color: var(--c-black); color: var(--c-yellow); }

.cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 20px 0 56px; align-items: start; }
/* bez min-width:0 by ktorýkoľvek široký potomok (stránkovanie, dlhý názov)
   pretlačil stĺpec mriežky nad šírku obrazovky */
.cat-layout > * { min-width: 0; }

/* filtre — Blade: components/filters.blade.php */
.filters { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); position: sticky; top: 158px; }
.filters__group { padding: 20px; border-bottom: 1px solid var(--c-line); }
.filters__group:last-child { border-bottom: 0; }
.filters__title { font-size: 13px; font-weight: 800; color: var(--c-black); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-sport); font-style: italic; }
.filters__title .icon { width: 16px; height: 16px; color: var(--c-muted); }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--c-black); }
.check__count { margin-left: auto; font-size: 12.5px; color: var(--c-muted); }
.range { display: flex; align-items: center; gap: 8px; }
/* min-width:0 je nutné: dve polia so šírkou 100 % vedľa seba by inak
   nafúkli bočný panel nad šírku obrazovky (na mobile pretekal o 128 px) */
.range input { flex: 1 1 0; min-width: 0; width: 100%; padding: 9px 12px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); outline: none; }
.range input:focus { border-color: var(--c-yellow); }
.filters__apply { padding: 16px 20px 20px; }

/* toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar__count { color: var(--c-muted); font-size: 14px; }
.toolbar__count strong { color: var(--c-black); }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.toolbar__sort select { padding: 9px 14px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-surface); outline: none; font-weight: 700; color: var(--c-black); }

/* stránkovanie */
/* wrap: osem strán + šípky sa na mobil do jedného riadku nezmestia
   a bez zalomenia roztiahli celý stĺpec výpisu nad šírku obrazovky */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 32px 0 8px; }
.pagination__item {
  min-width: 42px; height: 42px; padding: 0 10px; display: grid; place-items: center;
  background: var(--c-surface); clip-path: var(--clip-skew); font-weight: 700;
  color: var(--c-black); box-shadow: var(--shadow-sm); transition: .15s;
}
.pagination__item:hover { background: var(--c-yellow-soft); }
.pagination__item--active { background: var(--c-black); color: var(--c-yellow); }
.pagination__item--active:hover { background: var(--c-black); }

/* SEO text */
.seo-text { background: var(--c-surface); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); color: var(--c-muted); font-size: 14.5px; }
.seo-text h2 { font-size: 19px; color: var(--c-black); margin-bottom: 10px; }
.seo-text h3 { font-size: 15.5px; color: var(--c-black); margin: 18px 0 8px; }
.seo-text a { color: var(--c-black); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; }

/* ---------- 18. Stránka produktu ---------- */
/* Blade: pages/product.blade.php */
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 24px 0 48px; align-items: start; }

.gallery__main {
  aspect-ratio: 1; border-radius: var(--radius); background: var(--c-surface);
  box-shadow: var(--shadow-sm); display: grid; place-items: center; position: relative; overflow: hidden;
}
.gallery__main .icon { width: 180px; height: 180px; stroke-width: .9; color: var(--c-black); opacity: .4; }
.gallery__main img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.gallery__thumb {
  aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--c-surface);
  box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer;
  border: 2px solid transparent; transition: .15s;
}
.gallery__thumb { position: relative; overflow: hidden; }
.gallery__thumb:hover, .gallery__thumb--active { border-color: var(--c-yellow); }
.gallery__thumb .icon { width: 36px; height: 36px; stroke-width: 1.2; color: var(--c-black); opacity: .45; }
.gallery__thumb img { max-width: 90%; max-height: 90%; width: auto; height: auto; object-fit: contain; }

.buybox__brand {
  display: inline-block; background: var(--c-black); color: var(--c-yellow);
  clip-path: var(--clip-skew); padding: 6px 16px; margin-bottom: 12px;
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
}
.buybox__title {
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  font-size: 29px; text-transform: uppercase; letter-spacing: .02em;
  color: var(--c-black); margin-bottom: 10px;
}
.buybox__meta { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--c-muted); margin-bottom: 18px; flex-wrap: wrap; }
.buybox__meta a { color: var(--c-black); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; }

.buybox__price-row { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 4px; }
.buybox__price { font-family: var(--font-sport); font-style: italic; font-size: 38px; font-weight: 800; color: var(--c-black); }
.buybox__price--sale { color: var(--c-red); }
.buybox__price-old { font-size: 19px; color: var(--c-muted); text-decoration: line-through; padding-bottom: 8px; }
.buybox__save { background: var(--c-red); color: #fff; font-size: 12.5px; font-weight: 700; clip-path: var(--clip-skew); padding: 4px 14px; margin-bottom: 10px; }
.buybox__vat { font-size: 13px; color: var(--c-muted); margin-bottom: 18px; }

.buybox__stockline { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: var(--c-green-soft); border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; }
.buybox__stockline .stock { font-size: 14px; }
.buybox__delivery { color: var(--c-text); }
.buybox__delivery strong { color: var(--c-black); }

/* varianty */
.variants { margin-bottom: 20px; }
.variants__label { font-size: 14px; font-weight: 700; color: var(--c-black); margin-bottom: 10px; }
.variants__label span { font-weight: 400; color: var(--c-muted); }
.variants__list { display: flex; gap: 10px; flex-wrap: wrap; }
.variant {
  padding: 10px 20px; clip-path: var(--clip-skew); border: 0;
  background: var(--c-surface); box-shadow: inset 0 0 0 1.5px var(--c-line);
  font-weight: 700; font-size: 14px; transition: .15s;
}
.variant:hover { box-shadow: inset 0 0 0 1.5px var(--c-black); }
.variant--active { background: var(--c-black); color: var(--c-yellow); box-shadow: none; }

/* množstvo + košík */
.buybox__buy { display: flex; gap: 12px; margin-bottom: 14px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-surface); }
.qty button { width: 44px; height: 52px; font-size: 20px; color: var(--c-black); }
.qty input { width: 48px; text-align: center; border: 0; outline: none; font-weight: 700; font-size: 16px; }
.buybox__buy .btn--primary { flex: 1; }
.buybox__secondary { display: flex; gap: 18px; font-size: 13.5px; color: var(--c-muted); margin-bottom: 24px; }
.buybox__secondary a { display: inline-flex; gap: 6px; align-items: center; }
.buybox__secondary a:hover { color: var(--c-black); }
.buybox__secondary .icon { width: 16px; height: 16px; }

/* mini USP v buyboxe */
.buybox__usps { border: 1.5px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.buybox__usp { display: flex; align-items: center; gap: 12px; padding: 13px 18px; font-size: 13.5px; border-bottom: 1.5px solid var(--c-line); background: var(--c-surface); }
.buybox__usp:last-child { border-bottom: 0; }
.buybox__usp .icon { color: var(--c-yellow-dark); width: 18px; height: 18px; }
.buybox__usp strong { color: var(--c-black); }

/* taby */
.tabs { padding: 8px 0 56px; }
.tabs__nav { display: flex; gap: 4px; border-bottom: 2px solid var(--c-line); margin-bottom: 28px; overflow-x: auto; }
.tabs__btn {
  padding: 13px 22px; font-weight: 700; font-size: 14px; color: var(--c-muted);
  border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-sport); font-style: italic;
}
.tabs__btn:hover { color: var(--c-black); }
.tabs__btn--active { color: var(--c-black); border-color: var(--c-yellow); }
.tabs__panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
/* panel bez bočného stĺpca — popis aj tabuľka parametrov idú cez celú šírku */
.tabs__panel--single { grid-template-columns: 1fr; }
.tabs__panel--single .tabs__content { max-width: 74ch; }
.tabs__content h2 { font-size: 21px; color: var(--c-black); margin-bottom: 12px; }
.tabs__content h3 { font-size: 16.5px; color: var(--c-black); margin: 20px 0 8px; }
/* editor v administrácii vie vyrobiť aj číslovaný zoznam, odkaz, citáciu
   a zvýraznenie — bez týchto pravidiel by sa vykreslili neoštýlované */
.tabs__content ul, .tabs__content ol { padding-left: 20px; margin-bottom: 14px; color: var(--c-text); }
.tabs__content ul { list-style: disc; }
.tabs__content ol { list-style: decimal; }
.tabs__content li { margin-bottom: 6px; }
.tabs__content p { margin-bottom: 12px; }
.tabs__content p:last-child { margin-bottom: 0; }
/* editor balí obsah položky zoznamu do odseku (`<li><p>…`), čo je jeho
   normálny výstup — odsekový odstup by zoznam zbytočne roztiahol */
.tabs__content li > p, .article__body li > p { margin-bottom: 0; }
.tabs__content strong { color: var(--c-black); }
.tabs__content a { color: var(--c-black); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; }
.tabs__content blockquote { margin: 16px 0; padding: 10px 18px; border-left: 3px solid var(--c-yellow); background: var(--c-bg); }
.tabs__content blockquote p:last-child { margin-bottom: 0; }

/* parametre */
.params { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.params h3 { padding: 16px 20px 0; font-size: 15px; color: var(--c-black); text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-sport); font-style: italic; }
.params table { width: 100%; border-collapse: collapse; font-size: 14px; }
.params td { padding: 11px 20px; border-bottom: 1px solid var(--c-line); }
.params tr:last-child td { border-bottom: 0; }
.params td:first-child { color: var(--c-muted); width: 45%; }
.params td:last-child { font-weight: 700; color: var(--c-black); }

/* recenzie */
.review { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px 24px; margin-bottom: 14px; }
.review__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.review__author { font-weight: 700; color: var(--c-black); }
.review__date { font-size: 13px; color: var(--c-muted); }
.review p { margin: 8px 0 0; color: var(--c-text); }

/* ---------- 19. Pomocné ---------- */
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }

/* ---------- 20. Responzivita ---------- */
@media (max-width: 1100px) {
  .mega__promo { display: none; }
  .usps__grid { grid-template-columns: repeat(2, 1fr); }
  .picker__grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .story__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; gap: 32px; }
  .tabs__panel { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .topbar__usps .topbar__usp:nth-child(n+2) { display: none; }
  .header__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .logo__img { height: 40px; }
  .logo__tagline { display: none; }
  .header__cart-label { display: none; }
  .nav__list { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .mega__cols { flex-direction: column; }
  .mega__side { width: 44px; font-size: 16px; }
  .picker__grid { grid-template-columns: 1fr; }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter__inner { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 540px) {
  .usps__grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   21. Aplikačné komponenty (Laravel) — časti, ktoré statický
   návrh nepokrýval: vyhľadávanie, mobilné menu, košík, pokladňa
   ========================================================= */

/* ---------- hlavička: burger ---------- */
.header__burger { display: none; }

/* ---------- vyhľadávací panel ---------- */
.srch { background: var(--c-surface); border-bottom: 1px solid var(--c-line); padding: 16px 0; position: relative; z-index: 45; }
.srch__form { display: flex; align-items: center; gap: 12px; background: var(--c-bg); border: 1.5px solid var(--c-line); border-radius: 999px; padding: 4px 8px 4px 18px; }
.srch__form:focus-within { border-color: var(--c-yellow); }
.srch__icon { color: var(--c-muted); flex: none; }
.srch__form input { flex: 1; border: 0; background: none; outline: none; padding: 12px 0; font-size: 16px; }
.srch__close { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: var(--c-muted); }
.srch__close:hover { background: var(--c-line); color: var(--c-black); }

.srch__results { margin-top: 14px; background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.srch__group { padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.srch__group:last-child { border-bottom: 0; }
.srch__label { display: block; padding: 6px 18px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.srch__cat { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; font-weight: 700; }
.srch__cat:hover, .srch__item:hover { background: var(--c-yellow-soft); }
.srch__cat span { color: var(--c-muted); font-weight: 500; }
.srch__item { display: flex; align-items: center; gap: 14px; padding: 10px 18px; }
.srch__thumb { width: 46px; height: 46px; flex: none; background: var(--c-bg); border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; }
.srch__thumb img { width: 100%; height: 100%; object-fit: contain; }
.srch__info { flex: 1; display: flex; flex-direction: column; }
.srch__info b { font-weight: 600; font-size: 14.5px; }
.srch__info span { font-size: 12.5px; color: var(--c-muted); }
.srch__price { font-weight: 800; white-space: nowrap; }
.srch__all { display: block; padding: 14px 18px; text-align: center; font-weight: 700; background: var(--c-black); color: var(--c-yellow); }
.srch__empty { padding: 20px 18px; color: var(--c-muted); margin: 0; }
.srch__empty a { color: var(--c-black); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-yellow); }
.srch mark { background: var(--c-yellow); color: inherit; padding: 0 2px; }

/* ---------- mobilné menu ---------- */
.mnav { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.mnav.is-open { visibility: visible; }
.mnav__veil { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: .2s; }
.mnav.is-open .mnav__veil { opacity: 1; }
.mnav__panel {
  position: absolute; inset: 0 auto 0 0; width: min(340px, 88vw);
  background: var(--c-surface); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .22s ease;
}
.mnav.is-open .mnav__panel { transform: none; }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--c-line); }
.mnav__head img { height: 36px; }
.mnav__close { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; }
.mnav__close:hover { background: var(--c-bg); }
.mnav__body { flex: 1; overflow-y: auto; padding: 8px 0; }
.mnav__link, .mnav__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 18px; font-weight: 700; color: var(--c-black); text-align: left;
  border-bottom: 1px solid var(--c-line);
}
.mnav__link:hover, .mnav__toggle:hover { background: var(--c-yellow-soft); }
.mnav__toggle .icon { transition: .15s; }
.mnav__group.is-open .mnav__toggle .icon { transform: rotate(180deg); }
.mnav__sub { display: none; background: var(--c-bg); }
.mnav__group.is-open .mnav__sub { display: block; }
.mnav__sub a { display: block; padding: 12px 18px 12px 32px; font-size: 14.5px; border-bottom: 1px solid var(--c-line); }
.mnav__sub a:hover { color: var(--c-yellow-dark); }
.mnav__foot { padding: 16px 18px; border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.mnav__foot a { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.mnav__foot .icon { color: var(--c-yellow-dark); }
body.mnav-open { overflow: hidden; }

/* ---------- flash správy ---------- */
.flash { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius); font-weight: 600; }
.flash--ok  { background: var(--c-green-soft); color: #14603a; }
.flash--err { background: #fdeaea; color: #93231f; }
.flash__text { flex: 1; }
.flash__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; white-space: nowrap; }
.flash__cta:hover { text-decoration: underline; }

/* ---------- prázdny stav ---------- */
.empty { text-align: center; padding: 64px 24px; background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.empty .icon { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--c-muted); stroke-width: 1.2; }
.empty h2 { font-size: 21px; color: var(--c-black); margin-bottom: 8px; }
.empty p { color: var(--c-muted); margin-bottom: 20px; }

/* ---------- karta produktu: tlačidlo košíka nad prekryvom ---------- */
.product-card__foot form { position: relative; z-index: 1; }
.product-card__cart:disabled { background: var(--c-line); color: var(--c-muted); cursor: not-allowed; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- filtre: doplnky ---------- */
.chip--remove { background: var(--c-yellow-soft); border-color: var(--c-yellow); }
.chip--remove .icon { width: 12px; height: 12px; }
.filters__reset { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--c-muted); }
.filters__reset:hover { color: var(--c-black); text-decoration: underline; }
.check input[type="checkbox"] { flex: none; }

/* ---------- varianty ako radio ---------- */
.variant { cursor: pointer; display: inline-flex; align-items: center; }
.variant input { position: absolute; opacity: 0; width: 0; height: 0; }

/* ---------- hodnotenia ---------- */
.rating-bars { padding: 12px 20px 20px; display: grid; gap: 8px; }
.rating-bars__row { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 10px; font-size: 13px; color: var(--c-muted); }
.rating-bars__track { height: 8px; background: var(--c-line); border-radius: 999px; overflow: hidden; }
.rating-bars__fill { display: block; height: 100%; background: var(--c-yellow); }
.review__usage { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--c-muted); background: var(--c-bg); padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.review__reply { margin-top: 12px; padding: 12px 16px; background: var(--c-bg); border-left: 3px solid var(--c-yellow); font-size: 14px; }
.review__reply p { margin: 4px 0 0; }
.params--wide { grid-column: 1 / -1; }

/* ---------- košík ---------- */
.cart { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cart__items { display: grid; gap: 12px; }
.cart-row {
  display: grid; grid-template-columns: 88px 1fr auto auto auto; gap: 16px; align-items: center;
  background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 14px 18px;
}
.cart-row__media { width: 88px; height: 88px; background: var(--c-bg); border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; }
.cart-row__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-row__name { font-weight: 700; color: var(--c-black); }
.cart-row__name:hover { color: var(--c-yellow-dark); }
.cart-row__variant, .cart-row__sku { font-size: 12.5px; color: var(--c-muted); }
.cart-row__qty .qty { height: 44px; }
.cart-row__qty .qty button { height: 42px; width: 36px; }
.cart-row__qty .qty input { width: 44px; }
.cart-row__price { text-align: right; }
.cart-row__price strong { display: block; font-size: 17px; font-weight: 800; }
.cart-row__price span { font-size: 12px; color: var(--c-muted); }
.cart-row__remove { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; color: var(--c-muted); }
.cart-row__remove:hover { background: #fdeaea; color: var(--c-red); }

.cart__summary { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; position: sticky; top: 158px; }
.cart__summary h2 { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 18px; margin-bottom: 16px; }
.cart__line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 14.5px; }
.cart__line--total { border-bottom: 0; padding-top: 14px; font-size: 17px; }
.cart__line--total strong { font-size: 21px; font-weight: 800; }
.cart__line--total small { font-size: 12px; font-weight: 500; color: var(--c-muted); }
.cart__free { background: var(--c-yellow-soft); border-radius: var(--radius-sm); padding: 12px 14px; margin: 14px 0; font-size: 13.5px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cart__free .icon { color: var(--c-yellow-dark); flex: none; }
.cart__free--ok { background: var(--c-green-soft); }
.cart__free--ok .icon { color: var(--c-green); }
.cart__free-bar { flex-basis: 100%; height: 6px; background: #fff; border-radius: 999px; overflow: hidden; }
.cart__free-bar span { display: block; height: 100%; background: var(--c-yellow); }
.cart__continue { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--c-muted); }
.cart__continue:hover { color: var(--c-black); text-decoration: underline; }

/* ---------- pokladňa ---------- */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding-bottom: 56px; }
.checkout__main { display: grid; gap: 16px; }
.checkout__box { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }
.checkout__box h2 { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 18px; margin-bottom: 18px; }
.checkout__box h2::after { content: ""; display: block; width: 44px; height: 3px; background: var(--c-yellow); margin-top: 8px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--c-black); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  outline: none; font-weight: 400; font-size: 15px; font-family: inherit;
}
.field input:focus, .field textarea:focus { border-color: var(--c-yellow); }

.option { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm); margin-bottom: 10px; cursor: pointer; }
.option:hover { border-color: var(--c-black); }
.option:has(input:checked) { border-color: var(--c-yellow); background: var(--c-yellow-soft); }
.option input { width: 18px; height: 18px; accent-color: var(--c-black); flex: none; }
.option__body { flex: 1; display: flex; flex-direction: column; }
.option__body span { font-size: 12.5px; color: var(--c-muted); }
.option__price { font-weight: 800; white-space: nowrap; }

/* výber výdajného miesta — patrí pod dopravu, ktorá ho vyžaduje */
.pickup { margin: -4px 0 10px; padding: 14px 16px; background: var(--c-bg); border-radius: var(--radius-sm); }
.pickup__chosen { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: var(--c-green); }
.pickup__chosen .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.pickup .btn { width: 100%; }

.checkout__details summary { cursor: pointer; font-weight: 700; padding: 12px 0; color: var(--c-black); }
.checkout__details[open] summary { margin-bottom: 12px; }
.checkout__summary { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; position: sticky; top: 158px; }
.checkout__summary h2 { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 18px; margin-bottom: 16px; }
.checkout__items { display: grid; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); margin-bottom: 6px; }
.checkout__items li { display: grid; grid-template-columns: 32px 1fr auto; gap: 8px; font-size: 14px; align-items: baseline; }
.checkout__items em { display: block; font-style: normal; font-size: 12.5px; color: var(--c-muted); }
.checkout__qty { font-weight: 800; color: var(--c-muted); }
.check--terms { align-items: flex-start; margin: 16px 0; font-size: 13.5px; line-height: 1.5; }
.check--terms a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-yellow); }

/* ---------- 25. Účty, registrácia, veľkoobchod ---------- */
.field__hint, .field__error { font-style: normal; font-weight: 400; font-size: 12.5px; }
.field__hint { color: var(--c-muted); }
.field__error { color: var(--c-red); font-weight: 700; }
.field--error input, .field--error textarea { border-color: var(--c-red); }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; border-left: 3px solid; }
.alert--ok { background: var(--c-green-soft); border-color: var(--c-green); color: #14603a; }
.alert--error { background: #fdecec; border-color: var(--c-red); color: #8d2020; }
.alert--info { background: var(--c-yellow-soft); border-color: var(--c-yellow); color: #6b4e00; }

.auth { max-width: 460px; margin: 0 auto; }
.auth--wide { max-width: 720px; }
.auth__title { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 26px; margin-bottom: 14px; }
.auth__lead { color: var(--c-muted); margin-bottom: 20px; line-height: 1.6; }
.auth__section { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-sport); font-style: italic; margin: 22px 0 12px; }
.auth__form { display: grid; gap: 14px; }
.auth__form .btn { margin-top: 6px; }
.auth__links { margin-top: 18px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.auth__links a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-yellow); }
.auth__note { margin-top: 22px; padding: 14px 16px; background: var(--c-bg); border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.6; color: var(--c-muted); }

.account__head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.account__box { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 24px; margin-bottom: 30px; }
.account__box-title { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 17px; margin-bottom: 12px; }
.account__orders-title { margin-bottom: 16px; }
.account__table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.account__table th { text-align: left; padding: 12px 16px; background: var(--c-bg); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.account__table td { padding: 12px 16px; border-top: 1px solid var(--c-line); }
/* tabuľka objednávok sa na mobile nezalomí — musí sa dať posúvať samostatne,
   inak by ťahala vodorovný scroll celej stránke */
.table-scroll { overflow-x: auto; }

.wholesale__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: start; }
.wholesale__title { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 17px; margin: 22px 0 10px; }
.wholesale__col > .wholesale__title:first-child { margin-top: 0; }
.wholesale__list, .wholesale__steps { padding-left: 20px; color: var(--c-text); line-height: 1.7; }
.wholesale__list { list-style: disc; }
.wholesale__steps { list-style: decimal; }
.wholesale__note { margin-top: 12px; font-size: 13.5px; color: var(--c-muted); }
.wholesale__aside { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; position: sticky; top: 158px; }
.wholesale__aside .btn { margin-top: 12px; }
.wholesale__sep { border: 0; border-top: 1px solid var(--c-line); margin: 22px 0; }
.wholesale__hours { color: var(--c-muted); font-size: 13.5px; }

@media (max-width: 900px) {
  .wholesale__grid { grid-template-columns: 1fr; gap: 28px; }
  .wholesale__aside { position: static; }
}

/* ---------- poďakovanie ---------- */
.thanks { max-width: 640px; margin: 0 auto; padding: 56px 24px 72px; text-align: center; }
.thanks__ico { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 999px; background: var(--c-green-soft); color: var(--c-green); display: grid; place-items: center; }
.thanks__ico .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.thanks h1 { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 28px; margin-bottom: 12px; }
.thanks__lead { color: var(--c-muted); font-size: 16px; margin-bottom: 28px; }
.thanks__box { background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; text-align: left; margin-bottom: 24px; }
.thanks__box h2 { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 17px; margin-bottom: 16px; }
.thanks__note { color: var(--c-muted); font-size: 14px; margin-bottom: 24px; }

/* ---------- článok / CMS stránka ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 24px 24px 64px; }
.article__kicker { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: var(--c-yellow-dark); font-weight: 800; margin-bottom: 8px; }
.article__title { font-family: var(--font-sport); font-style: italic; text-transform: uppercase; font-size: 32px; letter-spacing: .01em; margin-bottom: 10px; }
.article__meta { font-size: 13.5px; color: var(--c-muted); margin-bottom: 20px; }
.article__perex { font-size: 17.5px; color: var(--c-text); font-weight: 500; margin-bottom: 24px; }
.article__cover { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
/* obchodné podmienky majú cez 27 000 znakov — bez obmedzenia šírky riadku
   sa taký text číta veľmi ťažko */
.article__body { font-size: 16px; line-height: 1.7; max-width: 78ch; }
/* odkazy v právnych dokumentoch bývajú dlhé adresy bez medzier */
.article__body a { overflow-wrap: anywhere; }
.article__body h2 { font-size: 22px; margin: 28px 0 10px; color: var(--c-black); }
.article__body h3 { font-size: 18px; margin: 22px 0 8px; color: var(--c-black); }
.article__body ul, .article__body ol { padding-left: 22px; margin-bottom: 16px; list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: 6px; }
.article__body a { color: var(--c-black); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-yellow); text-decoration-thickness: 2px; }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; padding-bottom: 56px; }
.contact__side .footer__contact { margin: 0; }
.contact__side .footer__contact li { color: var(--c-text); }

/* ---------- ostatné ---------- */
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a { width: 38px; height: 38px; border-radius: 999px; background: var(--c-bg); display: grid; place-items: center; color: var(--c-black); }
.footer__social a:hover { background: var(--c-yellow); }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.pagination__item--disabled { color: var(--c-muted); box-shadow: none; background: transparent; }
.line-code { font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 40px; color: var(--c-black); letter-spacing: .04em; }
.mega__promo a { display: grid; place-items: center; width: 100%; height: 100%; }

@media (max-width: 1100px) {
  .cart, .checkout, .contact { grid-template-columns: 1fr; }
  .cart__summary, .checkout__summary { position: static; }
  .product-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .header__burger { display: grid; }
  .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cart-row { grid-template-columns: 64px 1fr auto; grid-template-areas: "media info remove" "media qty price"; }
  .cart-row__media { width: 64px; height: 64px; grid-area: media; }
  .cart-row__info { grid-area: info; }
  .cart-row__qty { grid-area: qty; }
  .cart-row__price { grid-area: price; }
  .cart-row form:last-child { grid-area: remove; }
  .field-grid { grid-template-columns: 1fr; }
  .article__title { font-size: 25px; }
}

/* =========================================================
   22. Mobil a prístupnosť
   Vzniklo z merania na 375 px: bočný panel filtrov pretekal,
   pred prvým produktom bolo 1 845 px scrollu, lepkavá hlavička
   brala 175 px výšky a polia mali menej ako 16 px, čo iOS rieši
   automatickým priblížením.
   ========================================================= */

/* ---------- viditeľný focus pre klávesnicu ---------- */
:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
  border-radius: 2px;
}
/* myš/dotyk obrys nepotrebuje — ukazuje sa len pri navigácii klávesnicou */
:focus:not(:focus-visible) { outline: none; }

/* ---------- preskočenie na obsah ---------- */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--c-black); color: var(--c-yellow);
  padding: 12px 20px; font-weight: 700; transition: top .15s;
}
.skip-link:focus { top: 8px; }

/* ---------- prepínač filtrov (len mobil) ---------- */
.filters__toggle { display: none; }

@media (max-width: 820px) {
  .filters__toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; min-height: 52px; padding: 14px 18px; margin-bottom: 12px;
    background: var(--c-black); color: var(--c-yellow);
    font-family: var(--font-sport); font-style: italic; font-weight: 800;
    text-transform: uppercase; letter-spacing: .04em; font-size: 15px;
  }
  .filters__toggle .icon { width: 18px; height: 18px; transition: transform .15s; }
  .filters__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .filters__count {
    background: var(--c-yellow); color: #111; border-radius: 999px;
    min-width: 24px; padding: 2px 8px; font-size: 13px; font-style: normal;
  }

  /* panel je pri príchode zabalený — inak by používateľ scrolloval
     cez celý zoznam filtrov, než uvidí prvý produkt */
  .filters__body { display: none; }
  .filters.is-open .filters__body { display: block; }
  .filters { background: none; box-shadow: none; }
  .filters.is-open .filters__body {
    background: var(--c-surface); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  }
}

@media (max-width: 820px) {
  /* ---------- štíhlejšia lepkavá hlavička ----------
     navigácia aj odkazy topbaru sú dostupné v mobilnom menu,
     na malej obrazovke by len zaberali trvalé miesto */
  .header .nav { display: none; }
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }

  /* ---------- rozloženie lišty ----------
     Vľavo hľadanie a účet, v strede logo, vpravo košík a menu. Burger patrí
     k pravému okraju — v ľavom rohu je pri držaní v pravej ruke mimo dosahu
     palca.

     Flex namiesto mriežky: košík a burger sú súrodenci a v mriežke by sa
     v jednom stĺpci ukladali pod seba. Obe krajné skupiny majú zhodne
     2 × 44 px, takže `margin: 0 auto` posadí logo presne do stredu. */
  .header__inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 0;
  }
  .header__left { gap: 0; }
  .logo { margin: 0 auto; }
  .header__cart { justify-self: auto; }

  /* z košíka ostáva len ikona s počtom — text zaberal polovicu lišty */
  .header__cart-text { display: none; }
  .header__cart { gap: 0; }

  /* logo sa nesmie roztiahnuť cez zvyšok lišty */
  .logo__img { height: 34px; width: auto; max-width: 150px; object-fit: contain; }

  /* ---------- odsadenie od okrajov ----------
     24 px bolo na 375 px displeji priveľa a text pôsobil natlačený na kraj;
     16 px dá riadku dýchať a zároveň nezoberie polovicu šírky */
  .container { padding: 0 16px; }

  /* bloky, ktoré si nesú vlastné odsadenie, boli na mobile priúzke */
  .account__box, .wholesale__aside, .checkout__summary,
  .params, .review, .thanks { padding-left: 18px; padding-right: 18px; }
  .article, .auth { padding-left: 0; padding-right: 0; }
  .stock-list__row { padding-right: 4px; }

  /* ---------- dotykové ciele aspoň 44 px ---------- */
  .header__cart { min-height: 44px; min-width: 44px; }
  .mnav__close, .iconbtn { min-width: 44px; min-height: 44px; }
  .chip { min-height: 44px; }
  .pagination__item { min-width: 44px; height: 44px; }
  .breadcrumbs a, .breadcrumbs li { display: inline-flex; align-items: center; min-height: 32px; }
  .footer__links a, .footer__contact li, .mnav__foot a { min-height: 44px; display: flex; align-items: center; }
  .check { min-height: 44px; padding: 8px 0; }
  .check input { width: 22px; height: 22px; }
  .product-card__cart { width: 48px; height: 46px; }
  .qty button { min-width: 48px; min-height: 48px; }

  /* ---------- košík: riadok sa musí zmestiť do 375 px ----------
     media 56 + množstvo 128 + cena 67 + medzery a odsadenie = 319 px */
  .cart, .checkout, .contact { min-width: 0; }
  .cart > *, .checkout > *, .contact > * { min-width: 0; }
  .cart-row { grid-template-columns: 56px 1fr auto; padding: 12px 14px; gap: 12px; }
  .cart-row__media { width: 56px; height: 56px; }
  .cart-row__qty .qty button { min-width: 44px; min-height: 44px; width: 44px; height: 44px; font-size: 18px; }
  .cart-row__qty .qty input { width: 40px; }
  .cart-row__remove { min-width: 44px; min-height: 44px; }
  .cart-row__price strong { font-size: 15px; }
  .variant { min-height: 44px; }
  .tabs__btn { min-height: 48px; }

  /* ---------- polia bez automatického priblíženia na iOS ----------
     Safari zväčší stránku vždy, keď má pole menej ako 16 px */
  input, select, textarea,
  .field input, .field textarea, .field select,
  .search__input, .srch__form input, .toolbar__sort select,
  .range input, .newsletter__input, .qty input {
    font-size: 16px;
  }

  /* ---------- výpis a detail ---------- */
  .toolbar { gap: 10px; }
  .toolbar__sort { width: 100%; }
  .toolbar__sort select { flex: 1; }
  .cat-head__title { font-size: 24px; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .buybox__title { font-size: 23px; }
  .buybox__price { font-size: 30px; }
  .buybox__buy { flex-wrap: wrap; }
  .buybox__buy .btn--primary { flex: 1 1 100%; }
  .story__stats { grid-template-columns: 1fr; }
  .seo-text { padding: 20px 18px; }
  .article { padding: 16px 20px 48px; }
}

@media (max-width: 400px) {
  /* dve karty vedľa seba sú tu už nečitateľné */
  .product-grid, .product-grid--3, .cat-grid { grid-template-columns: 1fr; }
}

/* ---------- pohyb len pre tých, čo ho chcú ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- pasca na roboty v kontaktnom formulári ----------
   Nie display:none — časť robotov taký prvok preskočí. Pole ostáva
   v rozložení, len mimo obrazovky; pred čítačkami ho skrýva aria-hidden. */
.hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- text len pre čítačky obrazovky ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- H1 nad mega panelom ---------- */
.mega__h1 {
  color: #fff; margin-bottom: 22px;
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .03em; font-size: 26px; line-height: 1.2;
}
.mega__h1 span { color: var(--c-yellow); }
.mega__h1 small {
  display: block; margin-top: 8px; color: #b9b9b9;
  font-family: var(--font); font-style: normal; font-weight: 400;
  text-transform: none; letter-spacing: 0; font-size: 14.5px;
}
@media (max-width: 820px) {
  .mega__h1 { font-size: 20px; margin-bottom: 16px; }
  .mega__h1 small { font-size: 13.5px; }
}

/* =========================================================
   23. TOP 3 kategórie — kompaktné riadky nad výpisom
   ========================================================= */
.top3 {
  background: var(--c-surface); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 18px;
  border-top: 4px solid var(--c-yellow);
}
.top3__title {
  padding: 16px 20px 12px;
  font-family: var(--font-sport); font-style: italic; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; font-size: 16px; color: var(--c-black);
}
.top3__list { margin: 0; padding: 0; list-style: none; counter-reset: top3; }

.top3__row {
  display: grid;
  grid-template-columns: 42px 72px 1fr auto;
  align-items: center; gap: 14px;
  padding: 12px 20px; border-top: 1px solid var(--c-line);
  position: relative;
}
.top3__row:hover { background: var(--c-yellow-soft); }

/* poradie v skosenom štítku — rovnaký tvar ako ostatné akcenty webu */
.top3__rank {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--c-black); color: var(--c-yellow);
  clip-path: var(--clip-skew);
  font-family: var(--font-sport); font-style: italic; font-weight: 800; font-size: 16px;
}
.top3__row:first-child .top3__rank { background: var(--c-yellow); color: #111; }

.top3__media {
  width: 72px; height: 72px; background: var(--c-bg); border-radius: var(--radius-sm);
  display: grid; place-items: center; overflow: hidden;
}
.top3__media img { max-width: 90%; max-height: 90%; width: auto; height: auto; object-fit: contain; }

.top3__info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.top3__name { font-weight: 700; color: var(--c-black); line-height: 1.3; }
/* celý riadok klikateľný, tlačidlo košíka ostáva nad prekryvom */
.top3__name::after { content: ""; position: absolute; inset: 0; }
.top3__row:hover .top3__name { color: var(--c-yellow-dark); }
.top3__meta { font-size: 12.5px; color: var(--c-muted); }
.top3__meta .stars { font-size: 12px; }

.top3__buy { display: flex; align-items: center; gap: 14px; }
.top3__buy .price { align-items: flex-end; }
.top3__buy form { position: relative; z-index: 1; }

@media (max-width: 820px) {
  .top3__row {
    grid-template-columns: 34px 56px 1fr;
    grid-template-areas: "rank media info" "rank media buy";
    row-gap: 6px; padding: 12px 14px;
  }
  .top3__rank { grid-area: rank; width: 30px; height: 30px; font-size: 14px; }
  .top3__media { grid-area: media; width: 56px; height: 56px; }
  .top3__info { grid-area: info; }
  .top3__buy { grid-area: buy; justify-content: space-between; }
  .top3__title { font-size: 15px; padding: 14px 14px 10px; }
  .top3__name { font-size: 14.5px; }
}

/* =========================================================
   24. Lightbox galérie produktu
   ========================================================= */
.gallery__main { cursor: zoom-in; border: 0; padding: 0; width: 100%; text-align: left; }

.gallery__zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(17,17,17,.82); color: var(--c-yellow);
  clip-path: var(--clip-skew); transition: .15s;
}
.gallery__main:hover .gallery__zoom { background: var(--c-yellow); color: #111; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__veil { position: absolute; inset: 0; background: rgba(10,10,10,.93); cursor: zoom-out; }

.lightbox__figure {
  position: relative; z-index: 1; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: min(1100px, 92vw); max-height: 88vh;
}
.lightbox__img {
  max-width: min(1100px, 92vw); max-height: 78vh;
  width: auto; height: auto; object-fit: contain;
  background: #fff; border-radius: var(--radius-sm);
}
.lightbox__caption { color: #d6d6d6; font-size: 14px; text-align: center; max-width: 60ch; }

.lightbox__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--c-yellow); color: #111; clip-path: var(--clip-skew);
}
.lightbox__close:hover { background: #fff; }
.lightbox__close .icon { width: 22px; height: 22px; stroke-width: 2.4; }

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 56px; height: 72px; display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
}
.lightbox__nav:hover { background: var(--c-yellow); color: #111; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__nav .icon { width: 26px; height: 26px; stroke-width: 2.2; }

.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: #cfcfcf; font-size: 13.5px; letter-spacing: .06em;
  background: rgba(0,0,0,.5); padding: 6px 14px; border-radius: 999px;
}

/* pozadie sa pri otvorenom lightboxe nesmie rolovať */
body.lightbox-open { overflow: hidden; }

@media (max-width: 820px) {
  .lightbox__close { top: 10px; right: 10px; width: 48px; height: 48px; }
  .lightbox__nav { width: 48px; height: 64px; }
  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }
  .lightbox__img { max-height: 68vh; }
  .lightbox__caption { font-size: 13px; padding: 0 12px; }
  .gallery__zoom { right: 10px; bottom: 10px; }
}

/* ---------- fotka v dlazdici clanku ----------
   Rovnake pravidlo ako pri produktoch: 90 % plochy, contain, absolutne
   ukotvenie, aby fotka nemenila vysku dlazdice. */
.cat-tile__media { position: relative; overflow: hidden; }
.cat-tile__media img {
  position: absolute; inset: 5%;
  width: 90%; height: 90%;
  object-fit: contain;
  transition: transform .18s ease;
}
.cat-tile:hover .cat-tile__media img { transform: scale(1.03); }

/* ---------- Cookie lišta ---------- */
/* Dole na obrazovke, aby neprekrývala obsah ani hlavičku s košíkom.
   Nie je to modálne okno — web sa dá používať aj bez rozhodnutia, len
   sa nič nemeria. */
.cookies {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--c-black);
  color: #fff;
  border-top: 3px solid var(--c-yellow);
  box-shadow: 0 -12px 30px rgba(0,0,0,.25);
}
.cookies__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 28px;
  align-items: center;
}
.cookies__text strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cookies__text p { margin: 0; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.82); }
.cookies__text a { color: var(--c-yellow); text-decoration: underline; }

.cookies__choices { margin-top: 14px; display: grid; gap: 9px; }
.cookies__choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  cursor: pointer;
}
.cookies__choice input { margin-top: 3px; accent-color: var(--c-yellow); }
.cookies__choice input:disabled { cursor: not-allowed; }
.cookies__choice strong { display: inline; font-size: inherit; color: #fff; }

.cookies__actions { display: grid; gap: 10px; justify-items: stretch; }
/* na tmavom pozadí musí byť obrys svetlý, inak tlačidlo splynie */
.cookies .btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.cookies .btn--ghost:hover { background: #fff; color: var(--c-black); }
.cookies__link {
  background: none; border: 0; padding: 4px;
  color: rgba(255,255,255,.75);
  font: inherit; font-size: 12.5px;
  text-decoration: underline; cursor: pointer;
}
.cookies__link:hover { color: var(--c-yellow); }

@media (max-width: 860px) {
  .cookies__inner { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
  .cookies__actions { grid-auto-flow: row; }
}

/* ---------- Referenčná cena podľa § 7 zákona 108/2024 ---------- */
/* Musí byť čitateľná, nie schovaná drobným šedým písmom pod cenou —
   inak by informácia formálne bola, ale zákazník ju neuvidí. */
.price__reference {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--c-muted);
}
.buybox__reference {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-muted);
}
.buybox__reference strong { color: var(--c-black); }

/* ---------- Formuláre uplatnenia práv (reklamácia, odstúpenie) ---------- */
/* Rovnaké rozloženie ako kontakt — formulár vľavo, postup a adresa vpravo,
   aby zákazník videl, kam tovar poslať, ešte kým formulár vypĺňa. */
.legal-form {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
  padding-bottom: 56px;
}
.legal-form__side .checkout__box + .checkout__box { margin-top: 20px; }
.legal-form__steps { margin: 0 0 20px; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.legal-form__address { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.legal-form__note { margin: 0 0 10px; font-size: 12.5px; line-height: 1.55; color: var(--c-muted); }
.legal-form__note a { text-decoration: underline; }
.legal-form select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}
.thanks__number { font-size: 14px; color: var(--c-muted); margin-bottom: 16px; }

@media (max-width: 900px) {
  .legal-form { grid-template-columns: 1fr; }
}

/* Neúspešná platba na ďakovnej stránke — musí byť vidieť na prvý pohľad,
   inak si zákazník myslí, že je zaplatené. */
.thanks__box--warn {
  border-left: 4px solid var(--c-yellow);
  background: #fffaf0;
}

/* tlačidlo na druhý pokus o platbu — má byť to prvé, čo v hlásení padne do oka */
.thanks__retry { margin: 14px 0 16px; }
