/* Buyer & rental searches (Test 3): one view at a time, Buying | Renting toggle,
   price bands as dropdowns. Same quiet language as the off-market filters. */

html body.site.searches-page .page-head h1{font-weight:300}

/* filter band between two hairlines */
html body.site.searches-page .filters{
  display:flex;flex-wrap:nowrap;align-items:flex-end;gap:28px;
  background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:28px 0 30px;margin-bottom:28px
}
html body.site.searches-page .filters .field{flex:1 1 0;min-width:0;margin:0}
html body.site.searches-page .filters .field:first-of-type{flex:1.4 1 0}
html body.site.searches-page .filters .field label,
html body.site.searches-page .sfilters__type legend{
  display:block;margin:0 0 8px;padding:0;
  font:600 .625rem/1.4 var(--font-body);letter-spacing:.22em;text-transform:uppercase;color:var(--slate)
}
html body.site.searches-page .filters input,
html body.site.searches-page .filters select{
  height:42px;border:0;border-bottom:1px solid var(--mist);border-radius:0;background-color:transparent;
  padding:0 22px 0 0;line-height:1.5;font-size:.9375rem;font-weight:400;color:var(--ink);box-shadow:none
}
html body.site.searches-page .filters input:focus,
html body.site.searches-page .filters select:focus{outline:none;border-bottom-color:var(--slate)}
html body.site.searches-page .filters input::placeholder{color:#8b9aa4}
html body.site.searches-page .filters .btn{
  flex:0 0 auto;height:42px;background:transparent;color:var(--slate);border:1px solid var(--slate);border-radius:0;
  font:600 .625rem/1 var(--font-body);letter-spacing:.22em;text-transform:uppercase;padding:0 26px;
  transition:background .3s ease,color .3s ease
}
html body.site.searches-page .filters .btn:hover{background:var(--slate);color:#fff}

/* Buying | Renting: a two-option segmented toggle (radios, so only one can ever be on) */
html body.site.searches-page .sfilters__type{flex:0 0 auto;border:0;margin:0;padding:0;min-width:0}
html body.site .seg-toggle{display:inline-flex;border:1px solid var(--slate);height:42px}
html body.site .seg-toggle label{position:relative;display:flex;margin:0;cursor:pointer}
html body.site .seg-toggle input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
html body.site .seg-toggle span{
  display:flex;align-items:center;padding:0 22px;
  font:600 .625rem/1 var(--font-body);letter-spacing:.22em;text-transform:uppercase;color:var(--slate);
  transition:background .3s ease,color .3s ease
}
html body.site .seg-toggle label+label span{border-left:1px solid var(--slate)}
html body.site .seg-toggle input:checked+span{background:var(--slate);color:#fff}
html body.site .seg-toggle label:hover input:not(:checked)+span{background:rgba(183,199,211,.25)}
html body.site .seg-toggle input:focus-visible+span{outline:2px solid var(--slate);outline-offset:2px}

html body.site.searches-page .results-count{
  font-size:.625rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);margin:0 0 32px
}

@media (max-width:1100px){
  html body.site.searches-page .filters{flex-wrap:wrap;gap:22px 24px}
  html body.site.searches-page .sfilters__type{flex:1 1 100%}
  html body.site.searches-page .filters .field{flex:1 1 calc(25% - 24px)}
}
@media (max-width:640px){
  html body.site.searches-page .filters{gap:20px 16px;padding:24px 0}
  html body.site.searches-page .seg-toggle{display:flex;width:100%}
  html body.site.searches-page .seg-toggle label{flex:1 1 50%}
  html body.site.searches-page .seg-toggle span{width:100%;justify-content:center}
  html body.site.searches-page .filters .field{flex:1 1 calc(50% - 8px)}
  html body.site.searches-page .filters .field:first-of-type{flex:1 1 100%}
  html body.site.searches-page .filters .btn{flex:1 1 100%}
}

/* search cards on this page (and the agent profile): lighter, hairline, outline badge */
html body.site.searches-page .scard,html body.site.profile-page .scard{border:1px solid var(--line);border-top:1px solid var(--line);background:#fff;padding:28px;gap:10px;transition:border-color .3s ease}
html body.site.searches-page .scard:hover,html body.site.profile-page .scard:hover{border-color:var(--slate)}
html body.site.searches-page .scard .pill,html body.site.profile-page .scard .pill{
  background:transparent;color:var(--slate);border:1px solid var(--mist);border-radius:0;
  font:600 .5625rem/1 var(--font-body);letter-spacing:.22em;text-transform:uppercase;padding:7px 10px 6px
}
html body.site.searches-page .scard__pos,html body.site.profile-page .scard__pos{font-size:.6875rem;letter-spacing:.06em;color:var(--muted)}
html body.site.searches-page .scard h3,html body.site.profile-page .scard h3{font-family:var(--font-display);font-weight:300;font-size:1.3125rem;line-height:1.3;margin:12px 0 4px}
html body.site.searches-page .scard__budget,html body.site.profile-page .scard__budget{font-weight:400;font-size:.9375rem;letter-spacing:.02em;color:var(--ink-3)}
html body.site.searches-page .scard .tag,html body.site.profile-page .scard .tag{font-size:.75rem;border-color:var(--line);background:transparent}
html body.site.searches-page .scard__agent,html body.site.profile-page .scard__agent{font-size:.75rem;color:var(--muted)}

/* Search detail: Similar searches as a full-width carousel (same look as the profile carousels). */
html body.site.search-detail .sd-more{background:#fff;padding:var(--s8) 0}
html body.site.search-detail .carousel--similar .carousel__head{align-items:flex-end}
html body.site.search-detail .carousel--similar .carousel__track{--per:3;--gap:32px}
html body.site.search-detail .carousel--similar .carousel__slide{display:flex}
html body.site.search-detail .carousel--similar .carousel__slide .scard{flex:1 1 auto}
html body.site.search-detail .carousel--similar .carousel__btn{width:40px;height:40px;border-color:var(--line);background:transparent;color:var(--ink-3)}
html body.site.search-detail .carousel--similar .carousel__btn:hover{border-color:var(--slate);color:var(--slate);background:#fff}
html body.site.search-detail .carousel--similar.carousel--fits .carousel__btn{display:none}
@media (max-width:1100px){html body.site.search-detail .carousel--similar .carousel__track{--per:2}}
@media (max-width:640px){
  html body.site.search-detail .sd-more{padding:var(--s7) 0}
  html body.site.search-detail .carousel--similar .carousel__head{flex-wrap:nowrap}
  html body.site.search-detail .carousel--similar .carousel__track{--gap:16px;grid-auto-columns:calc((100% - 16px) / 1.15)}
}
