/* Homepage presentation, isolated from account and listing forms. */
.marketplace{--lime:#d8f36a;--ink:#173a30;--paper:#f8faf9;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.marketplace>header{background:white;gap:22px}.marketplace #listProperty{border:0;background:#edf5ef;color:#176646;border-radius:9px;font-weight:650}
.marketplace .intro{padding:48px 0 28px;align-items:center}.marketplace .intro h1{font-size:clamp(40px,4.5vw,64px);font-weight:650;line-height:1.1;letter-spacing:-2.5px;margin:16px 0}.marketplace .intro h1 em{font-style:normal;color:#173a30;white-space:nowrap}.marketplace .intro h1 em:after{display:none}.marketplace .intro .eyebrow{font-size:10px;letter-spacing:1.8px;color:#587166}.marketplace .intro .eyebrow>span{background:#16845b}.marketplace .intro p{font-size:16px;line-height:1.7;max-width:540px;margin:0;color:#66766f}
.marketplace .search-bar{border:1px solid #e0e7e2;border-radius:14px;box-shadow:0 8px 28px #173a3008}.marketplace .search-bar .primary{background:#d8f36a;color:#173a30;border-radius:9px}.marketplace .search-bar label>span{color:#697c70;font-weight:650}.marketplace .results{padding-top:34px}.marketplace .results-heading h2{font-weight:750;letter-spacing:-1px}.marketplace .results-heading .eyebrow{display:none}.marketplace .chip{border-radius:99px}.marketplace .chip.active{background:#176646;border-color:#176646;color:white}.marketplace .demo-note{font-size:12px;color:#7b8780}.marketplace .card{border-radius:14px;box-shadow:0 4px 18px #173a3005}.marketplace .price{font-weight:700}.marketplace .developer-strip .primary{background:#d8f36a;color:#173a30}
@media(max-width:740px){
 .marketplace>header,.marketplace>header:has(.account-menu){display:flex;height:auto;min-height:0;padding:14px 5% 0;gap:12px;margin:0;align-items:center}
 .marketplace>header .brand{gap:7px}.marketplace>header .brand-mark{width:32px;height:32px}.marketplace>header .brand-wordmark{font-size:17px}.marketplace>header .brand-wordmark small{font-size:7px;letter-spacing:2.5px}
 .marketplace #listProperty{margin-left:auto;padding:10px 12px;font-size:12px}.marketplace #listProperty span{display:none}.marketplace .account-menu{margin-left:0}.marketplace .account-avatar{width:34px;height:34px;font-size:15px}
 .marketplace>header>nav{order:3;flex-basis:100%;width:100%;height:43px;margin:0;background:white;border-bottom:0;gap:32px}.marketplace>header>nav button{font-size:12px;font-weight:600}.marketplace>header>nav button.nav-active:after{height:2px;background:#16845b}
 .marketplace main{padding:0 5%}.marketplace .intro{padding:27px 0 23px}.marketplace .intro h1{font-size:36px;line-height:1.13;letter-spacing:-1.4px;margin:12px 0 14px}.marketplace .intro p{font-size:13px;line-height:1.65;max-width:330px}.marketplace .intro .eyebrow{font-size:9px;letter-spacing:1.35px}
 .marketplace .search-bar{padding:12px;gap:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:white}
 .marketplace .search-bar .search-field{padding:8px 4px 14px;gap:8px;border-bottom:1px solid #e7ece8}.marketplace .search-field input{font-size:16px;color:#203e31}
 .marketplace .search-bar label:not(.search-field){padding:10px 11px;min-height:72px;gap:7px;border:1px solid #e5ebe6;border-radius:8px;background:#fbfcfb;justify-content:center}
 .marketplace .search-bar label>span{font-size:9px;letter-spacing:.9px;line-height:1.3}.marketplace .search-bar .custom-select-trigger{display:flex;align-items:center;gap:6px;font-size:13px;line-height:1.4;min-height:23px;color:#2a4538}.marketplace .custom-select-trigger>span{flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden}.marketplace .search-bar .custom-select-trigger:after{float:none;flex:none;width:12px;margin:0;line-height:1;font-size:17px;color:#6f8275}
 .marketplace .search-bar .primary{margin:0;min-height:46px;font-size:14px;font-weight:650;padding:12px;grid-column:1/-1}.marketplace .results{padding-top:28px}.marketplace .results-heading h2{font-size:22px;max-width:220px;line-height:1.2}.marketplace .filter-row{margin-top:16px;gap:12px}.marketplace .chips{flex-wrap:nowrap;width:100%;overflow-x:auto;padding-bottom:5px;gap:7px}.marketplace .chip{white-space:nowrap;padding:8px 12px;font-size:11px;flex:none}.marketplace .demo-note{font-size:11px;line-height:1.5;margin:12px 0 18px}
}
@media(max-width:360px){.marketplace>header{gap:8px}.marketplace>header .brand-wordmark{font-size:15px}.marketplace #listProperty{padding:9px;font-size:11px}.marketplace .intro h1{font-size:32px}}

/* Keep the lively green-and-white identity with the compact search-first layout. */
.marketplace .intro{position:relative;background:radial-gradient(ellipse at 100% 20%,#e9f3e650,transparent 58%)}
.marketplace .intro .eyebrow>span{background:#91ac35}.marketplace #listProperty{background:#edf4de;color:#214c35}.marketplace .search-bar{box-shadow:0 8px 28px #2768480a;border-color:#dce6da}.marketplace .search-bar .primary:hover{background:#cce95e}.marketplace .chip.active{background:#173e31;border-color:#173e31}.marketplace .developer-strip{background:#173e31}.marketplace .developer-strip .eyebrow{color:#d8f36a}
@media(max-width:740px){.marketplace .intro h1{font-size:clamp(30px,8vw,36px)}.marketplace .intro p{max-width:350px}.marketplace .search-bar label:not(.search-field){background:#fafcf7}.marketplace .chips{flex-wrap:wrap;overflow-x:visible}}

/* Search-first homepage */
.marketplace .search-hero {
  background: radial-gradient(ellipse at top right, #39744d, transparent 65%), #173e31;
  border-radius: 24px;
  padding: clamp(16px, 4vw, 44px);
}
.marketplace .search-hero .intro { background: none; padding: 0 0 24px; color: white; }
.marketplace .search-hero .intro h1 { color: white; font-weight: 800; }
.marketplace .search-hero .intro h1 em { color: #d8f36a; }
.marketplace .search-hero .intro p,
.marketplace .search-hero .eyebrow,
.marketplace .search-hero .city-note,
.marketplace .search-hero .city-note span { color: #e2eee5; }
.marketplace .search-hero .search-bar { margin: 0; background: white; }
.marketplace .search-hero .search-bar :is(.search-field input, .custom-select-trigger, #shortletPriceSummary) {
  font-weight: 700;
  color: var(--ink);
}
.marketplace .search-hero .search-field:focus-within {
  box-shadow: inset 0 -2px #217452;
}
.marketplace .search-hero .search-field input:focus {
  outline: none;
}
.marketplace .search-hero .location-autocomplete-results {
  max-height: min(240px, 32dvh);
  overscroll-behavior: contain;
}
.marketplace .search-hero .location-autocomplete-option {
  min-height: 44px;
}
.marketplace .search-hero .search-bar .search-field input::placeholder {
  font-weight: 500;
}
@media (max-width: 740px) {
  .marketplace .search-hero .intro { text-align: center; }
  .marketplace .search-hero .intro p { margin-inline: auto; }
  .marketplace .search-hero .search-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px; }
  .marketplace .search-hero .search-bar > label { background: white; border: 0; border-bottom: 1px solid #e3ebe4; border-radius: 0; padding: 10px 8px; }
  .marketplace .search-hero .search-bar label > span { font-size: 11px; }
  .marketplace .search-hero .search-bar .custom-select-trigger { min-height: 36px; font-size: 15px; }
  .marketplace .search-hero .search-bar .primary { margin-top: 12px; border-radius: 999px; }
}

.marketplace .search-purposes {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3ebe4;
}
.marketplace .search-purposes button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #254c3d;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.marketplace .search-purposes button[aria-pressed="true"] {
  background: #e6f1dc;
  border-color: #d5e5cc;
  color: #174632;
}
.marketplace .search-purposes svg { width: 16px; height: 16px; }

@media (min-width: 1021px) {
  .marketplace .search-hero .search-bar {
    grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr)) auto;
    row-gap: 10px;
  }
}


.marketplace #shortletPrice { position: relative; min-width: 0; padding: 10px 8px; }
.marketplace #shortletPrice summary { cursor: pointer; min-height: 44px; color: #214c35; }
.marketplace #shortletPrice summary span { font-size: 11px; letter-spacing: .08em; }
.marketplace #shortletPrice summary strong { display: block; font-size: 15px; overflow-wrap: anywhere; }
.marketplace .shortlet-price-panel {
  position: absolute;
  z-index: 5;
  top: 100%;
  right: 0;
  width: min(360px, 80vw);
  padding: 16px;
  border: 1px solid #dce6da;
  border-radius: 12px;
  background: white;
  color: #214c35;
  box-shadow: 0 10px 28px #173a3026;
}
.marketplace .shortlet-price-panel p { margin: 0 0 10px; font-size: 14px; font-weight: 650; }
.marketplace .shortlet-price-bounds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.marketplace .shortlet-price-bounds label { border: 0; padding: 0; font-size: 13px; }
.marketplace .shortlet-price-bounds input { width: 100%; min-height: 44px; padding: 8px; border: 1px solid #dce6da; border-radius: 8px; font-size: 16px; }
.marketplace .shortlet-price-ranges { display: flex; flex-wrap: wrap; gap: 6px; }
.marketplace .shortlet-price-ranges button { min-height: 44px; border: 0; border-radius: 999px; padding: 0 12px; background: #e6f1dc; color: #174632; cursor: pointer; }
@media (max-width: 740px) {
  .marketplace #shortletPrice { border-bottom: 1px solid #e3ebe4; }
  .marketplace .shortlet-price-panel { position: static; width: auto; box-shadow: none; }
}

.marketplace #pricePeriods[hidden] { display: none; }
.marketplace #pricePeriods { margin-bottom: 10px; }
.marketplace #pricePeriods button[aria-pressed="true"], .marketplace #priceDone {
  background: #176646;
  color: white;
}
.marketplace .price-range-actions { display: flex; justify-content: space-between; margin-top: 12px; border-top: 1px solid #dce6da; padding-top: 10px; }
.marketplace .price-range-actions button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #174632; font-weight: 650; cursor: pointer; }

.marketplace #moreFilters {
  grid-column: 1 / -1;
  flex-basis: 100%;
  width: 100%;
  border-top: 1px solid #e3ebe4;
  text-align: left;
  color: #173e31;
}
.marketplace #moreFilters summary {
  cursor: pointer;
  padding: 12px 8px;
  font-weight: 650;
}
.marketplace #moreFilters summary span {
  margin-inline-start: 6px;
  color: #176646;
  font-size: .85em;
}
.marketplace .more-filter-fields { display: grid; gap: 10px; padding: 0 8px 10px; }
.marketplace .amenity-filter { border: 1px solid #dce6da; border-radius: 12px; padding: 0 10px 10px; }
.marketplace .amenity-filter:not([open]) { padding-bottom: 0; }
.marketplace .amenity-filter p { margin: 0 0 10px; color: #50685b; }
.marketplace .amenity-filter fieldset { min-width: 0; border: 0; margin: 0 0 12px; padding: 0; }
.marketplace .amenity-filter legend { font-weight: 650; margin-bottom: 6px; }
.marketplace .filter-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 145px),1fr)); gap: 6px; }
.marketplace .search-bar .filter-options label:not(.search-field) {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #dce6da;
  border-radius: 8px;
  cursor: pointer;
}
.marketplace .search-bar .filter-options input { width: 16px; height: 16px; flex: none; accent-color: #176646; }
.marketplace .search-hero .filter-options label > span { font-size: .85rem; letter-spacing: 0; color: #173e31; }
.marketplace .filter-options label:has(:checked) { background: #eaf4e7; }
.marketplace #clearAmenities { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: #176646; font-weight: 650; cursor: pointer; }

.marketplace .search-bar #paymentPlanFilter:not([hidden]) { grid-column: 1 / -1; }
.marketplace .search-bar #paymentPlanFilter[hidden] { display: none; }
.payment-plan-badge {
  display: inline-block;
  padding: 4px 9px;
  margin-bottom: 8px;
  border-radius: 999px;
  color: #1a6247;
  background: #e6f3ea;
  font-size: .75rem;
  font-weight: 700;
}
.property-payment-options {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #d6e4da;
  border-radius: 12px;
  background: #f6faf7;
}
.property-payment-options h3, .property-payment-options dl { margin: 0; }
.property-payment-options dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.property-payment-options dl div + div { border-top: 1px solid #d6e4da; }
.property-payment-options dt { flex: 0 0 auto; }
.property-payment-options dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.property-payment-options small { display: block; color: #526b5d; font-weight: 500; }

.marketplace .search-bar #initialDepositFilter:not([hidden]) { grid-column: 1 / -1; }
.marketplace .search-bar #initialDepositFilter[hidden] { display: none; }


.marketplace #pricePresets[hidden] { display: none; }

.marketplace #shortletPrice > summary {
  position: relative;
  display: grid;
  align-content: center;
  gap: 6px;
  padding-inline-end: 22px;
  list-style: none;
}
.marketplace #shortletPrice > summary::-webkit-details-marker { display: none; }
.marketplace #shortletPrice > summary::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-75%) rotate(45deg);
}
.marketplace #shortletPrice[open] > summary::after { transform: translateY(-25%) rotate(225deg); }

.marketplace .shortlet-price-bounds[hidden] { display: none; }
.buy-price-bound { min-width: 0; }
.buy-price-bound > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.buy-price-bound details { position: relative; }
.marketplace .buy-price-bound details[open] { z-index: 1; }
.marketplace #shortletPrice .buy-price-bound summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid #d6e4da;
  border-radius: 8px;
  background: #fff;
  list-style: none;
}
.marketplace #shortletPrice .buy-price-bound summary span { font-size: 14px; letter-spacing: normal; }
.buy-price-bound summary::-webkit-details-marker { display: none; }
.buy-price-bound summary::after { content: '⌄'; font-size: 16px; }
.buy-price-bound details[open] summary::after { transform: rotate(180deg); }
.buy-price-options {
  position: absolute;
  inset: calc(100% + 4px) 0 auto;
  max-height: min(50vh, 380px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 4px;
  background: #fff;
  border: 1px solid #d6e4da;
  border-radius: 10px;
  box-shadow: 0 8px 22px #173a3026;
}
.buy-price-options button {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #214c35;
  text-align: left;
  cursor: pointer;
}
.buy-price-options button[aria-pressed="true"], .buy-price-options button:hover:not(:disabled) { background: #e6f1dc; }
.buy-price-options button:disabled { opacity: .45; cursor: default; }

.marketplace :is(.rent-price-panel, .shortlet-price-dropdown-panel, .purchase-price-panel) #pricePeriods:not([hidden]) {
  display: grid;
  grid-template-columns: .7fr 1fr 1.15fr;
  gap: 5px;
}
.marketplace :is(.rent-price-panel, .shortlet-price-dropdown-panel, .purchase-price-panel) #pricePeriods button {
  padding-inline: 4px;
  font-size: clamp(11px, 3vw, 14px);
  white-space: nowrap;
}
.marketplace :is(.rent-price-panel, .shortlet-price-dropdown-panel, .purchase-price-panel) #priceBasis {
  color: #526b5d;
  font-size: 12px;
  font-weight: 400;
}
.marketplace :is(.rent-price-panel, .shortlet-price-dropdown-panel, .purchase-price-panel) #pricePresets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
}
.marketplace :is(.rent-price-panel, .shortlet-price-dropdown-panel, .purchase-price-panel) #pricePresets button {
  padding-inline: 6px;
  border-radius: 6px;
  background: #f4f8f4;
  font-size: 12px;
}
.marketplace :is(.rent-price-panel, .shortlet-price-dropdown-panel, .purchase-price-panel) .buy-price-options {
  inset-inline-end: auto;
  min-width: 150px;
}
.marketplace :is(.rent-price-panel, .shortlet-price-dropdown-panel, .purchase-price-panel) .buy-price-bound:last-child .buy-price-options {
  inset-inline: auto 0;
}
.marketplace :is(.rent-price-panel, .shortlet-price-dropdown-panel, .purchase-price-panel) .buy-price-options button {
  font-size: 14px;
  white-space: nowrap;
}

.marketplace .shortlet-price-dropdown-panel #pricePeriods:not([hidden]) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketplace .card-body .location { display: flex; align-items: flex-start; gap: 6px; }
.marketplace .card-body .features > span { display: inline-flex; align-items: center; gap: 5px; }
.marketplace .listing-fact-icon { width: 16px; height: 16px; flex: 0 0 16px; }
.marketplace .card-body .location .listing-fact-icon { margin-top: .15em; }

.marketplace .card-body .listing-summary {
  margin: 2px 0 8px;
  color: #206b4d;
  font-size: .875rem;
  line-height: 1.35;
  font-weight: 700;
}

/* Public property details */
#details .gallery-expand {
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #fffffff0;
  color: #163c32;
  font-size: 14px;
  font-weight: 700;
}
#details .gallery-count {
  inset: 14px auto auto 14px;
}
#details .property-detail-body {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #f2f6f3;
}
#details .property-section,
#details .property-detail-summary,
#details .property-quick-facts {
  min-width: 0;
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: white;
  overflow-wrap: anywhere;
}
#details .property-detail-summary h2 {
  margin: 5px 0 8px;
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.18;
}
#details .property-detail-location {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  color: #4b635a;
}
#details .property-detail-location svg {
  flex: none;
  margin-top: 2px;
}
#details .property-detail-summary .price {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #dce6df;
}
#details .property-section h3 {
  margin: 0 0 10px;
}
#details .property-quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
#details .property-quick-facts div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  column-gap: 6px;
  padding: 10px;
  border-radius: 10px;
  background: #eef4ef;
}
#details .property-quick-facts svg {
  grid-row: span 2;
  align-self: center;
  color: #1b654c;
}
#details .property-quick-facts dt,
#details .property-quick-facts dd {
  grid-column: 2;
}
#details .property-quick-facts dt {
  font-size: 13px;
  color: #4b635a;
}
#details .property-quick-facts dd {
  margin: 0;
  font-weight: 700;
}
#details .property-description {
  margin: 0;
  white-space: pre-line;
}
#details .property-description-toggle summary {
  padding: 10px 0 4px;
  color: #1b654c;
  font-weight: 700;
  cursor: pointer;
}
#details .property-description-toggle:not([open]) summary span:last-child,
#details .property-description-toggle[open] summary span:first-child,
#details .property-section:has(.property-description-toggle[open]) .property-description-preview {
  display: none;
}
#details .property-detail-amenities h4 {
  margin: 14px 0 6px;
}
#details .property-detail-amenities ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
#details .property-detail-amenities li {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
#details .property-detail-amenities li span {
  color: #1b654c;
  font-weight: 700;
}
#details .contact-actions {
  position: sticky;
  z-index: 3;
  bottom: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  background: white;
  border-top: 1px solid #dce6df;
}
#details .contact-actions a,
#details .contact-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 7px 6px;
  font-size: clamp(12px, 3.4vw, 15px);
}

