/*======================================
  Filterleiste: native Selects/Checkboxen
  (Ersatz für Selectric)
======================================*/
.filter-select-wrapper {
  position: relative;
  margin: 0 8px 15px 8px;
}

.filter-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
  background: #000000;
  padding: 0 40px 0 17px;
  height: 38px;
  line-height: 38px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffffff;
  cursor: pointer;
}

.filter-select::-ms-expand {
  display: none;
}

.filter-select-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 14px;
  bottom: 0;
  margin: auto;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #ffffff;
  border-bottom: none;
  pointer-events: none;
}

.filter-select-wrapper:hover::after {
  border-top-color: #d7d7d7;
}

.filter-select:focus {
  outline: 2px solid #e6007e;
  outline-offset: -2px;
}

/* Mehrfachauswahl "Besondere Attribute" als details/summary + Checkboxen */
.filter-multiselect {
  position: relative;
  margin: 0 8px 15px 8px;
}

.filter-multiselect > summary {
  display: block;
  list-style: none;
  background: #000000;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  height: 38px;
  line-height: 38px;
  padding: 0 40px 0 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  position: relative;
}

.filter-multiselect > summary::-webkit-details-marker {
  display: none;
}

.filter-multiselect > summary::after {
  content: "";
  position: absolute;
  top: 0;
  right: 14px;
  bottom: 0;
  margin: auto;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #ffffff;
  border-bottom: none;
}

.filter-multiselect:hover > summary::after {
  border-top-color: #d7d7d7;
}

.filter-multiselect > summary:focus {
  outline: 2px solid #e6007e;
  outline-offset: -2px;
}

.filter-multiselect[open] > summary {
  background: #f0f0f0;
  color: #000000;
}

.filter-multiselect[open] > summary::after {
  border-top-color: #000000;
}

.filter-multiselect-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: #f0f0f0;
  padding: 8px 17px 8px 17px;
}

.filter-multiselect-panel label {
  display: block;
  padding: 6px 0;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 26px;
  color: #000000;
  cursor: pointer;
}

.filter-multiselect-panel label:first-child {
  border-top: 1px solid #8d8d8d;
  padding-top: 10px;
}

.filter-multiselect-panel label input {
  margin-right: 8px;
}

.filter-multiselect-panel label:hover,
.filter-multiselect-panel label.is-checked {
  color: #e6007e;
}

.filter-multiselect-panel input:focus-visible {
  outline: 2px solid #e6007e;
}
