/* Cardápio Digital Hero7 — visual
   As cores da loja vêm do config.js (variáveis --primaria, --fundo, --texto, --destaque). */

:root {
  --primaria: #222222;
  --fundo: #ffffff;
  --texto: #1a1a1a;
  --destaque: #2e7d32;
  --sobre-primaria: #ffffff;
  --sobre-destaque: #ffffff;
  --superficie: #ffffff;
  --suave: color-mix(in srgb, var(--texto) 62%, transparent);
  --linha: color-mix(in srgb, var(--texto) 12%, transparent);
  --campo: color-mix(in srgb, var(--texto) 5%, #ffffff);
  --erro: #c62828;
  --raio: 16px;
  --sombra: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 18px rgba(0, 0, 0, .06);
  --barra-h: 132px;
  --fonte: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 16px/1.4 var(--fonte);
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
body.travado { overflow: hidden; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primaria) 55%, transparent); outline-offset: 2px; }

.pagina { max-width: 720px; margin: 0 auto; padding-bottom: 112px; }

/* ---------- Topo ---------- */
.topo { padding: 22px 16px 14px; }
.topo-in { display: flex; gap: 14px; align-items: center; }
.logo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: var(--sombra); background: var(--superficie); }
.loja-nome { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.slogan { margin: 3px 0 0; color: var(--suave); font-size: 15px; }
.cidade { margin: 4px 0 0; color: var(--suave); font-size: 13.5px; display: flex; align-items: center; gap: 4px; }
.cidade svg { width: 14px; height: 14px; flex: none; }
.topo-acoes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.status {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 12px;
  border-radius: 999px; font-size: 13.5px; font-weight: 650;
  background: color-mix(in srgb, var(--texto) 7%, transparent); color: var(--suave);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.status.aberto { background: color-mix(in srgb, var(--destaque) 13%, transparent); color: var(--destaque); }
.status.neutro::before { display: none; }
.btn-insta {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px;
  background: var(--superficie); color: var(--texto); text-decoration: none; font-size: 13.5px; font-weight: 650;
  border: 1px solid var(--linha);
}
.btn-insta svg { width: 16px; height: 16px; }

/* ---------- Barra fixa: busca + categorias ---------- */
.barra {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--fundo) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 10px 0 6px;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.barra.colada { border-bottom-color: var(--linha); }
.busca { position: relative; margin: 0 16px; }
.busca svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--suave); pointer-events: none; }
.busca input {
  width: 100%; height: 48px; padding: 0 44px; border-radius: 14px; border: 1px solid var(--linha);
  background: var(--superficie); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
}
.busca input:focus { border-color: var(--primaria); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primaria) 20%, transparent); }
.busca input::-webkit-search-cancel-button { display: none; }
.busca-limpar {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  border: 0; background: none; border-radius: 50%; color: var(--suave); font-size: 22px; line-height: 1;
}
.cats { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px 6px; scrollbar-width: none; scroll-padding: 0 16px; }
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--superficie); border: 1px solid var(--linha); color: var(--texto);
  text-decoration: none; font-size: 15px; font-weight: 650; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.cat.ativa { background: var(--primaria); border-color: var(--primaria); color: var(--sobre-primaria); }

/* ---------- Seções e cards ---------- */
.secao { scroll-margin-top: calc(var(--barra-h) + 4px); padding-top: 6px; }
.secao-titulo { margin: 18px 16px 12px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--superficie); border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden;
}
.card-main {
  display: flex; flex-direction: column; flex: 1; width: 100%; padding: 0; margin: 0; border: 0;
  background: none; text-align: left; min-width: 0;
}
.foto {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; flex: none;
  background: linear-gradient(100deg, #eee 30%, #f6f6f6 50%, #eee 70%) 0 0 / 300% 100%;
  animation: brilho 1.2s linear infinite;
}
.foto.ok, .foto.sem-foto { animation: none; }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto.sem-foto { background: var(--primaria); }
.foto.sem-foto img { display: none; }
.foto.sem-foto::before {
  content: attr(data-inicial); position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--sobre-primaria); font-size: 44px; font-weight: 800; opacity: .9;
}
@keyframes brilho { to { background-position: -300% 0; } }

