.sr-only {
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.property-search-hero {
  padding-bottom:58px
}

.property-search-toolbar {
  position:sticky;
  top:88px;
  z-index:35;
  margin-top:-25px
}

.property-search-form {
  background:#fff;
  border:1px solid #d9dfdc;
  box-shadow:0 12px 32px rgba(17,35,31,.12)
}

.property-search-primary {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:10px;
  padding:14px
}

.property-search-query input {
  width:100%;
  height:52px;
  border:1px solid #cdd5d1;
  padding:0 17px;
  font:inherit;
  font-size:1rem;
  background:#fff
}

.property-search-submit {
  min-width:132px;
  height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:0 20px;
  background:#d2a251;
  color:#fff;
  line-height:1;
  white-space:nowrap
}


.property-search-submit:hover {
  background:#b47a31
}

.property-search-submit__icon {
  width:19px;
  height:19px;
  display:grid;
  place-items:center;
  flex:0 0 auto
}

.property-search-submit__icon svg {
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round
}

.property-search-submit__label {
  display:inline-block
}

.property-filter-toggle {
  height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 18px;
  border:1px solid #cdd5d1;
  background:#fff;
  color:#20322d;
  font-weight:800;
  cursor:pointer
}

.property-filter-toggle span {
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#21443d;
  color:#fff;
  font-size:.7rem
}

.property-filter-panel {
  border-top:1px solid #e2e6e4;
  padding:18px 18px 16px;
  background:#f8faf9
}

.property-filter-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:13px
}

.property-filter-grid label {
  display:grid;
  gap:6px;
  color:#45534e;
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em
}

.property-filter-grid input,.property-filter-grid select,.property-results-sort select {
  width:100%;
  height:44px;
  border:1px solid #cfd7d3;
  background:#fff;
  padding:0 11px;
  color:#18241f;
  font:inherit;
  font-size:.86rem;
  text-transform:none;
  letter-spacing:0
}

.property-filter-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
  margin-top:16px
}

.property-filter-clear {
  font-size:.78rem;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:4px
}

.property-results-section {
  padding-top:42px
}

.property-results-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
  color:#26342f
}

.property-results-head strong {
  font-size:1.4rem
}

.property-results-head>div span {
  color:#71807a;
  font-size:.86rem
}

.property-results-sort {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.76rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em
}

.property-results-sort select {
  width:auto;
  min-width:180px
}

.td-property-card__price small {
  font-size:.7rem;
  font-weight:700;
  color:#59645f
}

.td-property-card__listing-type {
  position:absolute;
  right:12px;
  bottom:12px;
  padding:6px 9px;
  background:#fff;
  color:#21443d;
  border-radius:2px;
  font-size:.64rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  box-shadow:0 2px 7px rgba(0,0,0,.18)
}

.property-no-results {
  grid-column:1/-1;
  display:grid;
  justify-items:center;
  text-align:center;
  padding:70px 25px;
  border:1px dashed #bdc8c3;
  background:#fafcfb
}

.property-no-results>span {
  font-size:3rem;
  color:#c39a5b
}

.property-no-results h2 {
  margin:8px 0 5px;
  font-family:Georgia,serif;
  font-size:2rem;
  font-weight:500
}

.property-no-results p {
  max-width:560px;
  margin:0 0 24px;
  color:#68756f
}

.property-pagination {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  margin-top:42px
}

.property-pagination__pages {
  display:flex;
  align-items:center;
  gap:7px
}

.property-pagination__pages a {
  width:39px;
  height:39px;
  display:grid;
  place-items:center;
  border:1px solid #d3d9d6;
  background:#fff;
  font-weight:800
}

.property-pagination__pages a.is-current,.property-pagination__pages a:hover {
  background:#21443d;
  border-color:#21443d;
  color:#fff
}

.property-pagination__arrow {
  min-width:92px;
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em
}

.property-pagination__arrow:last-child {
  text-align:right
}

.property-pagination__arrow.is-disabled {
  opacity:.3;
  pointer-events:none
}

@media(max-width:980px) {
  .property-search-toolbar {
    top:88px
  }
  .property-filter-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}

@media(min-width:761px) {
  .property-filter-toggle {
    display:none
  }
}

@media(max-width:760px) {
  .property-search-hero {
    padding-bottom:42px
  }
  .property-search-toolbar {
    position:relative;
    top:auto;
    margin-top:-18px
  }
  .property-search-primary {
    grid-template-columns:minmax(0,1fr) auto
  }
  .property-search-submit {
    min-width:112px;
    padding-inline:16px
  }
  .property-filter-toggle {
    grid-column:1/-1;
    width:100%
  }
  .property-filter-panel {
    display:none
  }
  .property-filter-panel.is-open {
    display:block
  }
  .property-results-section {
    padding-top:32px
  }
  .property-results-head {
    align-items:flex-start
  }
  .property-results-sort {
    display:none
  }
}

