/* proball.cz – drobné úpravy mimo LIONS (úvodní box kategorií, bublina varianty,
   doporučené produkty v okně „Přidáno do košíku“, kvíz)
   Patří k proball-extra-v11.js (v12.css = v11.css + oprava rozskakování lišty po přihlášení,
   menší rozbalovací menu, tlačítka „Jak nakoupit?“ / účet jako jemné pilulky). Připojit před </body> (za lions-velikosti). */

:root {
  --pbx-css: 1; /* JS podle toho pozná, že se CSS načetlo */
  --pbx-navy: #2c355b;
  --pbx-red: #d95d58;
  --pbx-soft: #f3f5f9;
  --pbx-line: rgba(44, 53, 91, .10);
  --pbx-line-2: rgba(44, 53, 91, .18);
  --pbx-muted: rgba(44, 53, 91, .62);
  --pbx-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .04);
  --pbx-shadow-md: 0 6px 16px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
  --pbx-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 1) úvodní box kategorie: dlaždice s delším textem ---------
   Šablona dělá z <li> flex → každý kus textu je zvlášť a láme se po písmenech.
   JS přidá .pbx-tiles jen tam, kde je text dlouhý nebo je v řádku víc <strong>
   (krátké dlaždice typu „3 – muži od 16 let“ na /hazena zůstávají beze změny). */

body .pg-txt .text .text ul.pbx-tiles.pbx-tiles {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: .75rem !important;
  clear: both;
}
body .pg-txt .text .text ul.pbx-tiles.pbx-tiles > li {
  display: block !important;
  padding: .9rem 1rem 1rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  overflow-wrap: normal;
}
/* první tučný výraz = pilulka nahoře, text pod ní */
body .pg-txt .text .text ul.pbx-tiles.pbx-tiles > li > strong:first-child {
  display: flex !important;
  width: fit-content;
  min-width: 0 !important;
  height: auto !important;
  margin-bottom: .55rem;
  padding: .3rem .75rem !important;
  border-radius: 999px !important;
  font-size: .85rem !important;
  line-height: 1.3;
  white-space: normal !important;
}
/* další tučné výrazy uvnitř věty zůstávají obyčejným tučným textem */
body .pg-txt .text .text ul.pbx-tiles.pbx-tiles > li > strong:not(:first-child) {
  display: inline !important;
  min-width: 0 !important; height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--pbx-navy) !important;
  font-size: inherit !important;
  font-weight: 800 !important;
  white-space: normal !important;
}
/* dlaždice bez tučného výrazu (např. upozornění) – jemná poznámka */
body .pg-txt .text .text ul.pbx-tiles.pbx-tiles > li:not(:has(> strong)) {
  background: #fff;
  color: var(--pbx-muted);
}

/* obrázek: z levého sloupce malý náhled vpravo vedle nadpisu (JS ho přesune do karty) */
body .pg-txt .pbx-intro-img {
  float: right;
  width: 132px !important;
  margin: 0 0 .75rem 1.25rem !important;
}
body .pg-txt .pbx-intro-img img {
  width: 132px; height: 132px;
  object-fit: contain;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--pbx-soft) !important;
  padding: .4rem !important;
}
/* gradientní proužek patří kartě, ne náhledu */
body .pg-txt .pbx-intro-img::before { display: none !important; }
@media (max-width: 575.98px) {
  body .pg-txt .pbx-intro-img { display: none !important; }
}

/* ---------- 3) okno „Přidáno do košíku“: kompaktní doporučené produkty --- */

body .addedToCartDialog section.products-bought-with { margin-top: .5rem; }
body .addedToCartDialog section.products-bought-with > h2 {
  margin: 0 0 .75rem !important;
  padding: 0 !important;
  font-size: 1.35rem !important;
  text-align: left !important;
}

/* skupiny karuselu rozpustit → všechny karty v jedné mřížce */
body .addedToCartDialog .products-bought-with .carousel-inner {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .6rem;
  overflow: visible;
  margin: 0 !important;
}
body .addedToCartDialog .products-bought-with .carousel-item {
  display: contents !important;
}
body .addedToCartDialog .products-bought-with .carousel-navs { display: none !important; }

body .addedToCartDialog .products-bought-with article.p-i {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-areas: "img name" "img cart";
  align-items: center;
  column-gap: .75rem;
  row-gap: .3rem;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: .6rem .7rem !important;
  border: 1px solid var(--pbx-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
}
body .addedToCartDialog .products-bought-with article.p-i:hover { border-color: var(--pbx-line-2) !important; }

body .addedToCartDialog .products-bought-with .p-i-media {
  grid-area: img;
  width: 64px !important; height: 64px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 10px !important;
  background: var(--pbx-soft) !important;
  overflow: hidden;
}
body .addedToCartDialog .products-bought-with article.p-i::before,
body .addedToCartDialog .products-bought-with article.p-i::after { display: none !important; }
body .addedToCartDialog .products-bought-with .p-i-media img {
  width: 64px !important; height: 64px !important;
  max-width: none;
  object-fit: contain;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  padding: 4px !important;
}
body .addedToCartDialog .products-bought-with .p-i-media img + img { display: none !important; }

body .addedToCartDialog .products-bought-with .labels,
body .addedToCartDialog .products-bought-with .availability,
body .addedToCartDialog .products-bought-with .p-i-space,
body .addedToCartDialog .products-bought-with .p-i-space-a,
body .addedToCartDialog .products-bought-with .p-i-desc { display: none !important; }

body .addedToCartDialog .products-bought-with .p-i-header {
  grid-area: name;
  align-self: end;
  margin: 0 !important;
  font-size: .85rem !important;
  line-height: 1.3 !important;
  text-align: left !important;
}
body .addedToCartDialog .products-bought-with .p-i-header a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--pbx-navy) !important;
  font-weight: 700;
  text-decoration: none !important;
}

body .addedToCartDialog .products-bought-with .p-i-cart {
  grid-area: cart;
  align-self: start;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  gap: .5rem !important;
}
body .addedToCartDialog .products-bought-with .p-i-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .4rem; }
body .addedToCartDialog .products-bought-with .p-i-price .clearfix { display: none; }
body .addedToCartDialog .products-bought-with .price-main { font-size: .95rem !important; color: var(--pbx-navy); }
body .addedToCartDialog .products-bought-with .price-common { font-size: .75rem !important; }
body .addedToCartDialog .products-bought-with .btn-to-cart {
  flex: none;
  width: 36px !important; height: 36px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  display: inline-flex; align-items: center; justify-content: center;
}
body .addedToCartDialog .products-bought-with .btn-to-cart .ic { font-size: 1rem !important; }

/* mobil: karty vedle sebe, posouvání do strany */
@media (max-width: 767.98px) {
  body .addedToCartDialog .products-bought-with .carousel-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important; /* se „center“ by první karty utekly doleva mimo dosah */
    width: auto !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 2px 0 6px;
  }
  body .addedToCartDialog .products-bought-with .carousel-inner::-webkit-scrollbar { display: none; }
  body .addedToCartDialog .products-bought-with article.p-i {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  body .addedToCartDialog .products-bought-with article.p-i:only-child { flex-basis: 100%; }
}

/* ---------- 4) kvíz „Najdi si míč“ (testovací) ----------------------- */

.pbx-quiz-wrap { padding: 1rem 0 .5rem; }
.pbx-quiz {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid var(--pbx-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--pbx-shadow-sm);
  color: var(--pbx-navy);
  text-align: left;
}