.selo {
  position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 750; line-height: 1.3;
}
.selo-economia { background: var(--destaque); color: var(--sobre-destaque); }
.selo-esgotado { background: #3d3d3d; color: #fff; }

.card-txt { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; min-width: 0; }
.card-nome { font-size: 15.5px; font-weight: 750; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { font-size: 13px; color: var(--suave); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-preco { margin-top: auto; padding-top: 6px; padding-right: 50px; min-height: 44px; display: flex; flex-direction: column; justify-content: flex-end; }
.preco { font-weight: 800; color: var(--primaria); font-size: 16.5px; white-space: nowrap; }
.preco-antigo { font-size: 12.5px; color: var(--suave); text-decoration: line-through; white-space: nowrap; }

.btn-add {
  position: absolute; right: 8px; bottom: 8px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--primaria); color: var(--sobre-primaria); display: grid; place-items: center;
  box-shadow: 0 3px 10px color-mix(in srgb, var(--primaria) 40%, transparent);
  transition: transform .12s;
}
.btn-add svg { width: 22px; height: 22px; }
.btn-add::after { content: ""; position: absolute; inset: -6px; }
.btn-add:active { transform: scale(.9); }

.card.esgotado .foto img { filter: grayscale(1); opacity: .55; }
.card.esgotado .preco { color: var(--suave); }
.card.esgotado .card-preco { padding-right: 0; }

.vazio-busca { margin: 32px 16px; text-align: center; color: var(--suave); font-size: 16px; }

@media (min-width: 560px) {
  .grade { grid-template-columns: 1fr; gap: 14px; }
  .card-main { flex-direction: row; }
  .card .foto { width: 210px; }
  .card-txt { padding: 14px 16px; gap: 6px; }
  .card-nome { font-size: 17px; }
  .card-desc { font-size: 14px; }
  .card-preco { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; padding-right: 64px; }
  .preco { font-size: 18px; }
  .btn-add { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

/* ---------- Rodapé ---------- */
.rodape { margin: 36px 16px 0; padding: 20px 0 8px; border-top: 1px solid var(--linha); color: var(--suave); font-size: 14px; }
.rodape p { margin: 0 0 8px; }
.rodape strong { color: var(--texto); }
.rodape a { color: var(--texto); }
.btn-whats-nojs {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 14px;
  background: var(--primaria); color: var(--sobre-primaria) !important; font-weight: 750; text-decoration: none; margin: 6px 0 12px;
}
.credito { font-size: 12px; opacity: .7; }

/* Sem JavaScript: some o que depende dele */
.no-js .btn-add, .no-js .busca { display: none; }
.no-js .card-main { cursor: default; }
.no-js .card-preco { padding-right: 0; }
.js .so-nojs { display: none; }

/* ---------- Botão do pedido (rodapé fixo) ---------- */
.barra-pedido {
  position: fixed; z-index: 30; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%); width: min(688px, calc(100% - 24px)); min-height: 58px;
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px;
  border: 0; border-radius: 16px; background: var(--primaria); color: var(--sobre-primaria);
  font-size: 16.5px; font-weight: 750; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
}
.barra-pedido svg { width: 22px; height: 22px; flex: none; }
.barra-pedido.pulo { animation: pulo .2s ease-out; }
@keyframes pulo { 50% { transform: translateX(-50%) scale(1.05); } }

.aviso-toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom));
  transform: translate(-50%, 8px); opacity: 0; pointer-events: none;
  background: #1f1f1f; color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 15px; font-weight: 650;
  transition: opacity .15s, transform .15s; max-width: calc(100% - 32px); text-align: center;
}
.aviso-toast.visivel { opacity: 1; transform: translate(-50%, 0); }
body.travado .aviso-toast { bottom: auto; top: calc(72px + env(safe-area-inset-top)); }

