/* ============================================================
   THE STARPRINTS — component classes
   Applied by the React primitives in components/. Shipped to
   consumers via styles.css so components style themselves with
   only the design-system tokens.
   ============================================================ */

/* ---------- Button ---------- */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: var(--fw-bold);
  font-size: var(--text-sm); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius-pill); border: none; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-base) var(--ease-soft), background var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft);
}
.sp-btn:active { transform: scale(0.98); }
.sp-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.sp-btn--primary { background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); color: var(--ink-900); box-shadow: var(--shadow-pill); }
.sp-btn--primary:hover { box-shadow: var(--shadow-pill), var(--shadow-glow-gold); background: linear-gradient(180deg, var(--gold-200), var(--gold-400)); }
.sp-btn--ghost { background: transparent; color: var(--gold-200); box-shadow: inset 0 0 0 1px var(--border-hairline); }
.sp-btn--ghost:hover { background: rgba(201,162,39,0.10); color: var(--gold-100); box-shadow: inset 0 0 0 1px var(--gold-500); }
.sp-btn--cream { background: var(--mist-100); color: var(--ink-900); box-shadow: var(--shadow-pill); }
.sp-btn--cream:hover { background: var(--pure-white); }
.sp-btn--lg { padding: 17px 36px; font-size: var(--text-base); }
.sp-btn--sm { padding: 10px 18px; font-size: var(--text-xs); }
.sp-btn[disabled] { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

/* ---------- Tag ---------- */
.sp-tag {
  display: inline-block; font-family: var(--font-body); font-size: var(--text-xs);
  font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--gold-300); border: 1px solid var(--border-hairline);
  padding: 6px 13px; border-radius: var(--radius-pill);
}
.sp-tag--solid { background: var(--mist-100); color: var(--ink-900); border-color: transparent; }

/* ---------- Medallion (numbered gold marker) ---------- */
.sp-medallion {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, var(--gold-300), var(--gold-600));
  color: var(--cosmic-950); font-family: var(--font-body); font-weight: var(--fw-bold);
  font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
.sp-medallion--lg { width: 46px; height: 46px; font-size: 20px; }

/* ---------- Card ---------- */
.sp-card {
  background: var(--surface-dark); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
}
.sp-card--navy { background: var(--surface-navy); box-shadow: var(--shadow-lg), var(--shadow-inset-hairline); }
.sp-card--cream { background: var(--surface-cream); color: var(--ink-900); }

/* ---------- ProductCard ---------- */
.sp-product-card {
  background: var(--surface-navy); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-inset-hairline);
  padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 13px;
  transition: transform var(--dur-base) var(--ease-glide), box-shadow var(--dur-base);
}
.sp-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), 0 0 0 1px var(--gold-600); }
.sp-product-card__title { font-family: var(--font-display); font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; font-size: var(--text-lg); margin: 0; color: var(--star-white); }
.sp-product-card__body { margin: 0; color: var(--text-muted-dark); font-size: var(--text-sm); line-height: var(--leading-relaxed); }
.sp-product-card__foot { margin-top: auto; font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--gold-400); font-weight: var(--fw-bold); }
