/* =====================================================================
   Acesso Prime — Design System
   Marketplace limpo: branco arejado, energia no amarelo, estrutura no
   preto. Um CTA por bloco. Verde só quando pagou.
   ===================================================================== */

:root {
  /* superfícies */
  --bg-base: #FFFFFF;
  --bg-soft: #F7F7F5;
  --bg-wash: #FFFBEC;
  --surface: #FFFFFF;
  --hairline: #ECEBE7;

  /* texto */
  --ink: #1A1A1A;
  --ink-muted: #6B6B70;

  /* marca */
  --prime: #FFC01E;
  --prime-deep: #B8860B;
  --prime-ink: #1A1A1A;

  /* status */
  --status-paid: #12A150;
  --status-pending: #6B6B70;
  --status-expired: #9AA0A6;
  --status-error: #D93036;

  /* raios */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;

  /* sombras */
  --shadow-card: 0 4px 20px rgba(26, 26, 26, .06);
  --shadow-hover: 0 8px 24px rgba(26, 26, 26, .08);

  /* fontes */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  /* escala tipográfica */
  --t-caption: 12px;
  --t-body-sm: 14px;
  --t-body: 16px;
  --t-lead: 20px;
  --t-h3: 22px;
  --t-h2: 28px;
  --t-h1: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

/* O atributo hidden deve vencer qualquer display definido depois.
   Sem isto, um elemento com display:flex ignora o hidden e aparece. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--prime-deep);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------
   TIPOGRAFIA
   --------------------------------------------------------------------- */
.h1 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--t-h1);
  line-height: 1.1; letter-spacing: -.015em; margin: 0;
}
.h2 {
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-h2);
  line-height: 1.15; letter-spacing: -.01em; margin: 0;
}
.h3 {
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-h3);
  line-height: 1.15; margin: 0;
}
.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: var(--t-caption);
  letter-spacing: .06em; color: var(--prime-deep); text-transform: uppercase;
}
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-muted); }

/* ---------------------------------------------------------------------
   BOTÕES  (nunca pill — pill é só o badge de status)
   --------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: var(--t-body-sm);
  border-radius: var(--r-sm); padding: 12px 20px; border: none;
  cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; text-align: center;
  transition: background .12s, box-shadow .12s, opacity .12s;
  line-height: 1.2;
}
.btn-primary { background: var(--prime); color: var(--prime-ink); }
.btn-primary:hover { background: #E9AE12; }
.btn-secondary {
  background: #fff; color: var(--ink); border: 1px solid var(--hairline);
}
.btn-secondary:hover { background: var(--bg-soft); }
.btn-ghost { background: transparent; color: var(--ink-muted); padding: 8px 12px; }
.btn-ghost:hover { color: var(--ink); background: var(--bg-soft); }
.btn-danger { background: #fff; color: var(--status-error); border: 1px solid var(--hairline); }
.btn-danger:hover { background: rgba(217, 48, 54, .06); }
.btn-lg { font-size: var(--t-body); padding: 15px 32px; }
.btn-sm { font-size: 13px; padding: 8px 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------------------------------------------------------------
   BARRA DE ANÚNCIO + HEADER
   --------------------------------------------------------------------- */
.announce {
  background: var(--ink); color: #fff; text-align: center;
  font-size: 12.5px; padding: 9px 16px;
}
.announce b { color: var(--prime); font-weight: 600; }

.site-header {
  border-bottom: 1px solid var(--hairline); background: #fff;
  position: sticky; top: 0; z-index: 50;
}
.header-in {
  display: flex; align-items: center; gap: 20px;
  padding: 12px 20px; max-width: 1180px; margin: 0 auto;
}
.logo-img { height: 34px; width: auto; flex-shrink: 0; }

