/* ==========================================================================
   SVGA GIFT (svgagift.com) — Editorial Forest, Sage & Lime Design System
   Modeled after svgastore.com light/dark tokens + stage tiles + card anatomy
   ========================================================================== */

:root {
  --bg: #ffffff;
  --surface: #f2f7ec;
  --card: #ffffff;
  --card-2: #f2f7ec;
  --field: #ffffff;
  --mint: #e8f5d8;
  --mint-2: #dbefc4;
  --cream: #f6ffe3;
  --forest: #14261b;
  --forest-2: #1d3526;
  --forest-3: #2a4a34;
  --ink: #101613;
  --lime: #a3e635;
  --lime-hi: #b5f04a;
  --lime-lo: #84cc16;
  --lime-deep: #65a30d;
  --brand: #5e980c;
  --link: #48740e;
  --primary: #14261b;
  --primary-hover: #1d3526;
  --on-primary: #ffffff;
  --on-dark: #e8f5d8;
  --fg: #14261b;
  --body: #22332a;
  --muted: #56675c;
  --placeholder: #8a978f;
  --line: rgba(20, 38, 27, 0.10);
  --line-2: rgba(20, 38, 27, 0.20);
  --line-hover: rgba(20, 38, 27, 0.45);
  --ring: rgba(163, 230, 53, 0.35);
  --mark: rgba(163, 230, 53, 0.65);
  --grad-lime: linear-gradient(135deg, #b5f04a 0%, #84cc16 100%);
  --grad-forest: linear-gradient(135deg, #14261b 0%, #2a4a34 100%);
  --stage-fill: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f5f9f0 55%, #e8f5d8 100%);
  --stage-tile: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0) 0 0 / 18px 18px,
                radial-gradient(115% 90% at 50% 12%, #23282b 0%, #171b1e 55%, #0e1113 100%);
  --shadow-sm: 0 1px 2px rgba(20, 38, 27, 0.05), 0 4px 14px -8px rgba(20, 38, 27, 0.14);
  --shadow-md: 0 2px 4px rgba(20, 38, 27, 0.04), 0 14px 34px -18px rgba(20, 38, 27, 0.28);
  --font-sans: 'Albert Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-logo: 'Lexend', 'Albert Sans', ui-sans-serif, sans-serif;
}

html.dark,
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141715;
  --surface: #1b1f1c;
  --card: #1f2421;
  --card-2: #272d29;
  --field: #1b1f1c;
  --mint: rgba(163, 230, 53, 0.14);
  --mint-2: rgba(163, 230, 53, 0.22);
  --primary: #a3e635;
  --primary-hover: #b5f04a;
  --on-primary: #14261b;
  --fg: #f2f5f1;
  --body: #dce2da;
  --muted: #98a39b;
  --placeholder: #6f7a72;
  --link: #a3e635;
  --lime-deep: #a3e635;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --line-hover: rgba(163, 230, 53, 0.45);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, 0.65);
}

html, body {
  background-color: var(--bg) !important;
  color: var(--body) !important;
  font-family: var(--font-sans) !important;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}

.sg-header-inner {
  width: 100%;
  max-width: 1380px;
  height: 64px;
  margin-left: auto;
  margin-right: auto;
}
.sg-nav-search {
  width: 140px;
}
@media (min-width: 1536px) {
  .sg-nav-search {
    width: 210px;
  }
}

.font-logo {
  font-family: var(--font-logo) !important;
}

/* Surface helpers */
.bg-sg-bg { background-color: var(--bg); }
.bg-sg-surface { background-color: var(--surface); }
.bg-sg-card { background-color: var(--card); }
.bg-sg-mint { background-color: var(--mint); }
.text-sg-fg { color: var(--fg); }
.text-sg-body { color: var(--body); }
.text-sg-muted { color: var(--muted); }
.text-sg-link { color: var(--link); }
.border-sg-line { border-color: var(--line); }

.hex-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(20, 38, 27, 0.08) 1px, transparent 0);
  background-size: 20px 20px;
}
html.dark .hex-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(163, 230, 53, 0.08) 1px, transparent 0);
}

.mark-lime {
  background: linear-gradient(180deg, transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%);
  padding: 0 4px;
  border-radius: 3px;
}

/* Signature Buttons */
.btn-lime {
  background: var(--grad-lime);
  color: #14261b !important;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 6px 22px -6px rgba(132, 204, 22, 0.55);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.btn-lime:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 10px 26px -6px rgba(132, 204, 22, 0.7);
}

