.toolbar {
  border-bottom: 1px solid var(--seda);
  padding:4px 0 0 0;
  margin-bottom: 15px;
}
.toolbar div {
  font-size: 0.85rem;
  margin-top: 30px;
}
.toolbar div#products-meta {
  font-size: 0;
  margin-top: 0px;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-top: 30px;
  padding-bottom: 0px;
}

.tab {
  padding: 8px 12px 8px 10px;
  background: var(--seda);
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
}

.aktiv {
  background: var(--bgtmseda);
  color: var(--bg);
  font-weight: 700;
}
.pagecat_sam {
  width: 100%;
  padding: 0 10px 20px; /* symetrické odsazení vlevo i vpravo */
  box-sizing: border-box;
}
.pagecat .breadcrumbs,
.pagecat_sam .breadcrumbs {
  padding-left:0;
  padding-top:15px;
}
.pagecat h1,
.pagecat_sam h1 {
  margin-top:5px;
}
.pagecat .muted,
.pagecat_sam .muted {
  color: var(--ink);
  margin-bottom: 20px;
}
.pagecat .muted a,
.pagecat_sam .muted a {
  text-decoration: underline;
  color: var(--primary);
}
.pagecat .cat_popis,
.pagecat_sam .cat_popis {
  border-bottom: 0 !important;
}
/* ==========================
   10) Filtry
   ========================== */

.filter .group {
  background: var(--bgseda1);
  margin-bottom: 8px;
  border: 1px solid var(--bgseda1);
  border-radius: 0px;
  overflow: hidden;
}

/* Header */
.filter .group-header {
  width: 100%;
  background: var(--bgseda1);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}

.filter .group-header:hover {
  background: var(--seda);
}

/* Arrow */
.filter .group-header .arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--ink);
  transition: transform 0.25s ease;
}

/* Otevřený stav */
.filter .group-header[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

/* Obsah */
.filter .group-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.15s ease;
  padding: 0 16px;
  background: var(--bg);
}

/* otevřené */
.filter .group.open .group-content {
  max-height: 5000px; /* můžeš upravit podle potřeby */
  padding: 12px 16px;
}


/* Labely */
.filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom:6px;
  cursor: pointer;
}

.filter input[type="checkbox"],
.filter input[type="number"] {
  accent-color: var(--primary,--blue);
}
.filter input[type="number"] {
  width: 120px;
  padding: 6px 8px;
  border: 1px solid var(--seda);
  border-radius: 4px;
  font-size: 1rem;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink);
}

/* Skrytí původního inputu */
.check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--bgseda2);
  border-radius: 3px;
  background: var(--bg);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Hover efekt */
.check input[type="checkbox"]:hover {
  border-color: var(--primary, --blue);
}

/* Zaškrtnutý stav */
.check input[type="checkbox"]:checked {
  background: var(--primary, --blue);
  border-color: var(--primary, --blue);
}

/* “fajfka” */
.check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Text vedle checkboxu */
.check-label {
  flex: 1;
  margin-top:2px;
  user-select: none;
}
.check-label a {
  pointer-events: none;
}

/* Počet v závorce */
.count {
  color: var(--ink);
  margin-top:2px;
  font-size: 0.95rem;
}
/* NADPIS a POPIS*/
.pagecat .category-header,
.pagecat_sam .category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 0px;
  flex-wrap: wrap;
}

.category-info {
  flex: 1 1 60%;
  min-width: 300px;
}

.category-info h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.category-info p {
  color: var(--ink);
  line-height: 1.6;
}

.cat_popis .related-articles
{
  display: none;
}