@media(max-width:560px) {
  .property-search-primary {
    padding:10px;
    gap:8px
  }
  .property-search-query input,.property-search-submit,.property-filter-toggle {
    height:48px
  }
  .property-search-submit {
    width:56px;
    min-width:56px;
    padding:0
  }
  .property-search-submit__label {
    display:none
  }
  .property-search-submit__icon {
    width:20px;
    height:20px
  }
  .property-filter-grid {
    grid-template-columns:1fr
  }
  .property-filter-actions {
    align-items:stretch;
    flex-direction:column-reverse;
    gap:12px
  }
  .property-filter-actions .btn {
    width:100%
  }
  .property-results-head>div span {
    display:block
  }
  .property-pagination {
    gap:10px
  }
  .property-pagination__arrow {
    min-width:auto;
    font-size:.65rem
  }
  .property-pagination__pages a {
    width:34px;
    height:34px
  }
}

/* Split property results + interactive map */
.property-results-head,
.property-results-layout {
  width:min(1460px,calc(100% - 40px))
}

.property-results-controls {
  display:flex;
  align-items:center;
  gap:16px
}

.property-view-switcher {
  display:none;
  align-items:center;
  padding:3px;
  border:1px solid #cfd7d3;
  background:#f4f7f5
}

.property-view-switcher button {
  height:36px;
  padding:0 14px;
  border:0;
  background:transparent;
  color:#53615b;
  font:inherit;
  font-size:.75rem;
  font-weight:900;
  cursor:pointer
}

.property-view-switcher button.is-active {
  background:#21443d;
  color:#fff;
  box-shadow:0 2px 7px rgba(17,35,31,.16)
}

.property-results-layout {
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(430px,.92fr);
  align-items:start;
  gap:24px
}

.property-list-panel {
  min-width:0
}

.property-results-layout .td-properties-page__grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}

.property-results-layout .td-property-card {
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}

.property-results-layout .td-property-card.is-map-active {
  border-color:#21443d;
  box-shadow:0 0 0 2px rgba(33,68,61,.14),0 12px 30px rgba(20,38,33,.16);
  transform:translateY(-2px)
}

.property-results-layout .td-property-card__description {
  -webkit-line-clamp:2
}

.property-map-panel {
  position:sticky;
  top:174px;
  height:calc(100vh - 198px);
  min-height:520px;
  max-height:760px;
  overflow:hidden;
  border:1px solid #d4dcd8;
  background:#eef2ef;
  box-shadow:0 12px 32px rgba(17,35,31,.11)
}

.property-map-toolbar {
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:0 18px;
  border-bottom:1px solid #d3dbd7;
  background:#fff
}

.property-map-toolbar>div {
  display:grid;
  gap:1px
}

.property-map-toolbar span {
  color:#8a632d;
  font-size:.64rem;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase
}

.property-map-toolbar strong {
  color:#1d2d28;
  font-size:.92rem
}

.property-map-toolbar button {
  padding:8px 10px;
  border:1px solid #cbd4d0;
  background:#fff;
  color:#21443d;
  font:inherit;
  font-size:.7rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
  cursor:pointer
}

.property-map-toolbar button:hover {
  background:#21443d;
  color:#fff;
  border-color:#21443d
}

.property-map-shell {
  position:relative;
  height:calc(100% - 64px)
}

.property-results-map {
  width:100%;
  height:100%;
  min-height:450px;
  background:#dce5e1
}

.property-map-status {
  position:absolute;
  z-index:550;
  left:50%;
  top:50%;
  width:min(300px,calc(100% - 36px));
  display:grid;
  justify-items:center;
  transform:translate(-50%,-50%);
  padding:22px 20px;
  border:1px solid rgba(33,68,61,.2);
  background:rgba(255,255,255,.96);
  box-shadow:0 15px 38px rgba(17,35,31,.2);
  text-align:center;
  pointer-events:none
}

.property-map-status.is-hidden {
  display:none
}

.property-map-status.is-error .property-map-loader {
  display:none
}

.property-map-status strong {
  font-family:Georgia,serif;
  font-size:1.15rem;
  font-weight:500
}

.property-map-status small {
  margin-top:3px;
  color:#68756f;
  font-size:.78rem
}

.property-map-loader {
  width:28px;
  height:28px;
  margin-bottom:10px;
  border:3px solid #d5dfdb;
  border-top-color:#21443d;
  border-radius:50%;
  animation:property-map-spin .8s linear infinite
}

