/* ==========================================================================
   emanujaff Links BR — "encarte premium"
   Papel claro, tinta preta, laranja-promoção para desconto, amarelo-etiqueta para cupom.
   Mobile primeiro. Claro por padrão; escuro quando o visitante escolhe (data-tema="escuro").
   ========================================================================== */

:root {
  color-scheme: light;
  --paper: #F6F3ED;
  --surface: #FFFFFF;
  --surface-2: #FBF9F5;
  --ink: #16140F;
  --ink-2: #4E4940;
  --ink-3: #8A8377;
  --line: #E8E2D7;
  --line-2: #D8CFC0;

  --hot: #FF4A1C;
  --hot-2: #E43A10;
  --hot-soft: #FFE9E1;
  --sticker: #FFD60A;
  --sticker-2: #F5C400;
  --sticker-ink: #1C1700;
  --ok: #0E8F52;

  --wa: #1FAF55;
  --tg: #229ED9;
  --xc: #16140F;
  --ig: #D62976;
  --tt: #16140F;

  --ml: #FFE600;
  --amz: #FF9900;
  --shp: #EE4D2D;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;

  --sh-1: 0 1px 2px rgba(22, 20, 15, .05), 0 2px 8px -2px rgba(22, 20, 15, .06);
  --sh-2: 0 18px 40px -18px rgba(22, 20, 15, .28);
  --sh-hot: 0 12px 28px -10px rgba(255, 74, 28, .55);

  --f-disp: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-txt: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --larg: 1240px;
  --topo-h: 64px;

  /* compatibilidade com o admin */
  --txt: var(--ink);
  --mut: var(--ink-3);
  --err: #D23A1E;
  --card: var(--surface);
  --azul: var(--hot);
}

:root[data-tema="escuro"] {
  color-scheme: dark;
  --paper: #121110;
  --surface: #1B1917;
  --surface-2: #171513;
  --ink: #F5F1E8;
  --ink-2: #C9C2B5;
  --ink-3: #8F887C;
  --line: #2B2824;
  --line-2: #3B3731;
  --hot-soft: #3B1A10;
  --xc: #F5F1E8;
  --tt: #F5F1E8;
  --ok: #3DCB86;
  --sh-1: 0 1px 0 rgba(255, 255, 255, .03);
  --sh-2: 0 18px 40px -18px rgba(0, 0, 0, .7);
}

/* ----------------------------- Base ----------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--f-txt);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-disp); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
s { text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 2px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.pular:focus { left: 8px; }

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

/* ----------------------------- Marca ----------------------------- */

.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-disp); flex: none; }
.marca { width: 34px; height: 34px; transform: rotate(-8deg); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .marca { transform: rotate(6deg) scale(1.06); }
.logo-txt { font-weight: 800; font-size: 21px; letter-spacing: -.04em; }
.logo-tag {
  font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 3px 7px 2px; border-radius: 6px; margin-left: 1px;
}

/* ----------------------------- Topo ----------------------------- */

.topo {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topo-in {
  max-width: var(--larg); margin: 0 auto; height: var(--topo-h);
  display: flex; align-items: center; gap: 14px; padding: 0 16px;
}
.topo-nav { display: none; gap: 4px; }
.topo-nav a {
  font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 999px;
  transition: background .15s, color .15s;
}
.topo-nav a:hover { background: var(--surface); color: var(--ink); }
.topo-nav a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: var(--sh-1); }

.topo-busca {
  display: none; position: relative; flex: 1; max-width: 420px; margin-left: auto;
}
.topo-busca .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.topo-busca input {
  width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); padding: 0 16px 0 42px; font: 500 15px var(--f-txt); outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.topo-busca input::placeholder { color: var(--ink-3); }
.topo-busca input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent); }

.topo-lupa {
  margin-left: auto; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface); display: grid; place-items: center;
}
.topo-lupa .ico { width: 20px; height: 20px; }
.topo-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.topo-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.topo-cta .ico { width: 20px; height: 20px; }
.topo-cta span { display: none; }

