@import url("/controls.css?v=20261005-mobile-polish-1");
/* Buying Buddy listing results: a warm dark frame around the live MLS controls. */
#MBBv3_ListingResults {
  color: var(--wsh-text);
}
#MBBv3_ListingResults .wsh-account-control .showNavIcon { display: none !important; }
#MBBv3_ListingResults .wsh-account-control :is(.showUserIcon, span) { display: inline-block !important; }
#MBBv3_ListingResults [data-field="photo-count-section"][hidden] { display: none !important; }

#MBBv3_ListingResults,
#MBBv3_ListingResults .bbw-outer-container,
#MBBv3_ListingResults .bbw-outer-container-layout,
#MBBv3_ListingResults .results-widget-container,
#MBBv3_ListingResults .results-widget-container-layout,
#MBBv3_ListingResults .results-container,
#MBBv3_ListingResults .results-container-layout,
#MBBv3_ListingResults .results-map-container,
#MBBv3_ListingResults .results-map-container-layout,
#MBBv3_ListingResults .results-list-container,
#MBBv3_ListingResults .results-list-container-layout,
#MBBv3_ListingResults .gallery-container { background: var(--wsh-panel) !important; }

#MBBv3_ListingResults .results-header-container,
#MBBv3_ListingResults .results-header-container-layout,
#MBBv3_ListingResults mbb-results-header {
  background: var(--wsh-panel) !important;
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults .results-header-container-layout {
  border-bottom: 1px solid #ffffff20;
}
#MBBv3_ListingResults .results-header-container::before,
#MBBv3_ListingResults .results-list-header-container::before {
  background: var(--wsh-panel) !important;
}
#MBBv3_ListingResults .bfg-header-row-1 { padding-bottom: 0 !important; margin-bottom: 0 !important; }
/* The account/alerts controls live inside this nested row, not directly in row-1. */
#MBBv3_ListingResults .bfg-header-row-1 > .bfg-no-account:not(.bfg-hidden):not(.d-none):not([hidden]):not([style*="display: none"]):not([style*="display:none"]) {
  display: grid !important;
  grid-template-columns: var(--wsh-account-columns, repeat(2, max-content));
  justify-content: start;
  align-items: stretch;
  gap: var(--wsh-control-gap);
}
#MBBv3_ListingResults .bfg-header-row-1 :is(.menubuttonwrapper, .savesearchwrapper) { min-width: 0; margin: 0 !important; }
#MBBv3_ListingResults .menubuttonwrapper > .dropdown { height: 100%; }
/* A collapsed form was still a zero-height flex row and consumed row spacing. */
#MBBv3_ListingResults .bfg-header-row-search:has(> .mbb-search-collapsed) { display: none; }
#MBBv3_ListingResults mbb-results-header > .mbb-header-menu { row-gap: 12px; }

#MBBv3_ListingResults .bfg-header-row-1 .btn,
#MBBv3_ListingResults .bfg-header-row-search .form-control,
#MBBv3_ListingResults .bfg-header-row-search .btn {
  min-height: 44px !important;
  border: 1px solid var(--wsh-line) !important;
  border-radius: 8px !important;
  background: var(--wsh-field) !important;
  color: var(--wsh-text) !important;
  box-shadow: none !important;
  font-size: .9rem !important;
}
#MBBv3_ListingResults .bfg-header-row-search .form-control::placeholder {
  color: #c2beb2 !important;
  opacity: 1;
}
#MBBv3_ListingResults #mbb-primary-search .form-control {
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults .bfg-header-row-search input.mbb-input-location::placeholder,
/* The current toolbar shows the chosen area as placeholder text; keep it readable. */
#MBBv3_ListingResults #mbb-primary-search input.mbb-input-location::placeholder {
  color: #c2beb2 !important;
  -webkit-text-fill-color: #c2beb2 !important;
  opacity: 1;
}
#MBBv3_ListingResults .bfg-header-row-search select { color-scheme: dark; }
#MBBv3_ListingResults .bfg-header-row-search select option {
  background: var(--wsh-field);
  color: var(--wsh-text);
}
#MBBv3_ListingResults .bfg-header-row-search .SearchNearby .btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px 0 0 8px !important;
  border-right: 0 !important;
  color: var(--wsh-gold) !important;
}
#MBBv3_ListingResults .bfg-header-row-search .SearchNearby .btn i {
  margin: 0 !important;
  vertical-align: baseline !important;
}
#MBBv3_ListingResults .bfg-header-row-search .mbb-input-location {
  border-radius: 0 8px 8px 0 !important;
}
/* One joined field, including its location icon and keyboard focus ring. */
#MBBv3_ListingResults .SearchByTextWrapper > .input-group {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  border: 1px solid var(--wsh-line) !important;
  border-radius: 8px;
  background: var(--wsh-field);
}
#MBBv3_ListingResults .SearchByTextWrapper > .input-group:focus-within {
  border-color: var(--wsh-gold) !important;
  outline: none;
  box-shadow: var(--wsh-focus-shadow);
}
#MBBv3_ListingResults .SearchByTextWrapper { min-width: 0 !important; max-width: 100% !important; }
#MBBv3_ListingResults .SearchByTextWrapper .mbb-input-wrap { min-width: 0 !important; flex: 1 1 0 !important; }
#MBBv3_ListingResults .SearchByTextWrapper .SearchNearby > .btn { min-width: 44px !important; flex-shrink: 0; }
#MBBv3_ListingResults .SearchByTextWrapper :is(.mbb-input-location, .SearchNearby .btn) {
  min-height: 42px !important;
  height: 42px !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}
#MBBv3_ListingResults .SearchByTextWrapper .mbb-input-location {
  padding-right: 12px !important;
}
#MBBv3_ListingResults .bfg-header-row-search .SearchByTextWrapper .mbb-input-location:focus-visible {
  outline: none !important;
}
#MBBv3_ListingResults .SearchByTextWrapper .SelectedLocations {
  border: 0 !important;
}
#MBBv3_ListingResults .bfg-header-row-search .bfg-submit-search {
  border-color: #cfb56b !important;
  background: var(--wsh-gold) !important;
  color: #211e14 !important;
  font-weight: var(--wsh-font-weight-bold) !important;
}
#MBBv3_ListingResults .bfg-header-row-search .bfg-submit-search:hover {
  background: #ead598 !important;
}
#MBBv3_ListingResults .bfg-header-row-1 .savesearchwrapper .btn-label-icon {
  border-radius: 8px 0 0 8px;
  background: transparent !important;
  color: var(--wsh-gold) !important;
}
#MBBv3_ListingResults .bfg-header-row-1 .savesearchwrapper .btn {
  background: var(--wsh-field) !important;
  color: var(--wsh-text) !important;
  font-weight: var(--wsh-font-weight-normal) !important;
}
#MBBv3_ListingResults .bfg-header-row-1 .savesearchwrapper .btn:hover {
  border-color: var(--wsh-gold) !important;
  background: #363023 !important;
}
#MBBv3_ListingResults .bfg-header-row-1 .menubuttonwrapper .btn:hover,
#MBBv3_ListingResults .bfg-header-row-search .btn:not(.bfg-submit-search):hover,
#MBBv3_ListingResults .bfg-header-row-search .form-control:hover {
  border-color: #a69567 !important;
  background: #363023 !important;
}
#MBBv3_ListingResults .bfg-header-row-1 .btn:focus-visible,
#MBBv3_ListingResults .bfg-header-row-search .btn:focus-visible,
#MBBv3_ListingResults .results-list-header-container :is(button,bb-toggle-button,[tabindex]):focus-visible,
#MBBv3_ListingResults .bfg-prop :is(button,a,[tabindex]):focus-visible {
  outline: 2px solid var(--wsh-gold) !important;
  outline-offset: 2px !important;
}

