/* ============================================================================
   Tema "Casa da Gente" v6 — página de produto no estilo MALVA / Absortti.
   Carregado depois do CSS do Tailwind. Fica fora de @layer, então vence as
   utilities quando mira o mesmo elemento.
   Classes "pp-*": página nova (tema/pagina-produto.js)
   Classes "cdg-*": telas antigas que continuam em uso (checkout, PIX)
   ========================================================================== */

:root {
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --pp-bg: #f5f7f8;
  --pp-card: #ffffff;
  --pp-line: #dae5e6;
  --pp-line-2: #e9f0f1;
  --pp-ink: #10252a;
  --pp-ink-2: #2a4146;
  --pp-muted: #52686c;
  --pp-accent: #0e746f;
  --pp-accent-600: #0a5d59;
  --pp-accent-soft: #e7f7f6;
  --pp-accent-line: #b4e6e2;
  --pp-dark: #10252a;
  --pp-green: #0f7a53;
  --pp-gold: #42c8c0;          /* teal claro da marca */
  --pp-star: #ffb400;          /* amarelo padrão das estrelas das avaliações */
  --pp-green-soft: #e6f4ed;
  --pp-radius: 18px;

  /* Animações: uma duração e um easing para o site inteiro */
  --pp-header-h: 58px;

  /* Camadas (z-index) do site — sempre usar estas variáveis
     header < barra fixa < botão flutuante < gavetas/overlay < janelas < avisos */
  --z-header: 40;
  --z-sticky: 45;
  --z-flutuante: 46;
  --z-gaveta: 80;
  --z-modal: 90;
  --z-toast: 100;
  --pp-dur: 300ms;
  --pp-dur-rapida: 170ms;
  --pp-ease: cubic-bezier(.22, 1, .36, 1);
  --pp-shadow: 0 1px 2px rgba(16, 37, 42, .04), 0 8px 24px -16px rgba(16, 37, 42, .18);
}

html,
body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.pp-lock { overflow: hidden; }
::selection { background: var(--pp-accent-soft); color: var(--pp-ink); }

/* ---------- Base da página ---------- */
.pp-page {
  background: var(--pp-bg);
  color: var(--pp-ink);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
  /* Saída suave ao ir para o checkout (a classe é posta no clique do botão). */
  transition: opacity 120ms linear;
  /* Entrada suave de cada tela (produto e checkout usam .pp-page). "backwards"
     só vale durante a animação, então não trava a opacidade da saída. */
  animation: pp-fade 180ms ease-out backwards;
}
.pp-page.is-saindo { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .pp-page { transition: none; }
  .pp-page.is-saindo { opacity: 1; }
}
:where(.pp-page, .pp-header) button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:where(.pp-page) img { display: block; max-width: 100%; }
.pp-ico { width: 20px; height: 20px; flex-shrink: 0; }

.pp-main {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 8px;
}
.pp-main > section { scroll-margin-top: 76px; }

.pp-card {
  background: var(--pp-card);
  border: 1px solid var(--pp-line);
  border-radius: var(--pp-radius);
  box-shadow: var(--pp-shadow);
}

.pp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pp-muted);
  margin: 0 0 6px;
}
.pp-eyebrow.is-accent { color: var(--pp-accent); }

.pp-h2 {
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
.pp-sub { color: var(--pp-muted); font-size: 14px; margin: 8px 0 0; }
.pp-text { color: var(--pp-ink-2); font-size: 15px; line-height: 1.65; margin: 12px 0 0; }

.pp-sec { padding: 36px 16px 0; }
.pp-sec-head { margin-bottom: 16px; }
.pp-sec-head.is-center { text-align: center; }
/* Ícone solto (sem fundo) acima do título da seção */
.pp-sec-ico { display: flex; justify-content: center; color: var(--pp-accent); margin-bottom: 6px; }
.pp-sec-ico .pp-ico { width: 18px; height: 18px; }
/* Barrinha vertical na cor da marca à esquerda do título da seção, só nos títulos
   alinhados à esquerda (acompanha a altura do título quando ele quebra em duas linhas) */
.pp-sec-head:not(.is-center) .pp-h2 { display: flex; align-items: center; gap: 10px; }
.pp-sec-head:not(.is-center) .pp-h2::before {
  content: "";
  flex: 0 0 4px;
  align-self: stretch;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--pp-gold), var(--pp-accent));
}

.pp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--pp-green-soft);
  color: var(--pp-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.pp-chip .pp-ico { width: 13px; height: 13px; }

.pp-stars { display: inline-flex; gap: 1px; color: var(--pp-star); }
.pp-stars .is-empty { color: #d0dcdd; }
.pp-stars-sm .pp-ico { width: 15px; height: 15px; }
.pp-stars-md .pp-ico { width: 20px; height: 20px; }

.pp-off {
  display: inline-block;
  background: #dc2626; /* vermelho de desconto */
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .02em;
}

/* ---------- Botão principal ---------- */
.pp-page .pp-cta,
.pp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 14px;
  /* Teal vivo (mais saturado que o da marca) em degradê, com brilho colorido:
     o botão precisa saltar da página, não se misturar a ela. */
  background: linear-gradient(180deg, #14b3a8 0%, #0c9187 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .005em;
  text-shadow: 0 1px 1px rgba(6, 70, 66, .35);
  box-shadow: 0 14px 28px -12px rgba(20, 179, 168, .75), inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -2px 0 rgba(6, 90, 84, .35);
  transition: filter .15s ease, transform .12s ease;
}
.pp-cta:hover { filter: brightness(1.08) saturate(1.1); }
.pp-cta:active { transform: scale(.985); }
.pp-cta:disabled { background: #9fd3cf; box-shadow: none; text-shadow: none; filter: none; cursor: default; }
.pp-cta .pp-ico { width: 20px; height: 20px; }

/* Brilho que atravessa o botão de tempos em tempos (só nos 4 CTAs principais:
   Adicionar ao carrinho, Adicionar, Finalizar compra e o botão de pagamento).
   Passa em ~0,9s e volta a cada 4s. */
.pp-brilho { position: relative; overflow: hidden; }
.pp-brilho::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-130%);
  /* linear: a faixa atravessa em velocidade constante */
  animation: pp-brilho 4s linear infinite;
}
@keyframes pp-brilho {
  0% { transform: translateX(-130%); }
  22% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}
@media (prefers-reduced-motion: reduce) { .pp-brilho::after { animation: none; opacity: 0; } }

.pp-link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-ink-2);
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--pp-line);
}

/* ---------- Faixa de avisos (topo) ---------- */
.pp-promo {
  /* Faixa na cor da marca (teal escuro), texto branco. */
  background: var(--pp-accent);
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  color: #fff;
}
.pp-promo-track {
  display: flex;
  width: max-content;
  animation: pp-marquee 28s linear infinite;
}
.pp-promo:hover .pp-promo-track { animation-play-state: paused; }
.pp-promo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* Faixa baixa de propósito: ela não pode disputar altura com o header. */
  padding: 6px 20px;
  line-height: 1.3;
  position: relative;
}
.pp-promo-item::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 3px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .3);
}
/* Ícones na mesma cor do texto. */
.pp-promo-item .pp-ico { width: 13px; height: 13px; color: currentColor; }
@keyframes pp-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pp-promo-track { animation: none; } }

/* ---------- Header ----------
   No topo: vidro fosco, sem traço, o logo "solto" sobre a página.
   Depois de rolar (classe is-rolado, ver PpHeaderShell): fundo mais sólido,
   fio fino e uma sombra baixa, para separar do conteúdo. */
.pp-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pp-header.is-rolado {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--pp-line);
  box-shadow: 0 8px 22px -16px rgba(16, 37, 42, .55);
}
.pp-header-in {
  max-width: 480px;
  margin: 0 auto;
  height: var(--pp-header-h);
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
/* Sem o menu de 3 barras, o logo é o primeiro item: alinhado com o conteúdo
   da página (16px da borda = 10px do header + 6px aqui). */
.pp-header-in .pp-logo { margin-right: auto; margin-left: 6px; }
.pp-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--pp-ink);
  transition: background-color .15s ease;
}
.pp-icon-btn:hover { background: var(--pp-line-2); }
.pp-icon-btn .pp-ico { width: 23px; height: 23px; }


