/* Catalogue filters: independent of the legacy coloured utility blocks. */
.store-catalog #attributes_insert {
  padding: 0 16px;
  border: 1px solid #dce6ef;
  border-radius: 12px;
  background: #fff;
  color: #263e52;
  max-height: calc(100vh - var(--header-height) - 24px);
  scrollbar-width: thin;
  scrollbar-color: #c9d8e4 transparent;
  overscroll-behavior: contain;
}
.store-catalog #attributes_insert::-webkit-scrollbar { width: 5px; }
.store-catalog #attributes_insert::-webkit-scrollbar-track { background: transparent; }
.store-catalog #attributes_insert::-webkit-scrollbar-thumb { border: 0; border-radius: 8px; background: #c9d8e4; box-shadow: none; }
.store-filter-overview { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; border-bottom: 1px solid #e6edf3; }
.store-filter-overview h2 { margin: 0; color: #172b3e; font-family: inherit; font-size: 1rem; font-weight: 650; line-height: 1.4; letter-spacing: 0; }
.store-filter-clear, .store-filter-range-reset { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 0; border: 0; border-radius: 4px; background: transparent; color: #2a70b0; font: inherit; font-size: .76rem; font-weight: 500; cursor: pointer; }
.store-filter-clear:hover, .store-filter-range-reset:hover { color: #174d7e; text-decoration: underline; }
.store-filter-group { border-bottom: 1px solid #e6edf3; }
.store-filter-group:last-child { border-bottom: 0; }
.store-filter-group-title { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 15px 0; color: #263e52; font-family: inherit; font-size: 1rem; font-weight: 550; line-height: 1.35; letter-spacing: 0; list-style: none; cursor: pointer; }
.store-filter-group-title::-webkit-details-marker { display: none; }
.store-filter-group-title::marker { content: ''; }
.store-filter-group-title > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.store-filter-group-title::after { content: ''; flex: 0 0 7px; width: 7px; height: 7px; margin: 0 3px 0 5px; border-right: 1.5px solid #7d94a7; border-bottom: 1.5px solid #7d94a7; transform: rotate(-45deg); }
.store-filter-group[open] > .store-filter-group-title::after { transform: rotate(45deg) translateY(-2px); }
.store-filter-group-title:hover { color: #2a70b0; }
.store-filter-group-title:focus-visible { outline: 2px solid #79b5e8; outline-offset: 2px; border-radius: 5px; }
.store-filter-selected-count { display: inline-flex; min-width: 20px; min-height: 20px; align-items: center; justify-content: center; padding: 1px 5px; border-radius: 5px; background: #eaf3fb; color: #245e8d; font-size: .7rem; font-weight: 650; line-height: 1.4; font-variant-numeric: tabular-nums; }
.store-filter-group-content { padding: 0 0 15px; }
.store-filter-option-wrap { min-width: 0; }
.store-filter-option { display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 7px 6px; border-radius: 6px; color: #425b70; font-size: .84rem; font-weight: 400; line-height: 1.35; cursor: pointer; }
.store-filter-option:hover { background: #f4f8fb; }
.store-filter-option.is-selected { background: #f0f6fb; color: #1e527d; }
.store-filter-option.is-disabled { color: #8c9caa; cursor: not-allowed; }
.store-filter-option.is-disabled:hover { background: transparent; }
.store-filter-option input[type="checkbox"] { flex: 0 0 17px; display: block; position: static; width: 17px; height: 17px; margin: 0; padding: 0; opacity: 1; appearance: auto; -webkit-appearance: checkbox; accent-color: #2a70b0; cursor: inherit; }
.store-filter-option-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.store-filter-option-count { margin-left: auto; color: #8798a6; font-size: .72rem; font-variant-numeric: tabular-nums; }
.store-filter-children { margin: 2px 0 5px 14px; padding-left: 9px; border-left: 1px solid #e3ebf2; }
.store-filter-structural-group { margin: 8px 0; }
.store-filter-structural-title { margin: 0 0 5px; color: #61768a; font-size: .78rem; font-weight: 600; line-height: 1.4; }
.store-filter-range { padding: 2px 7px 0; }
.store-filter-range-values { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.store-filter-range-values output { min-width: 0; padding: 7px 9px; border: 1px solid #e0e8ef; border-radius: 7px; background: #f9fbfd; color: #415e74; font-size: .8rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.store-filter-range-reset { margin-top: 14px; }
.store-filter-range-reset[hidden] { display: none; }
.store-filter-slider.noUi-target { height: 5px; margin: 4px 0 15px; border: 0; border-radius: 4px; background: #e5edf4; box-shadow: none; }
.store-filter-slider .noUi-connect { background: #2a70b0; }
.store-filter-slider.noUi-horizontal .noUi-handle { top: -7px; right: -9px; width: 19px; height: 19px; border: 2px solid #2a70b0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(23,43,62,.1); cursor: grab; }
.store-filter-slider .noUi-handle::before, .store-filter-slider .noUi-handle::after { display: none; }
.store-filter-slider .noUi-handle:focus-visible { outline: 3px solid #a7cce9; outline-offset: 3px; }
.store-filter-slider .noUi-handle:active { cursor: grabbing; }
.store-active-filters[hidden] { display: none !important; }
.store-active-filters { padding: 14px 16px; border: 1px solid #dce6ef; border-radius: 10px; background: #fff; }
.store-active-filters-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.store-active-filters-heading > span { color: #526b80; font-size: .76rem; font-weight: 600; line-height: 1.4; }
.store-active-filters-clear { flex-shrink: 0; min-height: 32px; padding: 5px 0 5px 8px; border: 0; border-radius: 5px; background: transparent; color: #21649e; font: inherit; font-size: .75rem; font-weight: 600; cursor: pointer; }
.store-active-filters-clear:hover { color: #174d7e; text-decoration: underline; text-underline-offset: 3px; }
.store-active-filter-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.store-active-filter-list > li { min-width: 0; max-width: 100%; margin: 0; padding: 0; }
.store-filter-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; max-width: 100%; padding: 7px 10px; border: 1px solid #cbdfee; border-radius: 7px; background: #eff6fc; color: #245b88; font: inherit; font-size: .76rem; line-height: 1.4; text-align: left; cursor: pointer; }
.store-filter-chip > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.store-filter-chip-close { flex: 0 0 18px; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; background: #e0edf8; color: #39739f; font-size: 1rem; line-height: 1; }
.store-filter-chip:hover { border-color: #94bddc; background: #e3f0fa; color: #174d7e; }
.store-filter-chip:focus-visible, .store-active-filters-clear:focus-visible { outline: 3px solid #8db9dd; outline-offset: 3px; }
@media (max-width: 800px) {
  .store-catalog #attributes_insert { max-height: none; padding: 0 18px; overscroll-behavior: auto; }
  .store-filter-overview { min-height: 60px; }
  .store-filter-option { min-height: 40px; }
  .store-filter-group-title { min-height: 54px; }
  .store-active-filters { padding: 12px; }
  .store-filter-chip { min-height: 40px; }
  .store-active-filters-clear { min-height: 40px; }
}
