/* =============================================================================
   product-family-hub-shared.css
   ───────────────────────────────────────────────────────────────────────────
   OWNERSHIP: Shared shell for #products.product-family-hub only — not full site.

   Loaded: After ~/Content/card-readers.css on all four hardware hubs (see Views/Shared/_ProductFamilyHubStyles.cshtml).

   Contains: Final CTA, MagCare marketing banner skin, split-hero--family-hub, product-family-nav,
             cr-value-band + cr-value-card (uses card-readers.css :root --cr-card-* tokens) for Check Scanners
             + Instant Issuance; Card Readers shares the value band shell only (video row, no highlight cards).

   Do NOT add here: MMS Dyna bento, legacy catalog cards, OEM kiosk band, Tap to Pay — those live in
   card-readers.css or oem-components.css.

   Section anchors (search): "Final CTA", "MagCare", "Value band", "Hub hero", "Product family nav",
             "hub-first-content-band", "Hardware hubs — responsive matrix"
   ============================================================================= */

/*
   Cross-document View Transitions (MPA): when navigating between hardware hub siblings, supporting
   browsers (Chromium 126+) cross-fade the old and new documents instead of a hard cut. Both origin
   and destination must load this stylesheet (all four hubs do). Inert in Safari/Firefox until supported.
*/
@media not (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 320ms;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
}

/* ----- Final CTA (_ProductFamilyFinalCta) ----- */
.cr-final-cta {
  background: linear-gradient(140deg, #14263b 0%, #0f172a 55%, #1b2f47 100%);
  padding: 5.2rem 0 5.6rem;
  position: relative;
  overflow: hidden;
}

.cr-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 14% 22%,
      rgba(210, 18, 66, 0.18) 0,
      rgba(210, 18, 66, 0) 44%
    ),
    radial-gradient(
      circle at 82% 76%,
      rgba(59, 130, 246, 0.2) 0,
      rgba(59, 130, 246, 0) 48%
    );
  pointer-events: none;
}

.cr-final-cta__panel {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.cr-final-cta__eyebrow {
  margin: 0 0 1.2rem;
  color: #9db4d3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.2rem;
  font-weight: 700;
}

.cr-final-cta__title {
  margin: 0 0 1.5rem;
  color: #ffffff;
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  line-height: 1.18;
}

.cr-final-cta__lead {
  margin: 0;
  max-width: 82ch;
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.75rem;
  line-height: 1.65;
}

.cr-final-cta__actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.cr-final-cta__actions .btn-primary {
  min-height: 44px;
}

/* ----- MagCare — hubs only (_ProductFamilyMagCareBanner); Services.cshtml #magcare uses .section-bg-white ----- */
#products.product-family-hub .services-marketing-banner--magcare {
  background: var(--bg-white, #ffffff);
  border-top: 1px solid var(--border-light, #e2e8f0);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

#products.product-family-hub .services-marketing-banner--magcare::before {
  content: none;
}

#products.product-family-hub
  .services-marketing-banner--magcare
  .marketing-banner-icon {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(22, 163, 74, 0.35);
}

#products.product-family-hub
  .services-marketing-banner--magcare
  .marketing-banner-icon
  i {
  color: #16a34a;
}

#products.product-family-hub
  .services-marketing-banner--magcare
  .marketing-banner-title {
  color: #1e293b;
}

#products.product-family-hub
  .services-marketing-banner--magcare
  .marketing-banner-subtitle {
  color: #475569;
}

#products.product-family-hub
  .services-marketing-banner--magcare
  .marketing-banner-cta--magcare-single {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

/* Single white CTA on light banner (PDF brochure) */
#products.product-family-hub
  .services-marketing-banner--magcare
  .product-family-magcare-brochure {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid rgba(38, 60, 80, 0.22) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

#products.product-family-hub
  .services-marketing-banner--magcare
  .product-family-magcare-brochure:hover,
#products.product-family-hub
  .services-marketing-banner--magcare
  .product-family-magcare-brochure:focus-visible {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: rgba(38, 60, 80, 0.3) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

@media (max-width: 992px) {
  #products.product-family-hub
    .services-marketing-banner--magcare
    .marketing-banner-cta--magcare-single {
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  #products.product-family-hub
    .services-marketing-banner--magcare
    .product-family-magcare-brochure {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cr-final-cta {
    padding: 4.2rem 0 4.5rem;
  }

  .cr-final-cta__title {
    font-size: clamp(2.4rem, 8vw, 3.2rem);
  }

  .cr-final-cta__lead {
    font-size: 1.6rem;
    line-height: 1.58;
  }
}

/* ----- Value band: Card Readers + Check Scanners + Instant Issuance -----
   magtek-standardization .section-bg-alt + services-page.css .section-bg-alt::before (same as Services.cshtml) */
#products.check-scanners-page .cr-value-band,
#products.instant-issuance-page .cr-value-band,
#products.card-readers-page .cr-value-band {
  padding: var(--cr-page-band-y) 0 clamp(3.6rem, 6.5vw, 5.5rem);
  position: relative;
  overflow: hidden;
  background: var(--cr-surface-alt);
  border-top: 1px solid var(--cr-border-subtle);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#products.check-scanners-page .cr-value-band::before,
#products.instant-issuance-page .cr-value-band::before,
#products.card-readers-page .cr-value-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--cr-section-alt-top-fade-height, 100px);
  background: var(
    --cr-section-alt-top-fade,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, transparent 100%)
  );
  pointer-events: none;
  z-index: 0;
}

#products.check-scanners-page .cr-value-band > .container,
#products.instant-issuance-page .cr-value-band > .container,
#products.card-readers-page .cr-value-band > .container {
  position: relative;
  z-index: 1;
}

#products.check-scanners-page .cr-value-band__head,
#products.instant-issuance-page .cr-value-band__head,
#products.card-readers-page .cr-value-band__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
}

#products.check-scanners-page .cr-value-band__eyebrow,
#products.instant-issuance-page .cr-value-band__eyebrow,
#products.card-readers-page .cr-value-band__eyebrow {
  margin: 0 0 0.75rem;
  font-size: var(--cr-font-eyebrow, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magtek-red, #d21242);
}

#products.check-scanners-page .cr-value-band__title,
#products.instant-issuance-page .cr-value-band__title,
#products.card-readers-page .cr-value-band__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 2.1rem + 1.1vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.02em;
}

#products.check-scanners-page .cr-value-band__subtitle,
#products.instant-issuance-page .cr-value-band__subtitle,
#products.card-readers-page .cr-value-band__subtitle {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 56ch;
}

#products.check-scanners-page .cr-value-band__cards,
#products.instant-issuance-page .cr-value-band__cards {
  margin-left: -12px;
  margin-right: -12px;
}