.pp-logo { display: inline-flex; align-items: center; gap: 9px; text-align: left; }
.pp-logo-img { display: block; height: 36px; width: auto; max-width: 100%; }
.cdg-logo-img { display: block; height: 30px; width: auto; }
.pp-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--pp-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pp-logo-mark .pp-ico { width: 19px; height: 19px; }
.pp-logo-txt { display: flex; flex-direction: column; line-height: 1; }
.pp-logo-txt strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--pp-ink); }
.pp-logo-txt small {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pp-muted);
}

/* ---------- Galeria ---------- */
.pp-gallery { padding: 14px 16px 0; }
.pp-gallery-stage {
  --zx: 50%;
  --zy: 50%;
  position: relative;
  border-radius: var(--pp-radius);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  cursor: zoom-in;
}
/* Todas as fotos empilhadas: a atual aparece com dissolve (como no vídeo de referência). */
.pp-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transform-origin: var(--zx) var(--zy);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
}
.pp-gallery-img.is-on { opacity: 1; }
.pp-gallery-stage.is-zoom .pp-gallery-img { transform: scale(1.35); transition: opacity .45s ease, transform .3s cubic-bezier(.22, .61, .36, 1); }
@media (prefers-reduced-motion: reduce) {
  .pp-gallery-img { transition: opacity .2s linear; }
  .pp-gallery-stage.is-zoom .pp-gallery-img { transform: none; }
}

.pp-thumbs {
  position: relative;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 10px;
  padding-bottom: 2px;
}
.pp-thumbs::-webkit-scrollbar { display: none; }
.pp-thumb {
  flex: 0 0 62px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
.pp-thumb-img {
  position: relative;
  display: block;
  width: 62px;
  height: 62px;
  border-radius: 12px;
  overflow: hidden;
  opacity: .78;
  transition: opacity .2s ease, transform .2s ease;
}
.pp-thumb-img > img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pp-thumb-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .2s ease;
  pointer-events: none;
}
.pp-thumb:hover .pp-thumb-img { opacity: 1; transform: translateY(-2px); }
.pp-thumb:hover .pp-thumb-img > img { transform: scale(1.08); }
.pp-thumb.is-on .pp-thumb-img { opacity: 1; }
.pp-thumb.is-on .pp-thumb-img::after { box-shadow: inset 0 0 0 2px var(--pp-accent); }
.pp-thumb-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  min-height: 2.5em;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  color: var(--pp-muted);
}
/* A cor escolhida só fica mais escura: o negrito ficava pesado demais. */
.pp-thumb.is-on .pp-thumb-name { color: var(--pp-ink); }

/* ---------- Bloco de compra ---------- */
.pp-buy { margin: 16px 16px 0; padding: 20px 18px 18px; }
.pp-buy .pp-chip { margin-bottom: 14px; }
.pp-title {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
/* Estrelas acima do nome do produto (botão: leva às avaliações) */
.pp-page .pp-rating { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 0; font-size: 13px; color: var(--pp-muted); cursor: pointer; }
.pp-rating:hover span:last-child { text-decoration: underline; text-underline-offset: 2px; }
.pp-rating strong { color: var(--pp-ink); font-weight: 800; }
.pp-lead { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; margin: 16px 0 10px; }
.pp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pp-checks li { display: flex; gap: 10px; font-size: 14px; color: var(--pp-ink-2); line-height: 1.45; }
.pp-checks .pp-ico { width: 18px; height: 18px; color: var(--pp-accent); margin-top: 1px; }

.pp-price {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f4f8f8;
  border: 1px solid var(--pp-line-2);
}
.pp-price-top { display: flex; align-items: center; gap: 8px; color: var(--pp-muted); font-size: 14px; }

/* Oferta relâmpago: faixa colada no topo da caixa de preço (PpOfertaRelampago) */
.pp-relampago {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px 14px 0 0;
  /* amarelo-âmbar do banco e das manoplas da moto; texto escuro para ler bem */
  background: linear-gradient(135deg, #f2b632 0%, #e49c0c 100%);
  color: #3a2308;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.pp-relampago.is-simples { padding: 11px 14px; }
.pp-relampago.is-simples .pp-relampago-txt { align-items: center; }
.pp-relampago + .pp-price { margin-top: 0; border-top: 0; border-radius: 0 0 14px 14px; }
.pp-relampago-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pp-relampago-selo { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #ffe9a8; }
.pp-relampago-selo .pp-ico { width: 13px; height: 13px; animation: pp-pisca 1.2s ease-in-out infinite; }
.pp-relampago-txt strong { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.pp-relampago-txt strong .pp-ico { width: 20px; height: 20px; flex-shrink: 0; }
.pp-relampago-txt strong { font-size: 15.5px; }
.pp-relampago-tempo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pp-relampago-rot { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.pp-relampago-caixas { display: flex; gap: 4px; }
.pp-relampago-caixa { min-width: 34px; padding: 4px 3px 3px; border-radius: 8px; background: rgba(255, 255, 255, .85); color: #3a2308; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.pp-relampago-caixa b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pp-relampago-caixa small { margin-top: 2px; font-size: 8.5px; font-weight: 600; text-transform: uppercase; opacity: .85; }
@keyframes pp-pisca { 50% { opacity: .35; } }
.pp-relampago-caixa { min-width: 40px; }

.pp-price-main { font-size: 36px; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-top: 2px; font-variant-numeric: tabular-nums; }
/* "no Pix" ao lado do preço promocional */
.pp-price-pix { margin-left: 8px; font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--pp-green); }
.pp-price-sub { color: var(--pp-ink-2) !important; font-weight: 600 !important; }
.pp-price-sub { margin: 4px 0 0; font-size: 13px; color: var(--pp-green); font-weight: 700; }

.pp-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f3f7f7;
  font-size: 13px;
  color: var(--pp-ink-2);
  line-height: 1.45;
}
.pp-note .pp-ico { width: 18px; height: 18px; color: var(--pp-muted); }

.pp-step { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 15px; font-weight: 800; }

/* Bolinha de seleção (formas de pagamento no checkout) */
.pp-radio {
  position: absolute;
  top: 15px;
  left: 11px;
  width: 16px;
  height: 16px;
  border-radius: 99px;
  border: 1.5px solid #bccbcd;
  background: #fff;
}
.pp-desc { padding: 18px; font-size: 14px; line-height: 1.65; color: var(--pp-ink-2); }
/* Descrição em tópicos (tema/produto.json: descricaoIntro + descricaoTopicos) */
.pp-desc-intro { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--pp-ink); }
.pp-desc-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-desc-lista li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.pp-desc-lista .pp-ico { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--pp-accent); }
/* Blocos extras da descrição (produto.descricaoBlocos) */
.pp-desc-bloco { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--pp-line); }
.pp-desc-bloco-titulo { margin: 0 0 12px; font-size: 15px; font-weight: 800; color: var(--pp-ink); }
.pp-desc-ficha { margin: 0; display: grid; gap: 0; }
.pp-desc-ficha > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--pp-line); font-size: 14px; }
.pp-desc-ficha > div:last-child { border-bottom: 0; }
.pp-desc-ficha dt { color: var(--pp-ink-2); }
.pp-desc-ficha dd { margin: 0; font-weight: 700; color: var(--pp-ink); text-align: right; }

/* Quantidade de jogos */
.pp-qty-step { margin-top: 18px; justify-content: space-between; }
.pp-qty { display: inline-flex; align-items: center; border: 1px solid var(--pp-line); border-radius: 99px; }
.pp-qty button { width: 42px; height: 40px; display: inline-flex !important; align-items: center; justify-content: center; }
.pp-qty button:disabled { opacity: .35; cursor: default; }
.pp-qty .pp-ico { width: 14px; height: 14px; }
.pp-qty span { min-width: 30px; text-align: center; font-size: 16px; font-weight: 800; }

