/* Casa Direct V30.1 — privacy-safe approximate property maps */
.property-location-card{margin:28px 0 0;border:1px solid #dce5dc;border-radius:24px;background:#f7faf6;overflow:hidden}.property-location-copy{padding:22px 24px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.property-location-copy h3{margin:4px 0 7px;font-size:1.35rem;letter-spacing:-.035em;color:#101710}.property-location-copy p{margin:0;color:#627067;line-height:1.55;font-size:.92rem}.property-location-kicker{font-size:.69rem;text-transform:uppercase;letter-spacing:.16em;font-weight:900;color:#577063}.property-location-place{margin-top:8px;font-weight:850;color:#142018;font-size:.98rem}.property-location-badge{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#eafac4;color:#183018;font-size:.74rem;font-weight:850;white-space:nowrap}.property-location-badge:before{content:"";width:8px;height:8px;border-radius:50%;background:#79ae00;box-shadow:0 0 0 4px rgba(121,174,0,.14)}.property-location-map{height:360px;background:#e8eee7;position:relative}.property-location-map .leaflet-container{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.property-location-map .leaflet-control-attribution{font-size:10px}.property-location-footer{padding:15px 24px 19px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #e1e9e0;background:#fff}.property-location-footer span{font-size:.78rem;line-height:1.45;color:#66736a;max-width:720px}.property-location-footer a{font-size:.78rem;font-weight:900;color:#173019;text-decoration:none;white-space:nowrap}.property-location-footer a:hover{text-decoration:underline}.property-location-fallback{height:100%;display:grid;place-items:center;text-align:center;padding:30px;color:#5f6d63}.property-location-fallback strong{display:block;color:#142018;margin-bottom:5px}.leaflet-container .casa-location-dot{background:#aaf400;border:4px solid #102014;border-radius:50%;width:18px!important;height:18px!important;margin-left:-9px!important;margin-top:-9px!important;box-shadow:0 0 0 8px rgba(170,244,0,.3)}
@media(max-width:700px){.property-location-copy{padding:20px;display:block}.property-location-badge{margin-top:14px}.property-location-map{height:310px}.property-location-footer{padding:14px 20px 18px;display:block}.property-location-footer a{display:inline-block;margin-top:10px}}

/* V30.1 map rendering fix: isolate the map from page CSS and browser tile issues. */
.property-location-map{overflow:hidden;isolation:isolate}
.property-location-frame{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:#e8eee7;pointer-events:none}
.property-location-zone{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:2px solid rgba(91,129,0,.88);background:rgba(170,244,0,.18);box-shadow:0 0 0 1px rgba(255,255,255,.65) inset,0 10px 30px rgba(50,75,20,.12);border-radius:50%;pointer-events:none;display:grid;place-items:center;z-index:3}
.property-location-zone-property{width:min(190px,42%);aspect-ratio:1}
.property-location-zone-town{width:min(270px,58%);aspect-ratio:1}
.property-location-zone span{background:rgba(17,23,19,.88);color:#fff;border-radius:999px;padding:6px 9px;font-size:.65rem;font-weight:850;box-shadow:0 6px 18px rgba(0,0,0,.18)}
@media(max-width:700px){.property-location-zone-property{width:min(160px,46%)}.property-location-zone-town{width:min(225px,64%)}}

/* Casa Direct V38.9.5 — aligned area selector and preferred province order */
.search-bar.search-bar-live.casa-radius-search-installed{
  grid-template-columns:minmax(200px,1.15fr) minmax(175px,.95fr) minmax(145px,.80fr) minmax(140px,.75fr) minmax(180px,1fr) minmax(145px,.80fr) minmax(180px,.95fr);
  gap:10px;
  align-items:stretch;
  overflow:visible;
  width:100%;
  max-width:100%;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfa 100%);
  border:1px solid rgba(17,23,19,.07);
  border-radius:28px;
  padding:16px;
  box-shadow:0 22px 58px rgba(14,31,20,.09);
  margin-bottom:15px;
}
.search-bar.search-bar-live.casa-radius-search-installed .casa-search-lifestyle-hidden{
  display:none!important;
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field{
  position:relative;
  min-width:0;
  min-height:88px;
  padding:13px 14px 12px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:7px;
  overflow:visible;
  background:#f8faf7;
  border:1px solid #e0e7de;
  border-radius:17px;
  border-right:1px solid #e0e7de;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field:hover{
  background:#ffffff;
  border-color:#d2ddd0;
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field:focus-within{
  background:#ffffff;
  border-color:#99c932;
  box-shadow:0 0 0 4px rgba(170,244,0,.16);
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field>label{
  display:block;
  margin:0;
  color:#6d776f;
  font-size:.70rem;
  line-height:1.1;
  font-weight:850;
  letter-spacing:.10em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field select,
.search-bar.search-bar-live.casa-radius-search-installed .search-field input{
  width:100%;
  min-width:0;
  min-height:34px;
  margin:0;
  padding:0 23px 0 0;
  border:0!important;
  outline:0!important;
  background-color:transparent!important;
  color:#111713;
  box-shadow:none!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font:750 .87rem/1.2 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field select{
  appearance:none;
  -webkit-appearance:none;
  background-image:linear-gradient(45deg,transparent 50%,#68736b 50%),linear-gradient(135deg,#68736b 50%,transparent 50%)!important;
  background-position:calc(100% - 12px) calc(50% - 3px),calc(100% - 6px) calc(50% - 3px)!important;
  background-size:6px 6px,6px 6px!important;
  background-repeat:no-repeat!important;
}
.search-bar.search-bar-live.casa-radius-search-installed .reference-search-field input{
  padding-right:0;
}
.search-bar.search-bar-live.casa-radius-search-installed .reference-search-field input::placeholder{
  color:#8a928c;
  opacity:1;
}
.search-bar.search-bar-live.casa-radius-search-installed>.btn{
  min-width:180px;
  max-width:100%;
  min-height:58px;
  padding:16px 18px;
  align-self:center;
  border-radius:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:.92rem;
  font-weight:850;
  white-space:nowrap;
  box-shadow:0 14px 28px rgba(127,184,0,.18);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.search-bar.search-bar-live.casa-radius-search-installed>.btn:after{
  content:"→";
  font-size:1.12em;
  line-height:1;
}
.search-bar.search-bar-live.casa-radius-search-installed>.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 17px 34px rgba(127,184,0,.24);
  filter:saturate(1.03);
}
.casa-area-multi-field{
  overflow:visible!important;
  z-index:20!important;
}
.casa-area-selector{
  position:relative;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.casa-area-trigger{
  appearance:none;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#111713;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  text-align:left;
  cursor:pointer;
  font:inherit;
}
.casa-area-trigger-main{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.casa-area-leading-icon,
.casa-radius-leading-icon{
  width:26px;
  height:26px;
  flex:0 0 26px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#edf4e8;
  color:#446236;
}
.casa-area-leading-icon svg,
.casa-radius-leading-icon svg{
  width:15px;
  height:15px;
  stroke:currentColor;
}
.casa-area-trigger-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
.casa-area-trigger strong{
  display:block;
  min-width:0;
  color:#111713;
  font-size:.90rem;
  line-height:1.15;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.casa-area-trigger small{
  display:block;
  min-width:0;
  color:#7b847e;
  font-size:.67rem;
  line-height:1.15;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.casa-area-trigger-chevron{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:grid;
  place-items:center;
  color:#68736b;
  transition:transform .18s ease;
}
.casa-area-trigger-chevron svg{
  width:16px;
  height:16px;
  stroke:currentColor;
}
.casa-area-trigger[aria-expanded="true"] .casa-area-trigger-chevron{
  transform:rotate(180deg);
}
.casa-area-chips{
  display:flex;
  flex-wrap:nowrap;
  gap:5px;
  margin:0;
  min-width:0;
  overflow:hidden;
}
.casa-area-chips:empty{
  display:none;
}
.casa-area-chips button{
  appearance:none;
  min-width:0;
  max-width:125px;
  padding:6px 8px;
  border:1px solid #d5e0d1;
  border-radius:999px;
  background:#ffffff;
  color:#223d24;
  display:inline-flex;
  align-items:center;
  gap:5px;
  cursor:pointer;
  box-shadow:0 2px 7px rgba(10,24,14,.045);
  font:750 .67rem/1 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.casa-area-chips button:hover{
  background:#f6faf3;
  border-color:#bfd0b7;
}
.casa-area-chips button span{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.casa-area-chips button b{
  font-size:.76rem;
  color:#6b766e;
}
.casa-area-count{
  display:block;
  color:#6f9e00;
  font-size:.66rem;
  line-height:1.15;
  font-weight:850;
}
.casa-area-count[hidden]{
  display:none!important;
}
.casa-area-multi-field.has-selection .casa-area-selector{
  gap:4px;
}
.casa-area-multi-field.has-selection .casa-area-trigger{
  position:absolute;
  top:1px;
  right:0;
  width:20px;
  height:24px;
  z-index:2;
}
.casa-area-multi-field.has-selection .casa-area-trigger-main{
  display:none;
}
.casa-area-multi-field.has-selection .casa-area-chips{
  padding-right:24px;
}
.casa-area-multi-field.has-selection .casa-area-chips button{
  flex:0 1 auto;
}
.casa-area-popover{
  position:absolute;
  left:-6px;
  top:calc(100% + 12px);
  width:min(430px,calc(100vw - 44px));
  padding:14px;
  background:#ffffff;
  border:1px solid #d9e2d6;
  border-radius:20px;
  box-shadow:0 30px 70px rgba(9,24,14,.2);
  z-index:500;
}
.casa-area-popover[hidden]{display:none!important}
.casa-area-search-wrap{
  position:relative;
}
.casa-area-search-icon{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  width:17px;
  height:17px;
  color:#758077;
  pointer-events:none;
}
.casa-area-search-icon svg{
  width:17px;
  height:17px;
  stroke:currentColor;
}
.casa-area-popover input[type="search"]{
  width:100%;
  min-height:44px;
  padding:11px 12px 11px 39px!important;
  border:1px solid #dce4d9!important;
  border-radius:13px!important;
  background:#f8faf7!important;
  box-shadow:none!important;
  font-size:.9rem!important;
  font-weight:650!important;
}
.casa-area-popover input[type="search"]:focus{
  border-color:#9fcf38!important;
  box-shadow:0 0 0 3px rgba(170,244,0,.14)!important;
}
.casa-area-options{
  max-height:320px;
  overflow:auto;
  margin-top:9px;
  padding-right:3px;
  scrollbar-width:thin;
}
.casa-area-group{
  position:sticky;
  top:0;
  z-index:1;
  padding:10px 7px 6px;
  background:#ffffff;
  color:#879088;
  font-size:.62rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field .casa-area-option{
  position:relative;
  min-height:44px;
  margin:0;
  padding:9px 10px;
  border-radius:11px;
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:12px!important;
  color:#1f2d22;
  cursor:pointer;
  font-size:.82rem!important;
  line-height:1.25!important;
  font-weight:720!important;
  letter-spacing:normal!important;
  text-transform:none!important;
  white-space:normal!important;
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field .casa-area-option:hover{
  background:#f2f7ed;
}
.search-bar.search-bar-live.casa-radius-search-installed .search-field .casa-area-option-input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:0!important;
  min-height:0!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  background:none!important;
  box-shadow:none!important;
}
.casa-area-option-checkbox{
  grid-column:1;
  width:20px;
  height:20px;
  margin:0;
  border:1.5px solid #c5d0c2;
  border-radius:6px;
  background:#fff;
  color:#132016;
  display:grid;
  place-items:center;
  box-shadow:0 1px 2px rgba(9,24,14,.04);
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.casa-area-option-checkbox svg{
  width:13px;
  height:13px;
  stroke:currentColor;
  opacity:0;
  transform:scale(.72);
  transition:opacity .14s ease,transform .14s ease;
}
.casa-area-option-input:checked + .casa-area-option-checkbox{
  border-color:#78a900;
  background:#aaf400;
  box-shadow:0 0 0 3px rgba(170,244,0,.16);
}
.casa-area-option-input:checked + .casa-area-option-checkbox svg{
  opacity:1;
  transform:scale(1);
}
.casa-area-option-input:focus-visible + .casa-area-option-checkbox{
  outline:0;
  box-shadow:0 0 0 4px rgba(170,244,0,.24);
}
.casa-area-option-label{
  grid-column:2;
  display:block!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
  color:#26352a!important;
  font-size:.82rem!important;
  line-height:1.25!important;
  font-weight:750!important;
  letter-spacing:normal!important;
  text-transform:none!important;
  white-space:normal!important;
}
.casa-area-empty{
  padding:24px 10px;
  text-align:center;
  color:#748078;
  font-size:.8rem;
}
.casa-area-clear{
  appearance:none;
  margin-top:6px;
  padding:9px 7px 2px;
  border:0;
  background:transparent;
  color:#355d30;
  cursor:pointer;
  font-size:.72rem;
  font-weight:850;
}
.casa-radius-field{z-index:2!important}
.casa-radius-control{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.casa-radius-control select{
  min-width:0;
  flex:1;
}
.casa-radius-field select:disabled{
  opacity:.52;
  cursor:not-allowed;
}
.search-helper-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 10px;
  margin:11px 2px 15px;
}
.search-helper-row>span{
  color:#758078;
  font-size:.75rem;
  font-weight:750;
}
.search-helper-row button{
  appearance:none;
  padding:8px 13px;
  border:1px solid #dbe4d8;
  border-radius:999px;
  background:#ffffff;
  color:#1d2a20;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
  font:750 .73rem/1 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.search-helper-row button:hover{
  transform:translateY(-1px);
  background:#f6faf3;
  border-color:#bfd0b7;
}
.results-meta{margin-top:3px}
@media(max-width:1420px){
  .search-bar.search-bar-live.casa-radius-search-installed{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .search-bar.search-bar-live.casa-radius-search-installed>.btn{
    grid-column:1/-1;
    width:100%;
    min-width:0;
    max-width:none;
    min-height:58px;
  }
}
@media(max-width:900px){
  .search-bar.search-bar-live.casa-radius-search-installed{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:620px){
  .search-bar.search-bar-live.casa-radius-search-installed{
    grid-template-columns:1fr;
    gap:9px;
    padding:13px;
    border-radius:24px;
  }
  .search-bar.search-bar-live.casa-radius-search-installed .search-field{
    min-height:auto;
    padding:13px 14px;
  }
  .search-bar.search-bar-live.casa-radius-search-installed>.btn{
    min-height:56px;
    grid-column:auto;
    border-radius:18px;
  }
  .casa-area-popover{
    position:fixed;
    left:12px;
    right:12px;
    top:auto;
    bottom:calc(76px + env(safe-area-inset-bottom));
    width:auto;
    max-height:min(72vh,620px);
    padding:14px;
    border-radius:20px;
    z-index:9999;
  }
  .casa-area-options{max-height:min(50vh,410px)}
}
