/* ats-titulka-v12.css = v11 + blok v12 na konci: dlaždica adidas tmavozelená (trieda ats-hpa-tile--teal), nadpis a popis oboch dlaždíc značiek na 2 riadky, 24. 11. 2026. NÁVRAT: v Záhlaví ats-titulka-v12.css -> ats-titulka-v11.css (a v Pätičke v24.js -> v23.js). */
/* ats-titulka-v11.css = v10 + blok v11 na konci: dlaždica adidas (tmavá zelená namiesto oranžovej Skechers), tablet: obrázky dvojice dlažíc 3:2, 24. 11. 2026. NÁVRAT: v Záhlaví ats-titulka-v11.css -> ats-titulka-v10.css. */
/* ats-titulka-v10.css = v9 + riadok tlačidiel (ats-use) nerozťahuje stránku do šírky na tablete (contain: inline-size), 24. 11. 2026. NÁVRAT: v Záhlaví ats-titulka-v10.css -> ats-titulka-v9.css. */
/* ats-titulka-v9.css = v8 + riadok tlačidiel (ats-use) v Kopačkách a Loptách má miesto vopred (spolu s ats-vzhlad-v67.js), 24. 11. 2026. NÁVRAT: v Záhlaví ats-titulka-v9.css -> ats-titulka-v8.css (a v Pätičke ats-vzhlad-v67.js -> v66). */
/* ats-titulka-v8.css = v7 + blok v8 na konci: skryté skupiny „Produkty na titulnej strane“ (karty si berie titulka JS), titulka sa ukáže až poskladaná, rezervované miesto pre hornú lištu a bodky banneru – menej poskakovania (CLS), 24. 11. 2026. NÁVRAT: v Záhlaví ats-titulka-v8.css -> ats-titulka-v7.css. */
/* ats-titulka-v7.css = ats-titulka-v6.css + blok v7 na konci (mobil: odsadenie 12 px po stranách, titulka sa už nedá posúvať do strán), 23. 11. 2026. NÁVRAT: v Záhlaví ats-titulka-v7.css -> ats-titulka-v6.css. */
/* ats-titulka-v6.css = ats-titulka-v5.css + blok v6 na konci (moderné dlaždice Kopačky Skechers / Nike a Pre brankárov, len PC), 23. 11. 2026. NÁVRAT: v Záhlaví ats-titulka-v6.css -> ats-titulka-v5.css. */
/* ---------- TITULKA A – absolute-teamsport.sk ----------
   Platí len na titulke a len keď má <html> triedu ats-hpa (nastaví ju riadok v Záhlaví).
   ?stara-titulka v adrese = pôvodná titulka (na porovnanie). Ak skript zlyhá, trieda sa zruší
   a zobrazí sa pôvodná titulka. Karty produktov štýluje ats-ostre-*.css (.products-block .product).
   v3 (8. 11. 2026): blok Kluby = banner z obrázka s klikateľnými plochami (.ats-hpa-cbn). */

/* ===== pôvodné prvky, ktoré nahrádza titulka A ===== */
html.ats-hpa body.type-index .row.banners-row:not(.footer-banners),
html.ats-hpa body.type-index .homepage-products-heading-5,
html.ats-hpa body.type-index #products-5 { display: none !important; }
html.ats-hpa:not(.ats-hpa-ok) body.type-index .ats-home-combo__benefits { visibility: hidden; }
html.ats-hpa:not(.ats-hpa-ok) body.type-index .homepage-box.before-carousel { min-height: 640px; }
html.ats-hpa body.type-index .homepage-box.before-carousel { padding-top: 0 !important; }

