/* ============================================================
   PONTO FÁCIL · página pública do comércio (o que abre na placa)
   As cores vêm de --principal e --destaque, definidas por comércio.
   ============================================================ */
:root { --fundo: #F3F5F8; --texto: #142033; --suave: #5F6B7C; --linha: #E4E8EE; --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--fundo); color: var(--texto); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
.ic { width: 22px; height: 22px; flex: none; }
h1, h2, h3, p { margin: 0; }

.pp-capa { position: relative; padding: 0 20px 6px; text-align: center; }
.pp-capa-fundo { position: absolute; inset: 0 0 auto; height: 150px; background: radial-gradient(120% 140% at 80% -20%, var(--destaque) 0%, transparent 45%), var(--principal); }
.pp-cab { position: relative; max-width: 520px; margin: 0 auto; padding-top: 78px; display: flex; flex-direction: column; align-items: center; }
.pp-logo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: #fff; border: 5px solid #fff; box-shadow: 0 10px 30px -10px rgba(10,20,40,.45); }
.pp-iniciais { display: grid; place-items: center; background: var(--destaque); color: var(--sobre-destaque); font-weight: 800; font-size: 38px; }
.pp-cab h1 { margin-top: 14px; font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pp-bio { margin-top: 6px; color: var(--suave); font-size: 15px; max-width: 420px; }
.pp-aberto { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 6px 14px; font: 700 13px var(--sans); cursor: pointer; }
.pp-aberto i { width: 8px; height: 8px; border-radius: 50%; }
.pp-aberto.sim { background: #E3F6EC; color: #137247; }
.pp-aberto.sim i { background: #1E9E6A; box-shadow: 0 0 0 3px rgba(30,158,106,.2); }
.pp-aberto.nao { background: #FCEBEB; color: #9B2C2C; }
.pp-aberto.nao i { background: #D64545; }

.pp-corpo { width: 100%; max-width: 520px; margin: 0 auto; padding: 18px 16px 30px; flex: 1; }
.pp-aviso { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-left: 5px solid var(--destaque); border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; text-decoration: none; color: inherit; box-shadow: 0 8px 24px -16px rgba(10,20,40,.4); }
.pp-aviso .ic { color: var(--principal); margin-top: 2px; }
.pp-aviso b { font-size: 15px; }
.pp-aviso p { font-size: 14px; color: var(--suave); margin-top: 2px; }
.pp-botoes { display: grid; gap: 11px; }
.pp-bt { display: flex; align-items: center; gap: 14px; width: 100%; background: #fff; border: 1px solid var(--linha); border-radius: 18px; padding: 12px 14px; text-decoration: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgba(10,20,40,.04), 0 10px 24px -18px rgba(10,20,40,.45); transition: transform .15s ease, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.pp-bt:active { transform: scale(.98); }
.pp-bt > i { width: 46px; height: 46px; border-radius: 14px; background: var(--cor); color: #fff; display: grid; place-items: center; flex: none; }
.pp-bt > i .ic { width: 24px; height: 24px; }
.pp-bt span { flex: 1; min-width: 0; }
.pp-bt b { display: block; font-size: 16px; font-weight: 700; }
.pp-bt small { display: block; font-size: 13px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-bt .seta { width: 18px; height: 18px; color: #A8B2C0; }
.pp-vazio { text-align: center; color: var(--suave); padding: 30px 10px; }

.pp-rodape { text-align: center; padding: 10px 16px 26px; }
.pp-rodape a { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--suave); text-decoration: none; background: #fff; border: 1px solid var(--linha); border-radius: 999px; padding: 7px 14px; }
.pp-rodape b { color: var(--texto); }

/* folhas (telas que sobem por baixo) */
.pp-folha { position: fixed; inset: 0; z-index: 50; background: rgba(8,14,26,.55); display: flex; align-items: flex-end; justify-content: center; animation: aparece .2s ease; }
.pp-folha-in { position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 26px 22px calc(26px + env(safe-area-inset-bottom)); text-align: center; animation: sobe .25s cubic-bezier(.2,.8,.2,1); }
@media (min-width: 600px) { .pp-folha { align-items: center; } .pp-folha-in { border-radius: 24px; } }
@keyframes aparece { from { opacity: 0; } }
@keyframes sobe { from { transform: translateY(40px); opacity: .6; } }
.pp-fechar { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--fundo); color: var(--texto); display: grid; place-items: center; cursor: pointer; }
.pp-folha-ic { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 18px; background: var(--cor); color: #fff; display: grid; place-items: center; }
.pp-folha-ic .ic { width: 28px; height: 28px; }
.pp-folha h2 { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.pp-dado { background: var(--fundo); border-radius: 14px; padding: 10px 14px; margin: 10px 0; text-align: left; }
.pp-dado small { display: block; font-size: 12px; color: var(--suave); }
.pp-dado b { font-size: 17px; word-break: break-all; }
.pp-acao { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; border-radius: 16px; border: 0; background: var(--principal); color: var(--sobre-principal); font: 700 16px var(--sans); cursor: pointer; text-decoration: none; margin: 12px 0 4px; }
.pp-acao.ok { background: #1E9E6A; color: #fff; }
.pp-acao-zap { background: #25D366; color: #06371C; }
.pp-nota { font-size: 13.5px; color: var(--suave); margin: 8px 0; }
.pp-passos { text-align: left; margin: 14px 0 0; padding-left: 22px; font-size: 14px; color: var(--suave); display: grid; gap: 4px; }
.pp-qr { width: 220px; height: 220px; margin: 6px auto; padding: 10px; border-radius: 16px; border: 1px solid var(--linha); background: #fff; }
.pp-qr svg { width: 100%; height: 100%; display: block; }
.pp-valor { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.pp-form { display: grid; gap: 12px; text-align: left; margin-top: 10px; }
.pp-form label span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.pp-form input { width: 100%; height: 50px; border-radius: 14px; border: 1px solid #D5DCE5; padding: 0 14px; font: 500 16px var(--sans); outline: none; }
.pp-form input:focus { border-color: var(--principal); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.pp-armadilha { position: absolute; left: -9999px; opacity: 0; height: 1px; }
.pp-lgpd { font-size: 12px; text-align: center; }
.pp-cupom { border: 2px dashed var(--principal); border-radius: 16px; padding: 14px; margin: 12px 0; }
.pp-cupom small { display: block; color: var(--suave); font-size: 12px; }
.pp-cupom b { font-size: 26px; letter-spacing: .06em; }
.pp-horarios { list-style: none; padding: 0; margin: 0; text-align: left; }
.pp-horarios li { display: flex; justify-content: space-between; padding: 10px 4px; border-bottom: 1px solid var(--linha); font-size: 15px; }
.pp-horarios li.hoje { font-weight: 800; color: var(--principal); }
.pp-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 80; background: #142033; color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }

/* cardápio */
.pp-cardapio { background: #fff; }
.cd-topo { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--principal); color: var(--sobre-principal); }
.cd-topo b { display: block; font-size: 16px; }
.cd-topo small { font-size: 12.5px; opacity: .8; }
.cd-voltar { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); color: inherit; display: grid; place-items: center; }
.cd-categorias { position: sticky; top: 64px; z-index: 9; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--linha); scrollbar-width: none; }
.cd-categorias a { flex: none; text-decoration: none; font-size: 13.5px; font-weight: 700; color: var(--texto); background: var(--fundo); padding: 7px 14px; border-radius: 999px; }
.cd-lista { max-width: 640px; width: 100%; margin: 0 auto; padding: 6px 16px 120px; }
.cd-lista h2 { font-size: 19px; font-weight: 800; padding: 22px 0 8px; scroll-margin-top: 120px; }
.cd-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.cd-item.esgotado { opacity: .55; }
.cd-txt { flex: 1; min-width: 0; }
.cd-item h3 { font-size: 16px; font-weight: 700; }
.cd-item p { font-size: 13.5px; color: var(--suave); margin-top: 3px; }
.cd-preco { font-weight: 800; margin-top: 6px; }
.cd-esg { font-size: 12px; font-weight: 700; color: #9B2C2C; background: #FCEBEB; padding: 3px 8px; border-radius: 6px; }
.cd-item img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; flex: none; }
.cd-qtd { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; border: 1px solid var(--linha); border-radius: 12px; padding: 2px; }
.cd-qtd button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--fundo); color: var(--texto); display: grid; place-items: center; cursor: pointer; }
.cd-qtd button[data-mais] { background: var(--principal); color: var(--sobre-principal); }
.cd-qtd .ic { width: 18px; height: 18px; }
.cd-qtd b { min-width: 16px; text-align: center; }
.cd-barra { position: fixed; inset: auto 0 0; z-index: 20; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(255,255,255,.95) 30%); }
.cd-barra button { width: 100%; max-width: 608px; margin: 0 auto; display: flex; align-items: center; gap: 12px; height: 58px; border: 0; border-radius: 18px; padding: 0 18px; background: var(--principal); color: var(--sobre-principal); font: 700 15px var(--sans); cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.cd-barra em { margin-left: auto; font-style: normal; display: inline-flex; align-items: center; gap: 6px; }
.cd-barra .ic { width: 18px; height: 18px; }
.cd-resumo { text-align: left; display: grid; gap: 8px; margin-bottom: 8px; }
.cd-resumo div { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.cd-resumo .total { font-weight: 800; border-top: 1px solid var(--linha); padding-top: 8px; }