.related-articles {
  flex: 0 0 260px;
  background: var(--bgseda1);
  border-radius: 0px;
  padding: 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.related-logo {
  flex: 0 0 150px;
  background: var(--bg);
  border-radius: 0px;
  padding: 15px;
}

.related-articles h3 {
  margin-bottom: 10px;
  margin-top: 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-articles li {
  margin: 6px 0;
  font-size: 0.90rem;
}

.related-articles a {
  text-decoration: none;
  position: relative;
  padding-left: 14px;
  color: var(--bgtmseda);
  transition: color 0.2s ease;
}
ul.guide-list li a::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 15px;
  margin: 15px 0 0px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  background: var(--bgseda1);
  padding: 6px 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.filter-tag strong {
  font-weight: 600;
}

.filter-remove {
  background: none;
  border: none;
  color: var(--bgseda3);
  font-size: 1.4rem;
  margin-left: 6px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.filter-remove:hover {
  color: var(--ink);
}

.clear-filters {
  font-size: 14px;
  color: var(--primary);
  text-decoration: underline;
  margin-left: auto;
  white-space: nowrap;
}

.clear-filters:hover {
  color: var(--ink);
  text-decoration: none;
}

/* --- Top filtry --- */
.top-filters {
  margin: 10px 0 35px;
  
}
.top-filters-heading {
  font-size: 1.1rem;
  font-weight: 600;
  /* border-bottom: 1px solid var(--seda);*/
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.top-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.top-tag {
  display: block;
  text-align: center;
}

.top-tag a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--bgseda1);
  border-radius: 0px;
  padding: 15px 18px;
  width: 120px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.top-tag a:hover {
  background: var(--bg);
  border-color: var(--seda);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.sortvyrobce_polozka_img_top img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.sortvyrobce_polozka_txt_top {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 500;
}

/* --- Podkategorie --- */
.sub-categories_p {
  margin: 30px 0 20px 0;
}

.sub-categories {
  margin: 20px 0;
}

.category-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.category-section {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.category-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.category-section__head h2 {
  margin: 0;
}

.category-section--categories h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.category-section__body {
  min-width: 0;
}

.category-section--categories {
  padding: 0;
  background: transparent;
}

.category-section--categories .sub-categories {
  margin: 20px 0;
}

.sub-categories .sub-tags
{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 176px));
  align-items: stretch;
  justify-content: flex-start;
}
.sub-categories_p .sub-tags 
{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.sub-categories .sub-tag, 
.sub-categories_p .sub-tag 
{
  display: block;
  text-align: center;
  min-width: 0;
  width: 100%;
  max-width: 176px;
}
.sub-categories_p .sub-tag
{
  padding:0;
  margin:0 0 10px 0;
}
.logoflt
{
  float:left;
  width: 40px;
  margin-right:10px;
}
.txtflt
{
  float:left;
}
.sub-categories_p .sub-tag  .subtagimg
{
  flex-direction: unset;
}
.sub-categories_p .sub-tags .back1 a
{
  background-color: var(--iksv1);
}
.sub-categories_p .sub-tags .back2 a
{
  background-color: var(--iksv2);
}
.sub-categories_p .sub-tags .back3 a
{
  background-color: var(--iksv3);
  font-weight: 700;
}

.logoflt img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.sub-categories .sub-tag a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: var(--ink);
  background:
    linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
  border: 1px solid var(--bgseda1);
  border-radius: 0px;
  padding: 10px 10px 12px 10px;
  width: 100%;
  min-height: 186px;
  height: 100%;
  transition: all 0.25s ease;
  border: 1px solid var(--seda);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-left: 4px solid color-mix(in srgb, var(--bgseda2) 55%, #ffffff 45%);
}
.category-section--categories .sub-tag a {
  align-items: center;
  text-align: center;
  padding: 12px 12px 14px 12px;
  border-top: 1px solid var(--seda);
  background: linear-gradient(180deg, #ffffff 0%, var(--bgseda) 100%);
}
.sub-categories .sub-tag a::after {
  content: "\203A";
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sub-categories_p .sub-tag a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--bgseda1);
  padding: 4px;
  width: 178px;
  min-height: 50px;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  border: 1px solid var(--seda);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.sub-categories .sub-tag a:hover {
  border-color: color-mix(in srgb, var(--seda), var(--seda) 55%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.sub-categories .sub-tag a:hover::after {
  opacity: 1;
  transform: translateX(3px);
}

.sub-categories .sortvyrobce_polozka_img_top {
  width: 100%;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.category-section--categories .sortvyrobce_polozka_img_top {
  justify-content: center;
  height: 96px;
}

.sub-categories .sortvyrobce_polozka_img_top img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sub-categories .sub-tag a:hover img {
  transform: scale(1.07);
}

.sub-categories .sortvyrobce_polozka_txt_top {
  margin-top: auto;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  width: 100%;
  padding-right: 24px;
  line-height: 1.3;
}

.category-section--categories .sortvyrobce_polozka_txt_top {
  font-size: 1.02rem;
}

.category-section--brands {
  padding: 0;
  border: 0;
  background: transparent;
}

.category-section--brands .sortiment-top_loga {
  padding: 0;
}

.category-section--brands .grid[data-carousel] {
  padding: 0.25rem 0;
}

.category-section--products {
  padding: 0;
  border: 0;
  background: transparent;
}
/* Pagination */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", Arial, sans-serif;
  margin: 40px 0 20px;
}

.pagination .page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--seda);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pagination .active {
  background: var(--bgseda1);
  color: var(--ink);
  font-weight: 600;
}

.pagination .show-all {
  color: var(--bgseda3);
  margin-left: 12px;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.pagination .show-all:hover {
  color: var(--bgseda3);
  text-decoration: underline;
}

.load-more {
  text-align: center;
  margin: 25px 0 60px;
}

.load-more-btn {
  background: var(--bg);
  border: 1px solid var(--seda);
  padding: 14px 36px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}


.load-more-btn span {
  display: inline-block;
  margin-left: 8px;
  font-size: 1.2rem;
  transform: translateY(2px);
}

/* Slider */
.price-slider {
  position: relative;
  height: 6px;
  background: var(--seda);
  margin: 15px 0 10px;
  border-radius: 3px;
}

/* track (barevná část mezi slidery) */
.slider-track {
  position: absolute;
  height: 6px;
  background: var(--bgseda2);
  border-radius: 3px;
  top: 0;
  bottom: 0;
  z-index: 1; /* vyšší než defaultní linka */
}

/* range input */
.price-slider {
  position: relative;
  height: 6px;
  margin: 15px 0 10px;
}

/* vlastní barevná linka mezi min/max */
.slider-track {
  position: absolute;
  height: 6px;
  background: var(--bgseda2);
  border-radius: 3px;
  top: 0;
  bottom: 0;
  z-index: 1;
}

/* obě range vrstvy */
.price-slider-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.price-value {
  font-size: 14px;
  color: var(--ink);
  min-width: 60px;
  text-align: center;
}

.price-slider {
  position: relative;
  flex: 1;
  height: 6px;
  background: var(--seda);
}

.slider-track {
  position: absolute;
  height: 6px;
  background: var(--bgseda2);
  border-radius: 3px;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.price-slider input[type="range"] {
  position: absolute;
  width: 100%;
  height: 6px;
  pointer-events: none;
  appearance: none;
  background: transparent;
  border: none;
  z-index: 2;
}

.price-slider input[type="range"]::-webkit-slider-runnable-track,
.price-slider input[type="range"]::-moz-range-track {
  background: transparent;
  border: none;
  height: 6px;
}

.price-slider input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--bgseda2);
  background: var(--bg);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
  position: relative;
  z-index: 3;
}
.price-slider input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--bgseda2);
  background: var(--bg);
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.category-info .original{
  display: none;

}
.products-show-no-results
{
  float:left;
  font-size: 1.3rem;
  font-weight: 600;
  width:95%;
  color:var(--primary);
}


/* --- TOP VYROBCI -- */
.pagecat_sam section,
.sortiment-top,
.produkty-top {
  margin: 20px 0 0 0;
}

.sortiment-top_nadpis h2,
.produkty-top_nadpis h2 {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 1rem;
}

/* Pás s logy - nastavíme relativní pozicování pro šipky */
.produkty-top_loga,
.produkty-top {
  position: relative; /* <-- přidáno */
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 0.5rem 3.5rem; /* místo pro šipky vlevo/vpravo */
  scrollbar-width: none;
}

.sortiment-top_loga::-webkit-scrollbar,
.produkty::-webkit-scrollbar {
  display: none;
}

/* Každé logo */
.sortiment-logo {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;

  padding:5px 10px 5px 10px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius, 10px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.produkty-pas {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 80px;
  background: #fff;
  border-radius: var(--radius, 10px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sortiment-logo:hover,
.produkty-pas:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sortiment-logo img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.1);
  transition: filter 0.2s ease;
}
.sortiment-logo:hover img {
  filter: grayscale(0);
}

/* Clanky */
.articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: left;
}

.article-card {
  background: var(--bg);
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid var(--seda);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex: 0 1 19%;
  max-height: 470px;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.article-image img {
  width: 100%;
  height: 35%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover img {
  transform: scale(1.05);
}

.article-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--bgtmseda);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.article-title a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
}


.article-tags {
  margin: 8px 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: var(--seda);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 0px;
  transition: background 0.2s, color 0.2s;
}


.article-excerpt {
  flex-grow: 1;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 10px 0 20px;
}

.read-more {
  align-self: flex-start;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

/* ===========================
   GALERIE – pouze carousel + lightbox
   =========================== */
/* --- obal kolem náhledů --- */
.gallery__thumbs-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- posuvník miniatur (carousel) --- */
.gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */
  padding: 8px 40px;
}

/* skrytí scrollbarů */
.gallery__thumbs::-webkit-scrollbar {
  display: none;
}

/* --- jednotlivá miniatura --- */
.gallery__thumb {
  flex: 0 0 auto;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.gallery__thumb.is-active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 0 0 0 2px var(--accent, --zelena);
}

.gallery__thumb img {
  display: block;
  width: 240px;
  height: 240px;
  object-fit: cover;
}

/* --- šipky pro carousel --- */
.thumbs__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 2;
}

.thumbs__nav.prev {
  left: 0;
}

.thumbs__nav.next {
  right: 0;
}

.thumbs__nav:disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* --- lightbox --- */
.gallerybox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

/* obrázek v lightboxu */
.gallerybox__img {
  max-width: 90%;
  max-height: 90%;
  transition: opacity 0.3s;
}

/* křížek pro zavření */
.gallerybox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  background: none;
  border: none;
  color: var(--bg);
  cursor: pointer;
}

/* šipky v lightboxu */
.gallerybox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color:  var(--bg);
  background: none;
  border: none;
  cursor: pointer;
}

.gallerybox__nav.prev {
  left: 40px;
}

.gallerybox__nav.next {
  right: 40px;
}

/* ===========================
   CLANKY
   =========================== */
.pagecat_sam h2 {
  margin-top: 30px;
  margin-bottom: 0px;
}
.clanky_text
{
  width: 100%;
  padding: 0 10px 20px;
  box-sizing: border-box;
  display: flow-root;   /* KLÍČOVÉ */
}
.clanky_text h2
{
  margin: 30px 0 0 0;
  font-size: 1.6rem;
  font-weight: 600;
}
.clanky_text h3
{
  margin: 30px 0 0 0;
  font-size: 1.4rem;
  font-weight: 600;
}
.clanky_text p
{
  margin: 10px 0 0 0;
  font-size: 1.0rem;
}
.clanky_text ul
{
  margin: 10px 0 0 0;
  font-size: 1.0rem;
}

.clanky_text h2,
.clanky_text h3,
.clanky_text p,
.clanky_text ul
{
  float: none;
  width: auto;
  clear: both;
}

.clanky_text img
{
  float: none;
  display: block;
  margin: 15px auto;
  max-width: 100%;
  height: auto;
}
/* pouze odstavce, které obsahují obrázky (moderní selektor) */
.clanky_text p:has(> img),
.clanky_text h2:has(> img),
.clanky_text h3:has(> img)
{
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-start;
}

/* obrázky v takovém odstavci */
.clanky_text p:has(> img) > img,
.clanky_text h2:has(> img) > img,
.clanky_text h3:has(> img) > img
{
  float: none;
  margin: 0;
  width: 300px;     /* nebo max-width: 300px */
  height: auto;
  max-width: 100%;
  display: block;
}

/* Wrapper menu kapitol */
#zalozkyclanky{
  margin: 0px 0 20px 0;
  padding: 12px 0;
  border-radius: 0px;
  
}

/* Seznam bez odrážek */
#zalozkyclanky ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Položka – bez vlastních stylů */
#zalozkyclanky li{
  margin: 0;
  padding: 0;
}

