.h5s-shell{max-width:1250px;margin:0 auto;padding:35px 20px 70px;font-family:inherit}.h5s-heading h1{font-size:clamp(25px,3vw,35px);margin:0 0 6px}.h5s-heading p{color:#64748b;margin:0 0 26px}.h5s-layout{display:grid;grid-template-columns:275px minmax(0,1fr);gap:24px;align-items:start}.h5s-side{position:sticky;top:90px}.h5s-filter-details{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px}.h5s-filter-details summary{font-size:19px;font-weight:700;cursor:pointer;display:flex;justify-content:space-between}.h5s-form{display:grid;gap:14px;margin-top:18px}.h5s-field{display:grid;gap:6px}.h5s-field span{font-size:13px;font-weight:600;color:#475569}.h5s-field select,.h5s-field input{width:100%;min-width:0;padding:11px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1e293b;font-size:14px}.h5s-apply{background:#173b68;color:#fff;border:0;border-radius:9px;padding:12px;font-weight:700;cursor:pointer}.h5s-reset{text-align:center;color:#173b68;text-decoration:none;font-size:14px}.h5s-results{display:grid;gap:17px;min-width:0}.h5s-card{display:grid;grid-template-columns:35% minmax(0,1fr);background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;min-height:225px}.h5s-photo{display:flex;min-height:225px;background:#eef2f6;align-items:center;justify-content:center;text-decoration:none}.h5s-photo img{width:100%;height:100%;max-height:280px;object-fit:cover}.h5s-placeholder{color:#64748b}.h5s-card-body{padding:22px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}.h5s-type{font-size:12px;font-weight:700;color:#2563eb}.h5s-card h2{font-size:21px;line-height:1.35;margin:0}.h5s-card h2 a{text-decoration:none;color:#172b49}.h5s-locality,.h5s-facts{font-size:14px;color:#64748b;margin:0}.h5s-price{font-size:22px;font-weight:750;color:#162c4d;margin:4px 0}.h5s-view{font-weight:700;color:#173b68;text-decoration:none;margin-top:auto}.h5s-pages ul{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none}.h5s-pages a,.h5s-pages span{padding:8px 13px;border:1px solid #cbd5e1;border-radius:7px;text-decoration:none}.h5s-empty{padding:28px;border:1px dashed #cbd5e1;border-radius:12px}@media(max-width:800px){.h5s-layout{grid-template-columns:1fr}.h5s-side{position:static}.h5s-filter-details:not([open]) .h5s-form{display:none}.h5s-filter-details{padding:13px 17px}.h5s-card{grid-template-columns:1fr}.h5s-photo{height:220px;min-height:0}.h5s-photo img{max-height:none}.h5s-card-body{padding:18px}.h5s-card h2{font-size:19px}}@media(max-width:480px){.h5s-shell{padding:20px 12px 45px}.h5s-photo{height:205px}.h5s-price{font-size:20px}}

.h5s-budget-note{font-size:12px;line-height:1.5;color:#526478;margin:4px 0 12px}

/* H5 top filter bar: all destination pages sharing this results template. */
.h5s-shell{max-width:1480px!important;padding-top:24px!important}
.h5s-layout{display:flex!important;flex-direction:column!important;gap:22px!important}
.h5s-side{position:sticky!important;top:74px!important;z-index:40!important;width:100%!important;min-width:0!important}
.h5s-filter-details{padding:12px 16px!important;box-shadow:0 5px 20px rgba(19,46,80,.06)}
.h5s-filter-details>summary{font-size:14px!important;align-items:center!important;gap:10px!important}
.h5s-form{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;align-items:end!important;gap:10px!important;margin-top:12px!important}
.h5s-form>.h5s-field{min-width:0!important;position:relative!important}
.h5s-form>.h5s-field>span{font-size:12px!important}
.h5s-form>.h5s-field select,.h5s-form>.h5s-field input{min-height:44px!important}
.h5s-form>.h5s-multi-type .h5s-multi-options{position:absolute!important;top:100%!important;left:0!important;width:max(100%,245px)!important;max-width:min(320px,90vw)!important;max-height:330px!important;z-index:100!important;box-shadow:0 12px 32px rgba(0,0,0,.14)!important}
.h5s-form>.h5s-multi-type .h5s-multi-options[hidden]{display:none!important}
.h5s-form>.h5s-budget-note{grid-column:span 3!important;margin:0!important}
.h5s-form>.h5s-apply{min-height:44px!important}
.h5s-form>.h5s-reset{align-self:center!important}
.h5s-results{width:100%!important}
@media(max-width:1150px){.h5s-form{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:760px){.h5s-side{position:static!important}.h5s-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}.h5s-form>.h5s-budget-note{grid-column:1/-1!important}.h5s-form>.h5s-multi-type .h5s-multi-options{max-width:90vw!important}}
@media(max-width:440px){.h5s-form{grid-template-columns:1fr!important}.h5s-form>.h5s-budget-note{grid-column:1!important}.h5s-form>.h5s-multi-type .h5s-multi-options{position:relative!important;width:100%!important;max-width:100%!important}}


/* H5 REAL horizontal search toolbar — replaces left sidebar layout */
.h5s-shell{max-width:1480px!important}
.h5s-layout,.h5s-layout.h5s-horizontal-layout{display:flex!important;flex-direction:column!important;gap:22px!important;grid-template-columns:none!important}
.h5s-side.h5s-horizontal-ready{width:100%!important;position:sticky!important;top:75px!important;z-index:90!important}
.h5s-side.h5s-horizontal-ready .h5s-filter-details{padding:10px 12px!important;border-radius:12px!important}
.h5s-side.h5s-horizontal-ready .h5s-filter-details>summary{display:none!important}
.h5s-side.h5s-horizontal-ready .h5s-form{display:block!important;margin:0!important}
.h5s-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.h5s-filter-pop{position:relative;min-width:0}
.h5s-filter-pill{background:#fff!important;color:#203854!important;border:1px solid #d2dce7!important;border-radius:7px!important;padding:12px 14px!important;min-height:44px!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;cursor:pointer!important}
.h5s-filter-pill:hover,.h5s-filter-pill[aria-expanded=true]{background:#eaf7f4!important;border-color:#078575!important}
.h5s-filter-pop-panel{position:absolute!important;top:calc(100% + 8px)!important;left:0!important;min-width:270px!important;max-width:min(360px,90vw)!important;width:max-content!important;padding:16px!important;background:#fff!important;border:1px solid #d6e0ea!important;border-radius:12px!important;box-shadow:0 16px 42px rgba(12,36,63,.18)!important;z-index:120!important;display:flex!important;flex-direction:column!important;gap:12px!important}
.h5s-filter-pop-panel[hidden],.h5s-advanced[hidden],.h5s-multi-options[hidden]{display:none!important}
.h5s-filter-pop-panel>.h5s-field{width:100%!important;min-width:0!important}
.h5s-filter-pop-panel .h5s-multi-options{position:relative!important;top:auto!important;left:auto!important;width:100%!important;max-width:100%!important;max-height:260px!important;box-shadow:none!important}
.h5s-filter-pop-panel .h5s-budget-note{margin:0!important}
.h5s-pop-done,.h5s-advanced-foot button{background:#087e6a!important;color:#fff!important;border:0!important;border-radius:7px!important;padding:9px 18px!important;cursor:pointer!important;align-self:flex-end}
.h5s-toolbar>.h5s-apply{min-height:44px!important;padding:11px 17px!important}
.h5s-toolbar>.h5s-reset{font-size:13px!important}
.h5s-advanced{position:fixed!important;inset:0!important;z-index:10000!important}
.h5s-advanced-backdrop{position:absolute;inset:0;background:rgba(12,26,46,.45)}
.h5s-advanced-dialog{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 28px));max-height:85vh;display:flex;flex-direction:column;background:#fff;border-radius:15px;box-shadow:0 25px 70px rgba(0,0,0,.22)}
.h5s-advanced-head,.h5s-advanced-foot{padding:15px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8f0}
.h5s-advanced-head button{border:0;background:transparent;font-size:28px;cursor:pointer}
.h5s-advanced-body{padding:18px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;overflow:auto}
.h5s-advanced-body .h5s-filter-pop-panel{position:relative!important;top:auto!important;left:auto!important;width:100%!important;min-width:0!important;max-width:100%!important;box-shadow:none!important}
.h5s-advanced-body .h5s-filter-pill{width:100%!important;text-align:left!important}
.h5s-advanced-body .h5s-filter-pop-panel:not([hidden]){margin-top:6px}
.h5s-advanced-foot{border-top:1px solid #e2e8f0;border-bottom:0}
.h5s-results{width:100%!important}
@media(max-width:760px){.h5s-side.h5s-horizontal-ready{position:static!important}.h5s-toolbar{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.h5s-filter-pop{position:static}.h5s-filter-pop-panel{position:absolute!important;top:calc(100% + 4px)!important;left:8px!important}.h5s-advanced-body{grid-template-columns:1fr}}

/* Structural top-filter layout is enforced in the results template to bypass cached old sidebar CSS. */

/* Active filters: selected values shown with purple Housing-style treatment. */
.h5s-shell .h5s-filter-pill.h5s-has-selection{background:#f2edff!important;border-color:#6436f5!important;color:#5b28db!important;font-weight:600!important}
.h5s-shell .h5s-filter-pill.h5s-has-selection:hover{background:#e9e0ff!important}
.h5s-shell .h5s-toolbar>.h5s-apply{background:#6236ee!important;color:#fff!important;border:1px solid #6236ee!important;border-radius:7px!important;font-weight:700!important;padding:11px 18px!important}
.h5s-shell .h5s-toolbar>.h5s-apply:hover{background:#4c20ce!important}
.h5s-shell .h5s-filter-pop-panel>.h5s-pop-done{display:block!important;background:#6236ee!important;color:white!important;border-color:#6236ee!important;width:100%!important;text-align:center!important}
.h5s-shell .h5s-filter-pop-panel .h5s-multi-done{display:none!important}
.h5s-shell .h5s-toolbar .h5s-filter-pill{max-width:210px!important;overflow:hidden!important;text-overflow:ellipsis!important;display:inline-block!important}

/* H5 final combined top-filter corrections, October 2026 */
.h5s-shell .h5s-multi-options .h5s-multi-done{display:none!important}
.h5s-shell .h5s-filter-pop-panel>.h5s-pop-done{display:block!important;width:100%!important;background:#15365c!important;color:#fff!important;border:1px solid #15365c!important;border-radius:8px!important}
.h5s-shell .h5s-toolbar{display:flex!important;flex-wrap:nowrap!important;gap:9px!important;overflow-x:auto!important;overflow-y:visible!important;scrollbar-width:thin!important;padding:8px 3px 14px!important;align-items:center!important;max-width:100%!important}
.h5s-shell .h5s-toolbar>.h5s-filter-pop{flex:0 0 auto!important}
.h5s-shell .h5s-filter-actions{display:flex!important;align-items:center!important;gap:12px!important;padding:5px 3px 10px!important}
.h5s-shell .h5s-filter-actions .h5s-apply{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#15365c!important;color:white!important;border:1px solid #15365c!important;border-radius:8px!important;padding:12px 22px!important;font-weight:700!important;cursor:pointer!important}
.h5s-shell .h5s-filter-actions .h5s-apply:hover,.h5s-shell .h5s-filter-actions .h5s-apply:focus-visible{background:#008575!important;border-color:#008575!important;color:#fff!important}
.h5s-shell .h5s-filter-actions .h5s-apply:active{background:#006b5d!important;border-color:#006b5d!important}
.h5s-shell .h5s-filter-pop-panel{z-index:10002!important}
@media(max-width:760px){
 .h5s-shell .h5s-toolbar{width:100%!important;overflow-x:auto!important;flex-wrap:nowrap!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important}
 .h5s-shell .h5s-filter-actions{width:100%!important;display:flex!important;flex-wrap:nowrap!important}
 .h5s-shell .h5s-filter-actions .h5s-apply{flex:1!important;min-width:0!important}
 .h5s-shell .h5s-filter-pop-panel{position:fixed!important;top:185px!important;left:12px!important;right:12px!important;width:auto!important;min-width:0!important;max-width:none!important;max-height:min(62vh,480px)!important;overflow-y:auto!important;z-index:10002!important}
 .h5s-shell .h5s-filter-pop-panel .h5s-multi-options{max-height:36vh!important}
}

/* FINAL: No Done buttons, navy primary action, one horizontally scrolling filter row. */
.h5s-shell .h5s-filter-pop-panel .h5s-pop-done,
.h5s-shell .h5s-filter-pop-panel .h5s-multi-done,
.h5s-shell .h5s-multi-options .h5s-multi-done { display:none!important; }
.h5s-shell .h5s-toolbar { display:flex!important; flex-flow:row nowrap!important; align-items:center!important; gap:9px!important; overflow-x:auto!important; overflow-y:visible!important; width:100%!important; max-width:100%!important; -webkit-overflow-scrolling:touch!important; }
.h5s-shell .h5s-toolbar>.h5s-filter-actions { display:flex!important; flex:0 0 auto!important; align-items:center!important; gap:10px!important; width:auto!important; padding:0!important; margin:0!important; white-space:nowrap!important; }
.h5s-shell .h5s-toolbar .h5s-filter-actions .h5s-apply,
.h5s-shell .h5s-filter-actions .h5s-apply { display:inline-flex!important; background:#15365c!important; color:#fff!important; border:1px solid #15365c!important; border-radius:8px!important; font-weight:700!important; padding:12px 20px!important; min-height:44px!important; white-space:nowrap!important; }
.h5s-shell .h5s-toolbar .h5s-filter-actions .h5s-apply:hover,
.h5s-shell .h5s-toolbar .h5s-filter-actions .h5s-apply:focus-visible { background:#008575!important; border-color:#008575!important; color:#fff!important; }
.h5s-shell .h5s-toolbar .h5s-filter-actions .h5s-apply:active { background:#006b5d!important; border-color:#006b5d!important; }
@media(max-width:760px){
 .h5s-shell .h5s-toolbar>.h5s-filter-actions{width:auto!important;flex:0 0 auto!important;}
 .h5s-shell .h5s-toolbar .h5s-filter-actions .h5s-apply{flex:0 0 auto!important;}
}


/* Target the actual submit element after JS moves it into .h5s-filter-actions. */
.h5s-shell>.h5s-side.h5s-horizontal-ready button.h5s-apply,
.h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar button.h5s-apply,
.h5s-shell .h5s-form button.h5s-apply {
  appearance:none!important;-webkit-appearance:none!important;
  background-color:#15365c!important;background-image:none!important;
  color:#fff!important;border:1px solid #15365c!important;
  border-radius:8px!important;box-shadow:none!important;
  font-weight:700!important;opacity:1!important;
  min-height:46px!important;padding:12px 22px!important;
}
.h5s-shell>.h5s-side.h5s-horizontal-ready button.h5s-apply:hover,
.h5s-shell .h5s-form button.h5s-apply:hover {
 background-color:#008575!important;border-color:#008575!important;color:#fff!important;
}
/* One set of choices per top filter; no repeated label or nested select. */
.h5s-shell .h5s-filter-pop-panel .h5s-direct-choice-field > span,
.h5s-shell .h5s-filter-pop-panel .h5s-direct-choice-field > select {display:none!important}
.h5s-shell .h5s-filter-pop-panel .h5s-direct-choice-field {display:block!important;width:100%!important}
.h5s-shell .h5s-direct-choices {display:flex;flex-direction:column;gap:3px;max-height:48vh;overflow-y:auto}
.h5s-shell .h5s-direct-choice {width:100%;min-height:39px;padding:10px 12px;text-align:left;
 background:#fff;color:#173b68;border:0;border-radius:6px;cursor:pointer;font-size:13px}
.h5s-shell .h5s-direct-choice:hover,.h5s-shell .h5s-direct-choice.is-selected {background:#e9f5f2;color:#007f6b;font-weight:600}

/* Hide only the repeated Property Type heading inside the open top filter. */
.h5s-shell .h5s-filter-pop-panel .h5s-multi-type > #h5s-type-label { display: none !important; }

/* v15 reference corrections: direct checkbox options, no nested headings or triggers. */
.h5s-shell .h5s-filter-pop-panel.h5s-direct-multi-panel{gap:0!important;padding:8px!important;}
.h5s-shell .h5s-direct-multi-panel .h5s-multi-type>span,
.h5s-shell .h5s-direct-multi-panel .h5s-multi-type>.h5s-multi-trigger{display:none!important;}
.h5s-shell .h5s-direct-multi-panel .h5s-multi-options,
.h5s-shell .h5s-direct-multi-panel .h5s-multi-options[hidden]{display:flex!important;position:static!important;width:100%!important;max-width:100%!important;max-height:min(55vh,390px)!important;margin:0!important;padding:3px!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow-y:auto!important;}
.h5s-shell .h5s-direct-multi-panel .h5s-multi-option{padding:10px 12px!important;min-height:42px!important;}
.h5s-shell .h5s-direct-multi-panel .h5s-multi-option:has(input:checked){background:#e9f6f2!important;color:#007d6d!important;border-radius:6px!important;}
.h5s-shell .h5s-direct-multi-panel .h5s-multi-heading{margin-top:8px!important;}
.h5s-shell .h5s-toolbar .h5s-filter-actions button.h5s-apply{background:#15365c!important;color:#fff!important;border-color:#15365c!important;}
.h5s-shell .h5s-toolbar .h5s-filter-actions button.h5s-apply:hover{background:#008575!important;border-color:#008575!important;}

/* H5 Location Master search: two intentionally grouped rows on desktop. */
@media(min-width:761px){
 .h5s-shell .h5s-toolbar{display:grid!important;grid-template-columns:repeat(7,minmax(0,max-content))!important;grid-auto-flow:row!important;justify-content:start!important;overflow:visible!important;row-gap:12px!important;column-gap:9px!important;}
 .h5s-shell .h5s-toolbar>.h5s-filter-pop{min-width:0!important;}
}
@media(max-width:760px){.h5s-shell .h5s-toolbar{overflow-x:auto!important;}}
@media(max-width:760px){
 .h5s-shell .h5s-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;overflow:visible!important;}
 .h5s-shell .h5s-toolbar>.h5s-filter-pop{width:100%!important;min-width:0!important;}
 .h5s-shell .h5s-toolbar .h5s-filter-pill{width:100%!important;max-width:100%!important;text-align:left!important;}
}

/* FIX: 2026-10-31 — two clean rows; no sideways toolbar or overlapping controls. */
@media(min-width:761px){
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
  grid-auto-flow:row!important;gap:10px!important;overflow:visible!important;
  align-items:stretch!important;width:100%!important;max-width:100%!important;
  padding:2px 0 4px!important;
 }
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar>.h5s-filter-pop{
  display:block!important;min-width:0!important;width:100%!important;max-width:100%!important;
 }
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar .h5s-filter-pill{
  width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;text-align:left!important;display:block!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
 }
}
@media(min-width:761px) and (max-width:1150px){
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media(max-width:760px){
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;overflow:visible!important;}
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar>.h5s-filter-pop{min-width:0!important;width:100%!important;}
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar .h5s-filter-pill{width:100%!important;max-width:100%!important;box-sizing:border-box!important;text-align:left!important;}
}
.h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-filter-heading{display:flex!important;align-items:center!important;margin:0 0 12px!important;}
.h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-form>.h5s-filter-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;margin:12px 0 0!important;}
.h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-form>.h5s-filter-actions>.h5s-apply{width:100%!important;}
.h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-form>.h5s-filter-actions>.h5s-reset{text-align:center!important;}

/* H5 Reality desktop: twelve filters in ONE row, without horizontal scrolling.
   Mobile rules remain unchanged. */
@media (min-width: 1100px) {
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar {
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  gap:5px!important;
  width:100%!important;max-width:100%!important;
  overflow:visible!important;
  padding:4px 0!important;
  align-items:stretch!important;
 }
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar>.h5s-filter-pop {
  min-width:0!important;max-width:100%!important;width:100%!important;
  flex:none!important;
 }
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar .h5s-filter-pill {
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  box-sizing:border-box!important;white-space:nowrap!important;overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:11px!important;line-height:17px!important;
  padding:10px 7px!important;min-height:39px!important;
  letter-spacing:-.2px!important;
 }
 .h5s-shell>.h5s-side.h5s-horizontal-ready .h5s-toolbar .h5s-filter-pop-panel {
  min-width:190px;z-index:100;
 }
}