/* The provider positions selected places over the search field with inline styles. */
#MBBv3_ListingResults .SearchByTextWrapper .SelectedLocations:not([hidden]):not([style*="display: none"]):not([style*="display:none"]) {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  border: 1px solid var(--wsh-line);
  border-radius: 0 8px 8px 0;
  background: var(--wsh-field) !important;
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults .SearchByTextWrapper .SelectedLocations label {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem;
  min-height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--wsh-text) !important;
  font-size: 14px !important;
  line-height: 21px !important;
  cursor: pointer;
}
#MBBv3_ListingResults#MBBv3_ListingResults .SearchByTextWrapper .SelectedLocations .mbb-checkmark {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 16px;
  width: 16px !important;
  height: 16px !important;
  border-color: var(--wsh-gold) !important;
  background: var(--wsh-gold) !important;
}
#MBBv3_ListingResults .SearchByTextWrapper .SelectedLocations .checkbox-label {
  color: var(--wsh-text) !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
#MBBv3_ListingResults .SearchByTextWrapper .SelectedLocations .super-script {
  position: static !important;
  display: inline !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  vertical-align: baseline !important;
  text-transform: capitalize;
}
#MBBv3_ListingResults .search-criteria-wrap .bfg-criteria-badge,
#MBBv3_ListingResults .search-criteria-wrap .badge {
  border: 1px solid #86764f !important;
  border-radius: 999px !important;
  background: #363023 !important;
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults .search-criteria-wrap .bfg-criteria-badge {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  gap: 8px;
  min-height: 34px;
  margin: 8px 8px 0 0 !important;
  padding: 5px 12px !important;
  vertical-align: middle;
  font-size: 14px !important;
  line-height: 21px !important;
}
#MBBv3_ListingResults#MBBv3_ListingResults .search-criteria-wrap .bfg-criteria-badge .bfg-criteria-label {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 0 !important;
  color: var(--wsh-text) !important;
  font-size: 14px !important;
  line-height: 21px !important;
}
#MBBv3_ListingResults#MBBv3_ListingResults .search-criteria-wrap .bfg-criteria-badge .bfg-criteria-checkbox {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  min-height: 21px;
  margin: 0 !important;
  padding: 0 0 0 8px !important;
  border-left: 1px solid #86764f;
  color: var(--wsh-text) !important;
  font-size: 14px !important;
  line-height: 21px !important;
}
#MBBv3_ListingResults .search-criteria-wrap .bfg-criteria-checkbox i {
  margin: 0 !important;
  color: var(--wsh-gold) !important;
  font-size: 16px !important;
  line-height: 21px !important;
}
#MBBv3_ListingResults .MoreFiltersWrapper .badge {
  border: 1px solid #cbb16b !important;
  background: #363023 !important;
  color: #f3ead1 !important;
}

#MBBv3_ListingResults .results-header-container .dropdown-menu,
#MBBv3_ListingResults .results-list-header-container .dropdown-menu {
  border: 1px solid #676149 !important;
  border-radius: 8px !important;
  background: #171513 !important;
  color: var(--wsh-text) !important;
  box-shadow: 0 18px 36px #0008 !important;
}
#MBBv3_ListingResults .results-header-container .dropdown-item,
#MBBv3_ListingResults .results-list-header-container .dropdown-item {
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults .results-header-container .dropdown-item:hover,
#MBBv3_ListingResults .results-header-container .dropdown-item:focus,
#MBBv3_ListingResults .results-list-header-container .dropdown-item:hover,
#MBBv3_ListingResults .results-list-header-container .dropdown-item:focus {
  background: #363023 !important;
  color: #f4df9b !important;
}

#MBBv3_ListingResults .results-list-header-container,
#MBBv3_ListingResults .results-list-header-container-layout,
#MBBv3_ListingResults .results-list-header-container .btn-toolbar,
#MBBv3_ListingResults mbb-filter {
  background: var(--wsh-panel) !important;
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults .results-list-header-container {
  margin-bottom: 0 !important;
  border-bottom: 1px solid #ffffff20;
}
#MBBv3_ListingResults .bfg-map-prop-count { color: var(--wsh-text) !important; font-size: 16px !important; font-variant-numeric: tabular-nums; line-height: 1.4; }
#MBBv3_ListingResults :is(#sortDropdown, .sorticon, [data-action="toggleSearchForm"], [data-action="toggleMap"]) {
  min-height: var(--wsh-control-height) !important;
  border-radius: var(--wsh-control-radius) !important;
  padding: 8px 10px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}
#MBBv3_ListingResults .sorticon { min-width: var(--wsh-control-height); text-align: center; }
/* Center the active label without exposing the provider's inactive state slot. */
#MBBv3_ListingResults [data-action="toggleSearchForm"]:not(.d-none):not(.bfg-hidden):not([hidden]):not([style*="display: none"]):not([style*="display:none"]) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
#MBBv3_ListingResults [data-action="toggleSearchForm"] state { line-height: 1.4; }
#MBBv3_ListingResults [data-action="toggleSearchForm"] .fa-kit { vertical-align: middle !important; line-height: 1 !important; }
/* Map zoom and draw controls keep native buttons and grouped edge geometry. */
#MBBv3_ListingResults .maplibregl-ctrl-group button {
  width: var(--wsh-control-height) !important;
  height: var(--wsh-control-height) !important;
  background-color: var(--wsh-field) !important;
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults .maplibregl-ctrl-group button .maplibregl-ctrl-icon { color: var(--wsh-text); }
#MBBv3_ListingResults :is(.map-fs-btn, .map-exit-fs-btn, [data-action="toggleMapFullscreen"]) {
  box-sizing: border-box;
  min-height: var(--wsh-control-height) !important;
  padding: 8px 10px !important;
  line-height: 1.4 !important;
  align-items: center;
  justify-content: center;
}
#MBBv3_ListingResults [sortdirection]:not(.disabled):not([disabled]):not([aria-disabled="true"]) i[selected] { color: var(--wsh-text) !important; opacity: 1; }
#MBBv3_ListingResults [sortdirection]:is(.disabled, [disabled], [aria-disabled="true"]) { opacity: .45; cursor: not-allowed; }
#MBBv3_ListingResults .bfg-header-row-5 { min-width: 0; }
#MBBv3_ListingResults .bfg-header-row-5 [sort] { align-items: center; gap: 4px; }

#MBBv3_ListingResults .results-list-header-container :is(.btn-map-control,#sortDropdown,.sorticon) {
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults #sortDropdown,
#MBBv3_ListingResults .sorticon { color: var(--wsh-text) !important; }
#MBBv3_ListingResults .results-list-header-container .btn-map-control {
  border: 1px solid var(--wsh-line) !important;
  border-radius: var(--wsh-control-radius) !important;
  background: #24211c !important;
}
#MBBv3_ListingResults .results-list-header-container .btn-map-control:hover,
#MBBv3_ListingResults .results-list-header-container :is(#sortDropdown,.sorticon):hover {
  color: var(--wsh-gold) !important;
}
#MBBv3_ListingResults [data-action="toggleSearchForm"],
#MBBv3_ListingResults [data-action="toggleMap"] {
  border: 1px solid var(--wsh-line) !important;
  border-radius: var(--wsh-control-radius) !important;
  background: #24211c !important;
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults [data-action="toggleSearchForm"]:hover,
#MBBv3_ListingResults [data-action="toggleMap"]:hover {
  border-color: #a69567 !important;
  color: var(--wsh-gold) !important;
}

