/* Ofertei: visual inspirado na linguagem do Pechinchou (docs/estudo/01-mapeamento-pechinchou.md),
   com a marca Ofertei. Tudo em variáveis: mudar a cor aqui muda o site inteiro. */

:root {
  --vermelho: #E4322B;          /* cor exata da logo */
  --vermelho-escuro: #C4241D;
  --vermelho-claro: #FDE6E4;
  --vermelho-clarinho: #FFF6F5;
  --verde: #00A650;
  --verde-zap: #25D366;
  --verde-zap-escuro: #1DA851;
  --amarelo: #FFD54A;
  --fundo: #FFFFFF;
  --fundo-lista: #F2F5F7;
  --borda-card: #F2EDED;
  --fundo-pagina: #F7F5F5;   /* fundo da página do produto (igual ao Pechinchou) */
  --cartao: #FFFFFF;
  --texto: #222222;
  --texto-2: #696969;
  --texto-3: #999999;
  --borda: #E6E8EA;
  --chip: #F2F3F5;
  --faixa: #111111;
  --sombra-1: 0 1px 4px rgba(0,0,0,.04), 0 4px 10px rgba(0,0,0,.08);
  --sombra-2: 0 2px 20px rgba(0,0,0,.04), 0 8px 32px rgba(0,0,0,.10);
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-xxl: 22px; --r-pilula: 9999px;
  --topo-h: 68px;
  --abas-h: 56px;
  color-scheme: light;
}
/* Tema: todo acesso abre BRANCO (identidade da marca). O escuro é escolha da pessoa no botão sol/lua do topo, no
   computador e no celular, e vale só durante a visita (comum.js, iniciarTema): nada fica salvo no aparelho. Não segue
   o modo escuro do celular (pedido do dono em 09/10/2026: abria todo preto e, no celular, não havia como trocar). */
:root[data-tema="escuro"] {
  --vermelho-claro: #3A1715; --vermelho-clarinho: #241312;
  --fundo: #121314; --fundo-lista: #0B0C0D; --cartao: #1B1D1F;
  --texto: #F1F2F3; --texto-2: #ADB5BA; --texto-3: #7D858A;
  --borda: #2A2D30; --borda-card: #2A2D30; --fundo-pagina: #0B0C0D; --chip: #24272A; --faixa: #000000;
  --sombra-1: 0 1px 4px rgba(0,0,0,.4); --sombra-2: 0 8px 32px rgba(0,0,0,.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topo-h) + var(--abas-h) + 12px); }
body {
  margin: 0; background: var(--fundo); color: var(--texto);
  font: 400 15px/1.45 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.ic { width: 18px; height: 18px; flex: none; }

/* ---------- 1. Faixa preta do topo (letreiro) ---------- */
.faixa {
  background: var(--faixa); color: #fff; height: 45px; display: flex; align-items: center;
  justify-content: center; gap: 14px; font-weight: 700; font-size: 14px; overflow: hidden; position: relative;
}
.faixa .letreiro { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.faixa .etiqueta {
  background: var(--vermelho); padding: 2px 12px 2px 8px; transform: skewX(-12deg);
  display: inline-block;
}
.faixa .etiqueta span { display: inline-block; transform: skewX(12deg); }
.faixa .btn-zap { height: 28px; padding: 0 14px; font-size: 13px; }
@media (max-width: 640px) {
  .faixa { justify-content: flex-start; padding-left: 12px; }
  .faixa .letreiro { animation: letreiro 14s linear infinite; }
  .faixa .btn-zap { position: absolute; right: 8px; box-shadow: -16px 0 12px var(--faixa); }
  .faixa .some-celular { display: none; }
}
@keyframes letreiro { 0%, 12% { transform: translateX(0); } 100% { transform: translateX(-55%); } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: var(--r-pilula); font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: transform .18s ease, background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.96); }
.btn-vermelho { background: var(--vermelho); color: #fff; }
.btn-vermelho:hover { background: var(--vermelho-escuro); }
.btn-zap { background: var(--verde-zap); color: #fff; }
.btn-zap:hover { background: var(--verde-zap-escuro); }
.btn-contorno { border: 1.5px solid var(--borda); background: var(--cartao); color: var(--texto); }
.btn-contorno:hover { border-color: var(--texto-3); }
.btn-largo { width: 100%; height: 48px; font-size: 16px; }
.pulsa { position: relative; }
.pulsa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 currentColor;
  color: var(--verde-zap); animation: pulso 1.8s infinite; pointer-events: none;
}
.btn-vermelho.pulsa::after { color: var(--vermelho); }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }

/* ---------- 2. Cabeçalho fixo ---------- */
.topo {
  position: sticky; top: 0; z-index: 40; background: var(--fundo); height: var(--topo-h);
  border-bottom: 1px solid var(--borda);
}
.topo .dentro {
  max-width: 1240px; margin: 0 auto; height: 100%; padding: 0 16px; display: flex; align-items: center; gap: 18px;
}
.marca { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -.3px; }
.marca img { width: 34px; height: 34px; border-radius: 9px; }
.marca b { color: var(--vermelho); }
.menu { display: flex; gap: 4px; }
.menu a, .menu button {
  display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--r-md); color: var(--texto-2);
  font-size: 14px; font-weight: 500; position: relative;
}
.menu a:hover, .menu button:hover { background: var(--chip); color: var(--texto); }
.menu .novo::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--vermelho); position: absolute; top: 7px; right: 3px;
}
.busca { flex: 1; max-width: 460px; margin-left: auto; position: relative; }
.busca input {
  width: 100%; height: 42px; border-radius: var(--r-pilula); border: 1.5px solid var(--borda); background: var(--fundo);
  color: var(--texto); padding: 0 46px 0 18px; font: inherit; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.busca input:focus { border-color: var(--vermelho); box-shadow: 0 0 0 4px var(--vermelho-claro); }
.busca .lupa { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--texto); pointer-events: none; }
.btn-tema { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--borda); display: grid; place-items: center; }
.btn-busca-celular { display: none; }
@media (max-width: 900px) { .menu { display: none; } }
@media (max-width: 640px) {
  :root { --topo-h: 56px; --abas-h: 46px; }   /* topo e abas grudam juntos: 121 px viram 103 px de uma tela de 844 */
  .topo .dentro { gap: 10px; }
  .busca { display: none; }
  .topo.buscando .busca { display: block; position: absolute; left: 12px; right: 12px; top: 7px; max-width: none; }
  .topo.buscando .marca, .topo.buscando .acoes { visibility: hidden; }
  .btn-busca-celular { display: grid; margin-left: auto; }
  .topo .btn-grupo-topo span { display: none; }
  .topo .btn-grupo-topo { width: 40px; padding: 0; }
}
.acoes { display: flex; gap: 8px; align-items: center; }

