/* ==========================================================================
   Postavgril – redesign hlavičky (Shoptet, šablona 13)
   Platí jen s třídami, které přidá pg-header.js (#header.pg-hd,
   .template-13 #navigation.pg-mm); bez JS zůstává hlavička podle core.css.
   Načítat v záhlaví PO core.css (přebíjí jeho sekce 2–4).

   Obsah:  1. Horní lišta   2. Hlavní řádek (logo, hledání, kontakt, košík)
           3. Menu – červený pás   4. Mega menu   5. Lepicí hlavička
           6. Mobil   7. Omezení animací
   ========================================================================== */

/* ---------- 1. Horní lišta ---------- */
@media (min-width: 768px) {
  .template-13 .top-navigation-bar { font-size: 14px; }
  /* položky lišty jsou inline-block na účaří – zarovnat nahoru, ať je nic nestáhne */
  .template-13 .top-navigation-bar-menu > li { vertical-align: top; }
  /* odznak nesmí být vyšší než řádek textu (jinak posune položky dolů) */
  .template-13 .top-navigation-bar .pg-hd__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 18px;
    margin-left: 6px;
    padding: 0 7px 0 6px;
    border-radius: 999px;
    background: rgba(255, 200, 7, 0.14);
    color: #ffc807;
    font-size: 13px;
    font-weight: 800;
    line-height: 18px;
    vertical-align: top;
    margin-top: 1px;
  }
  .template-13 .top-navigation-bar .pg-hd__rating svg { width: 13px; height: 13px; }
}

/* ---------- 2. Hlavní řádek ---------- */
@media (min-width: 768px) {
  .template-13 #header.pg-hd .header-top { padding: 14px 0; }
  .template-13 #header.pg-hd .header-top-wrapper {
    align-items: center;
    gap: 28px;
  }
  /* clearfix .container by se ve flexu s gap choval jako položka */
  .template-13 #header.pg-hd .header-top-wrapper::before,
  .template-13 #header.pg-hd .header-top-wrapper::after { content: none; }
  .template-13 #header.pg-hd .site-name {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
  }
  .template-13 #header.pg-hd .site-name img {
    max-height: 56px;
    width: auto;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  }
  .template-13 #header.pg-hd .site-name a:hover img { transform: scale(1.03); }

  /* hledání – široká bílá pilulka s červeným tlačítkem */
  .template-13 #header.pg-hd .search {
    flex: 1 1 auto;
    max-width: 580px;
    margin: 0 auto;
    padding: 0;
  }
  .template-13 #header.pg-hd .search .search-form {
    align-items: center;
    height: 50px;
    padding: 4px 4px 4px 0;
    border: 1.5px solid #e4e4e4;
    border-radius: 999px;
    background: #fff;
  }
  .template-13 #header.pg-hd .search .search-form:hover { border-color: #cfcfcf; }
  .template-13 #header.pg-hd .search .search-form:focus-within {
    border-color: #cd3d2f;
    box-shadow: 0 0 0 4px rgba(205, 61, 47, 0.12);
  }
  .template-13 #header.pg-hd .search .search-form fieldset {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  .template-13 #header.pg-hd .search .search-input-icon { left: 22px; margin: 0; color: #8a8a8a; }
  .template-13 #header.pg-hd .search .search-input {
    flex: 1 1 auto;
    height: 100%;
    padding: 0 12px 0 60px; /* ikona lupy je v šabloně absolutně vlevo */
    font-size: 16px;
  }
  .template-13 #header.pg-hd .search .search-input::placeholder { color: #8a8a8a; }
  .template-13 #header.pg-hd .search .search-button {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    height: 40px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: #cd3d2f;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    transition: background .2s ease;
  }
  .template-13 #header.pg-hd .search .search-button:hover,
  .template-13 #header.pg-hd .search .search-button:focus-visible { background: #b5321f; }

  /* pravá část: kontakt + košík */
  .template-13 #header.pg-hd .navigation-buttons {
    flex: 0 0 auto;
    align-items: center;
    gap: 22px;
    padding: 0;
  }

  /* kontakt „Poradíme s výběrem“ */
  .template-13 #header.pg-hd .pg-hd__help {
    display: none;
    align-items: center;
    gap: 10px;
    color: #1f1f1f;
    text-decoration: none;
  }
  .template-13 #header.pg-hd .pg-hd__help::before { content: none; }
  .template-13 #header.pg-hd .pg-hd__help-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(205, 61, 47, 0.09);
    color: #cd3d2f;
    transition: background .2s ease, color .2s ease;
  }
  .template-13 #header.pg-hd .pg-hd__help-icon svg { width: 20px; height: 20px; }
  .template-13 #header.pg-hd .pg-hd__help-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .template-13 #header.pg-hd .pg-hd__help-label { color: #6b6b6b; font-size: 13px; }
  .template-13 #header.pg-hd .pg-hd__help-phone {
    font-family: var(--template-headings-font, "Exo 2"), sans-serif;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
  }
  .template-13 #header.pg-hd .pg-hd__help:hover .pg-hd__help-icon { background: #cd3d2f; color: #fff; }
  .template-13 #header.pg-hd .pg-hd__help:hover .pg-hd__help-phone { color: #cd3d2f; }

  /* košík – tmavé tlačítko */
  .template-13 #header.pg-hd .navigation-buttons a[data-target=cart] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 20px 0 16px;
    border: 0;
    border-radius: 12px;
    background: #01161e;
    box-shadow: none;
    color: #fff;
    transition: background .2s ease, transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease;
  }
  .template-13 #header.pg-hd .navigation-buttons a[data-target=cart]::before {
    margin: 0;
    color: #fff;
    font-size: 22px;
  }
  .template-13 #header.pg-hd .navigation-buttons a[data-target=cart]:hover {
    background: #cd3d2f;
    transform: translateY(-1px);
    box-shadow: rgba(205, 61, 47, 0.3) 0 10px 22px;
  }
  .template-13 #header.pg-hd .navigation-buttons a[data-target=cart] .cart-price {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
  }
  /* počet kusů v košíku */
  .template-13 #header.pg-hd .navigation-buttons a[data-target=cart] i {
    position: absolute;
    top: -7px;
    left: 30px;
    right: auto;
    bottom: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ffc807;
    color: #01161e;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .template-13 #header.pg-hd .pg-hd__help { display: flex; }
}