#MBBv3_ListingResults .gallery-container-layout { gap: 16px !important; }
#MBBv3_ListingResults .bfg-prop {
  overflow: hidden;
  border: 1px solid #ffffff24 !important;
  border-radius: 9px !important;
  background: #24211c !important;
  color: var(--wsh-text) !important;
  box-shadow: 0 10px 28px #0003 !important;
}
#MBBv3_ListingResults .bfg-prop:hover,
#MBBv3_ListingResults .bfg-prop:focus-within {
  border-color: #d7b65a80 !important;
}
#MBBv3_ListingResults .bfg-prop__price { color: var(--wsh-text) !important; }
#MBBv3_ListingResults .bfg-prop__address1,
#MBBv3_ListingResults .bfg-prop__features { color: #e7e3d8 !important; }
#MBBv3_ListingResults .bfg-prop__feature [data-field="feature-value"] { color: #e7e3d8 !important; }
#MBBv3_ListingResults .bfg-prop__address2,
#MBBv3_ListingResults .bfg-prop__meta,
#MBBv3_ListingResults .bfg-prop__mls,
#MBBv3_ListingResults .bfg-prop__office { color: var(--wsh-muted) !important; }
#MBBv3_ListingResults .bfg-prop__meta { border-color: #ffffff20 !important; }
#MBBv3_ListingResults .bfg-prop__address1,
#MBBv3_ListingResults .bfg-prop__address2,
#MBBv3_ListingResults .bfg-prop__mls,
#MBBv3_ListingResults .bfg-prop__office { opacity: 1 !important; }
#MBBv3_ListingResults .bfg-prop__save button,
#MBBv3_ListingResults .bfg-prop__more a {
  border: 1px solid #86764f !important;
  border-radius: var(--wsh-control-radius) !important;
  background: #363023 !important;
  color: #f3ead1 !important;
}
#MBBv3_ListingResults .bfg-prop__save button:hover,
#MBBv3_ListingResults .bfg-prop__more a:hover {
  background: #514a30 !important;
}

/* Keep the map within the viewport and scroll listings inside the results panel. */
#MBBv3_ListingResults .results-widget-container {
  /* Stable viewport: Safari's collapsing browser bars must not grow the map. */
  height: clamp(480px, calc(100svh - 136px), 800px) !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding-bottom: 0 !important;
}
#MBBv3_ListingResults .results-widget-container-layout {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  height: 100% !important;
  min-height: 0 !important;
}
#MBBv3_ListingResults .results-header-container {
  position: relative !important;
  flex: 0 0 auto !important;
}
#MBBv3_ListingResults .results-container-layout {
  grid-row: 2 !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
#MBBv3_ListingResults .results-map-container {
  position: relative !important;
  top: 0 !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
}
#MBBv3_ListingResults .results-list-container {
  flex-direction: column !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding-bottom: 0 !important;
}
#MBBv3_ListingResults .results-list-container:not([style*="display: none"]):not([style*="display:none"]) {
  display: flex !important;
}
#MBBv3_ListingResults .results-list-container-layout {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
#MBBv3_ListingResults .results-list-header-container {
  position: relative !important;
  top: 0 !important;
  flex: 0 0 auto !important;
}
#MBBv3_ListingResults .gallery-container {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0px !important;
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  contain: layout;
}
#MBBv3_ListingResults .gallery-container-layout {
  flex: none !important;
  height: auto !important;
  overflow: visible !important;
}
#MBBv3_ListingResults .bfg-cta-banner-wrap {
  flex: 0 0 auto !important;
  margin: 8px 0 0 !important;
}
#MBBv3_ListingResults .bfg-cta-banner {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 54px !important;
  padding: 8px 12px !important;
  background: #24211c !important;
  color: var(--wsh-text) !important;
}
#MBBv3_ListingResults .bfg-cta-banner i {
  margin: 0 !important;
  font-size: 24px !important;
  line-height: 1 !important;
}
#MBBv3_ListingResults .bfg-cta-banner > div:not(.btn) {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}
#MBBv3_ListingResults .bfg-cta-banner .btn {
  flex: none !important;
  margin: 0 0 0 auto !important;
  padding: 7px 12px !important;
  border-radius: var(--wsh-control-radius) !important;
  background: transparent !important;
  border: 1px solid var(--wsh-line) !important;
  color: var(--wsh-text) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

@media (max-width: 575px) {
  #MBBv3_ListingResults .results-widget-container-layout {
    display: flex !important;
    flex-direction: column !important;
  }
  /* Let the document scroll the cards on phones; keep the desktop map/list split. */
  #MBBv3_ListingResults:has(.results-list-container:not([style*="display: none"]):not([style*="display:none"])) :is(.results-widget-container, .results-widget-container-layout,
    .results-container-layout, .results-list-container, .results-list-container-layout, .gallery-container) {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    flex: none !important;
  }
  #MBBv3_ListingResults .bfg-cta-banner { flex-wrap: wrap !important; }
}

@media (max-width: 600px) {
  #MBBv3_ListingResults .gallery-container-layout { gap: 12px !important; }
  #MBBv3_ListingResults .bfg-header-row-1 .btn { white-space: normal !important; }
}

/* Property type options render in a separate shadow root attached to the page. */
#MBBv3_PropertyTypeMenuWrapper .dropdown-menu {
  border: 1px solid #676149 !important;
  border-radius: 8px !important;
  background: #171513 !important;
  color: #f8f4ea !important;
  box-shadow: 0 18px 36px #0008 !important;
}
#MBBv3_PropertyTypeMenuWrapper .menu-close { color: #d7b65a !important; }
#MBBv3_PropertyTypeMenuWrapper label { color: #f8f4ea !important; }
#MBBv3_PropertyTypeMenuWrapper label:hover { color: #f4df9b !important; }
#MBBv3_PropertyTypeMenuWrapper .mbb-checkmark {
  border: 1px solid #777052 !important;
  background: #24211c !important;
}
#MBBv3_PropertyTypeMenuWrapper input:checked + .mbb-checkmark {
  border-color: #d7b65a !important;
  background: #d7b65a !important;
}
#MBBv3_PropertyTypeMenuWrapper input:not(:checked) + .mbb-checkmark::after { display: none !important; }
#MBBv3_PropertyTypeMenuWrapper input:checked + .mbb-checkmark::after {
  display: block !important;
  border-right-color: #211e14 !important;
  border-bottom-color: #211e14 !important;
}
#MBBv3_PropertyTypeMenuWrapper label:focus-within { outline: none; border-radius: var(--wsh-control-radius); box-shadow: var(--wsh-focus-shadow); }

/* Native options retain their inputs and handlers; only the menu reflows. */
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .dropdown-menu.show {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 16px !important;
  padding: 12px !important;
  max-height: min(480px, 45dvh);
  overflow: auto;
}
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .dropdown-menu > div {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
}
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .menu-close.wsh-close-control {
  grid-column: 1 / -1;
  justify-self: end;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  flex: 0 0 44px !important;
}
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper label.mbb-checkbox-container {
  display: flex !important;
  align-items: center;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 8px 8px 8px 34px !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .mbb-checkmark {
  top: calc(50% - 9px) !important;
  left: 8px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
}
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper label input[type="checkbox"] {
  position: absolute !important;
  top: calc(50% - 9px) !important;
  left: 8px !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  opacity: 0 !important;
  transform: none !important;
}
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper input:checked + .mbb-checkmark::after {
  left: 5px !important;
  top: 2px !important;
  width: 5px !important;
  height: 9px !important;
  border-width: 0 2px 2px 0 !important;
}
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper label:has(input:focus-visible) {
  outline: 2px solid #d7b65a !important;
  outline-offset: -2px;
  box-shadow: none !important;
}
@media (max-width: 767px) {
  #MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .dropdown-menu.show {
    position: fixed !important;
    top: auto !important;
    bottom: 16px !important;
    left: 16px !important;
    right: 16px !important;
    width: calc(100vw - 32px) !important;
    max-width: none !important;
    margin: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px !important;
  }
}
@media (max-width: 359px) {
  #MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .dropdown-menu.show { grid-template-columns: minmax(0, 1fr); }
}