#details {
  background: #f3f6f4;
  overscroll-behavior: contain;
}
#details .property-detail-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 56px;
  padding: 0 10px;
  background: white;
  border-bottom: 1px solid #dce6df;
  text-align: center;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.2;
}
#details .property-detail-header .close {
  position: static;
  width: 44px;
  height: 44px;
  box-shadow: none;
  font-size: 32px;
  line-height: 1;
}
#details .detail-gallery {
  margin: 10px 12px 0;
}
#details .gallery-main {
  overflow: hidden;
  border-radius: 14px;
}
#details .property-detail-body {
  padding: 12px;
}
#details .property-detail-summary .listing-summary {
  margin: 0 0 8px;
  color: #1b654c;
  font-weight: 700;
}
#details .property-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #dce6df;
}
#details .property-detail-actions :is(button, a) {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 6px;
  border-color: #d4dcd8;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
}
#details .property-quick-facts {
  padding: 10px;
}
#details .property-quick-facts div {
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 8px;
  min-height: 64px;
  padding: 8px;
}
#details .property-fact-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: white;
}
#details .property-quick-facts dd {
  grid-row: 1;
  line-height: 1.2;
}
#details .property-quick-facts dt {
  grid-row: 2;
  line-height: 1.2;
}
#details .property-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
#details .property-section h3 svg {
  flex: none;
  color: #1b654c;
}
#details .property-description {
  line-height: 1.55;
}
#details .contact-actions {
  gap: 8px;
}
#details .contact-actions a,
#details .contact-actions button {
  gap: 6px;
  border-radius: 999px;
}
#details .contact-actions .property-save {
  flex: 0 0 44px;
  border-color: #cfdad4;
  color: #1b654c;
}
#details .property-save[aria-pressed="true"] svg {
  fill: currentColor;
}
#details .contact-actions .whatsapp {
  background: #1b654c;
  border-color: #1b654c;
  color: white;
}
#details .contact-actions .property-call {
  background: #142b35;
  color: white;
  text-decoration: none;
}
@media (max-width: 640px) {
  #details {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }
}

