/* ==========================================================================
   Página pública de avaliações (link da bio). Mobile-first, coluna única.
   ========================================================================== */

.pagina { max-width: 600px; margin: 0 auto; padding-bottom: 48px; }

/* ---------- carregamento ---------- */
.esqueleto { padding: 0 16px; }
.esq { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: brilho 1.2s infinite linear; border-radius: var(--radius); }
.esq-capa { height: 170px; margin: 0 -16px; border-radius: 0 0 28px 28px; }
.esq-logo { width: 104px; height: 104px; border-radius: 50%; margin: -52px auto 16px; border: 4px solid var(--bg); }
.esq-linha { height: 22px; width: 60%; margin: 0 auto 10px; }
.esq-linha.curta { width: 40%; margin-bottom: 24px; }
.esq-cartao { height: 150px; margin-bottom: 14px; }
@keyframes brilho { to { background-position: -200% 0; } }

/* ---------- capa + perfil ---------- */
.capa {
  position: relative; height: 170px;
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--brand) 85%, #fff) 0%, transparent 55%),
    linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #000));
  background-size: cover; background-position: center;
}
.capa.com-imagem { background-image: var(--capa); }
.capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0.15), transparent 40%, rgb(0 0 0 / 0.25)); }
@media (min-width: 600px) { .capa { border-radius: 0 0 28px 28px; height: 200px; } }

.topo-acoes { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 8px; }
.topo-acoes .btn-icone { background: rgb(255 255 255 / 0.2); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / 0.25); }

.perfil { position: relative; z-index: 1; margin-top: -56px; padding: 0 16px; text-align: center; }
.logo {
  width: 108px; height: 108px; margin: 0 auto 14px;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 50%; border: 4px solid var(--bg); background: var(--brand); color: var(--on-brand);
  font-size: 38px; font-weight: 800; box-shadow: var(--shadow);
  user-select: none; -webkit-user-select: none; cursor: default; touch-action: manipulation;
  transition: transform 0.15s ease-out;
}
.logo:active { transform: scale(0.96); }
.logo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.perfil h1 { font-size: clamp(22px, 6vw, 28px); font-weight: 800; }
.descricao { margin: 6px auto 0; max-width: 440px; color: var(--muted); }

.nota-geral {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 8px 16px 8px 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.nota-geral strong { font-size: 18px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--text); }
.nota-geral .i { width: 17px; height: 17px; }
.nota-geral small { color: var(--muted); font-weight: 600; font-size: 13px; }

.sociais { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.sociais a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: transform 0.15s ease-out, border-color 0.15s; }
.sociais a:hover { transform: translateY(-2px); border-color: var(--brand-line); }
.sociais .whats { color: #1faa53; }

/* ---------- cartões ---------- */
.secao { padding: 0 16px; margin-top: 20px; }
.cartao { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px 20px; }
.titulo-secao { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.titulo-secao h2 { font-size: 19px; font-weight: 800; }

/* chamada principal: avaliar */
.avaliar {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%),
    var(--surface);
  border-color: var(--brand-line);
}
.avaliar h2 { font-size: 20px; font-weight: 800; }
.avaliar p { color: var(--muted); margin-top: 4px; font-size: 14px; }
.estrelas-grandes { display: flex; justify-content: center; gap: 4px; margin: 14px 0 0; }
.estrelas-grandes button {
  width: 54px; height: 54px; display: grid; place-items: center;
  border: 0; border-radius: 14px; background: transparent; color: var(--star-empty); cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1), color 0.12s;
}
.estrelas-grandes button .i { width: 42px; height: 42px; }
.estrelas-grandes button.acesa { color: var(--star); }
.estrelas-grandes button:hover { transform: scale(1.15) rotate(-6deg); }
.estrelas-grandes button:active { transform: scale(0.9); }
.legenda-nota { min-height: 0; margin-top: 4px !important; font-weight: 700; color: var(--text) !important; }

