/* =====================================================================
   MesaPronta — CSS CENTRALIZADO (único arquivo de estilos do sistema)
   Tema CLARO apenas. Nenhuma página tem <style> próprio nem style="".
   Cores por loja: classes tema-laranja, tema-vermelho, etc. (no <body>).
   ===================================================================== */

:root {
  color-scheme: light;
  --cor: #c2410c;
  --cor-hover: #9a3412;
  --cor-suave: #fff1e8;
  --texto: #1f2937;
  --texto-suave: #4b5563;
  --linha: #e5e7eb;
  --fundo: #f6f7f9;
  --branco: #ffffff;
  --ok: #15803d;
  --ok-fundo: #e8f6ec;
  --erro: #b91c1c;
  --erro-fundo: #fdecec;
  --aviso: #92400e;
  --aviso-fundo: #fff5dc;
  --raio: 14px;
  --sombra: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 14px rgba(15, 23, 42, .06);
}

/* ---- Temas de cor (claros, com contraste de texto branco >= 4.5:1) ---- */
.tema-laranja { --cor: #c2410c; --cor-hover: #9a3412; --cor-suave: #fff1e8; }
.tema-vermelho { --cor: #b91c1c; --cor-hover: #991b1b; --cor-suave: #fdecec; }
.tema-verde { --cor: #15803d; --cor-hover: #166534; --cor-suave: #e8f6ec; }
.tema-azul { --cor: #1d4ed8; --cor-hover: #1e40af; --cor-suave: #e8effd; }
.tema-roxo { --cor: #6d28d9; --cor-hover: #5b21b6; --cor-suave: #f0e9fc; }
.tema-rosa { --cor: #be185d; --cor-hover: #9d174d; --cor-suave: #fce8f1; }
.tema-marrom { --cor: #92400e; --cor-hover: #78350f; --cor-suave: #f8efe6; }
.tema-grafite { --cor: #1f2937; --cor-hover: #111827; --cor-suave: #eceef1; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; font-size: 14px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fundo);
}
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; margin-top: 1.4em; }
h3 { font-size: 1.05rem; margin-top: 1.2em; }
p { margin: 0 0 1.1em; }
strong { letter-spacing: .01em; }
a { color: var(--cor); }
a:hover { color: var(--cor-hover); }
img { max-width: 100%; height: auto; }
code { background: #eef0f3; padding: .1em .4em; border-radius: 6px; font-size: .92em; }
hr { border: 0; border-top: 1px dashed #9ca3af; margin: 10px 0; }
small { color: var(--texto-suave); }

.centro { text-align: center; }
.estreito { max-width: 640px; margin-left: auto; margin-right: auto; }
.dica { color: var(--texto-suave); font-size: .92rem; }
.vazio { color: var(--texto-suave); text-align: center; padding: 28px 12px; }

/* ---- Marca (no lugar do logotipo) ---- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--texto); letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.brand-pequena { font-size: .95rem; }
.brand-pequena img { width: 24px; height: 24px; }

/* ---- Botões ---- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--cor); color: #fff; font: inherit; font-weight: 700; font-size: .95rem; white-space: nowrap;
  padding: 7px 14px; border-radius: 9px; min-height: 36px; line-height: 1.25;
}
.btn:hover { background: var(--cor-hover); color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .prod:focus-visible {
  outline: 3px solid #93c5fd; outline-offset: 2px;
}
.btn-sec { background: var(--branco); color: var(--cor); border: 2px solid var(--cor); padding: 5px 12px; }
.btn-sec:hover { background: var(--cor-suave); color: var(--cor-hover); }
.btn-perigo { background: var(--branco); color: var(--erro); border: 2px solid var(--erro); padding: 5px 12px; }
.btn-perigo:hover { background: var(--erro-fundo); color: var(--erro); }
.btn-grande { width: 100%; font-size: 1.02rem; padding: 11px; margin-top: 8px; }
.btn-bloco { display: block; margin: 12px 0; }
.btn-mini { min-height: 34px; padding: 4px 10px; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---- Alertas ---- */
.alert { padding: 12px 14px; border-radius: 10px; margin: 0 0 12px; font-size: .95rem; border: 1px solid transparent; }
.alert-ok { background: var(--ok-fundo); color: var(--ok); border-color: #b7e2c3; }
.alert-erro { background: var(--erro-fundo); color: var(--erro); border-color: #f3b9b9; }
.alert-aviso { background: var(--aviso-fundo); color: var(--aviso); border-color: #f1d9a0; }

/* ---- Cartões ---- */
.cartao { background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 18px; margin-bottom: 16px; box-shadow: var(--sombra); }
.cartao > strong:first-child { display: block; margin-bottom: 8px; }
.cartao h2:first-child { margin-top: 0; }
.cartao-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.cartao-topo form { margin-left: auto; }

.cartao-centro { max-width: 460px; margin: 6vh auto; background: var(--branco); border: 1px solid var(--linha); border-radius: 18px; padding: 26px 22px; box-shadow: var(--sombra); }
.cabeca-centro { text-align: center; margin-bottom: 14px; }

/* ---- Formulários ---- */
.form label, label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: 12px; }
.form .check, label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
input, select, textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; color: var(--texto);
  background: var(--branco); border: 1.5px solid #c7ccd4; border-radius: 10px; min-height: 44px;
}
input[type="checkbox"], input[type="radio"] { display: inline-block; width: 20px; min-height: 20px; height: 20px; margin: 0; accent-color: var(--cor); }
input[type="file"] { padding: 8px; }
input[readonly], textarea[readonly] { background: #f3f4f6; }
textarea { resize: vertical; }
.grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.linha-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.linha-form input, .linha-form select { width: auto; flex: 1 1 150px; margin-top: 0; }
.linha-form label { margin: 0; }
.linha-form .check input { flex: 0 0 auto; }

/* ---- Selos ---- */
.selo { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: #eceef1; color: #374151; margin: 0 4px 4px 0; }
.selo-aberto { background: var(--ok-fundo); color: var(--ok); }
.selo-fechado { background: var(--erro-fundo); color: var(--erro); }
.selo-st { background: var(--cor-suave); color: var(--cor-hover); }

/* ---- Tabelas ---- */
.tabela-wrap { overflow-x: auto; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); margin-bottom: 14px; }
.tabela { width: 100%; border-collapse: collapse; }
.tabela th, .tabela td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--linha); vertical-align: middle; }
.tabela tr:last-child td, .tabela tr:last-child th { border-bottom: 0; }
.tabela thead th { background: #f3f4f6; font-size: .85rem; }
.tabela input[type="time"] { width: 130px; margin: 0; }
.tabela .acoes { display: flex; flex-wrap: wrap; gap: 6px; }
.tabela .acoes form { display: flex; gap: 6px; flex-wrap: wrap; }
.barra-col { min-width: 140px; }
progress { width: 100%; height: 12px; accent-color: var(--cor); }

.acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.acoes input { width: auto; flex: 0 1 auto; margin: 0; }
/* Barras de topo (loja aberta/fechada, pausar) em linha, sem empilhar */
.status-loja, .pausa-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.status-loja > div:first-child, .pausa-barra > strong { margin-right: auto; }
.status-loja form, .pausa-barra form { margin: 0; }
.lista-simples { list-style: none; margin: 0 0 12px; padding: 0; }
.lista-simples li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--linha); }
.lista-simples em { color: var(--texto-suave); font-style: normal; margin-left: 6px; }
.miniatura { border-radius: 12px; object-fit: cover; vertical-align: middle; }

.abas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.abas a { padding: 8px 14px; border-radius: 999px; background: var(--branco); border: 1px solid var(--linha); text-decoration: none; color: var(--texto); font-weight: 600; font-size: .92rem; }
.abas a.ativo { background: var(--cor); color: #fff; border-color: var(--cor); }

.indicadores { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 8px; }
.indicador { margin: 0; text-align: center; }
.indicador span { display: block; color: var(--texto-suave); font-size: .85rem; }
.indicador strong { font-size: 1.35rem; }

/* ---- Resumo de valores ---- */
.resumo { border-top: 1px dashed #c7ccd4; margin-top: 10px; padding-top: 8px; }
.linha { display: flex; justify-content: space-between; padding: 2px 0; }
.linha-total { font-size: 1.15rem; font-weight: 800; padding-top: 6px; }

/* ---- Instalador / login ---- */
.requisitos { list-style: none; padding: 0; margin: 10px 0 0; font-size: .9rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.requisitos .ok { color: var(--ok); }
.requisitos .falha { color: var(--erro); font-weight: 700; }
.requisitos-box { background: var(--fundo); border: 1px solid var(--linha); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; font-size: .92rem; }
.requisitos-box summary { cursor: pointer; font-weight: 600; color: var(--texto); }
.instalador .cartao-centro { max-width: 680px; padding: 32px 36px; }
.instalador h1 { font-size: 1.5rem; margin: 0 0 4px; text-align: center; }
.instalador .sub { text-align: center; color: var(--texto-suave); margin: 0 0 20px; }
.instalador .bloco { border-top: 1px solid var(--linha); padding: 18px 0 6px; }
.instalador h2 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0 0 12px; }
.instalador .num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cor); color: #fff; font-size: .85rem; font-weight: 700; }

/* ---- Painel ---- */
.topo { background: var(--branco); border-bottom: 1px solid var(--linha); position: sticky; top: 0; z-index: 20; }
.topo-in { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topo-loja { color: var(--texto-suave); font-weight: 600; }
.topo-fim { margin-left: auto; display: flex; gap: 14px; }
.topo-fim a { text-decoration: none; font-weight: 600; }
.menu { max-width: 1100px; margin: 0 auto; padding: 0 12px 8px; display: flex; gap: 6px; overflow-x: auto; }
.menu a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--texto); font-weight: 600; font-size: .92rem; }
.menu a:hover { background: var(--cor-suave); }
.menu a.ativo { background: var(--cor); color: #fff; }
.conteudo { max-width: 1100px; margin: 0 auto; padding: 20px 16px 60px; }

.grade-pedidos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.pedido { margin: 0; border-left: 6px solid var(--cor); }
.pedido.st-entregue { border-left-color: var(--ok); }
.pedido.st-cancelado { border-left-color: var(--erro); opacity: .8; }
.pedido-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.pedido-topo time { margin-left: auto; color: var(--texto-suave); font-size: .85rem; }
.itens { padding-left: 18px; margin: 8px 0; }

/* ---- Loja pública ---- */
.loja-topo { background: var(--cor); color: #fff; }
.loja-topo-in { max-width: 860px; margin: 0 auto; padding: 22px 16px 18px; }
.loja-topo-baixo .loja-topo-in { padding: 18px 16px; }
.loja-topo h1 { margin: 0; font-size: 1.5rem; color: #fff; }
.loja-id { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.loja-logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #fff; flex: 0 0 auto; border: 3px solid rgba(255, 255, 255, .85); }
.loja-logo-letra { display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: var(--cor); }
.loja-desc { margin: 2px 0 0; opacity: .95; }
.loja-end { margin: 8px 0 0; font-size: .92rem; opacity: .95; }
.selos .selo { background: rgba(255, 255, 255, .95); color: var(--texto); }
.selos .selo-aberto { background: #dcfce7; color: #166534; }
.selos .selo-fechado { background: #fee2e2; color: #991b1b; }

.cats { position: sticky; top: 0; z-index: 15; display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; background: var(--branco); border-bottom: 1px solid var(--linha); }
.cats a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--cor-suave); color: var(--cor-hover); text-decoration: none; font-weight: 700; font-size: .92rem; }
.loja-main { max-width: 860px; margin: 0 auto; padding: 16px 14px 120px; }
.secao { scroll-margin-top: 64px; }
.lista-prod { display: grid; gap: 12px; }
.prod { display: flex; justify-content: space-between; gap: 14px; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 14px; cursor: pointer; box-shadow: var(--sombra); }
.prod:hover { border-color: var(--cor); }
.prod h3 { margin: 0 0 4px; font-size: 1.02rem; }
.prod p { margin: 0 0 6px; color: var(--texto-suave); font-size: .92rem; }
.preco { color: var(--cor); font-size: 1.05rem; }
.prod-img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; }
.rodape-loja { display: flex; gap: 10px; justify-content: center; align-items: center; color: var(--texto-suave); padding: 0 0 100px; font-size: .88rem; }

.barra-carrinho {
  position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 836px; margin: 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--cor); color: #fff; border: 0; border-radius: 14px; padding: 14px 18px; font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 24px rgba(15, 23, 42, .28);
}
.barra-carrinho:hover { background: var(--cor-hover); }
.barra-carrinho #barra-qtd { background: #fff; color: var(--cor); border-radius: 999px; min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }

.dlg { border: 0; border-radius: 18px; padding: 0; width: calc(100% - 24px); max-width: 520px; color: var(--texto); background: var(--branco); }
.dlg-grande { max-width: 640px; }
.dlg::backdrop { background: rgba(15, 23, 42, .5); }
.dlg-corpo { padding: 20px 18px 22px; position: relative; max-height: 88vh; overflow-y: auto; }
.dlg-fechar { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--texto-suave); }
.dlg-rodape { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 12px; }
.dlg-rodape .btn { flex: 1; }
.grupo { border: 1px solid var(--linha); border-radius: 12px; padding: 8px 12px 4px; margin: 0 0 12px; }
.grupo legend { font-weight: 700; padding: 0 6px; font-size: .92rem; }
.opcao-linha { display: flex; align-items: center; gap: 10px; font-weight: 500; padding: 4px 0; }
.opcao-linha span { flex: 1; }
.opcao-linha em { font-style: normal; color: var(--texto-suave); font-size: .9rem; }
.qtd { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid #c7ccd4; border-radius: 10px; }
.qtd button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--cor); font-weight: 800; }
.qtd span { min-width: 26px; text-align: center; font-weight: 700; }

.item { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linha); }
.item-info small { display: block; }
.item-total { min-width: 80px; text-align: right; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.opcao { display: flex; align-items: center; gap: 8px; border: 1.5px solid #c7ccd4; border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer; margin: 0; }
.opcao:has(input:checked) { border-color: var(--cor); background: var(--cor-suave); }
.cupom { display: flex; gap: 10px; align-items: end; }
.cupom label { flex: 1; margin-bottom: 12px; }
.cupom .btn { margin-bottom: 12px; }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: #111827; color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 60; font-size: .92rem; transition: opacity .4s; }
.toast-sai { opacity: 0; }

/* ---- Acompanhamento ---- */
.pix-cartao { text-align: center; }
.pix-qr { width: 230px; max-width: 100%; margin: 8px auto 14px; padding: 8px; background: #fff; border: 1px solid var(--linha); border-radius: 12px; }
.pix-qr svg { display: block; width: 100%; height: auto; }
.pix-cartao textarea { font-size: .8rem; word-break: break-all; }
.item-resumo { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--linha); }
.item-resumo small { display: block; }

/* ---- Página inicial ---- */
.home-topo { background: var(--branco); border-bottom: 1px solid var(--linha); }
.home-topo-in { max-width: 960px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-main { max-width: 960px; margin: 0 auto; padding: 24px 16px 60px; }
.home-hero { text-align: center; padding: 36px 8px 24px; }
.home-hero h1 { font-size: 2rem; }
.home-hero p { color: var(--texto-suave); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.lista-lojas { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.loja-card { text-decoration: none; color: var(--texto); display: block; }
.loja-card span { display: block; color: var(--texto-suave); font-size: .9rem; }
.loja-card:hover { border-color: var(--cor); }

/* ---- Comanda (impressão 80 mm) ---- */
.comanda { background: #fff; }
.cupom-papel { width: 302px; max-width: 100%; margin: 12px auto; font-family: "Courier New", monospace; font-size: 13px; color: #000; }
.cupom-papel h1 { font-size: 1.1rem; text-align: center; }
.cupom-item { display: flex; justify-content: space-between; gap: 8px; }
.cupom-sub { padding-left: 14px; font-size: 12px; }
.cupom-total { font-weight: 700; font-size: 15px; }

@media print {
  body { background: #fff; }
  .sem-impressao, .topo, .menu, .barra-carrinho, .btn, .abas, .dica, label, input { display: none !important; }
  .cartao { box-shadow: none; border: 0; }
  .conteudo { padding: 0; }
  .cupom-papel { margin: 0; width: 100%; }
  #loja-qr { display: block !important; width: 70mm; border: 0; }
}

@media (max-width: 620px) {
  h1 { font-size: 1.4rem; }
  .grade-2 { grid-template-columns: 1fr; }
  .requisitos { grid-template-columns: 1fr; }
  .entregador-link { grid-template-columns: 1fr; }
  .instalador .cartao-centro { padding: 22px 16px; }
  .item { grid-template-columns: 1fr auto; }
  .item-total { grid-column: 2; }
  .prod-img { width: 80px; height: 80px; }
  .cupom-papel { font-size: 12px; }
}


/* ---- Entregadores e mapa ---- */
.mapa { width: 100%; height: 230px; border-radius: 12px; border: 1px solid var(--linha); background: var(--fundo); z-index: 0; overflow: hidden; }
.mapa-entregador { margin-top: 10px; height: 260px; }
.mapa-pequeno { height: 200px; margin-top: 10px; }
.mapa-vazio { margin-top: 10px; padding: 18px 14px; border-radius: 12px; border: 1px dashed var(--linha); background: var(--fundo); color: var(--texto-suave); text-align: center; }
.mapa-vazio[hidden] { display: none; }
.mapa-cartao .cartao-topo { margin-bottom: 0; }
.mapa .leaflet-tile-pane { filter: saturate(.55) contrast(.95) brightness(1.03); }
.mapa .leaflet-control-zoom a { width: 26px; height: 26px; line-height: 26px; font-size: 16px; }
.mapa .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .8); }
.marcador-moto { background: none; border: 0; filter: drop-shadow(0 2px 3px rgba(31, 41, 55, .35)); }
.marcador-moto svg { display: block; }
.mapa[hidden] { display: none; }
.marcador-pulso-wrap { background: none; border: 0; position: relative; width: 22px; height: 22px; }
.marcador-pulso-ponto {
  position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%; background: #2563eb; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.marcador-pulso-halo {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: rgba(37, 99, 235, .45);
  animation: marcador-pulso 1.6s ease-out infinite;
}
@keyframes marcador-pulso {
  0% { transform: scale(.4); opacity: .8; }
  100% { transform: scale(2.4); opacity: 0; }
}
.marcador span { display: block; width: 18px; height: 18px; margin: 2px; border-radius: 50%; background: var(--cor); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--cor), 0 1px 4px rgba(0, 0, 0, .35); }
.leaflet-tooltip.marcador-nome { background: var(--branco); color: var(--texto); border: 1px solid var(--linha); font-weight: 700; box-shadow: var(--sombra); }
.gps { margin-bottom: 14px; }
.gps-estado { margin: 4px 0 0; color: var(--texto-suave); }
.gps-ok { border-color: #86c79a; background: var(--ok-fundo); }
.gps-erro { border-color: #e7a3a3; background: var(--erro-fundo); }
.entregador-link { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; margin: 10px 0; }
.entregador-link .pix-qr { width: 120px; }
.acoes-entregador { align-items: end; }
.acoes-entregador select { min-width: 160px; }

/* ---- Acompanhamento no estilo "saiu para entrega" ---- */
.marcador-destino span { background: var(--ok); box-shadow: 0 0 0 2px var(--ok), 0 1px 4px rgba(0, 0, 0, .35); border-radius: 4px; }
.saiu-cartao h2 { margin: 6px 0 2px; }
.saiu-eta { font-size: 1.15rem; font-weight: 700; margin: 4px 0 10px; }
.chegando { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--ok-fundo); color: var(--ok); font-weight: 800; border: 1px solid #86c79a; animation: pulsar 1.4s ease-in-out infinite; }
@keyframes pulsar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
.trilha { position: relative; height: 46px; margin: 0 0 12px; color: var(--cor); }
.trilha-linha { position: absolute; left: 0; right: 0; bottom: 6px; height: 4px; border-radius: 2px; background: var(--linha); }
.trilha .trilha-moto { position: absolute; bottom: 6px; left: 0; width: 66px; height: 43px; transition: left 1.2s ease; }
.trilha-casa { position: absolute; right: 0; bottom: 14px; font-size: .78rem; font-weight: 700; color: var(--ok); }
.trilha.p1 .trilha-moto { left: 8%; } .trilha.p2 .trilha-moto { left: 16%; } .trilha.p3 .trilha-moto { left: 24%; }
.trilha.p4 .trilha-moto { left: 32%; } .trilha.p5 .trilha-moto { left: 40%; } .trilha.p6 .trilha-moto { left: 48%; }
.trilha.p7 .trilha-moto { left: 56%; } .trilha.p8 .trilha-moto { left: 64%; } .trilha.p9 .trilha-moto { left: 72%; }
.trilha.p10 .trilha-moto { left: calc(100% - 118px); }
.motoboy-card { margin: 10px 0 6px; color: var(--texto-suave); }
.motoboy-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 12px; border-radius: 10px; background: var(--fundo); border: 1px solid var(--linha); margin: 8px 0; }
.motoboy-box small { flex-basis: 100%; color: var(--texto-suave); }
.motoboy-oferta { background: var(--aviso-fundo); border-color: #f1d9a0; }
.motoboy-aceito { background: var(--ok-fundo); border-color: #86c79a; }
.motoboy-chegou { background: var(--cor-suave); border-color: var(--cor); animation: pulsar 1.6s ease-in-out infinite; }
.motoboy-rota { background: var(--ok-fundo); border-color: #86c79a; }
.entrega-oferta { border-color: var(--cor); border-width: 2px; }
.destaque { font-size: 1.15rem; font-weight: 800; margin: 4px 0; }
.aguardando { font-weight: 700; color: var(--cor); }
.pontos::after { content: ''; animation: pontos 1.4s steps(4, end) infinite; }
@keyframes pontos { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75%, 100% { content: '...'; } }
.geo-box { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin: 4px 0 10px; }
.geo-box small, .editar summary { color: var(--texto-suave); }
.editar { margin: 8px 0; }
.editar summary { cursor: pointer; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .moto-entra, .chegando, .motoboy-chegou, .pontos::after { animation: none; } .trilha .trilha-moto { transition: none; } }

/* ---- Mapa (Leaflet 1.9.4, licença BSD-2, incluído aqui para manter um único arquivo de CSS) ---- */
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

/* Imagem da moto: fundo branco some sobre o cartão claro */
.marcador-moto img { display: block; filter: none; }
.trilha .trilha-moto { width: 66px; height: auto; }
.marcador-moto img { width: 56px !important; height: 48px !important; max-width: none; }
.marcador-moto { filter: none !important; background: none !important; box-shadow: none !important; }
.marcador-moto img { box-shadow: none; }

/* ---- Marcador e ícone da moto (imagem do entregador) ---- */
.marcador-moto { background: none !important; border: 0; filter: none !important; box-shadow: none !important; }
.marcador-moto img { display: block; width: 56px !important; height: 48px !important; max-width: none; }
.trilha .trilha-moto { height: auto; }

/* ---- Central do pedido (acompanhamento) ---- */
.largo { max-width: 900px; margin-left: auto; margin-right: auto; }
.central-topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 4px 0 14px; }
.central-topo h1 { margin: 0; font-size: 1.5rem; color: var(--texto-suave); }
.central-num { text-align: right; line-height: 1.1; }
.central-num small { display: block; font-size: .7rem; letter-spacing: .04em; color: var(--texto-suave); }
.central-num strong { display: inline-block; font-size: 1.25rem; color: var(--cor); border-bottom: 3px solid var(--cor); padding-bottom: 2px; }
.linha-tempo { padding: 22px 8px 18px; }
.linha-tempo ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.linha-tempo li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; color: var(--texto-suave); }
.lt-check { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ok); margin-bottom: 8px; visibility: hidden; }
.lt-check svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lt-nome { font-size: .72rem; text-transform: uppercase; letter-spacing: .02em; color: var(--texto); min-height: 2.2em; }
.lt-data, .lt-hora { font-size: .78rem; line-height: 1.35; }
.lt-no { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-top: 10px; border-radius: 50%; background: #d5d9e0; color: #fff; font-weight: 800; font-size: .8rem; }
.linha-tempo li::after { content: ''; position: absolute; left: 50%; right: -50%; bottom: 11px; height: 4px; background: #d5d9e0; }
.linha-tempo li:last-child::after { display: none; }
.linha-tempo li.feita .lt-check, .linha-tempo li.atual .lt-check { visibility: visible; }
.linha-tempo li.feita .lt-no, .linha-tempo li.atual .lt-no { background: var(--cor); }
.linha-tempo li.feita::after { background: var(--cor); }
.linha-tempo li.atual .lt-check { background: var(--cor); }
.linha-tempo li.atual .lt-nome { color: var(--cor); }
.central-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.central-card { margin-bottom: 0; }
.central-card h2 { margin: 0 0 10px; padding-bottom: 8px; font-size: 1.05rem; color: var(--cor); border-bottom: 1px solid var(--linha); }
.central-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 10px; margin: 0; font-size: .9rem; }
.central-card dt { text-align: right; font-weight: 700; color: var(--texto-suave); }
.central-card dd { margin: 0; overflow-wrap: anywhere; }
.central-rastrear { display: block; margin-top: 12px; text-align: right; font-weight: 700; font-size: .9rem; }
.central-cards + .cartao, .central-cards + .saiu-cartao { margin-top: 14px; }
@media (max-width: 480px) { .lt-nome { min-height: 3.4em; } .central-topo h1 { font-size: 1.15rem; } .lt-nome { font-size: .64rem; } .lt-data, .lt-hora { font-size: .7rem; } }
.lt-nome { min-height: 3.4em; }

.linha-tempo ol.n5 { grid-template-columns: repeat(5, 1fr); }
.chegou-aviso { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--ok-fundo); color: var(--ok); font-weight: 800; border: 1px solid #86c79a; }
.chegou-ok #eta, .chegou-ok #chegando { display: none; }
@media (max-width: 480px) { .linha-tempo ol.n5 .lt-nome { font-size: .56rem; } .linha-tempo ol.n5 .lt-data, .linha-tempo ol.n5 .lt-hora { font-size: .62rem; } }

.alerta-chegou { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(31, 41, 55, .55); }
.alerta-chegou[hidden] { display: none; }
.alerta-chegou-caixa { width: 100%; max-width: 360px; padding: 26px 22px 22px; text-align: center; background: var(--branco); border-radius: 18px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.alerta-chegou-caixa h2 { margin: 12px 0 6px; font-size: 1.5rem; color: var(--ok); }
.alerta-chegou-caixa p { margin: 0 0 18px; }
.alerta-chegou-icone { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); }
.alerta-chegou-icone svg { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes anel { 0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, .5); } 100% { box-shadow: 0 0 0 22px rgba(21, 128, 61, 0); } }
.alerta-chegou-icone { animation: anel 1.3s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .alerta-chegou-icone { animation: none; } }
.alerta-chegou-caixa .btn { width: 100%; }

/* ---- Dados fiscais ---- */
.fiscal-status { border-left: 5px solid var(--linha); }
.fiscal-ok { border-left-color: var(--ok); background: var(--ok-fundo); }
.fiscal-falta { border-left-color: #d9a21b; background: var(--aviso-fundo); }

/* ---- Cupom impresso (não fiscal) ---- */
.cupom-papel.p58 { width: 214px; font-size: 11px; }
.cupom-cab { text-align: center; }
.cupom-cab h1 { margin: 0 0 4px; }
.cupom-cab p, .cupom-papel p { margin: 2px 0; }
.cupom-aviso { text-align: center; font-weight: 700; margin: 8px 0 4px; letter-spacing: .03em; }
.cupom-papel hr { border: 0; border-top: 1px dashed #000; margin: 8px 0; }
.cupom-papel { background: #fff; padding: 8px; margin-bottom: 14px; border: 1px solid var(--linha); }
.avancado summary { cursor: pointer; }
.avancado[open] summary { margin-bottom: 10px; }
@media print {
  @page { margin: 0; }
  .cupom-papel { border: 0; padding: 2mm; margin: 0; page-break-after: always; break-after: page; }
  .cupom-papel.p80 { width: 76mm; }
  .cupom-papel.p58 { width: 52mm; }
  .cupom-papel:last-child { page-break-after: auto; break-after: auto; }
}
.oculto-impressao { position: fixed; width: 1px; height: 1px; left: -9999px; border: 0; }
.passo-impressora { background: var(--fundo); border: 1px solid var(--linha); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.passo-impressora ol { margin: 6px 0 10px 20px; padding: 0; }
.passo-impressora li { margin-bottom: 4px; }

/* Gerenciamento de impressoras */
.topo-fim { align-items: center; }
.topo-btn { font: inherit; font-weight: 600; font-size: .85rem; padding: 6px 12px; border: 1px solid var(--linha); border-radius: 8px; background: var(--branco); color: var(--texto); cursor: pointer; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topo-btn.ok { border-color: var(--ok); color: var(--ok); background: var(--ok-fundo); }
#mp-imp[hidden] { display: none; }
#mp-imp { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.imp-fundo { position: absolute; inset: 0; background: rgba(31, 41, 55, .35); }
.imp-caixa { position: relative; background: var(--branco); border-radius: 14px; padding: 22px; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.imp-caixa h2 { margin: 0 0 10px; }
.imp-lista { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.imp-item { width: 100%; text-align: left; font: inherit; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 10px; background: var(--branco); color: var(--texto); cursor: pointer; }
.imp-item:hover { border-color: var(--cor); }
.imp-item.ativo { border-color: var(--ok); background: var(--ok-fundo); font-weight: 700; }

/* Pausa, cancelamento e tempo de preparo */
.pausa-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; padding: 10px 14px; }
.pausa-barra form { margin: 0; }
.cancelar-box { margin-top: 8px; }
.cancelar-box summary { cursor: pointer; font-weight: 600; color: var(--erro); }
.prep-sel { display: inline-flex; align-items: center; gap: 6px; }
.prep-sel select { width: auto; }

/* Código de segurança da entrega */
.codigo-entrega { text-align: center; border: 2px dashed var(--cor); background: var(--cor-suave); }
.codigo-entrega small { display: block; font-weight: 700; letter-spacing: .08em; color: var(--texto-suave); }
.codigo-entrega strong { display: block; font-size: 2.4rem; letter-spacing: .3em; margin: 4px 0; }
.codigo-ent input { width: 6.5em; text-align: center; font-size: 1.3rem; letter-spacing: .25em; }

/* Avaliações */
.estrelas { color: #d97706; letter-spacing: 1px; }
.selo-nota { text-decoration: none; color: #92400e; background: #fef3c7; }
.avaliacoes { margin-top: 24px; }
.avaliacao p { margin: 4px 0; }
.resposta-loja { background: var(--cor-suave); border-radius: 8px; padding: 8px 10px; }
.estrelas-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.estrelas-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.estrelas-input label { font-size: 2.2rem; color: #d1d5db; cursor: pointer; line-height: 1; }
.estrelas-input input:checked ~ label, .estrelas-input label:hover, .estrelas-input label:hover ~ label { color: #d97706; }
.estrelas-input input:focus-visible + label { outline: 2px solid var(--cor); border-radius: 4px; }
.nota-geral { border: 0; padding: 0; margin: 0 0 8px; }
.nota-geral legend { font-weight: 600; }

/* Promoções e fidelidade */
.preco-antigo { color: var(--texto-suave); font-size: .85rem; }
.selo-promo { display: inline-block; background: #dcfce7; color: #166534; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.promo-box { border: 1px dashed var(--linha); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.promo-box legend { font-weight: 600; padding: 0 6px; }
.fid-bolinhas { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.fid-bolinhas span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--cor); }
.fid-bolinhas span.cheia { background: var(--cor); }

/* Favoritos e meus pedidos */
.prod { position: relative; }
.fav { position: absolute; top: 6px; right: 8px; font-size: 1.5rem; line-height: 1; color: #9ca3af; cursor: pointer; z-index: 2; padding: 2px 4px; }
.fav.fav-on { color: #dc2626; }
.fav:focus-visible { outline: 2px solid var(--cor); border-radius: 6px; }
.prod[hidden], .secao[hidden] { display: none; }
.ped-hist p { margin: 4px 0; }
.dlg-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.dlg-topo h2 { margin: 0; }

/* Relatórios: filtros e barras */
.filtros-rel { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 10px 0 14px; }
.filtros-rel label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted, #555); }
.linhas-barras { display: grid; gap: 4px; max-width: 520px; }
.linhas-barras .lb { display: grid; grid-template-columns: 38px 1fr 34px; gap: 8px; align-items: center; font-size: .9rem; }
.linhas-barras progress { width: 100%; height: 12px; }
.tabela tr.sub td { color: var(--muted, #555); font-size: .9rem; }

/* QR por mesa */
.mesas-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.mesa-qr { border: 1px solid var(--borda, #ddd); border-radius: 8px; padding: 8px; text-align: center; break-inside: avoid; }
.mesa-qr .pix-qr { max-width: 130px; margin: 6px auto; }
@media print { body.imprime-mesas .topo, body.imprime-mesas .menu, body.imprime-mesas h1, body.imprime-mesas .cartao:not(:last-of-type), body.imprime-mesas .cartao form, body.imprime-mesas .cartao > h2, body.imprime-mesas .cartao > .dica, body.imprime-mesas .cartao > p { display: none !important; } }

/* Chat do pedido */
.chat { margin: 8px 0; }
.chat summary { cursor: pointer; font-weight: 600; }
.chat-msg { margin: 6px 0; padding: 6px 10px; border-radius: 8px; max-width: 90%; overflow-wrap: anywhere; }
.chat-msg small { color: var(--muted, #555); }
.chat-cliente { background: #f1f3f5; }
.chat-loja { background: #fff4e5; margin-left: auto; }
.chat-lista { display: flex; flex-direction: column; }

/* ======================================================================
   Refinamento visual v2 (limpo, estilo app de delivery; sempre tema claro)
   ====================================================================== */
:root { --raio: 12px; --sombra: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 8px rgba(15, 23, 42, .05); --fundo: #f5f5f7; }
body { -webkit-font-smoothing: antialiased; }
h2 { letter-spacing: -.01em; }

/* Topo da loja: faixa de cor + logo sobreposta + informações em branco */
.loja-topo:not(.loja-topo-baixo) { background: var(--branco); color: var(--texto); border-bottom: 1px solid var(--linha); }
.loja-topo:not(.loja-topo-baixo)::before { content: ""; display: block; height: 96px; background: linear-gradient(135deg, var(--cor) 0%, var(--cor-hover) 100%); }
.loja-topo:not(.loja-topo-baixo) .loja-topo-in { margin-top: -44px; padding: 0 16px 14px; position: relative; }
.loja-topo:not(.loja-topo-baixo) .loja-id { align-items: flex-end; margin-bottom: 10px; }
.loja-topo:not(.loja-topo-baixo) .loja-logo { width: 84px; height: 84px; border: 4px solid #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, .18); }
.loja-topo:not(.loja-topo-baixo) h1 { color: var(--texto); font-size: 1.45rem; line-height: 1.2; }
.loja-topo:not(.loja-topo-baixo) .loja-desc { color: var(--texto-suave); opacity: 1; font-size: .94rem; }
.loja-topo:not(.loja-topo-baixo) .loja-end { color: var(--texto-suave); opacity: 1; font-size: .88rem; margin-top: 6px; }
.loja-topo:not(.loja-topo-baixo) .selos .selo { background: #f1f2f4; color: #374151; font-weight: 600; }
.loja-topo:not(.loja-topo-baixo) .selos .selo-aberto { background: var(--ok-fundo); color: var(--ok); font-weight: 700; }
.loja-topo:not(.loja-topo-baixo) .selos .selo-fechado { background: var(--erro-fundo); color: var(--erro); font-weight: 700; }
.loja-topo:not(.loja-topo-baixo) .selos .selo-nota { background: #fef3c7; color: #92400e; }
.loja-topo-in { max-width: 860px; }

/* Categorias: abas com sublinhado */
.cats { gap: 2px; padding: 0 8px; box-shadow: 0 1px 0 var(--linha); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { background: none; border-radius: 0; padding: 14px 12px 11px; color: var(--texto-suave); border-bottom: 3px solid transparent; font-size: .95rem; }
.cats a:hover, .cats a.ativo { color: var(--cor); border-bottom-color: var(--cor); }
.secao { scroll-margin-top: 58px; margin-bottom: 8px; }
.secao h2 { font-size: 1.2rem; margin: 22px 0 10px; }

/* Cards de produto */
.lista-prod { gap: 10px; }
@media (min-width: 720px) { .lista-prod { grid-template-columns: 1fr 1fr; } }
.prod { position: relative; min-height: 124px; padding: 14px; border: 1px solid transparent; box-shadow: var(--sombra); transition: box-shadow .15s, border-color .15s; }
.prod:hover { border-color: #d6d9de; box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 8px 20px rgba(15, 23, 42, .08); }
.prod-info { flex: 1; min-width: 0; padding-right: 4px; }
.prod h3 { font-size: 1rem; font-weight: 700; }
.prod p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.preco { font-weight: 800; font-size: 1.02rem; color: var(--texto); }
.preco-antigo { color: #9ca3af; font-size: .85rem; margin-left: 4px; }
.selo-promo { margin-left: 4px; }
.prod-img { width: 104px; height: 104px; border-radius: 10px; align-self: flex-start; }
.prod::after { content: "+"; position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--branco); color: var(--cor); font-size: 1.4rem; font-weight: 700; line-height: 31px; text-align: center; box-shadow: 0 1px 6px rgba(15, 23, 42, .22); pointer-events: none; }
.fav { top: 8px; right: 8px; width: 30px; height: 30px; padding: 0; font-size: 1.15rem; line-height: 30px; text-align: center; background: rgba(255, 255, 255, .92); border-radius: 50%; box-shadow: 0 1px 4px rgba(15, 23, 42, .18); }
.prod:has(.prod-img) .fav { right: 10px; }

/* Barra do carrinho e avisos */
.barra-carrinho { border-radius: 14px; padding: 13px 16px; box-shadow: 0 8px 28px rgba(15, 23, 42, .3); }
.toast { background: #1f2937; box-shadow: 0 4px 16px rgba(15, 23, 42, .25); }

/* Janelas (produto, carrinho, pedidos): folha na parte de baixo no celular */
.dlg { border-radius: 20px; box-shadow: 0 20px 60px rgba(15, 23, 42, .3); }
@media (max-width: 560px) {
  .dlg { margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; }
  .dlg-corpo { max-height: 90vh; padding-bottom: 28px; }
}
.dlg-corpo h2 { font-size: 1.25rem; margin: 0 40px 6px 0; }
.dlg-fechar { background: #f1f2f4; border-radius: 50%; width: 36px; height: 36px; font-size: 1.4rem; right: 12px; top: 12px; }
.dlg-rodape { position: sticky; bottom: -28px; background: var(--branco); padding: 12px 0 4px; margin-top: 8px; border-top: 1px solid var(--linha); }
.grupo { border-radius: 12px; border-color: var(--linha); background: #fafafa; }
.grupo legend { background: var(--branco); }
.opcao { border-color: var(--linha); border-radius: 12px; background: var(--branco); }
.opcao:has(input:checked) { border-color: var(--cor); background: var(--cor-suave); }
.qtd { border-color: var(--linha); border-radius: 12px; background: var(--branco); }
.item { padding: 12px 0; }

/* Checkout: blocos e resumo */
.dlg-corpo fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.dlg-corpo fieldset legend { font-weight: 800; font-size: .95rem; padding: 0; margin-bottom: 6px; }
.dlg-corpo .resumo, #c-resumo { background: #f8f8fa; border-radius: 12px; padding: 10px 14px; }
.linha-total { font-size: 1.1rem; border-top: 1px dashed #d1d5db; margin-top: 4px; padding-top: 8px; }

/* Botões e campos mais suaves */
.btn { border-radius: 12px; font-weight: 700; }
.btn-grande { padding: 14px 18px; }
input, select, textarea { border-radius: 10px; }
.cartao { border-radius: var(--raio); }
.loja-topo:not(.loja-topo-baixo) .loja-id { align-items: flex-start; }
.loja-topo:not(.loja-topo-baixo) .loja-id > div { padding-top: 50px; min-width: 0; }
@media (max-width: 420px) { .loja-topo:not(.loja-topo-baixo) .loja-id { flex-wrap: wrap; gap: 6px; } .loja-topo:not(.loja-topo-baixo) .loja-id > div { padding-top: 0; flex-basis: 100%; } }
.grupo { background: var(--branco); border-color: #d9dce1; }
.cats { padding-left: max(8px, calc((100% - 860px) / 2 + 6px)); padding-right: 8px; }
.opcao input, .opcao-linha input { width: 18px; height: 18px; margin: 0; accent-color: var(--cor); flex: 0 0 auto; }
.opcao { gap: 10px; }
.dlg-corpo label.opcao, label.opcao { display: flex; align-items: center; gap: 10px; }

/* ---- Painel: refinamento ---- */
.topo { box-shadow: 0 1px 0 var(--linha); }
.menu { flex-wrap: wrap; gap: 4px; padding-bottom: 10px; }
.menu a { padding: 7px 13px; font-size: .9rem; color: var(--texto-suave); }
.menu a:hover { color: var(--cor-hover); }
.menu a.ativo { color: #fff; }
@media (max-width: 760px) { .menu { flex-wrap: nowrap; scrollbar-width: none; } .menu::-webkit-scrollbar { display: none; } }
.conteudo > h1 { font-size: 1.5rem; margin: 4px 0 14px; }

/* Barra de pausa mais discreta */
.conteudo > section.cartao:has(button[data-confirmar^="Pausar"]), .conteudo > section.cartao:has(input[value="retomar"]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; }
.conteudo > section.cartao:has(button[data-confirmar^="Pausar"]) strong { font-size: .88rem; color: var(--texto-suave); font-weight: 600; margin-right: 4px; }
.conteudo > section.cartao:has(button[data-confirmar^="Pausar"]) .btn { padding: 6px 12px; min-height: 0; font-size: .85rem; font-weight: 600; border-width: 1px; }

/* Cartões de pedido: leitura rápida no balcão */
.grade-pedidos { gap: 16px; }
.pedido { border-left-width: 5px; padding: 16px 16px 14px; }
.pedido-topo strong { font-size: 1.1rem; letter-spacing: .02em; }
.pedido.st-novo { border-left-color: var(--cor); box-shadow: 0 0 0 2px var(--cor-suave), var(--sombra); }
.pedido.st-preparo { border-left-color: #d97706; }
.pedido.st-saiu { border-left-color: #2563eb; }
.pedido.st-novo .selo-st { background: var(--cor); color: #fff; }
.pedido.st-preparo .selo-st { background: #fef3c7; color: #92400e; }
.pedido.st-saiu .selo-st { background: #dbeafe; color: #1e40af; }
.pedido.st-entregue .selo-st { background: var(--ok-fundo); color: var(--ok); }
.pedido.st-cancelado .selo-st { background: var(--erro-fundo); color: var(--erro); }
.pedido .itens { margin: 10px 0; padding-left: 20px; font-size: 1rem; line-height: 1.5; }
.pedido details > summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--texto-suave); padding: 4px 0; }
.pedido .acoes .btn:first-child:not(.btn-sec) { flex: 1 1 auto; }
@media (max-width: 560px) { .pedido .acoes .btn { flex: 1 1 auto; text-align: center; } }

/* Indicadores e tabelas */
.indicador { padding: 14px 16px; }
.indicador span { color: var(--texto-suave); font-size: .85rem; font-weight: 600; }
.indicador strong { font-size: 1.35rem; letter-spacing: -.01em; }
.tabela th { background: #f8f8fa; color: var(--texto-suave); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.tabela tr:hover td { background: #fafafa; }
.abas a { border-radius: 999px; }
.pedido-topo { flex-wrap: nowrap; gap: 6px; }
.pedido-topo strong { font-size: 1rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pedido-topo time { white-space: nowrap; font-size: .8rem; }
.pedido details.recusar > summary, .pedido details:has(button.btn-perigo) > summary { color: var(--erro); }
.pedido-topo { flex-wrap: wrap; }
.pedido-topo strong { overflow: visible; }
.selo-st, .pedido-topo .selo { white-space: nowrap; }

/* ======================================================================
   Página de vendas (vendas/index.html) — tema claro
   ====================================================================== */
.lp { --lp-cor: #c2410c; --lp-cor2: #ea580c; --lp-creme: #fff8f1; --lp-tinta: #1b1f2a; --lp-suave: #596273; background: #fff; color: var(--lp-tinta); scroll-behavior: smooth; }
.lp * { box-sizing: border-box; }
.lp a { color: inherit; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lp h1, .lp h2, .lp h3 { color: var(--lp-tinta); line-height: 1.12; letter-spacing: -.025em; margin: 0; }
.lp h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 800; }
.lp p { line-height: 1.6; }
.lp-sec { padding: clamp(56px, 9vw, 104px) 0; }
.lp-sec.creme { background: var(--lp-creme); }
.lp-kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-cor); background: #ffedd9; border-radius: 999px; padding: 6px 12px; margin-bottom: 14px; }
.lp-lead { color: var(--lp-suave); font-size: 1.1rem; max-width: 640px; margin: 14px 0 0; }
.lp-centro { text-align: center; }
.lp-centro .lp-lead { margin-left: auto; margin-right: auto; }

.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 800; font-size: 1rem; padding: 15px 26px; border-radius: 14px; background: linear-gradient(135deg, var(--lp-cor2), var(--lp-cor)); color: #fff !important; box-shadow: 0 8px 24px rgba(194, 65, 12, .32); transition: transform .15s, box-shadow .15s; }
.lp-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(194, 65, 12, .4); }
.lp-btn.claro { background: #fff; color: var(--lp-tinta) !important; border: 1.5px solid #e4e7ec; box-shadow: 0 2px 8px rgba(15, 23, 42, .06); }
.lp-btn.pequeno { padding: 10px 18px; font-size: .92rem; border-radius: 12px; }

/* Cabeçalho */
.lp-topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(15, 23, 42, .06); }
.lp-topo-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.lp-marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.lp-marca img { width: 34px; height: 34px; }
.lp-nav { display: flex; gap: 26px; }
.lp-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--lp-suave); }
.lp-nav a:hover { color: var(--lp-cor); }
@media (max-width: 860px) { .lp-nav { display: none; } }

/* Hero */
.lp-hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 85% 8%, #ffe3c8 0%, rgba(255, 227, 200, 0) 70%), radial-gradient(700px 480px at 0% 100%, #fff0df 0%, rgba(255, 240, 223, 0) 70%), #fffaf5; padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 96px); }
.lp-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(194, 65, 12, .09) 1px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
@media (max-width: 920px) { .lp-hero-grid { grid-template-columns: 1fr; } }
.lp-hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.1rem); font-weight: 900; letter-spacing: -.04em; line-height: 1.04; }
.lp-hero h1 em { font-style: normal; color: var(--lp-cor); background: linear-gradient(transparent 62%, #ffd9b3 62%); }
.lp-hero .lp-lead { font-size: 1.2rem; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-garantias { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--lp-suave); font-weight: 600; font-size: .92rem; }
.lp-garantias li::before { content: "✓"; color: #15803d; font-weight: 900; margin-right: 6px; }

/* Palco com celular e painel */
.lp-palco { position: relative; min-height: 560px; }
.lp-celular { position: relative; z-index: 2; width: min(290px, 70vw); margin: 0 auto; border-radius: 40px; padding: 9px; background: linear-gradient(145deg, #fff, #eceef2); border: 1px solid #d9dde3; box-shadow: 0 40px 80px rgba(120, 53, 15, .22), 0 8px 20px rgba(15, 23, 42, .1); transform: rotate(-3deg); animation: lp-flut 7s ease-in-out infinite; }
.lp-celular img { display: block; width: 100%; border-radius: 32px; }
.lp-painel-mini { position: absolute; z-index: 1; right: -40px; bottom: -10px; width: 82%; border-radius: 16px; overflow: hidden; border: 1px solid #dfe3e8; box-shadow: 0 30px 70px rgba(15, 23, 42, .18); background: #fff; transform: rotate(2deg); }
.lp-painel-mini img { display: block; width: 100%; }
@media (max-width: 920px) { .lp-painel-mini { display: none; } .lp-palco { min-height: 0; padding-bottom: 20px; } }
@keyframes lp-flut { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }

.lp-flutua { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 14px 40px rgba(15, 23, 42, .16); border: 1px solid #eef0f3; font-size: .88rem; line-height: 1.3; opacity: 0; animation: lp-entra .7s ease forwards, lp-flut2 6s ease-in-out infinite; }
.lp-flutua b { display: block; font-size: .95rem; }
.lp-flutua small { color: var(--lp-suave); }
.lp-flutua .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; }
.lp-flutua.f1 { left: -10px; top: 40px; animation-delay: .6s, 1.3s; }
.lp-flutua.f2 { right: -6px; top: 150px; animation-delay: 1.2s, 1.9s; }
.lp-flutua.f3 { left: 0; bottom: 70px; animation-delay: 1.8s, 2.5s; }
.f1 .ico { background: #ffedd5; color: #c2410c; } .f2 .ico { background: #dcfce7; color: #15803d; } .f3 .ico { background: #dbeafe; color: #1d4ed8; }
@keyframes lp-entra { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lp-flut2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 560px) { .lp-flutua.f1 { left: -4px; top: 10px; } .lp-flutua.f2 { right: -4px; top: 190px; } .lp-flutua.f3 { display: none; } .lp-flutua { padding: 9px 12px; font-size: .8rem; } }

/* Faixa de números */
.lp-nums { background: #fff; border-top: 1px solid #f1f2f4; border-bottom: 1px solid #f1f2f4; }
.lp-nums-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-num { padding: 28px 12px; text-align: center; border-right: 1px solid #f1f2f4; }
.lp-num:last-child { border-right: 0; }
.lp-num b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -.03em; color: var(--lp-cor); }
.lp-num span { color: var(--lp-suave); font-size: .92rem; font-weight: 600; }
@media (max-width: 700px) { .lp-nums-grid { grid-template-columns: 1fr 1fr; } .lp-num:nth-child(2) { border-right: 0; } .lp-num:nth-child(-n+2) { border-bottom: 1px solid #f1f2f4; } }

/* Recursos */
.lp-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 900px) { .lp-grade { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lp-grade { grid-template-columns: 1fr; } }
.lp-card { background: #fff; border: 1px solid #eceef1; border-radius: 20px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 23, 42, .09); border-color: #ffd5b0; }
.lp-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--ic-bg, #ffedd5); color: var(--ic, #c2410c); }
.lp-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.lp-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -.01em; }
.lp-card p { margin: 0; color: var(--lp-suave); font-size: .96rem; }

/* Como funciona */
.lp-passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; counter-reset: p; }
@media (max-width: 800px) { .lp-passos { grid-template-columns: 1fr; } }
.lp-passo { position: relative; background: #fff; border-radius: 20px; padding: 28px 24px; border: 1px solid #f3e3d3; counter-increment: p; }
.lp-passo::before { content: counter(p); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--lp-cor2), var(--lp-cor)); color: #fff; font-weight: 900; margin-bottom: 14px; }
.lp-passo h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.lp-passo p { margin: 0; color: var(--lp-suave); }

/* Vitrine */
.lp-vitrine { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lp-vitrine.inv .lp-vit-img { order: 2; }
@media (max-width: 860px) { .lp-vitrine { grid-template-columns: 1fr; gap: 28px; } .lp-vitrine.inv .lp-vit-img { order: 0; } }
.lp-vit-txt h2 { margin-bottom: 14px; }
.lp-lista { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.lp-lista li { display: flex; gap: 12px; color: var(--lp-suave); line-height: 1.5; }
.lp-lista li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; margin-top: 1px; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat; }
.lp-lista b { color: var(--lp-tinta); }
.lp-vit-img { display: flex; justify-content: center; }
.lp-moldura { border-radius: 22px; overflow: hidden; border: 1px solid #e3e6ea; box-shadow: 0 30px 70px rgba(15, 23, 42, .14); background: #fff; }
.lp-moldura img { display: block; width: 100%; }
.lp-moldura.cel { width: min(280px, 100%); border-radius: 34px; padding: 8px; background: linear-gradient(145deg, #fff, #eceef2); }
.lp-moldura.cel img { border-radius: 27px; }
.lp-par { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.lp-par .lp-moldura.cel:nth-child(2) { margin-top: 40px; }
@media (max-width: 480px) { .lp-par .lp-moldura.cel:nth-child(2) { margin-top: 20px; } }

/* Calculadora */
.lp-calc { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 820px) { .lp-calc { grid-template-columns: 1fr; } }
.lp-calc-box { background: #fff; border: 1px solid #eceef1; border-radius: 22px; padding: 28px; box-shadow: 0 10px 40px rgba(15, 23, 42, .06); }
.lp-calc label { display: block; font-weight: 700; margin: 0 0 6px; font-size: .95rem; }
.lp-calc output { float: right; color: var(--lp-cor); font-weight: 800; }
.lp-calc input[type=range] { width: 100%; accent-color: var(--lp-cor); margin: 4px 0 22px; padding: 0; min-height: 0; border: 0; }
.lp-resultado { background: linear-gradient(145deg, #fff7ed, #ffedd5); border-color: #fed7aa; display: flex; flex-direction: column; justify-content: center; }
.lp-resultado small { color: var(--lp-suave); font-weight: 600; }
.lp-resultado .grande { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.03em; color: var(--lp-cor); line-height: 1.1; margin: 4px 0 14px; }
.lp-resultado p { margin: 0 0 6px; color: var(--lp-suave); font-size: .92rem; }
.lp-nota { font-size: .82rem; color: var(--lp-suave); margin-top: 14px; }

/* Comparativo */
.lp-tab { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 40px; background: #fff; border: 1px solid #eceef1; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(15, 23, 42, .05); }
.lp-tab th, .lp-tab td { padding: 16px 18px; text-align: left; border-bottom: 1px solid #f1f2f4; font-size: .96rem; vertical-align: top; }
.lp-tab tr:last-child td { border-bottom: 0; }
.lp-tab thead th { background: #fafafb; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-suave); }
.lp-tab thead th.nos { background: #fff1e3; color: var(--lp-cor); }
.lp-tab td.nos { background: #fffaf5; font-weight: 700; }
.lp-tab td:first-child { font-weight: 700; width: 30%; }
.lp-tab .ok { color: #15803d; font-weight: 800; }
@media (max-width: 640px) { .lp-tab th, .lp-tab td { padding: 12px 10px; font-size: .86rem; } }
.lp-honesto { margin: 22px auto 0; max-width: 760px; background: #fff; border: 1px dashed #e5c7a8; border-radius: 16px; padding: 16px 20px; color: var(--lp-suave); font-size: .94rem; }
.lp-honesto b { color: var(--lp-tinta); }

/* FAQ */
.lp-faq { max-width: 780px; margin: 40px auto 0; display: grid; gap: 12px; }
.lp-faq details { background: #fff; border: 1px solid #eceef1; border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.lp-faq details[open] { box-shadow: 0 10px 30px rgba(15, 23, 42, .07); border-color: #ffd5b0; }
.lp-faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--lp-cor); font-size: 1.5rem; line-height: 1; font-weight: 600; transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0 0 18px; color: var(--lp-suave); }

/* Chamada final e rodapé */
.lp-final { margin: 0 20px; max-width: 1080px; margin-left: auto; margin-right: auto; background: radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(135deg, #ea580c, #b8400b); color: #fff; border-radius: 32px; padding: clamp(36px, 7vw, 72px) clamp(22px, 5vw, 64px); text-align: center; box-shadow: 0 30px 80px rgba(194, 65, 12, .3); }
.lp-final h2 { color: #fff; }
.lp-final p { color: rgba(255, 255, 255, .9); max-width: 560px; margin: 14px auto 26px; font-size: 1.1rem; }
.lp-final .lp-btn { background: #fff; color: #9a3412 !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.lp-final small { display: block; margin-top: 16px; color: rgba(255, 255, 255, .85); }
.lp-rodape { padding: 44px 0 110px; color: var(--lp-suave); font-size: .9rem; text-align: center; }
.lp-rodape a { color: var(--lp-cor); font-weight: 700; text-decoration: none; }

/* Barra fixa no celular */
.lp-barra { display: none; }
@media (max-width: 700px) {
  .lp-barra { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; align-items: center; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-top: 1px solid #eceef1; box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); }
  .lp-barra span { font-weight: 800; font-size: .95rem; line-height: 1.2; flex: 1; }
  .lp-barra small { display: block; color: var(--lp-suave); font-weight: 600; }
}

/* Revelar ao rolar */
.lp-rev { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.lp-rev.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .lp-rev { opacity: 1; transform: none; transition: none; } .lp-celular, .lp-flutua { animation: none; opacity: 1; } .lp { scroll-behavior: auto; } }
.lp-topo .lp-btn { white-space: nowrap; }
@media (max-width: 700px) { .lp-topo .lp-btn { display: none; } .lp-topo-in { height: 58px; } }
.lp-tab { table-layout: fixed; }
.lp-tab td:first-child { width: 28%; }
.lp-tab th, .lp-tab td { overflow-wrap: anywhere; }
@media (max-width: 480px) { .lp-tab th, .lp-tab td { padding: 10px 8px; font-size: .8rem; } .lp-tab thead th { font-size: .7rem; letter-spacing: .03em; } }
@media (min-width: 641px) and (max-width: 800px) { .lp-passos { grid-template-columns: repeat(3, 1fr); gap: 14px; } .lp-passo { padding: 22px 16px; } }
.lp-resultado .grande { font-size: clamp(1.5rem, 6.4vw, 3rem); }
@media (max-width: 520px) { .topo-loja { display: none; } .topo-in { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; } .topo-fim { gap: 10px; } .topo-btn { padding: 5px 9px; } .brand span { font-size: 1rem; } }

/* Escala de fontes reduzida (base 14px). Campos ficam em 16px no celular para o iPhone não ampliar a tela ao digitar. */
@media (max-width: 760px) { input, select, textarea { font-size: 16px; } }
.lp h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); }
.lp-hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); }
.lp h2 { font-size: clamp(1.55rem, 3.6vw, 2.1rem); }
.lp-hero .lp-lead, .lp-lead { font-size: 1.08rem; }
.lp-num b { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.lp-btn { font-size: .98rem; padding: 13px 22px; }
.lp-resultado .grande { font-size: clamp(1.45rem, 5.6vw, 2.4rem); }

/* Negritos e títulos: sem aumentar a fonte */
h1, .conteudo > h1, .loja-topo h1, .loja-topo:not(.loja-topo-baixo) h1, .central-topo h1, .instalador h1 { font-size: 1.2rem; }
h2, .secao h2, .dlg-corpo h2 { font-size: 1.05rem; }
h3 { font-size: 1rem; }
.brand { font-size: 1.05rem; }
.indicador strong, .central-num strong, .pedido-topo strong { font-size: 1.05rem; }
.linha-total, .saiu-eta, .destaque { font-size: 1rem; }
.btn-grande { font-size: 1rem; }
.home-hero h1 { font-size: 1.6rem; }
@media (max-width: 480px) { h1, .conteudo > h1 { font-size: 1.1rem; } }

/* Estoque */
.prod.esgotado { opacity: .55; cursor: default; }
.prod.esgotado::after, .prod.esgotado .fav { display: none; }
.selo-esgotado, .selo-restam { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.selo-esgotado { background: #f3f4f6; color: #6b7280; }
.selo-restam { background: #fff3e0; color: #b45309; }
.neg { color: #b91c1c; font-weight: 700; }
.indicador small { display: block; color: var(--texto-suave); font-size: .8rem; margin-top: 2px; }
.btn-link { font-weight: 700; white-space: nowrap; }

.brand img { object-fit: contain; border-radius: 8px; }

/* Resumo inteligente */
.insight-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.insight { padding: 10px 12px; border-radius: 10px; border-left: 4px solid #9ca3af; background: #f9fafb; }
.insight-aviso { border-left-color: #dc2626; background: #fef2f2; }
.insight-ok { border-left-color: #16a34a; background: #f0fdf4; }
.insight-dica { border-left-color: #d97706; background: #fffbeb; }
.insight a { font-weight: 700; margin-left: 6px; }

/* ---- Menu do painel agrupado (menus suspensos) ---- */
.menu { overflow: visible; flex-wrap: wrap; gap: 4px; padding: 0 12px 10px; }
.menu > a, .mg summary { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--texto-suave); cursor: pointer; list-style: none; text-decoration: none; white-space: nowrap; }
.mg summary::-webkit-details-marker { display: none; }
.mg summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mg { position: relative; }
.mg summary:hover, .mg[open] summary { background: var(--cor-suave); color: var(--cor-hover); }
.mg.ativo summary { background: var(--cor); color: #fff; }
.mg-lista { position: absolute; top: calc(100% + 4px); left: 0; min-width: 190px; background: var(--branco); border: 1px solid var(--linha); border-radius: 12px; box-shadow: var(--sombra); padding: 6px; z-index: 30; display: flex; flex-direction: column; }
.mg-lista a { padding: 9px 12px; border-radius: 8px; color: var(--texto); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.mg-lista a:hover { background: var(--cor-suave); }
.mg-lista a.ativo { background: var(--cor-suave); color: var(--cor-hover); }
@media (max-width: 760px) { .menu { flex-wrap: wrap; } .menu > a, .mg summary { padding: 8px 12px; } .mg { position: static; } .mg-lista { left: 12px; right: 12px; } .topo { position: sticky; } }

/* ---- Abrir/fechar a loja ---- */
.status-loja { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-left: 5px solid var(--ok); }
.status-loja.st-fechada { border-left-color: var(--erro); }
.status-loja strong { display: block; }
.status-loja.st-aberta strong { color: var(--ok); }
.status-loja.st-fechada strong { color: var(--erro); }
.fechados { background: var(--erro-fundo); color: var(--erro); border: 1px solid #f3b9b9; border-radius: var(--raio); padding: 16px; text-align: center; margin-bottom: 14px; }
.fechados strong { display: block; font-size: 1.3rem; letter-spacing: .04em; margin-bottom: 4px; }
.fechados span { color: var(--texto); font-size: .92rem; }

/* Banner da loja e compartilhamento */
.loja-banner { display: block; width: 100%; max-height: 220px; overflow: hidden; background: var(--cinza, #eceef1); }
.loja-banner img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; }
.loja-topo.tem-banner::before { display: none !important; }
.loja-topo.tem-banner:not(.loja-topo-baixo) .loja-topo-in { margin-top: -36px; }
.miniatura-banner { max-width: 240px; height: auto; border-radius: 8px; vertical-align: middle; }
.compartilhar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: .85rem; }
.compartilhar span { font-weight: 700; }
.compartilhar a, .compartilhar button { padding: 4px 10px; border: 1px solid var(--linha, #d6d9de); border-radius: 999px; background: #fff; color: var(--texto, #222); text-decoration: none; font: inherit; cursor: pointer; }
.compartilhar a:hover, .compartilhar button:hover { border-color: var(--cor); color: var(--cor); }

/* Aviso de saída ("não vá ainda") */
.saida-fundo { position: fixed; inset: 0; z-index: 9999; background: rgba(15, 23, 42, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.saida-caixa { background: #fff; color: #1f2937; border-radius: 14px; max-width: 380px; width: 100%; padding: 24px; text-align: center; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.saida-caixa h2 { margin: 0 0 8px; font-size: 1.35rem; }
.saida-caixa p { margin: 0 0 16px; color: #4b5563; }
.saida-botoes { display: flex; flex-direction: column; gap: 8px; }

/* Atualizações */
.upd-notas { margin: 0 0 12px; padding-left: 18px; line-height: 1.6; text-align: left; }

/* Modo Demonstração */
.demo-banner {
  background-color: #fef3c7;
  color: #92400e;
  border-bottom: 1px solid #fcd34d;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  box-sizing: border-box;
}

.demo-badge-pix {
  display: inline-block;
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Tela de login do app do entregador (entregador_login.php) ---- */
body.entregador-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--cor) 0%, var(--cor-hover) 55%, #1f2937 100%);
  padding: 24px 16px;
}
.login-ent {
  width: 100%;
  max-width: 380px;
  background: var(--branco);
  border-radius: 20px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
  padding: 32px 24px 26px;
}
.login-ent-topo { text-align: center; margin-bottom: 18px; }
.login-ent-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cor-suave);
  color: var(--cor);
  margin-bottom: 10px;
}
.login-ent-icone svg { width: 32px; height: 32px; }
.login-ent-topo h1 { font-size: 1.2rem; margin: 0 0 2px; }
.login-ent-sub { color: var(--texto-suave); font-size: .88rem; margin: 0; }
.login-ent-form input {
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 12px;
}
.login-ent-form .btn-grande { margin-top: 6px; }
.login-ent-ajuda { color: var(--texto-suave); font-size: .82rem; text-align: center; margin: 18px 0 0; line-height: 1.4; }
@media (max-width: 420px) {
  .login-ent { border-radius: 16px; padding: 26px 18px 20px; }
}

/* ---- Cabeçalho da tela do entregador (botão Sair) ---- */
.entregador-topo-in { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.entregador-sair { color: #fff; opacity: .9; font-weight: 600; font-size: .9rem; white-space: nowrap; text-decoration: underline; }
.entregador-sair:hover { opacity: 1; }

/* ---- Banner de nova entrega (entregador.php) — reaproveita .alerta-chegou com cor da marca ---- */
.aviso-oferta .alerta-chegou-icone { background: var(--cor); animation: none; }
.aviso-oferta .alerta-chegou-caixa h2 { color: var(--cor); }