:root {
  --noite: #07110E;
  --pinho: #0D1C17;
  --ambar: #FFB547;
  --ambar-forte: #FF9A2E;
  --creme: #F3E9D8;
  --nevoa: #9FB2A8;
  --vermelho: #E2283C;

  --fundo: var(--noite);
  --texto: var(--creme);
  --texto-suave: var(--nevoa);
  --linha: rgba(243, 233, 216, 0.12);
  --vidro: rgba(243, 233, 216, 0.04);
  --borda-ambar: rgba(255, 181, 71, 0.28);

  --titulo: 'Unbounded', system-ui, sans-serif;
  --sans: 'Hanken Grotesk', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--noite); }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 700px at 85% 110vh, rgba(255, 154, 46, 0.07), transparent 70%),
    radial-gradient(900px 600px at 10% 220vh, rgba(226, 40, 60, 0.05), transparent 70%),
    var(--fundo);
  color: var(--texto);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; border-radius: 4px; }

/* Faixa da oferta de Natal */
.faixa {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.4rem;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #8E1222, #C21F33 50%, #8E1222);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 24px -12px rgba(226, 40, 60, 0.7);
}
.faixa[hidden] { display: none; }
.faixa .azevinho { width: 1.4rem; flex-shrink: 0; }
.faixa-tempo { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Topo: flutua sobre a cena 3D */
.topo {
  position: absolute;
  inset: 2.4rem 0 auto 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.4rem clamp(1rem, 4vw, 2.5rem);
}
.marca {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
  background: linear-gradient(100deg,
    var(--creme) 0%, var(--creme) 38%,
    #FFD48A 46%, #FFFFFF 50%, #FFD48A 54%,
    var(--creme) 62%, var(--creme) 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(255, 181, 71, 0.45));
  animation: luz-passando 4.5s ease-in-out infinite;
}
body.apagada .marca { filter: none; animation: none; background-position: 0 0; }
@keyframes luz-passando {
  0%   { background-position: 100% 0; }
  55%  { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}
.topo-pedido {
  color: var(--texto);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--linha);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  background: rgba(7, 17, 14, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.topo-pedido:hover { border-color: var(--ambar); color: var(--ambar); }

/* Abertura com o galho em 3D */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-3d {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-3d canvas { display: block; width: 100%; height: 100%; }
.hero::after {
  /* esfumaça a base da cena para o texto ficar legível */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, var(--noite) 8%, rgba(7, 17, 14, 0));
  z-index: -1;
  pointer-events: none;
}
.hero-texto {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 8vh, 5rem);
}
.hero h1 {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: clamp(2.2rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 12ch;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.hero-texto > p {
  max-width: 40ch;
  color: var(--texto-suave);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.sem-3d .hero-3d { display: none; }

/* Interruptor */
.interruptor {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
}
.interruptor-trilho {
  width: 3.6rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--ambar);
  box-shadow: 0 0 24px rgba(255, 181, 71, 0.75);
  position: relative;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.interruptor-bola {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--noite);
  transform: translateX(1.6rem);
  transition: transform 0.4s ease, background-color 0.4s ease;
}
.interruptor[aria-pressed="true"] .interruptor-trilho {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--nevoa);
}
.interruptor[aria-pressed="true"] .interruptor-bola {
  transform: translateX(0);
  background: var(--nevoa);
}

/* Produtos */
.produto {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 2.5rem);
}
.produto-foto { position: relative; }
.produto-foto::before {
  /* halo de luz atrás da foto */
  content: '';
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(closest-side, rgba(255, 154, 46, 0.45), transparent);
  filter: blur(40px);
  z-index: -1;
}
.produto-foto img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--borda-ambar), 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.produto-motivos .produto-foto { order: 2; }
.produto-motivos .produto-foto::before { background: radial-gradient(closest-side, rgba(226, 40, 60, 0.35), transparent); }
.produto-foto figcaption { margin-top: 0.75rem; font-size: 0.85rem; color: var(--texto-suave); text-align: center; }

.motivos { list-style: none; margin: 1.25rem 0 2rem; display: grid; gap: 1.1rem; }
.motivos li { position: relative; padding-left: 1.6rem; }
.motivos li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--ambar);
  box-shadow: 0 0 10px 2px rgba(255, 181, 71, 0.55);
}
.motivos strong { display: block; font-weight: 700; }
.motivos span { display: block; color: var(--texto-suave); font-size: 0.97rem; max-width: 46ch; }

