/* =====================
   DLAŽDICE .katemenu
   ===================== */

.katemenu {
  padding: 0px 0px 20px 0px;
  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;
}

/* TRUST BAR — podlahove-topeni.eu */

.pt-trust-bar {
  margin: 0px 7px 17px 7px;
}
.pt-trust-bar-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  background: #ffffff;
  border-top: 3px solid #E97117;
  box-sizing: border-box;
  width: 100%;
}
.pt-trust-item {
  flex: 1 1 0%;
  min-width: 0;
  padding: 15px 0px 15px 15px;
  border-right: 1px solid #e0e0e0;
  box-sizing: border-box;
}
.pt-trust-item:last-child {
  border-right: none;
}
.pt-trust-divider {
  width: 22px;
  height: 3px;
  background: #E97117;
  margin-bottom: 8px;
}
.pt-trust-main {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #333333 !important;
  line-height: 1.35 !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
}
.pt-trust-main em {
  font-style: normal;
  color: #E97117;
}
.pt-trust-main a em {
  font-style: normal;
  color: #E97117;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pt-trust-main a {
  color: #E97117;
  text-decoration: none;
}
.pt-trust-main a:hover {
  text-decoration: none;
}
.pt-trust-sub {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px !important;
  color: #777777 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pt-trust-sub a {
  color: #777777;
  text-decoration: none;
}
.pt-trust-sub a:hover {
  color: #E97117;
}

@media (max-width: 768px) {
  .pt-trust-bar-wrap {
    flex-wrap: wrap;
  }
  .pt-trust-item {
    flex: 0 0 50%;
    max-width: 50%;
    border-bottom: 1px solid #e0e0e0;
  }
  .pt-trust-item:nth-child(2) {
    border-right: none;
  }
  .pt-trust-item:nth-child(3),
  .pt-trust-item:nth-child(4) {
    border-bottom: none;
  }
  .pt-trust-item:nth-child(3) {
    border-right: 1px solid #e0e0e0;
  }
}

@media (max-width: 480px) {
  .pt-trust-item {
    flex: 0 0 100%;
    max-width: 100%;
    border-right: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
  }
  .pt-trust-item:last-child {
    border-bottom: none !important;
  }
}

.pt-trust-perex {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #555555;
    margin: -6px 7px 12px 7px;
    line-height: 1.6;
}


.pt-guide {
  margin: 0 0 24px;
  font-family: inherit;
}

.pt-guide-title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  margin: 0 0 14px;
}

.pt-guide-title span {
  font-size: 14px;
  font-weight: 400;
  color: #888;
}

.pt-guide-grid {
  display: table;
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px;
}

.pt-guide-grid tr {
  display: table-row;
}

.pt-guide-cell {
  display: table-cell;
  width: 20%;
  vertical-align: top;
  border: 1px solid #e8e4de;
  border-radius: 7px;
  overflow: hidden;
  padding: 0;
}

.pt-guide-head {
  background: #E8650A;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pt-guide-num {
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  background: rgba(0,0,0,0.15);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pt-guide-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.pt-guide-body {
  padding: 9px 10px;
  background: #fffaf5;
}

.pt-guide-body p {
  font-size: 13px;
  color: #666;
  margin: 0 0 9px;
  line-height: 1.5;
}

.pt-guide-btns {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Tlačítko - výchozí (nevybrané) */
.pt-guide-cell a {
  display: block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f5f3f0;
  color: #666;
  text-decoration: none;
  text-align: center;
}

/* Tlačítko - doporučené */
.pt-guide-cell a.pt-recommended {
  font-weight: bold;
  border: 2px solid #E8650A;
  background: #fff8f3;
  color: #e8650a;
}

/* Tlačítko - aktivní (filtr je zapnutý) */
.pt-guide-cell a.pt-active {
  background: #E8650A;
  border-color: #E8650A;
  border-width: 2px;
  color: #fff;
}

.pt-guide-footer {
  font-size: 14px;
  color: #666;
  margin: 10px 0 0;
}

.pt-guide-footer a {
  color: #e8650a;
  text-decoration: none;
  font-weight: 500;
}

.pt-guide-footer strong {
  color: #777;
}

/* Responzivita - mobil */
@media (max-width: 600px) {
  .pt-guide-grid,
  .pt-guide-grid tbody,
  .pt-guide-grid tr {
    display: block;
  }

  .pt-guide-cell {
    display: block;
    width: 100%;
    margin-bottom: 14px;
  }

  .pt-guide-cell a {
    font-size: 14px !important;
  }
}
