/*
 * Marketplace styles
 * - Concern: small UI additions for marketplace offer cards.
 * - Called by: Modules\Marketplace\Engine::maybe_enqueue_frontend_assets()
 */

.sc4-marketplace {
  margin: 16px 0;
}

.sc4-market-item {
  margin: 12px 0;
}

.sc4-market-h {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.sc4-market-b {
  padding-top: 8px;
}

/*
 * Actions area is intentionally vertical:
 * - Badge (if redeemed)
 * - Primary button
 * - Static helper line (need points)
 * - Live message region
 */
.sc4-market-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.sc4-market-help,
.sc4-market-msg {
  font-size: 12px;
  opacity: 0.85;
}

.sc4-market-badge {
  margin: 0;
}

/* Buttons (fallback if Experience CSS isn't present). */
.sc4-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
}
.sc4-btn:hover {
  background: rgba(255,255,255,0.10);
}

.sc4-btn-red {
  background: rgba(255, 54, 54, 0.85);
  border-color: rgba(255, 54, 54, 0.55);
}
.sc4-btn-red:hover {
  background: rgba(255, 54, 54, 0.95);
}

.sc4-btn-disabled,
.sc4-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