/* Audit reflow: let account/alert copy set the height at zoomed phone widths. */
#MBBv3_ListingResults .bfg-header-row-1 :is(.menubuttonwrapper, .savesearchwrapper) .btn {
  box-sizing: border-box;
  height: 100% !important;
  min-height: var(--wsh-control-height) !important;
  max-height: none !important;
  padding: var(--wsh-control-padding) !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  align-items: center;
  justify-content: center;
  gap: var(--wsh-control-gap);
}
#MBBv3_ListingResults .savesearchwrapper .btn-label-icon { position: static !important; flex: none; width: auto !important; height: auto !important; padding: 0 !important; }
#MBBv3_ListingResults .bfg-header-row-1 :is(.menubuttonwrapper, .savesearchwrapper) .btn:not(.bfg-hidden):not(.d-none):not([hidden]):not([style*="display: none"]):not([style*="display:none"]) { display: inline-flex !important; }
#MBBv3_ListingResults :is(bb-toggle-button, .map-fs-btn, .map-exit-fs-btn):focus-visible {
  outline: 2px solid var(--wsh-gold) !important;
  outline-offset: 2px;
  box-shadow: var(--wsh-focus-shadow) !important;
}
@media (max-width: 600px) {
  #MBBv3_ListingResults .bfg-header-row-1 { width: 100%; }
  #MBBv3_ListingResults .bfg-header-row-1 > .bfg-no-account {
    --wsh-account-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  #MBBv3_ListingResults .bfg-header-row-1 :is(.menubuttonwrapper, .savesearchwrapper) { min-width: 0 !important; margin: 0 !important; }
  #MBBv3_ListingResults .bfg-header-row-1 :is(.menubuttonwrapper, .savesearchwrapper) .btn { width: 100% !important; }
  #MBBv3_ListingResults :is(.mbb-primary-search, #mbb-primary-search) { min-width: 0 !important; }
  #MBBv3_ListingResults .SearchByTextWrapper { width: 100% !important; flex: 1 1 100% !important; }
}

/* Street and locality remain distinct lines regardless of address length. */
#MBBv3_ListingResults .bfg-prop__address { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 2px; }
#MBBv3_ListingResults :is(.bfg-prop__address1, .bfg-prop__address2) { display: block !important; min-width: 0; white-space: normal !important; }
/* The street and city sit on separate lines; drop the provider's joining comma. */
#MBBv3_ListingResults .bfg-prop__address1::after { content: none !important; }

@media (max-width: 359px) {
  #MBBv3_ListingResults .bfg-header-row-1 > .bfg-no-account { --wsh-account-columns: minmax(0, 1fr); }
}
#MBBv3_ListingResults .savesearchwrapper .wsh-control-icon,
#MBBv3_ListingResults .bfg-cta-banner > .wsh-control-icon { color: var(--wsh-gold); }

/* Approved results design. All content and controls below are live provider
   nodes; this class is applied only once the native search form is present. */
#MBBv3_ListingResults.wsh-refined-results {
  --wsh-line: #5b5142;
  --wsh-result-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c8c0b3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  --wsh-result-chevron-open: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23d7b65a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 10 4-4 4 4'/%3E%3C/svg%3E");
  background: transparent !important;
}
#MBBv3_ListingResults.wsh-refined-results :is(.bbw-outer-container, .bbw-outer-container-layout,
  .results-widget-container, .results-widget-container-layout, .results-header-container,
  .results-header-container-layout, .results-container, .results-container-layout,
  .results-list-container, .results-list-container-layout, .gallery-container, .gallery-container-layout,
  .results-list-header-container, .results-list-header-container-layout, mbb-results-header, mbb-filter) {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
#MBBv3_ListingResults.wsh-refined-results :is(.results-widget-container, .results-widget-container-layout,
  .results-container-layout, .results-list-container, .results-list-container-layout, .gallery-container) {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  contain: none !important;
}
#MBBv3_ListingResults.wsh-refined-results .results-widget-container-layout { display: block !important; }
#MBBv3_ListingResults.wsh-refined-results .results-header-container-layout { border: 0 !important; }
#MBBv3_ListingResults.wsh-refined-results mbb-results-header > .mbb-header-menu {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px !important;
}
#MBBv3_ListingResults.wsh-refined-results mbb-results-header > .mbb-header-menu > .bfg-header-row-1 { justify-self: end; width: auto !important; margin-left: auto !important; margin-right: 0 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-header-row-1 > .bfg-no-account:not(.bfg-hidden):not(.d-none):not([hidden]):not([style*="display: none"]):not([style*="display:none"]) {
  /* Keep the visible grid and its narrow-width column policy; never expose a native hidden row. */
  display: grid !important;
  gap: 8px;
  width: auto;
}
#MBBv3_ListingResults.wsh-refined-results .bfg-header-row-1 .btn {
  border: 0 !important;
  background: transparent !important;
  padding: 8px 10px !important;
  font-size: 13px !important;
}
#MBBv3_ListingResults.wsh-refined-results .bfg-header-row-1 :is(.wsh-account-control .showUserIcon, .savesearchwrapper .wsh-control-icon) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px;
  margin: 0 !important;
  line-height: 1 !important;
}
#MBBv3_ListingResults.wsh-refined-results .wsh-account-control .showUserIcon { font-size: 20px !important; }
#MBBv3_ListingResults.wsh-refined-results .wsh-account-control > span { margin: 0 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-header-row-search {
  width: 100% !important;
  padding: 18px 20px 16px !important;
  border: 1px solid #494237aa;
  border-radius: 14px;
  background: var(--wsh-panel) !important;
}
#MBBv3_ListingResults.wsh-refined-results :is(.mbb-form-search, .mbb-form-search-wrap) {
  margin: 0 !important;
  padding: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results #mbb-primary-search {
  display: grid !important;
  grid-template-columns: minmax(200px, 1.8fr) minmax(128px, .85fr) repeat(2, minmax(128px, .65fr)) minmax(170px, .9fr) auto auto;
  gap: 10px !important;
  align-items: end;
  margin: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results #mbb-primary-search > :is(.SearchByTextWrapper, .SelectPriceWrapper,
  .BedsWrapper, .BathsWrapper, .PropertyTypeWrapper, .MoreFiltersWrapper, .SearchButtonWrapper) {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results .wsh-results-label {
  display: block;
  color: var(--wsh-muted) !important;
  font-size: 11px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  margin: 0 0 5px 2px !important;
}
#MBBv3_ListingResults.wsh-refined-results .bfg-header-row-search :is(.form-control, .btn) {
  box-sizing: border-box;
  min-height: 44px !important;
  height: 44px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  border-radius: 8px !important;
}
/* Draw the joined field border over its full-height native controls instead of adding 2px. */
#MBBv3_ListingResults.wsh-refined-results .SearchByTextWrapper > .input-group {
  position: relative;
  box-sizing: border-box;
  min-height: 44px;
  height: 44px;
  border: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results .SearchByTextWrapper > .input-group::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid var(--wsh-line);
  border-radius: inherit;
  pointer-events: none;
}
#MBBv3_ListingResults.wsh-refined-results .SearchByTextWrapper > .input-group:focus-within::after { border-color: var(--wsh-gold); }
#MBBv3_ListingResults.wsh-refined-results .SearchByTextWrapper :is(.mbb-input-location, .SearchNearby .btn) {
  min-height: 44px !important;
  height: 44px !important;
}
#MBBv3_ListingResults.wsh-refined-results :is(select.form-control, .wsh-select-trigger, .bfg-input-price-field, .btn-prop-type, #sortDropdown) {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: var(--wsh-result-chevron) !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  background-position: right 13px center !important;
  padding: 10px 40px 10px 12px !important;
  text-align: left !important;
  color-scheme: dark;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#MBBv3_ListingResults.wsh-refined-results :is(.bfg-input-price-field, .btn-prop-type, #sortDropdown)::after { content: none !important; }