.pbx-quiz-head { display: flex; align-items: center; gap: .85rem; }
.pbx-quiz-head > div { flex: 1; min-width: 0; }
.pbx-quiz-ico {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--pbx-navy);
  color: #fff;
}
.pbx-quiz-ico svg { width: 24px; height: 24px; }
.pbx-quiz-kicker {
  display: block;
  color: var(--pbx-muted);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.pbx-quiz h2 { margin: .1rem 0 0 !important; font-size: 1.35rem !important; line-height: 1.2; }
.pbx-quiz-back {
  flex: none;
  padding: .35rem .2rem;
  border: 0; background: none;
  color: var(--pbx-muted);
  font: inherit; font-size: .88rem; font-weight: 700;
  cursor: pointer;
}
.pbx-quiz-back:hover { color: var(--pbx-red); }

.pbx-quiz-steps { display: flex; gap: .35rem; margin: .9rem 0 1rem; }
.pbx-quiz-steps i {
  flex: 1; height: 4px;
  border-radius: 999px;
  background: rgba(44, 53, 91, .10);
  transition: background-color .25s var(--pbx-ease);
}
.pbx-quiz-steps i.on { background: var(--pbx-red); }

.pbx-quiz-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .55rem;
}
.pbx-quiz-opt {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: .1rem;
  min-height: 64px;
  padding: .7rem .95rem;
  border: 1.5px solid var(--pbx-line-2);
  border-radius: 14px;
  background: #fff;
  color: var(--pbx-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .18s var(--pbx-ease), background-color .18s var(--pbx-ease), transform .12s var(--pbx-ease);
}
.pbx-quiz-opt strong { font-size: 1rem; font-weight: 800; }
.pbx-quiz-opt span { color: var(--pbx-muted); font-size: .85rem; font-weight: 600; }
@media (hover: hover) {
  .pbx-quiz-opt:hover { border-color: var(--pbx-navy); background: var(--pbx-soft); }
}
.pbx-quiz-opt:active { transform: scale(.98); }
.pbx-quiz-opt:focus-visible, .pbx-quiz-prod:focus-visible { outline: none; border-color: var(--pbx-navy); box-shadow: 0 0 0 4px rgba(44, 53, 91, .15); }

/* výsledek */
.pbx-quiz-result {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: var(--pbx-soft);
}
.pbx-quiz-size {
  flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 84px;
  padding: .45rem .7rem;
  border-radius: 12px;
  background: var(--pbx-navy);
  color: #fff;
  line-height: 1.1;
  text-align: center;
}
.pbx-quiz-size span { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.pbx-quiz-size strong { color: #fff; font-size: 1.35rem; font-weight: 800; white-space: nowrap; }
.pbx-quiz-why p { margin: 0 !important; font-weight: 600; font-size: .95rem; line-height: 1.45; }
.pbx-quiz-why small { display: block; margin-top: .2rem; color: var(--pbx-muted); font-size: .78rem; }

.pbx-quiz-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .55rem;
  margin-top: .8rem;
}
.pbx-quiz-prod {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .7rem;
  border: 1px solid var(--pbx-line);
  border-radius: 14px;
  background: #fff;
  color: var(--pbx-navy) !important;
  text-decoration: none !important;
  transition: border-color .18s var(--pbx-ease), transform .18s var(--pbx-ease);
}
@media (hover: hover) {
  .pbx-quiz-prod:hover { border-color: var(--pbx-line-2); transform: translateY(-1px); }
}
.pbx-quiz-img {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 10px;
  background: var(--pbx-soft);
  overflow: hidden;
}
.pbx-quiz-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.pbx-quiz-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.pbx-quiz-txt strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: .88rem; font-weight: 700;
}
.pbx-quiz-txt em { color: var(--pbx-muted); font-size: .78rem; font-style: normal; font-weight: 600; }
.pbx-quiz-price { margin-top: .15rem; font-size: .95rem; font-weight: 800; }

/* než se načte detail produktu */
.pbx-quiz-prod.is-loading strong,
.pbx-quiz-prod.is-loading .pbx-quiz-price {
  min-height: 1em; width: 75%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--pbx-soft), #e8ebf2, var(--pbx-soft)) 0 0 / 200% 100%;
  animation: pbx-shimmer 1.2s linear infinite;
}
.pbx-quiz-prod.is-loading .pbx-quiz-price { width: 40%; margin-top: .35rem; }
@keyframes pbx-shimmer { to { background-position: -200% 0; } }

.pbx-quiz-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1rem;
  margin-top: .9rem;
}
.pbx-quiz-foot a { color: var(--pbx-red) !important; font-weight: 700; text-decoration: none !important; }
.pbx-quiz-again {
  padding: .45rem .9rem;
  border: 1.5px solid var(--pbx-line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--pbx-navy);
  font: inherit; font-size: .88rem; font-weight: 700;
  cursor: pointer;
}
.pbx-quiz-again:hover { border-color: var(--pbx-navy); }

