/* Header navigation uses the same compact glass disclosure as the search tools. */
/* Give the complete glass wordmark a clearer presence without scaling the footer. */
html body#partpriceSite.pp-apple header.site-header > .brand .brand-logo {
  width: 216px !important;
  height: auto !important;
  max-height: none !important;
}
@media(max-width:1100px) {
  html body#partpriceSite.pp-apple header.site-header > .brand .brand-logo { width: 194px !important; }
}
@media(max-width:640px) {
  html body#partpriceSite.pp-apple header.site-header > .brand .brand-logo { width: 184px !important; }
}
@media(max-width:359px) {
  html body#partpriceSite.pp-apple header.site-header > .brand .brand-logo { width: 170px !important; }
}
html body#partpriceSite.pp-apple header.site-header {
  overflow: visible !important;
  flex-wrap: nowrap !important;
}
/* Keep all actions in one compact group instead of distributing separate items. */
html body#partpriceSite.pp-apple header.site-header > .header-actions {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: max-content !important;
  min-width: 0 !important;
  gap: 12px !important;
  margin-left: auto !important;
}
html body#partpriceSite.pp-apple header.site-header > .main-nav:not(.mobile-open) { display: none !important; }
html body#partpriceSite.pp-apple header.site-header > .header-actions > #menuToggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 168px !important;
  height: 48px !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
  order: -1;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  border-radius: 999px !important;
  color: #345b78 !important;
  font: inherit;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  text-indent: 0 !important;
  background: linear-gradient(145deg,rgba(255,255,255,.68),rgba(235,247,255,.43)) !important;
  box-shadow: 0 5px 16px rgba(40,90,125,.06),inset 0 1px 0 #fff !important;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  cursor: pointer;
}
html body#partpriceSite.pp-apple header.site-header > .header-actions > #menuToggle:is(:hover,[aria-expanded="true"]) {
  background: linear-gradient(145deg,rgba(255,255,255,.86),rgba(226,242,255,.66)) !important;
  color: #0874b7 !important;
}
html body#partpriceSite.pp-apple #menuToggle > svg { width: 21px; height: 21px; flex: 0 0 21px; }
html body#partpriceSite.pp-apple #menuToggle > .site-menu-chevron { width: 16px; height: 16px; flex-basis: 16px; transition: transform .15s ease; }
html body#partpriceSite.pp-apple #menuToggle[aria-expanded="true"] > .site-menu-chevron { transform: rotate(180deg); }
html body#partpriceSite.pp-apple .main-nav .nav-menu-icon { display: none; }
html body#partpriceSite.pp-apple header.site-header > #siteNavigation.mobile-open {
  position: absolute !important;
  inset: auto !important;
  top: var(--pp-menu-top, calc(100% + 10px)) !important;
  right: var(--pp-menu-right, 16px) !important;
  z-index: 120 !important;
  display: flex !important;
  flex: none !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  width: min(320px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: calc(100vw - 32px) !important;
  height: auto !important;
  max-height: var(--pp-menu-height, calc(100dvh - 120px)) !important;
  margin: 0 !important;
  padding: 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  border: 1px solid rgba(255,255,255,.9) !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg,rgba(250,253,255,.91),rgba(232,245,255,.86)) !important;
  box-shadow: 0 14px 38px rgba(27,74,108,.18),inset 0 1px 0 #fff !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
  transform: none !important;
  animation: pp-header-menu-in .15s ease-out;
}
html body#partpriceSite.pp-apple header.site-header > #siteNavigation.mobile-open > a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 11px 14px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #345b78 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  text-align: left !important;
  white-space: normal !important;
  text-decoration: none !important;
  transform: none !important;
  filter: none !important;
}
html body#partpriceSite.pp-apple header.site-header > #siteNavigation.mobile-open .nav-menu-icon {
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  flex: 0 0 21px !important;
  color: currentColor;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.7 !important;
}
html body#partpriceSite.pp-apple header.site-header > #siteNavigation.mobile-open > a:is(:hover,:focus-visible,.active,[aria-current]) {
  color: #0874b7 !important;
  background: rgba(218,238,251,.8) !important;
}
@media(max-width:1100px) {
  html body#partpriceSite.pp-apple header.site-header > .brand { order: 0; flex: 0 1 auto !important; }
  html body#partpriceSite.pp-apple header.site-header > .brand .brand-logo { max-width: 100% !important; }
  html body#partpriceSite.pp-apple header.site-header > .header-actions { order: 1; gap: 8px !important; }
  html body#partpriceSite.pp-apple header.site-header > .header-actions > #favoritesOpen { order: 1; }
  html body#partpriceSite.pp-apple header.site-header > .header-actions > #menuToggle {
    order: 2;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
  }
  html body#partpriceSite.pp-apple #menuToggle > :is(.site-menu-label,.site-menu-chevron) { display: none !important; }
}
@keyframes pp-header-menu-in { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) {
  html body#partpriceSite.pp-apple header.site-header > #siteNavigation.mobile-open { animation: none; }
}
