/* Shared live suggestions: bounded height, room for the mobile keyboard. */
.tsh1-hero.tsn-home-hero.ts-search-active{overflow:visible;z-index:20}
.ts-live-search-form{position:relative;overflow:visible!important}
.ts-live-search[hidden]{display:none!important}
.ts-live-search{position:absolute;z-index:90;top:calc(100% + 9px);left:0;right:0;padding:7px;border:1px solid #e3e7ee;border-radius:18px;background:#fff;color:#17202c;box-shadow:0 18px 50px rgba(13,24,40,.18);text-align:left;min-width:0}
.tsn-search__panel>.ts-live-search{position:relative;top:auto;left:auto;right:auto;margin-top:18px;box-shadow:none}
.ts-live-search__status{display:flex;align-items:center;gap:9px;padding:9px 11px;margin:0;color:#657080;font-size:12px;line-height:1.6;font-weight:500}
.ts-live-search[data-loading=true] .ts-live-search__status:before{content:'';width:14px;height:14px;border:2px solid #e3e7ee;border-top-color:#e82127;border-radius:50%;flex:0 0 14px;animation:ts-search-spin .7s linear infinite}
.ts-live-search__list{overflow:auto;overscroll-behavior:contain;max-height:min(43vh,390px);scroll-padding:5px}
.ts-live-search__row{display:flex;align-items:center;gap:12px;min-height:74px;padding:9px 11px;border-radius:11px;text-decoration:none!important;color:#17202c!important;border:1px solid transparent}
.ts-live-search__row:hover,.ts-live-search__row[aria-selected=true]{background:#f4f6f9;border-color:#e2e7ee}
.ts-live-search__row:focus-visible,.ts-live-search__all:focus-visible{outline:2px solid #e82127;outline-offset:-2px}
.ts-live-search__image{position:relative;display:grid;place-items:center;overflow:hidden;width:54px;height:54px;flex:0 0 54px;border-radius:9px;background:#f1f3f6;color:#abb2bd;font:bold 22px Arial,sans-serif}
.ts-live-search__image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:white}
.ts-live-search__image img[hidden]{display:none}
.ts-live-search__info{flex:1;min-width:0}
.ts-live-search__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:750;line-height:1.5}
.ts-live-search__title mark{padding:0;background:#ffe9e9;color:inherit;border-radius:2px}
.ts-live-search__meta{display:block;margin-top:4px;color:#737e8b;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ts-live-search__price{max-width:105px;flex-shrink:0;font-size:12px;font-weight:800;line-height:1.5;color:#152131;text-align:right}
.ts-live-search__all{display:block;padding:13px 11px;margin-top:5px;border-top:1px solid #edf0f4;color:#c21c24!important;font-size:12px;font-weight:750;line-height:1.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none!important}
.ts-live-search__all:hover{background:#fff6f6;border-radius:0 0 10px 10px}
.mp-search-page .mp-search-hero{padding:28px;border:1px solid #e6e9ee;border-radius:20px;background:linear-gradient(120deg,#fff,#f5f7fa)}
.mp-search-page .mp-search-hero h1{overflow-wrap:anywhere;font-size:clamp(24px,4vw,40px);margin:10px 0}
.mp-search-page .mp-search-hero p{max-width:750px;color:#667085;line-height:1.7}
.mp-search-page .mp-search-form{overflow:visible;max-width:820px}
.mp-search-page .mp-search-form input{min-width:0;min-height:48px;font-size:16px}
.mp-search-page .mp-search-help{margin-bottom:0;font-size:12px}
.mp-search-page .mp-search-types{display:flex;gap:8px;overflow:auto;padding:16px 0 4px;scrollbar-width:thin}
.mp-search-types a{flex-shrink:0;padding:10px 15px;border:1px solid #e0e5ec;border-radius:999px;background:#fff;color:#475467;text-decoration:none;font-size:12px;font-weight:700}
.mp-search-types a[aria-current=page]{background:#192331;border-color:#192331;color:#fff}
.mp-search-page .mp-filter-panel{padding:18px;border-radius:18px}
.mp-search-page .mp-empty{padding:40px 22px;border:1px dashed #d3dbe7;border-radius:18px;background:#fafbfd}
.mp-search-page .mp-search-group>header{gap:15px;flex-wrap:wrap}
@keyframes ts-search-spin{to{transform:rotate(360deg)}}
@media(max-width:680px){.ts-live-search{border-radius:14px;padding:4px}.ts-live-search__list{max-height:34vh}.ts-live-search__row{gap:9px;padding:8px;min-height:68px}.ts-live-search__image{width:44px;height:44px;flex-basis:44px}.ts-live-search__title{font-size:12px}.ts-live-search__price{max-width:80px;font-size:11px}.tsn-search__panel{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}.tsn-search__panel>.ts-live-search{margin-top:12px}.mp-search-page .mp-search-hero{padding:20px 15px}.mp-search-page .mp-filter-panel{padding:14px}.mp-search-page .mp-search-form{display:flex;gap:8px}.mp-search-page .mp-search-form button{min-height:48px;padding:10px 14px}.mp-search-page .mp-search-types{padding-top:12px}}
@media(prefers-reduced-motion:reduce){.ts-live-search[data-loading=true] .ts-live-search__status:before{animation:none}}

/* Keep results within reach; advanced filters remain available without taking the first screen. */
.mp-search-page .ts-search-filters{margin:14px 0 22px;border:1px solid #e4e8ee;border-radius:14px;background:#fff;min-width:0}
.ts-search-filters>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:12px 17px;cursor:pointer;list-style:none;color:#273244;font-size:13px;font-weight:750}
.ts-search-filters>summary::-webkit-details-marker{display:none}
.ts-search-filters>summary:focus-visible{outline:2px solid #d5212b;outline-offset:3px;border-radius:12px}
.ts-search-filters>summary small{padding:3px 8px;border-radius:20px;color:#a81925;background:#fff0f1;font-size:10px}
.ts-search-filters__chevron{margin-left:auto;font-size:20px;line-height:1;transition:transform .15s}
.ts-search-filters[open] .ts-search-filters__chevron{transform:rotate(180deg)}
.mp-search-page .ts-search-filters .mp-filter-panel{margin:0;border:0;border-top:1px solid #edf0f4;border-radius:0 0 14px 14px;box-shadow:none}
.mp-search-page .mp-search-form{display:flex;gap:8px;align-items:stretch}
.mp-search-page .mp-search-form input{flex:1;width:0}
.mp-search-page .mp-search-form button{flex:0 0 auto;min-height:48px;padding:10px 18px}
@media(max-width:760px){.mp-search-page .mp-search-hero{padding:18px 16px}.mp-search-page .mp-search-hero h1{margin:5px 0;font-size:27px}.mp-search-page .mp-search-hero p{margin:7px 0;font-size:13px}.mp-search-page .mp-search-help{font-size:11px!important}.mp-search-page .mp-search-types{padding-top:12px}.mp-search-page .ts-search-filters{margin:10px 0 16px}.mp-search-page .mp-search-group{margin-top:18px}.mp-search-page .ts-search-filters .mp-filter-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mp-search-page .ts-search-filters .mp-filter-actions{grid-column:1/-1}.mp-search-page .ts-search-filters label{min-width:0}.mp-search-page .ts-search-filters select{width:100%}}
@media(max-width:380px){.mp-search-page .ts-search-filters .mp-filter-panel{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ts-search-filters__chevron{transition:none}}

@media(min-width:600px) and (max-width:1000px){.mp-search-page .mp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px}.mp-search-page .mp-card h3{font-size:15px!important}.mp-search-page .mp-card-description{display:none}.mp-search-page .mp-card-media.tsr-listing-media{aspect-ratio:16/10!important}.mp-search-page .mp-card{display:flex!important}}
@media(max-width:599px){.mp-search-page .mp-grid{grid-template-columns:1fr!important;gap:12px}.mp-search-page .mp-card.tsr-listing-card{display:grid!important;grid-template-columns:112px minmax(0,1fr);height:auto}.mp-search-page .mp-card-media.tsr-listing-media{height:100%;min-height:138px;aspect-ratio:auto!important}.mp-search-page .mp-card-body.tsr-listing-body{padding:12px!important}.mp-search-page .mp-card h3{font-size:14px!important;min-height:0;margin:6px 0!important;line-height:1.5!important}.mp-search-page .mp-card-description{display:none}.mp-search-page .tsr-listing-meta{font-size:9px}.mp-search-page .tsr-listing-location{display:none}.mp-search-page .tsr-listing-footer{margin-top:auto}.mp-search-page .tsr-listing-footer strong{font-size:16px!important}.mp-search-page .tsr-listing-type{left:6px;top:6px;padding:5px;font-size:8px}.mp-search-page .tsr-listing-facts{font-size:10px}.mp-search-page .mp-search-group>header h2{font-size:22px}.mp-search-page .mp-search-group>header>a{font-size:11px}}