/* Escolha de cor */
.pp-step-value { font-weight: 600; color: var(--pp-ink-2); }
.pp-color-row + .pp-color-row { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--pp-line); }
.pp-color-label { margin: 0 0 8px; font-size: 13.5px; font-weight: 800; }
/* Total logo acima do botão, quando há mais de um jogo */
.pp-total-linha { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin: 18px 0 -6px; font-size: 14px; color: var(--pp-ink-2); }
.pp-total-linha strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--pp-ink); }
.pp-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 6px; justify-items: center; }
.pp-swatch {
  width: 38px;
  height: 38px;
  border-radius: 99px;
  padding: 3px !important;
  border: 2px solid transparent !important;
  transition: border-color .15s ease, transform .12s ease;
}
.pp-swatch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}
.pp-swatch:hover { transform: scale(1.06); }
.pp-swatch.is-on { border-color: var(--pp-accent) !important; }



.pp-under-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--pp-muted);
}
.pp-under-cta .pp-ico { width: 15px; height: 15px; }

/* Uma fileira só, para não empurrar a página para baixo. As colunas não são
   iguais: cada rótulo recebe a largura de que precisa (por isso os números
   abaixo), e assim "Frete grátis" cabe em uma linha e "30 dias para devolver"
   não fica espremido entre os divisores. Mexeu nos textos dos selos? Confira
   aqui também. */
.pp-trust3 {
  display: grid;
  grid-template-columns: 53fr 69fr 74fr 71fr;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--pp-line-2);
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
  color: var(--pp-ink-2);
}
.pp-trust3 > div { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 7px; padding: 0 5px; }
.pp-trust3 > div + div { border-left: 1px solid var(--pp-line-2); }
.pp-trust3 .pp-ico { width: 20px; height: 20px; color: var(--pp-accent); }

.pp-pay { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--pp-muted); }
.pp-pay-chip { display: inline-flex; padding: 5px 9px; border: 1px solid var(--pp-line); border-radius: 8px; background: #fff; }
.pp-pay-chip img { height: 14px; width: auto; }

/* ---------- Seções escuras ---------- */
.pp-dark {
  background: var(--pp-dark);
  color: #fff;
  margin-top: 36px;
  padding: 40px 24px;
  text-align: center;
}
.pp-dark .pp-sub { color: #a9b5c8; }
.pp-stats .pp-h2 { font-size: 26px; }
.pp-stats-list { display: grid; gap: 22px; margin-top: 28px; }
.pp-stat strong { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--pp-gold); font-variant-numeric: tabular-nums; }
.pp-stat span { display: block; margin-top: 6px; font-size: 14px; color: #c9d2e1; }

.pp-video-frame {
  margin: 22px auto 0;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.pp-video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-video-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12px; color: #a9b5c8; }
.pp-video-hint .pp-ico { width: 12px; height: 12px; color: var(--pp-gold); }

/* Imagem de seção (infográfico, medidas) */
.pp-sec-img { margin: 0 0 12px; overflow: hidden; }
.pp-sec-img img { display: block; width: 100%; height: auto; }

/* ---------- Benefícios ---------- */
.pp-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-benefit {
  background: #fff;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  padding: 14px 13px 15px;
  box-shadow: var(--pp-shadow);
}
.pp-benefit-ico {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  background: var(--pp-accent-soft);
  color: var(--pp-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.pp-benefit-ico .pp-ico { width: 18px; height: 18px; }
.pp-benefit strong { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.pp-benefit p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--pp-muted); }
/* Texto de abertura e fotos inteiras, uma abaixo da outra */
.pp-ben-intro { margin: -4px 0 16px; text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--pp-ink-2); text-wrap: pretty; }
.pp-ben-fotos { display: grid; gap: 12px; margin-bottom: 12px; }
.pp-ben-fotos figure { margin: 0; overflow: hidden; }
.pp-ben-fotos img { width: 100%; height: auto; }

/* ---------- Na prática ---------- */
.pp-story { padding: 14px 14px 18px; }
.pp-story-img { position: relative; margin: 0 0 18px; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.pp-story-img img { width: 100%; height: 100%; object-fit: cover; }
.pp-story-img figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 99px;
}
.pp-story .pp-eyebrow,
.pp-story .pp-h2,
.pp-story .pp-text { padding: 0 4px; }
.pp-mini-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 16px; }
.pp-mini-trust span { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--pp-ink-2); background: #f4f8f8; border-radius: 12px; padding: 10px; }
.pp-mini-trust .pp-ico { width: 18px; height: 18px; color: var(--pp-accent); }

/* ---------- Peças ---------- */
.pp-pieces { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pp-piece { margin: 0; background: #fff; border: 1px solid var(--pp-line); border-radius: 14px; overflow: hidden; }
.pp-piece img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pp-piece .pp-piece-ico {
  display: flex;
  margin: 0;
  font-size: inherit;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 16 / 10;
  background: var(--pp-accent-soft);
  color: var(--pp-accent);
}
.pp-piece-ico .pp-ico { width: 30px; height: 30px; stroke-width: 1.75; }
.pp-piece-ico b { font-size: 13px; font-weight: 800; color: var(--pp-ink); letter-spacing: -.01em; }
.pp-piece figcaption { padding: 7px 8px 9px; line-height: 1.2; }
.pp-piece strong { display: block; font-size: 12px; font-weight: 800; }
.pp-piece span { display: block; font-size: 10.5px; color: var(--pp-muted); margin-top: 2px; }

/* ---------- Comparação ---------- */
.pp-compare { overflow: hidden; }
.pp-compare table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pp-compare th {
  padding: 13px 12px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pp-muted);
  border-bottom: 1px solid var(--pp-line);
}
.pp-compare th.is-us { color: var(--pp-accent); }
.pp-compare th:not(:first-child),
.pp-compare td:not(:first-child) { text-align: center; width: 76px; }
.pp-compare td { padding: 12px; border-bottom: 1px solid var(--pp-line-2); color: var(--pp-ink-2); line-height: 1.35; }
.pp-compare tr:last-child td { border-bottom: 0; }
.pp-compare td.is-us { background: #eef8f7; }
.pp-yes,
.pp-no { display: inline-flex; width: 22px; height: 22px; border-radius: 99px; align-items: center; justify-content: center; }
.pp-yes { background: var(--pp-green-soft); color: var(--pp-green); }
.pp-no { background: #fbe9e6; color: #c8412a; }
.pp-yes .pp-ico,
.pp-no .pp-ico { width: 13px; height: 13px; stroke-width: 3; }

/* ---------- Oferta ---------- */
.pp-offer { padding: 22px 18px 18px; text-align: center; }
.pp-offer-old { margin: 0; font-size: 14px; color: var(--pp-muted); }
.pp-offer-price { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 0 0; font-size: 38px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pp-offer-sub { margin: 6px 0 16px; font-size: 13px; color: var(--pp-green); font-weight: 700; }

/* ---------- Cuidados ---------- */
.pp-care { padding: 22px 18px; }
.pp-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; }
.pp-steps li { display: flex; gap: 14px; align-items: flex-start; }
.pp-steps-n {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 99px;
  background: var(--pp-accent-soft);
  color: var(--pp-accent);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pp-steps strong { display: block; font-size: 14.5px; font-weight: 800; }
.pp-steps p { margin: 2px 0 0; font-size: 13.5px; color: var(--pp-muted); line-height: 1.5; }

/* ---------- Avaliações ---------- */
.pp-score { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px; }
.pp-score-big { text-align: center; padding-right: 18px; border-right: 1px solid var(--pp-line-2); }
.pp-score-big strong { display: block; font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pp-score-big .pp-stars { display: inline-flex; margin-top: 6px; }
/* Sem as barras por estrela: só a nota, centralizada */
.pp-score-big:only-child { grid-column: 1 / -1; padding-right: 0; border-right: 0; }
.pp-score-big > span:last-child { display: block; margin-top: 6px; font-size: 11.5px; color: var(--pp-muted); }
.pp-bars { display: grid; gap: 6px; }
.pp-bar { display: grid; grid-template-columns: 22px 1fr 32px; align-items: center; gap: 8px; font-size: 11.5px; color: var(--pp-muted); }
.pp-bar span:last-child { text-align: right; }
.pp-bar-track { height: 7px; border-radius: 99px; background: var(--pp-line-2); overflow: hidden; }
.pp-bar-fill { height: 100%; border-radius: 99px; background: var(--pp-accent); }

.pp-review-media { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 0; padding: 0 16px; }
.pp-review-media::-webkit-scrollbar { display: none; }
.pp-review-thumb { position: relative; flex: 0 0 112px; height: 112px; border-radius: 14px; overflow: hidden; background: #ddd !important; }
.pp-review-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-review-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .28);
}
.pp-review-play .pp-ico { width: 34px; height: 34px; padding: 9px; box-sizing: border-box; border-radius: 99px; background: var(--pp-accent); color: #fff; }

.pp-review-list { display: grid; gap: 10px; margin: 14px 0 16px; }
.pp-review { padding: 16px; }
.pp-review header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pp-review header > div { flex: 1; min-width: 0; }
.pp-review header strong { display: block; font-size: 14px; font-weight: 800; }
.pp-review time { font-size: 11.5px; color: var(--pp-muted); align-self: flex-start; }
.pp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 99px;
  background: var(--pp-accent-soft);
  color: var(--pp-accent);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pp-verified { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--pp-green); }
.pp-verified .pp-ico { width: 13px; height: 13px; }
.pp-review p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--pp-ink-2); }
.pp-review-photos { display: flex; gap: 8px; margin-top: 10px; }
.pp-review-empty { padding: 20px 18px; text-align: center; }
.pp-review-empty p { margin: 8px 0 0; font-size: 14px; color: var(--pp-muted); }
.pp-review-photos { flex-wrap: wrap; }
.pp-review-photos img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.pp-review-photo { display: block; border-radius: 10px; overflow: hidden; }

.pp-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pp-lightbox img,
.pp-lightbox video { max-width: 100%; max-height: 86vh; border-radius: 16px; }
.pp-lightbox-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .15) !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Sanfonas (dúvidas frequentes) ---------- */


/* "Ficou com alguma dúvida?" — fecha a seção de perguntas */
.pp-pre { white-space: pre-line; }
.pp-box-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pp-box-list li { display: flex; align-items: center; gap: 10px; }
.pp-box-list .pp-ico { width: 16px; height: 16px; color: var(--pp-accent); }

/* ---------- Rodapé ---------- */

/* Janela das páginas institucionais */
.pp-info-wrap {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(16, 37, 42, .55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: pp-fade .2s ease;
}
.pp-info {
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  color: var(--pp-ink);
  border-radius: 20px 20px 0 0;
  padding: 6px 18px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
}
@media (min-width: 560px) {
  .pp-info-wrap { align-items: center; padding: 16px; }
  .pp-info { border-radius: 20px; }
}
.pp-info-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 6px; border-bottom: 1px solid var(--pp-line-2); }
.pp-info-head strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pp-info-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.pp-info-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--pp-ink-2); }
.pp-info-list .pp-ico { width: 16px; height: 16px; margin-top: 3px; color: var(--pp-accent); }
.pp-info-contato { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--pp-line-2); font-size: 12.5px; line-height: 1.6; color: var(--pp-muted); }
.pp-info-contato a { color: var(--pp-ink); font-weight: 700; }

