/* V27: correzioni locali senza mutazioni durante lo scorrimento. */
/* Barra categorie (circa 13..71px): primo contenuto a 83px, indirizzo sempre prima dei filtri */
html body #root .food-shell>.food-wrap.ca96-catalog{padding-top:90px!important;margin-top:0!important;top:auto!important;transform:none!important}
html body #root .food-wrap.ca96-catalog>.ca82g-home-controls{display:flex!important;flex-direction:column!important;gap:9px!important;margin:0 0 9px!important;padding:0!important;position:static!important;transform:none!important}
html body #root .food-wrap.ca96-catalog>.ca82g-home-controls>.food-address{display:flex!important;order:-10!important;position:static!important;transform:none!important;top:auto!important;margin:0!important;min-height:39px!important;flex:0 0 auto!important;visibility:visible!important}
html body #root .food-wrap.ca96-catalog>.ca82g-home-controls>.food-categories{order:0!important;position:static!important;transform:none!important;margin:0!important;padding:0!important}
html body #root .food-wrap.ca96-catalog>.food-horizontal{position:static!important;transform:none!important;margin-top:0!important}
/* Nessun cuore per le due categorie che non espongono locali */
.ca96-toolbar.ca107-no-heart{grid-template-columns:52px minmax(0,1fr) 52px!important}
.ca96-toolbar.ca107-no-heart .ca96-heart{display:none!important}
.ca96-toolbar.ca107-no-heart .ca96-actions{width:52px!important;justify-self:end!important}
/* Locale: riduci il vuoto sotto i comandi mantenendo toolbar e icone gia' approvate */
html body #root .food-shell>.food-wrap.ca80m-menu{padding-top:69px!important;margin-top:0!important;top:auto!important;transform:none!important}
html body #root .food-wrap.ca80m-menu>.ca99-merchant-toolbar{top:var(--ca99-toolbar-top)!important}
html body #root .food-wrap.ca80m-menu>.ca83-merchant-info{margin-top:0!important;padding-top:0!important;top:auto!important;transform:none!important}
/* ESPLORA: non spostare con trasformazioni; ancorare titolo in area visibile e distribuire sezioni */
html body #root .food-shell:has(>.food-wrap.ca89-offers){height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important;display:block!important}
html body #root .food-shell>.food-wrap.ca89-offers.ca90-offers{position:relative!important;inset:auto!important;top:auto!important;transform:none!important;margin:0!important;padding:clamp(98px,14dvh,145px) 16px 92px!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) minmax(0,1fr)!important;align-content:stretch!important;gap:clamp(10px,2dvh,22px)!important}
html body #root .food-shell>.food-wrap.ca89-offers.ca90-offers>h1{position:relative!important;top:auto!important;transform:none!important;display:block!important;visibility:visible!important;overflow:visible!important;line-height:1.3!important;margin:0!important;min-height:36px!important}
html body #root .food-shell>.food-wrap.ca89-offers.ca90-offers>.ca86-address-row{position:relative!important;top:auto!important;transform:none!important;margin:0!important}
html body #root .food-shell>.food-wrap.ca89-offers.ca90-offers>section{display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;justify-content:flex-start!important;gap:8px!important;margin:0!important;padding:0!important}
html body #root .food-shell>.food-wrap.ca89-offers.ca90-offers>section .ca89-rail{flex:1 1 auto!important;min-height:0!important;max-height:unset!important;align-items:stretch!important;overflow-x:auto!important;overflow-y:hidden!important}
html body #root .food-wrap.ca89-offers.ca90-offers .ca90-products>*{height:auto!important;max-height:155px!important;aspect-ratio:1!important;flex:0 0 min(39vw,150px)!important;min-width:0!important;width:min(39vw,150px)!important;min-height:0!important}
/* Anche la schermata storica preferiti deve mostrare il titolo intero */
html body #root .food-shell>.food-wrap.ca80v-page{padding-top:100px!important;top:auto!important;transform:none!important}
@media(max-width:370px){.ca96-toolbar.ca107-no-heart{grid-template-columns:44px minmax(0,1fr) 44px!important}.ca96-toolbar.ca107-no-heart .ca96-actions{width:44px!important}}