#MBBv3_ListingResults.wsh-refined-results :is(.wsh-select-trigger, .bfg-input-price-field, .btn-prop-type, #sortDropdown)[aria-expanded="true"],
#MBBv3_ListingResults.wsh-refined-results select:open {
  background-image: var(--wsh-result-chevron-open) !important;
  border-color: var(--wsh-gold) !important;
  background-color: #d7b65a14 !important;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-input-location { font-size: 14px !important; }
#MBBv3_ListingResults.wsh-refined-results #mbb-primary-search > .MoreFiltersWrapper > .badge {
  position: static !important;
  transform: none !important;
  inset: auto !important;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 5px 2px !important;
  padding: 0 5px !important;
  min-height: 16px;
  font-size: 10px !important;
  line-height: 16px !important;
}
#MBBv3_ListingResults.wsh-refined-results .SearchButtonWrapper .btn { padding: 10px 12px !important; }
#MBBv3_ListingResults.wsh-refined-results .search-criteria-wrap {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px !important;
}
#MBBv3_ListingResults.wsh-refined-results .search-criteria-wrap .bfg-criteria-badge {
  min-height: 30px;
  margin: 0 !important;
  background: #d7b65a15 !important;
  border-color: #d7b65a55 !important;
  font-size: 12px !important;
  line-height: 18px !important;
}
#MBBv3_ListingResults.wsh-refined-results .search-criteria-wrap :is(.bfg-criteria-label, .bfg-criteria-checkbox) {
  font-size: 12px !important;
  line-height: 18px !important;
}
#MBBv3_ListingResults.wsh-refined-results .results-header-container-layout-sm { display: none !important; }

/* The original filter toolbar stays in its original ancestor/lifecycle. It is
   positioned above both columns without moving or cloning provider elements. */
#MBBv3_ListingResults.wsh-refined-results .results-container-layout {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
  gap: 20px !important;
  align-items: start;
  margin-top: 18px !important;
  padding-top: calc(var(--wsh-results-toolbar-height, 60px) + 14px) !important;
}
#MBBv3_ListingResults.wsh-refined-results :is(.results-list-container, .results-list-container-layout) {
  position: static !important;
  width: 100% !important;
}
#MBBv3_ListingResults.wsh-refined-results .results-list-container {
  display: block !important;
  grid-column: 1;
  grid-row: 1;
}
#MBBv3_ListingResults.wsh-refined-results .results-list-container-layout { display: block !important; }
#MBBv3_ListingResults.wsh-refined-results .results-list-header-container {
  position: absolute !important;
  inset: 0 0 auto !important;
  width: 100% !important;
  border: 0 !important;
  z-index: 3;
}
#MBBv3_ListingResults.wsh-refined-results .results-list-header-container-layout { display: contents !important; }
#MBBv3_ListingResults.wsh-refined-results :is(.results-header-container, .results-list-header-container)::before { background: transparent !important; }
#MBBv3_ListingResults.wsh-refined-results .results-list-header-container .mbb-header-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap;
  gap: 12px !important;
  padding: 0 !important;
  background: transparent !important;
}
#MBBv3_ListingResults.wsh-refined-results .results-list-header-container .mbb-header-menu > :is(.bfg-header-row-2, .bfg-header-row-3, .bfg-header-row-5) {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  margin: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results .results-list-header-container .mbb-header-menu > .bfg-header-row-2 { order: -2 !important; margin-right: auto !important; }
#MBBv3_ListingResults.wsh-refined-results .results-list-header-container .mbb-header-menu > .bfg-header-row-5 { order: -1 !important; }
#MBBv3_ListingResults.wsh-refined-results .results-list-header-container:has(.wsh-results-views) [data-action="toggleMap"] { display: none !important; }
#MBBv3_ListingResults.wsh-refined-results #sortDropdown,
#MBBv3_ListingResults.wsh-refined-results #sortDropdown:is(:hover, :focus, :active) {
  min-height: 44px !important;
  border: 1px solid var(--wsh-line) !important;
  border-radius: 8px !important;
  background-color: var(--wsh-field) !important;
  font-size: 13px !important;
  line-height: 20px !important;
  white-space: nowrap;
  text-decoration: none !important;
}
#MBBv3_ListingResults.wsh-refined-results .sorticon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px !important;
  flex-shrink: 0;
  padding: 8px !important;
  border-radius: 8px;
  cursor: pointer;
}
#MBBv3_ListingResults.wsh-refined-results .maplibregl-ctrl-attrib-button {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center;
  padding: 6px;
  box-sizing: border-box;
}
#MBBv3_ListingResults.wsh-refined-results .maplibregl-ctrl-attrib-button:focus-visible {
  outline: 2px solid var(--wsh-gold) !important;
  outline-offset: 2px;
}
/* Keep every native credit readable inside the map, including the 44px
   disclosure button and the separate navigation corner. */
#MBBv3_ListingResults.wsh-refined-results .mbb-maplibre-container {
  container-type: inline-size;
}
#MBBv3_ListingResults.wsh-refined-results .maplibregl-ctrl-attrib-inner {
  box-sizing: border-box;
  max-width: min(320px, calc(100cqw - 80px)) !important;
  max-height: min(calc(var(--mbb-attrib-max-h, 190px) - 26px), 190px) !important;
}
#MBBv3_ListingResults.wsh-refined-results .wsh-results-views {
  display: inline-flex;
  position: relative;
  isolation: isolate;
  gap: 2px;
  border: 1px solid var(--wsh-line);
  border-radius: 999px;
  padding: 3px;
}
#MBBv3_ListingResults.wsh-refined-results .wsh-results-views button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wsh-muted);
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
}
#MBBv3_ListingResults.wsh-refined-results .wsh-results-views button[aria-pressed="true"] { color: var(--wsh-gold); background: transparent; }
#MBBv3_ListingResults.wsh-refined-results .wsh-results-views button[hidden] { display: none !important; }
#MBBv3_ListingResults.wsh-refined-results .wsh-results-views svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#MBBv3_ListingResults.wsh-refined-results .wsh-results-view-wash {
  position: absolute;
  top: 3px;
  left: 0;
  height: 44px;
  border-radius: 999px;
  background: #d7b65a20;
  opacity: 1;
  pointer-events: none;
  transition: transform 180ms ease, width 180ms ease, opacity 120ms ease;
}
#MBBv3_ListingResults.wsh-refined-results .wsh-hover .wsh-results-view-wash { background: #d7b65a26; }
#MBBv3_ListingResults.wsh-refined-results .results-map-container {
  --wsh-results-map-top: max(20px, calc(var(--wsh-results-nav-height, 0px) + 12px));
  grid-column: 2;
  grid-row: 1;
  position: sticky !important;
  top: var(--wsh-results-map-top) !important;
  width: 100% !important;
  height: min(640px, calc(100svh - var(--wsh-results-map-top) - 20px)) !important;
  border: 1px solid var(--wsh-line);
  border-radius: 14px;
  overflow: hidden;
}
#MBBv3_ListingResults.wsh-refined-results :is(.results-map-container-layout, mbb-map, .mbb-maplibre-container) { height: 100% !important; width: 100% !important; }
/* Hide the provider's default regional map until the search's first pins load,
   and when nothing matches (it stays on an unrelated region). */
