/* V26: stabile, niente calcoli scroll-dependent. Un solo layout verticale per i cataloghi. */
html body #root .food-shell:has(.ca96-catalog)>.food-header,html body #root .food-shell:has(.ca80m-menu)>.food-header{display:none!important;height:0!important;min-height:0!important}
html body #root .food-shell>.food-wrap.ca96-catalog,html body #root .food-shell>.food-wrap.ca96-info{position:relative!important;top:auto!important;transform:none!important;margin-top:0!important;padding-top:82px!important;box-sizing:border-box!important;overflow-anchor:auto!important;min-height:0!important}
html body #root .food-wrap.ca96-catalog>.ca82g-home-controls{position:static!important;top:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;gap:9px!important;margin:0 0 10px!important;padding:0!important;overflow:visible!important;}
html body #root .food-wrap.ca96-catalog .food-address{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;top:auto!important;transform:none!important;margin:0!important;z-index:auto!important}
html body #root .food-wrap.ca96-catalog .food-search{display:none!important}
html body #root .food-wrap.ca96-catalog .food-categories{position:relative!important;top:auto!important;transform:none!important;margin:0!important;padding:0!important}
html body #root .food-wrap.ca96-catalog #food-shops{position:relative!important;top:auto!important;transform:none!important;margin:0!important}
html body #root .food-wrap.ca80m-menu{position:relative!important;top:auto!important;transform:none!important;padding-top:79px!important;margin-top:0!important;min-height:0!important}
html body #root .food-wrap.ca80m-menu>.ca83-merchant-info{position:static!important;top:auto!important;margin-top:0!important;padding-top:0!important;transform:none!important}
html body #root .food-wrap.ca80m-menu>.ca81n-menu-tabs{margin-top:0!important;transform:none!important}
/* Indice categorie informativo: titoli e schede non devono finire sotto i comandi */
html body #root .food-wrap.ca96-info{padding-top:82px!important}
/* Esplora: distribuzione altezza della schermata, titolo visibile */
html body #root .food-shell>.food-wrap.ca89-offers.ca90-offers{position:relative!important;top:auto!important;transform:none!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;gap:clamp(12px,2dvh,24px)!important;padding:110px 16px 83px!important;margin:0!important;box-sizing:border-box!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;overflow:hidden!important}
html body #root .food-wrap.ca89-offers.ca90-offers>h1{display:block!important;position:static!important;top:auto!important;transform:none!important;flex:0 0 auto!important;line-height:1.3!important;margin:0!important;padding:0!important;overflow:visible!important}
html body #root .food-wrap.ca89-offers.ca90-offers>.ca86-address-row{position:static!important;flex:0 0 auto!important;margin:0!important}
html body #root .food-wrap.ca89-offers.ca90-offers>section{display:flex!important;flex-direction:column!important;flex:1 1 0!important;justify-content:center!important;min-height:0!important;max-height:none!important;overflow:hidden!important;margin:0!important;padding:0!important}
html body #root .food-wrap.ca89-offers.ca90-offers>section .ca89-rail{display:flex!important;align-items:stretch!important;flex:1 1 auto!important;min-height:96px!important;max-height:160px!important;overflow-x:auto!important;overflow-y:hidden!important}
html body #root .food-wrap.ca89-offers.ca90-offers .ca90-products>*{aspect-ratio:1/1!important;min-width:120px!important;min-height:120px!important;max-height:150px!important;box-sizing:border-box!important}
/* Cerca categoria / locale: icona X quando il titolo diventa ricerca */
.ca96-toolbar.ca102-searching .ca96-search svg,.ca99-merchant-toolbar.ca101-searching .ca-v82g-search svg{display:none!important}
.ca96-toolbar.ca102-searching .ca96-search::after,.ca99-merchant-toolbar.ca101-searching .ca-v82g-search::after{content:'×';font:400 31px/1 system-ui;color:#218dcc}
/* Popup offline blocca ogni click nella app e oscura lo sfondo */
#ca105-offline{z-index:2147483600!important}
#ca105-offline-backdrop{position:fixed!important;inset:0!important;background:rgba(9,23,37,.70)!important;z-index:2147483500!important;touch-action:none!important}
/* Search icon becomes X while active, merchant uses actual aria-label. */
.ca99-merchant-toolbar.ca101-searching button[aria-label="Cerca prodotti"] svg{display:none!important}
.ca99-merchant-toolbar.ca101-searching button[aria-label="Cerca prodotti"]::after{content:'×';font:400 31px/1 system-ui;color:#218dcc}