.search {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: var(--bg-soft); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 0; min-width: 0;
}
.search input {
  flex: 1; border: 0; background: transparent; outline: none;
  padding: 11px 16px; font-family: var(--font-body); font-size: var(--t-body-sm);
  color: var(--ink); min-width: 0;
}
.search input::placeholder { color: var(--ink-muted); }
.search button {
  border: 0; background: transparent; cursor: pointer; padding: 11px 14px;
  color: var(--ink-muted); display: flex; align-items: center;
}
.search:focus-within { border-color: var(--prime-deep); }

.header-link {
  font-size: var(--t-body-sm); color: var(--ink-muted);
  font-weight: 500; white-space: nowrap;
}
.header-link:hover { color: var(--ink); }

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--bg-wash); text-align: center;
  padding: 72px 20px 64px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-image, none);
  background-size: cover; background-position: center;
  opacity: .85; pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero .eyebrow { margin-bottom: 18px; display: block; }
.hero .hl {
  background: var(--prime); color: var(--prime-ink);
  padding: 0 10px; border-radius: 3px; box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-sub {
  font-size: 17px; color: var(--ink-muted); max-width: 500px;
  margin: 20px auto 28px; line-height: 1.5;
}
.hero-cta { font-family: var(--font-display); font-weight: 700; font-size: var(--t-body); padding: 15px 38px; }
.hero-note {
  font-family: var(--font-mono); font-size: var(--t-caption);
  color: var(--ink-muted); margin-top: 16px; letter-spacing: .02em;
}

/* ---------------------------------------------------------------------
   SEÇÕES
   --------------------------------------------------------------------- */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}

/* ---------------------------------------------------------------------
   GRID + CARD DE PRODUTO
   --------------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.pcard {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform .12s, box-shadow .12s;
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.pcard-art {
  height: 150px; display: flex; align-items: center; justify-content: center;
  position: relative; background: var(--bg-soft); overflow: hidden;
}
.pcard-art img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.pcard-art .fallback {
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  color: var(--ink); opacity: .18; letter-spacing: -.02em;
}
.pcard-badge {
  position: absolute; top: 10px; left: 10px; background: var(--prime);
  color: var(--prime-ink); font-weight: 600; font-size: 11px;
  padding: 3px 8px; border-radius: var(--r-xs); z-index: 1;
}
.pcard-soldout {
  position: absolute; inset: 0; background: rgba(255, 255, 255, .82);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  color: var(--ink-muted); text-transform: uppercase; z-index: 2;
}
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard-name {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  margin-bottom: 8px; line-height: 1.25;
}
.pcard-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 12px; flex-wrap: wrap; }
.pcard-price .old { font-size: 13px; color: var(--ink-muted); text-decoration: line-through; }
.pcard-price .new { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.pcard-price .off { font-size: 12px; color: var(--status-paid); font-weight: 600; }
.pcard-stock {
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted);
  margin-bottom: 10px;
}
.pcard-body .btn { margin-top: auto; }

/* ---------------------------------------------------------------------
   CATEGORIAS
   --------------------------------------------------------------------- */
.cat-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); overflow: hidden; display: block;
  transition: transform .12s, box-shadow .12s;
}
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.cat-art {
  height: 120px; background: var(--bg-soft); display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.cat-art img { width: 100%; height: 100%; object-fit: cover; }
.cat-art .emoji { font-size: 40px; line-height: 1; }
.cat-body { padding: 12px 14px 14px; }
.cat-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.cat-count { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); margin-top: 4px; }