@media (max-width: 575.98px) {
  .pbx-quiz { padding: 1rem; border-radius: 18px; }
  .pbx-quiz h2 { font-size: 1.15rem !important; }
  .pbx-quiz-opts { grid-template-columns: 1fr; }
  .pbx-quiz-opt { min-height: 56px; flex-direction: row; align-items: center; justify-content: space-between; }
  .pbx-quiz-result { align-items: flex-start; }
  .pbx-quiz-size { min-width: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .pbx-quiz-opt, .pbx-quiz-prod, .pbx-quiz-steps i { transition: none; }
  .pbx-quiz-prod.is-loading strong, .pbx-quiz-prod.is-loading .pbx-quiz-price { animation: none; }
}

/* kvíz uvnitř článku (Rádce) – bez vlastního kontejneru */
.pg-txt .text > .pbx-quiz { margin: 1.75rem 0; }

/* ---------- 5) Rádce: čitelný článek (JS přidá html.pbx-advisor) ----- */

.pbx-advisor .pg-txt .max { max-width: 760px !important; }
.pbx-advisor .pg-txt .text {
  color: #3a4366;
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: left !important;
}
.pbx-advisor .pg-txt .text > * { text-align: left !important; }
.pbx-advisor .pg-txt .text > p { margin: 0 0 1.1rem; }
.pbx-advisor .pg-txt .text > p.pbx-lead {
  color: var(--pbx-navy);
  font-size: 1.18rem;
  line-height: 1.65;
}
.pbx-advisor .pg-txt .text > h2 {
  position: relative;
  margin: 2.4rem 0 .8rem !important;
  padding-left: .9rem;
  color: var(--pbx-navy);
  font-size: 1.65rem !important;
  line-height: 1.2;
  text-align: left !important;
}
.pbx-advisor .pg-txt .text > h2::before {
  content: "";
  position: absolute; left: 0; top: .2em; bottom: .2em;
  width: 4px;
  border-radius: 4px;
  background: var(--pbx-red);
}
.pbx-advisor .pg-txt .text > h3 { margin: 1.6rem 0 .5rem !important; font-size: 1.2rem !important; text-align: left !important; }

/* odrážky a číslované kroky */
.pbx-advisor .pg-txt .text > ul,
.pbx-advisor .pg-txt .text > ol {
  margin: 0 0 1.3rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.pbx-advisor .pg-txt .text > ul > li,
.pbx-advisor .pg-txt .text > ol > li {
  position: relative;
  margin: 0 0 .6rem;
  padding-left: 2.1rem;
}
.pbx-advisor .pg-txt .text > ul > li::before {
  content: "";
  position: absolute; left: .55rem; top: .7em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pbx-red);
}
.pbx-advisor .pg-txt .text > ol { counter-reset: pbx-krok; }
.pbx-advisor .pg-txt .text > ol > li { counter-increment: pbx-krok; }
.pbx-advisor .pg-txt .text > ol > li::before {
  content: counter(pbx-krok);
  position: absolute; left: 0; top: .15em;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.55rem; height: 1.55rem;
  border-radius: 50%;
  background: var(--pbx-navy);
  color: #fff;
  font-size: .8rem; font-weight: 800;
  line-height: 1;
}
.pbx-advisor .pg-txt .text a:not(.pbx-quiz a):not(.btn) {
  color: var(--pbx-red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(217, 93, 88, .35);
}

/* časté dotazy jako karty */
.pbx-advisor .pg-txt .text > p.pbx-faq {
  margin: 0 0 .6rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--pbx-line);
  border-radius: 14px;
  background: var(--pbx-soft);
  font-size: 1rem;
}
.pbx-advisor .pg-txt .text > p.pbx-faq > strong:first-child {
  display: block;
  margin-bottom: .2rem;
  color: var(--pbx-navy);
}
.pbx-advisor .pg-txt .text > p.pbx-faq > strong:first-child + br { display: none; }

/* tabulky v článku (např. velikosti míčů) */
.pbx-advisor .pg-txt .text table {
  width: 100%;
  margin: 0 0 1.4rem;
  border: 1px solid var(--pbx-line);
  border-collapse: separate; border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  font-size: .95rem;
  line-height: 1.45;
}
.pbx-advisor .pg-txt .text th,
.pbx-advisor .pg-txt .text td {
  padding: .6rem .8rem;
  border: 0;
  border-bottom: 1px solid var(--pbx-line);
  text-align: left;
  vertical-align: top;
}
.pbx-advisor .pg-txt .text thead th,
.pbx-advisor .pg-txt .text tr:first-child th {
  background: var(--pbx-navy);
  color: #fff;
  font-weight: 700;
}
.pbx-advisor .pg-txt .text tbody tr:last-child > * { border-bottom: 0; }
.pbx-advisor .pg-txt .text tbody tr:nth-child(even) td { background: #fafbfd; }
.pbx-advisor .pg-txt .text td:first-child { color: var(--pbx-navy); font-weight: 800; white-space: nowrap; }

/* doba čtení pod nadpisem */
.pbx-read {
  margin: .6rem 0 0 !important;
  color: var(--pbx-muted);
  font-size: .85rem; font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
}

@media (max-width: 575.98px) {
  .pbx-advisor .pg-txt .text { font-size: 1rem; }
  .pbx-advisor .pg-txt .text > p.pbx-lead { font-size: 1.08rem; }
  .pbx-advisor .pg-txt .text > h2 { font-size: 1.35rem !important; }
  .pbx-advisor .pg-txt .text table { display: block; overflow-x: auto; }
}

/* ---------- 6) „Jak nakoupit?“ ---------------------------------------- */

.pbx-howto { text-align: left; }
.pbx-facts {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .6rem;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.pbx-facts li {
  margin: 0 !important;
  padding: .8rem 1rem !important;
  border: 1px solid var(--pbx-line);
  border-left: 4px solid var(--pbx-red);
  border-radius: 14px;
  background: #fff;
  color: var(--pbx-muted);
  font-size: .92rem; font-weight: 600;
  line-height: 1.4;
}
.pbx-facts strong { display: block; color: var(--pbx-navy); font-size: 1.05rem; font-weight: 800; }

.pbx-steps {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: pbx-krok;
}
.pbx-steps li {
  counter-increment: pbx-krok;
  display: flex; flex-direction: column; gap: .3rem;
  margin: 0 !important;
  padding: 1rem 1.1rem 1.1rem !important;
  border: 1px solid var(--pbx-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--pbx-shadow-sm);
  font-size: .93rem;
  line-height: 1.5;
}
.pbx-steps li::before {
  content: counter(pbx-krok);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  margin-bottom: .3rem;
  border-radius: 50%;
  background: var(--pbx-navy);
  color: #fff;
  font-weight: 800;
}
.pbx-steps li > strong { color: var(--pbx-navy); font-size: 1.05rem; font-weight: 800; }
.pbx-steps span strong { color: var(--pbx-navy); }
.pbx-steps span { color: #4a5275; }
.pbx-steps a { color: var(--pbx-red) !important; font-weight: 700; }

.pbx-howto-links {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  margin: 0 0 1.5rem !important;
}
.pbx-howto-links a { color: var(--pbx-red) !important; font-weight: 700; text-decoration: none !important; }

.pbx-more {
  border-top: 1px solid var(--pbx-line);
  padding-top: 1rem;
}
.pbx-more > summary {
  display: inline-block;
  color: var(--pbx-navy);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  border-bottom: 1.5px solid var(--pbx-line-2);
}
.pbx-more > summary::-webkit-details-marker { display: none; }
.pbx-more > summary::before { content: "+ "; }
.pbx-more[open] > summary::before { content: "− "; }
.pbx-more[open] > summary { margin-bottom: 1rem; }
/* původní nadpisy šablony (podtržené VERZÁLKY) → klidné mezititulky */
.pbx-more p > span[style*="underline"] {
  display: block;
  margin-top: .75rem;
  text-decoration: none !important;
  font-size: 1.05rem !important;
  letter-spacing: .02em;
  color: var(--pbx-navy);
}

/* ---------- 7) Pro kluby a školy – poptávka --------------------------- */

.pbx-club-btn {
  display: flex; align-items: center; gap: .8rem;
  width: 100%;
  margin: .9rem 0 0;
  padding: .75rem 1rem;
  border: 1.5px dashed var(--pbx-line-2);
  border-radius: 14px;
  background: #fff;
  color: var(--pbx-navy);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .18s var(--pbx-ease), background-color .18s var(--pbx-ease);
}
@media (hover: hover) {
  .pbx-club-btn:hover { border-color: var(--pbx-navy); border-style: solid; background: var(--pbx-soft); }
  .pbx-club-btn:hover .pbx-club-arrow { transform: translateX(3px); }
}
.pbx-club-btn:focus-visible { outline: none; border-color: var(--pbx-navy); box-shadow: 0 0 0 4px rgba(44, 53, 91, .15); }
.pbx-club-btn > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.pbx-club-btn strong { font-size: .95rem; font-weight: 800; }
.pbx-club-btn em { color: var(--pbx-red); font-size: .88rem; font-style: normal; font-weight: 700; }
.pbx-club-arrow { flex: none; color: var(--pbx-red); font-size: 1.2rem; font-weight: 800; transition: transform .18s var(--pbx-ease); }
.pbx-club-ico {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pbx-soft);
  color: var(--pbx-navy);
}
.pbx-club-ico svg { width: 22px; height: 22px; }

/* hlavní stránka: pod kvízem, stejně široké */
.pbx-club-wrap { padding: 0 0 .5rem; }
.pbx-club-wrap .pbx-club-btn { max-width: 760px; margin: 0 auto; }

/* okno s formulářem */
.pbx-club-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: var(--pbx-navy);
  text-align: left;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .25);
  overflow: auto;
  overscroll-behavior: contain;
}
.pbx-club-dialog::backdrop { background: rgba(20, 26, 48, .55); }
.pbx-club-dialog[open] { animation: pbx-dlg-in .2s var(--pbx-ease); }
@keyframes pbx-dlg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }

.pbx-club-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  padding: 1.25rem 1.35rem 1.35rem;
}
.pbx-club-head { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .25rem; }
.pbx-club-head > div { flex: 1; }
.pbx-club-head h2 { margin: 0 0 .15rem !important; font-size: 1.3rem !important; line-height: 1.2; }
.pbx-club-head p { margin: 0 !important; color: var(--pbx-muted); font-size: .9rem; }
.pbx-club-close {
  flex: none;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: var(--pbx-soft);
  color: var(--pbx-navy);
  font-size: 1.35rem; line-height: 1;
  cursor: pointer;
}
.pbx-f { display: flex; flex-direction: column; align-items: stretch; gap: .3rem; margin: 0; text-align: left; }
.pbx-f-wide { grid-column: 1 / -1; }
.pbx-f > span { font-size: .82rem; font-weight: 700; }
.pbx-f i { color: var(--pbx-muted); font-style: normal; font-weight: 600; }
.pbx-f input, .pbx-f textarea {
  width: 100%;
  padding: .6rem .75rem;
  border: 1.5px solid var(--pbx-line-2);
  border-radius: 10px;
  background: #fff;
  color: var(--pbx-navy);
  font: inherit; font-size: 16px; /* 16 px = iPhone při psaní nezoomuje */
}
.pbx-f input:focus, .pbx-f textarea:focus { outline: none; border-color: var(--pbx-navy); box-shadow: 0 0 0 4px rgba(44, 53, 91, .12); }
.pbx-f textarea { resize: vertical; min-height: 76px; }
.pbx-club-err {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: .55rem .8rem;
  border-radius: 10px;
  background: rgba(217, 93, 88, .09);
  color: #b4433e;
  font-size: .9rem; font-weight: 700;
}
.pbx-club-err[hidden] { display: none; }
.pbx-club-foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .5rem; margin-top: .25rem; }
.pbx-club-send {
  height: 48px;
  border: 0; border-radius: 12px;
  background: var(--pbx-red);
  color: #fff;
  font: inherit; font-size: 1rem; font-weight: 800;
  cursor: pointer;
  transition: filter .18s, transform .12s var(--pbx-ease);
}
.pbx-club-send:hover { filter: brightness(.95); }
.pbx-club-send:active { transform: scale(.98); }
.pbx-club-foot small { color: var(--pbx-muted); font-size: .78rem; line-height: 1.45; }
.pbx-club-foot small a { color: var(--pbx-navy) !important; text-decoration: underline; }