/* Código do pedido (CDG-...) na tela de compra concluída */
.pp-codigo { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--pp-line); text-align: left; }
.pp-codigo-label { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-muted); }
.pp-codigo-linha { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.pp-codigo-linha strong { font-size: 19px; font-weight: 800; letter-spacing: .01em; color: var(--pp-ink); }
.pp-codigo-btn { padding: 7px 12px; border-radius: 9px; border: 1px solid var(--pp-line); background: var(--pp-bg); font-size: 12.5px; font-weight: 700; color: var(--pp-ink); cursor: pointer; }
.pp-codigo-btn:hover { background: var(--pp-line-2); }
.pp-codigo-ajuda { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--pp-muted); }
.pp-codigo-ajuda a { color: var(--pp-accent); font-weight: 700; }

/* Janela de erro no cartão/boleto */
.pp-erro-pag .pp-cta { margin-top: 16px; }
.pp-erro-txt { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--pp-ink-2); }
.pp-erro-motivo { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; border: 1px solid #f6c9c2; font-size: 12.5px; line-height: 1.5; color: #8c2f21; }

/* ---------- Barra fixa ---------- */
.pp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  background: #fff;
  border-top: 1px solid var(--pp-line);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .18);
  transform: translateY(110%);
  transition: transform .16s ease-out;
  padding-bottom: env(safe-area-inset-bottom);
}
.pp-sticky.is-on { transform: translateY(0); }
.pp-sticky-in { max-width: 480px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
/* Preço e, com mais de um jogo, a quantidade embaixo. "min-width: 0" continua
   aqui para o botão nunca ser empurrado para fora da tela. */
.pp-sticky-price { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.pp-sticky-price strong { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.pp-sticky-price span { margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--pp-muted); }
.pp-sticky .pp-cta { flex: 0 0 auto; width: 46%; min-width: 132px; max-width: 230px; margin-left: auto; min-height: 50px; font-size: 15px; padding: 0 12px; }

/* ---------- Gavetas (carrinho / menu) ---------- */

/* Header da loja: menu | logo centralizada | carrinho */
.pp-head-grid { flex: 1 1 auto; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; }
.pp-header-in .pp-head-grid .pp-logo { margin: 0 auto; }
.pp-menu-btn .pp-ico { width: 24px; height: 24px; }

/* Botão do carrinho no canto direito do header, com a quantidade */
.pp-cart-btn { flex: 0 0 auto; }
.pp-cart-badge {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 99px;
  border: 2px solid #fff;
  background: var(--pp-accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
  animation: pp-pulo .35s var(--pp-ease);
}
@keyframes pp-pulo { 0% { transform: scale(.4); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* Gaveta do carrinho: entra pela direita, com o fundo escurecendo junto */
.pp-gaveta-wrap {
  position: fixed;
  inset: 0;
  z-index: var(--z-gaveta);
  background: rgba(16, 37, 42, 0);
  visibility: hidden;
  transition: background-color var(--pp-dur) var(--pp-ease), visibility 0s linear var(--pp-dur);
}
.pp-gaveta-wrap.is-on {
  background: rgba(16, 37, 42, .55);
  visibility: visible;
  transition: background-color var(--pp-dur) var(--pp-ease), visibility 0s;
}
.pp-gaveta {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--pp-ink);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .22);
  transform: translateX(100%);
  transition: transform var(--pp-dur) var(--pp-ease);
}
.pp-gaveta-wrap.is-on .pp-gaveta { transform: none; }
/* Menu: a mesma gaveta, entrando pela esquerda */
.pp-gaveta.is-esq { right: auto; left: 0; width: min(340px, 86vw); transform: translateX(-100%); box-shadow: 12px 0 40px rgba(0, 0, 0, .22); }

/* ---------- Menu ---------- */
.pp-menu-logo { display: block; height: 30px; width: auto; }
.pp-menu-corpo { flex: 1 1 auto; overflow-y: auto; padding: 14px 10px 18px; }
.pp-menu-oficial { margin: 0 8px 10px; }
.pp-menu-titulo { margin: 18px 8px 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pp-muted); }
.pp-menu-nav { display: grid; }
.pp-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 8px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--pp-ink);
  text-align: left;
  text-decoration: none;
}
.pp-menu-item:hover { background: var(--pp-bg); }
.pp-menu-item > .pp-ico:first-child { width: 19px; height: 19px; color: var(--pp-accent); }
.pp-menu-item > span { flex: 1 1 auto; }
.pp-menu-item .pp-menu-seta { width: 16px; height: 16px; color: #bccbcd; }
.pp-menu-garantias { list-style: none; display: grid; gap: 10px; margin: 18px 8px 0; padding: 14px; border-radius: 14px; background: var(--pp-bg); }
.pp-menu-garantias li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--pp-ink-2); }
.pp-menu-garantias .pp-ico { width: 17px; height: 17px; color: var(--pp-green); }
.pp-menu-atendimento {
  flex: 0 0 auto;
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 4px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--pp-line-2);
}
.pp-menu-atendimento .pp-menu-titulo { margin: 12px 0 2px; }
.pp-menu-atendimento a,
.pp-menu-atendimento span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--pp-ink-2); text-decoration: none; }
.pp-menu-atendimento .pp-ico { width: 16px; height: 16px; color: var(--pp-muted); }
.pp-menu-atendimento .pp-ico-whats { color: #25d366; }

/* ---------- Sanfona (detalhes e dúvidas frequentes) ---------- */
.pp-acc { overflow: hidden; }
.pp-acc-item + .pp-acc-item { border-top: 1px solid var(--pp-line-2); }
.pp-acc-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  line-height: 1.35;
  text-align: left;
  color: var(--pp-ink);
}
.pp-acc-btn > span { flex: 1 1 auto; }
.pp-acc-ico { width: 19px; height: 19px; color: var(--pp-accent); }
.pp-acc-seta { width: 18px; height: 18px; color: var(--pp-muted); transition: transform var(--pp-dur) var(--pp-ease); }
.pp-acc-item.is-on .pp-acc-seta { transform: rotate(180deg); }
.pp-acc-painel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--pp-dur) var(--pp-ease); }
.pp-acc-item.is-on .pp-acc-painel { grid-template-rows: 1fr; }
.pp-acc-in { min-height: 0; overflow: hidden; padding: 0 18px; font-size: 14px; line-height: 1.6; color: var(--pp-ink-2); }
.pp-acc-item.is-on .pp-acc-in { padding-bottom: 18px; }
.pp-acc-txt { margin: 0; }
.pp-acc-nota { margin: 12px 0 0; font-size: 12.5px; color: var(--pp-muted); }
.pp-acc.is-faq .pp-acc-btn { font-size: 14px !important; font-weight: 700 !important; }