/* ---------------------------------------------------------------------
   FORMULÁRIOS
   --------------------------------------------------------------------- */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: var(--t-caption); color: var(--ink-muted);
  margin-bottom: 6px; font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 11px 12px;
  font-family: var(--font-body); font-size: var(--t-body-sm); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--prime-deep); outline-offset: 1px; border-color: transparent;
}
.field input[aria-invalid="true"] { border-color: var(--status-error); }
.field .hint { font-size: 11px; color: var(--ink-muted); margin-top: 5px; }
.field .err { font-size: 12px; color: var(--status-error); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.checkbox {
  display: flex; align-items: center; gap: 8px; font-size: var(--t-body-sm);
  cursor: pointer; margin-bottom: 10px;
}
.checkbox input { width: auto; margin: 0; accent-color: var(--prime-deep); }

/* ---------------------------------------------------------------------
   BADGE DE STATUS (único pill permitido)
   --------------------------------------------------------------------- */
.pill {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 999px; display: inline-flex;
  align-items: center; gap: 6px; white-space: nowrap;
}
.pill.paid { color: var(--status-paid); background: rgba(18, 161, 80, .12); }
.pill.pending { color: var(--status-pending); background: rgba(107, 107, 112, .12); }
.pill.expired { color: var(--status-expired); background: rgba(154, 160, 166, .15); }
.pill.error, .pill.failed { color: var(--status-error); background: rgba(217, 48, 54, .12); }
.pill.refunded { color: var(--status-expired); background: rgba(154, 160, 166, .15); }

/* ---------------------------------------------------------------------
   CARTÃO-RECIBO (assinatura da marca)
   --------------------------------------------------------------------- */
.receipt {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-card);
  overflow: hidden; max-width: 440px; margin: 0 auto;
}
.receipt.wide { max-width: 100%; }
.r-top { padding: 20px 24px; }
.r-top-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; gap: 12px;
}
.r-code { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.r-top h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0; }
.perf { border-top: 1px dashed var(--hairline); position: relative; margin: 0 24px; }
.perf::before, .perf::after {
  content: ""; position: absolute; top: -8px; width: 16px; height: 16px;
  background: var(--bg-base); border-radius: 50%;
}
.perf::before { left: -32px; }
.perf::after { right: -32px; }
.r-bot { padding: 20px 24px 24px; }
.r-lbl {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px;
}
.access {
  background: var(--bg-soft); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 12px 14px; display: flex;
  justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px;
}
.access code { font-family: var(--font-mono); font-size: 13px; word-break: break-all; }
.copy {
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-xs);
  padding: 6px 10px; font-size: 12px; cursor: pointer;
  font-family: var(--font-body); flex-shrink: 0; color: var(--ink);
}
.copy:hover { background: var(--bg-soft); }
.copy.done { color: var(--status-paid); border-color: rgba(18, 161, 80, .3); }
.backup { color: var(--ink-muted); font-size: 12px; }

/* ---------------------------------------------------------------------
   TIMER
   --------------------------------------------------------------------- */
.timer {
  font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted);
  display: flex; justify-content: space-between; align-items: center;
}
.timer .urgent { color: var(--status-error); font-weight: 500; }

/* ---------------------------------------------------------------------
   CHECKOUT — sempre claro
   --------------------------------------------------------------------- */
.checkout-page { background: var(--bg-soft); min-height: 100vh; padding: 32px 20px 56px; }
.checkout-col { max-width: 440px; margin: 0 auto; }
.checkout-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.checkout-logo img { height: 30px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 24px;
}
.card + .card { margin-top: 16px; }
.summary-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; font-size: var(--t-body-sm);
}
.summary-row.total {
  border-top: 1px solid var(--hairline); margin-top: 8px; padding-top: 14px;
  font-family: var(--font-display); font-weight: 800; font-size: var(--t-lead);
}
.qty-control { display: flex; align-items: center; gap: 0; }
.qty-control button {
  width: 38px; height: 40px; border: 1px solid var(--hairline);
  background: #fff; cursor: pointer; font-size: 18px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.qty-control button:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.qty-control button:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.qty-control input {
  width: 60px; height: 40px; text-align: center; border: 1px solid var(--hairline);
  border-left: 0; border-right: 0; font-family: var(--font-display);
  font-weight: 700; font-size: var(--t-body-sm); color: var(--ink);
}
.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted);
  margin-top: 20px; text-align: center; flex-wrap: wrap;
}