@media (max-width: 575.98px) {
  .pbx-club-form { grid-template-columns: 1fr; padding: 1rem; }
  .pbx-club-head h2 { font-size: 1.15rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .pbx-club-dialog[open] { animation: none; }
  .pbx-club-btn, .pbx-club-arrow { transition: none; }
}

/* ---------- v4: hlavní stránka – kvíz a poptávka stejně široké jako karty */

.pbx-quiz-wrap .pbx-quiz,
.pbx-club-wrap .pbx-club-btn { max-width: none; }
.pbx-quiz-wrap .pbx-quiz-opts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* ---------- v4: banner „DNES objednáte, ZÍTRA posíláme“ – místo hodin
   kalendář → balík na cestě (zdroj: zdroj/banner-expedice.svg) ------- */

body .bic-bnr-cvr1 .cover .ov.bi {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 400' preserveAspectRatio='xMidYMid slice' fill='none' stroke='%23fff' stroke-width='10' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='110' y='70' width='270' height='270' rx='28'/%3E%3Cpath d='M110 140h270M180 45v50M310 45v50'/%3E%3Cg stroke-width='0' fill='%23fff'%3E%3Ccircle cx='165' cy='190' r='9'/%3E%3Ccircle cx='215' cy='190' r='9'/%3E%3Ccircle cx='265' cy='190' r='9'/%3E%3Ccircle cx='315' cy='190' r='9'/%3E%3Ccircle cx='165' cy='240' r='9'/%3E%3Ccircle cx='215' cy='240' r='9'/%3E%3Ccircle cx='315' cy='240' r='9'/%3E%3Ccircle cx='165' cy='290' r='9'/%3E%3Ccircle cx='215' cy='290' r='9'/%3E%3Ccircle cx='265' cy='290' r='9'/%3E%3C/g%3E%3Ccircle cx='265' cy='240' r='30'/%3E%3Cpath d='M420 230C560 110 690 330 830 210' stroke-dasharray='2 34'/%3E%3Cpath d='M800 186l34 22-36 20'/%3E%3Cpath d='M900 170h130M940 220h110M880 270h150M960 320h70'/%3E%3Cpath d='M1080 130l150-62 150 62-150 62z'/%3E%3Cpath d='M1080 130v170l150 62V192M1380 130v170l-150 62'/%3E%3Cpath d='M1155 99l150 62v62'/%3E%3Cpath d='M1110 255l40 17'/%3E%3Ccircle cx='1480' cy='300' r='62'/%3E%3Cpath d='M1452 300l20 20 38-42'/%3E%3C/svg%3E") !important;
  background-size: cover !important;
  background-position: center !important;
}

/* ---------- v4: vánoční box (z lions-velikosti) – hezčí odpočet -------- */

.pbv-xmas.pbx-xmas {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
  padding: .9rem 1rem;
  border: 0;
  border-radius: 16px;
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(217, 93, 88, .35) 0%, rgba(217, 93, 88, 0) 55%),
    linear-gradient(135deg, #2c355b 0%, #39447a 100%);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(44, 53, 91, .22);
  overflow: hidden;
}
/* jemné „sněhové“ tečky */
.pbv-xmas.pbx-xmas::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  pointer-events: none;
}
.pbv-xmas.pbx-xmas > svg {
  position: relative; z-index: 1;
  width: 44px; height: 44px;
  padding: 10px;
  background: var(--pbx-red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 93, 88, .4);
}
.pbv-xmas.pbx-xmas > span { position: relative; z-index: 1; color: rgba(255, 255, 255, .8) !important; font-size: .88rem; }
.pbv-xmas.pbx-xmas strong { color: #fff !important; font-size: 1.02rem; letter-spacing: .01em; }
.pbv-xmas.pbx-xmas em { color: rgba(255, 255, 255, .8) !important; }
.pbv-xmas.pbx-xmas .pbv-countdown { display: none !important; }

.pbx-cd { position: relative; z-index: 1; display: flex; gap: .35rem; }
.pbx-cd span {
  display: flex; flex-direction: column; align-items: center;
  min-width: 46px;
  padding: .35rem .3rem .3rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  line-height: 1;
}
.pbv-xmas .pbx-cd span { color: #fff !important; font-size: inherit; font-weight: 700; }
.pbx-cd b { color: #fff !important; font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pbx-cd i { margin-top: .2rem; color: rgba(255, 255, 255, .75) !important; font-size: .66rem; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pbx-cd:empty { display: none; }

/* úzký box (mobil): odpočet pod text */
@media (max-width: 575.98px) {
  .pbv-xmas.pbx-xmas { grid-template-columns: auto 1fr; }
  .pbx-cd { grid-column: 1 / -1; }
  .pbx-cd span { flex: 1; }
}

/* ---------- v4: okno košíku – větší obrázky doporučených -------------- */

body .addedToCartDialog .products-bought-with article.p-i { grid-template-columns: 84px minmax(0, 1fr); }
body .addedToCartDialog .products-bought-with .p-i-media,
body .addedToCartDialog .products-bought-with .p-i-media img { width: 84px !important; height: 84px !important; }
body .addedToCartDialog .products-bought-with .p-i-media img { padding: 2px !important; }

/* mobil: tlačítka přilepená dole, doporučené hned pod dopravou zdarma,
   kompaktní řádek s přidaným produktem */
@media (max-width: 767.98px) {
  body .addedToCartDialog #snippet--addToCartDialog { gap: 1rem !important; padding-bottom: 0 !important; }
  body .addedToCartDialog #snippet--addToCartDialog > .order-buttons {
    order: 10;
    position: sticky; bottom: 0; z-index: 5;
    flex-direction: row !important;
    gap: .5rem !important;
    margin: 0 -1.875rem !important; /* přes celou šířku okna (okraj těla okna je 30 px) */
    padding: .7rem 1.875rem calc(.7rem + env(safe-area-inset-bottom)) !important;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 20px rgba(15, 23, 42, .08);
  }
  body .addedToCartDialog .order-buttons .btn { margin: 0 !important; min-height: 48px; }
  body .addedToCartDialog .order-buttons .order-button-continue { flex: 1 1 auto; order: 2; width: auto !important; }
  body .addedToCartDialog .order-buttons .order-button-back {
    flex: 0 0 auto; order: 1; width: auto !important;
    padding-left: 1rem !important; padding-right: 1rem !important;
    font-size: 0 !important; /* jen šipka „zpět“ */
  }
  body .addedToCartDialog .order-buttons .order-button-back .ic { font-size: 1rem !important; margin: 0 !important; }
  body .addedToCartDialog .order-buttons .order-button-back::after { content: "Zpět"; font-size: .95rem; font-weight: 700; margin-left: .35rem; }

  /* přidaný produkt: obrázek + název, pod tím počet a cena v jednom řádku */
  body .addedToCartDialog .CartRow { display: grid !important; grid-template-columns: 64px 1fr auto; align-items: center; gap: .25rem .8rem; padding: .7rem !important; }
  body .addedToCartDialog .CartRow > td { display: block; padding: 0 !important; border: 0 !important; }
  body .addedToCartDialog .CartRow > .c-t-cell-1 { grid-row: 1 / span 2; align-self: start; }
  body .addedToCartDialog .CartRow > .c-t-cell-1 img { width: 64px !important; height: 64px !important; object-fit: contain; }
  body .addedToCartDialog .CartRow > .c-t-cell-2 { grid-column: 2 / -1; font-size: .85rem; line-height: 1.35; }
  body .addedToCartDialog .CartRow > .c-t-cell-2 .small:has(> strong.availabity),
  body .addedToCartDialog .CartRow > .c-t-cell-4 { display: none !important; }
  body .addedToCartDialog .CartRow > .c-t-cell-3 { grid-column: 2; font-size: .9rem; color: var(--pbx-muted); }
  body .addedToCartDialog .CartRow > .c-t-cell-6 { grid-column: 3; font-size: 1.05rem; }
  body .addedToCartDialog .CartRow > td::before { display: none !important; }

  body .addedToCartDialog .products-bought-with article.p-i { grid-template-columns: 72px minmax(0, 1fr); flex-basis: 78%; }
  body .addedToCartDialog .products-bought-with .p-i-media,
  body .addedToCartDialog .products-bought-with .p-i-media img { width: 72px !important; height: 72px !important; }
}


/* ---------- v5: video „Pro školy a sportovní kluby“ na hlavní stránce ----------
   Šablona dává videu pevných 800×400 v odstavci → plná šířka sloupce, 16 : 9. */
.pbx-kluby .a-i,
.pbx-kluby .a-i-txt { width: 100%; max-width: 1040px; margin-inline: auto; }
.pbx-kluby .a-i-txt .text { width: 100%; }
.pbx-kluby .a-i-txt .text > p { margin: 0; }
/* body .bic-nws… – musí přebít mobilní pravidlo šablony (v14: 2 : 1, černé pozadí) */
body .bic-nws.pbx-kluby .a-i video {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  border-radius: 18px;
  background: #1d2443 !important;
  box-shadow: 0 18px 40px rgba(29, 36, 67, .22);
}
.pbx-kluby-cta { margin-top: 1.25rem; }
.pbx-kluby-cta .pbx-club-btn { max-width: 760px; margin: 0 auto; }
@media (max-width: 575.98px) {
  body .bic-nws.pbx-kluby .a-i video { border-radius: 12px; }
}

/* ---------- v6: živé bannery v hlavním slideru (házená, fotbal, basketbal) ----------
   Stejný poměr stran jako obrázkové bannery (1440 × 428), rozměry v cqw →
   na každé šířce vypadá stejně jako obrázek, jen je ostrý a cena je živá. */
#banner1 .pbx-bnr {
  --a: #e5383b; /* barva sportu */
  aspect-ratio: 1440 / 428;
  container-type: inline-size;
  overflow: hidden;
  /* position NEnastavovat: šablona dává přijíždějícímu slidu position: absolute
     (.carousel-item-next/prev) – s relative by zůstal v řadě a obrázek vedle zmáčkl */
  color: var(--pbx-navy);
  text-decoration: none !important;
  background: linear-gradient(105deg, #f9fafc 0%, #f0f2f8 55%, #e7ebf5 100%);
  font-family: 'Open Sans', system-ui, sans-serif;
}
#banner1 .pbx-bnr-fotbal { --a: #17985a; }
#banner1 .pbx-bnr-basket { --a: #ea6a1c; }

/* jemná záře barvy sportu za míčem */
.pbx-bnr-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 50%, color-mix(in srgb, var(--a) 10%, transparent) 0 18cqw, transparent 34cqw),
    radial-gradient(circle at 0% 100%, rgba(44, 53, 91, .06), transparent 30cqw);
}
.pbx-bnr-in { position: absolute; inset: 0; display: flex; align-items: center; }
.pbx-bnr-txt {
  position: relative;
  z-index: 1;
  padding-left: 5.8cqw;
  width: 54cqw;
  text-align: left; /* šablona dává slidům center */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pbx-bnr-kicker {
  display: inline-flex;
  align-items: center;
  gap: .8cqw;
  font-size: 1.05cqw;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--a);
  margin-bottom: 1.1cqw;
}
.pbx-bnr-kicker::before { content: ''; width: 2.4cqw; height: .3cqw; border-radius: 9px; background: var(--a); }
.pbx-bnr-h {
  font-family: Anton, Impact, sans-serif;
  font-size: 4.2cqw;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--pbx-navy);
}
.pbx-bnr-p { margin: .8cqw 0 0 !important; max-width: 40cqw; font-size: 1.3cqw; font-weight: 600; color: #6b7591; line-height: 1.35; }
.pbx-bnr-price { display: flex; align-items: baseline; gap: 1.2cqw; margin-top: 1.4cqw; }
.pbx-bnr-now { font-size: 3cqw; font-weight: 900; color: #1d2443; line-height: 1; letter-spacing: -.01em; }
.pbx-bnr-old { font-size: 1.45cqw; font-weight: 700; color: #8a93ab; text-decoration-color: #e5383b; text-decoration-thickness: .16cqw; }
.pbx-bnr-old[hidden] { display: none; }
.pbx-bnr-row { display: flex; align-items: center; gap: 1.8cqw; margin-top: 1.6cqw; }
.pbx-bnr-btn {
  display: inline-flex;
  align-items: center;
  gap: .8cqw;
  font-size: 1.3cqw;
  font-weight: 800;
  color: #fff;
  background: var(--pbx-navy);
  padding: .95cqw 2cqw;
  border-radius: 99px;
  box-shadow: 0 .7cqw 1.6cqw rgba(44, 53, 91, .25);
  transition: background .25s var(--pbx-ease), transform .25s var(--pbx-ease);
}
.pbx-bnr-btn i { font-style: normal; transition: transform .25s var(--pbx-ease); }
.pbx-bnr-perks { display: flex; flex-direction: column; gap: .35cqw; font-size: 1.02cqw; font-weight: 700; color: #4b5674; }
.pbx-bnr-perks > span { display: inline-flex; align-items: center; gap: .55cqw; }
.pbx-bnr-perks > span::before {
  content: '✓';
  display: inline-grid;
  place-items: center;
  width: 1.35cqw;
  height: 1.35cqw;
  border-radius: 50%;
  font-size: .8cqw;
  color: #fff;
  background: #1acb4f;
}
.pbx-bnr-perks > [hidden] { display: none; }

/* míč na tmavém kruhu s čarami hřiště; kruh přesahuje nahoru i dolů */
.pbx-bnr-vis { position: absolute; left: 74cqw; top: 50%; width: 0; height: 0; }
.pbx-bnr-ring,
.pbx-bnr-disc,
.pbx-bnr-ball { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
.pbx-bnr-ring { width: 46cqw; height: 46cqw; border: 2px dashed rgba(44, 53, 91, .15); }
.pbx-bnr-disc {
  width: 36cqw;
  height: 36cqw;
  overflow: hidden;
  background: radial-gradient(circle at 38% 32%, #3a4685 0%, #2c355b 55%, #20284a 100%);
  box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .05);
}
.pbx-bnr-disc svg { width: 100%; height: 100%; display: block; opacity: .16; }
.pbx-bnr-ball {
  width: 24.5cqw;
  height: 24.5cqw;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2.2cqw 3.6cqw rgba(10, 14, 32, .4), 0 0 0 .45cqw rgba(255, 255, 255, .08);
  transition: transform .6s var(--pbx-ease);
}
/* fotky mají bílé rohy → oříznout do kruhu, mírně zvětšit, ať nezůstane bílý lem */
#banner1 .pbx-bnr-ball img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  transform: scale(var(--z, 1.03)); /* --z: fotka s okrajem kolem míče */
  display: block;
}
/* samolepka se slevou na míči */
.pbx-bnr-sticker {
  position: absolute;
  left: -13.5cqw;
  top: -12cqw;
  width: 7cqw;
  height: 7cqw;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5383b;
  border: .35cqw solid #fff;
  box-shadow: 0 .8cqw 1.8cqw rgba(229, 56, 59, .35);
  transform: rotate(-12deg);
}
.pbx-bnr-sticker b { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 1.9cqw; color: #fff; letter-spacing: .01em; }
.pbx-bnr-sticker[hidden] { display: none; }

@media (hover: hover) {
  #banner1 .pbx-bnr:hover .pbx-bnr-btn { background: var(--a); transform: translateY(-1px); }
  #banner1 .pbx-bnr:hover .pbx-bnr-btn i { transform: translateX(.4cqw); }
  #banner1 .pbx-bnr:hover .pbx-bnr-ball { transform: translate(-50%, -50%) rotate(16deg) scale(1.04); }
}
#banner1 .pbx-bnr:focus-visible { outline: 3px solid var(--pbx-red); outline-offset: -3px; }

/* úzké telefony: méně textu, zbytek o něco větší */
@container (max-width: 640px) {
  .pbx-bnr-p, .pbx-bnr-perks, .pbx-bnr-kicker { display: none; }
  .pbx-bnr-txt { width: 60cqw; }
  .pbx-bnr-h { font-size: 5.1cqw; } /* „EHF Champions League“ se musí vejít na řádek */
  .pbx-bnr-now { font-size: 4.6cqw; }
  .pbx-bnr-old { font-size: 2.4cqw; }
  .pbx-bnr-price { margin-top: 1.6cqw; }
  .pbx-bnr-row { margin-top: 2cqw; }
  .pbx-bnr-btn { font-size: 2.5cqw; padding: 1.3cqw 2.8cqw; }
  .pbx-bnr-sticker { width: 9cqw; height: 9cqw; left: -14cqw; top: -13cqw; }
  .pbx-bnr-sticker b { font-size: 2.6cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .pbx-bnr-ball, .pbx-bnr-btn, .pbx-bnr-btn i { transition: none; }
}

/* ---------- 11) Rádce v8: kratší H1, boční seznam, bez sdílení ------- */

.pbx-advisor .pg-hdr h1 {
  max-width: 24ch;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3rem) !important;
  line-height: 1.08 !important;
  text-wrap: balance;
}
.pbx-advisor .section.share { display: none !important; }

/* „Další články“ vlevo: číslované položky, světlý hover, aktuální článek
   zvýrazněný (šablona při najetí dávala tmavé pozadí s tmavým textem) */
body .advice-box .list-group { counter-reset: pbx-cl; padding: .35rem 0; }
body .advice-box .list-group .SNIitem {
  position: relative;
  counter-increment: pbx-cl;
  padding: .85rem 1.3rem .9rem 1.3rem !important;
  border: 0 !important;
  border-top: 1px solid var(--pbx-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  transition: background-color .15s ease;
}
body .advice-box .list-group .SNIitem:first-child { border-top: 0 !important; }
body .advice-box .list-group .SNIitem::before {
  content: counter(pbx-cl, decimal-leading-zero) !important;
  position: static !important; /* šablona tu má růžový proužek vpravo */
  display: block !important;
  width: auto !important; height: auto !important;
  background: none !important;
  opacity: 1 !important;
  margin-bottom: .2rem;
  color: var(--pbx-red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}
body .advice-box .list-group .SNIitem::after { display: none !important; }
body .advice-box .lgi-heading {
  color: var(--pbx-navy) !important;
  font-size: .98rem;
  font-weight: 700 !important;
  line-height: 1.3;
}
body .advice-box .lgi-text {
  padding-top: .25rem !important;
  color: var(--pbx-muted) !important;
  font-size: .84rem;
  font-weight: 400 !important;
  line-height: 1.45;
}
body .advice-box .list-group .SNIitem:hover,
body .advice-box .list-group .SNIitem:focus-visible { background: var(--pbx-soft) !important; }
body .advice-box .list-group .SNIitem:hover .lgi-heading { color: var(--pbx-red) !important; }
body .advice-box .list-group .SNIitem.active {
  background: var(--pbx-soft) !important;
  box-shadow: inset 3px 0 0 var(--pbx-red);
}
body .advice-box .list-group .SNIitem.active::before { content: "Právě čtete" !important; }

/* ---------- 12) Seznam článků Rádce jako karty ---------------------- */

body .artcl .articles-columns.articles-columns {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  columns: auto !important;
  margin: 0 !important; /* šablona: -61px kvůli skrytí <hr> → ořízlo by horní okraj karet */
  padding: .5rem 0 1rem;
  text-align: left !important;
}
body .artcl .ovx-h.ovy-h { overflow: visible !important; }
body .artcl .articles-columns > article.a-i {
  display: flex !important;
  flex-direction: column;
  gap: .7rem !important;
  margin: 0 !important;
  padding: 1.4rem 1.4rem 1.25rem;
  border: 1px solid var(--pbx-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--pbx-shadow-sm);
  text-align: left !important;
  transition: transform .2s var(--pbx-ease), box-shadow .2s var(--pbx-ease), border-color .2s ease;
}
body .artcl .articles-columns > article.a-i:hover {
  transform: translateY(-3px);
  border-color: var(--pbx-line-2);
  box-shadow: var(--pbx-shadow-md);
}
body .artcl .articles-columns > article.a-i > hr { display: none; }
body .artcl .articles-columns > article.a-i h3 {
  margin: 0 !important;
  font-size: 1.4rem !important;
  line-height: 1.15 !important;
  text-align: left !important;
}
body .artcl .articles-columns > article.a-i h3 a { color: var(--pbx-navy) !important; }
body .artcl .articles-columns > article.a-i:hover h3 a { color: var(--pbx-red) !important; }
body .artcl .articles-columns > article.a-i .a-i-text {
  flex: 1;
  color: var(--pbx-muted);
  font-size: .97rem;
  line-height: 1.6;
  text-align: left !important;
}
body .artcl .articles-columns > article.a-i .a-i-text p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body .artcl .articles-columns > article.a-i > .btn { align-self: flex-start; margin: .2rem 0 0 !important; }
.pbx-tag {
  align-self: flex-start;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: rgba(217, 93, 88, .1);
  color: var(--pbx-red);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- 13) „Poradíme“ – odkazy na Rádce v kategoriích a u produktů */

.pbx-tips-wrap { padding: 0 0 1.25rem; }
.pbx-tips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}
.pbx-tips > span {
  flex-basis: 100%;
  margin: 0 0 -.1rem;
  color: var(--pbx-muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pbx-tips a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid var(--pbx-line-2);
  border-radius: 12px;
  background: #fff;
  color: var(--pbx-navy) !important;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  transition: border-color .15s ease, background-color .15s ease;
}
.pbx-tips a::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2Zm0 0A2 2 0 0 0 6 22h13'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5V5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2Zm0 0A2 2 0 0 0 6 22h13'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--pbx-red);
}
.pbx-tips a:hover { border-color: var(--pbx-red); background: var(--pbx-soft); }
.pd-info .pbx-tips { margin-top: .25rem; }
@media (max-width: 575px) {
  .pbx-tips a { width: 100%; }
}

/* ---------- 14) Newsletter v levém sloupci --------------------------- */

.column-left .pbx-nl { overflow: hidden; }
/* nový newsletter vlevo nahrazuje původní pruh dole (formulář zůstává
   v HTML schovaný – nový přes něj odesílá) */
.pbx-nl-on .bic-fnl { display: none !important; }
.pbx-nl-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin: 0;
  padding: 1.25rem 1.4rem 1.3rem;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(217, 93, 88, .12), transparent 60%),
    #fff;
}
.pbx-nl-body::after {
  content: "";
  position: absolute; right: -14px; top: -10px;
  width: 92px; height: 92px;
  background: var(--pbx-red);
  opacity: .1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.pbx-nl-lead { margin: 0; color: var(--pbx-navy); font-size: 1.02rem; line-height: 1.5; }
.pbx-nl-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; }
.pbx-nl-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--pbx-muted);
  font-size: .92rem;
  line-height: 1.4;
}
.pbx-nl-list li::before {
  content: "";
  position: absolute; left: 0; top: .1em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--pbx-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.pbx-nl-field { display: block; margin: .2rem 0 0; }
.pbx-nl-field input {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  border: 1.5px solid var(--pbx-line-2);
  border-radius: 12px;
  background: #fff;
  color: var(--pbx-navy);
  font-size: 1rem;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pbx-nl-field input:focus { border-color: var(--pbx-navy); box-shadow: 0 0 0 4px rgba(44, 53, 91, .1); }
.pbx-nl-btn {
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--pbx-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(217, 93, 88, .3);
  transition: transform .15s var(--pbx-ease), box-shadow .15s var(--pbx-ease), background-color .15s ease;
}
.pbx-nl-btn:hover { background: #c94e49; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(217, 93, 88, .35); }
.pbx-nl-btn:active { transform: translateY(0) scale(.98); }
.pbx-nl-note { margin: 0; color: var(--pbx-muted); font-size: .78rem; line-height: 1.45; }
.pbx-nl-note a { color: inherit !important; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .pbx-nl-btn { transition: none; } }

/* ---------- 15) Menu na mobilu (do 1199 px) ---------------------------
   Čistý seznam jako u velkých e-shopů: název vlevo, šipka vpravo, jemné
   čáry, aktuální kategorie s červenou linkou. Dole decentní odkazy. */

.pbx-menu-extra { display: none; }
@media (max-width: 1199.98px) {
  #menuCollapse ul.top-menu { padding: .4rem 0 .6rem !important; }
  #menuCollapse ul.top-menu::before {
    content: "Kategorie";
    display: block;
    padding: .6rem 1.4rem .5rem;
    color: rgba(255, 255, 255, .5);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  #menuCollapse ul.top-menu > li { position: relative; margin: 0 !important; border: 0 !important; }
  #menuCollapse ul.top-menu > li.PriorBtn { display: none !important; }
  #menuCollapse ul.top-menu > li + li { border-top: 1px solid rgba(255, 255, 255, .07) !important; }
  #menuCollapse ul.top-menu > li > a.lgi-1 {
    display: flex !important;
    align-items: center;
    min-height: 52px;
    padding: .7rem 2.8rem .7rem 1.4rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: .01em;
    transition: background-color .15s ease;
  }
  /* šipka vpravo (u Doplňků zůstává rozbalovací šipka šablony) */
  #menuCollapse ul.top-menu > li:not(.t-m-165) > a.lgi-1::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    right: 1.4rem; top: 50%; left: auto !important; bottom: auto !important;
    width: 7px !important; height: 7px !important;
    margin-top: -4px;
    border: solid rgba(255, 255, 255, .45) !important;
    border-width: 0 2px 2px 0 !important;
    background: none !important;
    transform: rotate(-45deg);
    opacity: 1 !important;
  }
  #menuCollapse ul.top-menu > li > a.lgi-1::before { display: none !important; }
  #menuCollapse ul.top-menu > li > a.lgi-1:active { background: rgba(255, 255, 255, .06) !important; }
  #menuCollapse ul.top-menu > li > a.lgi-1.active {
    background: rgba(255, 255, 255, .06) !important;
    box-shadow: inset 3px 0 0 var(--pbx-red);
  }
  #menuCollapse li.t-m-165 .l-m-body { padding: 0 0 .4rem !important; }
  #menuCollapse li.t-m-165 .l-m-body a { padding-left: 2.2rem !important; font-weight: 500 !important; }

  /* spodní blok: akce, Rádce, doprava, kontakt */
  .pbx-menu-extra {
    display: grid;
    gap: .15rem;
    margin: .2rem 0 0;
    padding: .9rem 0 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .pbx-menu-promo {
    display: flex; align-items: center; gap: .6rem;
    margin: 0 1.4rem .6rem;
    padding: .6rem .8rem;
    border: 1px solid rgba(217, 93, 88, .55);
    border-radius: 10px;
    color: #fff !important;
    font-size: .85rem; font-weight: 600; line-height: 1.3;
    text-decoration: none !important;
  }
  .pbx-menu-promo b {
    flex: none;
    padding: .2rem .45rem;
    border-radius: 6px;
    background: var(--pbx-red);
    font-size: .8rem; font-weight: 800;
  }
  .pbx-menu-extra > a:not(.pbx-menu-promo) {
    display: flex; align-items: center; gap: .75rem;
    padding: .6rem 1.4rem;
    color: rgba(255, 255, 255, .78) !important;
    font-size: .92rem; font-weight: 500;
    text-decoration: none !important;
  }
  .pbx-menu-extra svg { flex: none; width: 18px; height: 18px; opacity: .7; }
}

/* ---------- 16) Mobilní menu: horní lišta a podmenu ------------------- */

@media (max-width: 1199.98px) {
  /* lišta s ikonami (e-mail, účet, více) a křížkem – menší, srovnaná */
  #menuCollapse > .nav-tabs {
    gap: .5rem;
    padding: .9rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
  }
  html body #menuCollapse > .nav-tabs.nav-tabs > a {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    gap: .2rem;
    min-width: 42px; width: auto !important; height: 42px !important;
    padding: 0 .7rem !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
  }
  html body #menuCollapse > .nav-tabs.nav-tabs > a[aria-expanded="true"]:not(.hdr-menu-close) { background: rgba(255, 255, 255, .18) !important; }
  #menuCollapse > .nav-tabs > a svg { width: 18px !important; height: 18px !important; }
  html body #menuCollapse > .nav-tabs.nav-tabs > a.hdr-menu-close { margin-left: auto !important; background: transparent !important; }

  /* rozbalené podmenu (účet, Jak nakoupit) – stejný seznam jako kategorie */
  #menuCollapse > .ActiveMoreSidebar > .list-group,
  #menuCollapse > .ActiveMoreSidebar > ul {
    margin: 0 !important;
    padding: .3rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    background: rgba(0, 0, 0, .12) !important;
  }
  #menuCollapse .ActiveMoreSidebar a.lgi {
    display: flex !important;
    align-items: center;
    gap: .75rem;
    min-height: 46px;
    padding: .55rem 1.4rem !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, .88) !important;
    font-size: .95rem !important;
    font-weight: 500 !important;
    line-height: 1.3;
  }
  #menuCollapse .ActiveMoreSidebar a.lgi svg { width: 18px; height: 18px; opacity: .7; }
  /* „Jak nakoupit?“: bez rozbalování navíc – rovnou seznam stránek */
  #menuCollapse .hdr-sidebar-contact > li > a.TM,
  #menuCollapse .hdr-sidebar-contact > li > a.ScLink,
  #menuCollapse .hdr-sidebar-contact .dd-arrow { display: none !important; }
  #menuCollapse .hdr-sidebar-contact > li > .l-m-body {
    display: block !important;
    position: static !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* ---------- 17) Produkt na mobilu: naposledy navštívené, oblíbené ----- */