@media (min-width: 768px) and (max-width: 991px) {
  #products.check-scanners-page
    .cr-value-band__cards--three
    > .col-sm-6:last-child,
  #products.instant-issuance-page
    .cr-value-band__cards--three
    > .col-sm-6:last-child {
    float: none;
    clear: both;
    margin-left: auto;
    margin-right: auto;
  }
}

#products.check-scanners-page .cr-value-band__cards > [class*="col-"],
#products.instant-issuance-page .cr-value-band__cards > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  #products.check-scanners-page .cr-value-band__cards > [class*="col-"],
  #products.instant-issuance-page .cr-value-band__cards > [class*="col-"] {
    margin-bottom: 0;
  }
}

#products.check-scanners-page .cr-value-card,
#products.instant-issuance-page .cr-value-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  height: 100%;
  background: var(--cr-card-elevated-bg, #ffffff);
  border-radius: var(--cr-card-elevated-radius, 20px);
  padding: 2.4rem 2.2rem 2.6rem;
  box-shadow: var(
    --cr-card-elevated-shadow,
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 36px rgba(15, 23, 42, 0.07)
  );
  border: 1px solid var(--cr-card-elevated-border, rgba(38, 60, 80, 0.08));
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  #products.check-scanners-page .cr-value-card,
  #products.instant-issuance-page .cr-value-card {
    transition: none;
  }
}

#products.check-scanners-page .cr-value-card:hover,
#products.instant-issuance-page .cr-value-card:hover {
  transform: translateY(-3px);
  border-color: var(--cr-card-accent-border-hover, rgba(210, 18, 66, 0.2));
  box-shadow: var(
    --cr-card-elevated-shadow-hover,
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 18px 44px rgba(38, 60, 80, 0.1)
  );
}

@media (prefers-reduced-motion: reduce) {
  #products.check-scanners-page .cr-value-card:hover,
  #products.instant-issuance-page .cr-value-card:hover {
    transform: none;
  }
}

#products.check-scanners-page .cr-value-card__icon,
#products.instant-issuance-page .cr-value-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  margin-bottom: 1.75rem;
  border-radius: 14px;
  background: var(
    --cr-card-icon-well-bg,
    linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%)
  );
  border: 1px solid var(--cr-card-icon-well-border, rgba(38, 60, 80, 0.09));
  color: #d21242;
  font-size: 2.6rem;
  box-shadow: var(
    --cr-card-icon-well-shadow,
    0 4px 14px rgba(15, 23, 42, 0.05)
  );
}

#products.check-scanners-page .cr-value-card__title,
#products.instant-issuance-page .cr-value-card__title {
  margin: 0 0 0.85rem;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

#products.check-scanners-page .cr-value-card__desc,
#products.instant-issuance-page .cr-value-card__desc {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.55;
  color: #64748b;
}