/* ---------- 3. Menu – červený pás ---------- */
@media (min-width: 768px) {
  .template-13 #header.pg-hd .header-bottom {
    background: #cd3d2f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  .template-13 #header.pg-hd .navigation-in,
  .template-13 #header.pg-hd #navigation { background: transparent; }
  /* výška pásu 68 px (min. výška #navigation v šabloně) → podmenu navazuje přesně */
  .template-13 #header.pg-hd .navigation-in > ul.menu-level-1 {
    gap: 4px;
    padding: 13px 0;
  }
  .template-13 #header.pg-hd .navigation-in > ul > li {
    position: static;
    align-items: center;
    gap: 8px;
    padding: 0 6px 0 12px;
    border: 0;
    border-radius: 10px;
    transition: background .2s ease;
  }
  .template-13 #header.pg-hd .navigation-in > ul > li:hover,
  .template-13 #header.pg-hd .navigation-in > ul > li.exp,
  .template-13 #header.pg-hd .navigation-in > ul > li:has(> a.active) { background: rgba(0, 0, 0, 0.16); }

  .template-13 #header.pg-hd .navigation-in > ul > li > a,
  .template-13 #header.pg-hd .navigation-in > ul > li > a:hover,
  .template-13 #header.pg-hd .navigation-in > ul > li.exp > a,
  .template-13 #header.pg-hd .navigation-in > ul > li.ext.exp > a,
  .template-13 #header.pg-hd .navigation-in > ul > li:first-child > a:hover {
    margin: 0;
    padding: 12px 10px 12px 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
  }
  .template-13 #header.pg-hd .navigation-in > ul > li > a b { font-weight: 700; }
  /* neviditelný „můstek“ pod položkou až k panelu podmenu – Shoptet zavírá
     podmenu hned při opuštění položky, bez můstku by při přejezdu myší
     mezerou pod pilulkou podmenu problikávalo */
  .template-13 #header.pg-hd .navigation-in > ul > li.ext > a::before {
    content: "";
    position: absolute;
    top: 100%;
    left: -48px;
    right: 0;
    height: 16px;
  }
  .template-13 #header.pg-hd .navigation-in > ul > li.ext > a { position: relative; }

  /* žlutá linka jen u aktivní kategorie */
  .template-13 #header.pg-hd .navigation-in > ul > li > a::after {
    left: 0;
    right: 10px;
    bottom: 5px;
    height: 2px;
  }
  .template-13 #header.pg-hd .navigation-in > ul > li > a:hover::after,
  .template-13 #header.pg-hd .navigation-in > ul > li.exp > a::after { transform: scaleX(0); }
  .template-13 #header.pg-hd .navigation-in > ul > li > a.active::after { transform: scaleX(1); }

  /* šipka u položek s podmenu */
  .template-13 #header.pg-hd .navigation-in > ul > li.ext > a > b::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    opacity: .75;
    transform: rotate(45deg);
    transition: transform .25s ease, margin .25s ease;
  }
  .template-13 #header.pg-hd .navigation-in > ul > li.ext.exp > a > b::after {
    margin-bottom: -1px;
    transform: rotate(-135deg);
  }

  /* ikony kategorií (img.img_cat – uvnitř i vedle odkazu) */
  .template-13 #header.pg-hd .menu-level-1 .img_cat {
    width: 26px;
    height: auto;
    margin: 0;
    opacity: .95;
  }
  .template-13 #header.pg-hd .menu-level-1 > li:hover .img_cat { transform: translateY(-1px) rotate(-6deg); }

  /* tlačítko „další“ pro položky, které se nevejdou */
  .template-13 #header.pg-hd .menu-helper { color: #fff; }
}

