/*
 * Chocolenka — progressive enhancement of native Shoptet filters.
 * Native form controls, values and AJAX filtering stay untouched.
 */

:root {
  --ch-filter-ink: #321b0d;
  --ch-filter-brown: #6a3b17;
  --ch-filter-orange: #d9801a;
  --ch-filter-orange-dark: #b96512;
  --ch-filter-cream: #fbf7f0;
  --ch-filter-line: #ead9c6;
  --ch-filter-muted: #756457;
  --ch-filter-green: #4b813e;
  --ch-filter-green-bg: #edf6e9;
}

body.type-category .ch-filter-shell {
  position: relative;
  z-index: 8;
  width: 100%;
  margin: 25px 0 29px;
  color: var(--ch-filter-ink);
  font-family: inherit;
}

body.type-category .ch-filter-toolbar {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

body.type-category .ch-filter-controls {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

body.type-category .ch-stock-toggle,
body.type-category .ch-filter-trigger,
body.type-category .ch-mobile-filter-trigger {
  min-height: 49px;
  border: 1px solid var(--ch-filter-line);
  border-radius: 12px;
  color: var(--ch-filter-ink);
  background: #fff;
  font: inherit;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

body.type-category .ch-stock-toggle {
  min-width: 238px;
  padding: 8px 14px 8px 47px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  border-color: #a9c39d;
  background: #f8fbf6;
}

body.type-category .ch-stock-toggle::before {
  content: "";
  width: 19px;
  height: 19px;
  position: absolute;
  left: 16px;
  top: 50%;
  border: 2px solid #8cab80;
  border-radius: 5px;
  background: #fff;
  transform: translateY(-50%);
}

body.type-category .ch-stock-toggle.is-active::before {
  content: "✓";
  display: grid;
  place-items: center;
  border-color: var(--ch-filter-green);
  color: #fff;
  background: var(--ch-filter-green);
  font-size: 13px;
  font-weight: 900;
}

body.type-category .ch-stock-toggle__title {
  color: #416c35;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
}

body.type-category .ch-stock-toggle__note {
  margin-top: 2px;
  color: #70816b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
}

body.type-category .ch-filter-trigger {
  min-width: 112px;
  padding: 0 39px 0 16px;
  position: relative;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

body.type-category .ch-filter-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  right: 16px;
  top: 50%;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-68%) rotate(45deg);
  transition: transform .18s ease;
}

body.type-category .ch-filter-trigger[aria-expanded="true"] {
  border-color: var(--ch-filter-brown);
  box-shadow: 0 0 0 1px var(--ch-filter-brown);
}

body.type-category .ch-filter-trigger[aria-expanded="true"]::after {
  transform: translateY(-20%) rotate(225deg);
}

body.type-category .ch-filter-trigger__count {
  min-width: 18px;
  height: 18px;
  margin-left: 7px;
  padding: 0 5px;
  display: none;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--ch-filter-orange);
  font-size: 10px;
  line-height: 1;
}

body.type-category .ch-filter-trigger.has-selection .ch-filter-trigger__count {
  display: inline-grid;
}

body.type-category .ch-filter-summary {
  min-height: 34px;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body.type-category .ch-filter-result-count {
  margin-right: auto;
  color: var(--ch-filter-ink);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

body.type-category .ch-active-chip {
  min-height: 31px;
  padding: 0 30px 0 12px;
  position: relative;
  border: 1px solid var(--ch-filter-line);
  border-radius: 999px;
  color: var(--ch-filter-ink);
  background: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

body.type-category .ch-active-chip::after {
  content: "×";
  position: absolute;
  right: 10px;
  top: 50%;
  color: var(--ch-filter-muted);
  font-size: 16px;
  line-height: 1;
  transform: translateY(-52%);
}

body.type-category .ch-filter-clear {
  padding: 7px 2px;
  border: 0;
  color: var(--ch-filter-orange-dark);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.type-category .ch-filter-drawer {
  position: static;
}

body.type-category .ch-filter-drawer__availability,
body.type-category .ch-filter-drawer__chips {
  display: none;
}

body.type-category .ch-filter-drawer__head,
body.type-category .ch-filter-drawer__footer,
body.type-category .ch-mobile-filter-trigger,
body.type-category .ch-mobile-section-toggle {
  display: none;
}

body.type-category .ch-filter-shell #filters-wrapper {
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}

body.type-category .ch-filter-shell #filters-wrapper > .filters-unveil-button,
body.type-category .ch-filter-shell #filters-wrapper > .filter-count {
  display: none !important;
}

body.type-category .ch-filter-shell .filters {
  width: min(570px, calc(100vw - 48px));
  max-height: min(650px, calc(100vh - 160px));
  padding: 19px !important;
  position: absolute !important;
  left: var(--ch-panel-left, 250px);
  top: 60px;
  overflow: auto;
  display: none !important;
  border: 1px solid var(--ch-filter-line);
  border-radius: 14px;
  color: var(--ch-filter-ink);
  background: #fff;
  box-shadow: 0 18px 45px rgba(50, 27, 13, .15);
}

body.type-category .ch-filter-shell.is-panel-open .filters {
  display: block !important;
}

body.type-category .ch-filter-shell .filter-sections {
  display: block !important;
}

body.type-category .ch-filter-shell .slider-wrapper,
body.type-category .ch-filter-shell .filter-section {
  margin: 0 !important;
  padding: 0 !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
}

body.type-category .ch-filter-shell .slider-wrapper.ch-panel-open,
body.type-category .ch-filter-shell .filter-section.ch-panel-open {
  display: block !important;
}

body.type-category .ch-filter-shell .filter-section-count {
  display: none !important;
}

body.type-category .ch-filter-panel-title {
  margin: 0 0 17px;
  padding: 0 38px 14px 0;
  position: relative;
  border-bottom: 1px solid var(--ch-filter-line);
  color: var(--ch-filter-ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

body.type-category .ch-filter-panel-close {
  width: 34px;
  height: 34px;
  position: absolute;
  right: -6px;
  top: -8px;
  border: 0;
  border-radius: 50%;
  color: var(--ch-filter-ink);
  background: transparent;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

body.type-category .ch-filter-shell .slider-header {
  margin-bottom: 12px;
  color: var(--ch-filter-muted);
  font-size: 11px;
  font-weight: 700;
}

body.type-category .ch-filter-shell .slider-content {
  margin: 17px 9px 10px !important;
}

body.type-category .ch-filter-shell .param-price-filter.ui-slider {
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: #eadfd3;
}

body.type-category .ch-filter-shell .param-price-filter .ui-slider-range {
  background: var(--ch-filter-brown);
}

body.type-category .ch-filter-shell .param-price-filter .ui-slider-handle {
  width: 20px;
  height: 20px;
  top: -8px;
  margin-left: -10px;
  border: 3px solid var(--ch-filter-brown);
  border-radius: 50%;
  background: #fff;
  cursor: grab;
}

body.type-category .ch-filter-shell .filter-section h4 {
  display: none !important;
}

body.type-category .ch-filter-shell .param-filter-top,
body.type-category .ch-filter-shell .advanced-filters-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 14px;
}

body.type-category .ch-filter-shell .filter-label {
  width: auto !important;
  min-height: 37px;
  margin: 0 !important;
  padding: 7px 4px 7px 28px !important;
  position: relative;
  float: none !important;
  display: flex !important;
  align-items: center;
  color: var(--ch-filter-ink);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  cursor: pointer;
}

body.type-category .ch-filter-shell .filter-label input {
  width: 17px;
  height: 17px;
  position: absolute;
  left: 3px;
  top: 50%;
  margin: 0;
  accent-color: var(--ch-filter-orange);
  transform: translateY(-50%);
}

body.type-category .ch-filter-shell .filter-count {
  min-width: 20px;
  margin-left: auto;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--ch-filter-muted);
  background: var(--ch-filter-cream);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

body.type-category .ch-filter-shell .filter-label.disabled {
  opacity: .4;
  cursor: not-allowed;
}

body.type-category .ch-filter-shell .filter-section-boolean .filter-label:has(#stock) {
  display: none !important;
}

body.type-category .ch-filter-shell .filter-label.ch-filter-option-hidden,
body.type-category .ch-filter-shell .filter-label.ch-filter-option-empty {
  display: none !important;
}

body.type-category .ch-filter-shell .filter-section-boolean .param-filter-top,
body.type-category .ch-filter-shell .filter-section-boolean .advanced-filters-wrapper {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px 16px !important;
}

body.type-category .ch-filter-shell .ch-collections-enhanced .param-filter-top {
  display: none !important;
}

body.type-category .ch-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.type-category .ch-collection-option {
  min-height: 58px;
  padding: 11px 12px;
  border: 1px solid var(--ch-filter-line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: var(--ch-filter-ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

body.type-category .ch-collection-option:hover,
body.type-category .ch-collection-option.is-active {
  border-color: var(--ch-filter-orange);
  background: var(--ch-filter-cream);
}

body.type-category .ch-collection-option__check {
  width: 18px;
  height: 18px;
  border: 2px solid #b9aa99;
  border-radius: 5px;
  background: #fff;
}

body.type-category .ch-collection-option.is-active .ch-collection-option__check {
  border-color: var(--ch-filter-orange);
  background: var(--ch-filter-orange);
  box-shadow: inset 0 0 0 4px #fff;
}

body.type-category .ch-collection-option__count {
  min-width: 25px;
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--ch-filter-muted);
  background: var(--ch-filter-cream);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

body.type-category .ch-filter-shell .filter-section-boolean .param-filter-top > div,
body.type-category .ch-filter-shell .filter-section-boolean .param-filter-top > div > div {
  display: contents !important;
}

body.type-category .ch-filter-shell .filter-section-boolean .param-filter-top > div > div > div {
  min-height: 54px;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid var(--ch-filter-line);
  border-radius: 12px;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  background: #fff;
  line-height: 1.25;
}

body.type-category .ch-filter-shell .filter-section-boolean .param-filter-top > div > div > div:hover {
  border-color: var(--ch-filter-orange);
  background: var(--ch-filter-cream);
}

body.type-category .ch-filter-shell .filter-section-boolean .filter-label {
  width: auto !important;
  min-width: 0;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  display: block !important;
  float: none !important;
  background: transparent;
  line-height: 1.3;
}

body.type-category .ch-filter-shell .filter-section-boolean .param-filter-top > div > div > div:has(.ch-filter-option-hidden),
body.type-category .ch-filter-shell .filter-section-boolean .param-filter-top > div > div > div:has(.ch-filter-option-empty),
body.type-category .ch-filter-shell .filter-section-boolean .filter-label.ch-filter-option-hidden,
body.type-category .ch-filter-shell .filter-section-boolean .filter-label.ch-filter-option-empty {
  display: none !important;
}

body.type-category .ch-brand-search {
  width: 100%;
  height: 43px;
  margin: 0 0 13px;
  padding: 0 14px;
  border: 1px solid var(--ch-filter-line);
  border-radius: 10px;
  color: var(--ch-filter-ink);
  background: #fff;
  font: inherit;
  font-size: 12px;
  outline: 0;
}

body.type-category .ch-brand-search:focus {
  border-color: var(--ch-filter-orange);
  box-shadow: 0 0 0 3px rgba(217, 128, 26, .13);
}

body.type-category .ch-cocoa-range {
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid var(--ch-filter-line);
  border-radius: 12px;
  background: var(--ch-filter-cream);
}

body.type-category .ch-filter-shell .ch-cocoa-enhanced .param-filter-top,
body.type-category .ch-filter-shell .ch-cocoa-enhanced .advanced-filters-wrapper {
  display: none !important;
}

body.type-category .ch-filter-shell .ch-cocoa-enhanced > :not(.ch-mobile-section-toggle):not(.ch-filter-panel-title):not(.ch-cocoa-range) {
  display: none !important;
}

body.type-category .ch-filter-shell .ch-cocoa-native-hidden {
  display: none !important;
}

body.type-category .ch-cocoa-range__head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ch-filter-muted);
  font-size: 10px;
  font-weight: 750;
}

body.type-category .ch-cocoa-range__value {
  color: var(--ch-filter-ink);
  font-size: 12px;
  font-weight: 900;
}

body.type-category .ch-cocoa-range__slider {
  height: 25px;
  position: relative;
}

body.type-category .ch-cocoa-range__slider::before,
body.type-category .ch-cocoa-range__slider::after {
  content: "";
  height: 5px;
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  border-radius: 999px;
  z-index: 0;
}

body.type-category .ch-cocoa-range__slider::before {
  background: #e2d6c9;
}

body.type-category .ch-cocoa-range__slider::after {
  left: var(--ch-cocoa-left, 0%);
  right: calc(100% - var(--ch-cocoa-right, 100%));
  background: var(--ch-filter-brown);
}

body.type-category .ch-cocoa-range__slider input[type="range"] {
  width: 100%;
  height: 25px;
  position: absolute;
  inset: 0;
  margin: 0;
  appearance: none;
  pointer-events: none;
  background: transparent;
  z-index: 2;
}

body.type-category .ch-cocoa-range__slider input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--ch-filter-orange);
  box-shadow: 0 0 0 2px var(--ch-filter-brown), 0 2px 7px rgba(50, 27, 13, .22);
  pointer-events: auto;
  cursor: grab;
}

body.type-category .ch-cocoa-range__slider input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--ch-filter-orange);
  box-shadow: 0 0 0 2px var(--ch-filter-brown), 0 2px 7px rgba(50, 27, 13, .22);
  pointer-events: auto;
  cursor: grab;
}

body.type-category .ch-cocoa-presets {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

body.type-category .ch-cocoa-preset {
  min-height: 34px;
  padding: 5px 7px;
  border: 1px solid var(--ch-filter-line);
  border-radius: 8px;
  color: var(--ch-filter-ink);
  background: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

body.type-category .ch-cocoa-preset:hover,
body.type-category .ch-cocoa-preset.is-active {
  border-color: var(--ch-filter-brown);
  color: #fff;
  background: var(--ch-filter-brown);
}

body.type-category .ch-cocoa-exact-label {
  margin: 0 0 7px;
  color: var(--ch-filter-muted);
  font-size: 10px;
  font-weight: 800;
}

body.type-category .filter-section-parametric-id-41 > .ch-cocoa-exact-label,
body.type-category .filter-section-parametric-id-41 > .filter-label {
  display: none !important;
}

body.type-category .filter-section-parametric-id-41 > .ch-cocoa-exact-label,
body.type-category .filter-section-parametric-id-41 > .filter-label {
  display: none !important;
}

body.type-category .ch-filter-trigger:hover,
body.type-category .ch-mobile-filter-trigger:hover {
  border-color: #d1ad83;
  background: var(--ch-filter-cream);
}

body.type-category .ch-filter-trigger:focus-visible,
body.type-category .ch-stock-toggle:focus-visible,
body.type-category .ch-active-chip:focus-visible,
body.type-category .ch-filter-clear:focus-visible,
body.type-category .ch-mobile-filter-trigger:focus-visible,
body.type-category .ch-cocoa-preset:focus-visible {
  outline: 3px solid rgba(217, 128, 26, .28);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  body.type-category .ch-filter-shell {
    margin: 17px 0 22px;
  }

  body.type-category .ch-filter-toolbar {
    gap: 8px;
  }

  body.type-category .ch-filter-controls,
  body.type-category .ch-filter-summary {
    display: none;
  }

  body.type-category .ch-mobile-filter-trigger {
    min-height: 46px;
    padding: 0 18px 0 45px;
    position: relative;
    display: block;
    flex: 1 1 0;
    color: #fff;
    background: var(--ch-filter-brown);
    font-size: 12px;
    font-weight: 900;
    text-align: left;
  }

  body.type-category .ch-mobile-filter-trigger::before {
    content: "☷";
    position: absolute;
    left: 17px;
    top: 50%;
    font-size: 19px;
    transform: translateY(-52%) rotate(90deg);
  }

  body.type-category .ch-mobile-filter-trigger__count {
    margin-left: 4px;
  }

  body.type-category .ch-filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 10015;
    display: none;
    background: rgba(50, 27, 13, .35);
  }

  body.type-category .ch-filter-shell.is-drawer-open .ch-filter-drawer {
    display: flex;
    align-items: flex-end;
  }

  body.ch-filter-lock {
    overflow: hidden !important;
  }

  body.type-category .ch-filter-shell .ch-filter-drawer__inner {
    width: 100%;
    max-height: 92dvh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -15px 45px rgba(50, 27, 13, .18);
  }

  body.type-category .ch-filter-drawer__head {
    min-height: 68px;
    padding: 19px 55px 14px 20px;
    position: relative;
    display: block;
    border-bottom: 1px solid var(--ch-filter-line);
    color: var(--ch-filter-ink);
    font-size: 17px;
    font-weight: 900;
  }

  body.type-category .ch-filter-drawer__head::before {
    content: "";
    width: 46px;
    height: 4px;
    position: absolute;
    left: 50%;
    top: 7px;
    border-radius: 999px;
    background: #d8cec5;
    transform: translateX(-50%);
  }

  body.type-category .ch-filter-drawer__close {
    width: 42px;
    height: 42px;
    position: absolute;
    right: 8px;
    bottom: 6px;
    border: 0;
    border-radius: 50%;
    color: var(--ch-filter-ink);
    background: transparent;
    font: inherit;
    font-size: 26px;
    cursor: pointer;
  }

  body.type-category .ch-filter-drawer__scroll {
    min-height: 0;
    padding: 15px 16px 105px;
    overflow: auto;
  }

  body.type-category .ch-filter-drawer__availability {
    margin-bottom: 13px;
    display: block;
  }

  body.type-category .ch-filter-drawer__availability .ch-stock-toggle {
    width: 100%;
  }

  body.type-category .ch-filter-shell #filters-wrapper {
    display: block !important;
  }

  body.type-category .ch-filter-shell .filters,
  body.type-category .ch-filter-shell.is-panel-open .filters {
    width: 100%;
    max-height: none;
    padding: 0 !important;
    position: static !important;
    display: block !important;
    overflow: visible;
    border: 1px solid var(--ch-filter-line);
    border-radius: 13px;
    box-shadow: none;
  }

  body.type-category .ch-filter-shell .slider-wrapper,
  body.type-category .ch-filter-shell .filter-section,
  body.type-category .ch-filter-shell .slider-wrapper.ch-panel-open,
  body.type-category .ch-filter-shell .filter-section.ch-panel-open {
    display: block !important;
  }

  body.type-category .ch-filter-panel-title,
  body.type-category .ch-filter-panel-close {
    display: none !important;
  }

  body.type-category .ch-mobile-section-toggle {
    width: 100%;
    min-height: 53px;
    padding: 0 47px 0 16px;
    position: relative;
    display: block;
    border: 0;
    border-bottom: 1px solid var(--ch-filter-line);
    color: var(--ch-filter-ink);
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
  }

  body.type-category .ch-mobile-section-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    right: 19px;
    top: 50%;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
  }

  body.type-category .ch-mobile-expanded > .ch-mobile-section-toggle::after {
    transform: translateY(-20%) rotate(225deg);
  }

  body.type-category .ch-filter-shell .slider-wrapper > *:not(.ch-mobile-section-toggle),
  body.type-category .ch-filter-shell .filter-section > *:not(.ch-mobile-section-toggle) {
    display: none !important;
  }

  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded > *:not(.ch-mobile-section-toggle),
  body.type-category .ch-filter-shell .filter-section.ch-mobile-expanded > *:not(.ch-mobile-section-toggle) {
    display: block !important;
  }

  /* The generic expanded-state rule above must not reveal Shoptet's
     technical price values or the native duplicate section heading. */
  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded > h4,
  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded > .no-display,
  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded > #currencyExchangeRate,
  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded > #categoryMinValue,
  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded > #categoryMaxValue {
    display: none !important;
  }

  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded .slider-header,
  body.type-category .ch-filter-shell .filter-section.ch-mobile-expanded .param-filter-top,
  body.type-category .ch-filter-shell .filter-section.ch-mobile-expanded .advanced-filters-wrapper {
    display: grid !important;
  }

  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded .slider-header {
    width: 100%;
    margin: 2px 0 18px !important;
    padding: 0 3px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--ch-filter-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
  }

  body.type-category .ch-filter-shell .slider-wrapper .slider-header .from,
  body.type-category .ch-filter-shell .slider-wrapper .slider-header .to {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    inset: auto !important;
    float: none !important;
    display: inline-flex !important;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
    transform: none !important;
  }

  body.type-category .ch-filter-shell .slider-wrapper .slider-header .to {
    margin-left: auto !important;
    text-align: right;
  }

  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded .slider-content {
    width: auto !important;
    margin: 0 8px 8px !important;
    padding: 4px 0 5px;
  }

  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded .param-price-filter.ui-slider {
    height: 5px;
    margin: 0;
  }

  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded .param-price-filter .ui-slider-handle {
    width: 22px;
    height: 22px;
    top: -9px;
    margin-left: -11px;
    touch-action: none;
  }

  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded,
  body.type-category .ch-filter-shell .filter-section.ch-mobile-expanded {
    padding: 0 14px 15px !important;
  }

  body.type-category .ch-filter-shell .slider-wrapper.ch-mobile-expanded > .ch-mobile-section-toggle,
  body.type-category .ch-filter-shell .filter-section.ch-mobile-expanded > .ch-mobile-section-toggle {
    margin: 0 -14px 14px;
    width: calc(100% + 28px);
  }

  body.type-category .ch-filter-shell .filter-section-count,
  body.type-category .ch-filter-shell .filter-section-boolean {
    display: none !important;
  }

  body.type-category .ch-filter-shell .param-filter-top,
  body.type-category .ch-filter-shell .advanced-filters-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.type-category .ch-filter-shell .filter-label {
    min-height: 41px;
    font-size: 11px;
  }

  body.type-category .ch-filter-shell .filter-count {
    padding: 2px 5px;
  }

  body.type-category .ch-cocoa-range {
    margin: 0 0 14px;
    padding: 13px 10px;
  }

  body.type-category .ch-cocoa-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.type-category .ch-filter-drawer__chips {
    min-height: 38px;
    padding: 13px 0 3px;
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
  }

  body.type-category .ch-filter-drawer__footer {
    min-height: 82px;
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 9px;
    border-top: 1px solid var(--ch-filter-line);
    background: #fff;
    box-shadow: 0 -10px 22px rgba(50, 27, 13, .06);
  }

  body.type-category .ch-filter-drawer__clear,
  body.type-category .ch-filter-drawer__apply {
    min-height: 50px;
    border-radius: 11px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
  }

  body.type-category .ch-filter-drawer__clear {
    border: 1px solid var(--ch-filter-line);
    color: var(--ch-filter-ink);
    background: #fff;
  }

  body.type-category .ch-filter-drawer__apply {
    border: 1px solid var(--ch-filter-brown);
    color: #fff;
    background: var(--ch-filter-brown);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body.type-category .ch-stock-toggle {
    min-width: 210px;
  }

  body.type-category .ch-filter-trigger {
    min-width: 100px;
  }

  body.type-category .ch-filter-controls {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.type-category .ch-filter-shell *,
  body.type-category .ch-filter-shell *::before,
  body.type-category .ch-filter-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Keep native cocoa checkboxes as the data source only; the range UI is the sole visible control. */
body.type-category .ch-filter-shell .ch-filter-section.ch-cocoa-enhanced > .ch-cocoa-native-hidden {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