@media (max-width: 767px) {
  #products.check-scanners-page .cr-value-band,
  #products.instant-issuance-page .cr-value-band,
  #products.card-readers-page .cr-value-band {
    padding: 3.6rem 0 4rem;
  }
}

/* ----- Hub hero (_ProductFamilyHubHero + split-hero--family-hub) -----
   No line-clamp / no fixed row height — copy grows with content; image caps only max height.
   Corporate fintech surface (replaces flat white): cool paper gradient + hairline grid (::before) +
   soft brand wash (::after). split-hero.css defaults are overridden; product glow behind PNG stays off
   (.split-hero-media-inner::before). Content stacks above pattern (split-hero > .container z-index). */
#products.product-family-hub .split-hero.split-hero--family-hub {
  overflow: visible;
  position: relative;
  isolation: isolate;
  background-color: #f8fafc;
  background-image:
    linear-gradient(165deg, #ffffff 0%, #f8fafc 38%, #f1f5f9 100%),
    radial-gradient(
      ellipse 90% 65% at 100% 0%,
      rgba(38, 60, 80, 0.045) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 75% 55% at 0% 100%,
      rgba(38, 60, 80, 0.028) 0%,
      transparent 52%
    );
}

/* Hairline grid — structure without noise; opacity tuned for WCAG-friendly text on copy column */
#products.product-family-hub .split-hero.split-hero--family-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(38, 60, 80, 0.038) 0,
      rgba(38, 60, 80, 0.038) 1px,
      transparent 1px,
      transparent 52px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(38, 60, 80, 0.03) 0,
      rgba(38, 60, 80, 0.03) 1px,
      transparent 1px,
      transparent 52px
    );
}

/* Soft corner bloom — MagTek blue family, well below product imagery contrast */
#products.product-family-hub .split-hero.split-hero--family-hub::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -12%;
  width: min(48vw, 400px);
  height: min(48vw, 400px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle at center,
    rgba(47, 95, 149, 0.055) 0%,
    rgba(38, 60, 80, 0.018) 45%,
    transparent 70%
  );
}

#products.product-family-hub
  .split-hero.split-hero--family-hub
  .split-hero-media-inner::before {
  display: none;
}

@media (prefers-reduced-transparency: reduce) {
  #products.product-family-hub .split-hero.split-hero--family-hub {
    background-color: #f8fafc;
    background-image: none;
  }

  #products.product-family-hub .split-hero.split-hero--family-hub::before,
  #products.product-family-hub .split-hero.split-hero--family-hub::after {
    display: none;
  }

  #products.product-family-hub .product-family-nav {
    background-color: #f8fafc;
    background-image: none;
  }

  #products.product-family-hub .product-family-nav::before,
  #products.product-family-hub .product-family-nav::after {
    display: none;
  }
}

/* Product PNGs are backgroundless — layered drop-shadow so hardware reads grounded. */
#products.product-family-hub
  .split-hero.split-hero--family-hub
  .split-hero-media
  img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.12))
    drop-shadow(0 10px 22px rgba(15, 23, 42, 0.09))
    drop-shadow(0 3px 8px rgba(15, 23, 42, 0.07))
    drop-shadow(0 1px 2px rgba(15, 23, 42, 0.05));
}

/* Same centered column + horizontal inset as magtek-standardization .container (var(--space-lg) etc. —
   not 15px). split-hero.css zeros container padding; we restore design-system gutters so hero matches
   family nav + value bands below.
   Nav container: horizontal only here — `padding: 0 … !important` was wiping vertical padding from
   .product-family-nav__container (shorthand sets top/bottom to 0). */
@media (min-width: 1025px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container {
    padding: 0 var(--space-lg) !important;
  }

  #products.product-family-hub .product-family-nav > .container {
    padding-left: var(--space-lg) !important;
    padding-right: var(--space-lg) !important;
  }
}

@media (max-width: 1024px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container {
    padding: 0 var(--space-md) !important;
  }

  #products.product-family-hub .product-family-nav > .container {
    padding-left: var(--space-md) !important;
    padding-right: var(--space-md) !important;
  }
}

@media (max-width: 768px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container {
    padding: 0 var(--space-sm) !important;
  }

  #products.product-family-hub .product-family-nav > .container {
    padding-left: var(--space-sm) !important;
    padding-right: var(--space-sm) !important;
  }
}

@media (max-width: 480px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container {
    padding: 0 1.5rem !important;
  }

  #products.product-family-hub .product-family-nav > .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-row
    > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-copy {
    padding-left: 0 !important;
    padding-right: clamp(1rem, 3vw, 4rem) !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media {
    padding-left: clamp(0.5rem, 2vw, 1.5rem) !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    max-width: 970px !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    max-width: 1170px !important;
  }
}

@media (min-width: 1400px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    max-width: min(1320px, calc(100vw - 3rem)) !important;
  }
}

