/* =====================
   DLAŽDICE .katemenu
   ===================== */

.katemenu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  gap: 12px;
  justify-content: center;
}

.kateitem {
  padding: 10px;
  width: 349px;
  background-color: white;
  margin-bottom: 0;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}

.kateitem:first-child { margin-top: 0; }

.kateitem h2 {
  margin: -10px -10px 10px -10px;
  font-weight: 600;
  font-size: 14px;
  background-color: #e9701d;
  padding: 9px 12px;
  letter-spacing: 0.01em;
  height: auto !important;
  min-height: 22px;
}

.katemenu > li a {
  color: #fff;
  text-decoration: none;
}

.katemenu > li:hover a { color: white; }

.kateitem img {
  float: left;
  margin-right: 15px;
  width: 100px;
}

.katemenu p {
  margin-bottom: 5px;
  font-size: 13px;
  color: #444;
}

.katemenu p:last-child { font-size: 14px; }

.kateitem:hover {
  background-color: white;
  box-shadow: 0 4px 16px rgba(233,112,29,0.18);
  transform: translateY(-2px);
  border-color: #e9701d;
  color: inherit;
}

.katekam {
  color: #fffffe;
  margin-top: 12px;
  font-weight: bold;
  padding-left: 7px;
  background-color: #af340e;
}

.flag.flag-tip { background-color: #7a1a06; }


/* =====================
   SIDEBAR MENU
   ===================== */

.sidebar { background: #ffffff; }
.sidebar-inner,
.sidebar-inner > div { padding-top: 0; }
.sidebar-inner > div { border: 0; }
.sidebar-inner {padding: 10px;}

#categories .expandable.expanded > a > span::before,
#categories .expandable.expanded > .topic > a > span::before,
#categories .expandable > a > span::before,
#categories .expandable > .topic > a > span::before { display: none; }

.box-categories h4 { display: none; }

.box-categories #categories div.categories {
  margin: 8px 0 8px 0 !important;
  padding: 0 1px !important;
}

/* LEVEL 1 — tmavě hnědé headery */
.categories .topic > a,
.categories .topic.child-active > a {
  background: #7b1903 !important;
  color: #fff !important;
  text-transform: uppercase;
  padding: 10px 14px;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.07em;
  border-radius: 8px !important;
  display: block;
  text-decoration: none;
  margin-bottom: 2px !important;
  transition: background 0.15s;
}

.categories .topic { padding-bottom: 4px; }

.categories .topic > a:hover,
.categories .topic.child-active > a:hover { background: #9b2204 !important; }

.categories .topic.active > a { background: #5a1202 !important; }

/* LEVEL 2 — oranžové položky */
.box-bg-variant .categories ul > li > a {
  background: #e9701d;
  color: #fff;
  font-size: 13px !important;
  font-weight: 500;
  text-transform: none !important;
  border-radius: 6px !important;
  border: 0;
  display: block !important;
  margin-bottom: 2px !important;
  transition: background 0.15s;
}

.box-bg-variant .categories a:hover { background: #d4621a; color: #fff; }

.sidebar #categories ul > li.active > a {
  background-color: #bf581a;
  color: #fff;
}

/* LEVEL 3 — světlé položky s oranžovým pruhem */
#categories .expandable.expanded > ul.active > li > ul.active > li > a,
#categories .expandable.expanded > ul.active > li > ul > li > a {
  background-color: #f5f5f5;
  color: #555;
  border-radius: 6px;
  border-left: 3px solid #e9701d;
  font-size: 13px !important;
  text-transform: none !important;
  padding: 8px 8px 8px 20px !important;
}

#categories .expandable.expanded > ul.active > li > ul.active > li > a:hover,
#categories .expandable.expanded > ul.active > li > ul > li > a:hover {
  background-color: #ffe8d6;
  color: #c0521a;
}

#categories .expandable.expanded > ul.active > li > ul.active > li.active > a {
  background-color: #fff;
  color: #e9701d;
  font-weight: 600;
  border-left-color: #7b1903;
}

.categories ul > li.active > ul > li > a { background: #f5f5f5; color: #e9701d; }

/* obecné reset pravidla */
.categories ul a { padding: 8px 8px 8px 14px !important; }
.categories ul li { padding-left: 0; }
.categories li {
  text-transform: uppercase;
  margin-bottom: 6px !important;
  padding-left: 0 !important;
  list-style: none !important;
}

#categories .expandable.expanded > ul > li { padding-left: 0 !important; }

.categories ul {
  padding: 4px 0 0 0 !important;
  margin: 0 !important;
}

