.mobile-search-heading{display:none}
#mobile-search-back{display:none}
.results-panel>.mobile-search-heading[hidden]+.results-toolbar{padding-top:0}
@media(max-width:680px){
 body.mobile-search-results .hero,body.mobile-search-flow .demo-banner,body.mobile-search-flow .service-guide,body.mobile-search-flow .bottom-note{display:none}
 body.mobile-search-flow{overflow-x:clip}
 body.mobile-search-flow .workspace{display:block;position:relative;overflow:visible}
 body.mobile-search-flow:not(.mobile-search-results) .results-panel,body.mobile-search-results .search-panel{display:none}
 body.mobile-search-flow .search-panel{margin-top:18px}
 body.mobile-search-flow .mobile-inline-apply{display:block;background:var(--green);font-size:16px;font-weight:750;min-height:50px;margin:8px 0 0}
 body.mobile-search-flow .mobile-inline-apply[hidden]{display:none}
 body.mobile-search-results .mobile-search-heading:not([hidden]){--mobile-summary-offset:0px;display:block;position:sticky;top:calc(var(--site-header-height,73px) - var(--mobile-summary-offset));clip-path:inset(var(--mobile-summary-offset) 0 -12px);z-index:102;margin:0 -18px 18px;background:#f5faf7;border-bottom:1px solid #c8ded1;box-shadow:0 2px 8px rgba(37,45,59,.04);transition:top .2s ease,clip-path .2s ease;overflow-anchor:none}
 body.mobile-search-results .mobile-search-heading[data-summary-collapsed="true"]{--mobile-summary-offset:var(--mobile-summary-height,60px)}
 body.mobile-search-results .preferences-strip{top:calc(var(--site-header-height,73px) + 60px)}
 .mobile-search-summary-row{display:flex;align-items:center;gap:20px;padding:8px 18px;min-width:0;min-height:60px;background:#fff;border-bottom:1px solid var(--border)}
 body.mobile-search-results .site-header{z-index:104}
 body.mobile-search-results #mobile-search-back:not([hidden]){display:inline-flex;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:5px;padding:0;background:transparent;color:var(--green);font-size:12px;font-weight:650;min-height:44px;white-space:nowrap}
 #mobile-search-back svg{flex:0 0 18px;width:18px;height:18px}
 .mobile-search-applied{display:flex;flex:1 1 0;gap:16px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:none;align-items:center}
 .mobile-search-applied::-webkit-scrollbar{display:none}
 .mobile-applied-item{flex:0 0 auto;display:flex;flex-direction:column;gap:2px;line-height:1.3}
 .mobile-applied-item span{font-size:9px;color:var(--muted)}
 .mobile-applied-item strong{font-size:12px;font-weight:750;color:var(--petrol);white-space:nowrap}
 body.mobile-search-results #mobile-filters-bar:not([hidden]){position:static;top:auto;box-shadow:none;backdrop-filter:none;padding:8px;border-bottom:0}
 body.mobile-search-flow #mobile-filters-open,body.mobile-search-flow #mobile-filters-summary{display:none!important}
 body.mobile-search-flow .results-panel>.results-toolbar{padding-top:0}
 body.mobile-search-flow .flow-leaving{display:block!important;position:absolute;inset:0 0 auto;max-height:calc(100dvh - 73px);overflow:hidden;pointer-events:none;animation:search-flow-out .28s cubic-bezier(.2,.7,.2,1) both}
 body.mobile-search-flow .flow-arriving{overflow-anchor:none;animation:search-flow-in .28s cubic-bezier(.2,.7,.2,1) both}
 body.mobile-search-flow[data-search-direction="back"] .flow-leaving{animation-name:search-flow-back-out}
 body.mobile-search-flow[data-search-direction="back"] .flow-arriving{animation-name:search-flow-back-in}
 @keyframes search-flow-out{to{transform:translateX(-100%);opacity:0}}
 @keyframes search-flow-in{from{transform:translateX(100%);opacity:.3}to{transform:translateX(0);opacity:1}}
 @keyframes search-flow-back-out{to{transform:translateX(100%);opacity:0}}
 @keyframes search-flow-back-in{from{transform:translateX(-100%);opacity:.3}to{transform:translateX(0);opacity:1}}
}
@media(prefers-reduced-motion:reduce){body.mobile-search-flow .flow-leaving,body.mobile-search-flow .flow-arriving{overflow-anchor:none;animation:none}}
@media(prefers-reduced-motion:reduce){body.mobile-search-results .mobile-search-heading{transition:none}}

/* Primo step sul telefono: scelte leggibili e raggio compatto. */
@media(max-width:680px){
 body.mobile-search-flow .search-panel .location-tab{gap:5px;padding-inline:4px;font-size:var(--search-choice-font-size)}
 body.mobile-search-flow .search-panel .location-tab-icon{width:18px;height:18px;flex-basis:18px}
 body.mobile-search-flow .search-panel .mode-options>label>span{min-height:44px;font-size:var(--search-choice-font-size)}
 body.mobile-search-flow .search-panel #radius-field .radius-caption{flex-direction:row;align-items:baseline;gap:6px;white-space:nowrap}
 body.mobile-search-flow .search-panel #radius-field .radius-heading{flex-shrink:0}
 body.mobile-search-flow .search-panel #radius-field .radius-km{font-size:25px;font-weight:750;letter-spacing:-.7px}
 body.mobile-search-flow .search-panel #radius-field .radius-subtitle{font-size:clamp(9px,2.6vw,11px)}
 body.mobile-search-flow .search-panel #radius-field .radius-radar{width:28px;height:28px;flex-basis:28px}
 body.mobile-search-flow .search-panel #radius-field .radius-stops{grid-template-columns:repeat(5,minmax(0,1fr))}
 body.mobile-search-flow .search-panel #radius-field .radius-stop-value{font-size:14px;padding-inline:5px}
 body.mobile-search-flow .search-panel #radius-field .radius-stop-value small{font-size:10px}
 body.mobile-search-flow .search-panel #opening-field .opening-options{gap:4px;padding:4px;border-radius:11px;background:#f1f5f4}
 body.mobile-search-flow .search-panel #opening-field .opening-options>label>span{gap:5px;min-height:44px;padding-inline:4px;font-size:var(--search-choice-font-size);line-height:1.2}
 body.mobile-search-flow .search-panel #opening-field .opening-options>label>span::before{content:"";flex:0 0 16px;width:16px;height:16px;background:currentColor;-webkit-mask:url('/assets/clock.svg') center/contain no-repeat;mask:url('/assets/clock.svg') center/contain no-repeat}
 body.mobile-search-flow .search-panel #opening-field input[value="open"]+span{color:#1b7051}
 body.mobile-search-flow .search-panel #opening-field input[value="closed"]+span{color:#9a4943}
 body.mobile-search-flow .search-panel #opening-field input[value="open"]:checked+span{background:#e8f5ed;box-shadow:inset 0 0 0 1px #bddfca}
 body.mobile-search-flow .search-panel #opening-field input[value="closed"]:checked+span{background:#fcf0ee;box-shadow:inset 0 0 0 1px #e7c8c4}
 body.mobile-search-flow .search-panel #quantity-field .quantity-toggle{font-size:11px;line-height:1.45}
}
@media(max-width:360px){
 body.mobile-search-flow .search-panel #radius-field .radius-radar{display:none}
}
