body{padding-bottom:20px}
body.com-sacola{padding-bottom:96px}
.barra{position:sticky;top:0;z-index:20;background:var(--mar);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top))}
.barra .selo{width:34px;height:34px}
.mesa{background:var(--coral);font-weight:800;border-radius:999px;padding:6px 14px;font-size:.95rem}
.meus{margin:12px 12px 0;background:#fff;border-radius:var(--raio);padding:14px;box-shadow:0 4px 16px rgba(11,42,60,.08)}
.meus-topo{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px;font-size:.9rem}
.meus-topo h2{font-size:1.05rem}
.ped{border-top:1px solid var(--linha);padding:10px 0}
.ped:first-child{border-top:0}
.ped-topo{display:flex;justify-content:space-between;gap:8px}
.ped .st{font-weight:600;font-size:.9rem;color:var(--coral2)}
.ped.st-pronto .st{color:var(--ok)}
.ped.st-entregue .st{color:var(--suave)}
.ped p{color:var(--suave);font-size:.85rem;margin-top:4px}
.prog{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px}
.prog i{height:6px;border-radius:9px;background:var(--linha)}
.prog i.on{background:var(--coral)}
.st-pronto .prog i.on,.st-entregue .prog i.on{background:var(--ok)}
.st-preparando .prog i.on:nth-child(2){animation:pulsa 1.2s infinite}
@keyframes pulsa{50%{opacity:.45}}
.acoes{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px}
.acao{background:#fff;border:2px solid var(--linha);border-radius:14px;min-height:52px;font-weight:600;font-size:.92rem;color:var(--mar)}
.acao:disabled{background:#eef8f2;border-color:#bfe5cf;color:var(--ok)}
.cats{position:sticky;top:56px;z-index:15;background:var(--areia);display:flex;gap:8px;overflow-x:auto;padding:8px 12px 10px;scrollbar-width:none}
.cats::-webkit-scrollbar{display:none}
.cats a{flex:none;text-decoration:none;padding:9px 16px;border-radius:999px;background:#fff;border:1px solid var(--linha);font-weight:600;font-size:.9rem;color:var(--mar)}
.cats a.ativo{background:var(--mar);color:#fff;border-color:var(--mar)}
.cat{padding:6px 12px 4px;scroll-margin-top:110px}
.cat h2{font-size:1.15rem;font-weight:800;margin:10px 4px 8px}
.item{display:flex;gap:12px;background:#fff;border-radius:var(--raio);padding:10px;margin-bottom:10px;box-shadow:0 2px 10px rgba(11,42,60,.05)}
.item img{width:96px;height:96px;border-radius:12px;object-fit:cover;flex:none;background:var(--linha)}
.info{flex:1;min-width:0;display:flex;flex-direction:column}
.info h3{font-size:1rem;font-weight:600;line-height:1.25}
.top{display:table;margin-top:3px;background:#fff0e9;color:var(--coral2);font-size:.68rem;font-weight:600;padding:2px 7px;border-radius:999px;vertical-align:2px}
.info p{color:var(--suave);font-size:.82rem;margin-top:2px;flex:1}
.linha{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.preco{font-size:1.02rem;color:var(--mar)}
.add{width:44px;height:44px;border-radius:12px;background:var(--coral);color:#fff;font-size:1.6rem;font-weight:600;line-height:1}
.stepper{display:flex;align-items:center;background:var(--mar);color:#fff;border-radius:12px;height:44px}
.stepper button{width:42px;height:44px;font-size:1.4rem;font-weight:600}
.stepper span{min-width:22px;text-align:center;font-weight:800}
.fim{text-align:center;color:var(--suave);font-size:.78rem;padding:18px 16px 10px}
.fim a{color:var(--mar);font-weight:600}
.rodape-fixo{position:fixed;left:0;right:0;bottom:0;z-index:30;padding:10px 12px;padding-bottom:max(12px,env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(255,247,238,0),var(--areia) 35%)}
.ver{width:100%;min-height:58px;justify-content:space-between;font-size:1.02rem;box-shadow:0 8px 22px rgba(232,85,42,.35)}
.ver .qtd{background:rgba(255,255,255,.25);border-radius:9px;min-width:32px;height:32px;display:grid;place-items:center;font-weight:800}
dialog{border:0;padding:0;margin:auto auto 0;width:100%;max-width:560px;background:transparent;max-height:92vh}
dialog::backdrop{background:rgba(11,42,60,.55)}
.folha{background:#fff;border-radius:22px 22px 0 0;padding:18px 16px;padding-bottom:max(18px,env(safe-area-inset-bottom));max-height:92vh;overflow:auto}
.folha-topo{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.folha-topo h2{font-size:1.12rem}
.fechar{width:44px;height:44px;border-radius:50%;background:var(--areia);font-size:1.1rem}
.sac-lista{list-style:none}
.sac-lista li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--linha)}
.sac-lista .nome{font-weight:600;font-size:.95rem}
.sac-lista small{display:block;color:var(--suave);font-weight:400}
.obs{display:block;margin-top:14px;font-weight:600;font-size:.9rem}
.obs span{color:var(--suave);font-weight:400}
.obs textarea{display:block;width:100%;margin-top:6px;border:2px solid var(--linha);border-radius:12px;padding:10px 12px;font:inherit;font-weight:400;font-size:16px;resize:none}
.total{display:flex;justify-content:space-between;align-items:baseline;margin:16px 2px 12px;font-size:1.05rem}
.total b{font-size:1.35rem}
.grande{width:100%;min-height:58px;font-size:1.05rem}
.erro{color:#b3261e;font-size:.88rem;margin-top:10px}
.conta-valor{text-align:center;color:var(--suave);margin:10px 0}
.conta-valor b{display:block;font-size:2rem;color:var(--mar)}
.folha .dica{text-align:center;color:var(--suave);font-size:.9rem;margin-bottom:14px}
.toast{position:fixed;left:12px;right:12px;bottom:max(90px,calc(env(safe-area-inset-bottom) + 84px));z-index:50;background:var(--ok);color:#fff;font-weight:600;border-radius:14px;padding:14px 16px;box-shadow:0 10px 24px rgba(0,0,0,.18);text-align:center;max-width:520px;margin:0 auto}
@media (min-width:720px){.item img{width:110px;height:110px}main,.meus,.acoes,.cats{max-width:720px;margin-left:auto;margin-right:auto}.meus{margin-top:12px}}

button.mesa{border:0;color:#fff;cursor:pointer;min-height:40px;font:inherit;font-weight:800;max-width:58vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.campo{display:flex;flex-direction:column;gap:6px;font-weight:600;margin:14px 0 0}
.campo input{font:inherit;font-size:1.15rem;min-height:54px;padding:0 14px;border:2px solid #d6dde2;border-radius:12px;background:#fff;color:inherit}
.campo input:focus{outline:none;border-color:var(--coral)}
#d-quem .dica{margin:6px 0 0}
#d-quem .pequena{font-size:.9rem;color:var(--suave)}
#d-quem .grande{margin-top:16px}
.ped-topo small{font-weight:400;opacity:.75}