/* 768–1199 px: bez ikon, ať se menu vejde na jeden řádek */
@media (min-width: 768px) and (max-width: 1199px) {
  .template-13 #header.pg-hd .menu-level-1 .img_cat { display: none; }
  .template-13 #header.pg-hd .navigation-in > ul > li { padding-left: 10px; }
  .template-13 #header.pg-hd .navigation-in > ul > li > a { font-size: 15px; }
  .template-13 #header.pg-hd .header-top-wrapper { gap: 20px; }
}

/* ---------- 4. Mega menu ---------- */
/* Struktura položky (Shoptet):
     li > a.menu-image > img (miniatura 140×100)
        > div > a > span (název) + p (popisek, inline styl z administrace)
   pg-header.js přidá na začátek li.pg-mm__head (název + „Zobrazit vše“). */
.template-13 #navigation .pg-mm__head,
.template-13 #navigation .pg-mm__schema { display: none; }

@media (min-width: 768px) {
  .template-13.submenu-visible #navigation.pg-mm .navigation-in > ul > li.ext.exp > ul.menu-level-2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
    top: 100%;
    padding: 20px 24px 24px;
    border: 0;
    border-top: 1px solid #f0f0f0;
    border-radius: 0 0 20px 20px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(1, 22, 30, 0.18);
    animation: pg-mm-in .25s cubic-bezier(.2, .7, .2, 1) both;
  }
  /* šablona kreslí odkazům v podmenu vlastní ::before */
  .template-13 #navigation.pg-mm .navigation-in ul.menu-level-2 > li > a::before { content: none; }

  /* záhlaví panelu */
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li.pg-mm__head {
    display: flex;
    grid-column: 1 / -1;
    align-items: baseline;
    gap: 12px;
    width: auto;
    min-height: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid #f0f0f0;
  }
  .template-13 #navigation.pg-mm .pg-mm__title {
    color: #01161e;
    font-family: var(--template-headings-font, "Exo 2"), sans-serif;
    font-size: 20px;
    font-weight: 800;
  }
  .template-13 #navigation.pg-mm .pg-mm__count { color: #8a8a8a; font-size: 14px; }
  .template-13 #navigation.pg-mm .navigation-in ul.menu-level-2 > li.pg-mm__head > a.pg-mm__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    margin-left: auto;
    padding: 0;
    color: #cd3d2f;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
  }
  .template-13 #navigation.pg-mm .pg-mm__all svg {
    width: 16px;
    height: 16px;
    transition: transform .25s cubic-bezier(.2, .7, .2, 1);
  }
  .template-13 #navigation.pg-mm .pg-mm__all:hover { text-decoration: underline; text-underline-offset: 3px; }
  .template-13 #navigation.pg-mm .pg-mm__all:hover svg { transform: translateX(3px); }

  /* dlaždice podkategorie – bílá karta, obrázek nahoře, text pod ním */
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li:not(.pg-mm__head):not(.pg-mm__schema) {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    min-height: 0;
    padding: 18px 16px 18px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
    text-align: center;
    transition: border-color .25s ease, box-shadow .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li:not(.pg-mm__head):not(.pg-mm__schema):hover {
    border-color: transparent;
    box-shadow: rgba(1, 22, 30, 0.1) 0 14px 32px, 0 0 0 1.5px rgba(205, 61, 47, 0.5);
    transform: translateY(-3px);
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > a.menu-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 104px;
    margin: 0 0 12px;
    padding: 0;
    background: none;
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > a.menu-image img {
    width: auto;
    max-width: 140px;
    height: auto;
    max-height: 100px;
    transition: transform .4s cubic-bezier(.2, .7, .2, 1);
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li:hover > a.menu-image img {
    transform: scale(1.06);
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > div {
    display: block;
    width: 100%;
    padding: 0;
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > div > a {
    display: block;
    padding: 0;
    color: #1f1f1f;
    text-decoration: none;
  }
  /* celá dlaždice je klikací */
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > div > a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 16px;
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > div > a:focus-visible { outline: 0; }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > div > a:focus-visible::after {
    outline: 3px solid #ffc807;
    outline-offset: 2px;
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > div > a > span {
    display: block;
    font-family: var(--template-headings-font, "Exo 2"), sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    transition: color .2s ease;
  }
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li:hover > div > a > span { color: #cd3d2f; }
  /* popisek z administrace má inline styl → přebít */
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > div > a > p {
    display: inline-block;
    margin: 8px 0 0 !important;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f4f4f4;
    color: #5c5c5c !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.4;
  }
  /* --- schéma sestavy motor → redukce → jehla (pod dlaždicemi) --- */
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li.pg-mm__schema {
    display: flex;
    flex-direction: row;
    grid-column: 1 / -1;
    align-items: center;
    gap: 28px;
    width: auto;
    min-height: 0;
    padding: 16px 24px;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
  }
  .template-13 #navigation.pg-mm .pg-asm__text { flex: 0 0 250px; }
  .template-13 #navigation.pg-mm .pg-asm__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #cd3d2f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .template-13 #navigation.pg-mm .pg-asm__title {
    display: block;
    color: #01161e;
    font-family: var(--template-headings-font, "Exo 2"), sans-serif;
    font-size: 17px;
    font-weight: 800;
  }
  .template-13 #navigation.pg-mm .pg-asm__desc {
    margin: 6px 0 0;
    color: #5c5c5c;
    font-size: 14px;
    line-height: 1.45;
  }
  .template-13 #navigation.pg-mm .pg-asm__figure { flex: 1 1 auto; min-width: 0; }
  .template-13 #navigation.pg-mm .pg-asm__svg {
    display: block;
    width: 100%;
    max-height: 150px;
    overflow: visible;
  }
  /* nákres – neaktivní díly šedé, aktivní červený */
  .template-13 #navigation.pg-mm .pg-asm__axis {
    stroke: #d9dee0;
    stroke-width: 1.5;
    stroke-dasharray: 6 6;
  }
  .template-13 #navigation.pg-mm .pg-asm__part { cursor: pointer; }
  .template-13 #navigation.pg-mm .pg-asm__part .pg-asm__body {
    fill: #f3f5f6;
    stroke: #aab4b9;
    stroke-width: 2;
    transition: fill .25s ease, stroke .25s ease;
  }
  .template-13 #navigation.pg-mm .pg-asm__part .pg-asm__accent {
    fill: #dfe4e6;
    stroke: #aab4b9;
    stroke-width: 2;
    transition: fill .25s ease, stroke .25s ease;
  }
  .template-13 #navigation.pg-mm .pg-asm__part .pg-asm__line {
    fill: none;
    stroke: #aab4b9;
    stroke-width: 2;
    stroke-linecap: round;
    transition: stroke .25s ease;
  }
  .template-13 #navigation.pg-mm .pg-asm__label rect { fill: transparent; transition: fill .25s ease; }
  .template-13 #navigation.pg-mm .pg-asm__label text {
    fill: #6b6b6b;
    font-family: var(--template-headings-font, "Exo 2"), sans-serif;
    font-size: 16px;
    font-weight: 800;
  }
  /* najetí na jiný díl = náznak, že je to odkaz */
  .template-13 #navigation.pg-mm .pg-asm__part:not(.is-active):hover .pg-asm__body,
  .template-13 #navigation.pg-mm .pg-asm__part:not(.is-active):hover .pg-asm__accent { stroke: #01161e; }
  .template-13 #navigation.pg-mm .pg-asm__part:not(.is-active):hover .pg-asm__label text { fill: #01161e; }
  .template-13 #navigation.pg-mm .pg-asm__part:focus-visible { outline: 0; }
  .template-13 #navigation.pg-mm .pg-asm__part:focus-visible .pg-asm__label rect { fill: #ffc807; }
  /* aktivní díl */
  .template-13 #navigation.pg-mm .pg-asm__halo {
    fill: rgba(205, 61, 47, 0.06);
    stroke: #cd3d2f;
    stroke-width: 1.5;
    stroke-dasharray: 5 5;
  }
  .template-13 #navigation.pg-mm .pg-asm__part.is-active .pg-asm__body { fill: #fbdcd7; stroke: #cd3d2f; }
  .template-13 #navigation.pg-mm .pg-asm__part.is-active .pg-asm__accent { fill: #cd3d2f; stroke: #cd3d2f; }
  .template-13 #navigation.pg-mm .pg-asm__part.is-active .pg-asm__line { stroke: #cd3d2f; }
  .template-13 #navigation.pg-mm .pg-asm__part.is-active .pg-asm__label rect { fill: #cd3d2f; }
  .template-13 #navigation.pg-mm .pg-asm__part.is-active .pg-asm__label text { fill: #fff; }
  .template-13 #navigation.pg-mm .pg-asm__part.is-active {
    filter: drop-shadow(0 6px 14px rgba(205, 61, 47, 0.28));
  }

  /* 3. úroveň v dlaždici nezobrazovat */
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li > div > ul { display: none; }
}