/* Odkaz jako „pill“ tlačítko */
#zalozkyclanky a{
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--bgseda2);
  background: var(--bgseda);
  font-size: 1.0rem;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);

  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

#zalozkyclanky a:hover{
  background: var(--bgseda1);
  border-color: var(--seda);
  color:  var(--ink);
}

/* Stav po kliknutí (když se URL změní na #...) */
#zalozkyclanky a:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}



/* Plynulý scroll na kotvy */
html{
  scroll-behavior: smooth;
}

/* Pokud máte fixní header, nastavte offset (upravte 120px podle reality) */
.clanky_text h2{
  scroll-margin-top: 120px;
}


/* Prodejna + Kontakt */
/* ====== BLOK: Kontakt / mapa (Bike-Eshop) ====== */

.vypis_unv_box_toprd,
.vypis_unv_box_toprd * ,
.vypis_unv_box_map,
.vypis_unv_box_map * {
  box-sizing: border-box;
}

/* Horní 4 sloupce */
.vypis_unv_box_toprd {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: linear-gradient(#f5f5f5, #ededed);
  border: 1px solid #e3e3e3;
  border-left: 0;
  border-right: 0;
  overflow: hidden;
}

.vypis_unv_box_toprd_box {
  flex: 1 1 25%;
  min-width: 220px;                 /* aby se to nelámalo moc brzo */
  }

.vypis_unv_box_toprd_box:last-child {
  border-right: 0;
}

.vypis_unv_box_toprd_boxsam {
  padding: 22px 26px;
}

.vypis_unv_box_toprd_box_nad {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 12px 0;
}

.vypis_unv_box_toprd_box_radek {
  position: relative;
  padding: 4px 0 4px 18px;          /* místo pro šipku */
  font-size: 15px;
  line-height: 1.35;
  color: #111;
}

.vypis_unv_box_toprd_box_radek::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 3px;
  color: #bfbfbf;
  font-size: 18px;
  line-height: 1;
}