/* redes no topo: círculos de 36 px com borda, como os botões de login do Pechinchou */
.redes-topo, .redes-lado { display: flex; gap: 6px; }
.rede-bola {
  width: 36px; height: 36px; border-radius: 50%; color: #fff;
  display: grid; place-items: center; transition: transform .2s, box-shadow .2s, filter .2s;
}
.rede-bola svg { width: 18px; height: 18px; }
.rede-bola:hover { transform: translateY(-2px); box-shadow: var(--sombra-1); }
.rede-bola:hover { filter: brightness(1.08); }
.rede-bola.zap { background: #25D366; }
.rede-bola.insta { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.rede-bola.tele { background: #229ED9; }
.rede-bola.tele svg { margin-left: -2px; }
.redes-lado { margin-top: 12px; gap: 10px; }
.redes-lado .rede-bola { width: 44px; height: 44px; }
.redes-lado .rede-bola svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .topo .btn-grupo-topo { display: none; }   /* no celular o WhatsApp já está nas bolinhas */
  .topo .btn-tema { width: 36px; height: 36px; }   /* busca e tema (sol/lua) continuam no celular */
  .redes-topo { gap: 4px; }
  .redes-topo .rede-bola { width: 34px; height: 34px; }
  .redes-topo .rede-bola svg { width: 17px; height: 17px; }
}

/* ---------- 3. Faixa de apresentação + lojas ---------- */
.apresenta { border-bottom: 1px solid var(--borda); }
.apresenta .dentro { max-width: 1240px; margin: 0 auto; padding: 20px 16px 18px; position: relative; }
.apre-titulo { font-size: 22px !important; line-height: 1.25; letter-spacing: -.4px; flex-wrap: wrap; gap: 0 7px !important; }
.contador { color: var(--vermelho); font-variant-numeric: tabular-nums; }
.gira { position: relative; display: inline-block; color: var(--vermelho); height: 1.25em; overflow: hidden; vertical-align: bottom; }
.gira span { display: block; white-space: nowrap; animation: giraEntra .45s cubic-bezier(.2,.8,.2,1) both; }
.gira span.saindo { position: absolute; left: 0; top: 0; animation: giraSai .35s ease both; }
.gira::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 3px; border-radius: 3px; background: var(--vermelho); opacity: .25; }
@keyframes giraEntra { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes giraSai { to { transform: translateY(-100%); opacity: 0; } }
.apre-sub { max-width: 760px; font-size: 14px !important; line-height: 1.5; }
.apre-selos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; padding: 0; }
.apre-selos li {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 6px; border-radius: var(--r-pilula);
  background: var(--vermelho-clarinho); color: var(--texto); font-size: 13px; font-weight: 700;
  animation: subir .45s cubic-bezier(.2,.8,.2,1) both;
}
.apre-selos li span { width: 22px; height: 22px; border-radius: 50%; background: var(--cartao); display: grid; place-items: center; font-size: 12px; }
.apre-selos li:nth-child(2) { animation-delay: .1s; } .apre-selos li:nth-child(3) { animation-delay: .2s; } .apre-selos li:nth-child(4) { animation-delay: .3s; }
@media (max-width: 640px) { .apre-titulo { font-size: 19px !important; } .apre-selos li { font-size: 12px; height: 30px; } }
.apresenta h1 { font-size: 16px; margin: 0 0 4px; display: flex; gap: 8px; align-items: center; letter-spacing: -.2px; }
.apresenta h1 svg { color: var(--vermelho); }
.apresenta p { margin: 0 0 6px; color: var(--texto-2); font-size: 14px; }
.apresenta p b { color: var(--texto); }
.apresenta .fechar {
  position: absolute; right: 16px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--chip); color: var(--texto-2);
  display: grid; place-items: center; z-index: 1; transition: background .2s, color .2s, transform .2s;
}
.apresenta .fechar:hover { background: var(--vermelho-claro); color: var(--vermelho); transform: rotate(90deg); }
.apresenta .fechar svg { width: 14px; height: 14px; }
.apre-corpo { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s ease, opacity .3s ease, margin .45s ease; padding-right: 36px; }
.apre-corpo > * { min-height: 0; }
.apre-corpo { overflow: hidden; }
/* fechada: sobe e some suave; o #publi fica (o aviso de propaganda não pode sumir) */
.apresenta.fechada .apre-corpo { grid-template-rows: 0fr; opacity: 0; margin-bottom: -4px; }
.apresenta.fechada .fechar { display: none; }
.apresenta.fechada .dentro { padding-top: 10px; padding-bottom: 10px; }
.lojas { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.lojas::-webkit-scrollbar { display: none; }
.loja-pilula {
  scroll-snap-align: start; flex: none; min-width: 120px; height: 36px; border-radius: var(--r-md); color: #fff; font-weight: 700;
  font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; letter-spacing: -.2px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); transition: transform .18s ease, box-shadow .2s;
}
.loja-pilula:hover { transform: translateY(-2px); box-shadow: var(--sombra-1); }
.loja-pilula.ativa { outline: 3px solid var(--texto); outline-offset: 2px; }
.loja-pilula.todas { background: var(--cartao); color: var(--texto); border: 1.5px solid var(--borda); font-size: 14px; }
.loja-pilula small { font-size: 10px; font-weight: 700; background: rgba(255,255,255,.25); padding: 2px 6px; border-radius: 99px; }