.produto h2,
.pedido h2,
.avaliacoes h2 {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  text-wrap: balance;
}
.preco {
  font-family: var(--titulo);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ambar);
  margin-bottom: 1.25rem;
}
.preco span {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texto-suave);
  margin-left: 0.5rem;
}
.produto-info > .produto-sub { margin-bottom: 0.9rem; font-size: 1.05rem; font-weight: 600; }
.preco-bloco { margin-bottom: 1.25rem; }
.preco-bloco .preco { margin-bottom: 0.2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 2rem; }
.preco-de { color: var(--texto-suave); font-size: 0.98rem; }
.preco-de s { text-decoration-color: var(--vermelho); text-decoration-thickness: 2px; }
.preco .preco-por { margin: 0; font-size: 1rem; }
.preco-desconto {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--vermelho);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-shadow: 0 0 14px rgba(226, 40, 60, 0.45);
}
.preco .preco-desconto { margin: 0; color: #fff; }
.preco-economia { font-size: 0.95rem; font-weight: 700; color: #6FD39A; }
.produto-info > p:not(.preco) { max-width: 46ch; color: var(--texto-suave); }

.ficha {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 2rem;
  background: var(--linha);
  border: 1px solid var(--linha);
  border-radius: 18px;
  overflow: hidden;
}
.ficha div { background: var(--noite); padding: 0.9rem 1.1rem; }
.ficha div:last-child { grid-column: 1 / -1; }
.ficha dt { color: var(--texto-suave); font-size: 0.85rem; }
.ficha dd { font-family: var(--titulo); font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; }

/* Botões */
.comprar {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--ambar);
  border: 1px solid var(--ambar);
  color: #1A0F05;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(255, 181, 71, 0);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.comprar:hover { box-shadow: 0 0 32px rgba(255, 181, 71, 0.55); background: #FFC36A; }
.comprar-secundario {
  background: transparent;
  color: var(--texto);
  border-color: rgba(243, 233, 216, 0.3);
}
.comprar-secundario:hover { background: transparent; border-color: var(--ambar); color: var(--ambar); box-shadow: none; }
.comprar-produto { margin-top: 2rem; }

/* Gorro do Papai Noel na borda dos botões de compra */
.comprar-produto,
.ymp-buy-button { position: relative; }
.comprar-produto::before,
.ymp-buy-button::before,
.whats::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -14px;
  width: 50px;
  height: 41px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 52'><path d='M8 40 C12 18 26 6 42 7 C54 8 59 17 57 27 C51 20 44 19 39 23 C43 30 47 35 50 40 Z' fill='%23D62839'/><path d='M39 23 C43 30 47 35 50 40 L40 40 C38 33 37 28 39 23 Z' fill='%23A51626'/><circle cx='57' cy='28' r='6.5' fill='%23fff'/><rect x='3' y='36' width='52' height='13' rx='6.5' fill='%23fff'/><rect x='3' y='36' width='52' height='13' rx='6.5' fill='none' stroke='%23E6E0D6' stroke-width='1.5'/></svg>") no-repeat center / contain;
  transform: rotate(-18deg);
  transform-origin: 30% 90%;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  transition: transform 0.3s ease;
}
.comprar-produto:hover::before,
.ymp-buy-button:hover::before,
.whats:hover::before { transform: rotate(-26deg) translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .comprar-produto::before, .ymp-buy-button::before, .whats::before { transition: none; }
}

/* Chamada para compra com a oferta */
.cta { margin-top: 2rem; }
.cta .comprar-produto { margin-top: 1rem; }
.cta-selos { margin-top: 0.75rem; font-size: 0.85rem; color: var(--texto-suave); }

.oferta {
  position: relative;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(226, 40, 60, 0.45);
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(226, 40, 60, 0.18), transparent 60%),
    var(--vidro);
}
.oferta[hidden] { display: none; }
.oferta-titulo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.azevinho { width: 1.8rem; height: auto; display: inline-block; }
.oferta-sub { margin: 0.2rem 0 0.8rem; font-size: 0.92rem; color: var(--texto-suave); }
.contador { display: flex; gap: 0.5rem; }
.contador span {
  flex: 1;
  max-width: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.25rem 0.4rem;
  border-radius: 12px;
  background: rgba(7, 17, 14, 0.7);
  border: 1px solid var(--linha);
}
.contador b {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--ambar);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 12px rgba(255, 181, 71, 0.45);
}
.contador small { font-size: 0.72rem; color: var(--texto-suave); text-transform: uppercase; letter-spacing: 0.06em; }

