.shopping-scope{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:0.625rem;color:var(--muted);margin:10px 0 14px}.shopping-location-link{display:flex;gap:5px;align-items:center;font-size:0.6875rem;font-weight:600;color:var(--ink);padding:4px 0;text-align:left}.shopping-location-link>svg{width:14px;height:14px}.shopping-summary{background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:12px 14px;margin:12px 0}.search-summary-heading{display:flex;align-items:center;gap:12px;font-size:0.75rem}.search-summary-heading>strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-summary-heading .textbtn{font-size:0.6875rem;min-height:32px}.applied-filter-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.applied-filter-chip{display:flex;align-items:center;gap:6px;border:1px solid var(--border);background:var(--inset);border-radius:7px;padding:7px 9px;font-size:0.6875rem;min-height:34px;color:var(--ink)}.applied-filter-chip:hover{border-color:var(--red);background:var(--accent)}.applied-filter-chip svg{width:14px;height:14px}.shopping-summary .shopping-scope{margin:4px 0 0;gap:7px}.unsupported-query{font-size:0.6875rem;line-height:1.5;color:var(--muted);margin-top:8px}.composer-location-edit{text-align:left;padding:6px 0;min-height:38px;color:var(--ink)}.composer-location-edit strong{font-size:0.6875rem;font-weight:500}.composer-location-edit small{color:var(--red);text-decoration:underline}.topbar .location span{display:block;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .location{white-space:nowrap;flex-shrink:0}.location-intro{font-size:0.8125rem;line-height:1.6}.location-help,.location-privacy{font-size:0.6875rem;line-height:1.6;color:var(--muted);margin:8px 0 12px}.sample-location-options{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.sample-location-options button{border:1px solid var(--border);background:var(--inset);border-radius:7px;padding:9px 10px;font-size:0.6875rem;min-height:44px}.sample-location-options button small{display:block;font-size:0.625rem;color:var(--muted);margin-top:3px}.sample-location-options button:hover{border-color:var(--red)}.location-error{color:var(--red);background:var(--accent);padding:10px;border-radius:7px;font-size:0.75rem;line-height:1.5}#shopping-place[aria-invalid=true]{border:2px solid var(--red)}#location-form>.primary{width:100%;justify-content:center;margin-top:12px}#shopping-place{width:100%}
@media(max-width:700px){.has-applied-search .try-searches{display:none}.shopping-summary{padding:8px 10px;margin:8px 0}.search-summary-heading{font-size:0.6875rem;gap:8px}.search-summary-heading .textbtn{font-size:0.625rem;min-height:32px}.applied-filter-chips{gap:5px;margin:5px 0}.applied-filter-chip{padding:6px 8px;min-height:34px;font-size:0.625rem}.shopping-scope{font-size:0.5625rem;gap:5px;margin:6px 0 10px}.shopping-location-link{font-size:0.625rem;min-height:30px}.shopping-summary .shopping-scope{margin:2px 0 0;display:flex;flex-wrap:wrap}.shopping-summary .shopping-scope>span{font-size:0.5rem}.unsupported-query{font-size:0.625rem;margin-top:5px}.location-intro{font-size:0.75rem}.sample-location-options{gap:6px}.sample-location-options button{flex:1;font-size:0.625rem;padding:8px 6px}.location-help,.location-privacy{font-size:0.625rem;margin-bottom:8px}.topbar .location span{max-width:200px}}

/* Mobile results keep the search controls in two short rows. */
@media(max-width:700px){
 #app:has(.shopping-summary) .topbar{height:96px;padding-top:6px;padding-bottom:6px;gap:4px}
 #app:has(.shopping-summary) .main{margin-top:96px;padding-top:8px}
 .has-applied-search #content>.chips{display:none}
 .shopping-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:0 8px;padding:3px 8px;margin:0 0 6px}
 .shopping-summary .search-summary-heading,.shopping-summary .shopping-scope{display:contents}
 .shopping-summary .search-summary-heading>strong,.shopping-summary .shopping-scope>span{display:none}
 .shopping-summary .shopping-location-link{grid-column:1;grid-row:1;min-height:36px;font-size:0.6875rem;min-width:0;gap:4px}
 .shopping-summary .shopping-location-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .shopping-summary .search-summary-heading .textbtn{grid-row:1;min-height:36px;font-size:0.6875rem}
 .shopping-summary .search-summary-heading .textbtn:nth-of-type(1){grid-column:2}
 .shopping-summary .search-summary-heading .textbtn:nth-of-type(2){grid-column:3}
 .shopping-summary .applied-filter-chips{grid-column:1/-1;grid-row:2;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:5px;margin:0;padding:0 0 3px}
 .shopping-summary .applied-filter-chip{flex-shrink:0;white-space:nowrap;min-height:36px;font-size:0.6875rem;padding:6px 8px}
 .shopping-summary .unsupported-query{grid-column:1/-1;margin:3px 0 5px}
 #app:has(.shopping-summary) .toolbar{flex-wrap:nowrap;gap:6px;margin:6px 0 8px;min-height:34px}
 #app:has(.shopping-summary) .toolbar h2{font-size:0.875rem;letter-spacing:-.2px;flex:1;min-width:0;line-height:1.2}
 #app:has(.shopping-summary) .toolbar>.row{width:auto;gap:4px;flex-shrink:0}
 #app:has(.shopping-summary) .toolbar select{width:100px;max-width:100px;padding:7px 3px;font-size:0.625rem;min-height:34px}
 #app:has(.shopping-summary) .view-switch{padding:2px}
 #app:has(.shopping-summary) .view-switch button{font-size:0.625rem;padding:6px;min-height:28px}
 #app:has(.shopping-summary) .composer:not(.is-open) textarea{white-space:nowrap;overflow:hidden}
}
@media(max-width:359px){
 #app:has(.shopping-summary) .toolbar>.row{gap:2px}
 #app:has(.shopping-summary) .toolbar select{width:88px;font-size:0.5625rem}
 #app:has(.shopping-summary) .view-switch button{padding:5px 3px;font-size:0.5625rem}
 .shopping-summary{column-gap:5px}
 .shopping-summary .shopping-location-link{font-size:0.625rem}
}

@media(max-width:700px){.shopping-summary .applied-filter-chips::-webkit-scrollbar{display:none}}
@media(max-width:700px){
 /* Put the asking price directly after the photo in mobile search results. */
 #app:has(.shopping-summary) #content>.grid:not(.list-view) .cardinfo{display:flex;flex-direction:column;padding-top:0}
 #app:has(.shopping-summary) #content>.grid:not(.list-view) .shopper-price{order:-1;margin-top:0;border-top:0;padding:8px 10px}
 #app:has(.shopping-summary) #content>.grid:not(.list-view) .card-title{padding-top:8px}
}

/* Location and effective radius stay outside the swipeable filter strip. */
.mobile-summary-radius{display:none}
@media(max-width:700px){
 .shopping-summary .shopping-location-link{padding:3px 0;min-height:36px}
 .shopping-summary .shopping-place-text{display:flex;flex-direction:column;gap:1px;min-width:0;text-align:left}
 .shopping-summary .shopping-place-text>span{font-size:0.625rem;line-height:14px}
 .shopping-summary .mobile-summary-radius{display:block;font-size:0.625rem;font-weight:500;line-height:13px;color:var(--muted)}
 .shopping-summary [data-radius-chip]{display:none}
}

/* Change radius inline; keep the same two-row mobile summary. */
.summary-geography{display:contents}.summary-radius-select{display:none}
@media(max-width:700px){
 .shopping-summary .summary-geography{display:flex;grid-column:1/-1;grid-row:1;align-items:center;gap:6px;min-width:0}
 .shopping-summary .summary-geography .shopping-location-link{flex:1;min-width:0}
 .shopping-summary .summary-radius-select{display:block;flex:0 0 106px;width:106px;min-height:36px;padding:4px;border:1px solid var(--border);border-radius:6px;background:var(--inset);color:var(--ink);font:inherit;font-size:0.625rem}
 .shopping-summary .search-summary-heading .textbtn{grid-row:2}
 .shopping-summary .applied-filter-chips{grid-column:1;min-width:0}
}
@media(max-width:359px){.shopping-summary .summary-radius-select{flex-basis:100px;width:100px}}
@media(max-width:359px){.shopping-summary .summary-geography .shopping-location-link>svg:last-child{display:none}}

/* Inline city/ZIP entry uses the existing geography row. */
.summary-city-form{display:none}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.summary-city-error[hidden]{display:none}
@media(max-width:700px){
 .shopping-summary .summary-geography>.shopping-location-link{display:none}
 .shopping-summary .summary-city-form{display:flex;flex:1;min-width:0;height:36px;border:1px solid var(--border);border-radius:6px;background:var(--inset);overflow:hidden}
 .shopping-summary .summary-city-form:focus-within{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
 .shopping-summary #summary-city{flex:1;width:0;min-width:0;padding:5px;border:0;border-radius:0;background:transparent;color:var(--ink);font:inherit;font-size:0.625rem;outline:none}
 .shopping-summary .summary-city-form button{display:flex;align-items:center;justify-content:center;flex:0 0 28px;min-height:34px;color:var(--red);border-left:1px solid var(--border)}
 .shopping-summary .summary-city-form button svg{width:15px;height:15px}
 .shopping-summary .summary-city-error{grid-column:1/-1;font-size:0.625rem;line-height:1.4;color:var(--red);margin:3px 0 5px}
}
@media(max-width:359px){.shopping-summary .summary-radius-select{flex-basis:88px;width:88px}}

/* Tappable local suggestions apply immediately without adding a summary row. */
.summary-city-suggestions[hidden]{display:none}
@media(max-width:700px){
 .shopping-summary .summary-city-form{position:relative;overflow:visible}
 .shopping-summary #summary-city{border-radius:5px 0 0 5px}
 .shopping-summary .summary-city-suggestions{position:absolute;top:calc(100% + 4px);left:0;z-index:80;display:grid;width:max(100%,220px);max-width:calc(100vw - 48px);background:var(--surface);border:1px solid var(--border);border-radius:7px;padding:4px;box-shadow:0 6px 18px #25303930}
 .shopping-summary .summary-city-suggestions button{display:flex;flex:initial;justify-content:space-between;gap:10px;min-height:40px;padding:8px;border:0;border-radius:4px;color:var(--ink);font-size:0.6875rem;text-align:left}
 .shopping-summary .summary-city-suggestions button strong{font-size:0.6875rem;font-weight:500}
 .shopping-summary .summary-city-suggestions button span{font-size:0.625rem;color:var(--muted)}
 .shopping-summary .summary-city-suggestions button:hover,.shopping-summary .summary-city-suggestions button:focus-visible{background:var(--accent);outline:1px solid var(--red)}
}

/* Targeted empty-search recovery keeps every unselected criterion. */
.search-recovery{grid-column:1/-1;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:22px}
.search-recovery h2{font-size:1.3125rem;margin:0 0 8px;letter-spacing:-.4px}
.search-recovery>p{font-size:0.75rem;color:var(--muted);line-height:1.6;max-width:650px;margin:0 0 16px}
.recovery-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-bottom:10px}
.recovery-option{display:flex;align-items:center;gap:10px;background:var(--inset);border:1px solid var(--border);border-radius:7px;padding:12px;text-align:left;min-height:68px;color:var(--ink)}
.recovery-option>span:first-child{flex:1;min-width:0}.recovery-option strong{display:block;font-size:0.75rem;font-weight:600;line-height:1.4}
.recovery-option small{display:block;font-size:0.625rem;line-height:1.5;color:var(--muted);margin-top:4px}.recovery-count{font-size:0.625rem;white-space:nowrap;color:var(--red)}
.recovery-option>svg{width:16px;height:16px;flex-shrink:0;color:var(--red)}.recovery-option:hover{border-color:var(--red);background:var(--accent)}
.search-recovery>.textbtn{font-size:0.6875rem;min-height:36px}.recovery-sample{display:block;font-size:0.625rem;color:var(--muted);margin-top:4px;line-height:1.5}
@media(max-width:700px){.search-recovery{padding:14px}.search-recovery h2{font-size:1.125rem}.search-recovery>p{font-size:0.6875rem;margin-bottom:12px}.recovery-options{grid-template-columns:1fr;gap:8px}.recovery-option{padding:10px;gap:7px}.recovery-option strong{font-size:0.6875rem}.recovery-option small,.recovery-count{font-size:0.5625rem}.recovery-sample{font-size:0.5625rem}}