/* ---------- Corpo: lista + lateral ----------
   Medidas tiradas do Pechinchou (08/10/2026): conteúdo com 24-32 px de margem, lateral de 280 px a 32 px
   da lista, cards em grade com 8 px entre eles. A lateral só aparece em tela larga (>= 1100 px). */
.corpo { background: var(--fundo-lista); min-height: 60vh; }
.corpo .dentro {
  max-width: 1366px; margin: 0 auto; padding: 16px 32px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px; align-items: start;
}
@media (max-width: 1099px) { .corpo .dentro { grid-template-columns: minmax(0, 1fr); padding: 16px 24px 24px; } }
@media (max-width: 640px) { .corpo .dentro { padding: 0 0 16px; } }

/* ---------- 4. Abas de filtro (grudam) ---------- */
.abas-caixa {
  position: sticky; top: var(--topo-h); z-index: 30; background: var(--cartao); border-radius: var(--r-md);
  border: 1px solid var(--borda-card); padding: 8px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
@media (max-width: 640px) { .abas-caixa { border-radius: 0; border-width: 0 0 1px; margin-bottom: 0; padding: 5px 8px; } }
.abas { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.abas::-webkit-scrollbar { display: none; }
.aba {
  flex: none; display: flex; align-items: center; gap: 8px; height: 36px; padding: 8px; border-radius: var(--r-lg);
  color: var(--texto-3); font-weight: 400; font-size: 14px; transition: background .2s, color .2s;
}
.aba svg { stroke: currentColor; }
.aba:hover { color: var(--texto); }
.aba.ativa { background: var(--chip); color: var(--texto); font-weight: 700; }
.aba.ativa svg { fill: currentColor; }
.aba.ativa svg.so-traco { fill: none; }
.btn-quadrado { flex: none; width: 36px; height: 36px; border-radius: var(--r-md); border: 1px solid var(--borda-card); display: grid; place-items: center; background: var(--cartao); }
.btn-quadrado.ligado { border-color: var(--vermelho); color: var(--vermelho); }

/* chips de categoria */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; padding: 1px; }
.chips::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .chips { padding: 12px 16px 2px; margin: 0; } }
.chip {
  flex: none; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-pilula);
  background: var(--cartao); border: 1px solid var(--borda-card); font-size: 13px; font-weight: 500; color: var(--texto-2);
  transition: all .2s;
}
.chip:hover { color: var(--texto); border-color: var(--texto-3); }
.chip.ativo { background: var(--texto); color: var(--fundo); border-color: var(--texto); }
.chip .n { font-size: 11px; opacity: .6; }

.info-lista { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--texto-3); font-size: 12px; margin: 0 2px 10px; }
@media (max-width: 640px) { .info-lista { margin: 12px 16px; } }
.info-lista .contagem b { color: var(--texto); }

/* ---------- 5. Card de promoção ----------
   Grade (computador e tablet): foto 170 px em cima, linha divisória, loja, título 14/700 em 2 linhas,
   etiquetas 12 px cinza, preço 24/700 vermelho, rodapé com ações. Lista (celular): foto à esquerda. */