/* links da bio */
.links { display: grid; gap: 10px; }
.link-bio {
  display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px 16px 10px 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; text-decoration: none;
  font-weight: 700; box-shadow: var(--shadow-sm); transition: transform 0.15s ease-out, border-color 0.15s;
}
.link-bio:hover { transform: translateY(-2px); border-color: var(--brand-line); }
.link-bio .bolha { width: 40px; height: 40px; display: grid; place-items: center; flex: none; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.link-bio span { flex: 1; }
.link-bio .seta { color: var(--muted); }

/* enquete */
.enquete h2 { font-size: 17px; font-weight: 800; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.enquete h2 .i { color: var(--brand); }
.opcoes { display: grid; gap: 8px; }
.opcao {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 0 16px; width: 100%; text-align: left;
  background: var(--surface-2); border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; font-weight: 600;
  transition: border-color 0.15s, transform 0.15s;
}
.opcao:hover:not(:disabled) { border-color: var(--brand); }
.opcao:disabled { cursor: default; }
/* barras do resultado: força da cor muda com o tema (no escuro precisa de mais cor para aparecer) */
:root {
  --enq-forca: 20%; --enq-lider: 32%;
  --enq-0: #f2643d; --enq-1: #0fa595; --enq-2: #e8a400; --enq-3: #7c5cf0; --enq-4: #1e9be0; --enq-5: #e0458f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --enq-forca: 36%; --enq-lider: 52%; --enq-0: #e9562f; --enq-1: #0fa595; --enq-2: #b88400; --enq-3: #7c5cf0; --enq-4: #1e9be0; --enq-5: #e0458f; }
}
:root[data-theme="dark"] { --enq-forca: 36%; --enq-lider: 52%; --enq-0: #e9562f; --enq-1: #0fa595; --enq-2: #b88400; --enq-3: #7c5cf0; --enq-4: #1e9be0; --enq-5: #e0458f; }
.opcao { --cor-op: var(--brand); }
.opcao .barra { position: absolute; inset: 0 auto 0 0; width: 0; background: color-mix(in srgb, var(--cor-op) var(--enq-forca), var(--surface-2)); transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.opcao.lider .barra { background: color-mix(in srgb, var(--cor-op) var(--enq-lider), var(--surface-2)); }
.opcao.minha { border-color: var(--brand); }
.colorida .opcao .barra { box-shadow: inset 4px 0 0 var(--cor-op); }
.colorida .opcao.minha { border-color: var(--cor-op); }
.opcao > span { position: relative; display: flex; align-items: center; gap: 8px; }
.opcao .pct { font-weight: 800; }
.enquete .rodape { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- mural ---------- */
.resumo-notas { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-bottom: 18px; }
.resumo-notas .grande { text-align: center; }
.resumo-notas .grande strong { display: block; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.resumo-notas .grande small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 6px; }
.resumo-notas .grande .estrelas .i { width: 15px; height: 15px; }
.barras { display: grid; gap: 6px; }
.barra-nota { display: grid; grid-template-columns: 14px 1fr 28px; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.barra-nota .trilho { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
.barra-nota .trilho i { display: block; height: 100%; border-radius: 8px; background: var(--star); }

.filtros { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 4px; margin: 0 -16px 14px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 13.5px; color: var(--muted);
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.chip[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

.lista { display: grid; gap: 12px; }
.aval { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); scroll-margin-top: 16px; }
.aval.realce { animation: realce 2.4s ease-out; }
@keyframes realce { 0%, 30% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 45%, transparent); } }
.aval-topo { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--c, var(--brand)); color: #fff; font-weight: 800; font-size: 15px; }
.aval-topo .quem { flex: 1; min-width: 0; }
.aval-topo strong { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aval-topo .meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.aval-topo .meta .i { width: 14px; height: 14px; }
.selo { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 800; }
.selo .i { width: 12px; height: 12px; }
.aval-texto { margin-top: 12px; white-space: pre-line; overflow-wrap: anywhere; }
.aval-texto.cortado { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ver-mais { border: 0; background: none; padding: 4px 0 0; color: var(--brand); font-weight: 700; cursor: pointer; }
.aval-foto { display: block; margin-top: 12px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--surface-2); max-width: 260px; }
.aval-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.resposta-dono { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border-left: 3px solid var(--brand); font-size: 14px; }
.resposta-dono strong { display: flex; align-items: center; gap: 6px; font-size: 12.5px; margin-bottom: 4px; }
.resposta-dono strong .i { width: 14px; height: 14px; color: var(--brand); }
.resposta-dono p { white-space: pre-line; color: var(--muted); }

.acoes { display: flex; gap: 4px; margin: 12px -8px -6px; }
.acao {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; font-size: 13.5px; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.acao:hover { background: var(--surface-2); color: var(--text); }
.acao.curtido { color: #e5484d; }
.acao.curtido .i { animation: pulsar 0.35s ease-out; }
.acao:last-child { margin-left: auto; }
@keyframes pulsar { 50% { transform: scale(1.35); } }

.comentarios { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); display: grid; gap: 10px; }
.comentario { display: flex; gap: 10px; font-size: 14px; }
.comentario .avatar { width: 30px; height: 30px; font-size: 11px; }
.comentario .balao { flex: 1; padding: 8px 12px; border-radius: 4px 14px 14px 14px; background: var(--surface-2); }
.comentario .balao strong { font-size: 13px; }
.comentario .balao small { color: var(--muted); font-size: 11.5px; margin-left: 6px; }
.comentario .balao p { white-space: pre-line; overflow-wrap: anywhere; }
.form-comentario { display: grid; gap: 8px; }
.form-comentario .linha { display: flex; gap: 8px; }
.form-comentario .entrada { min-height: 42px; padding: 8px 12px; }
.form-comentario textarea.entrada { min-height: 42px; height: 42px; resize: none; }
.form-comentario .btn { flex: none; }

.vazio { text-align: center; padding: 36px 20px; color: var(--muted); }
.vazio .emoji { font-size: 40px; margin-bottom: 8px; }
.vazio strong { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.mais-avaliacoes { margin-top: 14px; }

/* ---------- fluxo de avaliação (modal) ---------- */
.passo-nota { text-align: center; margin-bottom: 18px; }
.passo-nota .emoji { font-size: 44px; line-height: 1; margin-bottom: 4px; animation: surgir 0.3s ease-out; }
.passo-nota .estrelas-grandes { margin: 8px 0 0; }
.passo-nota .estrelas-grandes button { width: 46px; height: 46px; }
.passo-nota .estrelas-grandes button .i { width: 34px; height: 34px; }
.foto-envio { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1.5px dashed var(--border); border-radius: var(--radius-sm); cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; }
.foto-envio:hover { border-color: var(--brand); color: var(--text); }
.foto-envio input { display: none; }
.foto-envio .previa { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
.foto-envio .previa img { width: 100%; height: 100%; object-fit: cover; }
.progresso { height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; margin-top: 6px; }
.progresso i { display: block; height: 100%; width: 0; background: var(--brand); transition: width 0.2s; }
.aviso-privado { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.aviso-privado .i { color: var(--brand); margin-top: 1px; }

.sucesso { text-align: center; }
.sucesso .medalha { width: 76px; height: 76px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); animation: surgir 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.sucesso .medalha .i { width: 38px; height: 38px; }
.sucesso h2 { padding-right: 0 !important; }
.google-box { margin-top: 20px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); text-align: left; }
.google-box h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.google-box p { color: var(--muted); font-size: 13.5px; margin: 6px 0 14px; }
.passos-google { display: grid; gap: 8px; }
.passos-google .btn { justify-content: flex-start; }
.passos-google .num { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 800; }
.link-discreto { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--muted); font-size: 13.5px; font-weight: 600; }

.compartilhar-opcoes { display: grid; gap: 10px; }
.previa-story { display: block; width: 100%; max-width: 200px; margin: 0 auto 18px; border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 9 / 16; object-fit: cover; background: var(--surface-2); }
.foto-ampliada { margin: -8px -4px 0; border-radius: 16px; width: calc(100% + 8px); max-height: 75dvh; object-fit: contain; background: var(--surface-2); }

/* acesso do dono */
.cadeado-topo { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.pergunta-secreta { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--brand-soft); font-weight: 700; margin-bottom: 14px; }
.botao-texto { border: 0; background: none; color: var(--brand); font-weight: 700; cursor: pointer; padding: 8px 0; justify-self: center; }

.rodape { margin-top: 36px; text-align: center; font-size: 12.5px; color: var(--muted); padding: 0 16px; }

/* ==========================================================================
   Vitrine: horário, como chegar, cupom, oferta da semana e galeria
   ========================================================================== */

.info-loja { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.pilula {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 700; color: var(--text); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, transform 0.15s ease-out;
}
.pilula:hover { border-color: var(--brand-line); transform: translateY(-1px); }
.pilula .i { width: 16px; height: 16px; color: var(--brand); }
.pilula .ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.pilula.aberto .ponto { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); animation: piscar 2s ease-in-out infinite; }
.pilula.breve .ponto { background: var(--warn); }
.pilula.fechado .ponto { background: var(--danger); }
.pilula .fraco { color: var(--muted); font-weight: 600; }
@keyframes piscar { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--ok) 0%, transparent); } }

.semana { display: grid; gap: 2px; margin-top: 4px; }
.semana div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; }
.semana div.hoje { background: var(--brand-soft); font-weight: 800; }
.semana span:last-child { color: var(--muted); text-align: right; }
.semana .hoje span:last-child { color: var(--text); }
.endereco-caixa { display: flex; gap: 10px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); font-weight: 600; margin-bottom: 16px; }
.endereco-caixa .i { color: var(--brand); margin-top: 2px; }

/* selo de cupom no cartão de avaliar */
.selo-cupom {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 auto 10px; padding: 6px 12px;
  border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, var(--surface)); color: color-mix(in srgb, var(--ok) 75%, var(--text));
  font-size: 12.5px; font-weight: 800;
}
.ver-cupom { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; border: 0; background: none; color: var(--brand); font-weight: 800; font-size: 13.5px; cursor: pointer; }

/* ticket do cupom */
.cupom {
  position: relative; margin-top: 18px; padding: 20px 18px; text-align: center;
  border-radius: 18px; border: 2px dashed var(--brand-line);
  background: radial-gradient(120% 100% at 50% 0%, var(--brand-soft), var(--surface) 70%);
}
.cupom::before, .cupom::after { content: ""; position: absolute; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--surface); border: 2px dashed var(--brand-line); }
.cupom::before { left: -13px; border-left-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); }
.cupom::after { right: -13px; border-right-color: transparent; border-top-color: transparent; transform: rotate(45deg); }
.cupom .topo-cupom { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.cupom strong { display: block; font-size: 19px; margin: 6px 0 12px; line-height: 1.25; }
.cupom .codigo { display: inline-block; padding: 10px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 24px; font-weight: 800; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.cupom small { display: block; margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.cupom .btn { margin-top: 12px; }

/* oferta da semana */
.oferta { padding: 0; overflow: hidden; border-color: var(--brand-line); }
.oferta-foto { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2); }
.oferta-corpo { padding: 18px 20px 20px; }
.selo-oferta { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 800; }
.oferta h2 { font-size: 20px; font-weight: 800; margin-top: 10px; }
.oferta p { color: var(--muted); margin-top: 4px; white-space: pre-line; }
.precos { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.precos s { color: var(--muted); font-weight: 600; }
.precos strong { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--brand); }
.oferta .validade { display: block; margin-top: 6px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.oferta .btn { margin-top: 16px; }

/* galeria */
.galeria { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; }
.galeria::-webkit-scrollbar { display: none; }
.galeria button { flex: 0 0 44%; aspect-ratio: 1; scroll-snap-align: start; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; box-shadow: var(--shadow-sm); }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease-out; }
.galeria button:hover img { transform: scale(1.04); }
@media (min-width: 560px) { .galeria button { flex-basis: 31%; } }
.lightbox { display: grid; gap: 12px; }
.lightbox img { width: 100%; max-height: 70dvh; object-fit: contain; border-radius: 16px; background: var(--surface-2); }
.lightbox .navegar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox .navegar p { flex: 1; text-align: center; font-weight: 600; }

/* ==========================================================================
   v3: visitas, recomendação compartilhada, produtos, contato opcional, cookies
   ========================================================================== */

.provas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; }
.provas .nota-geral { margin-top: 0; }
.visitas-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.visitas-pill .i { color: var(--brand); }

.compartilhada { border-color: var(--brand-line); background: radial-gradient(100% 120% at 0% 0%, var(--brand-soft), var(--surface) 60%); }
.compartilhada .citacao { font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--text); }
.foto-compartilhada { margin-top: 12px; border-radius: 14px; max-height: 320px; width: 100%; object-fit: cover; }
.compartilhada .convite { margin-top: 14px; font-weight: 800; color: var(--brand); }

.aval-so-nota { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* produtos */
.produtos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
.produtos::-webkit-scrollbar { display: none; }
.produto {
  flex: 0 0 44%; scroll-snap-align: start; display: flex; flex-direction: column; text-align: left;
  padding: 0; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.15s ease-out, border-color 0.15s;
}
.produto:hover { transform: translateY(-2px); border-color: var(--brand-line); }
@media (min-width: 560px) { .produto { flex-basis: 31%; } }
.produto img, .produto .sem-foto { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface-2); }
.produto .sem-foto { display: grid; place-items: center; color: var(--muted); }
.produto-info { display: grid; gap: 2px; padding: 10px 12px 12px; }
.produto-info strong { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.preco-mini { font-weight: 800; color: var(--brand); font-size: 15px; }
.preco-mini s { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.produto-detalhe img { width: calc(100% + 8px); margin: -8px -4px 14px; border-radius: 18px; max-height: 50dvh; object-fit: cover; }
.produto-detalhe h2 { padding-right: 40px; }
.produto-detalhe .precos { margin: 4px 0 10px; }
.produto-detalhe .compartilhar-opcoes { margin-top: 18px; }

/* "quero receber promoções" */
.optin { margin-top: 16px; padding: 14px; border-radius: var(--radius-sm); border: 1.5px dashed var(--brand-line); background: var(--brand-soft); }
.optin-chave { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.optin-chave input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--brand); }
.optin-chave b { display: block; font-size: 14.5px; }
.optin-chave small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.optin-campos { display: grid; gap: 8px; margin-top: 12px; }
.optin-campos .entrada { background: var(--surface); min-height: 44px; }

/* aviso de cookies */
.aviso-cookies {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 560px; margin: 0 auto; padding: 14px 16px; display: grid; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg);
  font-size: 13.5px; animation: subir 0.3s ease-out;
}
.aviso-cookies p { color: var(--text); }
.botoes-cookies { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.link-politica { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.rodape .link-politica { color: var(--muted); font-weight: 600; }
.politica { display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.politica b { color: var(--text); }

/* ==========================================================================
   v4: carrossel arrastável + sacolinha
   ========================================================================== */

.carrossel { position: relative; }
.galeria, .produtos, .filtros { cursor: grab; }
.arrastando { cursor: grabbing; scroll-snap-type: none !important; user-select: none; }
.arrastando * { pointer-events: none; }
.seta-carrossel {
  position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px;
  display: none; place-items: center; border-radius: 50%; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px);
  color: var(--text); box-shadow: var(--shadow); cursor: pointer; transition: transform 0.15s ease-out;
}
.seta-carrossel:hover { transform: scale(1.08); }
.seta-carrossel.esq { left: -6px; }
.seta-carrossel.dir { right: -6px; }
.seta-carrossel[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) { .seta-carrossel { display: grid; } }

/* card de produto com botão "+" */
.produto { position: relative; cursor: default; }
.produto-abrir { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.add-sacola {
  position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--brand); color: var(--on-brand); cursor: pointer;
  box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.5); transition: transform 0.15s ease-out;
}
.add-sacola:hover { transform: scale(1.1); }
.add-sacola:active { transform: scale(0.92); }

/* botão flutuante da sacola */
.sacola-fab {
  position: fixed; z-index: 40; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 18px 0 14px;
  border: 0; border-radius: 999px; background: var(--brand); color: var(--on-brand);
  font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--brand) 80%, #000);
}
.sacola-fab .qtd { min-width: 24px; height: 24px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--on-brand); color: var(--brand); font-size: 13px; }
.sacola-fab.pulo { animation: pulo 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes pulo { 40% { transform: scale(1.15); } }
@media (min-width: 640px) { .sacola-fab { right: max(16px, calc(50% - 300px - 90px)); } }
body:has(.sacola-fab:not([hidden])) .pagina { padding-bottom: 100px; }

.itens-sacola { display: grid; gap: 10px; }
.item-sacola { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.item-sacola img, .item-sacola .sem-foto { width: 54px; height: 54px; flex: none; border-radius: 10px; object-fit: cover; background: var(--surface); display: grid; place-items: center; color: var(--muted); }
.item-sacola .info { flex: 1; min-width: 0; display: grid; }
.item-sacola .info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-sacola .info span { font-size: 13.5px; font-weight: 800; color: var(--brand); }
.qtd-controle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); flex: none; }
.qtd-controle button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--text); font-size: 18px; font-weight: 700; cursor: pointer; }
.qtd-controle button:hover { background: var(--surface-2); }
.qtd-controle span { min-width: 22px; text-align: center; font-weight: 800; }
.qtd-controle.grande button { width: 40px; height: 40px; }
.total-sacola { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.total-sacola span { font-weight: 700; color: var(--muted); }
.total-sacola strong { font-size: 24px; font-weight: 800; color: var(--text); }
.entrega { grid-template-columns: repeat(3, 1fr); }
.entrega .opcao-radio { padding: 10px; justify-content: center; text-align: center; }
.entrega .opcao-radio input { position: absolute; opacity: 0; }
.entrega .opcao-radio b { font-size: 12.5px; }
.linha-adicionar { display: flex; gap: 10px; }
.linha-adicionar .btn { flex: 1; }
.galeria, .produtos { scroll-padding-inline: 16px; }

/* ==========================================================================
   v5: robô de atendimento + Pix
   ========================================================================== */

.chat-fab {
  position: fixed; z-index: 41; left: 16px; bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 18px 0 16px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text);
  font-weight: 800; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform 0.15s ease-out;
}
.chat-fab .i { color: var(--brand); width: 22px; height: 22px; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab.convite { animation: convite 1.2s ease-in-out 3; }
@keyframes convite { 50% { transform: translateY(-6px) scale(1.04); } }
@media (min-width: 640px) { .chat-fab { left: max(16px, calc(50% - 300px - 150px)); } }
body.chat-aberto .chat-fab { display: none; }
body:has(.chat-fab) .pagina { padding-bottom: 100px; }

.chat-caixa {
  position: fixed; z-index: 70; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
  height: min(78dvh, 620px); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg);
  overflow: hidden; animation: subir 0.25s ease-out;
}
@media (min-width: 640px) { .chat-caixa { left: 24px; right: auto; bottom: 24px; width: 390px; } }
.chat-topo { display: flex; align-items: center; gap: 12px; padding: 12px 10px 12px 14px; background: var(--brand); color: var(--on-brand); }
.chat-topo strong { display: block; font-size: 15.5px; }
.chat-topo small { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: 0.9; }
.chat-topo div { flex: 1; min-width: 0; }
.chat-topo .btn { color: var(--on-brand); }
.chat-avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--on-brand) 20%, transparent); }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.online { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 60%, transparent); }
.chat-mensagens { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; animation: surgir 0.2s ease-out; }
.msg.robo { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.msg.eu { align-self: flex-end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 6px; }
.digitando { display: inline-flex; gap: 4px; padding: 14px 16px; }
.digitando span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: digitando 1s infinite ease-in-out; }
.digitando span:nth-child(2) { animation-delay: 0.15s; }
.digitando span:nth-child(3) { animation-delay: 0.3s; }
@keyframes digitando { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.boas-vindas-mesa { display: grid; gap: 12px; text-align: center; padding-top: 4px; }
.boas-vindas-mesa .emoji { font-size: 44px; line-height: 1; }
.boas-vindas-mesa h2 { padding-right: 0; margin: 0; }
.boas-vindas-mesa p { margin: 0; color: var(--muted); }
.estrelas-rapidas { display: flex; justify-content: center; gap: 6px; margin: 2px 0 6px; }
.estrelas-rapidas button { font-size: 40px; line-height: 1; padding: 4px; border: 0; background: none; color: var(--border); cursor: pointer; transition: transform 0.12s, color 0.12s; }
.estrelas-rapidas button:hover, .estrelas-rapidas button:focus-visible { transform: scale(1.12); }
.estrelas-rapidas:has(button:nth-child(5):hover) button,
.estrelas-rapidas:has(button:nth-child(4):hover) button:nth-child(-n+4),
.estrelas-rapidas:has(button:nth-child(3):hover) button:nth-child(-n+3),
.estrelas-rapidas:has(button:nth-child(2):hover) button:nth-child(-n+2),
.estrelas-rapidas button:nth-child(1):hover { color: #f5b301; }
.categorias-produtos { margin-top: -4px; margin-bottom: 12px; }
.produtos .produto[hidden] { display: none; }
.cupom-sacola .ok-cupom { display: block; margin-top: 4px; margin-bottom: 2px; color: var(--ok, #16a34a); font-weight: 600; }
/* estoque: esgotado continua aparecendo (acinzentado) — gera escassez */
.produto.esgotado img { filter: grayscale(1); opacity: 0.55; }
.produto.esgotado .produto-info { opacity: 0.7; }
.selo-esgotado { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: #17151f; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.02em; }
.ultimas-mini { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: #e9562f; color: #fff; font-size: 11.5px; font-weight: 800; }
.aviso-esgotado { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.aviso-ultimas { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, #e9562f 14%, var(--surface)); border: 1px solid color-mix(in srgb, #e9562f 40%, transparent); }
.aceite-promos { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-size: 14px; cursor: pointer; }
.aceite-promos input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.aceite-promos small { display: block; color: var(--muted); font-size: 12px; }
.ver-ofertas { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--brand-line, var(--border)); background: var(--brand-soft); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.titulo-secao.com-acao { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lista-ofertas { display: grid; gap: 10px; margin-top: 12px; }
.oferta-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); }
.oferta-item > span { flex: 1; display: grid; gap: 2px; }
.oferta-item small { color: var(--muted); }
.oferta-item .codigo { font-weight: 800; letter-spacing: 0.04em; }
.lista-ofertas h3 { font-size: 14px; margin: 6px 0 0; color: var(--muted); }
.chat-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.chat-apps > span { width: 100%; font-size: 12.5px; color: var(--muted); }
.chat-apps .chat-acao { margin-top: 0; }
.chat-acao { margin-top: 10px; display: flex; width: fit-content; }
.chat-produtos { display: grid; gap: 6px; margin-top: 10px; }
.chat-produto { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; text-align: left; color: inherit; font: inherit; }
.chat-produto img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.chat-produto span { display: grid; font-size: 13px; }
.chat-produto small { color: var(--brand); font-weight: 800; }
.chat-sugestoes { display: flex; gap: 6px; overflow-x: auto; padding: 8px 12px 0; background: var(--surface-2); scrollbar-width: none; }
.chat-sugestoes::-webkit-scrollbar { display: none; }
.chat-sugestoes button { flex: none; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--brand-line); background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.chat-form .entrada { min-height: 44px; padding: 8px 14px; border-radius: 999px; }
.chat-aviso { padding: 0 14px 10px; font-size: 11px; color: var(--muted); text-align: center; background: var(--surface); }

/* Pix */
.pagamento { grid-template-columns: 1fr 1fr; }
.pagamento .opcao-radio { justify-content: center; padding: 10px; }
.pagamento .opcao-radio input { position: absolute; opacity: 0; }
.tela-pix { text-align: center; }
.tela-pix .sub { margin-bottom: 14px; }
.qr-pix { width: 220px; height: 220px; margin: 0 auto 10px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.qr-pix svg { width: 100%; height: 100%; display: block; }
.codigo-pix { margin-top: 12px; min-height: 0; font-family: ui-monospace, monospace; font-size: 12px; resize: none; text-align: left; word-break: break-all; }

/* v6: campanha de cupom */
.selo-cupom small { display: block; font-size: 11.5px; font-weight: 700; opacity: 0.8; margin-top: 1px; }
.selo-cupom { flex-direction: column; text-align: center; }
.selo-cupom.esgotado { background: var(--surface-2); color: var(--muted); }
.cupom.esgotado { border-style: solid; background: var(--surface-2); }
.cupom.esgotado strong { font-size: 17px; }
.cupom .mostrar-tela { margin-top: 4px; font-weight: 700; color: var(--text); }

/* v6: cookies e rodapé legal */
.aviso-cookies { gap: 14px; }
.cookies-texto strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cookies-texto p { color: var(--muted); font-size: 13.5px; }
.botoes-cookies { grid-template-columns: 1fr 1fr 1.3fr; }
@media (max-width: 380px) { .botoes-cookies { grid-template-columns: 1fr 1fr; } .botoes-cookies [data-aceitar] { grid-column: 1 / -1; } }
.lista-cookies .chave:first-child { opacity: 0.75; }
.links-legais { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 6px; }

/* v7: rodapé completo, capa com enquadramento */
.capa.com-imagem { background-position: var(--capa-pos, center); }
@media (min-width: 600px) { .capa { height: 240px; } }
/* formato fixo 5:2 (igual ao recorte do painel): o que o dono vê no painel é o que aparece aqui */
.capa, .esq-capa { height: auto !important; aspect-ratio: 5 / 2; }
.rodape { margin-top: 40px; display: grid; gap: 14px; }
.rodape-cartao { display: grid; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-align: left; }
.rodape-marca { display: flex; align-items: center; gap: 12px; }
.rodape-marca div { display: grid; min-width: 0; }
.rodape-marca strong { font-size: 16px; color: var(--text); }
.rodape-marca small { font-size: 12.5px; color: var(--muted); }
.rodape-logo { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--brand); color: var(--on-brand); font-weight: 800; }
.rodape-logo img { width: 100%; height: 100%; object-fit: cover; }
.rodape .sociais { justify-content: flex-start; flex-wrap: wrap; margin-top: 0; }
.rodape p { font-size: 12px; }

/* v8: sacola com entrega, cupom e pagamento */
.formas { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); margin: 6px 0 4px; }
.formas .opcao-radio, .pagamentos .opcao-radio { justify-content: center; padding: 10px 8px; text-align: center; }
.formas .opcao-radio input, .pagamentos .opcao-radio input { position: absolute; opacity: 0; }
.formas .opcao-radio b, .pagamentos .opcao-radio b { font-size: 13px; }
.pagamentos { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 6px 0 4px; }
.bloco-entrega { margin-top: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); }
.bloco-entrega .campo + .campo, .bloco-entrega .linha-endereco { margin-top: 12px; }
.linha-endereco { display: grid; grid-template-columns: 1fr 100px; gap: 10px; }
.aviso-sacola { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--warn) 15%, var(--surface)); font-size: 13.5px; }
.conta-sacola { display: grid; gap: 6px; margin: 16px 0 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 14px; }
.conta-sacola > div { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.conta-sacola .linha-desconto { color: color-mix(in srgb, var(--ok) 80%, var(--text)); font-weight: 700; }
.conta-sacola .total-sacola { margin: 4px 0 0; padding-top: 8px; border-top: 0; color: var(--text); }
.cupom-sacola { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px dashed var(--brand-line); background: var(--surface-2); cursor: pointer; }
.cupom-sacola.ativo { background: var(--brand-soft); border-style: solid; }
.cupom-sacola input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.cupom-sacola b { display: block; font-size: 14px; }
.cupom-sacola small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.tag-promo { display: inline-block; white-space: nowrap; font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: var(--brand); color: var(--on-brand); margin-left: 4px; }
.botoes-cupom { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.botoes-cupom .btn { margin-top: 0; }
.cupom.usado { border-style: solid; border-color: color-mix(in srgb, var(--ok) 50%, var(--border)); background: color-mix(in srgb, var(--ok) 10%, var(--surface)); }
.cupom.usado .topo-cupom { color: color-mix(in srgb, var(--ok) 80%, var(--text)); font-size: 14px; }
.cupom.usado .codigo { background: color-mix(in srgb, var(--ok) 75%, #000); text-decoration: line-through; }
.bloco-entrega .linha-endereco + .campo { margin-top: 12px; }
/* v9: sugestões do robô sempre visíveis e arrastáveis */
.chat-sugestoes { cursor: grab; padding-bottom: 8px; }
.chat-sugestoes.arrastando { cursor: grabbing; }
.chat-topo .btn-icone { width: 38px; min-height: 38px; }

/* v10: mesa/balcão, cupom no produto */
.onde-estou { margin-top: 12px; }
.tag-cupom { white-space: nowrap; display: inline-block; font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 18%, var(--surface)); color: color-mix(in srgb, var(--ok) 80%, var(--text)); margin-left: 4px; }
.aviso-cupom-produto { margin: 6px 0 4px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); color: var(--text); }
.aviso-cupom-produto.fora { background: var(--surface-2); color: var(--muted); }
/* v11: promoções da sacola (combo e "leve X") */
.selo-promo-produto { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 11.5px; font-weight: 800; box-shadow: var(--shadow-sm); pointer-events: none; }
.aviso-promo-produto { margin: 6px 0 4px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; background: var(--brand-soft); color: var(--text); }
.dica-promo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--brand-soft); border: 1px solid var(--brand-line); font-size: 13.5px; font-weight: 600; }
.dica-promo .btn { margin: 0; flex: none; padding: 7px 12px; min-height: 0; font-size: 13px; }
/* v12: cupons por produto, apps de entrega, feriados */
.selo-cupom-produto { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 85%, #000); color: #fff; font-size: 11.5px; font-weight: 800; box-shadow: var(--shadow-sm); pointer-events: none; }
.add-sacola { z-index: 3; }
.aviso-cupom-produto.com-botao { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.aviso-cupom-produto.com-botao .btn { margin: 0; padding: 7px 14px; min-height: 0; font-size: 13px; }
.aviso-cupom-produto.com-botao small { color: var(--muted); }
.btn-mini { padding: 6px 12px; min-height: 0; font-size: 13px; margin: 0; }
.cupom-sacola-caixa { display: grid; gap: 8px; margin: 12px 0 16px; }
.cupom-sacola-caixa .cupom-sacola { margin-top: 0; align-items: center; cursor: default; }
.cupom-icone { font-size: 20px; flex: none; }
.cupom-sacola .aviso-cupom { color: color-mix(in srgb, var(--warn) 70%, var(--text)); font-weight: 600; }
.cupom-acoes { display: flex; flex-direction: column; gap: 6px; margin-left: auto; flex: none; }
.cupom-sugestao { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px dashed var(--brand-line); background: var(--surface-2); font-size: 13.5px; }
.cupom-sugestao small { display: block; color: var(--muted); font-size: 12px; }
.cupom-digitar { display: flex; gap: 8px; }
.cupom-digitar .entrada { flex: 1; text-transform: uppercase; }
.cupom-digitar .entrada::placeholder { text-transform: none; }
.cupom-digitar .btn { margin: 0; flex: none; }
.apps-entrega-sacola { margin-top: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border); display: grid; gap: 8px; }
.apps-lista { display: flex; flex-wrap: wrap; gap: 8px; }
.apps-lista .btn { margin: 0; }
.apps-entrega { display: flex; flex-wrap: wrap; gap: 10px; }
.app-entrega-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--text); font-weight: 700; text-decoration: none; }
.app-entrega-link:hover { border-color: var(--brand-line); }
.app-entrega-link .i { color: var(--muted); }
.semana div.feriado span:first-child, .semana.feriados span:first-child { display: grid; }
.semana small { font-size: 12px; font-weight: 600; color: var(--brand); }
.titulo-feriados { font-size: 15px; margin: 16px 0 4px; }
.selo-promo-produto + .selo-cupom-produto { top: 36px; }

/* ===== Versão Completa: cliente acompanha o pedido ===== */
.selo-pedido {
  position: fixed; z-index: 45; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); min-height: 42px; padding: 0 16px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text);
  font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 12px 28px -12px rgb(0 0 0 / 0.35);
  animation: selo-entra 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.selo-pedido span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selo-pedido[data-status="pronto"] { background: #0f9d58; border-color: #0f9d58; color: #fff; }
.selo-pedido[data-status="pronto"] b { color: #fff; }
.selo-pedido b { color: var(--brand); }
@keyframes selo-entra { from { opacity: 0; transform: translate(-50%, -12px); } }
.acompanhar-pedido { text-align: center; }
.acompanhar-pedido .emoji-grande { font-size: 46px; line-height: 1; margin: 4px 0 8px; }
.numero-pedido { font-size: 1.25em; color: var(--brand); }
.etapas-pedido { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0 8px; padding: 0; }
.etapas-pedido li { display: grid; justify-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); position: relative; }
.etapas-pedido li span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border); font-size: 18px; filter: grayscale(1); opacity: 0.6; }
.etapas-pedido li.feita span { filter: none; opacity: 1; }
.etapas-pedido li.atual { color: var(--text); }
.etapas-pedido li.atual span { filter: none; opacity: 1; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }

/* O que a loja oferece (mesa, viagem, entrega) e aviso de loja fechada na sacola */
.formas-atendimento { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 0; }
.formas-atendimento span { padding: 5px 12px; border-radius: 999px; background: var(--brand-soft, var(--surface-2)); color: var(--text); font-size: 13px; font-weight: 700; }
.aviso-fechado { display: grid; gap: 4px; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--danger) 40%, var(--border)); background: color-mix(in srgb, var(--danger) 8%, var(--surface)); font-size: 14px; }
.aviso-fechado span { color: var(--muted); }
.oferta-item.esgotado { opacity: 0.75; }
.oferta-item.esgotado .codigo { text-decoration: line-through; }
.tag-esgotado { flex: none; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--danger); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.aviso-cupom.gentil { color: color-mix(in srgb, var(--ok) 75%, var(--text)); }
.mesa-travada { display: grid; gap: 3px; margin: 4px 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--brand-soft); border: 1px solid var(--brand-line, var(--border)); }
.mesa-travada small { color: var(--muted); font-size: 12.5px; }