@keyframes pg-mm-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* užší obrazovky: text schématu nad nákresem */
@media (min-width: 768px) and (max-width: 991px) {
  .template-13 #navigation.pg-mm .navigation-in > ul > li.ext > ul > li.pg-mm__schema {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .template-13 #navigation.pg-mm .pg-asm__text { flex: 0 0 auto; }
}

/* ---------- 5. Lepicí hlavička (desktop) ---------- */
@media (min-width: 768px) {
  /* Vrstvy: zatemnění při otevřeném podmenu (body::before) má z-index 1002
     a je v DOM před hlavičkou → hlavička se stejnou hodnotou je nad ním.
     Okna košíku a přihlášení (.popup-widget, také 1002) jsou v DOM před
     hlavičkou, proto je zvedáme na 1003. */
  .template-13 #header.pg-hd.pg-hd--sticky {
    position: sticky;
    top: 0;
    z-index: 1002;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease;
  }
  .template-13 #header.pg-hd.pg-hd--scrolled { box-shadow: 0 8px 24px rgba(1, 22, 30, 0.12); }
  .template-13 #header.pg-hd.pg-hd--hidden { transform: translateY(-100%); box-shadow: none; }
  .template-13 .popup-widget { z-index: 1003; }
  /* přilepená hlavička: okno košíku pod ní (top nastavuje pg-header.js) */
  .template-13.pg-hd-stuck #cart-widget {
    position: fixed;
    top: var(--pg-hd-popup-top, 74px);
  }
}

