/* RESPONSIVE HEADER FIX — November 12, 2026
   Loaded last to override older conflicting breakpoint/utility rules.
   Visual palette and normal page content unchanged. */
html { box-sizing: border-box; }
*,*::before,*::after { box-sizing: inherit; }

/* Maintain a single baseline for the small utility row on all screen sizes. */
html body .utility-bar {
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  overflow: visible !important;
  line-height: normal !important;
  border-bottom: 1px solid rgba(0,191,255,.14) !important;
  box-shadow: none !important;
}
html body .utility-bar .utility-bar-inner.utility-bar-racing {
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items: center !important;
  justify-items: stretch !important;
  padding: 0 clamp(12px,3.5vw,64px) !important;
  gap: clamp(6px,1vw,16px) !important;
  line-height: 1.1 !important;
  overflow: hidden !important;
}
html body .utility-bar .utility-left,
html body .utility-bar .utility-right,
html body .utility-bar .utility-phone {
  min-width: 0 !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  line-height: 1.1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  transform: none !important;
}
html body .utility-bar .utility-left { justify-content: flex-start !important; }
html body .utility-bar .utility-right { justify-content: flex-end !important; overflow: hidden !important; gap: clamp(5px,1vw,18px) !important; }
html body .utility-bar .utility-phone { white-space: nowrap !important; flex: 0 0 auto !important; }
html body .utility-bar .utility-phone strong { display: inline-block !important; line-height: 1.1 !important; font-size: clamp(10px,.85vw,14px) !important; }
html body .utility-bar .utility-hours, html body .utility-bar .utility-location { white-space: nowrap !important; line-height: 1.1 !important; }
html body .utility-bar .utility-racing-center { justify-self: center !important; align-self: center !important; }

/* 769–1180px was formerly rendered as desktop, with overlapping navigation. */
@media (max-width: 1180px) {
  html body nav {
    top: 36px !important;
    min-height: 72px !important;
    padding: 12px clamp(14px,3vw,28px) !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: clamp(10px,2vw,24px) !important;
  }
  html body nav .nav-links { display: none !important; }
  html body nav .hamburger { display: flex !important; margin-left: 6px !important; flex: 0 0 auto !important; }
  html body nav .nav-logo img { max-height: 44px !important; width: auto !important; }
  html body nav .nav-right-group { margin-left: auto !important; gap: clamp(8px,2vw,20px) !important; }
  html body .mobile-menu { top: 108px !important; }
  html body .mi-page-hero { margin-top: 108px !important; }
  html body .utility-bar .utility-location { max-width: none !important; }
}
@media (max-width: 768px) {
  html body .utility-bar .utility-bar-inner.utility-bar-racing {
    grid-template-columns: minmax(0,1fr) 52px minmax(0,1fr) !important;
    padding: 0 clamp(7px,2vw,14px) !important;
    gap: 4px !important;
  }
  html body .utility-bar .utility-phone { font-size: 10px !important; gap: 3px !important; }
  html body .utility-bar .utility-phone strong { font-size: clamp(9px,2.15vw,12px) !important; letter-spacing: 0 !important; }
  html body .utility-bar .utility-phone svg { flex-shrink: 0 !important; width: 11px !important; height: 11px !important; }
  html body .utility-bar .utility-hours { font-size: clamp(7px,1.55vw,9px) !important; }
  html body .utility-bar .utility-location, html body .utility-bar .utility-divider-hide-mobile { display: none !important; }
  html body .utility-bar .utility-racing-center { width: 52px !important; }
  html body nav { min-height: 72px !important; }
  /* The page intro follows the fixed combined utility/header height. */
  html body .mi-page-hero { margin-top: 108px !important; }
  /* The extra decorative line above Audio's installed-by heading was not a section separator. */
  html body.audio-page .audio-build-hero-inner .sport-stripe { display: none !important; }
}
@media (max-width: 380px) {
  html body nav { padding-left: 12px !important; padding-right: 12px !important; gap: 8px !important; }
  html body nav .nav-right-group { gap: 8px !important; }
  html body nav .nav-cta { padding: 8px 12px !important; font-size: 12px !important; }
  html body nav .nav-logo img { max-height: 38px !important; }
}
/* Wide monitors preserve the normal desktop nav but gain a reliable utility baseline. */
@media (min-width:1181px) {
  html body nav { top: 36px !important; }
  html body .mi-page-hero { margin-top: 118px !important; }
}
