/* Smartmax: panel filtru a záložkové řazení kategorií, 2026-08-14. */
html body.type-category.template-11 .category-content-wrapper {
  display: flex !important;
  min-width: 0 !important;
  flex-direction: column !important;
}

html body.type-category.template-11 .category-content-wrapper > #filters-wrapper {
  order: -20 !important;
  width: 100% !important;
  margin: 0 0 16px !important;
}

html body.type-category.template-11 .category-content-wrapper > #category-header {
  order: -10 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.type-category.template-11 #category-header .listSorting {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.type-category.template-11 #category-header .listSorting__controls {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 8px !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  list-style: none !important;
}

html body.type-category.template-11 #category-header .listSorting__controls > li {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body.type-category.template-11 #category-header .listSorting__control {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #e3dcd9 !important;
  border-radius: 10px !important;
  background: #f8f6f5 !important;
  color: #3f3937 !important;
  box-shadow: 0 3px 10px rgba(72, 45, 36, .04) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transform: none !important;
  transition: background .18s, color .18s, border-color .18s !important;
}

html body.type-category.template-11 #category-header .listSorting__control:hover,
html body.type-category.template-11 #category-header .listSorting__control:focus-visible {
  border-color: #e7b8aa !important;
  background: #fff2ed !important;
  color: #c95339 !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
}

html body.type-category.template-11 #category-header .listSorting__control::before {
  display: inline-flex !important;
  flex: 0 0 24px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 7px !important;
  background: #fff0eb !important;
  color: #de6548 !important;
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

html body.type-category.template-11 #category-header .listSorting__control[data-sort="priority"]::before {
  content: "✓" !important;
}

html body.type-category.template-11 #category-header .listSorting__control[data-sort="price"]::before {
  content: "↓" !important;
}

html body.type-category.template-11 #category-header .listSorting__control[data-sort="-price"]::before {
  content: "↑" !important;
}

html body.type-category.template-11 #category-header .listSorting__control[data-sort="bestseller"]::before {
  content: "★" !important;
}

html body.type-category.template-11 #category-header .listSorting__control[data-sort="name"]::before {
  content: "A-Z" !important;
  font-size: 9px !important;
}

html body.type-category.template-11 #category-header .listSorting__control--current {
  min-height: 48px !important;
  padding-top: 3px !important;
  border-width: 4px 1px 1px !important;
  border-style: solid !important;
  border-color: #de6548 #e7b8aa #e7b8aa !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #c95339 !important;
  box-shadow: 0 5px 14px rgba(222, 101, 72, .09) !important;
}

html body.type-category.template-11 #category-header .listSorting__control--current::before {
  background: #de6548 !important;
  color: #fff !important;
}

html body.type-category.template-11 #category-header .listItemsTotal {
  flex: 0 0 auto !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  color: #6e6866 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

html body.type-category.template-11 #category-header .listItemsTotal strong {
  color: #de6548 !important;
  font-weight: 800 !important;
}

html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper .unveil-button {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid #e3dcd9 !important;
  border-radius: 10px !important;
  background: #f8f6f5 !important;
  color: #3f3937 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transform: none !important;
  transition: background .18s, color .18s, border-color .18s !important;
}

html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper .unveil-button:hover,
html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper .unveil-button:focus-visible {
  border-color: #e7b8aa !important;
  background: #fff2ed !important;
  color: #c95339 !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
}

html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper .unveil-button::before,
html body.type-category.template-11 #filters-wrapper .filters-wrapper:has(> #filters.visible) .filters-unveil-button-wrapper .unveil-button::before {
  content: "" !important;
  position: static !important;
  display: inline-block !important;
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 10px 0 0 !important;
  background-color: #de6548 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6.5h18M6.5 12h11M10 17.5h4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6.5h18M6.5 12h11M10 17.5h4' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px 24px no-repeat !important;
  transform: none !important;
}

html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper .unveil-button::after,
html body.type-category.template-11 #filters-wrapper .filters-wrapper:has(> #filters.visible) .filters-unveil-button-wrapper .unveil-button::after {
  content: none !important;
  display: none !important;
}

html body.type-category.template-11 #filters-wrapper .filters-wrapper:has(> #filters.visible) .filters-unveil-button-wrapper .unveil-button {
  min-height: 49px !important;
  padding-top: 3px !important;
  border-width: 4px 1px 1px !important;
  border-style: solid !important;
  border-color: #de6548 #e7b8aa #e7b8aa !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #c95339 !important;
  box-shadow: 0 5px 14px rgba(222, 101, 72, .09) !important;
}

html body.type-category.template-11 #filters-wrapper #filters {
  margin-top: 10px !important;
  border-radius: 16px !important;
}

@media (max-width: 1024px) {
  html body.type-category.template-11 .category-content-wrapper > #category-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin-bottom: 20px !important;
  }

  html body.type-category.template-11 #category-header .listItemsTotal {
    order: -1 !important;
    align-self: flex-end !important;
    margin: 0 2px 10px !important;
  }

  html body.type-category.template-11 #category-header .listSorting {
    width: 100% !important;
  }

  html body.type-category.template-11 #category-header .listSorting__controls {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: thin !important;
  }

  html body.type-category.template-11 #category-header .listSorting__controls > li {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
  }

  html body.type-category.template-11 #category-header .listSorting__control {
    width: auto !important;
    min-width: 145px !important;
    min-height: 46px !important;
    padding: 0 13px !important;
    font-size: 13px !important;
  }

  html body.type-category.template-11 #category-header .listSorting__control--current {
    min-height: 46px !important;
  }

  html body.type-category.template-11 #category-header .listSorting::after {
    content: "← Posuňte řazení do stran →" !important;
    display: block !important;
    margin: 8px 0 0 !important;
    color: #6e6866 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  html body.type-category.template-11 .category-content-wrapper > #filters-wrapper {
    margin-bottom: 14px !important;
  }

  html body.type-category.template-11 #category-header .listItemsTotal {
    font-size: 13px !important;
  }

  html body.type-category.template-11 #category-header .listSorting__control {
    min-width: 122px !important;
    min-height: 45px !important;
  }

  html body.type-category.template-11 #category-header .listSorting__control--current,
  html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper,
  html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper .unveil-button {
    min-height: 45px !important;
  }

  html body.type-category.template-11 #filters-wrapper .filters-unveil-button-wrapper .unveil-button {
    padding-right: 16px !important;
    padding-left: 16px !important;
    font-size: 13px !important;
  }

  html body.type-category.template-11 #filters-wrapper .filters-wrapper:has(> #filters.visible) .filters-unveil-button-wrapper .unveil-button {
    min-height: 46px !important;
  }
}