/* QR Code */
.qr-box { text-align: center; padding: 8px 0 4px; }
.qr-box img, .qr-box canvas {
  width: 220px; height: 220px; margin: 0 auto 14px;
  border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 10px;
  background: #fff;
}
.pix-code {
  background: var(--bg-soft); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); padding: 12px; font-family: var(--font-mono);
  font-size: 11px; word-break: break-all; max-height: 78px; overflow-y: auto;
  color: var(--ink-muted); line-height: 1.5;
}

/* Confirmação de pagamento */
.paid-flash {
  background: rgba(18, 161, 80, .1); border: 1px solid rgba(18, 161, 80, .25);
  border-radius: var(--r-md); padding: 16px; text-align: center;
  color: var(--status-paid); font-weight: 600; margin-bottom: 20px;
  animation: pulse 1.4s ease-in-out 2;
}
@keyframes pulse {
  0%, 100% { background: rgba(18, 161, 80, .1); }
  50% { background: rgba(18, 161, 80, .22); }
}

/* ---------------------------------------------------------------------
   FAIXA DE CONFIANÇA + RODAPÉ
   --------------------------------------------------------------------- */
.trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--bg-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 0; }
.trust-item { text-align: center; }
.trust-item .ico { font-size: 22px; margin-bottom: 8px; }
.trust-item .t { font-family: var(--font-display); font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.trust-item .d { font-size: 12px; color: var(--ink-muted); line-height: 1.45; }

.site-footer { border-top: 1px solid var(--hairline); padding: 40px 0 32px; background: #fff; }
.footer-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand img { height: 28px; margin-bottom: 10px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: var(--t-body-sm); color: var(--ink-muted); }
.footer-links a:hover { color: var(--ink); }
.footer-note { font-size: 12px; color: var(--ink-muted); margin-top: 20px; }
.footer-pay { margin-top: 14px; max-width: 260px; opacity: .85; }

/* ---------------------------------------------------------------------
   ALERTAS
   --------------------------------------------------------------------- */
.alert {
  border-radius: var(--r-sm); padding: 12px 14px; font-size: var(--t-body-sm);
  margin-bottom: 16px; border: 1px solid;
}
.alert-error { background: rgba(217, 48, 54, .06); border-color: rgba(217, 48, 54, .25); color: #A3242A; }
.alert-ok { background: rgba(18, 161, 80, .07); border-color: rgba(18, 161, 80, .25); color: #0C7A3C; }
.alert-warn { background: var(--bg-wash); border-color: rgba(184, 134, 11, .3); color: #7A5A08; }
.alert-info { background: var(--bg-soft); border-color: var(--hairline); color: var(--ink-muted); }

/* ---------------------------------------------------------------------
   CONTEÚDO RICH TEXT (descrição do produto)
   --------------------------------------------------------------------- */
.rich { font-size: var(--t-body); line-height: 1.65; color: var(--ink); }
.rich h1, .rich h2, .rich h3, .rich h4 {
  font-family: var(--font-display); font-weight: 700;
  margin: 28px 0 10px; line-height: 1.2;
}
.rich h1 { font-size: 26px; }
.rich h2 { font-size: 22px; }
.rich h3 { font-size: 18px; }
.rich p { margin: 0 0 14px; }
.rich ul, .rich ol { margin: 0 0 16px; padding-left: 22px; }
.rich li { margin-bottom: 7px; }
.rich a { color: var(--prime-deep); text-decoration: underline; }
.rich img { border-radius: var(--r-sm); margin: 14px 0; }
.rich blockquote {
  border-left: 3px solid var(--prime); padding: 4px 0 4px 16px;
  margin: 16px 0; color: var(--ink-muted);
}
.rich code { font-family: var(--font-mono); font-size: 13px; background: var(--bg-soft); padding: 2px 5px; border-radius: var(--r-xs); }
.rich pre { background: var(--bg-soft); padding: 14px; border-radius: var(--r-sm); overflow-x: auto; }
.rich table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: var(--t-body-sm); }
.rich th, .rich td { border: 1px solid var(--hairline); padding: 9px 12px; text-align: left; }
.rich th { background: var(--bg-soft); font-weight: 600; }

/* ---------------------------------------------------------------------
   PÁGINA DE PRODUTO
   --------------------------------------------------------------------- */
.product-hero { display: grid; grid-template-columns: 1fr 400px; gap: 48px; padding: 40px 0; align-items: start; }
.product-art {
  background: var(--bg-soft); border: 1px solid var(--hairline);
  border-radius: var(--r-md); height: 320px; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.product-art img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.buy-box {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-card);
  padding: 24px; position: sticky; top: 84px;
}
.price-big { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; }
.price-old { font-size: 15px; color: var(--ink-muted); text-decoration: line-through; }
.tier-table { width: 100%; border-collapse: collapse; font-size: var(--t-body-sm); margin: 14px 0; }
.tier-table th, .tier-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--hairline); }
.tier-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); font-weight: 500; }
.tier-table tr.active { background: var(--bg-wash); }
.tier-table .save { color: var(--status-paid); font-weight: 600; }