.pedido .oferta { margin: 0 0 1.5rem; }
.prazo-envio { margin: -0.75rem 0 1.5rem; font-size: 0.92rem; font-weight: 600; color: var(--ambar); }

/* Lembrete de Natal na área de compra */
.lembrete {
  position: relative;
  margin: 1.75rem 0 1.75rem;
  padding: 1.6rem 1.3rem 1.3rem;
  border: 1.5px dashed rgba(63, 165, 107, 0.55);
  border-radius: 20px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(226, 40, 60, 0.16), transparent 60%),
    radial-gradient(80% 120% at 0% 100%, rgba(63, 165, 107, 0.12), transparent 60%),
    var(--vidro);
  overflow: hidden;
}
.lembrete-laco {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 64px;
  transform: translateX(-50%);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}
.lembrete-neve {
  /* flocos de neve pequenos ao fundo */
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, #fff 1px, transparent 1.6px),
    radial-gradient(circle, #fff 0.8px, transparent 1.4px);
  background-size: 46px 46px, 31px 31px;
  background-position: 0 0, 15px 20px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.lembrete > p { position: relative; }
.lembrete-rotulo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6FD39A;
}
.lembrete-rotulo .azevinho { width: 1.6rem; }
.lembrete-titulo {
  margin: 0.45rem 0 0.5rem;
  font-family: var(--titulo);
  font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lembrete-texto { color: var(--texto-suave); font-size: 0.98rem; max-width: 56ch; }

/* Guirlanda de luzinhas no topo da área de compra */
.guirlanda {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: -0.5rem 0 1.75rem;
  padding: 0 0.25rem;
}
.guirlanda::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  border-bottom: 1.5px solid rgba(46, 139, 87, 0.7);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.guirlanda i {
  position: relative;
  top: 4px;
  width: 9px;
  height: 13px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: var(--ambar);
  box-shadow: 0 0 10px 2px rgba(255, 181, 71, 0.6);
  animation: piscar 2.4s ease-in-out infinite;
}
.guirlanda i:nth-child(3n+2) { background: var(--vermelho); box-shadow: 0 0 10px 2px rgba(226, 40, 60, 0.6); animation-delay: 0.8s; }
.guirlanda i:nth-child(3n) { background: #3FA56B; box-shadow: 0 0 10px 2px rgba(63, 165, 107, 0.55); animation-delay: 1.6s; }
.guirlanda i:nth-child(n+3):nth-child(-n+12) { top: 9px; }
.guirlanda i:nth-child(n+5):nth-child(-n+10) { top: 12px; }
@keyframes piscar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; box-shadow: none; }
}
body.apagada .guirlanda i { animation-duration: 1.4s; }
@media (prefers-reduced-motion: reduce) {
  .guirlanda i { animation: none; }
}

/* Avaliações */
.avaliacoes {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}
.avaliacoes[hidden] { display: none; }
.avaliacoes-topo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
}
.avaliacoes-media { display: flex; align-items: center; gap: 0.5rem; }
.avaliacoes-media strong { font-family: var(--titulo); font-weight: 500; font-size: 1.4rem; }
.avaliacoes-media span:last-child { color: var(--texto-suave); }
.avaliacoes-nota { margin: -0.75rem 0 1.25rem; color: var(--texto-suave); font-size: 0.95rem; }
.avaliacoes-aviso {
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.9rem;
  border: 1px dashed var(--ambar);
  border-radius: 12px;
  color: var(--ambar);
  font-size: 0.95rem;
}

