.mtr-homey-search,
.mtr-homey-search *{box-sizing:border-box}
.mtr-homey-search{width:100%;max-width:1180px;margin:0 auto;display:flex;align-items:stretch;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.08);overflow:visible}
.mtr-search-field{position:relative;display:flex;align-items:center;min-width:0;min-height:76px;padding:0 18px;border-right:1px solid #eee;background:#fff;flex:1}
.mtr-zip-field{flex:1.15;z-index:100}
.mtr-listing-type-field{flex:1.25}
.mtr-date-field{flex:1}.mtr-radius-field{flex:.9}
.mtr-search-icon{display:flex;align-items:center;justify-content:center;flex:0 0 20px;margin-right:10px;color:#64748b;font-size:18px;line-height:1}
.mtr-field-content{min-width:0;width:100%;position:relative}
.mtr-field-content label{display:block;margin:0 0 4px;font-size:12px;line-height:1.2;font-weight:600;color:#6b7280}
.mtr-field-content input,.mtr-field-content select{display:block;width:100%;height:30px;padding:0!important;margin:0!important;border:0!important;outline:none!important;background:transparent!important;box-shadow:none!important;font-size:15px;line-height:30px;color:#111827}
.mtr-field-content input::placeholder{color:#9ca3af}
.mtr-field-content select{cursor:pointer;appearance:auto}
.mtr-search-button{flex:0 0 125px;min-height:56px;border:0;margin:10px;border-radius:6px;background:#008060;color:#fff;font-size:15px;font-weight:600;cursor:pointer;transition:.2s}
.mtr-search-button:hover{background:#006b50;transform:translateY(-1px)}

/* Postcode autocomplete */
.mtr-postcode-suggestions{display:none;position:absolute;left:-18px;right:-18px;top:calc(100% + 12px);z-index:99999;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 16px 40px rgba(15,23,42,.16);overflow:hidden;min-width:290px}
.mtr-postcode-suggestions.is-visible{display:block}
.mtr-postcode-suggestion{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:12px 15px;border:0;border-bottom:1px solid #f1f5f9;background:#fff;text-align:left;cursor:pointer;font:inherit;color:#111827;gap:20px;transition:background .15s ease}
.mtr-postcode-suggestion:last-child{border-bottom:0}
.mtr-postcode-suggestion:hover,.mtr-postcode-suggestion:focus{background:#f7faf9;outline:none}
.mtr-postcode-code{font-size:14px;font-weight:700;line-height:20px;color:#172033;white-space:nowrap}
.mtr-postcode-place{font-size:13px;line-height:20px;color:#64748b;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mtr-postcode-loading,.mtr-postcode-empty{padding:14px 15px;font-size:13px;line-height:20px;color:#64748b;background:#fff}

@media(max-width:991px){
 .mtr-homey-search{flex-wrap:wrap;overflow:visible}
 .mtr-search-field{flex:1 1 50%;border-bottom:1px solid #eee}
 .mtr-listing-type-field{border-right:0}
 .mtr-date-field:nth-of-type(4){border-right:0}
 .mtr-search-button{flex:1 1 100%;min-height:52px}
 .mtr-postcode-suggestions{left:0;right:0;top:calc(100% + 8px)}
}
@media(max-width:600px){
 .mtr-homey-search{display:block;overflow:visible}
 .mtr-search-field{width:100%;min-height:68px;border-right:0;border-bottom:1px solid #eee}
 .mtr-search-button{display:block;width:calc(100% - 20px);min-height:52px;margin:10px}
 .mtr-postcode-suggestions{left:0;right:0;top:calc(100% + 6px);min-width:0}
 .mtr-postcode-suggestion{padding:12px 14px}
 .mtr-postcode-place{max-width:55%;}
}
