/* Filtres de la page liste + carte : alignés sur la ligne du bouton « List View / Vue carte ». */
.sfp-colonne {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  width: auto;
  max-width: none;
}

.wpresidence_half_map_filter_wrapper .sfp-colonne + div,
.wpresidence_half_map_filter_wrapper .sfp-colonne + div + div {
  flex: 0 0 auto;
  width: auto;
}

.sfp-filtres {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
}

.sfp-champ {
  position: relative;
}

.sfp-champ.sfp-inutile {
  display: none;
}

/* Libellé lu par les lecteurs d'écran, la première option sert d'intitulé visible. */
.sfp-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sfp-select {
  appearance: none;
  -webkit-appearance: none;
  height: 40px;
  min-width: 140px;
  max-width: 220px;
  padding: 0 34px 0 14px;
  border: 1px solid #e3d7e5;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a2a4f' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #2b2b2b;
  font-size: 14px;
  line-height: 40px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sfp-select:hover {
  border-color: #9a4092;
}

.sfp-select:focus-visible {
  outline: 2px solid #9a4092;
  outline-offset: 2px;
}

.sfp-effacer {
  height: 40px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: #9a4092;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}

.sfp-effacer[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .sfp-filtres {
    width: 100%;
  }

  .sfp-champ {
    flex: 1 1 calc(50% - 8px);
  }

  .sfp-select {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}