/* ---------- Aviso do dono ---------- */
.aviso-dono {
  max-width: 720px; margin: 0 auto; padding: 14px 16px; background: #fff7d6; color: #4a3b00;
  border-bottom: 2px solid #e8c547; font-size: 14px; line-height: 1.45;
}
.aviso-dono strong { display: block; font-size: 15px; margin-bottom: 4px; }
.aviso-dono ul { margin: 6px 0 0; padding-left: 18px; }
.aviso-dono li { margin: 3px 0; }
.aviso-dono.previa { background: #e3f0ff; color: #0b3364; border-color: #5b9be6; }

/* ---------- Telas sobrepostas (detalhe, pedido, checkout) ---------- */
.ov { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.ov-fundo { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s; }
.folha {
  position: relative; width: 100%; max-height: 94dvh; display: flex; flex-direction: column;
  background: var(--fundo); border-radius: 20px 20px 0 0; overflow: hidden; outline: none;
  transform: translateY(100%); transition: transform .2s ease-out;
}
.ov.aberto .ov-fundo { opacity: 1; }
.ov.aberto .folha { transform: none; }
.folha.cheia { height: 100dvh; max-height: 100dvh; border-radius: 0; }
.folha-topo {
  flex: none; display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 6px 8px 6px 16px;
  border-bottom: 1px solid var(--linha); background: var(--fundo);
}
.folha-topo h2 { margin: 0; font-size: 19px; font-weight: 800; flex: 1; }
.folha-topo .icone + h2 { margin-left: -4px; }
.icone {
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: none; display: grid; place-items: center; flex: none; color: var(--texto);
}
.icone svg { width: 24px; height: 24px; }
.icone:active { background: var(--linha); }
.folha-corpo { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.folha-pe {
  flex: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha);
  background: var(--fundo); display: flex; flex-direction: column; gap: 8px;
}
.pe-linha { display: flex; gap: 10px; align-items: center; }
.pe-linha .btn-prim { flex: 1; }

@media (min-width: 720px) {
  .ov { align-items: center; padding: 24px; }
  .folha, .folha.cheia { max-width: 560px; border-radius: 20px; height: auto; max-height: min(92vh, 900px); transform: translateY(24px); opacity: 0; transition: transform .2s ease-out, opacity .2s; }
  .folha.cheia { height: min(92vh, 900px); }
  .ov.aberto .folha { opacity: 1; }
}

/* Detalhe do item */
.det-foto { position: relative; aspect-ratio: 4 / 3; max-height: 42dvh; width: 100%; background: #eee; overflow: hidden; }
.det-foto.sem-foto { background: var(--primaria); }
.det-foto.sem-foto img { display: none; }
.det-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.det-fechar {
  position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); color: #1a1a1a;
}
.det-fechar svg { width: 22px; height: 22px; }
.det-info { padding: 16px 16px 4px; }
.det-info h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.2; }
.det-info p { margin: 0 0 10px; color: var(--suave); font-size: 15.5px; }
.det-info .preco { font-size: 20px; }
.det-info .selo { position: static; display: inline-block; margin-left: 8px; vertical-align: 2px; }

.bloco { margin: 12px 16px; padding: 14px 16px; background: var(--superficie); border-radius: var(--raio); box-shadow: var(--sombra); }
.bloco > h3, .bloco legend { margin: 0 0 8px; padding: 0; font-size: 16.5px; font-weight: 800; }
.bloco legend small, .bloco h3 small { font-weight: 500; color: var(--suave); font-size: 13.5px; margin-left: 6px; }
fieldset.bloco { border: 0; min-width: 0; }

.opcao {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-top: 1px solid var(--linha); cursor: pointer;
}
.opcao:first-of-type { border-top: 0; }
.opcao input { width: 22px; height: 22px; accent-color: var(--primaria); flex: none; margin: 0; }
.opcao span { flex: 1; font-size: 16px; }
.opcao b { font-weight: 700; color: var(--suave); white-space: nowrap; font-size: 15px; }

textarea, .campo input, .campo select {
  width: 100%; border: 1px solid var(--linha); border-radius: 12px; background: var(--campo); padding: 12px 14px;
  font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
}
.campo input, .campo select { height: 52px; }
textarea { min-height: 76px; resize: vertical; }
textarea:focus, .campo input:focus { border-color: var(--primaria); background: var(--superficie); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primaria) 18%, transparent); }
.contador { text-align: right; font-size: 12.5px; color: var(--suave); margin-top: 4px; }