@media (max-width: 575.98px) {
  /* „Naposledy navštívené“ – kompaktní řádky místo karet přes celou šířku */
  .bic-last .card-group.card-group {
    display: grid !important;
    gap: .6rem;
    margin: .8rem 0 0 !important;
  }
  .bic-last article.p-i.p-i {
    display: grid !important;
    grid-template-columns: 76px 1fr auto;
    grid-template-areas: "img name cart" "img price cart";
    align-items: center;
    column-gap: .8rem;
    row-gap: .15rem;
    width: auto !important;
    margin: 0 !important;
    padding: .6rem .75rem !important;
    border-radius: 14px !important;
    box-shadow: var(--pbx-shadow-sm) !important;
  }
  .bic-last article.p-i .p-i-media { grid-area: img; margin: 0 !important; }
  .bic-last article.p-i .p-i-media img { width: 76px; height: 76px; object-fit: contain; border-radius: 10px; }
  .bic-last article.p-i .labels,
  .bic-last article.p-i .availability,
  .bic-last article.p-i .p-i-space,
  .bic-last article.p-i .p-i-space-a { display: none !important; }
  .bic-last article.p-i .p-i-header { grid-area: name; align-self: end; margin: 0 !important; font-size: .92rem !important; line-height: 1.3; }
  .bic-last article.p-i .p-i-cart { display: contents !important; }
  .bic-last article.p-i .p-i-price { grid-area: price; align-self: start; }
  .bic-last article.p-i .p-i-price .price-main { font-size: 1rem !important; }
  .bic-last article.p-i .p-i-price .price-common { margin-left: .35rem; font-size: .8rem !important; }
  .bic-last article.p-i .p-i-price .clearfix { display: none; }
  .bic-last article.p-i .btn-to-cart {
    grid-area: cart;
    width: 42px !important; height: 42px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
  }

  /* Přidat do oblíbených / porovnání – menší, vedle sebe */
  .product-functions.product-functions { gap: .5rem !important; flex-wrap: nowrap !important; }
  .product-functions a.icon-text {
    padding: .45rem .8rem !important;
    border: 1px solid var(--pbx-line-2);
    border-radius: 999px;
    background: #fff;
    font-size: .85rem !important;
    white-space: nowrap;
  }
}