.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 16px 0; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 16px; list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; font-size: 20px; color: var(--ink-muted); flex-shrink: 0; }
details[open] .faq-q::after { content: "−"; }
.faq-a { padding: 0 0 18px; color: var(--ink-muted); font-size: var(--t-body-sm); line-height: 1.6; }

.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit .ico {
  width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--bg-wash);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.benefit .t { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.benefit .d { font-size: var(--t-body-sm); color: var(--ink-muted); line-height: 1.5; }

/* ---------------------------------------------------------------------
   ESTADO VAZIO
   --------------------------------------------------------------------- */
.empty { text-align: center; padding: 56px 20px; color: var(--ink-muted); }
.empty .ico { font-size: 36px; margin-bottom: 12px; opacity: .5; }
.empty .t { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.empty .d { font-size: var(--t-body-sm); max-width: 380px; margin: 0 auto 18px; }

/* ---------------------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------------------- */
@media (max-width: 900px) {
  .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; gap: 28px; }
  .buy-box { position: static; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 720px) {
  .header-link { display: none; }
  .header-in { gap: 12px; padding: 10px 16px; }
  .logo-img { height: 28px; }
  .hero { padding: 48px 20px 44px; }
}
@media (max-width: 600px) {
  :root { --t-h1: 32px; --t-h2: 24px; }
  .section { padding: 40px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .header-in .btn { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 520px) {
  .grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .card { padding: 18px; }
  .r-top, .r-bot { padding-left: 18px; padding-right: 18px; }
  .perf { margin: 0 18px; }
  .footer-in { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pcard:hover, .cat-card:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .announce, .btn { display: none !important; }
  body { background: #fff; }
}

/* Ícones da faixa de confiança (assets separados) */
.trust-item .ico-img { width: 44px; height: 44px; margin: 0 auto 10px; object-fit: contain; }

/* =====================================================================
   BANNER DE COOKIES (LGPD)
   ===================================================================== */
.ck-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900;
  background: #fff; border: 1px solid var(--hairline); border-radius: 10px;
  box-shadow: 0 8px 32px rgba(26,26,26,.14); padding: 18px 20px;
  max-width: 520px; margin: 0 auto; display: none;
}
.ck-banner.on { display: block; }
.ck-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 0 0 6px; }
.ck-text { font-size: 12.5px; color: var(--ink-muted); line-height: 1.55; margin: 0 0 14px; }
.ck-text a { color: var(--prime-deep); text-decoration: underline; }
.ck-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ck-actions .btn { flex: 1; min-width: 130px; }
@media (max-width: 520px) {
  .ck-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .ck-actions .btn { min-width: 100%; }
}
