body.type-category #categories .categories > ul > li.is-duck > a {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.type-category #categories .categories > ul > li.is-duck > a:before {
  display: inline-block;
  content: "";
  width: 49.4px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  background-image: url("/user/documents/upload/redesign/kachna_jj.svg");
}

@media screen and (max-width: 1199px) {
  #header #navigation .menu .menu-level-1 > li ul li.is-duck:before {
    display: inline-block;
    content: "";
    width: 32px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: transparent;
    background-image: url("/user/documents/upload/redesign/kachna_jj.svg");
  }
}

body.type-category #categories .categories > ul > li.is-nuts > a {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.type-category #categories .categories > ul > li.is-nuts > a:before {
  display: inline-block;
  content: "";
  width: 49.4px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
  background-image: url("/user/documents/upload/redesign/logo_jj.svg");
}

@media screen and (max-width: 1199px) {
  #header #navigation .menu .menu-level-1 > li ul li.is-nuts:before {
    display: inline-block;
    content: "";
    width: 32px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-color: transparent;
    background-image: url("/user/documents/upload/redesign/logo_jj.svg");
  }
}

/* === FIX: Logo překrývá menu (desktop) === */
@media screen and (min-width: 1200px) {
  #header .header-top .site-name-wrapper .site-name a img {
    max-height: 59px !important;
  }
}

/* === FIX: Detail produktu — popis a parametry pod sebou (jj-custom_10) ===
 * Override proti agenturnímu CSS v all.min.css:
 *
 * 1) Šířka obsahu v záložce Popis
 *    Agentura má v all.min.css několik pevných šířek podle breakpointu:
 *      .p-detail-tabs-wrapper .row { width: 1418px / 1178px / 972px / 757px }
 *    Sjednocujeme s ostatním obsahem na webu (max-width: 1112px).
 *    Necháváme .p-detail-tabs-wrapper s celoplošným pozadím (full-bleed).
 *
 * 2) Layout popisu a parametrů — vždy pod sebou
 *    Agentura má od 992px na .description-inner { display: flex } a od 1200px
 *    { flex-wrap: nowrap }. Pouhé flex-wrap: wrap nestačí — flex pořád dovolí
 *    sourozencům vejít se na jeden řádek pokud se vejdou. Proto explicitně
 *    nastavíme oběma dětem (basic-description + extended-description)
 *    flex-basis: 100%, čímž je vynutíme na samostatné řádky vždy.
 *
 * Historie:
 *   v7  — řešilo flex-wrap jen od 1200px (málo, na 768–1199px se rozházelo)
 *   v8  — width: 100% (přestřelené, sahalo přes celou obrazovku)
 *   v9  — max-width: 1112px (sjednoceno s ostatním obsahem),
 *         ale flex-wrap: wrap samo nestačilo, na 992–1199px stále vedle sebe
 *   v10 — přidáno flex: 0 0 100% na sourozence → vždy pod sebou
 */
@media screen and (min-width: 767px) {
  body.type-product.type-detail .p-detail-tabs-wrapper .row {
    width: auto;
    max-width: 1112px;
  }
  body.type-product.type-detail .p-detail-tabs-wrapper .row .description-inner {
    flex-wrap: wrap;
  }
  body.type-product.type-detail .p-detail-tabs-wrapper .row .description-inner > .basic-description,
  body.type-product.type-detail .p-detail-tabs-wrapper .row .description-inner > .extended-description {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