#details {
  --detail-surface: #f3f5f7;
  --detail-text: #192332;
  color: var(--detail-text);
  background: var(--detail-surface);
}
#details .property-detail-header {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  min-height: 60px;
  font-size: clamp(17px, 5vw, 22px);
}
#details .property-detail-body,
#details .property-quick-facts div {
  background: var(--detail-surface);
}
#details .property-listing-meta {
  display: grid;
  gap: 6px;
  margin-top: 7px;
  color: #475464;
  font-size: 13px;
}
#details .property-listing-meta span {
  overflow-wrap: anywhere;
}
#details .property-listing-meta time,
#details .property-enquiry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#details .property-enquiry {
  justify-self: start;
}
#details .property-quick-facts div {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 10px;
  min-height: 64px;
  border-radius: 14px;
}
#details .property-quick-facts dt,
#details .property-description {
  color: #475464;
}
#details .property-quick-facts dd {
  font-size: 15px;
}
#details .property-fact-icon svg,
#details .property-section h3 svg {
  width: 18px;
  height: 18px;
  margin: 0;
}
#details .property-section h3 {
  font-size: 20px;
  margin-bottom: 14px;
}
#details .contact-actions {
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px #1923320d;
}
#details .contact-actions a,
#details .contact-actions button {
  min-height: 46px;
}
#details .contact-actions .property-save {
  flex-basis: 46px;
}
#details .contact-actions .property-call {
  background: var(--detail-text);
}