.lista { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
@media (max-width: 640px) { .lista { padding: 0 12px; } }
.card {
  background: var(--cartao); border: 1px solid var(--borda-card); border-radius: var(--r-md); padding: 16px 0 0;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "foto" "divisor" "loja" "titulo" "etiquetas" "preco" "rodape";
  grid-template-rows: auto auto auto auto auto 1fr auto;
  position: relative; transition: transform 500ms ease-out, box-shadow 500ms ease-out;
  /* "backwards": a animação de entrada não prende o transform depois (senão o zoom do mouse não funciona) */
  animation: subir .45s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: var(--atraso, 0ms);
}
.card > * { padding-left: 16px; padding-right: 16px; }
/* zoom leve ao passar o mouse, igual ao Pechinchou: scale(1.05) em 500 ms, só em tela com mouse */
@media (hover: hover) and (min-width: 550px) {
  .card:hover { transform: scale(1.05); box-shadow: var(--sombra-2); z-index: 2; }
}
@keyframes subir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card .foto {
  grid-area: foto; height: 170px; margin: 0 16px; padding: 0; border-radius: var(--r-md); background: #fff; overflow: hidden;
  position: relative; pointer-events: none;
}
.card .foto img { width: 100%; height: 100%; object-fit: contain; visibility: hidden; position: relative; z-index: 1; }
.card .foto img.carregou { visibility: visible; animation: aparecer .35s ease both; }
.card .foto::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f1f1f1 0, #fafafa 50%, #f1f1f1 100%); background-size: 200% 100%; animation: brilho 1.2s infinite; z-index: 0; }
.card .foto:has(img.carregou)::before, .card .foto:has(.sem-foto)::before { display: none; }
/* desenho feito pela Ofertei no lugar da foto (o ML não deixa usar as fotos dele): selo sempre visível */
.selo-ilustrativa { position: absolute; z-index: 3; left: 4px; bottom: 4px; background: rgba(17,17,17,.78); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 99px; letter-spacing: .2px; pointer-events: none; }
.pp-foto .selo-ilustrativa { left: 10px; bottom: 10px; font-size: 12px; }
.sem-foto { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; font-size: 56px; background: var(--vermelho-clarinho); border-radius: var(--r-md); }
@keyframes brilho { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.desconto {
  position: absolute; z-index: 2; left: 4px; top: 4px; background: var(--vermelho); color: #fff; font-weight: 700; font-size: 12px;
  padding: 2px 6px; border-radius: var(--r-sm); animation: carimbo .5s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--atraso, 0ms) + 200ms);
}
@keyframes carimbo { from { transform: scale(2) rotate(-12deg); opacity: 0; } to { transform: scale(1) rotate(-4deg); opacity: 1; } }
.card .divisor { grid-area: divisor; height: 1px; background: var(--borda-card); margin: 12px 0 0; padding: 0; }
.card .loja-linha { grid-area: loja; display: flex; align-items: center; gap: 6px; margin-top: 12px; min-width: 0; }
.logo-loja { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--borda-card); display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; flex: none; }
.loja-nome { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.loja-nome b { font-size: 12px; font-weight: 700; color: var(--texto); display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.loja-nome b svg { width: 13px !important; height: 13px !important; }
.loja-nome small { font-size: 10px; color: var(--texto-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selo-ic { margin-left: auto; width: 20px; height: 20px; border-radius: var(--r-md); background: var(--chip); display: grid; place-items: center; flex: none; color: var(--texto); }
.selo-ic svg { width: 12px; height: 12px; fill: none; stroke: currentColor; }
.selo-ic.quente { background: var(--vermelho-clarinho); color: var(--vermelho); }
.card h3 {
  grid-area: titulo; margin: 6px 0 0; font-size: 14px; line-height: 18px; font-weight: 700; color: var(--texto); min-height: 36px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .etiquetas { grid-area: etiquetas; display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; font-size: 12px; color: var(--texto-3); }
.etiquetas span { display: inline-flex; align-items: center; gap: 4px; }
.etiquetas span i { width: 20px; height: 20px; border-radius: var(--r-sm); background: var(--vermelho-clarinho); color: var(--vermelho); display: grid; place-items: center; font-style: normal; font-size: 11px; }
.etiquetas span i svg { width: 12px; height: 12px; fill: none; stroke: currentColor; }
.etiquetas .etq-publi { margin-left: auto; font-size: 11px; color: var(--texto-2); }
.etiquetas .etq-publi b { color: var(--texto); }
.card .preco { grid-area: preco; align-self: end; margin-top: 14px; padding-bottom: 16px; }
.preco { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.preco .atual { color: var(--vermelho); font-weight: 700; font-size: 24px; letter-spacing: -.3px; line-height: 26px; }
.preco .atual small { font-size: 16px; margin-right: 1px; }
.preco .atual sup { font-size: 13px; vertical-align: top; position: relative; top: 1px; }
.preco s { color: var(--texto-3); font-size: 12px; }
.preco .conferir { color: var(--texto-2); font-size: 13px; font-weight: 500; }
.card .rodape-card {
  grid-area: rodape; display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--borda-card); padding: 8px 12px;
  position: relative; z-index: 1;
}
.acao-texto { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--texto-3); font-weight: 400; padding: 6px 4px; border-radius: var(--r-md); }
.acao-texto:hover { color: var(--texto); }
.acao-texto svg { width: 16px; height: 16px; }
.acao-texto.zap svg { color: var(--verde-zap-escuro); }
.pilula {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 6px 12px; border-radius: var(--r-xxl);
  border: 1px solid var(--borda-card); background: var(--cartao); font-size: 13px; font-weight: 700; color: var(--vermelho); white-space: nowrap;
  transition: transform .18s, border-color .2s, background .2s;
}
.pilula:hover { border-color: var(--vermelho); background: var(--vermelho-clarinho); }
.pilula:active { transform: scale(.95); }
.pilula svg { width: 16px; height: 16px; }
.card:hover .pilula svg { animation: setaX 1.2s infinite; }
@keyframes setaX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.card .link-card { position: absolute; inset: 0; z-index: 0; border-radius: inherit; padding: 0; }
.card .loja-linha, .card h3, .card .etiquetas, .card .preco { position: relative; z-index: 0; pointer-events: none; }

/* Lista: o card do Pechinchou no celular (foto à esquerda) */
.lista.em-lista { grid-template-columns: minmax(0, 1fr); }
.lista.em-lista .card {
  grid-template-columns: 136px minmax(0, 1fr); padding-top: 14px;
  grid-template-areas: "loja loja" "foto titulo" "foto etiquetas" "foto preco" "rodape rodape";
  grid-template-rows: auto auto auto 1fr auto;
}
.lista.em-lista .card .divisor { display: none; }
.lista.em-lista .card .loja-linha { margin: 0 0 10px; }
.lista.em-lista .card .foto { height: 120px; margin: 0 0 14px 16px; }
.lista.em-lista .card h3 { margin-top: 0; min-height: 0; font-size: 15px; line-height: 19px; }
.lista.em-lista .card .preco { padding-bottom: 14px; margin-top: 8px; }
@media (min-width: 641px) {
  .lista.em-lista .card { grid-template-columns: 186px minmax(0, 1fr); }
  .lista.em-lista .card .foto { height: 170px; }
}
.acao-texto.copiar span { display: none; }   /* copiar: só o ícone (cabe no card de 200 px) */
@media (max-width: 360px) { .acao-texto span { display: none; } }

.carregando { display: flex; justify-content: center; padding: 24px; color: var(--texto-3); font-size: 14px; gap: 10px; align-items: center; }
.giro { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--borda); border-top-color: var(--vermelho); animation: girar .8s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.vazio { grid-column: 1 / -1; background: var(--cartao); border: 1px solid var(--borda-card); border-radius: var(--r-md); padding: 40px 20px; text-align: center; color: var(--texto-2); }
.vazio b { display: block; color: var(--texto); font-size: 18px; margin-bottom: 6px; }

/* ---------- 6. Coluna lateral ---------- */
.lateral { position: sticky; top: calc(var(--topo-h) + 16px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
@media (max-width: 1099px) { .lateral { display: none; } }
.bloco { background: var(--cartao); border-radius: var(--r-md); border: 1px solid var(--borda-card); padding: 16px; }
.bloco h2 { margin: 0 0 12px; font-size: 15px; }
.passos { display: grid; gap: 10px; margin: 12px 0; }
.passo { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--texto-2); }
.passo b { width: 26px; height: 26px; border-radius: 50%; background: var(--chip); color: var(--texto); display: grid; place-items: center; flex: none; font-size: 13px; }
.zap-caixa { display: grid; grid-template-columns: 1fr 86px; gap: 10px; align-items: center; }
.qr { width: 86px; height: 86px; border-radius: var(--r-md); border: 1px solid var(--borda); background: #fff; padding: 4px; display: grid; place-items: center; }
.qr img, .qr svg { width: 100%; height: 100%; }
.bloco .sub { font-size: 13px; color: var(--texto-2); margin: 0; }
.bloco .acima { text-align: center; font-size: 12px; color: var(--texto-3); margin: 10px 0 6px; }
.rede { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--texto-2); }
.rede .ig { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); color: #fff; display: grid; place-items: center; flex: none; }
.rede a { font-weight: 700; color: var(--texto); }
.btn-rodape { width: 100%; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px; color: var(--texto-3); font-size: 13px; border-radius: var(--r-lg); }
.btn-rodape:hover { color: var(--texto); background: var(--cartao); }
.btn-rodape svg { animation: setaY 1.5s infinite; }
@keyframes setaY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ---------- Stories: bolinhas ---------- */
.stories-titulo { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 8px 4px; }
.stories::-webkit-scrollbar { display: none; }
.stories-celular { display: none; padding: 14px 16px 2px; }
@media (max-width: 640px) { .stories-celular { display: block; } }
.bola { min-width: 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--texto-2); }
.bola .anel { width: min(60px, 100%); aspect-ratio: 1; height: auto; flex: none; position: relative; display: grid; place-items: center; transition: transform .2s; }
.bola:hover .anel { transform: scale(1.06); }
.bola .anel svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 14s linear infinite; }
.bola .anel circle { fill: none; stroke: var(--vermelho); stroke-width: 2.5; stroke-dasharray: 12 4; stroke-linecap: round; }
.bola.vista .anel circle { stroke: var(--borda); stroke-dasharray: none; }
.bola.vista .anel svg { animation: none; }
.bola .anel img, .bola .anel .capa-txt { width: 84%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--vermelho-clarinho); }
.bola .anel .capa-txt { display: grid; place-items: center; font-size: 22px; }
.bola > span:last-child { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }

/* ---------- Stories: visualizador (tela cheia) ---------- */
.story-tela {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.96); display: flex; align-items: center; justify-content: center;
  animation: aparecer .25s ease both;
}
.story-tela[hidden] { display: none; }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
.story-palco { position: relative; height: min(100dvh, 860px); aspect-ratio: 9 / 16; max-width: 100vw; background: #000; overflow: hidden; }
@media (min-width: 640px) { .story-palco { border-radius: 14px; height: min(92dvh, 860px); } }
.story-palco img, .story-palco .story-cartao { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: aparecer .3s ease both; }
/* degradê escuro no topo: título, barras e X (brancos) ficam legíveis sobre cartões e artes claras */
.story-palco::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 110px; z-index: 2; pointer-events: none; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }
.story-barras { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3; display: flex; gap: 4px; }
.story-barras div { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.story-barras div i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.story-barras div.feita i { transform: scaleX(1); }
.story-barras div.atual i { animation: encher var(--dur, 5s) linear forwards; }
.story-tela.pausado .story-barras div.atual i { animation-play-state: paused; }
@keyframes encher { to { transform: scaleX(1); } }
.story-cabeca { position: absolute; top: 22px; left: 12px; right: 12px; z-index: 3; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.story-cabeca img { position: static; width: 30px; height: 30px; border-radius: 50%; animation: none; }
.story-cabeca .fechar { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; }
.story-toque { position: absolute; top: 70px; bottom: 90px; z-index: 2; width: 40%; }
.story-toque.esq { left: 0; } .story-toque.dir { right: 0; width: 60%; }
.story-link { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 3; animation: setaY 1.5s infinite; }
.story-seta { position: absolute; top: 50%; z-index: 101; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); color: #111; display: grid; place-items: center; transform: translateY(-50%); }
.story-seta.esq { left: calc(50% - min(46dvh, 430px) * 9 / 16 - 64px); }
.story-seta.dir { right: calc(50% - min(46dvh, 430px) * 9 / 16 - 64px); }
@media (max-width: 640px) { .story-seta { display: none; } }
.story-cartao { display: flex; flex-direction: column; justify-content: center; padding: 40px 28px; color: #fff; background: radial-gradient(circle at 80% 10%, var(--vermelho) 0 22%, transparent 22.2%), radial-gradient(circle at 0% 100%, var(--vermelho) 0 26%, transparent 26.2%), #141414; }
.story-cartao .tag { align-self: flex-start; background: var(--vermelho); padding: 4px 10px; font-weight: 700; font-size: 14px; text-transform: uppercase; margin-bottom: 16px; }
.story-cartao h4 { font-size: 34px; line-height: 1.05; margin: 0 0 12px; letter-spacing: -1px; }
.story-cartao p { font-size: 17px; margin: 0; opacity: .9; }

/* ---------- 7. Botão flutuante + gaveta ---------- */
.flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 10px; }
.flutuante .balao { background: var(--cartao); color: var(--texto); font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: var(--r-lg); box-shadow: var(--sombra-2); animation: aparecer .4s ease both 1.2s; }
.flutuante .redondo { width: 56px; height: 56px; border-radius: 50%; background: var(--vermelho); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(228,50,43,.45); transition: transform .2s; }
.flutuante .redondo:hover { transform: scale(1.06) rotate(8deg); }
@media (max-width: 640px) { .flutuante .balao { display: none; } }
.fundo-escuro { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 80; animation: aparecer .2s both; }
.fundo-escuro[hidden], .gaveta[hidden] { display: none; }
.gaveta {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; max-height: 85dvh; overflow: auto; background: var(--cartao);
  border-radius: 22px 22px 0 0; padding: 10px 18px 24px; animation: gavetaSobe .35s cubic-bezier(.2,.8,.2,1) both; box-shadow: var(--sombra-2);
}
@media (min-width: 720px) { .gaveta { left: auto; right: 18px; bottom: 86px; width: 380px; border-radius: 22px; } }
@keyframes gavetaSobe { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.gaveta .alca { width: 40px; height: 4px; border-radius: 4px; background: var(--borda); margin: 0 auto 14px; }
.gaveta h2 { font-size: 18px; margin: 0 0 4px; }
.gaveta p { margin: 0 0 14px; color: var(--texto-2); font-size: 14px; }
.grade-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.grade-cat button { background: var(--chip); border-radius: var(--r-lg); padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; transition: transform .18s, background .2s; }
.grade-cat button:hover { background: var(--vermelho-clarinho); transform: translateY(-2px); }
.grade-cat .emo { font-size: 24px; }
.gaveta .filtro-linha { margin: 12px 0; }
.gaveta .filtro-linha label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.gaveta input[type=range] { width: 100%; accent-color: var(--vermelho); }
.gaveta .valor { float: right; color: var(--vermelho); }

/* ---------- 8. Rodapé recolhível ---------- */
.rodape { background: var(--faixa); color: #cfd3d6; font-size: 13px; overflow: hidden; }
.rodape .dentro { max-width: 1240px; margin: 0 auto; padding: 28px 16px 90px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.rodape h3 { color: #fff; font-size: 14px; margin: 0 0 10px; }
.rodape a { display: block; padding: 3px 0; color: #cfd3d6; }
.rodape a:hover { color: #fff; }
.rodape .aviso { grid-column: 1 / -1; border-top: 1px solid #2a2a2a; padding-top: 16px; color: #9aa0a4; line-height: 1.6; }
.rodape .aviso b { color: #fff; }
.rodape.recolhido { max-height: 0; }
.rodape.abrindo { animation: rodapeAbre .6s ease both; }
@keyframes rodapeAbre { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- 9. Aviso #publi (fino, sem bloquear) ---------- */
.publi { font-size: 12px; color: var(--texto-2); margin: 0; padding: 0; }
.apresenta p.publi { margin: 0; font-size: 12px; color: var(--texto-2); }
.publi b { color: var(--texto); }

/* Frase obrigatória da Amazon (Contrato 5): em destaque, perto do botão "Ir à Amazon" (revisor 31/10) */
.pp-frase-amazon { margin: 8px 0 12px; padding: 10px 12px; border-left: 4px solid #FF9900; border-radius: 6px; background: #fff7e6; color: var(--texto); font-size: 15px; font-weight: 600; line-height: 1.35; }
.pp-publi { margin: 10px 0 0; }
.fixo-preco { display: flex; flex-direction: column; line-height: 1.2; }
.fixo-preco .publi { font-size: 12px; }
.pp-preco-data { margin: 4px 0 0; font-size: 12px; color: var(--texto-2); }

/* ---------- Página do produto ----------
   Medidas da página de oferta do Pechinchou (08/10/2026, 1200 px): fundo #F7F5F5, margem de 24 px, cartão
   branco com cantos de 12 px e borda fina, 24 px por dentro, duas colunas iguais com 24 px entre elas. */
.selo { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: var(--texto); }
.selo i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--chip); font-style: normal; }
.selo svg { width: 14px; height: 14px; fill: none; stroke: currentColor; }
.selo.quente { color: var(--vermelho); }
.selo.quente i { background: var(--vermelho-claro); }

.produto-pagina { background: var(--fundo-pagina); min-height: 70vh; }
.produto-pagina .dentro { max-width: 1366px; margin: 0 auto; padding: 24px 24px 48px; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .produto-pagina .dentro { padding: 0 0 100px; gap: 12px; } }

.pp-principal, .pp-bloco { background: var(--cartao); border: 1px solid var(--borda-card); border-radius: var(--r-lg); }
@media (max-width: 640px) { .pp-principal, .pp-bloco { border-radius: 0; border-width: 0 0 1px; } }
.pp-principal { padding: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .pp-principal { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .pp-principal { padding: 16px; } }

/* foto com a faixa escura em cima */
.pp-midia { border: 1px solid var(--borda-card); border-radius: var(--r-lg); overflow: hidden; }
.pp-faixa { background: var(--faixa); display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-size: 12px; flex-wrap: wrap; }
.pp-faixa strong { color: #fff; font-weight: 700; }
.pp-faixa > span:last-child { color: #B8B5B7; }
.pp-barra { width: 192px; max-width: 30%; height: 6px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.pp-barra i { display: block; height: 100%; width: var(--ate); border-radius: inherit; background: linear-gradient(90deg, #00A650, #3B82F6 50%, #FFAD0D 80%, var(--vermelho)); background-size: 192px 100%; animation: reguaEnche 1.2s cubic-bezier(.2,.8,.2,1) both .2s; }
@keyframes reguaEnche { from { width: 0; } }
.pp-sem-foto { width: 240px; height: 240px; font-size: 96px; }
.pp-foto { height: 268px; background: #fff; display: grid; place-items: center; position: relative; }
.pp-foto img { width: 240px; height: 240px; object-fit: contain; border-radius: var(--r-md); animation: aparecer .4s both; }
@media (max-width: 640px) { .pp-foto { height: 300px; } .pp-foto img { width: 280px; height: 280px; } }

.pp-titulo-linha { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; }
.pp-titulo-linha h1 { flex: 1; margin: 0; font-size: 20px; line-height: 29px; font-weight: 700; color: var(--texto); }
.pp-preco { margin-top: 10px; }
.pp-preco .atual { font-size: 30px; line-height: 32px; }
.pp-preco .atual small { font-size: 20px; }
.pp-preco s { font-size: 14px; }

.pp-loja-linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.pp-loja { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pp-loja .logo-loja, .pp-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.pp-loja .logo-loja { font-size: 13px; }
.pp-loja small { display: block; font-size: 12px; color: var(--texto-3); line-height: 14px; }
.pp-loja b { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--texto); line-height: 16px; }
.pp-loja b svg { width: 14px !important; height: 14px !important; }
.pp-ir {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 224px; height: 40px; padding: 12px 16px;
  border-radius: 18px; background: var(--vermelho); color: #fff; font-size: 14px; font-weight: 700; transition: background .2s, transform .18s;
}
.pp-ir:hover { background: var(--vermelho-escuro); }
.pp-ir:active { transform: scale(.97); }
.pp-ir svg { width: 16px; height: 16px; }
@media (max-width: 640px) { .pp-ir { width: 100%; height: 46px; font-size: 15px; } }

.pp-div { display: block; height: 1px; background: var(--borda-card); margin: 24px 0 16px; }
.pp-acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pp-pilula {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--borda-card);
  background: var(--cartao); font-size: 14px; font-weight: 700; color: var(--texto); transition: border-color .2s, transform .18s;
}
.pp-pilula:hover { border-color: var(--texto-3); }
.pp-pilula:active { transform: scale(.96); }
.pp-pilula svg { width: 18px; height: 18px; }
.pp-pilula.zap svg { color: var(--verde-zap-escuro); }
.pp-pilula.pp-direita { margin-left: auto; }
@media (max-width: 400px) { .pp-pilula span { display: none; } }

/* coluna direita: por que vale + compartilhar (no lugar dos comentários deles) */
.pp-dir { display: flex; flex-direction: column; gap: 16px; min-height: 100%; }
.pp-dir-titulo { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--texto); }
.pp-dir-titulo svg { width: 16px; height: 16px; fill: var(--vermelho); stroke: var(--vermelho); }
.pp-motivos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pp-motivos li { display: flex; gap: 10px; align-items: flex-start; animation: subir .45s cubic-bezier(.2,.8,.2,1) both; }
.pp-motivos li:nth-child(2) { animation-delay: .08s; } .pp-motivos li:nth-child(3) { animation-delay: .16s; }
.pp-motivos li:nth-child(4) { animation-delay: .24s; } .pp-motivos li:nth-child(5) { animation-delay: .32s; }
.pp-emo { width: 32px; height: 32px; border-radius: 50%; background: var(--vermelho-clarinho); display: grid; place-items: center; flex: none; font-size: 15px; }
.pp-motivos p { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--texto-2); }
.pp-motivos p b { color: var(--texto); }
.pp-caixa { margin-top: auto; border: 1px solid var(--borda-card); border-radius: 16px; padding: 12px 16px; }
.pp-caixa p { margin: 0 0 10px; font-size: 14px; color: var(--texto-3); }
.pp-sugestoes { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-sugestoes a, .pp-sugestoes button {
  display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 12px; background: var(--vermelho-clarinho); color: var(--texto);
  font-size: 12px; font-weight: 700; transition: background .2s, transform .18s;
}
.pp-sugestoes a:hover, .pp-sugestoes button:hover { background: var(--vermelho-claro); }
:root[data-tema="escuro"] .pp-sugestoes a, :root[data-tema="escuro"] .pp-sugestoes button { background: var(--chip); color: var(--texto); }


/* "Selecionado por" + detalhes + foto grande */
.pp-postado { padding: 16px 24px 24px; }
.pp-postado-topo { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-avatar { object-fit: cover; }
.pp-verificada { font-size: 12px; color: var(--texto-2); }
.pp-verificada b { color: var(--verde); }
.pp-div-cheia { margin: 16px -24px; }
.pp-detalhes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-detalhes li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--texto); }
:root[data-tema="escuro"] .pp-detalhes li { color: var(--texto-2); }
.pp-detalhes li > span { width: 16px; flex: none; font-size: 14px; line-height: 18px; }
.pp-detalhes p { margin: 0; line-height: 18px; }
.pp-detalhes strong { color: var(--texto); }
.pp-foto-real { display: flex; gap: 8px; align-items: center; margin: 22px 0 14px; font-size: 14px; color: var(--texto); }
.pp-foto-real b { font-weight: 400; }
.pp-foto-grande { width: 100%; max-width: 511px; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--borda-card); }

/* Explore + Promos: os mesmos cards da página inicial, num trilho que desliza */
.pp-explore { padding: 24px 0 24px 24px; }
.pp-explore-topo { display: flex; align-items: baseline; gap: 8px; padding-right: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.pp-explore-topo h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--texto); }
.pp-explore-topo > span { font-size: 12px; font-weight: 500; color: var(--texto-3); }
.pp-explore-topo a { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; color: var(--vermelho); }
.pp-explore-topo a svg { width: 14px; height: 14px; }
.pp-trilho { display: grid; grid-auto-flow: column; grid-auto-columns: 217px; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 24px 8px 0; scrollbar-width: thin; }
.pp-trilho .card { scroll-snap-align: start; }
@media (max-width: 640px) {
  .pp-explore { padding: 16px 0 16px 16px; }
  .pp-trilho { grid-auto-columns: 204px; }
  /* card mais estreito: o rodapé (Mandar, copiar, Pegar) ficava apertado e o preço subia quando o riscado quebrava de linha */
  .pp-trilho .card .rodape-card { padding: 8px; gap: 2px; }
  .pp-trilho .pilula { padding: 6px 10px; }
  .pp-trilho .card .preco { min-height: 50px; align-content: flex-start; }
}

/* botão de compra fixo no celular */
.comprar-fixo { display: none; }
@media (max-width: 640px) {
  .comprar-fixo { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--cartao); box-shadow: 0 -4px 20px rgba(0,0,0,.08); gap: 12px; align-items: center; animation: gavetaSobe .4s both .3s; }
  .comprar-fixo .preco .atual { font-size: 22px; }
  .comprar-fixo .pp-ir { flex: 1; width: auto; }
}

/* toast */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--texto); color: var(--fundo); padding: 10px 16px; border-radius: var(--r-pilula); font-size: 14px; font-weight: 500; z-index: 120; animation: gavetaSobe .3s both; }

/* acessibilidade: quem pede menos movimento vê o site parado */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card .foto img { visibility: visible; }
  .story-barras div.atual i { transform: scaleX(.5); }
}
:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 2px; }

/* celular bem estreito: tudo um pouco menor para a logo, a busca, as redes e o tema caberem na mesma linha */
@media (max-width: 380px) {
  .topo .dentro { gap: 6px; padding: 0 10px; }
  .acoes { gap: 5px; }
  .marca { font-size: 18px; gap: 6px; }
  .marca img { width: 30px; height: 30px; border-radius: 8px; }
  .topo .btn-tema { width: 34px; height: 34px; }
  .redes-topo .rede-bola { width: 32px; height: 32px; }
}

/* "Procurando outra coisa?": link de afiliado da busca na Shopee */
.busca-shopee{margin:18px auto 6px;max-width:420px;text-align:center;font-size:15px;line-height:1.5}
.busca-shopee .btn{margin:10px 0 6px}
.busca-shopee .publi-mini{display:block;font-size:12px;opacity:.7}
.fim-lista:empty{display:none}
