#categories > .categories.expandable:not(.active) > ul {
  display: none !important;
}

.subcategories > li:nth-child(n+9) {
  display: none !important;
}
.subcategories.show-all > li:nth-child(n+9) {
  display: list-item !important;
}

#cat-739 > .topic > a { border-left: 5px solid #286d07 !important; }
#cat-754 > .topic > a { border-left: 5px solid #205997 !important; }
#cat-997 > .topic > a { border-left: 5px solid #c46f00 !important; }
#cat-1522 > .topic > a { border-left: 5px solid #575757 !important; }
#cat-1132 > .topic > a { border-left: 5px solid #710075 !important; }
#cat-805 > .topic > a { border-left: 5px solid #9d0000 !important; }
#cat-736 > .topic > a,
#cat-3064 > .topic > a,
#cat-3073 > .topic > a { border-left: 5px solid #00838f !important; }

#cat-739 > .topic:not(.active) > a { background: linear-gradient(90deg, rgba(40,109,7,0.12) 0%, transparent 70%) !important; }
#cat-754 > .topic:not(.active) > a { background: linear-gradient(90deg, rgba(32,89,151,0.12) 0%, transparent 70%) !important; }
#cat-997 > .topic:not(.active) > a { background: linear-gradient(90deg, rgba(196,111,0,0.12) 0%, transparent 70%) !important; }
#cat-1522 > .topic:not(.active) > a { background: linear-gradient(90deg, rgba(87,87,87,0.12) 0%, transparent 70%) !important; }
#cat-1132 > .topic:not(.active) > a { background: linear-gradient(90deg, rgba(113,0,117,0.12) 0%, transparent 70%) !important; }
#cat-805 > .topic:not(.active) > a { background: linear-gradient(90deg, rgba(157,0,0,0.12) 0%, transparent 70%) !important; }
#cat-736 > .topic:not(.active) > a,
#cat-3064 > .topic:not(.active) > a,
#cat-3073 > .topic:not(.active) > a { background: linear-gradient(90deg, rgba(0,131,143,0.12) 0%, transparent 70%) !important; }

#categories .categories:nth-child(-n+7) > .topic > a {
  border-radius: 8px !important;
  margin-bottom: 2px !important;
  transition: background 0.2s ease !important;
}

#categories > .categories > .cat-accordion {
  display: grid !important;
  grid-template-rows: 0fr !important;
  transition: grid-template-rows 0.35s ease !important;
}
#categories > .categories.is-open > .cat-accordion {
  grid-template-rows: 1fr !important;
}
#categories > .categories > .cat-accordion > ul {
  overflow: hidden !important;
  min-height: 0 !important;
}
/* Finální oprava a sjednocení otáčení šipek v kategoriích (v9) */
body.categories-new-design .box-categories #categories .categories.expandable .topic .cat-trigger::before,
body.categories-new-design .box-categories #categories .categories.expandable.expanded .topic .cat-trigger::before,
body.categories-new-design .box-categories #categories .categories.expandable.active .topic .cat-trigger::before {
  content: "\e90e" !important; /* Vynutíme všude stejnou základní ikonu (šipka doprava) */
  font-size: 14px !important;
  transform: rotate(0deg) !important; /* Výchozí stav (zavřeno) */
  transition: transform 0.35s ease !important;
}
body.categories-new-design .box-categories #categories .categories.expandable.is-open .topic .cat-trigger::before {
  transform: rotate(90deg) !important; /* Otevřený stav (otočí se dolů) */
}
.box-categories #categories .categories.expandable .topic .cat-trigger {
  transform: none !important; /* Očista od předchozích pokusů na rodiči */
}

#cat-718 {
  border-top: 2px solid rgba(7, 31, 69, 0.1) !important;
  margin-top: 12px !important;
  padding-top: 10px !important;
}

/* Mírně zúžený padding nav položek — více prostoru pro všech 7 kategorií */
@media (min-width: 768px) {
  #navigation .navigation-in > .menu-level-1 > li > a {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  #navigation .navigation-in > .menu-level-1 > li:first-child > a {
    padding-left: 0 !important;
  }
}