/* ---------- 18) Počítač: rozbalovací menu nahoře + Poradíme na střed --- */

@media (min-width: 1200px) {
  /* jen <li> – šablona dává třídu hdr-acc i samotnému menu (pak by se vložilo do lišty) */
  .hdr-top li.contact-menu, .hdr-top li.hdr-acc { position: relative; }
  .hdr-top li.hdr-acc .dd-arrow, .hdr-top li.contact-menu .dd-arrow { display: none !important; }
  .hdr-top .dropdown-menu.dropdown-menu { position: absolute !important; top: calc(100% + 8px) !important; }

  /* tlačítka v liště: jemné pilulky */
  .hdr-top .navbar-nav { gap: .4rem; }
  .hdr-top li.contact-menu > a.dropdown-toggle,
  .hdr-top li.hdr-acc > a.dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: .4rem;
    height: 34px;
    padding: 0 .85rem !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: #fff !important;
    font-size: .84rem !important;
    font-weight: 600 !important;
    transition: background-color .15s ease, border-color .15s ease;
  }
  .hdr-top li.contact-menu > a.dropdown-toggle:hover,
  .hdr-top li.hdr-acc > a.dropdown-toggle:hover,
  .hdr-top li.show > a.dropdown-toggle,
  .hdr-top a.dropdown-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, .3) !important;
    background: rgba(255, 255, 255, .14) !important;
  }
  .hdr-top a.dropdown-toggle svg { width: 12px !important; height: 12px !important; margin: 0 !important; opacity: .75; }
  .hdr-top li.hdr-acc > a.dropdown-toggle svg:first-child { width: 14px !important; height: 14px !important; }
  .hdr-top a.dropdown-toggle::after { display: none !important; }
  .hdr-top li.hdr-email > a { opacity: .85; font-size: .84rem; }
  .hdr-top .dropdown-menu.dropdown-menu {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
    min-width: 250px;
    padding: .35rem !important;
    border: 1px solid var(--pbx-line) !important;
    border-radius: 16px !important;
  }
  .hdr-top .dropdown-menu a.dd-i {
    display: flex !important;
    align-items: center;
    gap: .65rem;
    padding: .5rem .65rem !important;
    border-radius: 10px !important;
    color: var(--pbx-navy) !important;
    font-size: .88rem !important;
    font-weight: 600 !important;
    line-height: 1.3;
    white-space: normal;
    transition: background-color .15s ease, color .15s ease;
  }
  .hdr-top .dropdown-menu a.dd-i:hover,
  .hdr-top .dropdown-menu a.dd-i:focus-visible {
    background: var(--pbx-soft) !important;
    color: var(--pbx-red) !important;
  }
  /* ikona v kolečku (Jak nakoupit – SVG maska, účet – ikona šablony) */
  .hdr-top .contact-menu .dropdown-menu a.dd-i::before {
    content: "";
    flex: none;
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--pbx-red);
    -webkit-mask-size: 16px; mask-size: 16px;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    box-shadow: inset 0 0 0 40px rgba(217, 93, 88, .12);
  }
  .hdr-top .contact-menu .dropdown-menu a.cc-79::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.4a1.5 1.5 0 0 0 1.5 1.1h8.7a1.5 1.5 0 0 0 1.5-1.2L21 7H6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.4a1.5 1.5 0 0 0 1.5 1.1h8.7a1.5 1.5 0 0 0 1.5-1.2L21 7H6'/%3E%3C/svg%3E"); }
  .hdr-top .contact-menu .dropdown-menu a.cc-80::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E"); }
  .hdr-top .contact-menu .dropdown-menu a.cc-179::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
  .hdr-top .contact-menu .dropdown-menu a.cc-183::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
  .hdr-top .contact-menu .dropdown-menu a.dd-i { position: relative; }
  .hdr-top .contact-menu .dropdown-menu a.dd-i::after {
    content: "";
    position: absolute; left: .65rem; top: 50%;
    width: 28px; height: 28px;
    margin-top: -14px;
    border-radius: 8px;
    background: rgba(217, 93, 88, .1);
    z-index: -1;
  }
  .hdr-top .dropdown-menu a.dd-i + a.dd-i { margin-top: .05rem; }
  .hdr-top .dropdown-menu .dropdown-divider { margin: .3rem .4rem !important; }
  .hdr-top .hdr-acc .dropdown-menu a.dd-i svg {
    flex: none;
    width: 28px !important; height: 28px !important;
    margin: 0 !important;
    padding: 7px;
    border-radius: 8px;
    background: rgba(217, 93, 88, .1);
    fill: var(--pbx-red) !important;
    color: var(--pbx-red) !important;
  }

  /* Poradíme v kategoriích: na střed pod nadpis */
  .pbx-tips-wrap .pbx-tips { justify-content: center; }
  .pbx-tips-wrap .pbx-tips > span { text-align: center; }
}

