p > a {
  text-decoration: underline;
  color: #007bff;
}

#header > div > div.site-name {
  padding: 10px 0;
}

@media (max-width: 767px) {
  #header .navigation-buttons > a,
  #header .navigation-buttons > button {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #header .site-name {
    display: flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    margin-right: auto !important;
    position: sticky !important;
    top: 0;
    z-index: 1000;
  }

  #header .navigation-buttons {
    min-height: 85px !important;
    min-width: 45% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-evenly !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
  }

  #header .navigation-buttons > a,
  #header .navigation-buttons > button {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  #content-wrapper {
    padding-top: 20px !important;
  }
}


/* ------------------------------------------------------------
   2) Pořadí a stav postranních filtrů
   ------------------------------------------------------------
   1. Příznaky  — skryté (přepínač níže)
   2. Cena      — rozbalené
   3. Velikost  — rozbalené
   4. Barva     — rozbalené
   5. Značky
   6. Svršek
   Případné další filtry až za nimi, „Vymazat filtry“ vždy dole.
   ------------------------------------------------------------ */

:root {
  /* Změňte none › block, až budete chtít Příznaky znovu vidět. */
  --netbol-priznaky: none;
}

#filters {
  display: flex;
  flex-direction: column;
}

#filters .filter-sections,
#filters #category-filter-hover {
  display: contents;
}

#filters .filter-section-boolean {
  display: var(--netbol-priznaky) !important;
  order: 1;
}

#filters .slider-wrapper,
#filters #price-filter-form {
  order: 2;
}

#filters .slider-wrapper {
  display: block !important;
}

#filters .filter-section-parametric-id-5 {
  order: 3;
}

#filters .filter-section-parametric-id-17 {
  order: 4;
}

#filters .filter-section-manufacturer {
  order: 5;
}

#filters .filter-section-parametric-id-23 {
  order: 6;
}

#filters .filter-section:not(.filter-section-boolean):not(.filter-section-parametric-id-5):not(.filter-section-parametric-id-17):not(.filter-section-manufacturer):not(.filter-section-parametric-id-23):not(.filter-section-count) {
  order: 50;
}

#filters .filter-section-count {
  order: 99;
}

/* Cena, Velikost a Barva zůstanou rozbalené i bez třídy .otevreny
   (Paxio je jinak sbaluje přes display: none). */
#filters .slider-wrapper > div,
#filters .filter-section-parametric-id-5 form,
#filters .filter-section-parametric-id-17 form {
  display: block !important;
}

#filters .slider-wrapper.otevreny > div,
#filters .filter-section-parametric-id-5.otevreny form,
#filters .filter-section-parametric-id-17.otevreny form {
  display: block !important;
}

#filters .slider-wrapper h4::before,
#filters .filter-section-parametric-id-5 h4::before,
#filters .filter-section-parametric-id-17 h4::before {
  -webkit-transform: rotate(180deg) !important;
  -moz-transform: rotate(180deg) !important;
  -ms-transform: rotate(180deg) !important;
  -o-transform: rotate(180deg) !important;
  transform: rotate(180deg) !important;
}