@media (min-width: 1920px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    max-width: min(1440px, calc(100vw - 5rem)) !important;
  }
}

@media (min-width: 2560px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    max-width: min(1560px, calc(100vw - 6rem)) !important;
  }
}

/* Hub hero type — same tokens on all 4 pages (aligns with magtek-standardization + product-family-nav label) */
#products.product-family-hub
  .split-hero.split-hero--family-hub
  .split-hero-eyebrow {
  margin: 0 0 clamp(0.65rem, 1.2vw, 0.85rem);
  color: #2f5f95;
  letter-spacing: 0.12em;
}

#products.product-family-hub .split-hero.split-hero--family-hub h1 {
  margin: 0 0 clamp(0.75rem, 1.5vw, 1rem);
  color: var(--text-primary, #263c50);
  text-wrap: balance;
  overflow: visible;
  line-height: 1.22;
  word-break: normal;
  overflow-wrap: anywhere;
}

#products.product-family-hub
  .split-hero.split-hero--family-hub
  .split-hero-subtitle {
  margin: 0 0 clamp(1.5rem, 2.8vw, 2rem);
  color: #475569;
  overflow: visible;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

#products.product-family-hub
  .split-hero.split-hero--family-hub
  .split-hero-actions {
  flex-shrink: 0;
  margin-top: 0;
  gap: 0.75rem 1rem;
}

#products.product-family-hub
  .split-hero.split-hero--family-hub
  .split-hero-row {
  align-items: center;
  row-gap: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 992px) {
  #products.product-family-hub .split-hero.split-hero--family-hub {
    padding-top: clamp(3.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(3.5rem, 5vw, 4.5rem);
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-copy {
    display: flex;
    align-items: center;
    min-width: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-copy-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media-inner {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media
    img {
    max-height: min(52vh, 420px);
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  #products.product-family-hub .split-hero.split-hero--family-hub {
    padding-top: clamp(3rem, 4vw, 4rem);
    padding-bottom: clamp(3rem, 4vw, 4rem);
  }
}

@media (max-width: 991px) {
  #products.product-family-hub .split-hero.split-hero--family-hub {
    padding-top: clamp(2.75rem, 5vw, 3.25rem);
    padding-bottom: clamp(2.75rem, 5vw, 3.25rem);
    min-height: 0;
  }

  /* Override Bootstrap float from split-hero.css so the media column centers reliably */
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    float: none;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-row
    > [class*="col-"] {
    float: none !important;
    width: 100% !important;
  }

  #products.product-family-hub .split-hero.split-hero--family-hub > .container {
    display: block;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-copy-inner {
    max-width: 100%;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media {
    margin-top: 0.5rem;
    text-align: center;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media-inner {
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Product PNGs: use viewport height — old min(20rem, 42vw) capped height ~42% of screen width, which read tiny in portrait */
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media
    img {
    width: 100%;
    max-width: min(36rem, calc(100vw - 2.5rem));
    max-height: min(54vh, 28rem);
    height: auto;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 16px 32px rgba(15, 23, 42, 0.1))
      drop-shadow(0 7px 16px rgba(15, 23, 42, 0.07))
      drop-shadow(0 2px 6px rgba(15, 23, 42, 0.05));
  }
}

@media (max-width: 767px) {
  #products.product-family-hub .split-hero.split-hero--family-hub {
    padding-top: clamp(2.5rem, 6vw, 3rem);
    padding-bottom: clamp(2.5rem, 6vw, 3rem);
  }

  #products.product-family-hub .split-hero.split-hero--family-hub h1 {
    line-height: 1.2;
  }

  /* Hero CTAs: compact height vs .btn-md, but full copy-column width so long secondary labels don’t clip */
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: min(36rem, calc(100vw - 2rem));
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.1rem;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions
    a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions
    .btn-primary.btn-md,
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions
    .btn-learn-more.btn-md {
    height: auto !important;
    min-height: 44px !important;
    padding: 0.5rem 1.2rem !important;
    font-size: 1.45rem !important;
    line-height: 1.28 !important;
    border-radius: 10px !important;
  }

  /* magtek-buttons .btn-learn-more uses nowrap + overflow:hidden — breaks long hub labels (e.g. Check Scanners) */
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions
    .btn-learn-more.btn-md {
    white-space: normal !important;
    overflow: visible !important;
    line-height: 1.35 !important;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  /* Phones: let hardware read larger — nearly full column width + taller vh cap */
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media-inner {
    max-width: min(40rem, calc(100vw - 1.5rem));
    margin-left: auto;
    margin-right: auto;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media
    img {
    max-width: min(100%, calc(100vw - 1.5rem));
    max-height: min(62vh, 32rem);
  }
}

@media (max-width: 420px) {
  #products.product-family-hub .split-hero.split-hero--family-hub {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions {
    max-width: 100%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions
    .btn-primary.btn-md,
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions
    .btn-learn-more.btn-md {
    font-size: 1.38rem !important;
    padding: 0.45rem 1rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #products.product-family-hub .product-family-nav__link,
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media
    img {
    transition: none;
  }
}

/* ----- Product family nav — same paper surface + grid + bloom as .split-hero--family-hub ----- */
#products.product-family-hub .product-family-nav {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
  padding: 0;
  margin: 0;
  background-color: #f8fafc;
  background-image:
    linear-gradient(165deg, #ffffff 0%, #f8fafc 38%, #f1f5f9 100%),
    radial-gradient(
      ellipse 90% 65% at 100% 0%,
      rgba(38, 60, 80, 0.045) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 75% 55% at 0% 100%,
      rgba(38, 60, 80, 0.028) 0%,
      transparent 52%
    );
  border-top: none;
  border-bottom: 1px solid rgba(38, 60, 80, 0.07);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Same 52px cadence as hero; ~25% softer lines so the short nav strip matches the hero hairline (less visual noise behind pills) */
#products.product-family-hub .product-family-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(38, 60, 80, 0.028) 0,
      rgba(38, 60, 80, 0.028) 1px,
      transparent 1px,
      transparent 52px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(38, 60, 80, 0.022) 0,
      rgba(38, 60, 80, 0.022) 1px,
      transparent 1px,
      transparent 52px
    );
}

/* Lighter bloom than full hero — short bar reads cleaner without a second heavy hotspot */
#products.product-family-hub .product-family-nav::after {
  content: "";
  position: absolute;
  right: -4%;
  top: -35%;
  width: min(32vw, 200px);
  height: min(32vw, 200px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle at center,
    rgba(47, 95, 149, 0.04) 0%,
    rgba(38, 60, 80, 0.012) 48%,
    transparent 72%
  );
}

/* Vertical rhythm — must not use shorthand with top/bottom 0 on same element (see container rules above). */
#products.product-family-hub
  .product-family-nav
  > .container.product-family-nav__container {
  position: relative;
  z-index: 1;
  padding-top: clamp(1.35rem, 2.75vw, 2.05rem) !important;
  padding-bottom: clamp(1.35rem, 2.75vw, 2.05rem) !important;
}

#products.product-family-hub .product-family-nav__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

#products.product-family-hub .product-family-nav__label-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  flex: 0 1 auto;
  max-width: min(100%, 28rem);
}

#products.product-family-hub .product-family-nav__label-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

#products.product-family-hub .product-family-nav__you-are {
  margin: 0;
  padding: 0.15rem 0 0;
  font-size: var(--font-size-small, 1.4rem);
  line-height: 1.5;
  letter-spacing: 0;
  color: #64748b;
}

#products.product-family-hub .product-family-nav__you-are-prefix {
  font-weight: 600;
  margin-right: 0.45rem;
  color: var(--text-secondary, #4a5568);
}

#products.product-family-hub .product-family-nav__you-are-current {
  font-weight: 700;
  color: var(--text-primary, #263c50);
}

#products.product-family-hub .product-family-nav__accent {
  display: block;
  width: 2px;
  height: 1.5em;
  min-height: 1.4rem;
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    #2f5f95 0%,
    var(--magtek-blue, #263c50) 100%
  );
  flex-shrink: 0;
  opacity: 0.92;
}

#products.product-family-hub .product-family-nav__label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.25;
  color: #2f5f95;
}

