/* Search-first catalog. No promotional blocks between search and properties. */
.catalog-page{padding-top:25px;padding-bottom:40px;min-height:calc(100vh - 160px)}
.catalog-page .search-panel{margin:0;padding:24px 26px 20px;border-radius:15px;border:1px solid #e5eae6;box-shadow:0 3px 12px #173d2603}
.search-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:22px}
.search-heading h1{font-size:27px;font-weight:620;letter-spacing:-.9px;line-height:1.25;margin:0}
.catalog-page .search-tabs{height:40px;display:flex;flex-shrink:0;gap:3px;padding:4px;margin:0;border:0;background:#f0f3f1;border-radius:9px}
.catalog-page .search-tabs button{height:32px;padding:0 15px;font-size:13px;white-space:nowrap;border-radius:6px;color:#68746c}
.catalog-page .search-tabs .selected{background:#183d2d;color:#fff;box-shadow:0 2px 4px #0d301d14}
.catalog-page .search-tabs .selected:after{display:none}
.catalog-page .search-form{display:flex;align-items:stretch;gap:10px;flex-wrap:nowrap}
.catalog-page .search-field{background:#f3f6f4;border:1px solid #eaf0eb;border-radius:8px;min-width:0;height:58px;padding:10px 16px;flex:0 1 250px}
.catalog-page .location-field{flex:1;gap:12px}
.catalog-page .location-field>.icon{width:20px;color:#778b7d}
.catalog-page .field-label{font-size:12px;line-height:1;margin:0 0 6px;color:#829186}
.catalog-page .search-field input,.catalog-page .search-field select{background:transparent;font-size:14px;color:#405548;min-height:20px}
.catalog-page .search-field input::placeholder{color:#7a887e}
.catalog-page .filter-button{padding:0 17px;background:#f0f4f1;border:1px solid #e5ece6;border-radius:8px;font-size:13px;gap:8px;white-space:nowrap}
.catalog-page .filter-button>span{display:inline}
.catalog-page .search-button{height:58px;min-width:136px;font-size:14px;padding:0 22px}




.catalog-page .listings{margin-top:27px}
.catalog-page .section-heading{margin-bottom:21px;align-items:center;min-height:50px}
.catalog-page .section-heading h2{font-size:25px;font-weight:620;letter-spacing:-.65px}
.catalog-page .section-heading p{margin:7px 0 0;font-size:13px;color:#859187}
.results-actions{display:flex;align-items:center;gap:24px}
.catalog-page .sort-label{margin:0;font-size:13px;color:#7c8a80;gap:5px;display:flex;flex-direction:row;align-items:center}
.catalog-page .sort-label select{background:transparent;font-size:13px;max-width:170px;padding:9px 4px;color:#405848}
.catalog-page .property-grid{gap:23px 20px}
.catalog-page .property-photo{height:clamp(195px,16vw,280px)}
.catalog-page .property-info{padding:18px}
.catalog-page .property-price{font-size:24px}
.catalog-page .property-info h3{font-size:14px;line-height:1.5}
.catalog-page .property-location{font-size:12px}
.catalog-page .property-features{gap:18px;font-size:12px}
.catalog-page .load-more-wrap{padding-top:28px}
@media(min-width:1800px){.search-heading h1{font-size:30px}.catalog-page .search-tabs button{font-size:14px;padding:0 19px}.catalog-page .property-info h3{font-size:16px}.catalog-page .property-price{font-size:27px}.catalog-page .property-features,.catalog-page .property-location{font-size:14px}}
@media(max-width:1100px){.search-heading h1{font-size:24px}.catalog-page .search-tabs button{padding:0 12px}.catalog-page .search-field{flex-basis:200px}.catalog-page .search-button{min-width:112px;padding:0 17px}.catalog-page .filter-button{padding:0 13px}.catalog-page .property-grid{gap:18px 15px}.catalog-page .property-info{padding:15px 13px}.catalog-page .property-features{gap:11px;font-size:11px}}
@media(max-width:850px){.search-heading{align-items:flex-start;gap:14px;flex-direction:column;margin-bottom:18px}.catalog-page .search-tabs{height:38px}.catalog-page .search-tabs button{height:30px}.catalog-page .search-field{flex-basis:165px}.catalog-page .location-field{flex:1}.catalog-page .filter-button>span{display:none}.catalog-page .filter-button{padding:0 15px}.catalog-page .search-button{min-width:100px}.catalog-page .search-panel{padding:21px}.catalog-page .property-photo{height:210px}.catalog-page .property-features{font-size:12px;gap:15px}.catalog-page .results-actions{gap:15px}}
@media(max-width:600px){.catalog-page .search-form{flex-wrap:wrap;gap:10px}.catalog-page .search-field.location-field{flex:1 1 100%;height:54px}.catalog-page .search-field.budget-field{flex:1 1 35%;height:51px;padding:8px 12px!important;border-right:1px solid #eaf0eb}.catalog-page .filter-button{height:51px;flex:0 0 48px;padding:0;margin:0}.catalog-page .search-button{height:51px;min-width:102px;flex:0 0 102px;font-size:13px;padding:0 13px}.catalog-page .search-button .icon{width:16px}.catalog-page .search-field input,.catalog-page .search-field select{font-size:13px}.catalog-page .property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-page .property-photo{height:180px}.catalog-page .property-info h3{font-size:13px}.catalog-page .property-features{gap:9px;font-size:11px;flex-wrap:wrap}.catalog-page .property-price{font-size:22px}.catalog-page .section-heading h2{font-size:23px}.catalog-page .results-actions{gap:6px;flex-direction:column;align-items:flex-end}.catalog-page .sort-label{font-size:12px}.catalog-page .sort-label select{font-size:12px;max-width:140px}.catalog-page .sort-label>select{padding-right:0}}
@media(max-width:520px){.catalog-page{padding:16px 16px 28px}.catalog-page .search-panel{padding:20px 17px 17px;border-radius:12px}.search-heading h1{font-size:24px;line-height:1.23;letter-spacing:-.7px;max-width:285px}.search-heading{margin-bottom:17px;gap:17px}.catalog-page .search-tabs{width:100%;height:39px}.catalog-page .search-tabs button{flex:1;padding:0 8px;font-size:13px;height:31px}.catalog-page .listings{margin-top:23px}.catalog-page .section-heading{margin-bottom:18px;gap:12px;min-height:49px}.catalog-page .section-heading h2{font-size:23px;letter-spacing:-.65px}.catalog-page .section-heading p{font-size:12px;line-height:1.5;max-width:205px;margin-top:6px}.catalog-page .sort-label{font-size:0;gap:0}.catalog-page .sort-label select{font-size:12px;max-width:135px}.catalog-page .results-actions .text-button{font-size:12px}.catalog-page .property-grid{grid-template-columns:1fr;gap:20px}.catalog-page .property-photo{height:230px}.catalog-page .property-info{padding:18px}.catalog-page .property-price{font-size:26px}.catalog-page .property-info h3{font-size:16px}.catalog-page .property-location{font-size:13px}.catalog-page .property-features{font-size:12px;gap:24px}.catalog-page .load-more-wrap p{font-size:12px}.catalog-page .outline-button{font-size:13px}}
@media(max-width:360px){.search-heading h1{font-size:22px}.catalog-page .search-panel{padding:18px 14px 15px}.catalog-page .search-button{min-width:88px;flex-basis:88px;padding:0 10px}.catalog-page .filter-button{flex-basis:42px}.catalog-page .section-heading h2{font-size:21px}.catalog-page .sort-label select{font-size:11px;max-width:113px}}
@media(min-width:801px) and (max-width:1100px){.catalog-page .property-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Inline filters and a full-width, keyboard-accessible location picker. */
.catalog-page .search-form{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,230px) minmax(175px,230px) auto auto}
.catalog-page .search-field{width:100%;padding:10px 16px!important}
.catalog-page .location-field{position:relative;overflow:visible}
.catalog-page .location-field>span{min-width:0}
/* Keep focus on the rounded field, not a second rectangle around its text. */
.catalog-page :is(button,a,input,select):focus-visible,
#filter-dialog :is(button,input,select):focus-visible{outline:2px solid #64766d;outline-offset:3px}
.catalog-page .search-field:focus-within{border-color:#9aa9a0;box-shadow:0 0 0 2px #243c3010}
.catalog-page .search-field :is(input,select):focus{outline:none;box-shadow:none}
.catalog-page .sort-label select{border-radius:6px}
.location-toggle{padding:8px;margin-right:-8px;display:flex;align-items:center;border-radius:5px}
.location-toggle[aria-expanded=true] .icon{transform:rotate(180deg)}
.location-empty{font-size:13px;line-height:1.5;padding:8px 13px;color:#718177;margin:0}
@media(max-width:1100px){.catalog-page .search-form{grid-template-columns:minmax(200px,1fr) minmax(150px,190px) minmax(150px,190px) auto auto}.catalog-page .filter-button>span{display:none}}
@media(max-width:900px){.catalog-page .search-form{grid-template-columns:1fr 1fr auto auto}.catalog-page .location-field{grid-column:1/-1}}
@media(max-width:600px){.catalog-page .search-form{grid-template-columns:1fr 1fr}.catalog-page .search-field.type-field,.catalog-page .search-field.budget-field{height:54px;padding:8px 12px!important}.catalog-page .filter-button,.catalog-page .search-button{width:100%;justify-content:center;height:48px;min-width:0}.catalog-page .filter-button>span{display:inline}.location-options{max-height:280px}.catalog-page .search-field input,.catalog-page .search-field select{font-size:16px}.catalog-page .field-label{font-size:11px}}
.catalog-page .property-photo{height:auto;aspect-ratio:8/5}.catalog-page .photo-link,.catalog-page .property-photo img{height:100%;object-fit:cover}

/* Shared select menus match the full-width location list. */
.catalog-page .search-field{position:relative}
.search-field .select-menu{position:static}
.catalog-page .search-field .select-trigger:focus{outline:none}
.sort-label .select-menu{width:170px;max-width:50vw}
.sort-label .select-trigger{padding:9px 4px;font-size:13px}
.sort-label .select-options{left:auto;right:0;width:max(100%,200px)}
#filter-dialog .select-trigger{padding:12px;border:1px solid #d9e3dc;background:#fff;border-radius:8px}
#filter-dialog .select-options{max-height:min(220px,var(--select-menu-space,220px))}
@media(max-width:600px){.search-field .select-trigger{font-size:16px}.sort-label .select-menu{width:135px}.sort-label .select-trigger{font-size:12px}.select-options{max-height:min(280px,40vh,var(--select-menu-space,280px))}}
