#filters .filter-label.disabled{display: none !important}#filters .filter-section:not(:has(.filter-label:not(.disabled))){display: none !important}@media(min-width:992px){.menu-item-673 .menu-level-3,.type-category:has(.breadcrumbs [href="/podlahy/"]) .category-top>.subcategories{display:none!important}:is(.id-673 .subcategories a,#cat-673 li .cat-trigger):before{content:none!important}}

/* Keep the stock category and its products available while omitting its navigation entry. */
li.menu-item-891,
#categories li:has(> a[href="/podlahy-skladovy-sortiment/"]),
body.id-888 .category-top > .subcategories > li:has(> a[href="/podlahy-skladovy-sortiment/"]) {
  display: none !important;
}


/* Only category cards with an actual image. The theme retains grid visibility and column count. */
body.type-category main .category-top > .subcategories.with-image > li:not(.parametric) > a:has(> .image > img) {
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  height: 100%;
  min-width: 0;
  padding: 8px;
  box-sizing: border-box;
}

body.type-category main .category-top > .subcategories.with-image > li:not(.parametric) > a > .image:has(> img) {
  position: relative;
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  aspect-ratio: 7 / 5;
  margin: 0;
  overflow: hidden;
}

body.type-category main .category-top > .subcategories.with-image > li:not(.parametric) > a > .image > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

body.type-category main .category-top > .subcategories.with-image > li:not(.parametric) > a:has(> .image > img) > .text {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  text-align: center;
}

@media (max-width: 767px) {
  body.type-category main .category-top > .subcategories.with-image > li:not(.parametric) > a:has(> .image > img) {
    gap: 6px;
    padding: 6px;
  }
}