#products.product-family-hub .product-family-nav__rail {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

#products.product-family-hub .product-family-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 0.5rem;
}

#products.product-family-hub .product-family-nav__item {
  margin: 0;
  flex-shrink: 0;
}

#products.product-family-hub .product-family-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  font-size: var(--font-size-small, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary, #263c50);
  text-decoration: none;
  border-radius: var(--radius-sm, 10px);
  border: 1px solid var(--border-light, #e2e8f0);
  background: var(--bg-white, #ffffff);
  box-shadow: 0 1px 2px rgba(38, 60, 80, 0.05);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease,
    opacity 0.12s ease;
}

@media (hover: hover) {
  #products.product-family-hub .product-family-nav__link:hover {
    color: #1f3550;
    background: #fafbfc;
    border-color: rgba(47, 95, 149, 0.28);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.05));
    text-decoration: none;
  }
}

#products.product-family-hub .product-family-nav__link:focus {
  outline: none;
}

#products.product-family-hub .product-family-nav__link:focus-visible {
  outline: 2px solid #1e4d8c;
  outline-offset: 3px;
  z-index: 1;
}

#products.product-family-hub .product-family-nav__current-icon {
  flex-shrink: 0;
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.92;
}

#products.product-family-hub .product-family-nav__link--current {
  color: #ffffff;
  background: var(--magtek-blue, #263c50);
  border-color: rgba(47, 95, 149, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 2px 8px rgba(38, 60, 80, 0.12);
  font-weight: 700;
}

@media (hover: hover) {
  #products.product-family-hub .product-family-nav__link--current:hover {
    color: #ffffff;
    background: #2f4a62;
    border-color: #1a2836;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.14) inset,
      0 3px 12px rgba(38, 60, 80, 0.18);
  }
}