#MBBv3_ListingResults.wsh-refined-results:is([data-wsh-map-state="loading"], [data-wsh-map-state="empty"]) .results-map-container-layout { position: relative; }
#MBBv3_ListingResults.wsh-refined-results:is([data-wsh-map-state="loading"], [data-wsh-map-state="empty"]) .results-map-container-layout::after {
  content: "Loading map…"; position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  background: #171513; color: #c8c0b3; font-size: 15px; border-radius: inherit;
}
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-view="list"] .results-container-layout,
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-view="map"] .results-container-layout { grid-template-columns: minmax(0, 1fr); }
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-view="list"] .results-map-container { display: none !important; }
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-view="map"] .results-map-container { grid-column: 1; position: relative !important; top: 0 !important; }
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-view="map"] .results-list-container { height: 0 !important; }
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-view="map"] :is(.gallery-container, .gallery-footer) { display: none !important; }
#MBBv3_ListingResults.wsh-refined-results .gallery-container { display: block !important; }
#MBBv3_ListingResults.wsh-refined-results .gallery-container-layout {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-view="list"] .gallery-container-layout { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
#MBBv3_ListingResults.wsh-refined-results mbb-property-item { width: 100% !important; min-width: 0; margin: 0 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop.layout--gallery {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "media media" "price status" "address address" "features features" "meta meta" !important;
  gap: 0 !important;
  border: 1px solid #494237 !important;
  border-radius: 12px !important;
  background: var(--wsh-panel) !important;
  box-shadow: none !important;
}
#MBBv3_ListingResults.wsh-refined-results .bfg-prop.layout--gallery .bfg-prop__media { aspect-ratio: 3 / 2; height: auto !important; min-height: 0 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop.layout--gallery .bfg-prop-thumb { height: 100% !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop.layout--gallery :is(.bfg-prop__price, .bfg-prop__status) { margin: 0 !important; padding: 14px 15px 0 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop.layout--gallery .bfg-prop__price { font-size: 23px !important; line-height: 28px !important; font-weight: 700 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop.layout--gallery .bfg-prop__status { font-size: 11px !important; line-height: 28px !important; color: var(--wsh-muted) !important; opacity: 1 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop.layout--gallery :is(.bfg-prop__address, .bfg-prop__features) { padding: 10px 15px 0 !important; margin: 0 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop__address1 { font-size: 15px !important; line-height: 22px !important; font-weight: 600 !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop__address2 { font-size: 12px !important; line-height: 18px !important; color: var(--wsh-muted) !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop__features { display: flex !important; flex-wrap: wrap; gap: 8px 12px !important; font-size: 13px !important; line-height: 20px !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop__features .fa-kit { display: none !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-prop.layout--gallery .bfg-prop__meta { margin: 12px 15px 0 !important; padding: 10px 0 14px !important; border-top: 1px solid #494237 !important; font-size: 11px !important; line-height: 16px !important; }
#MBBv3_ListingResults.wsh-refined-results .bfg-media__heart {
  display: grid !important;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  margin: 10px !important;
  border: 1px solid #f8f4ea44;
  border-radius: 999px;
  background: #171513dd;
  color: var(--wsh-text);
  cursor: pointer;
}
#MBBv3_ListingResults.wsh-refined-results .bfg-media__count { margin: 10px !important; padding: 3px 6px !important; font-size: 11px !important; line-height: 16px !important; border-radius: 3px; background: #171513dd !important; }
#MBBv3_ListingResults.wsh-refined-results [data-field="photo-count"]::after { content: ' photos'; }
#MBBv3_ListingResults.wsh-refined-results .wsh-last-viewed-card { border-color: #d7b65a88 !important; }
#MBBv3_ListingResults.wsh-refined-results .wsh-last-viewed-card .bfg-prop__price { color: var(--wsh-gold) !important; }
#MBBv3_ListingResults.wsh-refined-results .wsh-last-viewed-marker {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 6px;
  background: #171513dd;
  color: var(--wsh-gold);
  font-size: 11px;
  line-height: 16px;
  border-radius: 3px;
}
#MBBv3_ListingResults.wsh-refined-results :is(button, [role="button"], .bfg-prop, select, input):focus-visible {
  outline: 2px solid var(--wsh-gold) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}
#MBBv3_ListingResults.wsh-refined-results .wsh-results-views button:hover { color: var(--wsh-text); }

@media (max-width: 1100px) {
  #MBBv3_ListingResults.wsh-refined-results #mbb-primary-search { grid-template-columns: minmax(200px, 1.6fr) repeat(2, minmax(110px, 1fr)); }
  #MBBv3_ListingResults.wsh-refined-results .results-container-layout { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }
  #MBBv3_ListingResults.wsh-refined-results .gallery-container-layout { grid-template-columns: minmax(0, 1fr) !important; }
  #MBBv3_ListingResults.wsh-refined-results[data-wsh-results-view="list"] .gallery-container-layout { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 767px) {
  #MBBv3_ListingResults.wsh-refined-results .bfg-header-row-search { padding: 16px 14px !important; }
  #MBBv3_ListingResults.wsh-refined-results #mbb-primary-search { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
  #MBBv3_ListingResults.wsh-refined-results #mbb-primary-search > .SearchByTextWrapper { grid-column: 1 / -1; }
  /* These same criteria are available in the original advanced-search dialog. */
  #MBBv3_ListingResults.wsh-refined-results #mbb-primary-search > :is(.BathsWrapper, .PropertyTypeWrapper) { display: none !important; }
  #MBBv3_ListingResults.wsh-refined-results .results-container-layout { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 0 !important; }
  #MBBv3_ListingResults.wsh-refined-results .results-list-header-container .mbb-header-menu { gap: 10px !important; }
  #MBBv3_ListingResults.wsh-refined-results .results-list-header-container .bfg-header-row-2 { flex: 1 1 auto; }
  #MBBv3_ListingResults.wsh-refined-results .results-list-header-container .bfg-header-row-3 { display: none !important; }
  #MBBv3_ListingResults.wsh-refined-results .wsh-results-views { width: 100%; }
  #MBBv3_ListingResults.wsh-refined-results .wsh-results-views button:not([hidden]) { flex: 1; }
  #MBBv3_ListingResults.wsh-refined-results :is(.gallery-container-layout, [data-wsh-results-view="list"] .gallery-container-layout) { grid-template-columns: minmax(0, 1fr) !important; }
  #MBBv3_ListingResults.wsh-refined-results .bfg-prop__address1 { font-size: 16px !important; }
  #MBBv3_ListingResults.wsh-refined-results .results-map-container { grid-column: 1; }
  #MBBv3_ListingResults.wsh-refined-results #sortDropdown { font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #MBBv3_ListingResults.wsh-refined-results .wsh-results-view-wash { transition: none; }
}

/* Keep the native full-screen lifecycle and its scrollable results pane. */
/* NLS form contract. The provider moves whole anchors into More as space runs
   out; keep those sections inline and keep its original inputs/events intact. */
