.property-search__form input[type="radio"],
.property-search__form input[type="checkbox"],
.property-search__form-inner input[type="radio"],
.property-search__form-inner input[type="checkbox"] {
  appearance: auto;
}

.property-search--module {
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

.property-search__form-inner {
  display: grid;
  gap: 12px;
}

.ps-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.property-search__form input[type="text"],
.property-search__form input[type="number"],
.property-search__form-inner input[type="text"],
.property-search__form-inner input[type="number"] {
  width: 100%;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.property-search .filter-group,
.property-search--module .filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.property-search .filter-pill,
.property-search--module .filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #f7f7f7;
  font-size: 13px;
  cursor: pointer;
}

.property-search .filter-pill input,
.property-search--module .filter-pill input {
  margin: 0;
}

.property-search .filter-pill input:checked + span,
.property-search--module .filter-pill input:checked + span {
  font-weight: 600;
}

.property-search .filter-pill input:checked ~ span,
.property-search--module .filter-pill input:checked ~ span {
  color: #0073aa;
}

.property-search .filter-pill input:checked ~ *,
.property-search--module .filter-pill input:checked ~ * {
  color: #222;
}

.property-search .filter-pill input:checked:not(:focus-visible) + span,
.property-search .filter-pill input:checked:not(:focus-visible),
.property-search--module .filter-pill input:checked:not(:focus-visible) + span,
.property-search--module .filter-pill input:checked:not(:focus-visible) {
  outline: none;
}

.property-search .filter-pill input:checked,
.property-search--module .filter-pill input:checked {
  accent-color: #0073aa;
  background: transparent;
}

.property-search .filter-pill:has(input:checked),
.property-search--module .filter-pill:has(input:checked) {
  border-color: #0073aa;
  background: #e8f3fa;
}

.property-search .filter-pill.is-hidden,
.property-search--module .filter-pill.is-hidden {
  display: none;
}

.property-search .filter-pill .count,
.property-search--module .filter-pill .count {
  font-size: 12px;
  color: #555;
  margin-left: 4px;
}

.property-search .city-groups,
.property-search--module .city-groups {
  display: grid;
  gap: 12px;
}

.property-search .city-group,
.property-search--module .city-group {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 8px;
  background: #fafafa;
}

.property-search .city-group__title,
.property-search--module .city-group__title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 14px;
}

.property-search .city-group.is-hidden,
.property-search--module .city-group.is-hidden {
  display: none;
}

.property-search .city-block,
.property-search--module .city-block {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  max-height: 800px;
  opacity: 1;
  margin-top: 0;
}

.property-search .city-block.is-collapsed,
.property-search--module .city-block.is-collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: -8px;
}

.property-search .filters-row,
.property-search--module .filters-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.property-search .filters-row.two-cols,
.property-search--module .filters-row.two-cols {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.property-search .el_select_box,
.property-search .el_select_box_wrap select,
.property-search--module .el_select_box,
.property-search--module .el_select_box_wrap select {
  width: 100%;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
