:root {
  --azul: #1A8CFF;
  --azul-claro: #5AB0FF;
  --vermelho: #E53935;
  --ciano: #22C3E6;
  --rosa: #D946C8;
  --fundo: #0A0F1E;
  --texto: #E8EEF8;
  --texto-2: #9AA8BF;
  --texto-3: #6B7890;
  --vidro: rgba(255, 255, 255, 0.045);
  --vidro-forte: rgba(255, 255, 255, 0.08);
  --borda: rgba(255, 255, 255, 0.09);
  --borda-forte: rgba(255, 255, 255, 0.18);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Fundo vivo, discreto no escuro */
.fundo { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fundo span {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  filter: blur(110px); opacity: .22; animation: flutua 24s ease-in-out infinite alternate;
}
.fundo span:nth-child(1) { background: var(--azul); top: -200px; left: -160px; }
.fundo span:nth-child(2) { background: var(--ciano); bottom: -240px; right: -180px; animation-delay: -8s; opacity: .16; }
.fundo span:nth-child(3) { background: var(--rosa); top: 45%; left: 55%; width: 400px; height: 400px; opacity: .12; animation-delay: -14s; }
@keyframes flutua {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(.95); }
}

/* Topo */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 15, 30, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--borda);
}
.topo, .abas, main, footer { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.topo { padding-top: 16px; padding-bottom: 12px; max-height: 120px; overflow: hidden; transition: max-height .25s ease, padding .25s ease, opacity .2s ease; }
/* Ao rolar: some o logo/nome e ficam só as abas presas no topo */
header.compacto .topo { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
header.compacto .abas { padding-top: 10px; padding-bottom: 10px; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.marca { display: inline-flex; align-items: center; gap: 14px; }
.marca img { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 2px rgba(26, 140, 255, .35), 0 6px 24px rgba(26, 140, 255, .25); }
.marca strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.marca .nome-1, .marca .nome-2 { color: #fff; paint-order: stroke fill; -webkit-text-stroke: 1.6px #1A8CFF; }
.marca .nome-2 { -webkit-text-stroke-color: #E53935; }
.marca small { display: block; margin-top: 3px; font-size: .85rem; color: var(--texto-2); }

.abas { display: flex; gap: 10px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.abas a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  color: var(--texto-2); background: var(--vidro); border: 1px solid var(--borda);
  transition: color .2s, background .2s, border-color .2s;
}
.abas a:hover { color: var(--texto); border-color: var(--borda-forte); }
.abas a.ativo {
  color: #fff; background: rgba(26, 140, 255, .18); border-color: rgba(90, 176, 255, .7);
  box-shadow: 0 0 0 3px rgba(26, 140, 255, .12);
}
.abas a.ativo svg { color: var(--azul-claro); }
.abas a svg.fogo { width: 22px; height: 22px; stroke: none; filter: drop-shadow(0 0 6px rgba(255, 122, 26, .55)); }
.abas a svg.fogo .chama { transform-origin: 50% 100%; animation: chama 1.6s ease-in-out infinite alternate; }
.abas a svg.fogo .miolo { transform-origin: 50% 100%; animation: chama 1.1s ease-in-out infinite alternate-reverse; }
@keyframes chama {
  0%   { transform: scale(1, 1) skewX(0deg); }
  50%  { transform: scale(.96, 1.06) skewX(-2deg); }
  100% { transform: scale(1.03, .97) skewX(2deg); }
}
.btn-cupons {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 11px 18px; border-radius: 999px;
  font-weight: 700; color: #fff; background: var(--azul); transition: transform .15s, filter .2s;
}
.btn-cupons:hover { transform: translateY(-1px); filter: brightness(1.1); }

main { padding-top: 18px; padding-bottom: 20px; }
h1 { font-size: 1.6rem; margin: 0 0 6px; letter-spacing: -.01em; }
.intro { margin: 0 0 14px; color: var(--texto-2); }
.resumo { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; color: var(--texto-2); font-size: .9rem; }
.resumo strong { color: var(--texto); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
h2.secao { font-size: 1.1rem; color: var(--texto-2); margin: 34px 0 14px; }
.vazio { color: var(--texto-2); text-align: center; padding: 40px 0; }

/* Filtro por loja */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 12px 7px 8px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: var(--vidro); border: 1px solid var(--borda); color: var(--texto-2);
}
.chip:first-child { padding-left: 14px; }
.chip:hover { border-color: var(--borda-forte); color: var(--texto); }
.chip.ativo { background: var(--azul); border-color: var(--azul); color: #fff; }
.chip-n { font-size: .78rem; color: var(--texto-3); }
.chip.ativo .chip-n { color: rgba(255, 255, 255, .8); }

.selo-loja {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%; font-size: .72rem; font-weight: 800;
}
.selo-loja.grande { width: 46px; height: 46px; border-radius: 12px; font-size: 1.3rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }

/* Grade de cupons */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }

.cupom {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden; display: flex;
  background: var(--vidro);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--borda); border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.cupom::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 0;
  background: radial-gradient(280px circle at var(--x) var(--y), rgba(90, 176, 255, .16), transparent 65%);
  transition: opacity .3s ease;
}
.cupom:hover { transform: translateY(-3px); border-color: rgba(90, 176, 255, .35); background: var(--vidro-forte); }
.cupom:hover::before { opacity: 1; }
.cupom > * { position: relative; z-index: 1; }

/* Lado colorido com recorte de ticket */
.cupom-lado {
  position: relative; width: 92px; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, rgba(26, 140, 255, .9), rgba(11, 90, 190, .9));
  border-right: 2px dashed rgba(10, 15, 30, .55);
}
.cupom-lado::before, .cupom-lado::after {
  content: ""; position: absolute; right: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--fundo);
}
.cupom-lado::before { top: -8px; }
.cupom-lado::after { bottom: -8px; }
.cupom-tipo { font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: inherit; opacity: .9; }

.cupom-corpo { flex: 1; min-width: 0; padding: 14px 16px 16px; display: flex; flex-direction: column; }
.cupom-topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .82rem; }
.cupom-loja { color: var(--texto-2); font-weight: 600; }
.cupom-quando { display: inline-flex; align-items: center; gap: 4px; color: var(--texto-3); }
.cupom-quando svg { width: 14px; height: 14px; }
.cupom-desconto { margin-top: 6px; font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: #fff; }
.cupom-desconto small { font-size: .9rem; font-weight: 700; color: var(--azul-claro); }
.cupom h3 { margin: 6px 0 4px; font-size: .98rem; font-weight: 600; line-height: 1.35; color: var(--texto);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cupom-desc { margin: 0 0 4px; font-size: .85rem; color: var(--texto-2);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cupom-meta { margin: 2px 0 12px; font-size: .8rem; color: var(--texto-3); }
.cupom-acoes { margin-top: auto; display: flex; gap: 8px; }

button.ver {
  position: relative; overflow: hidden; flex: 1; display: flex; align-items: stretch; justify-content: center;
  padding: 0; min-height: 44px; border: 0; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: .98rem; font-weight: 700; color: #fff; background: var(--vermelho);
  box-shadow: 0 6px 20px rgba(229, 57, 53, .3); transition: transform .15s ease, box-shadow .2s ease;
}
.ver-txt { flex: 1; display: flex; align-items: center; justify-content: center; }
.ver-fim {
  display: flex; align-items: center; padding: 0 12px; font-family: ui-monospace, monospace; font-size: .85rem;
  border-left: 2px dashed rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .15);
}
button.ver::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
button.ver:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(229, 57, 53, .45); }
button.ver:hover::after { left: 130%; }
button.ver.revelado {
  align-items: center; background: rgba(255, 255, 255, .06); color: #fff; border: 2px dashed var(--azul-claro);
  box-shadow: none; font-family: ui-monospace, monospace; letter-spacing: .06em;
}
button.ver[data-aviso]:not([data-aviso=""])::before {
  content: attr(data-aviso); position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: var(--azul); color: #fff; font: 600 .7rem system-ui; padding: 2px 8px; border-radius: 4px; letter-spacing: 0;
}
button.compartilhar {
  width: 44px; flex: none; border-radius: 10px; cursor: pointer; color: var(--texto-2);
  background: var(--vidro); border: 1px solid var(--borda); display: flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s;
}
button.compartilhar:hover { color: #fff; border-color: var(--borda-forte); }

/* "Mostrar mais esgotados" */
.mais-esgotados { margin-top: 14px; }
.mais-esgotados summary {
  display: inline-block; cursor: pointer; list-style: none; padding: 8px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--texto-2); background: var(--vidro); border: 1px solid var(--borda);
}
.mais-esgotados summary::-webkit-details-marker { display: none; }
.mais-esgotados summary:hover { color: var(--texto); border-color: var(--borda-forte); }
.mais-esgotados[open] summary { display: none; }
.mais-esgotados .grade { margin-top: 0; }

/* Botão "Ver cupom" com a ponta dobrada mostrando o final do código; ao passar o mouse, abre mais um pouco */
.ver-wrap {
  --abre: 48px; --d: 16px;
  position: relative; flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 10px; border-radius: 10px; border: 2px dashed var(--azul-claro); background: rgba(255, 255, 255, .04);
}
.ver-wrap:hover { --abre: 64px; --d: 22px; }
.ver-codigo { font-family: ui-monospace, monospace; font-size: .9rem; font-weight: 700; letter-spacing: .06em; color: #fff; }
.ver-wrap button.ver {
  position: absolute; top: -2px; bottom: -2px; left: -2px; right: var(--abre); min-height: 0; border-radius: 10px 0 0 10px;
  clip-path: polygon(0 0, calc(100% - var(--d)) 0, 100% var(--d), 100% 100%, 0 100%);
  transition: right .25s ease, clip-path .25s ease, box-shadow .2s ease;
}
.ver-wrap button.ver:hover { transform: none; }
.ver-dobra {
  position: absolute; top: -2px; right: var(--abre); width: var(--d); height: var(--d); pointer-events: none;
  background: linear-gradient(to bottom left, transparent 50%, #9E1B18 50%);
  border-bottom-left-radius: 4px; box-shadow: -2px 2px 4px rgba(0, 0, 0, .35);
  transition: right .25s ease, width .25s ease, height .25s ease;
}
/* Depois de clicar: o botão vira o código inteiro */
.ver-wrap:has(.revelado) .ver-codigo, .ver-wrap:has(.revelado) .ver-dobra { display: none; }
.ver-wrap button.ver.revelado { right: -2px; clip-path: none; border-radius: 10px; }

/* Esgotado / encerrado */
.cupom.esgotado { filter: grayscale(1); opacity: .55; }
.cupom.esgotado:hover { transform: none; }
.selo-fim {
  flex: 1; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: rgba(255, 255, 255, .05); color: var(--texto-2); font-weight: 700;
}

/* Tarjetas de dica no cartão de oferta */
/* Faixa em cima da foto (ex.: "Cupom na página", "Pague no Pix") */
.tarjetas { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; display: flex; flex-direction: column; }
.tarjeta {
  display: block; padding: 4px 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: .7rem; font-weight: 500; line-height: 1.2; text-align: center;
  color: #fff; background: linear-gradient(90deg, #16A34A, #22C55E);
}
.tarjeta + .tarjeta { border-top: 1px solid rgba(255, 255, 255, .25); }
.oferta-destaque .tarjeta { font-size: .85rem; padding: 7px 8px; }

/* Ofertas (promoções) */
.grade-ofertas { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.oferta {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px;
  background: var(--vidro); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--borda); border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.oferta { cursor: pointer; }
.oferta:hover { transform: translateY(-3px); border-color: var(--brilho); background: var(--vidro-forte); box-shadow: 0 14px 34px -14px var(--brilho); }
.oferta-topo { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.oferta-loja { display: inline-flex; align-items: center; gap: 8px; color: var(--texto-2); font-weight: 600; }
.oferta-meio { display: flex; gap: 14px; }
.oferta-img {
  position: relative; flex: none; width: 140px; height: 140px; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.oferta-img > span { font-size: 2.2rem; font-weight: 800; opacity: .9; }
.oferta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 0; transform: scale(var(--zoom, 1.08)); }
.oferta-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.oferta-info h3 { margin: 0; font-size: .98rem; font-weight: 700; line-height: 1.3; color: var(--texto);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oferta-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--azul-claro); font-weight: 600; }
.oferta-tag svg { width: 15px; height: 15px; }
.oferta-tag code {
  padding: 1px 7px; border-radius: 6px; border: 1px dashed rgba(90, 176, 255, .6);
  font-family: ui-monospace, monospace; font-size: .82rem; color: #fff; background: rgba(26, 140, 255, .12);
}
.oferta-dica {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 10px;
  font-size: .85rem; font-weight: 600; color: #FFD27A;
  background: rgba(255, 179, 0, .08); border: 1px solid rgba(255, 179, 0, .28);
}
.oferta-dica svg { width: 16px; height: 16px; flex: none; }
.oferta-dica span { flex: 1; min-width: 0; }
a.oferta-dica { transition: background .2s, border-color .2s; }
a.oferta-dica:hover { background: rgba(255, 179, 0, .16); border-color: rgba(255, 179, 0, .5); }
.oferta-preco { font-size: 1.75rem; font-weight: 800; line-height: 1; color: #FF8A3D; letter-spacing: -.01em; }
.oferta-preco small { font-size: .55em; font-weight: 700; margin-right: 2px; }
.no-pix { margin-left: 6px; font-size: .45em; font-weight: 800; color: #4ADE80; letter-spacing: 0; vertical-align: middle; }
.oferta-preco small + small, .oferta-preco small:last-child:not(:first-child) { margin-right: 0; }
.oferta-de { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--texto-3); }
.oferta-aviso { margin: 2px 0 0; font-size: .72rem; line-height: 1.3; color: var(--texto-3); }
.oferta-pct { padding: 2px 7px; border-radius: 6px; background: rgba(34, 197, 94, .18); color: #4ADE80; font-weight: 800; font-size: .78rem; }
.oferta-acoes { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.oferta-fogo {
  display: inline-flex; align-items: center; gap: 5px; height: 44px; padding: 0 12px; border-radius: 10px;
  background: var(--vidro); border: 1px solid var(--borda); color: var(--texto); font-weight: 700; font-size: .9rem;
}
.oferta-acoes button.compartilhar { height: 44px; }
.fogo-mini { width: 16px; height: 16px; fill: #FF7A1A; stroke: none; }
button.ver-oferta {
  flex: 1; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 10px; cursor: pointer; font-family: inherit; font-size: .98rem; font-weight: 700;
  color: #fff; background: var(--vermelho); box-shadow: 0 6px 20px rgba(229, 57, 53, .3);
  transition: transform .15s ease, box-shadow .2s ease;
}
button.ver-oferta svg { width: 16px; height: 16px; }
button.ver-oferta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(229, 57, 53, .45); }

/* PC: cartão de oferta na vertical (foto em cima, ocupando a largura). No celular continua como está. */
.selo-pct { display: none; }
@media (min-width: 601px) {
  .grade-ofertas { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
  .grade-ofertas .oferta { padding: 10px; gap: 10px; }
  .grade-ofertas .oferta-meio { display: contents; }
  .grade-ofertas .oferta-img { order: -1; width: 100%; height: auto; aspect-ratio: 5 / 4; border-radius: 12px; }
  .grade-ofertas .oferta-img img { padding: 0; }
  .grade-ofertas .oferta-topo { padding: 0 4px; }
  .grade-ofertas .oferta-info { padding: 0 4px; gap: 4px; }
  .grade-ofertas .oferta-info h3 { font-size: .95rem; min-height: 2.6em; }
  .grade-ofertas .oferta-preco { font-size: 1.6rem; }
  .grade-ofertas .oferta-pct { display: none; }
  .grade-ofertas .selo-pct {
    display: block; position: absolute; top: 8px; right: 8px; z-index: 3; padding: 4px 9px; border-radius: 8px;
    font-size: .85rem; font-weight: 800; color: #fff; background: #16A34A; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  }

  .grade-ofertas .oferta-acoes { padding: 0 2px 2px; }
}

/* Página própria da oferta (link compartilhado) */
.destaque { max-width: 860px; }
.oferta-destaque { padding: 20px; gap: 16px; }
.oferta-destaque .oferta-meio { gap: 22px; }
.oferta-destaque .oferta-img { width: 280px; height: 280px; border-radius: 16px; }
.oferta-destaque .oferta-img img { padding: 10px; }
.oferta-destaque .oferta-info { gap: 10px; justify-content: center; }
.oferta-destaque .oferta-info h3 { font-size: 1.35rem; -webkit-line-clamp: 4; line-clamp: 4; }
.oferta-destaque .oferta-preco { font-size: 2.6rem; }
.oferta-destaque .oferta-aviso { font-size: .82rem; }
.oferta-destaque button.ver-oferta, .oferta-destaque .oferta-fogo, .oferta-destaque button.compartilhar { height: 54px; }
.oferta-destaque button.ver-oferta { font-size: 1.1rem; }
.oferta-alerta {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; font-size: .9rem; font-weight: 600;
  color: #FFD27A; background: rgba(255, 179, 0, .08); border: 1px solid rgba(255, 179, 0, .28);
}

/* Lojas parceiras */
.lojas { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 10px; }
.loja-card {
  display: flex; align-items: center; overflow: hidden; border-radius: 14px;
  background: var(--vidro); border: 1px solid var(--borda); transition: border-color .2s, transform .2s;
}
.loja-card:hover { border-color: var(--borda-forte); transform: translateY(-2px); }
.loja-lado { align-self: stretch; width: 74px; display: flex; align-items: center; justify-content: center; border-right: 2px dashed rgba(10, 15, 30, .55); }
.loja-lado .selo-loja.grande { width: 42px; height: 42px; font-size: 1.25rem; }
.loja-info { flex: 1; padding: 14px 16px; }
.loja-info strong { display: block; font-size: 1.05rem; }
.loja-info span { font-size: .85rem; color: var(--texto-2); }
.loja-seta { padding-right: 14px; color: var(--azul-claro); }
.loja-card.sem-cupom { opacity: .6; }
.loja-card.sem-cupom:hover { opacity: 1; }
/* Cabeçalho da página da loja */
.loja-cabeca { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.voltar {
  display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px 7px 8px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--texto-2); background: var(--vidro); border: 1px solid var(--borda);
}
.voltar svg { transform: rotate(180deg); width: 16px; height: 16px; }
.voltar:hover { color: var(--texto); border-color: var(--borda-forte); }
.loja-nome { display: inline-flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.loja-nome .selo-loja { width: 30px; height: 30px; font-size: .95rem; }

/* Chamada para os canais */
.chamada {
  margin-top: 28px; padding: 18px 20px; border-radius: 16px; display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  background: rgba(26, 140, 255, .08); border: 1px dashed rgba(90, 176, 255, .45);
}
.chamada p { margin: 0; font-weight: 600; }
.chamada div { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-canal {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; font-weight: 700; color: #fff; transition: transform .15s, filter .2s;
}
.btn-canal:hover { transform: translateY(-1px); filter: brightness(1.1); }
.btn-canal.tg { background: #229ED9; }
.btn-canal.zap { background: #1FAF54; }

.em-breve { margin-top: 14px; padding: 28px 22px; border-radius: 16px; background: var(--vidro); border: 1px solid var(--borda); }
.em-breve p { margin: 0; color: var(--texto-2); }
.em-breve-titulo { font-size: 1.15rem; font-weight: 700; color: var(--texto) !important; margin-bottom: 6px !important; }

/* Convite de entrada */
.convite {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(3, 6, 14, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: aparece .25s ease;
}
.convite[hidden] { display: none; }
.convite-caixa {
  position: relative; width: 100%; max-width: 420px; text-align: center; padding: 28px 24px 18px; border-radius: 22px;
  background: rgba(18, 26, 48, .92); border: 1px solid var(--borda-forte); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  animation: sobe .3s ease;
}
.convite-caixa img { width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 2px; box-shadow: 0 0 0 3px rgba(26, 140, 255, .35); }
.convite-caixa h2 { margin: 12px 0 6px; font-size: 1.45rem; }
.convite-caixa > p { margin: 0 0 16px; color: var(--texto-2); line-height: 1.5; }
.convite-grupo { margin-bottom: 14px; }
.convite-grupo > span { display: block; margin-bottom: 8px; font-size: .85rem; font-weight: 700; color: var(--texto-2); text-transform: uppercase; letter-spacing: .08em; }
.convite-grupo > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.convite-fechar {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: transparent; color: var(--texto-2); font-size: 1.5rem; line-height: 1;
}
.convite-fechar:hover { color: #fff; background: var(--vidro-forte); }
.convite-depois { margin-top: 4px; border: 0; background: none; color: var(--texto-2); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 8px; }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes sobe { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

.menu-compartilhar {
  position: absolute; z-index: 40; display: flex; flex-direction: column; gap: 6px; padding: 8px; min-width: 170px;
  border-radius: 14px; background: rgba(18, 26, 48, .96); border: 1px solid var(--borda-forte);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.menu-compartilhar a, .menu-compartilhar button {
  display: block; width: 100%; padding: 10px 14px; border-radius: 10px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .92rem; text-align: left; color: #fff; background: transparent;
}
.menu-compartilhar .mc-zap { background: #1FAF54; }
.menu-compartilhar .mc-tg { background: #229ED9; }
.menu-compartilhar .mc-copiar { background: var(--vidro-forte); }
.menu-compartilhar a:hover, .menu-compartilhar button:hover { filter: brightness(1.1); }
.menu-compartilhar .mc-mais { background: transparent; border: 1px solid var(--borda-forte); }
/* No celular: sobe de baixo da tela */
.menu-compartilhar.folha {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; min-width: 0; gap: 10px;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0;
  animation: sobe .25s ease;
}
.menu-compartilhar.folha a, .menu-compartilhar.folha button { padding: 15px 18px; font-size: 1rem; text-align: center; }

.aviso-copiado {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
}

footer { margin-top: 30px; margin-bottom: 30px; color: var(--texto-3); font-size: .8rem; text-align: center; }

@media (max-width: 600px) {
  .topo { padding-top: 12px; padding-bottom: 10px; }
  .marca img { width: 44px; height: 44px; }
  .marca strong { font-size: 1.25rem; }
  .marca .nome-1, .marca .nome-2 { -webkit-text-stroke-width: 1.2px; }
  .marca small { font-size: .75rem; }
  .abas a { padding: 8px 14px; font-size: .9rem; }
  h1 { font-size: 1.35rem; }
  .grade { grid-template-columns: 1fr; }
  .cupom-lado { width: 76px; }
  .grade-ofertas { grid-template-columns: 1fr; }
  .oferta-img { width: 120px; height: 120px; }
  .tarjeta { font-size: .6rem; padding: 4px 2px; letter-spacing: -.01em; }
  .oferta-preco { font-size: 1.5rem; }
  .oferta-destaque .oferta-meio { flex-direction: column; }
  .oferta-destaque .oferta-img { width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .oferta-destaque .oferta-preco { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fundo span, .convite, .convite-caixa, .abas a svg.fogo .chama, .abas a svg.fogo .miolo { animation: none; }
  .topo { transition: none; }
  .cupom, button.ver, button.ver::after, .oferta, button.ver-oferta, .ver-wrap button.ver, .ver-dobra { transition: none; }
}
