/* ================================================
   HitStores — Shared Design Tokens
   Single source of truth for all CSS variables.
   Imported by: index.html, produto.html, checkout.html
   ================================================ */

:root {
  /* ── Brand ── */
  --accent:        #00ff88;
  --accent-dim:    rgba(0, 255, 136, 0.08);
  --accent-border: rgba(0, 255, 136, 0.24);
  --danger:        #ff3d5e;

  /* ── Backgrounds ── */
  --bg:       #080808;
  --bg-card:  #111111;
  --bg-card2: #0e0e0e;
  --bg-modal: #080808;

  /* ── Text ── */
  --text:  #f0f0f0;
  --text2: #c0c0c0;
  --muted: #888888;

  /* ── Borders & Effects ── */
  --border: rgba(255, 255, 255, 0.06);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  --glow:   0 0 24px rgba(0, 255, 136, 0.15);

  /* ── Shape ── */
  --radius: 12px;
  --pill:   999px;

  /* ── Typography ── */
  --font: 'Google Sans Flex', system-ui, sans-serif;

  /* ── Motion ── */
  --transition-base: 0.2s ease;

  /* ── Shared Footer Component ── */
.site-footer {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  padding: 20px 20px 16px;
  font-size: 12px;
  color: var(--muted);
}
.footer-trust {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--muted);
}
.footer-badge-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
}
.footer-badge-icon--dark {
  background: #050505;
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-badge-reveal {
  gap: 0;
  overflow: hidden;
}
.footer-badge-reveal .footer-badge-text {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width .22s ease, opacity .22s ease, margin-left .22s ease;
}
.footer-badge-reveal:hover .footer-badge-text,
.footer-badge-reveal:focus-within .footer-badge-text {
  max-width: 180px;
  opacity: 1;
  margin-left: 8px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--muted);
  transition: color .15s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

/* ── Aliases (backwards-compat for existing page CSS) ── */
  --green:  var(--accent);
  --g:      var(--accent);
  --gd:     var(--accent-dim);
  --gb:     var(--accent-border);
  --card:   var(--bg-card);
  --card2:  var(--bg-card2);
  --r:      var(--radius);
  --font-d: var(--font);
  --font-b: var(--font);
  --fh:     var(--font);
  --fb:     var(--font);
}

[data-theme="light"] {
  --accent:        #00b360;
  --accent-dim:    rgba(0, 179, 96, 0.08);
  --accent-border: rgba(0, 179, 96, 0.24);
  --danger:        #e0253e;

  --bg:       #f4f4f0;
  --bg-card:  #ffffff;
  --bg-card2: #f9f9f6;
  --bg-modal: #ffffff;

  --text:  #111111;
  --text2: #333333;
  --muted: #666666;

  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --glow:   0 0 24px rgba(0, 179, 96, 0.15);
}