.vypis_unv_box_toprd a {
  color: #00a8d8;
  text-decoration: underline;
}

.vypis_unv_box_toprd a:hover {
  color: #007ea1;
  text-decoration: underline;
}

/* Spodní část: info + vytíženost + mapa */
.vypis_unv_box_map {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: #efefef;
  border: 1px solid #e3e3e3;
  border-top: 0;
}

.vypis_unv_box_map_b1 {
  flex: 1 1 26%;
  min-width: 260px;
  padding: 18px 18px 18px 22px;
}

.vypis_unv_box_map_b3 {
  flex: 1 1 44%;
  min-width: 320px;
  padding: 18px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vypis_unv_box_map_b2 {
  flex: 1 1 30%;
  min-width: 280px;
  padding: 18px 22px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text vlevo */
.vypis_unv_box_text {
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 14px;
}

.vypis_unv_box_text_nad {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--accent); /* METRO modře */
  margin-bottom: 4px;
}

/* Barevné boxy PĚŠKY / AUTEM */
.vypis_unv_box_barva {
  padding: 12px 14px;
  margin: 10px 0 0 0;
  background: var(--accent); /* PĚŠKY */
  color: var(--ink);
}

.vypis_unv_box_barva_nad {
  display: inline-block;
  font-weight: 900;
  letter-spacing: .3px;
  margin-bottom: 6px;
}

/* AUTEM – žlutý box */
#vypis_unv_box_barva1 {
  background: var(--orange);
}

