/* D2C Mobile Orbit HARD FIX v3 - unique filename to bypass old browser/server cache */

/* Mobile header: logo + menu only, no CTA overlap */
@media (max-width: 767px) {
  body .global-header,
  body .global-header.is-scrolled,
  body.page-strength-training .slide-header,
  body.page-strength-training .slide-header.is-scrolled {
    height: 84px !important;
    min-height: 84px !important;
  }

  body .global-header__inner,
  body.page-strength-training .slide-header .site-header__inner {
    display: grid !important;
    grid-template-columns: 92px minmax(0,1fr) 44px !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 84px !important;
    padding: 0 16px !important;
  }

  body .global-header__cta,
  body .global-header__phone,
  body .global-header__nav,
  body.page-strength-training .slide-header .site-header__cta,
  body.page-strength-training .slide-header .site-header__phone,
  body.page-strength-training .slide-header .desktop-nav {
    display: none !important;
  }

  body .global-header .menu-toggle,
  body.page-strength-training .slide-header .menu-toggle {
    position: static !important;
    display: inline-flex !important;
    grid-column: 3 !important;
    justify-self: end !important;
    align-self: center !important;
    width: 42px !important;
    height: 42px !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 5 !important;
  }

  body .global-header__brand,
  body.page-strength-training .slide-header .brand {
    position: static !important;
    grid-column: 1 !important;
    width: 88px !important;
    height: 74px !important;
    margin: 0 !important;
    transform: none !important;
  }

  /* ===== shared orbit mobile reset ===== */
  body.page-peptide-therapy .blueprint-wheel,
  body.page-glp-1-therapy .glp1-wheel,
  body.page-strength-training .sb-wheel {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 4px 0 8px !important;
    transform: none !important;
    overflow: visible !important;
  }

  body.page-peptide-therapy .blueprint-wheel::before,
  body.page-peptide-therapy .blueprint-wheel::after,
  body.page-glp-1-therapy .glp1-wheel::before,
  body.page-glp-1-therapy .glp1-wheel::after,
  body.page-strength-training .sb-wheel::before,
  body.page-strength-training .sb-wheel::after {
    display: none !important;
    content: none !important;
  }

  body.page-peptide-therapy .blueprint-wheel__center,
  body.page-glp-1-therapy .glp1-wheel__center,
  body.page-strength-training .sb-wheel__center {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    width: 166px !important;
    height: 166px !important;
    max-width: 166px !important;
    min-width: 166px !important;
    margin: 0 auto 12px !important;
    padding: 12px !important;
    border-radius: 50% !important;
    z-index: 1 !important;
  }

  body.page-peptide-therapy .blueprint-wheel article,
  body.page-glp-1-therapy .glp1-wheel article,
  body.page-strength-training .sb-wheel article,
  body.page-peptide-therapy .blueprint-wheel article:nth-of-type(n),
  body.page-glp-1-therapy .glp1-wheel article:nth-of-type(n),
  body.page-strength-training .sb-wheel article:nth-of-type(n) {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 112px !important;
    margin: 0 !important;
    padding: 13px 8px !important;
    gap: 8px !important;
    text-align: center !important;
    border: 1px solid rgba(185,120,53,.20) !important;
    border-radius: 16px !important;
    background: #fffaf4 !important;
    box-shadow: 0 4px 14px rgba(27,18,12,.045) !important;
    z-index: 1 !important;
  }

  body.page-peptide-therapy .blueprint-wheel article span,
  body.page-glp-1-therapy .glp1-wheel article span,
  body.page-strength-training .sb-wheel article span {
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    flex: 0 0 48px !important;
    margin: 0 auto !important;
    border-radius: 50% !important;
  }

  body.page-peptide-therapy .blueprint-wheel article span svg,
  body.page-glp-1-therapy .glp1-wheel article span svg,
  body.page-strength-training .sb-wheel article span svg {
    width: 21px !important;
    height: 21px !important;
  }

  body.page-peptide-therapy .blueprint-wheel article b,
  body.page-glp-1-therapy .glp1-wheel article b,
  body.page-strength-training .sb-wheel article b {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.22 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
  }

  /* odd last item centered */
  body.page-peptide-therapy .blueprint-wheel article:last-child {
    grid-column: 1 / -1 !important;
    width: min(100%, 180px) !important;
    justify-self: center !important;
  }

  /* Parent layout reset so wheel does not overlay adjacent copy */
  body.page-peptide-therapy .blueprint-slide__grid,
  body.page-glp-1-therapy .glp1-blueprint-match__grid,
  body.page-strength-training .strength-blueprint-match__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    overflow: visible !important;
  }

  body.page-peptide-therapy .blueprint-slide__grid > div,
  body.page-glp-1-therapy .glp1-wheel-wrap,
  body.page-strength-training .strength-blueprint-match__grid > * {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
}

@media (max-width: 390px) {
  body.page-peptide-therapy .blueprint-wheel,
  body.page-glp-1-therapy .glp1-wheel,
  body.page-strength-training .sb-wheel {
    gap: 10px !important;
  }

  body.page-peptide-therapy .blueprint-wheel article,
  body.page-glp-1-therapy .glp1-wheel article,
  body.page-strength-training .sb-wheel article {
    min-height: 104px !important;
    padding: 11px 6px !important;
  }

  body.page-peptide-therapy .blueprint-wheel article b,
  body.page-glp-1-therapy .glp1-wheel article b,
  body.page-strength-training .sb-wheel article b {
    font-size: 11px !important;
  }
}