/* botão de tema (sol/lua) */
.topo-tema {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-2); flex: none;
  background: var(--surface); display: grid; place-items: center; color: var(--ink);
  transition: border-color .15s, transform .2s;
}
.topo-tema:hover { border-color: var(--ink); }
.topo-tema:active { transform: scale(.94); }
.topo-tema .ico { width: 20px; height: 20px; grid-area: 1 / 1; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1), opacity .2s; }
.topo-tema .ico-lua { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-tema="escuro"] .topo-tema .ico-sol { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-tema="escuro"] .topo-tema .ico-lua { opacity: 1; transform: none; }
html.trocando-tema, html.trocando-tema *, html.trocando-tema *::before, html.trocando-tema *::after {
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .35s cubic-bezier(.3, 1.5, .5, 1), opacity .2s !important;
}

/* celular: cabeçalho mais compacto para caber logo + busca + tema + WhatsApp */
@media (max-width: 719px) {
  .topo-in { gap: 8px; padding: 0 12px; }
  .topo-lupa, .topo-tema, .topo-cta { width: 40px; height: 40px; }
  .topo-cta { padding: 0; justify-content: center; }
  .logo { gap: 6px; }
  .marca { width: 30px; height: 30px; }
  .logo-txt { font-size: 19px; }
  .logo-tag { font-size: 10px; padding: 3px 6px 2px; }
}
@media (max-width: 350px) {
  .logo-tag { display: none; }
}

/* busca aberta no celular */
body.busca-aberta .topo-busca { display: block; position: absolute; left: 12px; right: 12px; top: 11px; max-width: none; z-index: 2; }
body.busca-aberta .topo-busca input { box-shadow: var(--sh-2); }

@media (min-width: 720px) {
  .topo-nav { display: flex; }
  .topo-busca { display: block; }
  .topo-lupa { display: none; }
  .topo-cta span { display: inline; }
}

/* ----------------------------- Selos e preços ----------------------------- */