/* ---------- 6. Mobil ---------- */
@media (max-width: 767px) {
  .template-13 #header.pg-hd { box-shadow: 0 1px 0 #ececec, 0 6px 16px rgba(1, 22, 30, 0.06); }
  .template-13 #header.pg-hd .site-name img { height: 32px; max-height: none; width: auto; max-width: none; }
  .template-13 #header.pg-hd .navigation-buttons a[data-target=cart] {
    background: transparent;
    box-shadow: none;
  }
  .template-13 #header.pg-hd .navigation-buttons a[data-target=cart] i {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #cd3d2f;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 18px;
  }
  .template-13 #header.pg-hd .pg-hd__help { display: none; }

  /* --- mobilní menu (hamburger) --- */
  .template-13 #navigation .menu-level-1 > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-left: 18px;
    border-bottom: 1px solid #f0f0f0;
  }
  /* ikony kategorií: bez stylu měly 100×100 px (bílé na bílém = prázdná díra);
     přebarvení bílé ikony na červenou #cd3d2f */
  .template-13 #navigation .menu-level-1 > li > .img_cat,
  .template-13 #navigation .menu-level-1 > li > a > .img_cat {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 0;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(31%) sepia(58%) saturate(1850%) hue-rotate(345deg) brightness(92%) contrast(90%);
  }
  .template-13 #navigation .menu-level-1 > li > a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 56px;
    padding: 0 52px 0 14px;
    color: #1f1f1f;
  }
  .template-13 #navigation .menu-level-1 > li > a b {
    padding: 0;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
  }
  /* Dárkový poukaz nemá ikonu – dárek v SVG, ať jsou názvy pod sebou */
  .template-13 #navigation .menu-level-1 > li:not(:has(.img_cat)) > a::before {
    content: "";
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 0 14px 0 -14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cd3d2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='8' width='17' height='4' rx='1'/%3E%3Cpath d='M5 12v8h14v-8M12 8v12M12 8c-1.5-3-5-3.5-5-1.2C7 8 9.5 8 12 8zM12 8c1.5-3 5-3.5 5-1.2C17 8 14.5 8 12 8z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .template-13 #navigation .menu-level-1 > li > a .submenu-arrow { color: #8a8a8a; }
  .template-13 #navigation .menu-level-1 > li.exp > a b { color: #cd3d2f; }

  /* rozbalené podmenu */
  .template-13 #navigation .menu-level-1 > li > ul.menu-level-2 {
    flex: 0 0 calc(100% + 18px); /* přes odsazení li až k levému okraji */
    margin: 0 0 0 -18px;
    width: calc(100% + 18px);
    padding: 4px 0 8px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
  }
  .template-13 #navigation .menu-level-2 > li:not(.pg-mm__head) > div > a {
    padding: 11px 20px 11px 56px;
  }
  .template-13 #navigation .menu-level-2 > li > div > a > span {
    color: #1f1f1f;
    font-size: 16px;
    font-weight: 600;
  }
  .template-13 #navigation .menu-level-2 > li > div > a > p {
    margin: 2px 0 0 !important;
    color: #8a8a8a !important;
    font-size: 13px !important;
  }
  /* přihlášení dole v menu */
  .template-13 #navigation .navigationActions { border-top: 0; }
}

/* ---------- 7. Omezení animací ---------- */
@media (prefers-reduced-motion: reduce) {
  .template-13 #header.pg-hd *,
  .template-13 #header.pg-hd.pg-hd--sticky { transition: none !important; animation: none !important; }
  .template-13 #header.pg-hd .navigation-in > ul > li.ext > ul > li:hover,
  .template-13 #header.pg-hd .navigation-in > ul > li.ext > ul > li:hover img { transform: none !important; }
}