/* Obrázky */
.vypis_unv_box_map img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}

/* Mapa (klikací) – ať anchor neháže inline mezery */
.vypis_unv_box_map_b2 a {
  display: block;
}

/* Jemné zarovnání podobné screenshotu (když budou obrázky různě vysoké) */
.vypis_unv_box_map_b2 img,
.vypis_unv_box_map_b3 img {
  width: 100%;
  max-width: 520px; /* vytíženost */
}

.vypis_unv_box_map_b2 img {
  max-width: 560px; /* mapa */
}
.vypis_unv_box_textall {
  margin: 40px auto 0 auto;
  padding: 0 20px;
  color: var(--ink);
}

/* Hlavní nadpis */
.vypis_unv_box_textnad {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 26px 0;
  color: var(--ink);
}

/* Jednotlivé sekce */
.vypis_unv_box_textnadtxt {
  margin-bottom: 28px;
}

/* Nadpis sekce (tučný řádek nad odstavcem) */
.vypis_unv_box_textnadtxtnad {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

/* Text */
.vypis_unv_box_textnadtxt p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

/* Tučné zvýraznění */
.vypis_unv_box_textnadtxt strong {
  font-weight: 700;
  color: var(--ink);
}

/* Odkazy v textu */
.vypis_unv_box_textnadtxt a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.vypis_unv_box_textnadtxt a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Odskok mezi běžným textem a šipkovým odkazem */
.vypis_unv_box_textnadtxt p br {
  line-height: 2;
}
.filters-toggle
{
  display: none;
}
/* Top ten prod */

.cat-top-products {
  margin: 5px 0 5px;
  background: var(--bg);
  border: 0;
  
}

.cat-top-products__head {
  padding: 10px 0 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.cat-top-products__head h2 {
  margin: 0;
  padding:0;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
}

.cat-top-products__list {
  display: block;
}

.cat-top-products__item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0px;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.cat-top-products__item:first-child {
  border-top: 0;
}


.cat-top-products__img {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.cat-top-products__img img {
  display: block;
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
}

.cat-top-products__body {
  min-width: 0;
}

.cat-top-products__name {
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.25rem;
}

.cat-top-products__desc {
  font-size: 0.80rem;
  line-height: 1.35;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-top-products__price {
  min-width: 7rem;
  text-align: right;
  white-space: nowrap;
}

.cat-top-products__price-now {
  font-size: 1.0rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary);
}

.cat-top-products__price-old {
  margin-top: 0.2rem;
  font-size: 0.80rem;
  line-height: 1.2;
  color: var(--bgseda3);
  text-decoration: line-through;
}
.cat-top-products__item--more {
  display: none;
}

.cat-top-products.is-open .cat-top-products__item--more {
  display: grid !important;
}

.cat-top-products__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 2.6rem;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  cursor: pointer;
}

.cat-top-products__toggle:hover {
  background: var(--bgseda);
}

.cat-top-products__toggle-icon {
  width: 0.8rem;
  height: 0.8rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -0.25rem;
}

.cat-top-products.is-open .cat-top-products__toggle-icon {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}
.be-article-cardsall {
  margin-top: 30px;
  
}

.be-article-box--mixed {
  width: 100%;

}

.be-article-box--mixed .be-article-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.be-article-box {
  margin: 0 0 0 0;
  padding:0;
}

.be-article-box__title {
  margin: 0 0 15px 0;
  font-size: 1.5rem;
  color: var(--ink);
  border-bottom: 1px solid var(--bgseda1);
}

.be-article-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.be-article-box--compact .be-article-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.be-article-box--top .be-article-card,
.be-article-box--home-top .be-article-card {
  background: var(--bgseda);
}
.be-article-card__body {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  gap: 0.5rem;
  flex: 1;
}
.be-article-card__title {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-excerpt {
  font-size: 0.85rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.be-article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.be-article-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.be-article-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bgseda1);
}

.be-article-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.be-article-card__body {
  padding: 1rem;
}

.be-article-card__meta {
  margin: 0 0 .5rem 0;
  font-size: .8125rem;
  line-height: 1.2;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}

.be-article-card__title {
  margin: 0 0 .75rem 0;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--ink);
}

.be-article-card__perex {
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.be-article-more {
  margin-top: 25px;
  margin-bottom: 35px;
  text-align: center;
}
.be-article-faq .be-article-more {
  margin-top: 10px;
  margin-bottom: 8px;
  text-align: center;
}

.be-article-more a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.be-article-more a:hover {
  text-decoration: underline;
}
.be-article-card__link:hover .be-article-card__title {
  color: var(--accent);
}

.be-article-box--choice .be-article-box__title,
.be-article-box--sizes .be-article-box__title,
.be-article-box--tech .be-article-box__title,
.be-article-box--help .be-article-box__title,
.be-article-box--info .be-article-box__title,
.be-article-box--news .be-article-box__title,
.be-article-box--other .be-article-box__title {
  padding-bottom: .5rem;
  /* border-bottom: 2px solid var(--line);*/
}

.be-article-faq {
  margin: 2rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--bgseda);
}

.be-article-faq h2 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.be-article-faq__items {
  display: grid;
  gap: .75rem;
}

.be-article-faq__item {
  border: 1px solid var(--line);
  background: var(--bg);
}

.be-article-faq__item summary {
  padding: 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.be-article-faq__item summary::-webkit-details-marker {
  display: none;
}

.be-article-faq__answer {
  padding: 0 1rem 1rem 1rem;
  color: var(--muted);
  line-height: 1.6;
}
