/* fb1: filter bar (Price, Beds & baths, Property type, Filters, Save search) next to "Sort by". Palette navy #1D4E89 / orange #C2410C. Built by fb1.js. */
.lbar .fb{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;--n:#1D4E89;--o:#C2410C;--ln:#D5DEE8;color:#14243a}
.fb-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.fb-tag{font-weight:700;color:var(--n);padding:0 4px;white-space:nowrap}
.fb-dd{position:relative}
.fb-b,.fb-save{font:inherit;font-size:.95rem;line-height:1.2;min-height:44px;padding:8px 14px;border:1px solid var(--n);border-radius:999px;background:#fff;color:var(--n);cursor:pointer;white-space:nowrap}
.fb-b::after{content:"";display:inline-block;margin-left:8px;border:4px solid transparent;border-top-color:currentColor;vertical-align:-2px}
.fb-b[aria-expanded=true]{box-shadow:0 0 0 3px #FDBA74}
.fb-b.on{background:var(--n);color:#fff}
.fb-save{border-color:var(--o);color:var(--o);font-weight:700}
.fb-b:focus-visible,.fb-save:focus-visible,.fb-seg label:focus-within,.fb-see:focus-visible{outline:3px solid #FDBA74;outline-offset:2px}
.fb-p{position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:min(360px,92vw);max-height:80vh;overflow:auto;background:#fff;border:1px solid var(--ln);border-radius:12px;box-shadow:0 10px 30px rgba(20,36,58,.22);padding:16px;text-align:left;white-space:normal}
.fb-p[hidden]{display:none!important}
.fb-p h4{margin:0 0 8px;font-size:1.05rem;color:var(--n)}
.fb-p h5{margin:14px 0 6px;font-size:.95rem;color:var(--n)}
.fb-seg{display:flex;flex-wrap:wrap;gap:0;border:1px solid var(--n);border-radius:8px;overflow:hidden}
.fb-seg input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.fb-seg label{flex:1 1 0;min-width:44px;text-align:center;padding:10px 6px;margin:0;border-right:1px solid var(--n);color:var(--n);background:#fff;cursor:pointer;font-size:.95rem}
.fb-seg label:last-of-type{border-right:0}
.fb-seg input:checked+label{background:var(--n);color:#fff;font-weight:700}
.fb-grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fb-grid2 input,.fb-seg3 input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.fb-tog{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 6px;border:1px solid var(--n);border-radius:10px;background:#fff;color:var(--n);cursor:pointer;margin:0;font-size:.95rem;text-align:center}
.fb-tog i{font-style:normal;font-size:1.5rem;line-height:1}
.fb-grid2 input:checked+.fb-tog,.fb-seg3 input:checked+.fb-tog{background:var(--n);color:#fff;font-weight:700}
.fb-seg3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.fb-chk{display:flex;gap:8px;align-items:center;margin:10px 0 0;font-size:.95rem}
.fb-chk input{width:20px;height:20px;accent-color:var(--n)}
.fb-f{display:grid;gap:4px;margin:8px 0;font-size:.9rem}
.fb-f input,.fb-f select{font:inherit;min-height:44px;padding:8px 10px;border:1px solid #9fb2c8;border-radius:8px;width:100%;box-sizing:border-box}
.fb-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fb-see{display:block;width:100%;margin-top:16px;min-height:48px;border:0;border-radius:10px;background:var(--n);color:#fff;font:inherit;font-weight:700;font-size:1rem;cursor:pointer}
.fb-see:hover{background:#163c6b}
.fb-mut{font-size:.85rem;color:#4a5b70;margin:8px 0 0}
.fb-mut a{color:var(--n);font-weight:700}
.fb-st{flex:1 1 100%;font-size:.95rem;color:#14243a;min-height:1px}
.fb-st button{font:inherit;background:none;border:0;color:var(--o);font-weight:700;text-decoration:underline;cursor:pointer;padding:6px}
.fb-note{flex:1 1 100%;margin:4px 0;padding:8px 12px;background:#F7FAFD;border-left:4px solid var(--o);border-radius:6px;font-size:.95rem}
.lcard.fb-off{display:none!important}
.fb-none{margin:14px 0;padding:14px;border:1px dashed var(--n);border-radius:10px;color:#14243a}
/* desktop: Sort by and the filter bar share one row (wraps under Sort by only when the page is too narrow) */
@media (min-width:601px){.lbar{align-items:center;column-gap:10px;row-gap:6px}.lbar .fb{flex:1 1 0;min-width:min(100%,640px)}.lbar .lsort select{font-size:.95rem;padding-right:30px}.fb-b,.fb-save{padding:8px 11px;font-size:.92rem}.fb-row{gap:6px}}
@media (max-width:600px){
 .lbar{flex-wrap:wrap!important}
 .lbar .fb{flex:1 1 100%;order:3;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
 .fb-row{flex-wrap:nowrap}
 .fb-st,.fb-note{position:sticky;left:0}
 .fb-p{position:fixed;left:8px;right:8px;bottom:8px;top:auto;width:auto;max-height:78vh;z-index:60}
}

/* fold-in of the existing pet filters (#pf) and the low-fee checkbox */
#listings>.pf{display:none!important}
.fb-park{display:none}
.fb-p.fb-wide{width:min(560px,94vw)}
.fb-p .pf{margin:8px 0;padding:10px;border:1px solid var(--ln);border-radius:10px}
.fb-p .pf-st,.fb-p .pf-reset{display:none!important}
.fb-slot{margin:0}

/* home mode (home-new-1028): search box above the New listings grid, results grid, Show more, Added line */
.hn-search{max-width:640px;margin:10px 0 14px}
.hn-search label{display:block;font-weight:700;font-size:1.05rem;color:#1D4E89;margin-bottom:6px}
.hn-row{display:flex;gap:8px;flex-wrap:wrap}
.hn-row input{flex:1 1 220px;min-width:0;font-size:16px;padding:12px 14px;border:2px solid #1D4E89;border-radius:10px;color:#1f2937;background:#fff;min-height:44px;box-sizing:border-box}
.hn-row button{background:#C2410C;color:#fff;border:0;border-radius:10px;padding:12px 20px;font-size:16px;font-weight:700;cursor:pointer;min-height:44px}
.hn-row button:hover{background:#9A3412}
.hn-off,.hn-res[hidden],.hn-more-wrap[hidden]{display:none!important}
.hn-more-wrap{text-align:center;margin:16px 0 0}
.hn-more{min-height:48px;padding:10px 22px;font-size:1rem}
.lc-added{margin-top:8px;font-size:.85rem;color:#4a5b70}
#new-listings .lbar{margin-bottom:12px}
/* combined-1029: the "Showing X of Y homes." line is always visible on its own row, above the filter buttons on phones */
.fb-st{font-weight:600}
@media(max-width:700px){.lbar .fb{flex-wrap:wrap;overflow-x:visible}.lbar .fb>.fb-row{flex:1 1 100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}.lbar .fb .fb-st{order:-1;flex:1 1 100%;position:static}}
/* big-dog-1031: one-tap Big dog friendly chip + helper line */
.fb-big{font:inherit;font-size:.95rem;font-weight:700;line-height:1.2;min-height:44px;padding:8px 14px;border:2px solid var(--o);border-radius:999px;background:#FFF7ED;color:var(--o);cursor:pointer;white-space:nowrap}
.fb-big.on{background:var(--o);color:#fff}
.fb-big:focus-visible{outline:3px solid #FDBA74;outline-offset:2px}
.fb-bighelp{flex:1 1 100%;font-size:.88rem;color:#7c2d12;background:#FFF7ED;border-left:4px solid var(--o);border-radius:6px;padding:6px 10px}
.fb-bighelp[hidden]{display:none!important}
@media(max-width:700px){.lbar .fb .fb-bighelp{order:-1}}
/* mobile-1031: iOS Safari clipped the Filters sheet because it sat inside the horizontally scrolling button row
   (-webkit-overflow-scrolling:touch makes a clipping/scrolling context for position:fixed children). Phones now wrap the
   buttons instead of side-scrolling, the sort control is full width, and every checkbox is a full-width 48px tap row. */
@media(max-width:700px){
 .lbar{display:flex;flex-direction:column;align-items:stretch!important;gap:10px}
 .lbar .lsort{display:flex;flex-direction:column;align-items:stretch;gap:6px;width:100%}
 .lbar .lsort label{font-weight:700;font-size:1rem;color:#1D4E89}
 .lbar .lsort select{width:100%;min-height:48px;font-size:16px;padding:10px 12px;box-sizing:border-box}
 .lbar .fb{flex-wrap:wrap!important;overflow:visible!important;padding:0!important;width:100%}
 .lbar .fb>.fb-row{flex-wrap:wrap!important;overflow:visible!important;-webkit-overflow-scrolling:auto;gap:8px;padding:0}
 .fb-tag{flex:1 1 100%;padding:0}
 .fb-big{flex:1 1 100%;min-height:48px;font-size:1rem}
 .fb-b,.fb-save{min-height:44px;font-size:1rem}
 .fb-p{position:fixed!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;width:auto!important;max-height:85vh;border-radius:16px 16px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;overscroll-behavior:contain;box-sizing:border-box}
 .fb-p .fb-see{position:sticky;bottom:0}
}
/* checkbox rows (all widths): native checkbox, no appearance hacks; the whole row is the tap target */
.fb-p .fb-chk,.fb-p .pf-c{display:flex;align-items:center;gap:12px;min-height:48px;margin:8px 0 0;padding:8px 12px;border:1px solid #9fb2c8;border-radius:10px;background:#fff;font-size:1rem;line-height:1.3;cursor:pointer;box-sizing:border-box;width:100%;-webkit-tap-highlight-color:rgba(29,78,137,.15)}
.fb-p .fb-chk input,.fb-p .pf-c input{flex:0 0 auto;width:22px;height:22px;margin:0;accent-color:#1D4E89}
.fb-p .fb-chk:has(input:checked),.fb-p .pf-c:has(input:checked){border-color:#1D4E89;background:#EAF1F9;font-weight:700}
.fb-p .fb-f{font-size:1rem}
.fb-p .fb-f input,.fb-p .fb-f select{font-size:16px}
@media(max-width:700px){.lbar .lsort .lsort-sel,.lbar .lsort select{width:100%!important;max-width:none!important}}
/* city-links-1031: every 'Cities in' entry is a link; on phones the whole row is the tap target (min 48px) */
@media(max-width:700px){.pfn-cities{list-style:none;padding:0;margin:8px 0}.pfn-cities li{position:relative;display:block;min-height:48px;padding:12px 28px 12px 4px;line-height:1.5;border-bottom:1px solid #D5DEE8;box-sizing:border-box}
 .pfn-cities li a{font-weight:700}.pfn-cities li a::after{content:"";position:absolute;inset:0}.pfn-cities li:has(a)::before{content:"\203A";position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:1.4rem;color:#1D4E89}}
.fb-none{padding:12px 0}.fb-none-signup{margin:.6em 0 0;font-weight:600}
.fb-none-signup a{color:#1D4E89;text-decoration:underline}