/* Oferta no meio da página */
.pp-offer .pp-offer-old { display: flex; align-items: center; justify-content: center; gap: 8px; }
/* Mesmas cores do bloco de compra do topo: "no Pix" verde, parcelamento em cinza */
.pp-offer-price small { font-size: 15px; font-weight: 700; letter-spacing: 0; color: var(--pp-green); }
.pp-offer .pp-offer-sub { color: var(--pp-ink-2); font-weight: 600; }
/* Brinde e contador: mesmo alinhamento do bloco de compra (texto à esquerda) */
.pp-offer .pp-brinde { margin-top: 0; text-align: left; }
.pp-offer .pp-brinde + .pp-cta { margin-top: 12px; }
.pp-offer .pp-mini-trust { margin-bottom: 0; text-align: left; }

/* "Ainda ficou com dúvida?" no fim das perguntas */
.pp-duvida { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 16px 18px; }
.pp-duvida > div { flex: 1 1 auto; min-width: 0; }
.pp-duvida strong { display: block; font-size: 14.5px; font-weight: 800; }
.pp-duvida p { margin: 2px 0 0; font-size: 12.5px; color: var(--pp-muted); }
.pp-duvida-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
}
.pp-duvida-btn .pp-ico { width: 17px; height: 17px; }
.pp-gaveta-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--pp-header-h);
  padding: 0 8px 0 18px;
  border-bottom: 1px solid var(--pp-line-2);
}
.pp-gaveta-head strong { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pp-gaveta-head strong span { color: var(--pp-muted); font-weight: 700; }

.pp-cart-lista { flex: 1 1 auto; overflow-y: auto; list-style: none; margin: 0; padding: 6px 18px; }
.pp-cart-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--pp-line-2); }
.pp-cart-item:last-child { border-bottom: 0; }
.pp-cart-foto { width: 72px; height: 72px; flex: 0 0 auto; object-fit: cover; border: 1px solid var(--pp-line); border-radius: 12px; background: #fff; }
.pp-cart-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pp-cart-nome { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--pp-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pp-cart-cor { font-size: 12px; color: var(--pp-muted); }
.pp-cart-linha { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.pp-qty-sm button { width: 34px; height: 32px; }
.pp-qty-sm span { min-width: 22px; font-size: 14px; }
.pp-cart-preco { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.pp-cart-preco s { font-size: 11.5px; color: var(--pp-muted); }
.pp-cart-preco strong { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.pp-cart-remover { width: 34px; height: 34px; margin: -4px -8px 0 0; color: var(--pp-muted); }
.pp-cart-remover .pp-ico { width: 18px; height: 18px; }
.pp-cart-remover:hover { color: var(--pp-accent-600); }

.pp-cart-rodape {
  flex: 0 0 auto;
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--pp-line);
  background: #fff;
  box-shadow: 0 -8px 24px -18px rgba(0, 0, 0, .25);
}
.pp-cart-aviso { margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: var(--pp-accent-soft); font-size: 12px; font-weight: 600; color: var(--pp-accent-600); }
.pp-cart-soma { display: flex; align-items: baseline; justify-content: space-between; font-size: 13.5px; color: var(--pp-ink-2); }
.pp-cart-soma + .pp-cart-soma { margin-top: 6px; }
.pp-cart-soma.is-total { margin-bottom: 14px; padding-top: 8px; border-top: 1px dashed var(--pp-line); font-size: 15px; font-weight: 700; color: var(--pp-ink); }
.pp-cart-soma.is-total strong { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.pp-cart-soma.is-total small { font-size: 12px; font-weight: 600; color: var(--pp-muted); }
.pp-cart-gratis { font-weight: 800; color: var(--pp-green); }
.pp-cart-continuar {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pp-ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pp-cart-vazio { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--pp-muted); }
.pp-cart-vazio > .pp-ico { width: 44px; height: 44px; color: var(--pp-line); stroke-width: 1.6; }
.pp-cart-vazio p { margin: 0; font-size: 15px; font-weight: 700; color: var(--pp-ink-2); }
.pp-cart-vazio .pp-cart-continuar { width: auto; }

/* Resumo do pedido no checkout: cabeçalho com o total e uma linha por jogo */
.pp-resumo-topo {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pp-line-2);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--pp-ink-2);
}
.pp-resumo-topo strong { font-size: 13.5px; font-weight: 800; color: var(--pp-ink); }
.pp-resumo-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-resumo-lista li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pp-resumo-foto {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--pp-line);
  border-radius: 9px;
}
.pp-resumo-txt { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; line-height: 1.3; }
/* Seletor de quantidade no "Seu pedido" do checkout */
.pp-resumo-lista li > .pp-qty { flex: 0 0 auto; margin-left: auto; background: #fff; }
.pp-resumo-qtd { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--pp-ink-2); }
.pp-resumo-txt strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pp-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-resumo-txt span { font-size: 12px; color: var(--pp-muted); }
/* Brinde no resumo do checkout */
.pp-resumo-brinde .pp-resumo-foto { display: inline-flex; align-items: center; justify-content: center; background: var(--pp-accent-soft); border-color: var(--pp-accent-line); color: var(--pp-accent); }
.pp-resumo-brinde .pp-resumo-foto .pp-ico { width: 20px; height: 20px; }
.pp-resumo-brinde .pp-resumo-txt span { color: var(--pp-green); font-weight: 700; }

/* Brinde acima do botão de compra */
.pp-brinde {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 11px 12px;
  border: 1px solid var(--pp-accent-line);
  border-radius: 14px;
  background: var(--pp-accent-soft);
}
.pp-brinde-foto {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pp-accent);
}
.pp-brinde-foto img { width: 100%; height: 100%; object-fit: cover; }
.pp-brinde-foto .pp-ico { width: 24px; height: 24px; }
.pp-brinde-txt { min-width: 0; }
.pp-brinde-txt p { margin: 0; font-size: 14px; line-height: 1.35; color: var(--pp-ink); }
.pp-brinde-txt strong { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--pp-accent); }
.pp-brinde-txt strong .pp-ico { width: 15px; height: 15px; }
.pp-brinde-txt small { display: block; margin-top: 3px; font-size: 12px; color: var(--pp-muted); }
.pp-buy .pp-brinde + .pp-cta { margin-top: 12px; }

