/* Flat FM UI standards. Loaded last so every page shares one primary action.
   Type floor (applied in the page stylesheets): labels and metadata 11px, body text 12px.
   Fixed-size stamps and stickers are artwork and keep their own sizes.
   Coral is a surface colour for heroes and highlights, not an action colour. */
:root {
  --fm-action-bg: #171616;
  --fm-action-hover: #3d2a25;
  --fm-action-text: #fff9ef;
}

body :is(
  .fm-darkbutton, .fs-button, .fs-card-add, .fd-button, .fd-add, .fp-buy, .fc-primary,
  .fc-mobile-cta > a, .fc-mobile-cta > button,
  .fa-button:not(.secondary, .alt, .is-outline)
) {
  min-height: 44px !important;
  color: var(--fm-action-text) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: var(--fm-action-bg) !important;
  border: 1px solid var(--fm-action-bg) !important;
  border-radius: 0 !important;
}

body :is(
  .fm-darkbutton, .fs-button, .fs-card-add, .fd-button, .fd-add, .fp-buy, .fc-primary,
  .fc-mobile-cta > a, .fc-mobile-cta > button,
  .fa-button:not(.secondary, .alt, .is-outline)
):hover:not(:disabled) {
  background: var(--fm-action-hover) !important;
}

/* A single text label should sit in the middle, not at the left of a wide bar. */
body .fc-primary:not(:has(> span)) { justify-content: center !important; }

@media (min-width: 601px) and (max-width: 899px) {
  body .fp-hero .fp-buy { min-height: 52px !important; }
}

@media (min-width: 900px) {
  body .fp.swift4-cart-page .fp-purchase .fp-buy { min-height: 46px !important; }
}