/* ===== rozloženie ===== */
.ats-hpa-wrap { display: flex; flex-direction: column; color: #111; }
.ats-hpa-wrap *, .ats-hpa-wrap *::before, .ats-hpa-wrap *::after { box-sizing: border-box; }
.ats-hpa-sec { margin-top: 48px; }
.ats-hpa-usp { order: 1; margin-top: 0; }
.ats-hpa-hero { order: 2; margin-top: 20px; }
.ats-hpa-tabs { order: 3; margin-top: 34px; }
.ats-hpa-cats { order: 4; }
.ats-hpa-pair { order: 5; }
.ats-hpa-gloves { order: 6; }
.ats-hpa-balls { order: 7; }
.ats-hpa-club { order: 8; margin-bottom: 8px; }
.ats-hpa-sr { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }

/* ===== pás s akciou nad hlavičkou ===== */
.ats-hpa-promo { background: #111; color: #fff; }
.ats-hpa-promo__in {
  max-width: 1336px; margin: 0 auto; padding: 7px 16px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 2px 16px; font-size: 14.5px; line-height: 1.4; text-align: center;
}
.ats-hpa-promo__in strong { font-weight: 800; color: #fff; }
.ats-hpa-promo a { color: #78be20 !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }
.ats-hpa-promo a:hover { color: #9ddb4f !important; }

/* ===== nadpisy a odkaz Zobraziť všetko ===== */
.ats-hpa-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: 18px; }
.ats-hpa-head__l { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 36px; min-width: 0; }
.ats-hpa-wrap .ats-hpa-h {
  margin: 0 !important; padding: 0 !important; font-family: inherit !important; font-size: 28px !important; font-weight: 900 !important;
  line-height: 1.15 !important; letter-spacing: -.01em; color: #111 !important; text-align: left !important; text-transform: none !important;
}
.ats-hpa-wrap .ats-hpa-h::after { content: ""; display: block; width: 44px; height: 4px; margin-top: 10px; border-radius: 2px; background: #78be20; }
.ats-hpa-more {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15.5px; font-weight: 700;
  color: #2F6B0A !important; text-decoration: none !important; white-space: nowrap;
}
.ats-hpa-more:hover { color: #1e4d06 !important; text-decoration: underline !important; }
.ats-hpa-more svg { flex: none; width: 18px; height: 18px; }
.ats-hpa-more--btn { display: none; }

/* ===== ikony ===== */
.ats-hpa-wrap svg.ats-hpa-i { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== šípky (bannery aj produkty) ===== */
.ats-hpa-nav {
  position: absolute; top: 50%; z-index: 4; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #111;
  box-shadow: 0 6px 18px rgba(17, 17, 17, .16); cursor: pointer; transform: translateY(-50%); transition: background .15s ease;
}
.ats-hpa-nav:hover { background: #78be20; }
.ats-hpa-nav:focus-visible, .ats-hpa-tab:focus-visible, .ats-hpa-dot:focus-visible { outline: 3px solid #2F6B0A; outline-offset: 2px; }
.ats-hpa-nav[hidden] { display: none; }
.ats-hpa-nav svg { width: 20px; height: 20px; }
.ats-hpa-nav--prev { left: -14px; }
.ats-hpa-nav--next { right: -14px; }

/* ===== kampane (bannery z karuselu Shoptetu) – od v4 (9. 11. 2026) po jednom cez celú šírku aj na PC, ako na mobile ===== */
.ats-hpa-hero__box { position: relative; }
.ats-hpa-hero__track {
  display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.ats-hpa-hero__track::-webkit-scrollbar { display: none; }
.ats-hpa-hero__item {
  flex: 0 0 100%; display: block; scroll-snap-align: start; aspect-ratio: 1400 / 570;
  border-radius: 14px; overflow: hidden; background: #e2e2e6;
}
.ats-hpa-hero__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ats-hpa-hero__dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.ats-hpa-dot { display: flex; align-items: center; justify-content: center; height: 24px; margin: 0; padding: 0 3px; border: 0; background: none; cursor: pointer; }
.ats-hpa-dot span { display: block; width: 8px; height: 8px; border-radius: 999px; background: #8a8a92; transition: width .2s ease, background .2s ease; }
.ats-hpa-dot[aria-current="true"] span { width: 22px; background: #78be20; }

/* ===== záložky ===== */
.ats-hpa-tablist { display: flex; flex-wrap: wrap; gap: 8px; }
.ats-hpa-tab {
  height: 40px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: #f3f3f4; color: #111;
  font-family: inherit; font-size: 14.5px; font-weight: 800; line-height: 1; cursor: pointer; transition: background .15s ease;
}
.ats-hpa-tab:hover { background: #e2e2e6; }
.ats-hpa-tab[aria-selected="true"] { background: #111; color: #fff; }
.ats-hpa-panel[hidden] { display: none; }

/* ===== rad produktov (karty Shoptetu) ===== */
.ats-hpa-rowwrap { position: relative; }
.ats-hpa-wrap .ats-hpa-row.products-block {
  display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; margin: -6px -8px -18px !important; padding: 6px 0 18px !important;
  border: 0 !important; background: none !important;
}
.ats-hpa-wrap .ats-hpa-row.products-block::-webkit-scrollbar { display: none; }
.ats-hpa-wrap .ats-hpa-row.products-block > .product,
.ats-hpa-wrap .ats-hpa-row > .ats-hpa-skel {
  flex: 0 0 calc(100% / 6) !important; width: auto !important; max-width: none !important; float: none !important;
  margin: 0 !important; scroll-snap-align: start; opacity: 1 !important; visibility: visible !important;
}
#ats-hpa .ats-hpa-row.products-block > .product { display: block !important; border: 0 !important; box-shadow: none !important; }
#ats-hpa .ats-hpa-row .product .p-in, #ats-hpa .ats-hpa-row .product a.name, #ats-hpa .ats-hpa-row .product .ats-p-brand { text-align: left !important; }
.ats-hpa-rowwrap > .ats-hpa-nav { top: 37%; }
.ats-hpa-skel { padding: 8px; }
.ats-hpa-skel span {
  display: block; border-radius: 12px; background: linear-gradient(90deg, #f0f0f2 25%, #e6e6ea 50%, #f0f0f2 75%);
  background-size: 200% 100%; animation: ats-hpa-shine 1.1s linear infinite;
}
.ats-hpa-skel span:nth-child(1) { aspect-ratio: 4 / 3; }
.ats-hpa-skel span:nth-child(2) { width: 38%; height: 12px; margin: 14px 2px 0; }
.ats-hpa-skel span:nth-child(3) { width: 86%; height: 16px; margin: 8px 2px 0; }
.ats-hpa-skel span:nth-child(4) { width: 42%; height: 20px; margin: 16px 2px 0; }
@keyframes ats-hpa-shine { to { background-position: -200% 0; } }
.ats-hpa-msg { margin: 0; padding: 26px 0; font-size: 15px; color: #6b6b73; }

/* ===== kategórie ===== */
.ats-hpa-wrap .ats-hpa-cats__list {
  list-style: none !important; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px;
  margin: 18px 0 0 !important; padding: 0 !important;
}
.ats-hpa-wrap .ats-hpa-cats__item { display: flex; min-width: 0; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.ats-hpa-wrap .ats-hpa-cats__item::before, .ats-hpa-wrap .ats-hpa-cats__item::marker { content: none !important; display: none !important; }
.ats-hpa-wrap .ats-hpa-cats__item--sale { display: none; }
.ats-hpa-cats__item a {
  flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 12px 16px;
  border-radius: 16px; background: #f3f3f4; color: #111 !important; text-decoration: none !important;
  transition: background .15s ease, box-shadow .15s ease;
}
.ats-hpa-cats__item a:hover { background: #fff; box-shadow: 0 10px 26px rgba(17, 17, 17, .10); }
.ats-hpa-cats__img { display: block; width: 100%; aspect-ratio: 4 / 3; }
.ats-hpa-cats__img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ats-hpa-cats__label { font-size: 16px; font-weight: 800; line-height: 1.2; text-align: center; }
.ats-hpa-cats__item--sale .ats-hpa-cats__label { color: #D3173A; }

/* ===== dve dlaždice značiek ===== */
.ats-hpa-pair__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ats-hpa-tile {
  display: flex; min-height: 300px; border-radius: 16px; overflow: hidden; text-decoration: none !important;
  transition: box-shadow .2s ease;
}
.ats-hpa-tile:hover { box-shadow: 0 14px 32px rgba(17, 17, 17, .14); }
.ats-hpa-tile--dark { background: #111; color: #fff !important; }
.ats-hpa-tile--light { background: #f3f3f4; color: #111 !important; }
.ats-hpa-tile__txt { flex: 1 1 46%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 32px; min-width: 0; }
.ats-hpa-tile__img { flex: 1 1 54%; min-width: 0; }
.ats-hpa-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ats-hpa-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; }
.ats-hpa-tile--dark .ats-hpa-eyebrow { color: #78be20; }
.ats-hpa-tile--light .ats-hpa-eyebrow { color: #2F6B0A; }
.ats-hpa-tile__title { font-size: 32px; font-weight: 900; line-height: 1.1; }
.ats-hpa-tile__text { font-size: 16.5px; line-height: 1.5; }
.ats-hpa-tile--dark .ats-hpa-tile__text { color: #d4d4d8; }
.ats-hpa-tile--light .ats-hpa-tile__text { color: #3f3f46; }
.ats-hpa-tile__arrow { display: none; }
.ats-hpa-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; margin-top: 8px; padding: 0 20px;
  border-radius: 999px; font-size: 15px; font-weight: 800; line-height: 1; white-space: nowrap;
}
.ats-hpa-cta svg { width: 18px; height: 18px; }
.ats-hpa-tile--dark .ats-hpa-cta { background: #78be20; color: #111; }
.ats-hpa-tile--light .ats-hpa-cta { background: #111; color: #fff; }

/* ===== rukavice (dlaždica + rad) ===== */
.ats-hpa-gloves__body { display: flex; gap: 16px; align-items: stretch; }
.ats-hpa-gloves__tile {
  flex: 0 0 calc((100% - 16px) / 3); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  min-height: 270px; padding: 30px; border-radius: 16px; background: #2F6B0A; color: #fff !important; text-decoration: none !important;
  transition: background .15s ease;
}
.ats-hpa-gloves__tile:hover { background: #285c08; }
.ats-hpa-gloves__tile .ats-hpa-eyebrow { color: #c5e89a; }
.ats-hpa-gloves__tile .ats-hpa-tile__title { font-size: 28px; }
.ats-hpa-gloves__tile .ats-hpa-cta { align-self: flex-start; margin-top: 6px; background: #fff; color: #111; }
.ats-hpa-gloves__body > .ats-hpa-rowwrap { flex: 1 1 auto; min-width: 0; }
.ats-hpa-wrap .ats-hpa-gloves .ats-hpa-row.products-block > .product,
.ats-hpa-wrap .ats-hpa-gloves .ats-hpa-row > .ats-hpa-skel { flex-basis: 25% !important; }

/* ===== kluby: banner od Gioviho (obrázok) – plocha a tlačidlo = Ponuka pre kluby, logá = značky ===== */
.ats-hpa-cbn { position: relative; overflow: hidden; border: 1px solid #ececec; border-radius: 20px; background: #fff; line-height: 0; }
.ats-hpa-cbn picture, .ats-hpa-cbn__img { display: block; width: 100%; height: auto; margin: 0; }
.ats-hpa-cbn__main, .ats-hpa-cbn__btn, .ats-hpa-cbn__logo {
  position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); text-decoration: none !important;
}
.ats-hpa-cbn__main { z-index: 1; }
.ats-hpa-cbn__main:focus-visible { outline: none; }
.ats-hpa-cbn__btn { z-index: 2; pointer-events: none; border-radius: 2.65% / 16%; transition: background-color .15s ease, box-shadow .15s ease; }
.ats-hpa-cbn__main:hover ~ .ats-hpa-cbn__btn { background: rgba(0, 0, 0, .1); }
.ats-hpa-cbn__main:focus-visible ~ .ats-hpa-cbn__btn { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #111; }
.ats-hpa-cbn__logo { z-index: 3; border-radius: 12px; transition: background-color .15s ease; }
.ats-hpa-cbn__logo:hover { background: rgba(120, 190, 32, .12); }
.ats-hpa-cbn__logo:focus-visible { outline: 3px solid #2F6B0A; outline-offset: -3px; }
.ats-hpa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15.5px; font-weight: 800; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: background .15s ease, color .15s ease;
}
.ats-hpa-btn svg { width: 18px; height: 18px; }
.ats-hpa-btn--green { background: #78be20; color: #111 !important; }
.ats-hpa-btn--green:hover { background: #6aab1c; }
.ats-hpa-btn--line { border: 2px solid #fff; color: #fff !important; }
.ats-hpa-btn--line:hover { background: #fff; color: #111 !important; }

/* ===== pás výhod (banner „Bannery“) – kompaktne pod menu ===== */
.ats-hpa-usp { background: #f6f6f7; box-shadow: 0 0 0 100vmax #f6f6f7; clip-path: inset(0 -100vmax); }
html.ats-hpa .ats-hpa-usp .ats-home-combo__benefits { visibility: visible; margin: 0 !important; padding: 0 !important; }
html.ats-hpa .ats-hpa-usp .ats-usp { gap: 0 24px; }
html.ats-hpa .ats-hpa-usp .ats-usp__item { justify-content: center; gap: 10px; padding: 9px 0; border-radius: 0; background: none !important; box-shadow: none !important; }
html.ats-hpa .ats-hpa-usp .ats-usp__icon { width: 34px; height: 34px; }
html.ats-hpa .ats-hpa-usp .ats-usp__icon svg { width: 19px; height: 19px; }
html.ats-hpa .ats-hpa-usp .ats-usp__text strong { font-size: 14px; }
html.ats-hpa .ats-hpa-usp .ats-usp__text small { margin-top: 1px; font-size: 12.5px; }
html.ats-hpa .ats-hpa-usp a.ats-usp__item:hover .ats-usp__text strong { text-decoration: underline; }

/* ===== menší notebook 992 – 1199 px ===== */
@media screen and (max-width: 1199px) {
  .ats-hpa-wrap .ats-hpa-row.products-block > .product, .ats-hpa-wrap .ats-hpa-row > .ats-hpa-skel { flex-basis: 20% !important; }
  .ats-hpa-wrap .ats-hpa-gloves .ats-hpa-row.products-block > .product, .ats-hpa-wrap .ats-hpa-gloves .ats-hpa-row > .ats-hpa-skel { flex-basis: calc(100% / 3) !important; }
  .ats-hpa-tile__txt { padding: 26px; }
  .ats-hpa-tile__title { font-size: 27px; }
  .ats-hpa-gloves__tile { padding: 24px; }
  .ats-hpa-gloves__tile .ats-hpa-tile__title { font-size: 24px; }
}

/* ===== tablet 768 – 991 px ===== */
@media screen and (max-width: 991px) {
  .ats-hpa-wrap .ats-hpa-row.products-block > .product, .ats-hpa-wrap .ats-hpa-row > .ats-hpa-skel { flex-basis: 25% !important; }
  .ats-hpa-wrap .ats-hpa-cats__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ats-hpa-hero__item { flex-basis: 100%; }
  .ats-hpa-gloves__tile { display: none; }
  .ats-hpa-wrap .ats-hpa-gloves .ats-hpa-row.products-block > .product, .ats-hpa-wrap .ats-hpa-gloves .ats-hpa-row > .ats-hpa-skel { flex-basis: 25% !important; }
  .ats-hpa-tile { flex-direction: column; min-height: 0; }
  .ats-hpa-tile__img { flex: none; aspect-ratio: 3 / 2; order: -1; }
  .ats-hpa-tile__txt { flex: none; padding: 22px; }
  html.ats-hpa .ats-hpa-usp .ats-usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== dotykové zariadenia: bez šípok, posúva sa prstom ===== */
@media (hover: none) {
  .ats-hpa-nav { display: none !important; }
}

/* ===== mobil do 767 px ===== */
@media screen and (max-width: 767px) {
  .ats-hpa-sec { margin-top: 28px; }
  .ats-hpa-hero { order: 1; margin-top: 12px; }
  .ats-hpa-cats { order: 2; margin-top: 16px; }
  .ats-hpa-tabs { order: 3; margin-top: 26px; }
  .ats-hpa-usp { order: 4; margin-top: 26px; }
  .ats-hpa-pair { order: 5; }
  .ats-hpa-gloves { order: 6; }
  .ats-hpa-balls { order: 7; }
  .ats-hpa-club { order: 8; }
  .ats-hpa-nav { display: none !important; }

  .ats-hpa-promo__in { padding: 7px 12px; gap: 2px 10px; font-size: 13.5px; }
  .ats-hpa-promo__rest { display: none; }

  .ats-hpa-wrap .ats-hpa-h { font-size: 22px !important; }
  .ats-hpa-wrap .ats-hpa-h::after { width: 36px; margin-top: 8px; }
  .ats-hpa-head { gap: 10px 16px; margin-bottom: 12px; }
  .ats-hpa-more { font-size: 14.5px; }

  .ats-hpa-hero__track { gap: 10px; }
  .ats-hpa-hero__item { flex-basis: 100%; border-radius: 12px; }
  .ats-hpa-hero__dots { margin-top: 4px; }

  /* kategórie: posuvný pás s Výpredajom */
  .ats-hpa-cats .ats-hpa-h { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; }
  .ats-hpa-wrap .ats-hpa-cats__list {
    display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px !important; padding: 0 12px !important;
    scroll-padding: 0 12px; scroll-snap-type: x proximity;
  }
  .ats-hpa-wrap .ats-hpa-cats__list::-webkit-scrollbar { display: none; }
  .ats-hpa-wrap .ats-hpa-cats__item, .ats-hpa-wrap .ats-hpa-cats__item--sale { display: flex; flex: 0 0 92px; scroll-snap-align: start; }
  .ats-hpa-cats__item a { gap: 6px; padding: 0; background: none; border-radius: 0; }
  .ats-hpa-cats__item a:hover { background: none; box-shadow: none; }
  .ats-hpa-cats__img { width: 92px; height: 78px; aspect-ratio: auto; padding: 6px; border-radius: 14px; background: #f3f3f4; }
  .ats-hpa-cats__label { font-size: 13.5px; }

  /* záložky: 2 stĺpce, 4 produkty, tlačidlo pod nimi */
  .ats-hpa-tabs .ats-hpa-head__l { width: 100%; }
  .ats-hpa-tablist { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + 24px); margin: 0 -12px; padding: 0 12px; }
  .ats-hpa-tablist::-webkit-scrollbar { display: none; }
  .ats-hpa-tab { flex: none; height: 44px; }
  .ats-hpa-tabs .ats-hpa-more--head { display: none; }
  .ats-hpa-more--btn {
    display: flex; justify-content: center; height: 48px; margin-top: 12px; border: 2px solid #111; border-radius: 999px;
    color: #111 !important; font-size: 15px; font-weight: 800;
  }
  .ats-hpa-wrap .ats-hpa-tabs .ats-hpa-row.products-block {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin: -5px !important; padding: 0 !important;
  }
  #ats-hpa .ats-hpa-tabs .ats-hpa-row.products-block > .product:nth-child(n+5),
  .ats-hpa-wrap .ats-hpa-tabs .ats-hpa-row > .ats-hpa-skel:nth-child(n+5) { display: none !important; }

  /* ostatné rady: posuvné, 2 karty rovnakej šírky ako v mriežke + kúsok ďalšej */
  .ats-hpa-wrap .ats-hpa-row.products-block { margin: -6px -12px -18px !important; padding: 6px 7px 18px !important; scroll-padding: 0 7px; }
  .ats-hpa-wrap .ats-hpa-row.products-block > .product, .ats-hpa-wrap .ats-hpa-row > .ats-hpa-skel,
  .ats-hpa-wrap .ats-hpa-gloves .ats-hpa-row.products-block > .product, .ats-hpa-wrap .ats-hpa-gloves .ats-hpa-row > .ats-hpa-skel { flex-basis: calc(50% - 4px) !important; }   /* v5: rovnako široké ako karty v 2 stĺpcoch (Vybrali sme pre vás), kúsok ďalšej karty ostáva vidieť */
  .ats-hpa-wrap .ats-hpa-tabs .ats-hpa-row.products-block > .product, .ats-hpa-wrap .ats-hpa-tabs .ats-hpa-row > .ats-hpa-skel { flex-basis: auto !important; }
  .ats-hpa-skel { padding: 5px; }

  /* pás výhod: 2 × 2 dlaždice ako doteraz na mobile */
  .ats-hpa-usp { background: none; box-shadow: none; clip-path: none; }
  html.ats-hpa .ats-hpa-usp .ats-usp { gap: 8px; }
  html.ats-hpa .ats-hpa-usp .ats-usp__item {
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; padding: 14px 12px;
    border-radius: 14px; background: #f6f6f7 !important;
  }
  html.ats-hpa .ats-hpa-usp .ats-usp__icon { width: 40px; height: 40px; }
  html.ats-hpa .ats-hpa-usp .ats-usp__icon svg { width: 21px; height: 21px; }
  html.ats-hpa .ats-hpa-usp .ats-usp__text strong { font-size: 14px; }
  html.ats-hpa .ats-hpa-usp .ats-usp__text small { font-size: 12.5px; }

  /* dlaždice značiek: 2 štvorce s názvom */
  .ats-hpa-pair__list { gap: 10px; }
  .ats-hpa-tile, .ats-hpa-tile--dark, .ats-hpa-tile--light { flex-direction: column; gap: 8px; min-height: 0; border-radius: 0; background: none; color: #111 !important; overflow: visible; }
  .ats-hpa-tile:hover { box-shadow: none; }
  .ats-hpa-tile__img { flex: none; aspect-ratio: 1 / 1; order: -1; border-radius: 14px; overflow: hidden; }
  .ats-hpa-tile__txt { flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; padding: 0 2px; }
  .ats-hpa-tile .ats-hpa-eyebrow, .ats-hpa-tile__text, .ats-hpa-tile .ats-hpa-cta { display: none; }
  .ats-hpa-tile__title { font-size: 15px; font-weight: 800; }
  .ats-hpa-tile__arrow { display: flex; color: #2F6B0A; }
  .ats-hpa-tile__arrow svg { width: 18px; height: 18px; }

  /* kluby: banner na výšku (iný obrázok), plochy podľa --ml --mt --mw --mh */
  .ats-hpa-cbn { max-width: 520px; margin: 0 auto; border-radius: 18px; }
  .ats-hpa-cbn__main, .ats-hpa-cbn__btn, .ats-hpa-cbn__logo { left: var(--ml); top: var(--mt); width: var(--mw); height: var(--mh); }
}
@media (prefers-reduced-motion: reduce) {
  .ats-hpa-skel span { animation: none; }
}

/* ===== v6 (23. 11. 2026): modernejšie dlaždice značiek (Kopačky Skechers / Nike) a dlaždica „Pre brankárov“ – len PC (od 992 px);
   tablet a mobil bez zmeny. Dlaždice značiek: fotka cez celú dlaždicu, pozadie vo farbe fotky, text vľavo dole, väčší nadpis,
   čip „Značka“, čierne tlačidlo so zeleným krúžkom so šípkou, pri prejdení myšou sa fotka priblíži.
   Pre brankárov: tmavozelený prechod, jemná „sieť“ a veľká obrysová 1 (číslo brankára), biele tlačidlo. ===== */
@media (min-width: 992px) {
  .ats-hpa-pair__list { gap: 20px; }
  .ats-hpa-tile { position: relative; display: flex; min-height: 330px; border-radius: 24px; isolation: isolate;
    transition: box-shadow .3s ease, transform .3s ease; }
  .ats-hpa-tile:hover { box-shadow: 0 22px 44px -18px rgba(17, 17, 17, .35); transform: translateY(-2px); }
  .ats-hpa-tile--dark { background: linear-gradient(180deg, #cc6005 0%, #d96609 25%, #ee7d17 50%, #fbb85a 68%, #ffcc6b 76%, #ffd78c 100%); color: #111 !important; }
  .ats-hpa-tile--light { background: linear-gradient(180deg, #eceeef 0%, #e2e4e3 45%, #e2e4e3 100%); color: #111 !important; }
  .ats-hpa-tile__img { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; z-index: -1; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
  .ats-hpa-tile__img img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
  .ats-hpa-tile--light .ats-hpa-tile__img { width: 56%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
  .ats-hpa-tile--light .ats-hpa-tile__img img { object-position: 80% 50%; }
  .ats-hpa-tile:hover .ats-hpa-tile__img img { transform: scale(1.06); }
  .ats-hpa-tile__txt { position: relative; flex: 0 0 47%; max-width: 47%; justify-content: flex-end; gap: 10px; padding: 34px 0 34px 36px; }
  .ats-hpa-tile .ats-hpa-eyebrow { padding: 6px 11px 5px; border-radius: 999px; font-size: 11px; letter-spacing: .14em;
    background: rgba(255, 255, 255, .6); color: #111 !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .ats-hpa-tile__title { font-size: 40px; line-height: 1.02; letter-spacing: -.025em; }
  .ats-hpa-tile--dark .ats-hpa-tile__text, .ats-hpa-tile--light .ats-hpa-tile__text { color: rgba(17, 17, 17, .78); font-size: 15.5px; line-height: 1.45; }
  .ats-hpa-tile .ats-hpa-cta, .ats-hpa-gloves__tile .ats-hpa-cta { height: 48px; margin-top: 10px; padding: 0 6px 0 22px; gap: 14px; font-size: 15px; }
  .ats-hpa-tile .ats-hpa-cta { background: #111 !important; color: #fff !important; }
  .ats-hpa-tile .ats-hpa-cta svg, .ats-hpa-gloves__tile .ats-hpa-cta svg { box-sizing: content-box; width: 16px; height: 16px; padding: 10px;
    border-radius: 50%; background: #78be20; color: #111; transition: transform .25s ease; }
  .ats-hpa-tile:hover .ats-hpa-cta svg, .ats-hpa-gloves__tile:hover .ats-hpa-cta svg { transform: translateX(3px); }

  .ats-hpa-gloves__tile, .ats-hpa-gloves__tile:hover { position: relative; overflow: hidden; isolation: isolate; gap: 10px; padding: 32px;
    border-radius: 24px; color: #fff !important;
    background:
      repeating-linear-gradient(45deg, rgba(255, 255, 255, .075) 0 1px, transparent 1px 22px),
      repeating-linear-gradient(-45deg, rgba(255, 255, 255, .075) 0 1px, transparent 1px 22px),
      radial-gradient(120% 80% at 100% 0%, #4e9a16 0%, #2F6B0A 45%, #17380a 100%);
    transition: box-shadow .3s ease, transform .3s ease; }
  .ats-hpa-gloves__tile:hover { box-shadow: 0 22px 44px -18px rgba(23, 56, 10, .6); transform: translateY(-2px); }
  .ats-hpa-gloves__tile::before { content: '1'; position: absolute; z-index: -1; top: -34px; right: -2px; font-size: 320px; font-weight: 900;
    line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(197, 232, 154, .55);
    transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
  .ats-hpa-gloves__tile:hover::before { transform: translateY(6px) rotate(-3deg); }
  .ats-hpa-gloves__tile .ats-hpa-eyebrow { align-self: flex-start; padding: 6px 11px 5px; border-radius: 999px; font-size: 11px; letter-spacing: .14em;
    background: rgba(255, 255, 255, .14); color: #d8f0b8 !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .ats-hpa-gloves__tile .ats-hpa-tile__title { font-size: 30px; line-height: 1.04; letter-spacing: -.02em; max-width: 92%; }
  .ats-hpa-gloves__tile .ats-hpa-tile__text { color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.45; }
  .ats-hpa-gloves__tile .ats-hpa-cta { align-self: flex-start; background: #fff !important; color: #111 !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .ats-hpa-tile { min-height: 300px; }
  .ats-hpa-tile__txt { flex-basis: 52%; max-width: 52%; padding: 28px 0 28px 28px; }
  .ats-hpa-tile__title { font-size: 32px; }
  .ats-hpa-tile--dark .ats-hpa-tile__text, .ats-hpa-tile--light .ats-hpa-tile__text { font-size: 14.5px; }
  .ats-hpa-tile .ats-hpa-cta, .ats-hpa-gloves__tile .ats-hpa-cta { height: 44px; padding-left: 18px; gap: 10px; font-size: 14px; }
  .ats-hpa-tile .ats-hpa-cta svg, .ats-hpa-gloves__tile .ats-hpa-cta svg { padding: 8px; }
  .ats-hpa-gloves__tile, .ats-hpa-gloves__tile:hover { padding: 24px; }
  .ats-hpa-gloves__tile::before { font-size: 250px; top: -26px; }
  .ats-hpa-gloves__tile .ats-hpa-tile__title { font-size: 24px; }
  .ats-hpa-gloves__tile .ats-hpa-tile__text { font-size: 14px; }
}
@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .ats-hpa-tile, .ats-hpa-tile__img img, .ats-hpa-gloves__tile, .ats-hpa-gloves__tile::before, .ats-hpa-cta svg { transition: none !important; }
  .ats-hpa-tile:hover, .ats-hpa-gloves__tile:hover, .ats-hpa-tile:hover .ats-hpa-tile__img img, .ats-hpa-gloves__tile:hover::before { transform: none !important; }
}

/* ===== v7 (23. 11. 2026): MOBIL (do 767 px) – blok titulky #ats-hpa je v kontajneri šablóny bez odsadenia, ale mobilné
   pravidlá (pás kategórií, záložky, rady produktov s okrajom -12 px) rátajú s odsadením 12 px. Bez neho bol obsah až po okraj
   obrazovky a titulka sa dala posúvať do strán o 12 px. Medzera nadpis – „Všetky …“ 12 px (zmestia sa do 1 riadku aj na 375 px). ===== */
@media screen and (max-width: 767px) {
  .content-wrapper.homepage-box #ats-hpa.ats-hpa-wrap { padding-left: 12px; padding-right: 12px; }
  .ats-hpa-wrap .ats-hpa-head { column-gap: 12px; }
}

/* ---------- v8: rýchlosť a bez poskakovania (24. 11. 2026) ---------- */
/* 1) Skupiny „Produkty na titulnej strane“ (Produkty > Titulná strana) sú v HTML len ako zdroj kariet – zobrazuje ich titulka JS */
html.ats-hpa body.type-index [class*="homepage-products-heading-"],
html.ats-hpa body.type-index .products-block[id^="products-"] {display: none !important;}
/* 2) Titulka sa ukáže až poskladaná (žiadne posúvanie obsahu pri skladaní) */
html.ats-hpa:not(.ats-hpa-ok) body.type-index .overall-wrapper > .content-wrapper,
html.ats-hpa:not(.ats-hpa-ok) body.type-index #ats-nl,
html.ats-hpa:not(.ats-hpa-ok) body.type-index #footer {visibility: hidden !important;}
/* 3) Horná lišta (ats-hpa-promo): miesto je rezervované vopred, kým ju skript vloží */
#header {margin-top: 34px;}
body.ordering-process #header,
.ats-hpa-promo + #header {margin-top: 0 !important;}
.ats-hpa-promo {height: 34px; box-sizing: border-box; overflow: hidden;}
@media (max-width: 767px) {
  #header {margin-top: 33px;}
  .ats-hpa-promo {height: 33px;}
}
@media (max-width: 380px) {
  .ats-hpa-promo__in {font-size: 12px !important; flex-wrap: nowrap !important;}
  .ats-hpa-promo__in > * {white-space: nowrap;}
}
/* 4) Bodky pod bannerom majú miesto vopred */
.ats-hpa-hero__dots {min-height: 24px;}

/* ---------- v9: riadok tlačidiel v Kopačkách a Loptách (ats-use) má miesto vopred – bez posunu stránky (24. 11. 2026) ---------- */
.ats-use {flex-wrap: nowrap !important; white-space: nowrap; overflow-x: auto; scrollbar-width: none;}
.ats-use::-webkit-scrollbar {display: none;}
html:not(.ats-use-in) body.type-category.id-1071 h1.category-title::after,
html:not(.ats-use-in) body.type-category.id-1362 h1.category-title::after {content: ''; display: block; height: 56px;}
@media (max-width: 767px) {
  html:not(.ats-use-in) body.type-category.id-1071 h1.category-title::after,
  html:not(.ats-use-in) body.type-category.id-1362 h1.category-title::after {height: 52px;}
}
.ats-use {contain: inline-size; width: 100%;}

/* ---------- v11: dlaždica adidas – Final Rush pack (24. 11. 2026) ---------- */
@media (min-width: 768px) and (max-width: 991px) {
  .ats-hpa-tile--dark { background: #1d2c2b; }
  .ats-hpa-pair .ats-hpa-tile__img { aspect-ratio: 3 / 2; overflow: hidden; }
  .ats-hpa-pair .ats-hpa-tile__img img { height: 100%; object-fit: cover; }
}
@media (min-width: 992px) {
  .ats-hpa-tile--dark { background: linear-gradient(180deg, #263a3a 0%, #22332f 52%, #1f2b28 100%); color: #fff !important; }
  .ats-hpa-tile--dark .ats-hpa-tile__img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%); mask-image: linear-gradient(90deg, transparent 0, #000 20%); }
  .ats-hpa-tile--dark .ats-hpa-tile__img img { object-position: 50% 50%; }
  .ats-hpa-tile--dark .ats-hpa-eyebrow { background: rgba(255, 255, 255, .14); color: #fff !important; }
  .ats-hpa-tile--dark .ats-hpa-tile__text { color: rgba(255, 255, 255, .78); }
  .ats-hpa-tile--dark .ats-hpa-cta { background: #fff !important; color: #111 !important; }
}

/* ===== v12 (24. 11. 2026): dlaždica adidas tmavozelená (zladená s fotkou ats-hpa-promo-adidas-v4.jpg), nadpis a popis oboch dlaždíc rovnako na 2 riadky (spany z ats-titulka-v24.js) ===== */
@media (min-width: 768px) and (max-width: 991px) {
  .ats-hpa-tile--teal { background: #19443a; }
  .ats-hpa-tile--teal .ats-hpa-cta { background: #fff; color: #111; }
}
@media (min-width: 768px) {
  .ats-hpa-pair .ats-hpa-tile__t1, .ats-hpa-pair .ats-hpa-tile__t2 { display: block; }
}
@media (min-width: 992px) {
  .ats-hpa-tile--teal { background: linear-gradient(180deg, #245a4c 0%, #1c4b40 45%, #19443a 100%); }
  .ats-hpa-tile--teal .ats-hpa-tile__img { width: 56%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
  .ats-hpa-tile--teal .ats-hpa-tile__img img { object-position: 100% 50%; }
  .ats-hpa-pair .ats-hpa-tile__l1, .ats-hpa-pair .ats-hpa-tile__l2 { display: block; }
}
@media (max-width: 767px) {
  .ats-hpa-tile--teal .ats-hpa-tile__img img { object-position: 100% 50%; }
}