#navigation .menu-item-739 > a,
#navigation .menu-item-754 > a,
#navigation .menu-item-997 > a,
#navigation .menu-item-1522 > a,
#navigation .menu-item-1132 > a,
#navigation .menu-item-805 > a,
#navigation .menu-item-736 > a,
#navigation .menu-item-3064 > a,
#navigation .menu-item-3073 > a {
  transition: box-shadow 0.3s ease !important;
  box-shadow: inset 0 0 0 transparent !important;
}
#navigation .menu-item-739 > a:hover { box-shadow: inset 0 -5px 0 #286d07 !important; }
#navigation .menu-item-754 > a:hover { box-shadow: inset 0 -5px 0 #205997 !important; }
#navigation .menu-item-997 > a:hover { box-shadow: inset 0 -5px 0 #c46f00 !important; }
#navigation .menu-item-1522 > a:hover { box-shadow: inset 0 -5px 0 #575757 !important; }
#navigation .menu-item-1132 > a:hover { box-shadow: inset 0 -5px 0 #710075 !important; }
#navigation .menu-item-805 > a:hover { box-shadow: inset 0 -5px 0 #9d0000 !important; }
#navigation .menu-item-736 > a:hover,
#navigation .menu-item-3064 > a:hover,
#navigation .menu-item-3073 > a:hover { box-shadow: inset 0 -5px 0 #00838f !important; }

@media (max-width: 767px) {
  #navigation .menu-item-739 > a,
  .menu-helper .menu-item-739 > a { border-left: 4px solid #286d07 !important; padding-left: 12px !important; }
  #navigation .menu-item-754 > a,
  .menu-helper .menu-item-754 > a { border-left: 4px solid #205997 !important; padding-left: 12px !important; }
  #navigation .menu-item-997 > a,
  .menu-helper .menu-item-997 > a { border-left: 4px solid #c46f00 !important; padding-left: 12px !important; }
  #navigation .menu-item-1522 > a,
  .menu-helper .menu-item-1522 > a { border-left: 4px solid #575757 !important; padding-left: 12px !important; }
  #navigation .menu-item-1132 > a,
  .menu-helper .menu-item-1132 > a { border-left: 4px solid #710075 !important; padding-left: 12px !important; }
  #navigation .menu-item-805 > a,
  .menu-helper .menu-item-805 > a { border-left: 4px solid #9d0000 !important; padding-left: 12px !important; }
  #navigation .menu-item-736 > a,
  .menu-helper .menu-item-736 > a,
  #navigation .menu-item-3064 > a,
  .menu-helper .menu-item-3064 > a,
  #navigation .menu-item-3073 > a,
  .menu-helper .menu-item-3073 > a { border-left: 4px solid #00838f !important; padding-left: 12px !important; }

  #navigation .menu-item-736,
  .menu-helper .menu-item-736,
  #navigation .menu-item-3064,
  .menu-helper .menu-item-3064,
  #navigation .menu-item-3073,
  .menu-helper .menu-item-3073 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }
}

.subcategories.with-image .image img[src*="folder.svg"] {
  display: none !important;
}
.subcategories.with-image .image:has(img[src*="folder.svg"]) {
  display: none !important;
}

.subcategories-show-more {
  display: inline-block !important;
  padding: 10px 24px !important;
  margin-top: 10px !important;
  background: #f8f9fb !important;
  border: 1px solid rgba(7, 31, 69, 0.15) !important;
  border-radius: 8px !important;
  color: #071f45 !important;
  font-size: 0.95em !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}
.subcategories-show-more:hover {
  background: #eef0f5 !important;
  border-color: rgba(7, 31, 69, 0.3) !important;
}

.stock-show-all {
  display: inline-block !important;
  padding: 8px 16px !important;
  margin-bottom: 15px !important;
  background: transparent !important;
  border: 1px solid rgba(7, 31, 69, 0.2) !important;
  border-radius: 6px !important;
  color: #071f45 !important;
  font-size: 0.9em !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}
.stock-show-all:hover {
  background: #f8f9fb !important;
  border-color: rgba(7, 31, 69, 0.4) !important;
  color: #071f45 !important;
  text-decoration: none !important;
}

.availability-last span,
.availability-last.availability-label,
.availability-last .availability-label {
  color: #c0392b !important;
  font-weight: 600 !important;
}
.availability-limited span,
.availability-limited.availability-label,
.availability-limited .availability-label {
  color: #e67e22 !important;
  font-weight: 600 !important;
}

.category__secondDescription {
  display: none !important;
}

.empty-content-category a.btn::before {
  display: none !important;
}

.listSorting__controls.listSorting__controls {
  flex-wrap: wrap !important;
}

/* in-contacts rules moved to footer-style.css */