.avaliacoes-lista {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.avaliacao {
  background: var(--vidro);
  border: 1px solid var(--linha);
  border-radius: 20px;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.5;
}
.avaliacao[hidden] { display: none; }
.avaliacao img,
.avaliacao video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.avaliacao video { background: #000; }
.avaliacao-corpo { padding: 0.9rem 1rem 1rem; }
.avaliacao-texto {
  margin: 0.45rem 0 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.avaliacao-texto.aberto { display: block; }
.avaliacao-autor { color: var(--texto-suave); font-size: 0.85rem; }
.avaliacao-autor strong { color: var(--texto); }
.avaliacao-origem { margin-top: 0.15rem; font-size: 0.8rem; color: var(--texto-suave); font-style: italic; }
.avaliacoes .avaliacoes-mais { display: block; margin: 1.75rem auto 0; font: inherit; font-weight: 700; cursor: pointer; }
.avaliacoes-mais[hidden] { display: none; }

.estrelas { display: inline-flex; gap: 2px; }
.estrela svg { width: 0.95rem; height: 0.95rem; fill: rgba(243, 233, 216, 0.18); }
.estrela.cheia svg { fill: var(--ambar); filter: drop-shadow(0 0 4px rgba(255, 181, 71, 0.6)); }

/* Pedido */
.pedido {
  position: relative;
  max-width: 720px;
  margin: clamp(1rem, 4vw, 3rem) auto clamp(4rem, 10vw, 7rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  background: linear-gradient(180deg, rgba(243, 233, 216, 0.06), rgba(243, 233, 216, 0.015));
  border: 1px solid var(--linha);
  border-radius: 32px;
  backdrop-filter: blur(12px);
}
.pedido::before {
  /* fio de luz no topo do painel */
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ambar), transparent);
  box-shadow: 0 0 18px 2px rgba(255, 181, 71, 0.5);
}
@media (max-width: 760px) {
  .pedido { margin-left: 1rem; margin-right: 1rem; }
}

/* Papai Noel pendurado na borda de baixo do quadro de compra */
.pedido { margin-bottom: calc(170px + clamp(2rem, 5vw, 4rem)); }
.papai-noel {
  position: absolute;
  top: calc(100% - 12px);
  right: 12%;
  width: 125px;
  height: auto;
  overflow: visible;
  transform-origin: 50% 6%;
  animation: balancar 3.2s ease-in-out infinite;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
  pointer-events: none;
}
.papai-pernas { transform-origin: 60px 120px; animation: pernas 1.6s ease-in-out infinite; }
@keyframes balancar {
  0%, 100% { transform: rotate(4deg); }
  50% { transform: rotate(-4deg); }
}
@keyframes pernas {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .papai-noel, .papai-pernas { animation: none; }
}
@media (max-width: 620px) {
  .papai-noel { width: 96px; right: 8%; top: calc(100% - 9px); }
  .pedido { margin-bottom: calc(135px + 2rem); }
}
.pedido-intro { color: var(--texto-suave); margin: 0.25rem 0 1.75rem; max-width: 50ch; }

.opcoes { list-style: none; }
.opcao {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--linha);
}
.opcao:last-child { border-bottom: none; }
.opcao-kit {
  margin: 0 -1.1rem 0.5rem;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--borda-ambar);
  border-radius: 20px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255, 181, 71, 0.12), transparent 60%);
}
.opcao-selo { font-size: 0.85rem; font-weight: 700; color: var(--ambar); margin-bottom: 0.15rem; }
.opcao-nome { font-weight: 700; font-size: 1.1rem; }
.opcao-desc { color: var(--texto-suave); font-size: 0.95rem; }
.opcao-compra {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
}
.opcao-preco { font-family: var(--titulo); font-weight: 500; font-size: 1.3rem; white-space: nowrap; display: flex; align-items: center; gap: 0.5rem; }
.opcao-de { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: var(--texto-suave); text-decoration-color: var(--vermelho); text-decoration-thickness: 2px; }

.aviso { margin-top: 0.85rem; font-size: 0.95rem; color: var(--ambar); min-height: 1.5em; }
.aviso:empty { display: none; }

