/* v2.1 — mobile « comme une appli » : la page ne glisse plus à gauche/droite, pas de zoom, barre panier bien rangée */
html,body{overflow-x:clip;max-width:100%}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;touch-action:manipulation}
img,video,iframe{max-width:100%}
.zones,.cats,.row,.unetrack{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
/* Espaces cuisine et livreur : un espace régulier entre chaque bloc (en-tête, onglets, essai, chiffres, commandes) */
#app[data-view=vendeur]>*+*,#app[data-view=livreur]>*+*{margin-top:16px}
#app[data-view=vendeur] .two>section>h2,#app[data-view=livreur] .two>section>h2{margin:6px 0 0}
#app .lvo{margin-bottom:0}
#app .lvo .btn{min-height:44px}
@media(max-width:860px){
 body{overscroll-behavior-x:none}
 /* iPhone zoome sur les champs de moins de 16 px : on les met tous à 16 px */
 input,select,textarea{font-size:16px!important}
 /* Barre panier posée juste au-dessus du menu du bas, sans toucher le bouton panier central */
 .fbar{bottom:calc(104px + var(--safeB));left:12px;right:12px;padding:6px 6px 6px 8px}
 .fbar .n{width:36px;height:36px;font-size:15px}
 .fbar .t{font-size:17px}
 .fbar .btn{min-height:40px;padding:0 18px}
 /* Le contenu s'arrête avant les barres du bas : plus rien ne traîne derrière */
 main{padding-bottom:calc(120px + var(--safeB))}
 body:has(.fbar.on) main{padding-bottom:calc(180px + var(--safeB))}
 body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:calc(96px + var(--safeB));background:linear-gradient(to top,var(--bg) 62%,transparent);pointer-events:none;z-index:30}
 body:has(.fbar.on)::after{height:calc(168px + var(--safeB))}
 #app[data-view=vendeur]>*+*,#app[data-view=livreur]>*+*{margin-top:12px}
}
