#header { background: #0d2038; }
#header .hdcars-header-base { max-width: 1600px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 88px; padding: 18px 32px; color: #fff; }
#header .hdcars-header-base a { color: #edf4ff; text-decoration: none; }
#header .hdcars-header-brand { flex-shrink: 0; font-size: 25px; font-weight: 800; letter-spacing: .08em; }
#header .hdcars-header-brand span { color: #64a5ff; }
#header .hdcars-header-logo { display: block; width: 154px; height: auto; max-height: 54px; object-fit: contain; }
#header .hdcars-header-navigation ul { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
#header .hdcars-header-navigation li { margin: 0; }
#header .hdcars-header-navigation a { display: block; padding: 12px 0; font-size: 14px; font-weight: 600; transition: color .15s; }
#header .hdcars-header-navigation li { position: relative; }
#header .hdcars-header-navigation .sub-menu { position: absolute; z-index: 20; top: 100%; left: -16px; display: none; min-width: 220px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid #ffffff20; border-radius: 10px; background: #0d2038; box-shadow: 0 12px 28px #06142655; }
#header .hdcars-header-navigation li:hover > .sub-menu,
#header .hdcars-header-navigation li:focus-within > .sub-menu { display: flex; }
#header .hdcars-header-navigation .sub-menu a { padding: 10px 12px; }
#header .hdcars-header-navigation a:hover,
#header .hdcars-header-navigation .current-menu-item > a { color: #75afff; }
#header .hdcars-header-actions { display: flex; align-items: center; gap: 14px; }
#header .hdcars-header-search { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #ffffff0d; }
#header .hdcars-header-search:hover { background: #ffffff1a; }
#header .hdcars-header-toggle { display: none; border: 1px solid #ffffff30; border-radius: 10px; width: 44px; height: 44px; background: transparent; padding: 11px; cursor: pointer; }
#header .hdcars-header-toggle span { display: block; height: 2px; background: #fff; margin: 4px 0; }
#header .hdcars-header-toggle[hidden] { display: none; }
#header .hdcars-header-base :focus-visible { outline: 3px solid #75afff; outline-offset: 4px; }
@media (max-width: 1100px) {
  #header .hdcars-header-base { flex-wrap: wrap; padding: 16px 24px; gap: 16px; min-height: 80px; }
  #header .hdcars-header-actions { margin-left: auto; }
  #header .hdcars-header-navigation { order: 3; width: 100%; }
  #header .hdcars-header-navigation ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid #ffffff20; padding-top: 12px; }
  #header .hdcars-header-navigation .sub-menu { position: static; min-width: 0; margin-left: 12px; border: 0; border-left: 1px solid #ffffff30; border-radius: 0; background: transparent; box-shadow: none; padding: 0 0 0 12px; }
  #header .hdcars-header-navigation a { padding: 14px 4px; }
  #header .hdcars-header-base.is-enhanced .hdcars-header-navigation { display: none; }
  #header .hdcars-header-base.is-menu-open .hdcars-header-navigation { display: block; }
  #header .hdcars-header-toggle { display: block; }
}
@media (max-width: 640px) {
  #header .hdcars-header-base { padding: 14px 16px; }
  #header .hdcars-header-logo { width: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  #header .hdcars-header-navigation a { transition: none; }
}