.qtd { display: inline-flex; align-items: center; border: 1px solid var(--linha); border-radius: 999px; background: var(--superficie); flex: none; }
.qtd button { width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--primaria); }
.qtd button svg { width: 20px; height: 20px; }
.qtd button:disabled { color: var(--linha); cursor: default; }
.qtd output { min-width: 28px; text-align: center; font-weight: 800; font-size: 17px; }
.qtd.pequena button { width: 44px; height: 44px; }

.btn-prim {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 18px;
  border: 0; border-radius: 14px; background: var(--primaria); color: var(--sobre-primaria);
  font-size: 17px; font-weight: 800; width: 100%; text-decoration: none; transition: transform .1s, opacity .15s;
}
.btn-prim:active:not(:disabled) { transform: scale(.98); }
.btn-prim:disabled { opacity: .42; cursor: not-allowed; }
.btn-prim svg { width: 22px; height: 22px; }
.btn-sec {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px;
  border: 1px solid var(--linha); border-radius: 14px; background: var(--superficie); color: var(--texto);
  font-size: 16px; font-weight: 700; text-decoration: none; width: 100%;
}
.btn-sec svg { width: 20px; height: 20px; }

/* Carrinho */
.lista { list-style: none; margin: 0; padding: 0; }
.linha { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--linha); }
.linha:first-child { border-top: 0; padding-top: 4px; }
.linha-foto { width: 76px; height: 57px; border-radius: 10px; object-fit: cover; flex: none; background: var(--primaria); }
.linha-foto.sem-foto { display: grid; place-items: center; color: var(--sobre-primaria); font-weight: 800; font-size: 22px; }
.linha-info { flex: 1; min-width: 0; }
.linha-topo { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.linha-topo strong { font-size: 15.5px; line-height: 1.25; }
.linha-preco { font-weight: 800; white-space: nowrap; }
.linha-extra, .linha-obs { font-size: 13.5px; color: var(--suave); margin-top: 2px; overflow-wrap: anywhere; }
.linha-acoes { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.link-remover { border: 0; background: none; color: var(--erro); font-weight: 650; font-size: 14.5px; min-height: 44px; padding: 0 4px; }
.link-editar { border: 0; background: none; color: var(--primaria); font-weight: 650; font-size: 14.5px; min-height: 44px; padding: 0 4px; }

.vazio { text-align: center; padding: 48px 24px; color: var(--suave); font-size: 16.5px; }
.vazio svg { width: 56px; height: 56px; opacity: .45; display: block; margin: 0 auto 12px; }
.vazio .btn-sec { margin-top: 18px; }

.cupom-linha { display: flex; gap: 8px; }
.cupom-linha input {
  flex: 1; min-width: 0; height: 50px; border: 1px solid var(--linha); border-radius: 12px; background: var(--campo);
  padding: 0 14px; font-size: 16px; text-transform: uppercase; outline: none;
}
.cupom-linha input:focus { border-color: var(--primaria); }
.cupom-linha .btn-sec { width: auto; min-height: 50px; }
.cupom-msg { margin: 8px 0 0; font-size: 14.5px; font-weight: 600; }
.cupom-msg:empty { display: none; }
.ok-txt { color: var(--destaque); }
.erro-txt { color: var(--erro); }
.nota { font-size: 13.5px; color: var(--suave); margin: 8px 0 0; }
.link-txt { border: 0; background: none; padding: 0 4px; min-height: 40px; color: var(--suave); text-decoration: underline; font-size: 14px; }

.totais { margin: 0; }
.totais div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15.5px; }
.totais dt { color: var(--suave); }
.totais dd { margin: 0; font-weight: 650; white-space: nowrap; }
.totais .desconto dd, .totais .desconto dt { color: var(--destaque); }
.totais .total { border-top: 1px solid var(--linha); margin-top: 6px; padding-top: 10px; font-size: 19px; }
.totais .total dt { color: var(--texto); font-weight: 800; }
.totais .total dd { font-weight: 850; }
.alerta { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 600; background: color-mix(in srgb, var(--erro) 9%, transparent); color: var(--erro); }
.alerta.info { background: color-mix(in srgb, var(--texto) 6%, transparent); color: var(--texto); font-weight: 500; }

/* Checkout */
.escolhas { display: grid; gap: 10px; }
.escolhas.duas { grid-template-columns: 1fr 1fr; }
.escolha { position: relative; display: block; cursor: pointer; }
.escolha input { position: absolute; opacity: 0; pointer-events: none; }
.escolha span {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 14px; height: 100%;
  border: 2px solid var(--linha); border-radius: 14px; background: var(--superficie); transition: border-color .15s, background-color .15s;
}
.escolha strong { font-size: 16px; }
.escolha small { font-size: 13px; color: var(--suave); }
.escolha input:checked + span { border-color: var(--primaria); background: color-mix(in srgb, var(--primaria) 7%, var(--superficie)); }
.escolha input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--primaria) 55%, transparent); outline-offset: 2px; }
.escolhas.tres { grid-template-columns: repeat(3, 1fr); }
.escolhas.tres .escolha span { align-items: center; text-align: center; min-height: 56px; padding: 8px 6px; }