/* Garantias */
.garantias {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linha);
}
.garantias li { display: flex; gap: 0.75rem; align-items: flex-start; }
.garantias svg {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  fill: none;
  stroke: var(--ambar);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.garantias p { font-size: 0.9rem; color: var(--texto-suave); line-height: 1.45; }
.garantias .garantia-titulo { font-size: 0.98rem; font-weight: 700; color: var(--texto); margin-bottom: 0.1rem; }

/* Bandeiras */
.pagamentos { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--linha); }
.pagamentos-titulo { font-size: 0.9rem; color: var(--texto-suave); margin-bottom: 0.6rem; }
.bandeiras { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bandeiras li[hidden] { display: none; }
.bandeiras svg { display: block; width: 3.4rem; height: auto; border-radius: 6px; }

.duvidas { color: var(--texto-suave); margin-top: 1.25rem; }
.duvidas a { color: var(--texto); font-weight: 700; text-underline-offset: 3px; }

/* Rodapé */
.rodape {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--texto-suave);
  font-size: 0.9rem;
  border-top: 1px solid var(--linha);
}

/* Tablet e celular */
@media (max-width: 860px) {
  .produto { grid-template-columns: 1fr; }
  .produto-motivos .produto-foto { order: 0; }
}
@media (max-width: 620px) {
  .faixa { font-size: 0.82rem; }
  .guirlanda i:nth-child(even) { display: none; }
  .contador b { font-size: 1.25rem; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero::after { height: 62%; }
  .ficha div { padding: 0.75rem 0.85rem; }
  .garantias { grid-template-columns: 1fr; }
  .opcao { flex-direction: column; align-items: stretch; }
  .opcao-compra { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .opcao-compra .comprar { align-self: stretch; text-align: center; }

  /* avaliações lado a lado, arrastando */
  .avaliacoes-lista {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    margin-right: calc(-1 * clamp(1rem, 4vw, 2.5rem));
    padding-right: clamp(1rem, 4vw, 2.5rem);
  }
  .avaliacao { scroll-snap-align: start; }
}

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

/* Botão flutuante do WhatsApp */
.whats {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem 0.7rem 0.8rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: whats-pulso 2.6s ease-out infinite;
  transition: transform 0.2s ease;
}
.whats[hidden] { display: none; }
.whats:hover { transform: translateY(-2px); }
.whats svg { width: 1.7rem; height: 1.7rem; flex-shrink: 0; }
@keyframes whats-pulso {
  0% { box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%, 100% { box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.6), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .whats { animation: none; } }
.whats::before { top: -22px; left: -12px; width: 44px; height: 36px; }
@media (max-width: 620px) {
  .whats { padding: 0.8rem; }
  .whats span { display: none; }
}

/* Botão de compra da Yampi com quantidade, no visual do site */
.opcao-compra .ymp-buy-button-holder { width: 240px; max-width: 100%; font-family: var(--sans) !important; color: var(--texto); }
.ymp-holder-item { display: none; } /* foto, nome e preço já aparecem no site */
.holder-button { margin-top: 0 !important; }
.opcao-compra .ymp-holder-label { margin-top: 0; color: var(--texto-suave); font-size: 0.85rem; }
.opcao-compra input.ymp-input {
  width: 100%;
  height: 42px;
  color: var(--texto);
  background: rgba(7, 17, 14, 0.7);
  border: 1px solid var(--linha);
  border-radius: 999px;
  font: 700 1rem var(--sans);
  -moz-appearance: textfield;
  appearance: textfield;
}
.opcao-compra .ymp-input-button { height: 42px; }
.ymp-buy-button {
  margin-top: 0.9rem !important;
  padding: 0.85rem 1.6rem !important;
  font-family: var(--sans) !important;
  font-weight: 700 !important;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
.opcao-compra .ymp-buy-button:hover { opacity: 1; background-color: #FFC36A !important; box-shadow: 0 0 32px rgba(255, 181, 71, 0.55); }
@media (max-width: 620px) {
  .opcao-compra .ymp-buy-button-holder { width: 100%; }
}

/* Quantidade nos botões de compra */
.qtd-campo { margin-top: 1.1rem; max-width: 240px; }
.produto-info .qtd-rotulo { margin-bottom: 0.3rem; color: var(--texto-suave); font-size: 0.85rem; }
.qtd {
  display: flex;
  align-items: center;
  height: 42px;
  background: rgba(7, 17, 14, 0.7);
  border: 1px solid var(--linha);
  border-radius: 999px;
  overflow: hidden;
}
.qtd button {
  flex: 0 0 46px;
  height: 100%;
  background: none;
  border: none;
  color: var(--texto);
  font: 500 1.3rem/1 var(--sans);
  cursor: pointer;
}
.qtd button:hover { color: var(--ambar); }
.qtd input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: none;
  border: none;
  color: var(--texto);
  font: 700 1rem var(--sans);
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qtd input::-webkit-outer-spin-button,
.qtd input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cta .comprar-produto { margin-top: 1.5rem; }

/* Página de agradecimento */
.obrigado { margin-top: clamp(2rem, 6vw, 4rem); }
.obrigado .marca { display: inline-block; margin-bottom: 1rem; font-size: 1rem; }
.obrigado h1 {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.obrigado-intro { margin: 0.75rem 0 1.75rem; color: var(--texto-suave); max-width: 50ch; }
.passos { list-style: none; counter-reset: passo; display: grid; gap: 1.1rem; margin-bottom: 1.75rem; }
.passos li { position: relative; padding-left: 2.8rem; counter-increment: passo; }
.passos li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ambar);
  color: #1A0F05;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(255, 181, 71, 0.45);
}
.passos strong { display: block; }
.passos span { display: block; color: var(--texto-suave); font-size: 0.97rem; }
.obrigado-dica {
  padding: 1.1rem 1.2rem;
  border: 1.5px dashed rgba(63, 165, 107, 0.55);
  border-radius: 18px;
  background: radial-gradient(90% 120% at 0% 100%, rgba(63, 165, 107, 0.12), transparent 60%), var(--vidro);
  color: var(--texto-suave);
}
.obrigado-dica-titulo { font-weight: 700; color: var(--texto); }
.obrigado-duvida { margin: 1.75rem 0 0.75rem; color: var(--texto-suave); }
.obrigado-acoes { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Selo de frete grátis */
.frete-selo,
.produto-info > p.frete-selo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: none;
  margin-top: 0.7rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border: 1px solid rgba(111, 211, 154, 0.55);
  border-radius: 999px;
  background: rgba(63, 165, 107, 0.16);
  color: #8BE3B0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 0 16px rgba(63, 165, 107, 0.22);
}
.frete-selo svg {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Carrossel de fotos */
.carrossel { min-width: 0; }
.carrossel-trilho {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 28px;
  box-shadow: 0 0 0 1px var(--borda-ambar), 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}
.carrossel-trilho::-webkit-scrollbar { display: none; }
.carrossel-foto { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.carrossel .carrossel-foto img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.carrossel-foto { position: relative; }
.carrossel-legenda {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1rem 0.7rem;
  background: linear-gradient(to top, rgba(7, 17, 14, 0.85), transparent);
  color: var(--creme);
  font-size: 0.85rem;
  text-align: center;
}
.carrossel-seta {
  position: absolute;
  top: calc(50% - 1.7rem);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--linha);
  border-radius: 50%;
  background: rgba(7, 17, 14, 0.65);
  backdrop-filter: blur(6px);
  color: var(--creme);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.carrossel-seta:hover { color: var(--ambar); border-color: var(--ambar); }
.carrossel-seta svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carrossel-anterior { left: 0.75rem; }
.carrossel-proxima { right: 0.75rem; }
.carrossel-pontos { display: flex; justify-content: center; gap: 0.25rem; margin-top: 0.5rem; }
.carrossel-pontos button {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.carrossel-pontos button::before {
  content: '';
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  margin: auto;
  border-radius: 50%;
  background: rgba(243, 233, 216, 0.3);
  transition: background-color 0.2s ease;
}
.carrossel-pontos button[aria-current]::before { background: var(--ambar); box-shadow: 0 0 8px rgba(255, 181, 71, 0.7); }
.uma-foto .carrossel-seta,
.uma-foto .carrossel-pontos { display: none; }