#products.product-family-hub .product-family-nav__link--current:focus-visible {
  outline-color: #93c5fd;
  box-shadow:
    0 0 0 2px #0f172a,
    0 0 0 4px #93c5fd,
    0 2px 8px rgba(38, 60, 80, 0.2);
}

/* ── Product family nav: mobile (<768) — no horizontal scroll: CSS grid shows all four hubs ── */
@media (max-width: 767px) {
  #products.product-family-hub .product-family-nav {
    border-bottom-color: rgba(38, 60, 80, 0.1);
  }

  #products.product-family-hub
    .product-family-nav
    > .container.product-family-nav__container {
    padding-top: clamp(1.15rem, 3.2vw, 1.65rem) !important;
    padding-bottom: clamp(1.05rem, 2.8vw, 1.45rem) !important;
  }

  #products.product-family-hub .product-family-nav__label-group {
    max-width: 100%;
    width: 100%;
    padding-bottom: 0.75rem;
    margin-bottom: 0.1rem;
    border-bottom: 1px solid rgba(38, 60, 80, 0.09);
    gap: 0.35rem;
  }

  #products.product-family-hub .product-family-nav__label {
    font-size: 12px;
    letter-spacing: 0.14em;
  }

  #products.product-family-hub .product-family-nav__you-are {
    font-size: 1.34rem;
    line-height: 1.45;
  }

  #products.product-family-hub .product-family-nav__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  #products.product-family-hub .product-family-nav__rail {
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 0 0;
    overflow: visible;
    touch-action: manipulation;
    mask-image: none;
  }

  #products.product-family-hub .product-family-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.65rem;
    width: 100%;
    align-items: stretch;
  }

  #products.product-family-hub .product-family-nav__item {
    min-width: 0;
  }

  #products.product-family-hub .product-family-nav__link {
    width: 100%;
    min-height: max(2.85rem, 48px);
    padding: 0.5rem 0.65rem;
    font-size: 1.32rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    text-align: center;
    justify-content: center;
    line-height: 1.25;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  #products.product-family-hub .product-family-nav__link--current {
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.12) inset,
      0 3px 10px rgba(38, 60, 80, 0.18);
  }
}

/* Wide-enough phone landscape: one row of four (still no overflow scroll) */
@media (max-width: 767px) and (orientation: landscape) and (min-width: 620px) {
  #products.product-family-hub .product-family-nav__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem 0.5rem;
  }

  #products.product-family-hub .product-family-nav__link {
    font-size: 1.22rem;
    padding: 0.45rem 0.45rem;
    min-height: 44px;
  }
}

/* Narrow phones: 2×2 grid, slightly smaller type */
@media (max-width: 400px) {
  #products.product-family-hub .product-family-nav__link {
    font-size: 1.24rem;
    padding: 0.45rem 0.5rem;
    min-height: 46px;
  }

  #products.product-family-hub .product-family-nav__you-are {
    font-size: 1.28rem;
  }
}

/* Short landscape (e.g. folded cover): compact padding, keep grid (2×2 if narrow, 4-across if wide) */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  #products.product-family-hub
    .product-family-nav
    > .container.product-family-nav__container {
    padding-top: clamp(0.55rem, 2.2vh, 0.95rem) !important;
    padding-bottom: clamp(0.5rem, 2vh, 0.85rem) !important;
  }

  #products.product-family-hub .product-family-nav__label-group {
    padding-bottom: 0.5rem;
  }

  #products.product-family-hub .product-family-nav__you-are {
    font-size: 1.22rem;
    line-height: 1.35;
  }
}

/* Touch devices: pressed state (no hover) */
@media (pointer: coarse) {
  #products.product-family-hub .product-family-nav__link:active {
    opacity: 0.9;
    transform: translateY(1px);
  }

  #products.product-family-hub .product-family-nav__link--current:active {
    opacity: 0.95;
  }
}

/* Tablet portrait / small laptop: comfortable spacing, pills may wrap */
@media (min-width: 768px) and (max-width: 1024px) {
  #products.product-family-hub
    .product-family-nav
    > .container.product-family-nav__container {
    padding-top: clamp(1.25rem, 2.2vw, 1.75rem) !important;
    padding-bottom: clamp(1.25rem, 2.2vw, 1.75rem) !important;
  }

  #products.product-family-hub .product-family-nav__bar {
    gap: 1.1rem 1.5rem;
  }

  #products.product-family-hub .product-family-nav__list {
    gap: 0.4rem 0.55rem;
  }

  #products.product-family-hub .product-family-nav__link {
    min-height: 44px;
    padding: 0.48rem 1.05rem;
  }
}