@keyframes property-map-spin {
  to {
    transform:rotate(360deg)
  }
}

/* Leaflet map styling */
.property-results-map.leaflet-container {
  font-family:Arial,Helvetica,sans-serif;
  color:#172522
}

.property-results-map .leaflet-control-zoom a {
  color:#21443d
}

.property-results-map .leaflet-control-attribution {
  font-size:9px
}

.property-price-marker-wrap {
  border:0!important;
  background:transparent!important
}

.property-price-marker {
  min-width:64px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border:2px solid #fff;
  border-radius:17px;
  background:#21443d;
  color:#fff;
  box-shadow:0 3px 10px rgba(15,30,26,.34);
  font-size:.76rem;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  transition:transform .16s ease,background .16s ease,box-shadow .16s ease
}

.property-price-marker-wrap:hover .property-price-marker,
.property-price-marker-wrap.is-active .property-price-marker {
  transform:scale(1.12);
  background:#bd8438;
  box-shadow:0 5px 15px rgba(15,30,26,.42)
}

.property-map-leaflet-popup .leaflet-popup-content-wrapper {
  overflow:hidden;
  padding:0;
  border-radius:3px;
  box-shadow:0 14px 35px rgba(14,28,24,.28)
}

.property-map-leaflet-popup .leaflet-popup-content {
  width:290px!important;
  margin:0
}

.property-map-leaflet-popup .leaflet-popup-tip {
  box-shadow:3px 3px 8px rgba(14,28,24,.15)
}

.property-map-leaflet-popup .leaflet-popup-close-button {
  z-index:2;
  width:27px;
  height:27px!important;
  top:5px!important;
  right:5px!important;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#172522!important;
  font-size:20px!important;
  line-height:1!important
}

.property-map-popup {
  background:#fff
}

.property-map-popup__image {
  position:relative;
  display:block;
  height:145px;
  overflow:hidden;
  background:#dfe6e2
}

.property-map-popup__image img {
  width:100%;
  height:100%;
  object-fit:cover
}

.property-map-popup__image>span {
  position:absolute;
  left:10px;
  bottom:10px;
  padding:5px 8px;
  background:#fff;
  color:#21443d;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
  font-size:.6rem;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase
}

.property-map-popup__body {
  display:grid;
  padding:13px 15px 15px
}

.property-map-popup__body>strong {
  font-size:1.22rem;
  line-height:1.2
}

.property-map-popup__body>small {
  margin:3px 0 8px;
  color:#46534e;
  font-size:.7rem
}

.property-map-popup__body>a:not(.property-map-popup__link) {
  font-weight:800;
  line-height:1.3
}

.property-map-popup__body>span {
  margin-top:2px;
  color:#67736e;
  font-size:.72rem
}

.property-map-popup__link {
  margin-top:11px;
  padding-top:9px;
  border-top:1px solid #e1e6e3;
  color:#21443d;
  font-size:.67rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase
}

@media(max-width:1260px) {
  .property-results-layout {
    grid-template-columns:minmax(0,1fr) minmax(400px,.92fr)
  }
  .property-results-layout .td-properties-page__grid {
    grid-template-columns:1fr
  }
}

@media(max-width:900px) {
  .property-results-head,.property-results-layout {
    width:min(1180px,calc(100% - 40px))
  }
  .property-results-controls {
    margin-left:auto
  }
  .property-view-switcher {
    display:flex
  }
  .property-results-layout {
    display:block
  }
  .property-map-panel {
    display:none;
    position:relative;
    top:auto;
    height:min(64vh,600px);
    min-height:430px;
    max-height:none
  }
  .property-results-layout.is-map-view .property-list-panel {
    display:none
  }
  .property-results-layout.is-map-view .property-map-panel {
    display:block
  }
  .property-results-layout .td-properties-page__grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}

@media(max-width:660px) {
  .property-results-head {
    align-items:center
  }
  .property-results-controls {
    gap:0
  }
  .property-results-sort {
    display:none
  }
  .property-results-layout .td-properties-page__grid {
    grid-template-columns:1fr
  }
  .property-map-panel {
    height:62vh;
    min-height:410px
  }
  .property-map-toolbar {
    padding:0 12px
  }
  .property-map-toolbar button {
    padding:7px 8px;
    font-size:.62rem
  }
}

@media(max-width:420px) {
  .property-results-head,.property-results-layout {
    width:calc(100% - 24px)
  }
  .property-results-head>div:first-child {
    font-size:.82rem
  }
  .property-results-head strong {
    font-size:1.15rem
  }
  .property-view-switcher button {
    padding:0 10px
  }
  .property-map-panel {
    min-height:390px
  }
}