.marketplace .search-alternatives {
  margin: 24px 0 0;
}
.marketplace .search-alternatives p {
  margin: 6px 0 14px;
  color: var(--muted);
}
.marketplace .recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 12px;
}
#details .recommendation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.marketplace .recommendation-card {
  min-width: 0;
  display: block;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid #dce6df;
  border-radius: 12px;
  background: #fff;
}
.marketplace .recommendation-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}
.marketplace .recommendation-card div {
  display: grid;
  gap: 4px;
  padding: 10px;
}
.marketplace .recommendation-card span {
  font-size: 14px;
  font-weight: 600;
}
.marketplace .recommendation-card small {
  color: var(--muted);
}
/* Start with a short preview, then browse a bounded page of results. */
.marketplace .results-heading { align-items: flex-start; margin-bottom: 24px; }
.marketplace .results-heading .eyebrow { display: block; color: #63816d; font-size: 10px; letter-spacing: 1.6px; margin-bottom: 10px; }
.marketplace #resultsIntro { margin: 10px 0 0; max-width: 520px; color: #60746a; font-size: 14px; line-height: 1.7; }
.results-heading-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.marketplace .view-all-listings { background: #edf5ef; border-color: #d4e3d8; color: #176646; border-radius: 12px; white-space: nowrap; }
.marketplace .view-all-listings:hover { background: #dfeee2; }
.marketplace .view-all-listings span { margin: 0; font-size: 18px; }
.marketplace #resultsFilters { margin: 0 0 22px; }
.results-browse-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 22px; }
#resultsRange { color: #73847a; font-size: 13px; margin: 0; }
#resultsRange:empty { display: none; }
#resultsPagination { display: flex; align-items: center; gap: 14px; height: auto; }
#resultsPagination button { min-height: 44px; height: auto; font-size: 13px; }
#resultsPagination button:disabled { opacity: .4; cursor: default; }
#resultsPageLabel { font-size: 13px; color: #60746a; white-space: nowrap; }
@media(max-width:740px) {
  .marketplace .results-heading { flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
  .marketplace .results-heading > div:first-child { width: 100%; }
  .marketplace .results-heading h2 { max-width: none; font-size: 27px; }
  .results-heading-actions { width: 100%; justify-content: flex-start; }
  .marketplace #resultsSort { flex-direction: row; align-items: center; gap: 8px; margin-left: auto; }
  .marketplace #resultsSort select { max-width: 160px; }
  .marketplace .view-all-listings { min-height: 44px; }
  .results-browse-footer { justify-content: center; gap: 12px; }
  #resultsRange { width: 100%; text-align: center; }
  #resultsPagination { width: 100%; justify-content: space-between; gap: 8px; }
  #resultsPagination button { padding-inline: 12px; }
}
.marketplace .preview-view-all { flex: 1 0 100%; width: 100%; min-height: 48px; order: 2; margin-top: 4px; background: #fff; border-color: #cbded0; }
.marketplace .preview-view-all:hover { background: #edf5ef; }
.marketplace #shortletPrice .shortlet-price-panel { padding: 20px; }
.marketplace .shortlet-price-bounds { gap: 16px; margin-block: 16px 22px; }
.marketplace #shortletPrice .buy-price-bound summary { gap: 12px; padding: 14px; min-height: 50px; }
.marketplace #shortletPrice .buy-price-bound summary span { min-width: 0; overflow-wrap: anywhere; }
.marketplace .shortlet-price-ranges { gap: 10px; }
.marketplace .shortlet-price-ranges button { min-height: 48px; padding: 12px; }
@media(max-width:440px) {
  .marketplace .shortlet-price-bounds { grid-template-columns: minmax(0,1fr); }
  .marketplace #shortletPrice .shortlet-price-panel { padding: 18px 16px; }
}
@media(max-width:740px) {
  .marketplace #shortletPrice .shortlet-price-panel {
    position: fixed; inset: auto 12px max(12px,env(safe-area-inset-bottom));
    z-index: 45; width: auto; max-height: 72dvh; overflow-y: auto;
    overscroll-behavior: contain; box-shadow: 0 8px 50px #163c3040;
    border-radius: 18px; background: #fff;
  }
}

#searchForm .listing-id-filter{grid-column:1/-1}#searchForm #listingId{width:100%;min-width:0;font-size:16px;letter-spacing:.025em}#searchForm #listingIdHelp{font-size:12px;line-height:1.5;letter-spacing:0;text-transform:none;font-weight:400;color:#65776c}
/* Popular budgets are explicit selectable buttons, including touch feedback. */
.marketplace #pricePresets button{border:1px solid #bdcebf;background:#f1f6ed;border-radius:10px;min-height:46px;padding:11px 14px;font-size:14px;font-weight:600;cursor:pointer;touch-action:manipulation;transition:background .12s,border-color .12s}
.marketplace #pricePresets button:hover{background:#e2eddf;border-color:#6b997d}
.marketplace #pricePresets button:active{background:#c9dfce}
.marketplace #pricePresets button[aria-pressed=true]{background:#176646;color:#fff;border-color:#176646;box-shadow:inset 0 0 0 1px #176646}
.marketplace #pricePresets button:focus-visible{outline:3px solid #70a584;outline-offset:3px}
/* Results headings receive reading focus after navigation, without a control outline. */
#resultsTitle:focus{outline:none}
.marketplace #resultsSort .custom-select-trigger.results-sort-icon{width:46px;min-width:46px;max-width:46px;min-height:44px;justify-content:center;padding:10px}
.marketplace #resultsSort .results-sort-icon::after{display:none}
/* A sort action uses opposing arrows, not the global dropdown chevron. */
.marketplace #resultsSort .custom-select-trigger.results-sort-icon::after{display:none!important;content:none!important}
.marketplace #resultsSort .results-sort-icon>svg{display:block;width:22px;height:22px;min-width:22px;flex:0 0 22px;overflow:visible}
