/* The kinds of property to search among: one button that says what is chosen, and a menu under it. */
#property-filters { position: relative; display: flex; align-items: center; min-width: 0; padding: 9px 20px; }
#property-filters[hidden], .category-tabs[hidden] { display: none; }
.pf-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid #0b2733;
  background: #0b2733;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.pf-trigger span { overflow: hidden; text-overflow: ellipsis; }
.pf-trigger::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.pf-trigger[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.pf-trigger:hover { background: #12384a; }
.pf-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: 20px;
  z-index: 40;
  width: min(430px, calc(100vw - 20px));
  max-height: min(560px, calc(100vh - 150px));
  overflow: auto;
  padding: 14px 16px 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgb(6 46 66 / 26%), 0 0 0 1px rgb(6 46 66 / 9%);
}
.pf-panel[hidden] { display: none; }
.pf-panel button {
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid #c9d5db;
  background: #fff;
  color: #14303b;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-panel button:hover { border-color: #046c9c; }
.pf-panel button[aria-pressed="true"] { border-color: #046c9c; background: #046c9c; color: #fff; }
.pf-panel button:disabled { border-color: #e6ecef; background: #f3f6f7; color: #a3b1b8; cursor: default; }
.pf-panel .pf-all { width: 100%; font-weight: 750; }
.pf-panel .pf-section { margin: 16px 0 8px; font-size: 14.5px; font-weight: 750; letter-spacing: -.03em; }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.pf-panel button:focus-visible { outline: 2px solid #5fd3ff; outline-offset: 1px; }
@media (max-width: 620px) {
  #property-filters { padding: 5px 10px; }
  .pf-panel { left: 10px; padding: 12px; }
  .pf-panel button { font-size: 13px; }
}
/* Under a finger the choices are taller, and the button that opens them too. */
@media (pointer: coarse) {
  .pf-trigger { min-height: 40px; }
  .pf-panel button { min-height: 44px; }
}