.loja { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.loja i, .pingo { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.loja-mercadolivre i, .pingo.loja-mercadolivre { background: var(--ml); }
.loja-amazon i, .pingo.loja-amazon { background: var(--amz); }
.loja-shopee i, .pingo.loja-shopee { background: var(--shp); }
.loja-generico i { background: var(--ink-3); }

.tempo { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tempo .ico { width: 14px; height: 14px; }

.por { font-family: var(--f-disp); font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1; }
.por .rs { font-size: .5em; font-weight: 700; margin-right: .12em; letter-spacing: 0; vertical-align: .55em; }
.por .cent { font-size: .55em; font-weight: 700; vertical-align: .5em; letter-spacing: -.01em; }
.de { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }

/* etiqueta de desconto: formato de etiqueta com furo */
.off {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font: 800 14px/1 var(--f-disp); letter-spacing: -.02em; color: #fff; background: var(--hot);
  padding: 7px 10px 6px 18px; border-radius: 6px;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
  box-shadow: var(--sh-hot);
}
.off::before { content: ''; position: absolute; left: 7px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #fff; opacity: .95; }
.pilula { display: inline-flex; align-items: center; font: 800 14px/1 var(--f-disp); color: #fff; background: var(--hot); padding: 6px 9px 5px; border-radius: 999px; }

/* ----------------------------- Hero ----------------------------- */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 90% -10%, color-mix(in srgb, var(--hot) 16%, transparent), transparent 70%),
    radial-gradient(500px 260px at -10% 110%, color-mix(in srgb, var(--sticker) 22%, transparent), transparent 70%);
}
.hero-in { position: relative; max-width: var(--larg); margin: 0 auto; padding: 28px 16px 30px; display: grid; gap: 28px; }
.aovivo {
  display: inline-flex; align-items: center; gap: 0; font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); padding: 6px 12px 6px 10px; border-radius: 999px; box-shadow: var(--sh-1);
}
.aovivo strong { color: var(--ink); }
.aovivo i { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); position: relative; margin-right: 9px; }
.aovivo strong { margin: 0 .25em; }
.aovivo i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--hot); animation: pulso 1.8s ease-out infinite; }
@keyframes pulso { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

.hero h1 { font-size: clamp(34px, 9.4vw, 66px); font-weight: 800; letter-spacing: -.045em; margin: 16px 0 12px; text-wrap: balance; }
.hero h1 em, .topo-pagina h1 em {
  font-style: normal; color: var(--hot); position: relative; white-space: nowrap;
}
.hero-sub { color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.hero-meta { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.hero-meta .ico { width: 15px; height: 15px; }

/* canais estilo link da bio */
.canais { display: grid; gap: 10px; margin-top: 22px; max-width: 460px; }
.canal {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-1); transition: transform .18s cubic-bezier(.3, 1.5, .6, 1), border-color .18s, box-shadow .18s;
}
.canal:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.canal:active { transform: translateY(0) scale(.99); }
.canal-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex: none; }
.canal-ico .ico { width: 24px; height: 24px; }
.canal-txt { display: grid; flex: 1; min-width: 0; }
.canal-txt strong { font-weight: 700; font-size: 16px; }
.canal-txt small { color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.canal-seta { color: var(--ink-3); transition: transform .18s, color .18s; }
.canal:hover .canal-seta { transform: translateX(3px); color: var(--ink); }
.canal-whatsapp .canal-ico { background: var(--wa); }
.canal-telegram .canal-ico { background: var(--tg); }
.canal-x .canal-ico { background: var(--xc); color: var(--paper); }
.canal-instagram .canal-ico { background: linear-gradient(45deg, #F9A13A, #E1306C 55%, #7B3FE4); }
.canal-tiktok .canal-ico { background: var(--tt); color: var(--paper); }
.canal-principal { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.canal-principal .canal-txt small { color: color-mix(in srgb, var(--paper) 65%, transparent); }
.canal-principal .canal-seta, .canal-principal:hover .canal-seta { color: var(--paper); }

.canal-bola {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  transition: transform .18s cubic-bezier(.3, 1.6, .6, 1);
}
.canal-bola:hover { transform: translateY(-2px) scale(1.05); }
.canal-bola .ico { width: 22px; height: 22px; }
.canal-bola.canal-whatsapp { background: var(--wa); }
.canal-bola.canal-telegram { background: var(--tg); }
.canal-bola.canal-x { background: var(--xc); color: var(--paper); }
.canal-bola.canal-instagram { background: linear-gradient(45deg, #F9A13A, #E1306C 55%, #7B3FE4); }
.canal-bola.canal-tiktok { background: var(--tt); color: var(--paper); }

/* vitrine de etiquetas (desktop) */
.hero-vitrine { display: none; position: relative; min-height: 420px; }
.vit {
  position: absolute; width: 236px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px; box-shadow: var(--sh-2); display: grid; gap: 8px;
  transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), z-index 0s;
}
.vit-img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: block; }
.vit-img img { width: 100%; height: 100%; object-fit: cover; }
.vit-off { position: absolute; top: 18px; left: 18px; font: 800 20px/1 var(--f-disp); color: #fff; background: var(--hot); padding: 8px 11px 7px; border-radius: 8px; box-shadow: var(--sh-hot); }
.vit-nome { font-size: 13px; font-weight: 600; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; padding: 0 4px; }
.vit-preco { font-family: var(--f-disp); font-weight: 800; font-size: 30px; letter-spacing: -.035em; padding: 0 4px 4px; line-height: 1; }
.vit-preco .rs { font-size: .5em; vertical-align: .55em; margin-right: .1em; }
.vit-preco .cent { font-size: .55em; vertical-align: .5em; }
.vit-0 { top: 10px; right: 170px; transform: rotate(-7deg); z-index: 1; }
.vit-1 { top: 70px; right: 10px; transform: rotate(5deg); z-index: 2; }
.vit-2 { top: 190px; right: 250px; transform: rotate(3deg); z-index: 3; }
.vit:hover { transform: rotate(0) translateY(-8px) scale(1.03); z-index: 5; }

@media (min-width: 980px) {
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: center; padding: 56px 24px 60px; }
  .hero-vitrine { display: block; }
}

/* ----------------------------- Seções ----------------------------- */

main { display: block; }
.faixa { padding: 30px 0 0; }
.faixa .sec-cab { max-width: var(--larg); margin-left: auto; margin-right: auto; }
.catalogo { max-width: var(--larg); margin: 0 auto; }
.catalogo { padding: 34px 16px 40px; }
.sec-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 0 16px; }
.catalogo .sec-cab { padding: 0; }
.sec-cab h2 { font-size: 22px; font-weight: 800; letter-spacing: -.035em; display: flex; align-items: center; gap: 8px; }
.sec-cab h2 .ico { width: 22px; height: 22px; color: var(--hot); }
@media (min-width: 720px) { .sec-cab h2 { font-size: 28px; } .sec-cab h2 .ico { width: 26px; height: 26px; } }
.sec-cab p { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.sec-mais { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; padding: 8px 2px; }
.sec-mais .ico { width: 16px; height: 16px; transition: transform .15s; }
.sec-mais:hover .ico { transform: translateX(3px); }

/* trilho horizontal com snap */
.trilho {
  display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  --lado: max(16px, calc((100vw - var(--larg)) / 2 + 16px));
  padding: 4px var(--lado) 18px; scroll-padding: 0 var(--lado); scrollbar-width: none;
}
.trilho::-webkit-scrollbar { display: none; }
.trilho > * { scroll-snap-align: start; }
.trilho-cupons { grid-auto-columns: 300px; }
@media (min-width: 720px) {
  .trilho { grid-auto-columns: 214px; gap: 16px; }
  .trilho-cupons { grid-auto-columns: 340px; }
}

/* barra de filtros */
.barra {
  position: sticky; top: var(--topo-h); z-index: 20; margin: 0 -16px 18px; padding: 10px 16px;
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.barra::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: 8px; flex: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip.ativo { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-n { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
.ordem { display: inline-flex; flex: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.ordem::before { content: ''; }
.ordem a { font-size: 13px; font-weight: 600; color: var(--ink-3); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.ordem a:hover { color: var(--ink); }
.ordem a.ativo { background: var(--hot-soft); color: var(--hot-2); }
[data-tema="escuro"] .ordem a.ativo { color: #FF8A66; }
@media (min-width: 720px) {
  .barra { justify-content: space-between; overflow: visible; }
}
.busca-info { margin: -6px 0 16px; font-size: 14px; color: var(--ink-3); }
.busca-info a { color: var(--hot-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------- Card de oferta ----------------------------- */

.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 980px) { .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grade { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.oc {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh-1); transition: transform .2s cubic-bezier(.3, 1.4, .6, 1), box-shadow .2s, border-color .2s;
}
.oc:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.oc:active { transform: translateY(-1px) scale(.995); }
.oc-img { position: relative; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.oc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.oc:hover .oc-img img { transform: scale(1.05); }
.oc-sem-foto { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-2); }
.oc-sem-foto .ico { width: 44%; height: 44%; stroke-width: 1.2; }
.oc-corpo { display: flex; flex-direction: column; gap: 6px; padding: 10px 11px 12px; flex: 1; }
.oc-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.oc-meta .loja { overflow: hidden; text-overflow: ellipsis; }
.oc-chamada {
  font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--hot-2);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
[data-tema="escuro"] .oc-chamada { color: #FF8A66; }
.oc-nome {
  font-family: var(--f-txt); font-weight: 600; font-size: 14px; line-height: 1.3; letter-spacing: 0; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.oc-precos { display: flex; flex-direction: column; gap: 1px; margin-top: auto; padding-top: 4px; }
.oc-precos .por { font-size: 25px; }
.oc-ver { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.oc-cupom {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
  font: 700 11px/1 var(--f-txt); letter-spacing: .03em; color: var(--sticker-ink); background: var(--sticker);
  padding: 5px 8px 5px 6px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.oc-cupom .ico { width: 14px; height: 14px; }
@media (min-width: 720px) {
  .oc-corpo { padding: 12px 14px 14px; gap: 7px; }
  .oc-nome { font-size: 15px; }
  .oc-precos .por { font-size: 28px; }
}
.oc-trilho .oc-nome { font-size: 13px; }
.oc-trilho .oc-precos .por { font-size: 24px; }

/* ----------------------------- Ticket de cupom ----------------------------- */

.grade-cupons { display: grid; gap: 12px; }
@media (min-width: 720px) { .grade-cupons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .grade-cupons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tk {
  --furo: 11px;
  position: relative; display: grid; grid-template-columns: 96px 1fr; min-height: 132px;
  filter: drop-shadow(0 1px 0 rgba(22, 20, 15, .07)) drop-shadow(0 3px 4px rgba(22, 20, 15, .04));
}
.tk-esq, .tk-dir { background: var(--surface); }
.tk-esq {
  background: var(--sticker); color: var(--sticker-ink); border-radius: var(--r) 0 0 var(--r);
  display: grid; place-content: center; text-align: center; padding: 10px 6px;
  -webkit-mask: radial-gradient(circle var(--furo) at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--furo) at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--furo) at 100% 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--furo) at 100% 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.tk-esq strong { font: 800 30px/.95 var(--f-disp); letter-spacing: -.05em; }
.tk-esq small { font: 800 12px/1 var(--f-disp); letter-spacing: .14em; margin-top: 4px; }
.tk-ico { width: 34px; height: 34px; margin: 0 auto; }
.tk-dir {
  position: relative; border-radius: 0 var(--r) var(--r) 0; padding: 12px 14px 12px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  -webkit-mask: radial-gradient(circle var(--furo) at 0 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--furo) at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--furo) at 0 0, transparent 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--furo) at 0 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.tk-dir::before { content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; border-left: 2px dashed var(--line-2); }
.tk-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tk-codigo {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  border: 1.5px dashed var(--line-2); background: var(--surface-2); border-radius: 10px; padding: 8px 8px 8px 12px;
  transition: border-color .15s, background .15s;
}
.tk-codigo:hover { border-color: var(--ink); }
.tk-codigo code { font: 800 16px/1.1 var(--f-disp); letter-spacing: .02em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-copiar {
  display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 13px; font-weight: 700;
  background: var(--ink); color: var(--paper); padding: 6px 10px; border-radius: 8px;
}
.tk-copiar em { font-style: normal; }
.tk-copiar .ico { width: 15px; height: 15px; }
.copiado .tk-copiar { background: var(--ok); color: #fff; }
.tk-sem { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.tk-pe { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; font-size: 12px; color: var(--ink-3); }
.tk-pe span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-resgatar { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--hot-2); white-space: nowrap; font-size: 13px; }
.tk-resgatar .ico { width: 14px; height: 14px; }
.tk[hidden] { display: none; }
@media (max-width: 430px) { .tk-copiar em { display: none; } .tk-copiar { padding: 8px; } .tk { grid-template-columns: 86px 1fr; } .tk-esq strong { font-size: 26px; } }
@media (min-width: 720px) { .tk-codigo code { font-size: 18px; } }

/* ----------------------------- Página de oferta ----------------------------- */

.of { max-width: 1120px; margin: 0 auto; padding: 14px 16px 40px; }
.migalha { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.migalha a { font-weight: 600; color: var(--ink-2); }
.migalha a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.of-grid { display: grid; gap: 20px; }
.of-foto {
  position: relative; margin: 0; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1);
}
.of-foto img { width: 100%; height: 100%; object-fit: cover; }
.off-grande { top: 16px; left: 16px; font-size: 22px; padding: 10px 14px 9px 24px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.off-grande::before { left: 9px; width: 7px; height: 7px; margin-top: -3.5px; }
.of-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.of-chamada { font: 700 13px/1.3 var(--f-txt); letter-spacing: .03em; text-transform: uppercase; color: var(--hot-2); margin-top: 4px; }
[data-tema="escuro"] .of-chamada { color: #FF8A66; }
.of-info h1 { font-size: clamp(24px, 6vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.of-caixa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 14px; box-shadow: var(--sh-1); margin-top: 6px; }
.of-precos { display: grid; gap: 4px; }
.of-precos .de { font-size: 15px; }
.of-por { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.of-por .por { font-size: clamp(46px, 13vw, 60px); }
.of-por .pilula { font-size: 17px; padding: 8px 12px 7px; }
.economia { display: flex; align-items: center; gap: 0; color: var(--ok); font-weight: 600; font-size: 15px; }
.economia .ico { width: 18px; height: 18px; stroke-width: 2.4; margin-right: 6px; }
.economia strong { margin-left: .3em; }
.of-sem-preco { font-weight: 600; color: var(--ink-2); }

.of-cupom {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "rot bot" "cod bot"; align-items: center; gap: 2px 12px;
  width: 100%; text-align: left; background: var(--sticker); color: var(--sticker-ink); border: 0; border-radius: 14px; padding: 12px 12px 12px 16px;
  position: relative; transition: transform .15s;
}
.of-cupom:hover { transform: translateY(-1px); }
.of-cupom-rot { grid-area: rot; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.of-cupom-rot .ico { width: 16px; height: 16px; }
.of-cupom code { grid-area: cod; font: 800 24px/1.1 var(--f-disp); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; }
.of-cupom .tk-copiar { grid-area: bot; background: var(--sticker-ink); color: var(--sticker); padding: 10px 13px; font-size: 14px; }
.of-cupom.copiado .tk-copiar { background: var(--ok); color: #fff; }
.of-aviso { font-size: 14px; background: var(--hot-soft); color: var(--ink); border-radius: 12px; padding: 10px 12px; }

.btn-ir {
  display: flex; align-items: center; justify-content: center; gap: 0; min-height: 58px; padding: 0 22px; border-radius: 16px;
  background: var(--hot); color: #fff; font: 700 18px/1.2 var(--f-txt); text-align: center;
  box-shadow: var(--sh-hot); transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-ir:hover { background: var(--hot-2); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(255, 74, 28, .6); }
.btn-ir:active { transform: translateY(0) scale(.99); }
.btn-ir .ico { width: 22px; height: 22px; margin-left: 10px; transition: transform .15s; }
@media (max-width: 430px) { .of-caixa .btn-loja { display: none; } }
.btn-ir:hover .ico { transform: translateX(3px); }

.of-garantias { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.of-garantias li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.of-garantias .ico { width: 17px; height: 17px; color: var(--ok); margin-top: 1px; }
.of-acoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.acao:hover { border-color: var(--ink); transform: translateY(-1px); }
.acao .ico { width: 19px; height: 19px; }
.acao-wa .ico { color: var(--wa); }
.acao-story {
  grid-column: 1 / -1; height: 52px; border: 0; color: #fff; font-size: 15px; font-weight: 700;
  background: linear-gradient(100deg, #F9A13A, #E1306C 50%, #7B3FE4);
}
.acao-story:hover { filter: brightness(1.06); }
.acao-story .ico { width: 21px; height: 21px; color: #fff; }
.acao-story.carregando { opacity: .7; cursor: progress; }
.acao-story.carregando span::after { content: '…'; }

/* diálogo do story */
.story-dlg { border: 0; padding: 0; background: transparent; max-width: min(860px, calc(100vw - 24px)); width: 100%; color: var(--ink); }
.story-dlg::backdrop { background: rgba(10, 9, 8, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.story-caixa {
  position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 18px;
  display: grid; gap: 18px; max-height: calc(100dvh - 24px); overflow: auto; box-shadow: var(--sh-2);
}
.story-fechar {
  position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; z-index: 2;
  background: var(--paper); font-size: 26px; line-height: 1; color: var(--ink);
}
.story-previa { width: 100%; max-width: 250px; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 16px; box-shadow: var(--sh-2); background: var(--paper); }
.story-lado { display: grid; gap: 14px; align-content: start; }
.story-lado h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; padding-right: 40px; }
.story-passos { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.story-passos strong { color: var(--ink); }
.story-botoes { display: grid; gap: 10px; }
.story-botoes .btn-ir { min-height: 54px; font-size: 16px; border: 0; background: linear-gradient(100deg, #F9A13A, #E1306C 50%, #7B3FE4); box-shadow: 0 12px 28px -12px rgba(225, 48, 108, .6); }
.story-botoes .btn-ir .ico { margin-left: 0; }
.story-botoes .acao { width: 100%; }
.gira { transform: rotate(90deg); }
.story-dlg:not(.sem-share) .so-baixar { display: none; }
.sem-share .story-passos li:first-child { display: none; }
@media (min-width: 720px) {
  .story-caixa { grid-template-columns: 300px 1fr; padding: 24px; gap: 28px; align-items: center; }
  .story-previa { max-width: 300px; }
}

.of-detalhes { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
.of-detalhes h2 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.of-detalhes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.of-detalhes li { color: var(--ink-2); font-size: 15px; padding: 9px 0; border-top: 1px dashed var(--line); }
.of-detalhes li:first-child { border-top: 0; padding-top: 2px; }

.receba {
  margin-top: 26px; border-radius: var(--r-lg); padding: 22px 18px; background: var(--ink); color: var(--paper);
  display: grid; gap: 12px; position: relative; overflow: hidden;
}
.receba::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hot) 45%, transparent), transparent 70%); pointer-events: none; }
.receba-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--hot); display: grid; place-items: center; color: #fff; }
.receba-ico .ico { width: 24px; height: 24px; }
.receba h2 { font-size: 26px; font-weight: 800; letter-spacing: -.035em; }
.receba-txt p { color: color-mix(in srgb, var(--paper) 72%, transparent); margin-top: 6px; }
.receba .canais { margin-top: 4px; position: relative; z-index: 1; }
.receba .canal { background: color-mix(in srgb, var(--paper) 8%, transparent); border-color: color-mix(in srgb, var(--paper) 14%, transparent); color: var(--paper); box-shadow: none; }
.receba .canal:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); }
.receba .canal-txt small { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.receba .canal-seta { color: color-mix(in srgb, var(--paper) 60%, transparent); }
.receba .canal-principal { background: var(--paper); color: var(--ink); }
.receba .canal-principal .canal-txt small { color: var(--ink-3); }
.receba .canal-principal .canal-seta { color: var(--ink); }
.faixa-rel { padding-top: 34px; margin: 0 calc(50% - 50vw); }

/* barra fixa "Ir para a oferta" no celular */
.barra-ir {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease;
}
.barra-ir.visivel { transform: none; }
.barra-ir-preco { display: flex; align-items: center; gap: 8px; min-width: 0; }
.barra-ir-preco .por { font-size: 28px; }
.barra-ir-preco .pilula { font-size: 13px; padding: 5px 8px 4px; }
.barra-ir .btn-ir { flex: 1; min-height: 50px; font-size: 16px; }
.pg-oferta .rodape { padding-bottom: 96px; }

@media (min-width: 860px) {
  .of { padding-top: 22px; }
  .of-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .of-foto { position: sticky; top: calc(var(--topo-h) + 20px); }
  .receba { grid-template-columns: auto 1fr; align-items: center; padding: 30px; gap: 18px 20px; }
  .receba .canais { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: none; }
  .barra-ir { display: none; }
  .pg-oferta .rodape { padding-bottom: 0; }
}

/* ----------------------------- Topo das páginas internas ----------------------------- */

.topo-pagina { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.topo-pagina::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 240px at 100% 0, color-mix(in srgb, var(--sticker) 30%, transparent), transparent 70%); pointer-events: none; }
.topo-pagina-in { position: relative; max-width: var(--larg); margin: 0 auto; padding: 30px 16px 28px; }
.topo-pagina h1 { font-size: clamp(38px, 10vw, 60px); font-weight: 800; letter-spacing: -.045em; margin: 14px 0 10px; }
.topo-pagina h1 em { color: var(--ink); background: var(--sticker); padding: 0 .14em; border-radius: .12em; }
.topo-pagina p:not(.aovivo) { color: var(--ink-2); max-width: 52ch; }
@media (min-width: 980px) { .topo-pagina-in { padding: 48px 24px 42px; } }

/* ----------------------------- Paginação, vazio, erro ----------------------------- */

.paginas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; color: var(--ink-3); font-size: 14px; }
.pag-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.pag-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.pag-btn .ico { width: 18px; height: 18px; }
.pag-mais { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.vazio { text-align: center; padding: 50px 16px; max-width: 460px; margin: 0 auto; }
.vazio-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: inline-grid; place-items: center; color: var(--ink-3); margin-bottom: 14px; }
.vazio-ico .ico { width: 28px; height: 28px; }
.vazio h3 { font-size: 22px; margin-bottom: 8px; }
.vazio p { color: var(--ink-2); }
.vazio-canais { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }

.erro { max-width: 520px; margin: 0 auto; padding: 60px 16px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.erro-marca .marca { width: 88px; height: 88px; }
.erro h1 { font-size: 38px; font-weight: 800; letter-spacing: -.04em; }
.erro p { color: var(--ink-2); }
.erro .btn-ir { width: 100%; max-width: 360px; margin-top: 6px; }
.canais-centro { width: 100%; margin: 10px auto 0; text-align: left; }

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

.rodape { border-top: 1px solid var(--line); background: var(--surface-2); margin-top: 20px; }
.rodape-in { max-width: var(--larg); margin: 0 auto; padding: 36px 16px 10px; display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.rodape-marca { grid-column: 1 / -1; display: grid; gap: 12px; justify-items: start; }
.rodape-marca p { color: var(--ink-2); max-width: 40ch; }
.rodape-canais { display: flex; gap: 10px; flex-wrap: wrap; }
.rodape-links { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.rodape-links strong { font-family: var(--f-disp); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 2px; }
.rodape-links a { color: var(--ink-2); }
.rodape-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rodape-aviso { max-width: var(--larg); margin: 0 auto; padding: 18px 16px; font-size: 12px; line-height: 1.6; color: var(--ink-3); border-top: 1px solid var(--line); }
.rodape-copy { max-width: var(--larg); margin: 0 auto; padding: 0 16px 28px; font-size: 12px; color: var(--ink-3); }
@media (min-width: 860px) {
  .rodape-in { grid-template-columns: 2fr 1fr 1fr; padding: 48px 24px 18px; }
  .rodape-marca { grid-column: auto; }
  .rodape-aviso, .rodape-copy { padding-left: 24px; padding-right: 24px; }
}

/* ----------------------------- Aviso "copiado" ----------------------------- */

.aviso-flutuante {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); font-weight: 600; font-size: 14px; padding: 11px 16px; border-radius: 999px; box-shadow: var(--sh-2);
  display: inline-flex; align-items: center; gap: 8px; transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), opacity .2s;
}
.aviso-flutuante .ico { width: 18px; height: 18px; color: var(--sticker); }
.aviso-flutuante.on { transform: translate(-50%, 0); opacity: 1; }
.pg-oferta .aviso-flutuante { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 860px) { .pg-oferta .aviso-flutuante { bottom: 24px; } }

/* ----------------------------- Compatibilidade: admin e instalador ----------------------------- */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.filtro { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2); }
.filtro:hover { border-color: var(--ink); color: var(--ink); }
.filtro.ativo { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 15px; cursor: pointer; }
.ver-oferta { background: var(--hot); color: #fff; }
.ver-oferta:hover { background: var(--hot-2); }
.pag { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.muted, .mini { color: var(--ink-3); }