/* ---------- 19) Proti probliknutí stránky při přejezdu banneru ---------
   Lišta s rozmazaným pozadím (backdrop-filter) v Chrome občas probliká,
   když pod ní vznikne/zmizí animovaná vrstva (slider přepíná snímky přes
   left). Slider, video a lišta proto dostanou trvalé vlastní vrstvy. */
#banner1 .carousel-inner { isolation: isolate; transform: translateZ(0); }
#banner1 .carousel-item { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bic-nws.pbx-kluby video { transform: translateZ(0); }
@media (min-width: 1200px) {
  body .header .hdr-bottom { will-change: transform; transform: translateZ(0); }
}

/* ---------- 20) v13: česká diakritika v nadpisech (písmo Anton) -------
   Anton má háčky a čárky vysoko nad písmeny – při řádkování pod ~1,28 naráží
   do řádku nad sebou (uživatel reklamoval v Rádci). Proto 1,3 a malá rezerva nahoře. */
.pbx-advisor .pg-hdr h1 {
  line-height: 1.3 !important;
  padding-top: .08em;
}
.pbx-advisor .pg-txt .text > h2,
.pbx-advisor .pg-txt .text > h3,
.pbx-advisor .pg-txt .text h4 {
  line-height: 1.3 !important;
}
.pbx-advisor .pg-txt .text > h2::before { top: .3em; bottom: .3em; }
body .artcl .articles-columns > article.a-i h3,
body .artcl .articles-columns > article.a-i h3 a,
.pbx-advisor .articles-columns h3,
.pbx-advisor .articles-columns h3 a {
  line-height: 1.3 !important;
}
.pbx-advisor .column-left :is(h1, h2, h3, h4, h5, a, strong),
.pbx-advisor .pg-txt :is(h1, h2, h3, h4, h5) {
  line-height: 1.3 !important;
}
/* kvíz a poptávka pro kluby (stejné písmo, objevují se i v článcích) */
.pbx-quiz h2,
.pbx-club-head h2 { line-height: 1.3 !important; }