/* ----- First body band after hero+nav (all four hubs — class on first <section> in each view) ----- */
#products.product-family-hub .hub-first-content-band {
  scroll-margin-top: 1rem;
  padding-top: calc(var(--cr-page-band-y, 3.5rem) + 0.5rem) !important;
}

/* =============================================================================
   Hardware hubs — responsive matrix (Card Readers, OEM, Check Scanners, Instant Issuance)
   Safe-area · phones portrait/landscape · foldables · tablets · iPad-class · ultrawide
   (Complements #products rules in card-readers.css; hub-specific overrides stay here.)
   ============================================================================= */

/* Notched phones / home indicator: never let gutters be narrower than safe-area */
@media (min-width: 1025px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    padding-left: max(
      var(--space-lg),
      env(safe-area-inset-left, 0px)
    ) !important;
    padding-right: max(
      var(--space-lg),
      env(safe-area-inset-right, 0px)
    ) !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    padding-left: max(
      var(--space-md),
      env(safe-area-inset-left, 0px)
    ) !important;
    padding-right: max(
      var(--space-md),
      env(safe-area-inset-right, 0px)
    ) !important;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    padding-left: max(
      var(--space-sm),
      env(safe-area-inset-left, 0px)
    ) !important;
    padding-right: max(
      var(--space-sm),
      env(safe-area-inset-right, 0px)
    ) !important;
  }
}

@media (max-width: 480px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px)) !important;
  }
}

/* Phone portrait: fluid hero title band */
@media (max-width: 575px) {
  #products.product-family-hub .split-hero.split-hero--family-hub h1 {
    font-size: clamp(2.35rem, 6.2vw, 3.15rem);
    line-height: 1.18;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-subtitle {
    font-size: clamp(1.45rem, 4vw, 1.65rem);
  }

  #products.product-family-hub .hub-first-content-band {
    padding-top: calc(var(--cr-page-band-y, 3.5rem) + 0.35rem) !important;
  }
}

/* Tablet portrait / small laptop — match card-readers rhythm */
@media (min-width: 768px) and (max-width: 1024px) {
  #products.product-family-hub .split-hero.split-hero--family-hub h1 {
    font-size: clamp(3rem, 3.2vw + 1.5rem, 3.65rem);
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-subtitle {
    font-size: clamp(1.55rem, 1.4vw + 1.35rem, 1.8rem);
  }
}

/* Short landscape (phones, small tablets, foldable cover display): compact hero + nav */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 1060px) {
  #products.product-family-hub .split-hero.split-hero--family-hub {
    padding-top: clamp(0.85rem, 3.5vh, 1.35rem) !important;
    padding-bottom: clamp(0.85rem, 3.5vh, 1.35rem) !important;
  }

  #products.product-family-hub .split-hero.split-hero--family-hub h1 {
    font-size: clamp(2.15rem, 4.8vh, 3rem) !important;
    margin-bottom: 0.35rem !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-subtitle {
    margin-bottom: clamp(0.85rem, 2vh, 1.25rem) !important;
    font-size: clamp(1.35rem, 2.4vh, 1.55rem) !important;
    line-height: 1.38 !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions {
    margin-top: 0.35rem !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media {
    margin-top: 0.35rem !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media
    img {
    max-height: min(38vh, 200px) !important;
  }

  #products.product-family-hub
    .product-family-nav
    > .container.product-family-nav__container {
    padding-top: clamp(0.7rem, 2.2vh, 1.15rem) !important;
    padding-bottom: clamp(0.7rem, 2.2vh, 1.15rem) !important;
  }

  #products.product-family-hub .hub-first-content-band {
    padding-top: calc(var(--cr-page-band-y, 3rem) + 0.25rem) !important;
  }
}

/* Extra-short landscape (folded outer / cramped) */
@media (max-height: 400px) and (orientation: landscape) and (max-width: 900px) {
  #products.product-family-hub .split-hero.split-hero--family-hub h1 {
    font-size: clamp(1.95rem, 4vh, 2.5rem) !important;
  }

  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-media
    img {
    max-height: min(34vh, 160px) !important;
  }
}

/* Dual-screen / fold: avoid rigid max-width clipping the seam between panes */
@media (horizontal-viewport-segments: 2) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    max-width: 100% !important;
    padding-left: max(1rem, env(safe-area-inset-left, 12px)) !important;
    padding-right: max(1rem, env(safe-area-inset-right, 12px)) !important;
  }
}

/* Ultrawide / very large desktop: keep side breathing room past container max */
@media (min-width: 2000px) {
  #products.product-family-hub .split-hero.split-hero--family-hub > .container,
  #products.product-family-hub .product-family-nav > .container {
    padding-left: max(
      var(--space-lg),
      env(safe-area-inset-left, 0px),
      2rem
    ) !important;
    padding-right: max(
      var(--space-lg),
      env(safe-area-inset-right, 0px),
      2rem
    ) !important;
  }
}