#MBBv3_ListingResults.wsh-refined-results form#AdvancedSearchForm.mbb-nls-search {
  color: var(--wsh-text);
  margin: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-results-header { width: 100% !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-toolbar {
  gap: 10px !important;
  align-items: center !important;
  min-width: 0;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-search-bar {
  min-width: 200px;
  flex: 1 1 280px !important;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-toolbar-menurow {
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-filter-pill, .nls-menu-btn, .nls-save-btn, .nls-apply-btn, .nls-toggle-btn) {
  box-sizing: border-box;
  min-width: 44px !important;
  min-height: 44px !important;
  height: auto !important;
  border: 1px solid var(--wsh-line) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  background-color: var(--wsh-panel-raised, #24211b) !important;
  color: var(--wsh-text) !important;
  font: inherit !important;
  font-size: 14px !important;
  line-height: 22px !important;
  white-space: nowrap;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-menu-btn, .nls-save-btn) {
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-menu-wrap, .nls-save-wrap) { flex: 0 0 auto !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-filter-pill {
  background-image: var(--wsh-result-chevron) !important;
  background-position: right 12px center !important;
  background-repeat: no-repeat !important;
  background-size: 16px 16px !important;
  padding-right: 38px !important;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-pill-caret { display: none !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-filter-pill.open {
  background-image: var(--wsh-result-chevron-open) !important;
  border-color: var(--wsh-gold) !important;
  background-color: #d7b65a14 !important;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-filter-pill, .nls-menu-btn, .nls-save-btn, .nls-toggle-btn):hover {
  border-color: #d7b65a88 !important;
  background-color: #d7b65a14 !important;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-toggle-btn.selected, .nls-apply-btn) {
  background-color: var(--wsh-gold) !important;
  color: #171513 !important;
  border-color: var(--wsh-gold) !important;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-toolbar > .nls-dropdown-anchor > .nls-dropdown {
  position: fixed !important;
  inset: auto !important;
  left: var(--wsh-nls-left, 16px) !important;
  top: var(--wsh-nls-top, 100px) !important;
  width: var(--wsh-nls-width, 340px) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: var(--wsh-nls-height, calc(100dvh - 32px)) !important;
  transform: translateY(var(--wsh-nls-shift, 0px)) !important;
  margin: 0 !important;
  z-index: 1100;
  box-sizing: border-box;
  flex-direction: column;
  gap: 12px;
  overflow: auto !important;
  overscroll-behavior: contain;
  padding: 14px !important;
  border: 1px solid var(--wsh-line) !important;
  border-radius: 12px !important;
  background: var(--wsh-panel) !important;
  color: var(--wsh-text) !important;
  box-shadow: 0 18px 48px #0009 !important;
  color-scheme: dark;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-toolbar > .nls-dropdown-anchor > .nls-dropdown.open { display: flex !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-toolbar > .nls-dropdown-anchor > .nls-dropdown:not(.open) { display: none !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .wsh-nls-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  color: var(--wsh-text);
  font-size: 16px;
  line-height: 24px;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .wsh-nls-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0 !important;
  border: 1px solid var(--wsh-line);
  border-radius: 8px;
  color: var(--wsh-text);
  background: #ffffff08;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-more-body, .nls-hometype-list) {
  min-height: 0;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-color: #746a55 transparent;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-more-body { flex: 1 1 auto; max-height: none !important; padding: 0 3px 0 0 !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-more-footer { flex: 0 0 auto; border-color: var(--wsh-line) !important; padding-top: 12px !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-more-moved > .nls-dropdown-anchor { margin: 0 0 20px !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-more-moved .nls-filter-pill {
  background: transparent !important;
  border: 0 !important;
  min-height: 24px !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
  color: var(--wsh-muted) !important;
  cursor: default;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-more-moved .nls-dropdown {
  display: block !important;
  position: static !important;
  width: auto !important;
  max-height: none !important;
  transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-more-moved :is(.wsh-nls-heading, .nls-apply-btn) { display: none !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-dropdown-label, .nls-price-field-label, .nls-radio-item, .nls-checkbox-item) { color: var(--wsh-text) !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-price-input, .nls-typeahead-input, .nls-price-dropped-select) {
  min-height: 44px !important;
  box-sizing: border-box;
  background: #171513 !important;
  border: 1px solid var(--wsh-line) !important;
  border-radius: 8px !important;
  color: var(--wsh-text) !important;
  font: inherit !important;
  color-scheme: dark;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-price-list, .nls-typeahead-list) {
  background: var(--wsh-panel) !important;
  color: var(--wsh-text) !important;
  border-color: var(--wsh-line) !important;
  max-height: 190px !important;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search :is(.nls-price-list-item, .nls-checkbox-item label, .nls-radio-item label) { min-height: 44px; box-sizing: border-box; padding: 10px 8px !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-price-list-item:hover { background: #d7b65a14 !important; }
#MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-toggle-group { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px !important; }
@media (max-width: 767px) {
  #MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-search-bar { min-width: 130px !important; }
  #MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-toolbar-menurow.nls-visible { margin-bottom: 10px; }
}
@media (max-width: 359px) {
  #MBBv3_ListingResults.wsh-refined-results .mbb-nls-search .nls-toggle-group { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-fullscreen="true"] .results-widget-container {
  height: 100dvh !important;
  overflow: hidden !important;
  background: var(--wsh-panel) !important;
}
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-fullscreen="true"] .results-widget-container-layout {
  height: 100% !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
}
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-fullscreen="true"] .results-container-layout {
  height: 100% !important;
  /* Only the gallery should scroll. Focus on a map control must not scroll
     this wrapper and pull the toolbar behind the fixed search header. */
  overflow: clip !important;
  margin-top: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-fullscreen="true"] .results-map-container {
  height: 100% !important;
  position: relative !important;
  top: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-fullscreen="true"] mbb-map {
  /* The provider's 400px minimum exceeds the remaining pane on short screens. */
  min-height: 0 !important;
}
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-fullscreen="true"]:not([data-wsh-results-view="map"]) :is(.results-list-container, .results-list-container-layout) {
  height: 100% !important;
  overflow: clip !important;
}
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-fullscreen="true"] .results-list-container-layout { display: flex !important; flex-direction: column !important; }
#MBBv3_ListingResults.wsh-refined-results[data-wsh-results-fullscreen="true"] .gallery-container {
  flex: 1 1 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
}

/* At 16px iOS can focus these fields without automatic text zoom. */
@media (max-width: 767px) {
  #MBBv3_ListingResults#MBBv3_ListingResults.wsh-refined-results .bfg-header-row-search :is(input, select, .wsh-select-trigger, .bfg-input-price-field) { font-size: 16px !important; }
}
#MBBv3_ListingResults [sortby] { border: 1px solid var(--wsh-line) !important; border-radius: 10px !important; background: var(--wsh-panel) !important; color: var(--wsh-text) !important; padding: 6px !important; }
/* Reserve one stable gutter for the provider's selected ::before checkmark. */
#MBBv3_ListingResults [sortby] .dropdown-item { position: relative; min-height: 44px; padding: 10px 12px 10px 36px !important; border-radius: 6px; font: 16px/1.4 system-ui,sans-serif !important; color: var(--wsh-text) !important; }
#MBBv3_ListingResults [sortby] .dropdown-item[selected] { background: #d7b65a20 !important; color: var(--wsh-gold) !important; }
#MBBv3_ListingResults.wsh-refined-results .wsh-results-views button:focus:not(:focus-visible) { outline: none !important; }

/* Keep the provider's sort node and callbacks in place. A manual top layer
   escapes its clipped toolbar; the adapter supplies visible-viewport bounds. */
#MBBv3_ListingResults#MBBv3_ListingResults .wsh-sort-menu {
  position: fixed !important; inset: auto !important;
  left: var(--wsh-sort-left) !important; top: var(--wsh-sort-top) !important;
  right: auto !important; bottom: auto !important;
  transform: translateY(var(--wsh-sort-shift, 0px)) !important;
  width: var(--wsh-sort-width, 220px) !important;
  min-width: 0 !important; max-width: calc(100vw - 32px) !important;
  max-height: var(--wsh-sort-height, 280px) !important;
  overflow: auto !important; overscroll-behavior: contain;
  margin: 0 !important; padding: 8px !important;
  box-sizing: border-box; z-index: 10000;
}
#MBBv3_ListingResults#MBBv3_ListingResults [sort] :is(.arrow-up, mbb-downbeak) { display: none !important; }
#MBBv3_ListingResults#MBBv3_ListingResults #sortDropdown::before,
#MBBv3_ListingResults#MBBv3_ListingResults #sortDropdown::after { content: none !important; }
#MBBv3_ListingResults#MBBv3_ListingResults #sortDropdown:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
#MBBv3_ListingResults#MBBv3_ListingResults#MBBv3_ListingResults#MBBv3_ListingResults #sortDropdown[data-wsh-focus-mode="pointer"]:focus { outline: none !important; box-shadow: none !important; }
#MBBv3_ListingResults#MBBv3_ListingResults #sortDropdown[aria-expanded="true"] { border-color: var(--wsh-gold) !important; background-color: #d7b65a14 !important; }

/* Map hover cards keep the provider's white background; don't inherit the
   site's cream text there (the price had no color of its own). */
#MBBv3_ListingResults .bfg-map-popup-content,
#MBBv3_ListingResults .bfg-map-popup-content .bfg-balloon-price { color: #171513 !important; }

/* Design brief §2: one type family and one control shape. Provider map/sort
   controls still carried their LatoWeb font; Show More was 40px with 4px corners. */
#MBBv3_ListingResults :is(.btn-map-control, .btn-map-control *, .sorticon, .bfg-map-more-btn) { font-family: var(--wsh-font-family, system-ui, sans-serif) !important; }
/* "Show more": the gold-outlined pill used for "See All" on the market report (was the
   provider's grey button). */
#MBBv3_ListingResults .bfg-map-more-btn { min-height: 44px !important; border-radius: 999px !important; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 20px !important; font-size: 14px !important; font-weight: 600 !important; border: 1px solid #d7b65a66 !important; background: transparent !important; color: var(--wsh-text, #f8f4ea) !important; box-shadow: none !important; transition: border-color 160ms ease, background-color 160ms ease; }
#MBBv3_ListingResults .bfg-map-more-btn:is(:hover, :focus-visible) { border-color: var(--wsh-gold, #d7b65a) !important; background: #d7b65a12 !important; }
#MBBv3_ListingResults.wsh-refined-results[data-wsh-map-state="empty"] .results-map-container-layout::after { content: "No homes match this search"; }

/* An empty search explains itself and suggests a next step (design brief §4). */
#MBBv3_ListingResults .no-results { font-size: 0 !important; padding: 8px 0 16px; }
#MBBv3_ListingResults .no-results::before { content: "No homes match this search." !important; display: block !important; font-size: 18px; font-weight: 600; color: var(--wsh-text, #f8f4ea); }
#MBBv3_ListingResults .no-results::after { content: "Try a wider price range, fewer bedrooms or bathrooms, or another area. Or set an alert below to hear about new matches." !important; display: block !important; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--wsh-muted, #c8c0b3); }

/* WCAG 1.4.3 contrast for small provider badges and the chosen-area chip. */
#MBBv3_ListingResults :is(.bb-banner--featured, .bb-banner--featured .bb-banner__primary) { background-color: #d7b65a !important; color: #171513 !important; }
#MBBv3_ListingResults :is(.bb-banner--reduced, .bb-banner--reduced .bb-banner__suffix) { background-color: #a8381f !important; }
#MBBv3_ListingResults .mbb-area-chip-label { color: #c2beb2 !important; }

/* Detail pass: Buying Buddy adds letter spacing to its buttons and sort label;
   the rest of the site uses normal spacing. */
#MBBv3_ListingResults :is(.btn, .btn span, #sortDropdown, #sortDropdown span) { letter-spacing: normal !important; }
#MBBv3_ListingResults .MoreFiltersWrapper .badge[data-wsh-default="true"] { visibility: hidden !important; }

/* Map hover card: grow to fit its text (the provider fixes it at 120px, so the
   site font pushed acres and the listing office out of the card). */
#MBBv3_ListingResults .maplibregl-map div:has(> .bfg-map-popup-content) { height: auto !important; }
#MBBv3_ListingResults .bfg-map-popup-content { height: auto !important; min-height: 120px; align-items: stretch !important; border-radius: 8px; overflow: hidden; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-img-wrap { align-self: stretch; min-height: 120px; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-thumb { height: 100% !important; min-height: 120px; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-details-wrap { gap: 4px; padding: 10px 12px !important; min-width: 0; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-balloon-row-1 { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-balloon-price { font-weight: 600 !important; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-address { font-weight: 600; line-height: 1.3 !important; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-address .address2 { display: block; font-weight: 400; color: #5d574e; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-features { justify-content: flex-start !important; gap: 14px; }
#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-lister-row { color: #5d574e !important; font-size: 12px !important; }
#MBBv3_ListingResults#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-features.justify-content-between { justify-content: flex-start !important; flex-wrap: wrap !important; gap: 2px 14px; }
#MBBv3_ListingResults#MBBv3_ListingResults .bfg-map-popup-content .bfg-popup-feature { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }

/* Home type: the same header as the Price, Bedrooms and Bathrooms menus (title left, gold
   "Close" right, divider) instead of an empty row holding a boxed X. The control keeps its
   provider handler and its accessible name, "Close property types". */
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .dropdown-menu.show { padding-top: 0 !important; }
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .menu-close.wsh-close-control {
  justify-self: stretch; display: flex !important; align-items: center; justify-content: space-between;
  width: auto !important; max-width: none !important; min-width: 0 !important; flex: none !important;
  height: auto !important; min-height: 48px !important; margin: 0 -12px 6px !important; padding: 0 16px !important;
  border: 0 !important; border-bottom: 1px solid var(--wsh-line) !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important;
}
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .menu-close.wsh-close-control svg { display: none !important; }
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .menu-close.wsh-close-control::before { content: 'Home type'; color: var(--wsh-muted); font: 500 14px/1.4 system-ui, sans-serif; }
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .menu-close.wsh-close-control::after { content: 'Close'; color: var(--wsh-gold); font: 500 14px/1.4 system-ui, sans-serif; }
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .menu-close.wsh-close-control:hover::after { color: #ecd38a; }
#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper#MBBv3_PropertyTypeMenuWrapper .menu-close.wsh-close-control:focus-visible { outline: 2px solid var(--wsh-gold) !important; outline-offset: -3px; }

/* One type size across the results toolbar and account links (was 13px and 16px side by side). */
#MBBv3_ListingResults#MBBv3_ListingResults .results-list-header-container :is(#sortDropdown, #sortDropdown span, .wsh-results-views button, .wsh-results-views button span, bb-toggle-button, bb-toggle-button span),
#MBBv3_ListingResults#MBBv3_ListingResults .bfg-header-row-1 :is(button, a, span) { font-size: 14px !important; }
/* Price menu: the dash sits level with the Min and Max fields. */
#MBBv3_ListingResults .row:has(> .bfg-price-divider), .row:has(> .bfg-price-divider) { align-items: center !important; }
.bfg-price-divider { padding: 0 !important; color: var(--wsh-muted, #c8c0b3); line-height: 1 !important; }
/* The MLS number copies to the clipboard; show that it responds. */
#MBBv3_ListingResults [data-propnum]:hover { color: var(--wsh-gold, #d7b65a) !important; }

/* Optical centring: a heart's weight sits in its top lobes, so a box-centred heart reads as
   high in its circle (ink centre measured 2px above the circle's centre). */
.bfg-media__heart > i { transform: translateY(1.5px); }