.btn-forest {
  background-color: var(--forest);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 12px;
  transition: background-color 0.16s ease, transform 0.16s ease;
}
.btn-forest:hover {
  background-color: var(--forest-3);
  transform: translateY(-1px);
}
html.dark .btn-forest {
  background-color: #a3e635;
  color: #14261b !important;
}
html.dark .btn-forest:hover {
  background-color: #b5f04a;
}

.btn-soft {
  background-color: var(--mint);
  color: var(--forest) !important;
  font-weight: 700;
  border-radius: 10px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn-soft:hover {
  background-color: var(--mint-2);
  transform: scale(1.04);
}
html.dark .btn-soft {
  color: #a3e635 !important;
}

.band-dark {
  background: var(--grad-forest);
  color: #e8f5d8;
}

/* Signature Badges */
.badge-best {
  background: linear-gradient(135deg, #ffe08a, #f2c14e);
  color: #2b1d05;
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-svga {
  background-color: #14261b;
  color: #a3e635;
  border-radius: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-viewed {
  background-color: #dbeafe;
  color: #1e3a8a;
  border-radius: 7px;
  font-weight: 800;
}

/* Eyebrow dot */
.eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--link);
}
.eyebrow-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lime-lo);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.25);
}

/* Signature Dark PK Hero (.dh.dh-pk) */
.dh.dh-pk {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 80% at 0% 60%, rgba(255, 40, 90, 0.42), transparent 70%),
    radial-gradient(55% 80% at 100% 60%, rgba(40, 120, 255, 0.48), transparent 70%),
    linear-gradient(180deg, #120818 0%, #07081a 100%);
  color: #ffffff;
}
.dh.dh-pk::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}
.dh-title {
  font-size: clamp(2.15rem, 1.2rem + 2.8vw, 3.85rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #ffffff;
}
.dh-title mark {
  background: transparent;
  color: #ffd36b;
}
.dh-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  border-radius: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: background 0.16s ease, border-color 0.16s ease;
}
.dh-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.65);
}

/* Shop by type (.sbt-card) */
.sbt-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--sbt-top, #1f3d2b) 0%, #0b0f0d 88%);
  box-shadow: 0 12px 26px -14px rgba(11, 15, 13, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sbt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -14px rgba(11, 15, 13, 0.72);
}
.sbt-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16) 0%, transparent 45%);
  pointer-events: none;
}

/* Product Media Stage Tile */
.stage-tile {
  background: var(--stage-tile);
  position: relative;
}
.sg-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.sg-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}
.btn-play-lime {
  background-color: #a3e635;
  color: #14261b !important;
  box-shadow: 0 4px 14px -2px rgba(163, 230, 53, 0.55);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn-play-lime:hover {
  transform: scale(1.08);
  background-color: #b5f04a;
}

/* Explicit utility classes (independent of compiled tailwind.min.css arbitrary classes) */
.sg-announcement {
  background-color: #14261b !important;
  color: #e8f5d8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sg-announcement-cta {
  color: #a3e635 !important;
  text-decoration: underline;
  text-decoration-color: #a3e635;
  font-weight: 800;
}
.sg-logo-box {
  background-color: #14261b !important;
  border-radius: 12px;
  border: 1px solid rgba(163, 230, 53, 0.35);
  box-shadow: 0 2px 8px -2px rgba(20, 38, 27, 0.25);
}
.sg-cart-badge {
  background-color: #a3e635 !important;
  color: #14261b !important;
}
.sg-inspect-pill {
  background-color: #ffffff !important;
  color: #14261b !important;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.sg-inspect-pill:hover {
  background-color: #a3e635 !important;
  color: #14261b !important;
}

/* Harmonize secondary catalog/packs/tools/pricing pages cleanly with Forest + Lime */
.sg-shell .product-card-opt {
  background-color: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-sm) !important;
}
.sg-shell .product-card-opt:hover {
  border-color: var(--line-2) !important;
  box-shadow: var(--shadow-md) !important;
}
.sg-shell .card-stage-opt {
  background: var(--stage-tile) !important;
  border-bottom: 1px solid var(--line) !important;
}
.sg-shell .text-indigo-600 { color: var(--link) !important; }
html.dark .sg-shell .text-indigo-400 { color: #a3e635 !important; }
.sg-shell .bg-indigo-600 { background-color: #14261b !important; color: #ffffff !important; }
html.dark .sg-shell .bg-indigo-600 { background-color: #a3e635 !important; color: #14261b !important; }
.sg-shell .from-indigo-600 { --tw-gradient-from: #14261b !important; }
.sg-shell .to-purple-600 { --tw-gradient-to: #2a4a34 !important; }