/* Coarse pointer: keep ≥44px tap targets without restoring oversized fixed heights */
@media (pointer: coarse) {
  #products.product-family-hub
    .split-hero.split-hero--family-hub
    .split-hero-actions
    .btn {
    min-height: 44px;
    align-items: center;
    display: inline-flex;
    justify-content: center;
  }

  #products.product-family-hub .product-family-nav__link {
    min-height: max(2.85rem, 44px);
  }
}

/* Card Readers: DynaCast two-column promo lives on hub — tighten on small viewports */
@media (max-width: 991px) {
  #products.product-family-hub .promo-two-col {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  #products.product-family-hub .promo-two-col__panel {
    margin-left: max(0px, env(safe-area-inset-left, 0px));
    margin-right: max(0px, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 575px) {
  #products.product-family-hub .promo-two-col {
    padding-top: 40px;
    padding-bottom: 40px;
    scroll-margin-top: 72px;
  }

  #products.product-family-hub .promo-two-col__panel {
    padding: 26px 18px 24px;
    border-radius: 12px;
  }

  #products.product-family-hub .promo-two-col__img {
    max-height: min(220px, 48vw);
  }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 1060px) {
  #products.product-family-hub .promo-two-col {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  #products.product-family-hub .promo-two-col__img {
    max-height: min(180px, 42vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  #products.product-family-hub .product-family-nav__link {
    transition: none;
  }

  #products.product-family-hub .product-family-nav__link:active {
    transform: none;
  }
}

/* ----- Card Readers + OEM only: grounded hero (other hubs unchanged) -----
   Intent: reduce “floating on empty canvas” without heavy gradients or new palette colors.
   • MagTek blue accent bar (token: --magtek-blue)
   • Vertical tonal field: --bg-white → --bg-light (subtle floor, enterprise-quiet)
   • Existing hub radials at same RGB as --magtek-blue, slightly restrained
   • Inset bottom edge: --border-light — separates hero from nav / next band
   • Radial “pedestal” under product PNG (::after on .split-hero-media-inner) — anchors hardware to surface */
#products.card-readers-page .split-hero.split-hero--family-hub,
#products.oem-product-page .split-hero.split-hero--family-hub {
  border-top: clamp(10px, 1.25vw, 16px) solid var(--magtek-blue, #263c50);
  background-color: var(--bg-light, #f8f9fa);
  background-image:
    linear-gradient(
      180deg,
      var(--bg-white, #ffffff) 0%,
      var(--bg-light, #f8f9fa) 100%
    ),
    radial-gradient(
      ellipse 90% 65% at 100% 0%,
      rgba(38, 60, 80, 0.05) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 75% 55% at 0% 100%,
      rgba(38, 60, 80, 0.03) 0%,
      transparent 52%
    );
  box-shadow: inset 0 -1px 0 0 var(--border-light, #e2e8f0);
}

#products.card-readers-page
  .split-hero.split-hero--family-hub
  .split-hero-media-inner,
#products.oem-product-page
  .split-hero.split-hero--family-hub
  .split-hero-media-inner {
  position: relative;
}

/* Pedestal: elliptical wash under hardware (z-index below img; ::before remains unused on family-hub) */
#products.card-readers-page
  .split-hero.split-hero--family-hub
  .split-hero-media-inner::after,
#products.oem-product-page
  .split-hero.split-hero--family-hub
  .split-hero-media-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 18%);
  width: min(94%, 32rem);
  height: clamp(4.5rem, 19vw, 10rem);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(38, 60, 80, 0.075) 0%,
    rgba(38, 60, 80, 0.028) 48%,
    transparent 70%
  );
}

@media (prefers-reduced-transparency: reduce) {
  #products.card-readers-page .split-hero.split-hero--family-hub,
  #products.oem-product-page .split-hero.split-hero--family-hub {
    background-color: var(--bg-light, #f8f9fa);
    background-image: none;
    box-shadow: inset 0 -1px 0 0 var(--border-light, #e2e8f0);
  }

  #products.card-readers-page
    .split-hero.split-hero--family-hub
    .split-hero-media-inner::after,
  #products.oem-product-page
    .split-hero.split-hero--family-hub
    .split-hero-media-inner::after {
    display: none;
  }
}

/* First content band under nav: alt surface only — MagTek blue accent bar lives on .split-hero--family-hub (single bar at top of hero). */
#products.card-readers-page .cr-value-band.hub-first-content-band {
  background: var(--cr-surface-alt);
}

#products.oem-product-page .oem-kiosk-embed-section.hub-first-content-band {
  background: var(--cr-surface-alt);
}
