/* Four shared primary controls. Topic-specific criteria remain in their URLs. */
.property-search-page[data-single-feature-search] .property-search-bar[data-compact-property-filters],.property-search-bar[data-compact-property-filters]{grid-template-columns:repeat(4,minmax(0,1fr)) auto;display:grid;align-items:start}
[data-compact-property-filters] .search-field{min-width:0;grid-column:auto!important}
[data-compact-property-filters] .price-filter{position:relative;padding:0;border:0;background:transparent;min-width:0;margin:0}
.price-filter>summary{box-sizing:border-box;list-style:none;cursor:pointer;min-height:58px;border:1px solid #c5d1c8;border-radius:6px;background:#fff;color:#173f2e;padding:8px 32px 8px 13px;display:flex;flex-direction:column;justify-content:center;position:relative;line-height:1.35;text-align:start}
.price-filter>summary::-webkit-details-marker{display:none}
.price-filter>summary::after{content:'⌄';position:absolute;inset-inline-end:12px;top:20px;font-size:16px}
.price-filter[open]>summary::after{transform:rotate(180deg)}
.price-filter .price-label{font-size:11px;letter-spacing:0;color:#405b4c}
.price-filter [data-price-value]{display:block;margin-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:13px;color:#173f2e}
.price-filter .price-panel{position:absolute;z-index:30;top:calc(100% + 8px);inset-inline-end:0;width:340px;max-width:calc(100vw - 48px);padding:18px;border:1px solid #bdcdbf;border-radius:8px;background:#fff;color:#173f2e;box-shadow:0 12px 28px #173f2e22}
.price-panel .price-range-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.price-filter .price-panel label{display:block;font-size:12px;color:#294b37;letter-spacing:0;line-height:1.5}
.price-filter .price-panel input{display:block;width:100%;box-sizing:border-box;min-height:44px;height:44px;margin-top:6px;padding:10px;border:1px solid #bdcdbf;border-radius:4px;background:#fff;color:#173f2e;font:inherit}
.price-panel .price-actions{display:flex;justify-content:space-between;gap:16px;margin-top:16px}
.price-panel .price-actions button{padding:8px 16px;min-height:40px;font:inherit;font-size:13px;cursor:pointer;border:1px solid #bdcdbf;border-radius:4px;background:white;color:#173f2e}
.price-panel .price-actions [data-price-done]{background:#173f2e;color:white;border-color:#173f2e}
.price-filter summary:focus-visible,.price-panel button:focus-visible{outline:3px solid #a37839;outline-offset:3px}
.home-finder form[data-compact-property-filters]{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px}
.home-finder [data-compact-property-filters]>.search-field{display:block;padding:0;border:0;background:none;font-size:12px}
.home-finder [data-compact-property-filters]>.search-field>span{display:block;margin-bottom:8px}
.home-finder [data-compact-property-filters] .price-filter>summary{min-height:58px;border-color:rgba(226,211,184,.48)}
.home-finder:has(.price-filter[open]){overflow:visible;z-index:6}
.home-finder:has(.price-filter[open])::after{display:none}
.home-finder [data-home-search-notice]{grid-column:1/-1;color:#fff;margin:0}
@media(max-width:1000px){.property-search-page[data-single-feature-search] .property-search-bar[data-compact-property-filters],.property-search-bar[data-compact-property-filters]{grid-template-columns:repeat(2,minmax(0,1fr))}.property-search-bar[data-compact-property-filters] .search-submit{grid-column:1/-1}}
@media(max-width:650px){.home-finder form[data-compact-property-filters]{grid-template-columns:repeat(2,minmax(0,1fr))}.home-finder form[data-compact-property-filters]>.button{grid-column:1/-1}.price-filter .price-panel{position:static;width:100%;max-width:none;margin-top:8px;padding:12px;box-sizing:border-box}.price-panel .price-range-fields{grid-template-columns:1fr}.price-panel .price-actions{gap:6px}.price-panel .price-actions button{padding:8px 10px}.property-search-bar[data-compact-property-filters]:has(.price-filter[open]) .price-filter,.home-finder form[data-compact-property-filters]:has(.price-filter[open]) .price-filter{grid-column:1/-1!important}.price-filter .price-panel .price-range-fields{grid-template-columns:1fr 1fr}.home-finder:has(.price-filter[open]){overflow:hidden}}
@media(max-width:359px){.property-search-page[data-single-feature-search] .property-search-bar[data-compact-property-filters],.home-finder form[data-compact-property-filters]{grid-template-columns:1fr}.price-filter .price-panel .price-range-fields{grid-template-columns:1fr}}

/* City, dependent Areas, type, bedrooms and price. */
.property-search-page[data-single-feature-search] .property-search-bar[data-compact-property-filters],.property-search-bar[data-compact-property-filters]{grid-template-columns:repeat(5,minmax(0,1fr)) auto}.home-finder form[data-compact-property-filters]{grid-template-columns:repeat(5,minmax(0,1fr))}.area-filter small{display:block;font-size:11px;line-height:1.4;margin-top:5px;letter-spacing:0}.area-filter select:disabled{opacity:.65;cursor:not-allowed}.home-finder .area-filter small{color:inherit}@media(max-width:1100px){.property-search-page[data-single-feature-search] .property-search-bar[data-compact-property-filters],.home-finder form[data-compact-property-filters]{grid-template-columns:repeat(2,minmax(0,1fr))}.home-finder form[data-compact-property-filters]>.button{grid-column:1/-1}}@media(max-width:359px){.property-search-page[data-single-feature-search] .property-search-bar[data-compact-property-filters],.home-finder form[data-compact-property-filters]{grid-template-columns:1fr}}

@media(max-width:650px){.property-search-bar[data-compact-property-filters] .price-filter,.home-finder form[data-compact-property-filters] .price-filter{grid-column:1/-1!important}}