/* Contador da oferta abaixo do botão */
.pp-timer { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 12px 0 0; font-size: 11.5px; white-space: nowrap; color: var(--pp-muted); }
.pp-timer .pp-ico { width: 13px; height: 13px; color: var(--pp-accent); }
.pp-timer span { overflow: hidden; text-overflow: ellipsis; }
.pp-timer strong { margin-left: 3px; font-size: 12.5px; font-weight: 800; color: var(--pp-ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }



/* ---------- Checkout / PIX (telas antigas) ---------- */
.pp-safe-chip { margin-left: auto; }
/* Header do checkout: seta | logo centralizada | cadeado */
.pp-ck-head { flex: 1 1 auto; display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; }
.pp-header-in .pp-ck-head .pp-logo { margin: 0 auto; }
.pp-ck-voltar .pp-ico { width: 18px; height: 18px; stroke-width: 2.2; }
.pp-ck-cadeado { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--pp-green); }
.pp-ck-cadeado .pp-ico { width: 16px; height: 16px; stroke-width: 2.2; }
.pp-accent-text { color: var(--pp-accent) !important; }
.pp-field:focus { border-color: var(--pp-accent) !important; box-shadow: 0 0 0 3px rgba(14, 116, 111, .15); outline: none; }
.pp-btn-accent { background: var(--pp-accent) !important; color: #fff !important; }
.pp-btn-accent:hover { background: var(--pp-accent-600) !important; }
.pp-btn-dark { background: var(--pp-ink) !important; color: #fff !important; }
.pp-btn-dark:hover { background: #000 !important; }
.pp-pill-accent { background: var(--pp-accent-soft); color: var(--pp-accent-600); border: 1px solid var(--pp-accent-line); }
.pp-dot-accent { background: var(--pp-accent); }
.pp-soft { background: #f4f8f8; border: 1px solid var(--pp-line); color: var(--pp-ink-2); }

.cdg-header {
  background: rgba(255, 255, 255, .96);
  color: var(--pp-ink);
  border-bottom: 1px solid var(--pp-line);
}
.cdg-logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--pp-ink); }
.cdg-pill { background: var(--pp-green-soft); color: var(--pp-green); border: 0; }

/* ---------- Formas de pagamento (tema/pagamento.js) ---------- */
.pp-pay-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; color: var(--pp-ink); }
.pp-pay-titulo { font-size: 15px; font-weight: 800; margin: 0 0 12px; }
.pp-pay-opcoes { display: grid; gap: 8px; }
.pp-pay-box button.pp-pay-opcao { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px 14px; border: 1.5px solid var(--pp-line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, background .15s; }
.pp-pay-opcao.is-on { border-color: var(--pp-accent); background: var(--pp-accent-soft); }
.pp-pay-opcao .pp-radio { position: static; margin: 0; flex-shrink: 0; }
.pp-pay-opcao.is-on .pp-radio { border: 5px solid var(--pp-accent); }
.pp-pay-opcao-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pp-pay-opcao-txt strong { font-size: 14px; font-weight: 700; }
.pp-pay-opcao-txt small { font-size: 12px; color: var(--pp-muted); }
.pp-pay-selo { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pp-green); background: var(--pp-green-soft); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.pp-pay-nota { font-size: 12px; color: var(--pp-muted); margin: 10px 2px 0; }
/* Dentro da lista de opções (abaixo do card do PIX): encosta no card e some a margem dupla */
.pp-pay-nota.is-pix { margin: -2px 2px 2px; line-height: 1.45; }
.pp-card-form { display: grid; gap: 10px; margin-top: 14px; }
.pp-pay-campo { display: grid; gap: 4px; min-width: 0; }
.pp-pay-campo > span { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--pp-ink-2); }
.pp-bandeira { font-size: 11px; color: var(--pp-accent-600); }
.pp-pay-input { width: 100%; min-width: 0; border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 12px; font-size: 16px; background: #fff; color: var(--pp-ink); font-family: inherit; }
.pp-pay-input:focus { outline: none; border-color: var(--pp-accent); box-shadow: 0 0 0 1px var(--pp-accent); }
.pp-pay-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-pay-seguro { display: flex; gap: 6px; align-items: flex-start; font-size: 11px; color: var(--pp-muted); margin: 2px 0 0; }
.pp-pay-seguro .pp-ico { width: 14px; height: 14px; color: var(--pp-green); margin-top: 1px; }

.pp-bandeiras { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 14px; }
.pp-band { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 26px; padding: 0 5px; border: 1px solid var(--pp-line); border-radius: 6px; background: #fff; }
.pp-bandeiras .pp-band img { display: block; max-width: 100%; max-height: 13px; width: auto; height: auto; opacity: 1; }
/* O Pix é o símbolo quadrado: um pouco menor que as bandeiras largas, senão pesa demais */
.pp-bandeiras .pp-band.is-pix img { max-height: 15px; }
/* Checkout: linha única de segurança embaixo do botão de pagar */
.pp-checkout-seguro {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin: 12px 4px 0;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--pp-muted);
  text-align: center;
}
.pp-checkout-seguro .pp-ico { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2px; color: var(--pp-green); }

.pp-status-main { max-width: 480px; width: 100%; margin: 0 auto; padding: 20px 16px; }
.pp-status { padding: 22px 18px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.pp-status-pill { display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.pp-status-pill.is-erro { background: #fdecec; color: #b42318; border: 1px solid #f5c2c0; }
.pp-status-valor { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.pp-status-sub { font-size: 13px; color: var(--pp-ink-2); margin: 0; }
.pp-status-codigo { width: 100%; display: grid; gap: 8px; text-align: left; }
.pp-status-codigo > span { font-size: 12px; font-weight: 600; color: var(--pp-ink-2); }
.pp-status-codigo code { display: block; word-break: break-all; font-size: 13px; background: var(--pp-bg); border: 1px dashed var(--pp-line); border-radius: 8px; padding: 10px; }
.pp-status-link { font-size: 14px; font-weight: 700; color: var(--pp-accent-600); text-decoration: underline; text-underline-offset: 3px; }
.pp-status-passos { text-align: left; font-size: 13px; color: var(--pp-ink-2); padding-left: 20px; margin: 4px 0 0; display: grid; gap: 4px; list-style: decimal; }


.pp-info-wrap { font-size: 15px; line-height: 1.5; text-align: left; color: var(--pp-ink); }
/* Fotos de clientes (avaliações só com fotos) */
.pp-client-photos { display: grid; gap: 10px; margin-top: 14px; }
.pp-client-photos-title { font-size: 15px; font-weight: 800; margin: 0; }
.pp-client-label { display: block; font-size: 12px; font-weight: 700; color: var(--pp-muted); }
.pp-client-card .pp-review-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pp-client-card .pp-review-photo { aspect-ratio: 1; width: 100%; }
.pp-client-card .pp-review-photos img { width: 100%; height: 100%; }
/* Avaliação: estrelas ao lado do nome e fotos maiores */
.pp-review-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.pp-review header .pp-review-name strong { display: inline; }
.pp-review-name .pp-stars .pp-ico { width: 14px; height: 14px; }
.pp-review-meta { color: var(--pp-muted); font-weight: 600; }
.pp-review .pp-review-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pp-review .pp-review-photo { aspect-ratio: 1; width: 100%; }
.pp-review .pp-review-photos img { width: 100%; height: 100%; }
/* Forma de pagamento indisponível no momento */
.pp-pay-box button.pp-pay-opcao.is-off { opacity: .6; border-style: dashed; cursor: not-allowed; }
.pp-pay-opcao.is-off .pp-radio { border-color: #d0dcdd; background: #eff4f4; }
.pp-pay-selo.is-off { color: #6b7f82; background: #e9f0f1; }
.pp-pay-aviso { margin: 10px 2px 0; padding: 10px 12px; border-radius: 10px; background: #fdf3e7; border: 1px solid #f2ddc2; font-size: 12.5px; line-height: 1.5; color: #6b4e22; }
/* "Outras formas de pagamento" (cartão e boleto ficam recolhidos) */
.pp-pay-box button.pp-pay-outras { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 2px; background: none; border: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--pp-muted); cursor: pointer; }
.pp-pay-outras:hover { color: var(--pp-ink); }
.pp-pay-outras .pp-ico { width: 16px; height: 16px; transition: transform .15s; }
.pp-pay-outras.is-open .pp-ico { transform: rotate(180deg); }
.pp-pay-opcoes .pp-pay-opcao + .pp-pay-outras { border-top: 1px solid var(--pp-line-2); margin-top: 2px; }
/* ---------- Prazo de entrega por CEP (tema/prazo-entrega.js) ---------- */
/* Frete + prazo logo abaixo do botão de compra (página do produto) */
.pp-prazo-linha { margin: 16px 0 0; text-align: center; font-size: 13px; font-weight: 500; color: var(--pp-muted); }
/* Segunda linha, logo abaixo do prazo: mesmo texto, com o ícone da caixa */
.pp-prazo-linha.is-rastreio { margin-top: 5px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.pp-prazo-linha.is-rastreio .pp-ico { width: 14px; height: 14px; }
/* Sem a linha de total, o botão precisa do respiro que ela dava. */
.pp-buy .pp-cta { margin-top: 20px; }

.pp-prazo-checkout { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 12px; font-weight: 600; color: var(--pp-green); }
.pp-prazo-checkout .pp-ico { width: 14px; height: 14px; }


/* ---------- Rodapé (branco, compacto) ---------- */
.pp-footer { margin-top: 32px; background: #fff; border-top: 1px solid var(--pp-line); color: var(--pp-ink); }
/* O espaço de baixo deixa o fim do rodapé visível acima da barra fixa de compra. */
.pp-footer-in { max-width: 480px; margin: 0 auto; padding: 22px 20px calc(92px + env(safe-area-inset-bottom)); }

/* Tudo centralizado: logo, ajuda, linhas de links, pagamento e dados da empresa */
.pp-footer-in.is-center { text-align: center; }
.pp-footer-logo { display: block; height: 30px; width: auto; margin: 0 auto; }

/* Precisa de ajuda? (WhatsApp + horário) */
.pp-footer-ajuda { display: grid; justify-items: center; gap: 4px; margin-top: 18px; }
.pp-footer-ajuda-tit { margin: 0 0 2px; font-size: 14px; font-weight: 800; color: var(--pp-ink); }
.pp-footer-ajuda a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--pp-ink-2); text-decoration: none; }
.pp-footer-ajuda a:hover { color: var(--pp-accent); }
.pp-footer-ajuda span { font-size: 12px; color: var(--pp-muted); }
.pp-footer-ajuda .pp-ico { width: 16px; height: 16px; flex: 0 0 auto; }
.pp-footer-ajuda .pp-ico-whats { color: #25d366; }

/* Linhas de links separados por "·" */
.pp-footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0; margin-top: 12px; }
.pp-footer-ajuda + .pp-footer-links { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pp-line); }
.pp-footer-links + .pp-footer-links { margin-top: 6px; }
.pp-footer-links a,
.pp-footer-links button { padding: 0; background: none; border: 0; color: var(--pp-ink-2); font: inherit; font-size: 12.5px; line-height: 1.35; text-decoration: none; cursor: pointer; }
.pp-footer-links > * + *::before { content: "·"; margin: 0 8px; color: var(--pp-muted); }
.pp-footer-links a:hover,
.pp-footer-links button:hover { color: var(--pp-accent); }

/* Formas de pagamento + site seguro, na mesma linha (quebra se não couber) */
.pp-footer-pag { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--pp-line); }
.pp-footer-pag .pp-bandeiras { justify-content: center; margin-top: 0; }
.pp-footer-pag .pp-band { background: #fff; border: 1px solid var(--pp-line); }
.pp-footer-ssl { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 11.5px; color: var(--pp-muted); }
.pp-footer-ssl .pp-ico { width: 13px; height: 13px; flex: 0 0 auto; color: var(--pp-green); }

.pp-footer-legal { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--pp-line); font-size: 11px; line-height: 1.5; color: var(--pp-muted); }
.pp-footer-legal p { margin: 0; }
.pp-footer-legal p + p { margin-top: 3px; }
/* ---------- Rodapé do checkout (branco, enxuto) ---------- */
.cdg-footer { margin-top: 32px; background: #fff; border-top: 1px solid var(--pp-line); color: var(--pp-ink-2); }
.cdg-footer-in { max-width: 560px; margin: 0 auto; padding: 16px 20px 24px; text-align: center; }
/* Mesmo estilo do fim do rodapé da loja (.pp-footer-legal) */
.cdg-footer-empresa { margin: 0; font-size: 11px; line-height: 1.5; color: var(--pp-muted); }
.cdg-footer-empresa + .cdg-footer-empresa { margin-top: 3px; }
html { scrollbar-gutter: stable; }               /* evita o "pulo" ao travar a rolagem */
.pp-icon-btn, .pp-cta, .pp-link, .pp-footer-links a, .pp-footer-links button,
.pp-pay-opcao {
  transition: background-color var(--pp-dur-rapida) var(--pp-ease),
              color var(--pp-dur-rapida) var(--pp-ease),
              border-color var(--pp-dur-rapida) var(--pp-ease),
              opacity var(--pp-dur-rapida) var(--pp-ease),
              transform var(--pp-dur-rapida) var(--pp-ease);
}

/* Gavetas: deslizam e o fundo escurece junto, na abertura e no fechamento */

/* O menu começa abaixo do header (o JS ajusta o "top" pela altura real dele).
   Por isso a altura não pode ser 100dvh: iria além da tela e cortaria o
   bloco "Atendimento" lá embaixo. Com height:auto, o bottom:0 manda. */

/* Entrada da loja: ao abrir o site (ou ao voltar de uma política) a tela
   aparece com um leve fade, em vez de "piscar" pronta de uma vez. */
#root { animation: pp-fade var(--pp-dur-rapida) var(--pp-ease) both; }

/* Janelas (modais) e conteúdo que entra na tela */
.pp-info-wrap { animation: pp-fade var(--pp-dur) var(--pp-ease); }
.pp-info { animation: pp-sobe var(--pp-dur) var(--pp-ease); }
@keyframes pp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pp-sobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Avaliações (PpAvaliacoes / PpAvLightbox) ---------- */
/* Cabeçalho: selo, título e "★★★★★ 4,9 de 5 em N avaliações" */
.pp-av-linha { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; font-size: 13.5px; color: var(--pp-muted); }
.pp-av-linha strong { font-weight: 800; color: var(--pp-ink); }

/* Faixa de fotos em loop (a trilha tem as fotos duas vezes: anda metade e recomeça) */
.pp-av-faixa {
  margin: 4px -16px 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.pp-av-trilho { display: flex; gap: 8px; width: max-content; padding: 0 16px; animation: pp-av-loop var(--pp-av-dur, 32s) linear infinite; }
.pp-av-faixa:hover .pp-av-trilho,
.pp-av-faixa:active .pp-av-trilho { animation-play-state: paused; }
@keyframes pp-av-loop { from { transform: translateX(0); } to { transform: translateX(calc(-50% + 12px)); } } /* metade da trilha, descontando o padding (16px) e meio gap (4px) */
.pp-av-faixa-foto { flex: 0 0 auto; width: 136px; height: 136px; padding: 0; border-radius: 14px; overflow: hidden; background: var(--pp-line-2); cursor: zoom-in; }
.pp-av-faixa-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) {
  .pp-av-faixa { overflow-x: auto; }
  .pp-av-trilho { animation: none; }
}

/* Card de texto: inicial, nome, "Verificado", cidade, estrelas e a opinião */
.pp-av-pessoa { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pp-av-avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--pp-accent-soft); color: var(--pp-accent); font-size: 15px; font-weight: 800; }
.pp-av-nome-linha { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.pp-av-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; background: var(--pp-accent-soft); color: var(--pp-accent); font-size: 11px; font-weight: 700; }
.pp-av-chip::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--pp-gold); }
.pp-av-cidade { display: block; margin-top: 1px; font-size: 12px; color: var(--pp-muted); }
.pp-av-resumo { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px; }
.pp-av-nota { display: flex; flex-direction: column; align-items: center; text-align: center; padding-right: 18px; border-right: 1px solid var(--pp-line-2); }
.pp-av-resumo > .pp-av-nota:only-child { grid-column: 1 / -1; padding-right: 0; border-right: 0; }
.pp-av-nota strong { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--pp-ink); }
.pp-av-nota .pp-stars { display: inline-flex; margin-top: 6px; }
.pp-av-nota > span:last-child { margin-top: 6px; font-size: 11.5px; color: var(--pp-muted); white-space: nowrap; }
/* Mosaico com as primeiras fotos de clientes (abre a galeria) */
.pp-av-mosaico { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 0; background: none; border: 0; cursor: pointer; text-align: left; }
.pp-av-mosaico-grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.pp-av-mosaico-foto { position: relative; aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: var(--pp-line-2); }
.pp-av-mosaico-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-av-mais { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(16, 37, 42, .55); color: #fff; font-size: 14px; font-weight: 800; }
.pp-av-mosaico-txt { font-size: 12px; font-weight: 700; color: var(--pp-ink-2); text-align: center; text-decoration: underline; text-underline-offset: 3px; }

.pp-av-lista { display: grid; gap: 10px; margin-top: 12px; }
.pp-av-card { padding: 16px; }
.pp-av-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pp-av-nome { min-width: 0; font-size: 14px; font-weight: 800; color: var(--pp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-av-avatar { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--pp-accent-soft); color: var(--pp-accent); font-size: 15px; font-weight: 800; }
.pp-av-avatar.is-anon { background: var(--pp-line-2); color: var(--pp-muted); }
.pp-av-avatar .pp-ico { width: 18px; height: 18px; }
.pp-av-quem { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-av-quem strong { font-size: 14px; font-weight: 800; color: var(--pp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-av-verificado { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--pp-green); }
.pp-av-verificado .pp-ico { width: 13px; height: 13px; }
.pp-av-data { flex: 0 0 auto; align-self: flex-start; font-size: 11.5px; color: var(--pp-muted); }
.pp-av-estrelas { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 11.5px; color: var(--pp-muted); }
.pp-av-estrelas .pp-ico { width: 14px; height: 14px; }
.pp-av-texto { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--pp-ink-2); }
/* Fotos do cliente: 3 por linha; com uma foto só, ela fica maior */
.pp-av-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.pp-av-fotos.is-uma { grid-template-columns: minmax(0, 190px); }
.pp-av-foto { display: block; padding: 0; border: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--pp-line-2); cursor: zoom-in; }
.pp-av-fotos.is-uma .pp-av-foto { aspect-ratio: 4 / 5; }
.pp-av-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.pp-av-foto:hover img { transform: scale(1.05); }
.pp-av-vermais { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 12px; padding: 13px 16px; border: 1px solid var(--pp-line); border-radius: 14px; background: #fff; font: inherit; font-size: 14px; font-weight: 700; color: var(--pp-ink); cursor: pointer; }
.pp-av-vermais:hover { background: var(--pp-line-2); }
.pp-av-vermais .pp-ico { width: 16px; height: 16px; transition: transform .2s ease; }
.pp-av-vermais.is-open .pp-ico { transform: rotate(180deg); }

/* Foto ampliada */
.pp-av-lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 68px 12px 56px; background: rgba(10, 10, 10, .92); touch-action: pan-y; }
.pp-av-lb img { max-width: 100%; max-height: 100%; border-radius: 14px; object-fit: contain; user-select: none; }
/* Fechar: botão claro e grande, fora da área da foto (respeita o notch do celular) */
.pp-av-lb-x { position: absolute; z-index: 2; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; height: 40px; padding: 0 14px 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 99px; background: #fff; color: #111; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.pp-av-lb-seta { position: absolute; z-index: 2; top: 50%; width: 42px; height: 42px; margin-top: -21px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .9); color: #111; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.pp-av-lb-seta.is-esq { left: 10px; }
.pp-av-lb-seta.is-dir { right: 10px; }
.pp-av-lb-seta.is-dir .pp-ico { transform: rotate(180deg); }
.pp-av-lb-x .pp-ico, .pp-av-lb-seta .pp-ico { width: 20px; height: 20px; }
.pp-av-lb-cont { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12.5px; font-weight: 700; }

/* ---------- Tela do Pix (PpTelaPix em tema/pagamento.js) ---------- */
.pp-pix { max-width: 480px; width: 100%; margin: 0 auto; padding: 14px 16px 8px; display: grid; gap: 12px; }
.pp-pix-card { padding: 18px 16px; text-align: center; }
.pp-pix-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 99px; background: var(--pp-accent-soft); color: var(--pp-accent); font-size: 12px; font-weight: 700; }
.pp-pix-pulso { width: 8px; height: 8px; border-radius: 99px; background: var(--pp-accent); animation: pp-pix-pulso 1.4s ease-in-out infinite; }
@keyframes pp-pix-pulso { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.pp-pix-pedido { margin: 10px 0 0; font-size: 13px; color: var(--pp-muted); }
.pp-pix-pedido strong { color: var(--pp-ink); font-weight: 800; letter-spacing: .01em; }
.pp-pix-logo { display: block; height: 22px; width: auto; margin: 12px auto 0; }
.pp-pix-valor { margin: 4px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--pp-ink); }
.pp-pix-expira { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 12.5px; color: #b45309; }
.pp-pix-expira .pp-ico { width: 14px; height: 14px; }
.pp-pix-expira strong { font-variant-numeric: tabular-nums; }
.pp-pix-expira.is-fim { color: #b42318; }

/* Copia e Cola: ação principal */
.pp-pix-copia { margin-top: 16px; text-align: left; }
.pp-pix-rotulo { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--pp-ink); }
.pp-page .pp-pix-codigo {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px dashed var(--pp-accent-line);
  border-radius: 12px;
  background: var(--pp-bg);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--pp-ink-2);
  text-align: left;
  word-break: break-all;
  resize: none;
  overflow: hidden;
  outline: none;
  cursor: pointer;
}
.pp-pix-falhou { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; font-size: 13px; line-height: 1.45; color: #9a3412; }
.pp-pix-copiar { margin-top: 10px; }
.pp-pix-copiar.is-ok { background: linear-gradient(180deg, #16a34a 0%, #15803d 100%); box-shadow: 0 14px 28px -12px rgba(22, 163, 74, .6); }
.pp-pix-ok { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--pp-green-soft); border: 1px solid #b7e2cc; font-size: 13px; line-height: 1.45; color: #065f46; }

/* 3 passos */
.pp-pix-passos { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pp-pix-passos li { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11.5px; line-height: 1.3; color: var(--pp-ink-2); }
.pp-pix-passos b { width: 22px; height: 22px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: var(--pp-accent-soft); color: var(--pp-accent); font-size: 12px; }

/* QR Code menor */
.pp-pix-qr { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pp-line-2); text-align: left; }
.pp-pix-qr img,
.pp-pix-qr-vazio { flex: 0 0 auto; width: 108px; height: 108px; padding: 5px; border: 1px solid var(--pp-line); border-radius: 12px; background: #fff; object-fit: contain; }
.pp-pix-qr-vazio { display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--pp-muted); text-align: center; }
.pp-pix-qr p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--pp-muted); }
.pp-pix-qr strong { display: block; color: var(--pp-ink); }

/* Já paguei + aviso de confirmação automática */
.pp-page .pp-pix-verificar { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; padding: 12px; border: 1.5px solid var(--pp-line); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 700; color: var(--pp-ink); }
.pp-pix-verificar .pp-ico { width: 16px; height: 16px; }
.pp-pix-verificar .is-girando { animation: pp-girar 1s linear infinite; }
@keyframes pp-girar { to { transform: rotate(360deg); } }
.pp-pix-auto { margin: 8px 0 0; font-size: 12px; color: var(--pp-muted); }

.pp-pix-garante { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 8px; }
.pp-pix-garante li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--pp-ink-2); }
.pp-pix-garante .pp-ico { width: 17px; height: 17px; color: var(--pp-accent); }
.pp-pix-garante .pp-ico { flex: 0 0 auto; }
.pp-pix-garante li { align-items: flex-start; line-height: 1.45; }

/* Aviso no topo da loja: Pix pendente */
.pp-pix-pend { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; background: #fff7ed; border-bottom: 1px solid #fed7aa; font-size: 12.5px; color: #9a3412; }
.pp-pix-pend > span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.pp-pix-pend .pp-ico { width: 15px; height: 15px; flex: 0 0 auto; }
.pp-page .pp-pix-pend button { flex: 0 0 auto; padding: 6px 12px; border-radius: 99px; background: var(--pp-accent); color: #fff; font-size: 12.5px; font-weight: 800; }