.campo { margin-top: 12px; }
.campo:first-child { margin-top: 0; }
.campo label { display: block; font-size: 14.5px; font-weight: 650; margin-bottom: 6px; }
.campo label small { font-weight: 500; color: var(--suave); }
.campo.erro input, .campo.erro textarea { border-color: var(--erro); background: color-mix(in srgb, var(--erro) 5%, #fff); }
.msg-erro { color: var(--erro); font-size: 13.5px; font-weight: 600; margin: 6px 0 0; }
.msg-erro:empty { display: none; }
.duas-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.duas-col .campo:nth-child(2) { margin-top: 0; }

.pix-box { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--campo); }
.pix-chave { display: flex; align-items: center; gap: 10px; }
.pix-chave code { flex: 1; min-width: 0; font: 600 15px/1.3 var(--fonte); overflow-wrap: anywhere; }
.pix-chave .btn-sec { width: auto; flex: none; min-height: 44px; }
.resumo-itens { margin: 0 0 10px; padding: 0; list-style: none; font-size: 14.5px; }
.resumo-itens li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.resumo-itens li span:last-child { white-space: nowrap; }

/* Confirmação */
.conf-topo { text-align: center; padding: 28px 20px 8px; }
.conf-check {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: var(--destaque); color: var(--sobre-destaque);
}
.conf-check svg { width: 38px; height: 38px; }
.conf-topo h2 { margin: 0 0 6px; font-size: 24px; font-weight: 850; }
.conf-topo p { margin: 0; color: var(--suave); font-size: 16px; }
.qr { width: 216px; height: 216px; margin: 6px auto 12px; display: block; background: #fff; padding: 8px; border-radius: 12px; }
.pix-valor { text-align: center; font-size: 15px; margin: 0 0 10px; }
.pix-valor strong { font-size: 20px; }
.botoes { display: grid; gap: 8px; margin-top: 10px; }
.msg-pronta {
  white-space: pre-wrap; overflow-wrap: anywhere; font: 13.5px/1.45 ui-monospace, Consolas, monospace; background: var(--campo);
  border-radius: 12px; padding: 12px; margin: 10px 0 0; max-height: 260px; overflow: auto;
}
details.bloco summary { cursor: pointer; font-weight: 750; min-height: 32px; display: flex; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
