/* KONTENERS RC10.21.42 — visual skin for the existing TrustDeal filter set 2992.
   Only presentation: never override JS-driven [hidden], aria-expanded, filtering, URL or result counts.
   This SCSS intentionally uses plain CSS syntax so source and published CSS can be
   compared without depending on a preprocessor during isolated hotfix verification. */
.konteners-filters-shell {
  --kf-ink: #0b2b5f;
  --kf-text: #2d4776;
  --kf-muted: #61779a;
  --kf-bg: #f4f8ff;
  --kf-border: #dbe5f3;
  --kf-hover: #e9f2ff;
  --kf-focus: #2e67ba;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  /* External column spacing belongs to Divi, not the KONTENERS skin. */
  display: block;
  margin: 0;
  padding: 0;
  font-family: inherit;
  color: var(--kf-text);
  container-type: inline-size;
}
.konteners-filters-shell *,
.konteners-filters-shell *::before,
.konteners-filters-shell *::after { box-sizing: border-box; }

/* Keep the mobile drawer's own visibility and placement rules under TrustDeal control. */
.konteners-filters-shell > form.td-filters[data-td-filter-set="2992"] {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 21px 18px 19px;
  background: var(--kf-bg);
  border: 1px solid var(--kf-border);
  border-radius: 4px;
  color: var(--kf-text);
  box-shadow: none;
}
.konteners-filters-shell .td-filters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
  margin: 0 0 15px;
  padding: 0;
  background: transparent;
  border: 0;
}
.konteners-filters-shell .td-filters__heading {
  display: block;
  margin: 0;
  padding: 0;
  font: inherit;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -.025em;
  color: var(--kf-ink);
}
.konteners-filters-shell .td-filters__clear:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 0;
  margin: 0;
  min-height: 28px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--kf-ink);
  cursor: pointer;
}
.konteners-filters-shell .td-filters__clear[hidden],
.konteners-filters-shell .td-filters__active-count[hidden],
.konteners-filters-shell .td-filters__count[hidden],
.konteners-filters-shell .td-filters__group-content[hidden],
.konteners-filters-shell .td-filters__mobile-clear[hidden],
.konteners-filters-shell .td-filters__results-cta[hidden] { display: none !important; }

/* Native fieldset/legend/button: preserve semantics, toggle listeners and the ARIA contract. */
.konteners-filters-shell .td-filters__group {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0 0 11px;
  border: 0;
  border-bottom: 1px solid var(--kf-border);
  border-radius: 0;
  background: transparent;
}
.konteners-filters-shell .td-filters__group + .td-filters__group { padding-top: 8px; }
.konteners-filters-shell .td-filters__group:last-of-type { border-bottom: 0; padding-bottom: 0; }
.konteners-filters-shell .td-filters__title {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
  border: 0;
  font: inherit;
}
.konteners-filters-shell .td-filters__group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  box-shadow: none;
  color: var(--kf-ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.konteners-filters-shell .td-filters__group-toggle:hover { color: #164a94; }
.konteners-filters-shell .td-filters__group-name {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  flex: 1 1 auto;
}
.konteners-filters-shell .td-filters__group-label { min-width: 0; overflow-wrap: anywhere; }
.konteners-filters-shell .td-filters__active-count:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  min-height: 18px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--kf-hover);
  color: var(--kf-ink);
  font-size: 11px;
  line-height: 1.2;
}
.konteners-filters-shell .td-filters__group-chevron {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0 0 0 10px;
  flex: 0 0 17px;
  color: var(--kf-ink);
  /* TrustDeal owns the current orientation; do not add a second rotation. */
}
.konteners-filters-shell .td-filters__group-content:not([hidden]) {
  min-width: 0;
  margin: 0;
  padding: 0 0 10px;
  color: var(--kf-text);
}
.konteners-filters-shell .td-filters__options,
.konteners-filters-shell .td-filters__category-list {
  min-width: 0;
  padding: 0;
  margin: 0;
}
.konteners-filters-shell .td-filters__option {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 33px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 3px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--kf-text);
  cursor: pointer;
}
.konteners-filters-shell .td-filters__option:hover { background: var(--kf-hover); }
.konteners-filters-shell .td-filters__option:has(input:checked) {
  background: #eaf2ff;
  color: var(--kf-ink);
  font-weight: 600;
}
.konteners-filters-shell .td-filters__option > input[type="checkbox"] {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 0;
  padding: 0;
  border: 1px solid #9aaccc;
  border-radius: 3px;
  background: white;
  box-shadow: none;
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: var(--kf-ink);
  cursor: pointer;
}
.konteners-filters-shell .td-filters__option > span:not(.td-filters__count) {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}
.konteners-filters-shell .td-filters__count:not([hidden]) {
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 6px;
  color: var(--kf-muted);
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 500;
}
.konteners-filters-shell .td-filters__group-toggle:focus-visible,
.konteners-filters-shell .td-filters__clear:focus-visible,
.konteners-filters-shell .td-filters__option:focus-within,
.konteners-filters-shell .td-filters__mobile-toggle:focus-visible,
.konteners-filters-shell .td-filters__mobile-apply:focus-visible,
.konteners-filters-shell .td-filters__results-cta-button:focus-visible {
  outline: 2px solid var(--kf-focus);
  outline-offset: 2px;
}
/* The existing TD mobile controls stay owned by TD; only visual tokens are shared. */
.konteners-filters-shell > .td-filters__mobile-toggle {
  color: var(--kf-ink);
  border-color: var(--kf-border);
  font-family: inherit;
}

@container (max-width: 240px) {
  .konteners-filters-shell > form.td-filters[data-td-filter-set="2992"] { padding: 18px 12px 16px; }
  .konteners-filters-shell .td-filters__header { gap: 4px 8px; }
  .konteners-filters-shell .td-filters__heading { font-size: 16px; }
  .konteners-filters-shell .td-filters__group-toggle { font-size: 13px; }
  .konteners-filters-shell .td-filters__option { font-size: 12.5px; }
}
