/* SFM Custom Apparel / company 1730074625 / alignment v1.0.0
   Loaded ONLY when the resolved company and newly assigned preset both match.
   No background imagery, global palette replacement, or editor geometry changes. */
body.sfm-store-brand {
  --sfm-ink: var(--bs-primary);
  --sfm-accent: #E56D32;
  --sfm-accent-hover: #EE8754;
  --sfm-accent-ink: #212529;
  --sfm-muted: #5F6877;
  --sfm-border: #DDE3ED;
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: var(--bs-body-color);
  font-family: var(--stipko-body-font-family);
}
body.sfm-store-brand h1, body.sfm-store-brand h2,
body.sfm-store-brand h3, body.sfm-store-brand h4,
body.sfm-store-brand h5, body.sfm-store-brand h6,
body.sfm-store-brand .h1, body.sfm-store-brand .h2,
body.sfm-store-brand .h3, body.sfm-store-brand .h4,
body.sfm-store-brand .h5, body.sfm-store-brand .h6 {
  font-family: var(--stipko-heading-font-family);
  font-weight: 700;
}
body.sfm-store-brand .btn,
body.sfm-store-brand .form-control,
body.sfm-store-brand .form-select,
body.sfm-store-brand .navbar {
  font-family: var(--stipko-body-font-family);
}
body.sfm-store-brand .btn:not(.btn-link):not(.anywhere-overlay-remove) {
  border-radius: 50rem;
  font-weight: 600;
}
/* Main navigation only; retain the existing menu, logos, badges and login flow. */
body.sfm-store-brand .sfm-store-navbar {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid var(--sfm-border);
}
body.sfm-store-brand .sfm-store-navbar .nav-link,
body.sfm-store-brand .sfm-store-navbar .navbar-brand,
body.sfm-store-brand .sfm-store-navbar .navbar-toggler,
body.sfm-store-brand .sfm-store-navbar > .container-fluid > span {
  color: var(--sfm-ink) !important;
}
body.sfm-store-brand .sfm-store-navbar > .container-fluid > span .text-white,
body.sfm-store-brand .sfm-store-navbar > .container-fluid > span .text-light {
  color: var(--sfm-ink) !important;
}
body.sfm-store-brand .sfm-store-navbar .nav-link {
  font-size: .875rem;
  font-weight: 600;
}
body.sfm-store-brand .sfm-store-navbar .nav-link:hover,
body.sfm-store-brand .sfm-store-navbar .nav-link:focus {
  color: var(--bs-link-hover-color) !important;
  text-decoration: underline;
  text-underline-offset: .2em;
}
body.sfm-store-brand .sfm-store-navbar .nav-link i,
body.sfm-store-brand .sfm-store-navbar .dropdown-item i,
body.sfm-store-brand .sfm-store-navbar .dropdown-item > span {
  color: inherit !important;
}
body.sfm-store-brand .sfm-store-navbar .dropdown-item {
  color: var(--sfm-ink);
}
body.sfm-store-brand .sfm-store-navbar .dropdown-item.active,
body.sfm-store-brand .sfm-store-navbar .dropdown-item:active {
  background-color: var(--sfm-ink);
  color: #FFFFFF;
}
/* Homepage WebText is wrapped, not rewritten in the shared database. */
body.sfm-store-brand .sfm-store-promo h1.text-danger {
  color: var(--sfm-ink) !important;
}
body.sfm-store-brand .sfm-store-promo h3.text-info,
body.sfm-store-brand .sfm-store-promo h3.text-danger {
  color: var(--sfm-ink) !important;
  font-family: var(--stipko-body-font-family);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
}
body.sfm-store-brand .sfm-store-promo h3.text-primary {
  color: var(--sfm-ink) !important;
}
body.sfm-store-brand .sfm-store-promo .lead {
  font-size: 1rem;
  line-height: 1.6;
}
body.sfm-store-brand .sfm-store-intro .text-warning {
  color: #FFFFFF !important;
}
body.sfm-store-brand .sfm-store-promo .sfm-progress-bar {
  background: var(--sfm-accent);
}
body.sfm-store-brand .sfm-store-promo .sfm-progress-handle {
  border-color: var(--sfm-accent);
}
/* Keep the image grid and product controls in their existing positions. */
body.sfm-store-brand .sfm-product-card-body,
body.sfm-store-brand .sfm-featured-card {
  background-color: #FFFFFF !important;
  color: var(--sfm-ink) !important;
  border: 1px solid var(--sfm-border);
  text-align: left !important;
}
body.sfm-store-brand .sfm-product-card-body {
  border-top: 0;
}
body.sfm-store-brand .sfm-product-card-body > p.small {
  margin-bottom: .5rem;
}
body.sfm-store-brand .sfm-product-card-body > p.small > a,
body.sfm-store-brand .sfm-featured-card > p:first-of-type {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
}
body.sfm-store-brand .sfm-product-card-body > p.small > .text-warning {
  color: var(--sfm-muted) !important;
}
body.sfm-store-brand .sfm-featured-link {
  display: block;
  height: 100%;
}
body.sfm-store-brand .sfm-featured-card {
  height: 100%;
}
body.sfm-store-brand .sfm-category-card {
  border-color: var(--sfm-border);
}
body.sfm-store-brand .sfm-category-card .card-title {
  margin-bottom: 0;
}
/* One presentation for three existing price-calculation paths. */
body.sfm-store-brand .sfm-price {
  font-family: var(--stipko-body-font-family);
  line-height: 1.6;
}
body.sfm-store-brand .sfm-price-was { color: var(--sfm-muted); }
body.sfm-store-brand .sfm-price-current {
  color: var(--sfm-ink);
  font-size: 1.05rem;
}
body.sfm-store-brand .sfm-price-detail .sfm-price-current { font-size: 1.75rem; }
body.sfm-store-brand .sfm-sale-badge {
  background-color: var(--sfm-accent);
  color: var(--sfm-accent-ink);
  font-size: .75rem;
  font-weight: 600;
}
/* Brand accent applies to the purchase CTA, NOT all success/error controls. */
body.sfm-store-brand #add_to_cart_btn.sfm-purchase-cta {
  --bs-btn-color: var(--sfm-accent-ink);
  --bs-btn-bg: var(--sfm-accent);
  --bs-btn-border-color: var(--sfm-accent);
  --bs-btn-hover-color: var(--sfm-accent-ink);
  --bs-btn-hover-bg: var(--sfm-accent-hover);
  --bs-btn-hover-border-color: var(--sfm-accent-hover);
  color: var(--sfm-accent-ink) !important;
  background-color: var(--sfm-accent) !important;
  border-color: var(--sfm-accent) !important;
  font-size: 1rem;
}
body.sfm-store-brand #add_to_cart_btn.sfm-purchase-cta:hover:not(:disabled),
body.sfm-store-brand #add_to_cart_btn.sfm-purchase-cta:active:not(:disabled) {
  color: var(--sfm-accent-ink) !important;
  background-color: var(--sfm-accent-hover) !important;
  border-color: var(--sfm-accent-hover) !important;
}
body.sfm-store-brand #add_to_cart_btn.sfm-purchase-cta:focus-visible {
  outline: 3px solid var(--sfm-ink);
  outline-offset: 3px;
  box-shadow: none;
}
body.sfm-store-brand .sfm-editor .anywhere-helper { color: var(--sfm-muted); }
/* Pagination uses literal colors in Bootstrap 5.1: bind these explicitly. */
body.sfm-store-brand .page-link { color: var(--sfm-ink); }
body.sfm-store-brand .page-item.active .page-link {
  background-color: var(--sfm-ink);
  border-color: var(--sfm-ink);
  color: #FFFFFF;
}
body.sfm-store-brand .page-item.disabled .page-link { color: var(--sfm-muted); }
body.sfm-store-brand footer.footer { background-color: var(--sfm-ink) !important; }
body.sfm-store-brand #load_content footer.footer a:not(.btn) { color: #FFFFFF !important; }
