

.nav-family-entries,
.nav-tree,
.nav-submenu {
  display: none;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-tree {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-row {
  display: flex;
  align-items: center;
}

.nav-link,
.nav-toggle {
  display: flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}

.nav-link {
  flex: 1;
  gap: 18px;
  padding: 12px 0;
  text-align: start;
}

.nav-label-toggle {
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle {
  width: 32px;
  justify-content: center;
  cursor: pointer;
}

.nav-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentcolor;
  border-bottom: 1.5px solid currentcolor;
  transform: rotate(45deg);
}

.nav-submenu {
  position: absolute;
  z-index: 2;
  inset-block-start: 100%;
  inset-inline-start: 0;
  min-width: 250px;
  padding: 8px;
  border-top: 2px solid #b92531;
  background: #fff;
  color: #191b1f;
  box-shadow: 0 8px 28px rgb(25 27 31 / 14%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.navigation-drawer {
  max-height: 100dvh;
  padding: 0;
  overflow-y: auto;
}

.navigation-drawer > nav {
  padding: 12px 24px 28px;
}

.nav-panel-heading {
  padding: 0 12px 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid #dedfe0;
  color: #707276;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-logo-window {
  display: flex;
  width: 116px;
  height: 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-brand-logo {
  display: block;
  width: 140px;
  height: 140px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-category-art {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: #414347;
}

.nav-art-accent {
  stroke: #d14d58;
}

.nav-category-item {
  border: 1px solid #e4e5e6;
  background: #f5f6f7;
}

.nav-custom-art {
  width: 116px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-inline-art {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

img.nav-category-art {
  object-fit: contain;
}

.nav-submenu .nav-link {
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
}

.nav-submenu .nav-row {
  transition: background 150ms ease, color 150ms ease;
}

.nav-submenu .nav-toggle {
  width: 44px;
}

.nav-submenu .nav-chevron {
  transform: rotate(-45deg);
}

.nav-submenu .nav-pending {
  cursor: default;
}

.nav-submenu .nav-submenu {
  inset-block-start: -2px;
  inset-inline-start: 100%;
  max-height: min(460px, calc(100dvh - var(--nav-panel-top, 110px) - 20px));
  overflow-y: auto;
  border-top: 2px solid #b92531;
  transform: translateX(8px);
}

.nav-link:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid #404246;
  outline-offset: -2px;
}

.navigation-drawer .drawer-heading {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 20px 24px;
  border-bottom: 1px solid #dfe0e1;
  background: #fff;
  margin-block-end: 0;
  align-items: center;
}

.navigation-drawer .drawer-close {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  flex: 0 0 44px;
  color: var(--owell-ink, #1a1c20);
  border-radius: 50%;
  background: transparent;
}

.navigation-drawer .drawer-close:hover {
  background: #f2f3f4;
}

.navigation-drawer .drawer-close:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 2px;
}

.navigation-drawer .nav-tree {
  display: block;
}

.navigation-drawer .nav-link {
  min-height: 52px;
  padding: 12px 0;
  font-size: 17px;
}

.navigation-drawer .nav-toggle {
  width: 44px;
  min-height: 52px;
}

.navigation-drawer .nav-submenu {
  position: static;
  display: none;
  min-width: 0;
  max-height: none;
  padding: 0 0 8px 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  visibility: visible;
  opacity: 1;
  transform: none;
}

.navigation-drawer .nav-chevron {
  transform: rotate(45deg);
}

.navigation-drawer .button {
  display: flex;
  margin-top: 24px;
}

.navigation-drawer .drawer-heading h2 {
  font-size: 20px;
}

.navigation-fallback .nav-tree {
  display: block;
}

.navigation-fallback .nav-submenu {
  position: static;
  display: block;
  visibility: visible;
  opacity: 1;
  transform: none;
  border: 0;
  box-shadow: none;
  margin-inline-start: 16px;
}

.site-header {
  --header-height: 88px;
  --header-logo-width: 142px;
  --header-gutter: var(--gutter);
}

.site-header .header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: min(var(--content-width), calc(100% - var(--header-gutter) * 2));
  min-height: calc(var(--header-height) - 1px);
  gap: 24px;
  flex-wrap: nowrap;
}

.site-header .wordmark {
  width: var(--header-logo-width);
  max-width: none;
}

.site-header .desktop-navigation { justify-self: center; }

.site-header .header-actions {
  justify-self: end;
  flex-wrap: nowrap;
  gap: 18px;
}

.site-header.needs-compact .header-row {
  grid-template-columns: auto minmax(0, 1fr);
  flex-wrap: nowrap;
}

@media (width < 1024px) {
  .site-header .header-row { grid-template-columns: auto minmax(0, 1fr); }
}

.site-header .header-rfq {
  padding: 13px 20px;
  border-radius: 2px;
  font-size: 14px;
}

.desktop-navigation .nav-tree {
  gap: 32px;
}

.nav-logo-cummins .nav-brand-logo {
  width: 64px;
  height: 64px;
}

.nav-logo-jichai .nav-brand-logo {
  width: 40px;
  height: 40px;
}

.nav-panel-brands .nav-panel-heading {
  grid-column: 1/-1;
}

.nav-panel-brands .nav-brand-item {
  border: 1px solid #e8e9ea;
}

.navigation-drawer .nav-panel-heading {
  display: none;
}

.navigation-drawer .nav-brand-item {
  border: 0;
}

.navigation-drawer .nav-logo-window {
  width: 72px;
  height: 28px;
}

.navigation-drawer .nav-brand-logo {
  width: 90px;
  height: 90px;
}

.navigation-drawer .nav-row {
  width: 100%;
}

.nav-logo-volvo .nav-brand-logo, .nav-logo-weichai .nav-brand-logo, .nav-logo-baudouin .nav-brand-logo {
  width: 116px;
  height: 116px;
}

.nav-panel-categories .nav-panel-heading {
  grid-column: 1/-1;
}

.nav-category-item .nav-row {
  height: 100%;
}

.nav-category-item .nav-link {
  min-height: 104px;
  padding: 12px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.navigation-drawer .nav-category-item {
  border: 0;
  background: transparent;
}

.navigation-drawer .nav-category-art {
  width: 30px;
  height: 30px;
}

.nav-logo-window .nav-category-art {
  width: 40px;
  height: 40px;
}

.navigation-drawer .nav-custom-art {
  width: 72px;
  height: 28px;
}

.nav-item.is-open > .nav-submenu {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-item.is-open > .nav-row {
  color: #b92531;
}

.nav-submenu .nav-row:hover,
.nav-submenu .nav-row:focus-within,
.nav-submenu .is-open > .nav-row {
  background: #f1f2f3;
  color: #b92531;
}

.nav-submenu .is-open > .nav-submenu {
  transform: none;
}

.nav-item.nav-flip > .nav-submenu {
  inset-inline: auto 0;
}

.desktop-navigation .nav-link:hover {
  text-decoration: none;
  color: #b92531;
}

.navigation-drawer .nav-tree > .nav-item {
  border-bottom: 1px solid #e2e3e4;
}

.navigation-drawer .is-open > .nav-submenu {
  display: block;
}

.navigation-drawer .nav-submenu .nav-link {
  min-height: 48px;
  padding: 10px 0;
  font-size: 15px;
}

.navigation-drawer .nav-submenu .nav-submenu {
  border-inline-start: 1px solid #d5d6d7;
  margin-inline-start: 4px;
  padding-inline-start: 18px;
}

.navigation-drawer .nav-row:hover,
.navigation-drawer .nav-row:focus-within,
.navigation-drawer .is-open > .nav-row {
  background: transparent;
}

.site-header.needs-compact .desktop-navigation,
.site-header.needs-compact .header-rfq {
  display: none;
}

.site-header.needs-compact .menu-toggle {
  display: inline-flex;
}

.desktop-navigation .nav-submenu .nav-submenu {
  min-width: 342px;
  padding: 20px;
}

.nav-panel-brands .nav-brand-item .nav-link {
  min-height: 104px;
  padding: 16px 12px;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}

.nav-item.is-open > .nav-panel-brands {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px;
}

.navigation-drawer .is-open > .nav-panel-brands {
  display: block;
}

.navigation-drawer .nav-brand-item .nav-link {
  min-height: 48px;
  padding: 8px 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
  font-size: 15px;
}

.navigation-drawer .nav-logo-cummins .nav-brand-logo {
  width: 44px;
  height: 44px;
}

.navigation-drawer .nav-logo-jichai .nav-brand-logo {
  width: 28px;
  height: 28px;
}

.navigation-drawer .nav-logo-volvo .nav-brand-logo, .navigation-drawer .nav-logo-weichai .nav-brand-logo, .navigation-drawer .nav-logo-baudouin .nav-brand-logo {
  width: 72px;
  height: 72px;
}

.navigation-drawer .nav-submenu .nav-pending {
  color: #191b1f;
}

.nav-item.is-open > .nav-panel-categories {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
}

.navigation-drawer .is-open > .nav-panel-categories {
  display: block;
}

.navigation-drawer .nav-category-item .nav-link {
  min-height: 48px;
  padding: 9px 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  text-align: start;
}

.desktop-navigation .nav-submenu .nav-panel-categories {
  min-width: 390px;
  max-height: calc(100dvh - var(--nav-panel-top, 160px) - 20px);
}

.nav-submenu .nav-item.nav-flip > .nav-submenu {
  inset-inline: auto 100%;
}

.navigation-drawer .is-open > .nav-row .nav-chevron {
  transform: rotate(225deg);
}

.desktop-navigation .nav-tree > .nav-item > .nav-row {
  min-height: calc(var(--header-height) - 1px);
}

.desktop-navigation .nav-tree > .nav-parent > .nav-submenu {
  width: 252px;
  padding: 12px;
}

.nav-panel-categories .nav-category-item:last-child:nth-child(even) {
  grid-column: 1/-1;
}

.desktop-navigation .nav-tree > .nav-item.is-open > .nav-row {
  color: inherit;
}

.nav-panel-categories .nav-category-item:last-child:nth-child(even) .nav-link {
  min-height: 64px;
  flex-direction: row;
  gap: 14px;
}

.desktop-navigation .nav-tree > .nav-item.is-open > .nav-row::after {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: #b92531;
  content: '';
}

.desktop-navigation .nav-tree > .nav-parent > .nav-submenu > .nav-parent > .nav-row {
  min-height: 62px;
}

.desktop-navigation > .nav-tree > .nav-item > .nav-row > .nav-link:hover {
  color: inherit;
}

.navigation-drawer .nav-panel-categories .nav-category-item:last-child:nth-child(even) .nav-link {
  min-height: 48px;
  padding: 9px 0;
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  text-align: start;
}

@starting-style {
.nav-item.is-open > .nav-submenu {
  opacity: 0;
  transform: translateY(6px);
}
}

@media (width >= 1024px) {
.desktop-navigation {
  display: block;
}

.header-rfq {
  display: inline-flex;
}

.menu-toggle {
  display: none;
}

.site-header .header-language .owell-language-label-desktop {
  display: none;
}

.site-header .header-language .owell-language-label-mobile {
  display: inline;
}

.site-header .header-language .owell-language-flag {
  display: block;
  width: 21px;
  height: 14px;
  flex: 0 0 21px;
  border-radius: 1px;
}
}

@media (prefers-reduced-motion: reduce) {
.nav-submenu,
  .nav-submenu .nav-row {
  transition: none;
}
}

@media (width <= 700px) {
.site-header {
  --header-height: 72px;
  --header-logo-width: clamp(88px, calc(60vw - 104px), 112px);
  --header-gutter: clamp(16px, calc(10vw - 20px), 24px);
}

.site-header .header-row {
  gap: 8px;
}

.site-header .header-actions {
  gap: 6px;
}

.menu-toggle,
.site-header .search-toggle {
  width: 44px;
  padding-inline: 0;
}

.menu-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}

.menu-toggle {
  transition: color 150ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  color: #b92531;
  text-decoration: none;
}

.site-header .header-actions .menu-toggle {
  margin-inline-start: 4px;
}

@media (width <= 380px) {
.site-header .header-actions {
  gap: 4px;
}

.site-header .header-actions .menu-toggle {
  margin-inline-start: 4px;
}

.site-header .owell-language summary {
  gap: 4px;
  padding-inline: 1px;
  font-size: 13px;
}
}
}

/* Keep the utility row compact while leaving every target at least 44px high. */
.site-header .header-language {
  flex: none;
}

.site-header .owell-language summary {
  padding-inline: 4px;
  gap: 6px;
  font-size: 14px;
  white-space: nowrap;
}

@media (width <= 380px) {
body .site-header .header-language .owell-language > summary {
  gap: 2px;
  padding-inline: 0;
  font-size: 12px;
}

body .site-header .header-language .owell-language-flag {
  width: 18px;
  height: 12px;
  flex-basis: 18px;
}

body .site-header .header-language .owell-language-chevron {
  width: 6px;
  height: 6px;
}
}

@media (prefers-reduced-motion: reduce) {
.menu-toggle {
  transition: none;
} }

/* One sticky rule across the desktop/compact navigation breakpoints. */
.site-header,
.site-header.needs-compact {
  position: sticky;
  top: var(--header-admin-offset, 0);
  z-index: 110;
}

body.admin-bar { --header-admin-offset: 32px; }

.site-search {
  position: fixed;
  top: calc(var(--header-offset, var(--header-height)) + var(--header-admin-offset, 0px));
  z-index: 109;
  max-height: calc(100dvh - var(--header-offset, var(--header-height)) - var(--header-admin-offset, 0px));
  overflow-y: auto;
}

.site-search > .container { position: relative; }

.site-search .search-form label { padding-inline-end: 56px; }

.search-close {
  position: absolute;
  inset-block-start: -10px;
  inset-inline-end: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.search-close:hover,
.search-close:focus-visible { background: #f2f3f4; }

.drawer-brand {
  display: flex;
  width: 128px;
  min-height: 44px;
  align-items: center;
}

.drawer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.drawer-feature {
  position: relative;
  min-height: 190px;
  margin: 12px 24px 28px;
  isolation: isolate;
  overflow: hidden;
  background: #1a1c20;
  color: #fff;
}

.drawer-feature > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 47%;
}

.drawer-feature::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(20 22 25 / 88%), rgb(20 22 25 / 20%));
  content: "";
}

.drawer-feature figcaption { padding: 26px 22px; }

.drawer-feature-logo {
  display: block;
  width: 78px;
  height: auto;
  margin-bottom: 16px;
}

.drawer-feature p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

@media (width <= 400px) {
  .drawer-feature p {
    font-size: clamp(20px, 6vw, 24px);
  }
}

.navigation-drawer[open] .drawer-feature {
  animation: drawer-feature-in 300ms ease both;
}

@keyframes drawer-feature-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (width <= 782px) {
  body.admin-bar { --header-admin-offset: 46px; }
}

@media (width <= 600px) {
  body.admin-bar { --header-admin-offset: 0px; }
}

@media (prefers-reduced-motion: reduce) {
  .navigation-drawer[open] .drawer-feature { animation: none; }
}


/* Family descendants and root/discovery panels are disjoint scopes. */
/* stylelint-disable no-descending-specificity */
.nav-family-entries {
  display: block;
}

.nav-family-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 21px;
  margin-bottom: 9px;
  border-bottom: 1px solid #e2e4e6;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.35px;
}

.nav-family-heading::before {
  content: "";
  width: 3px;
  height: 22px;
  background: #b92531;
  flex-shrink: 0;
}

.nav-family-heading a {
  color: inherit;
  text-decoration: none;
}

.nav-family-heading a:hover {
  color: #b92531;
}

.nav-entry-label {
  display: flex;
  align-items: center;
  gap: 11px;
}

.nav-entry-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #646a70;
  transition: color 160ms ease;
}

.nav-family-entries > .nav-item > .nav-row {
  border-inline-start: 2px solid transparent;
}

.nav-family-entries > .nav-item > .nav-row > .nav-link {
  min-height: 54px;
  gap: 16px;
  padding: 14px 16px 14px 22px;
  font-size: 14px;
  font-weight: 500;
}

.nav-family-entries > .nav-item.is-open > .nav-row,
.nav-family-entries > .nav-item > .nav-row:hover,
.nav-family-entries > .nav-item > .nav-row:focus-within {
  border-inline-start-color: #b92531;
  background: #f2f3f4;
  color: #b92531;
}

.nav-family-entries > .nav-item.is-open > .nav-row .nav-entry-icon,
.nav-family-entries > .nav-item > .nav-row:hover .nav-entry-icon,
.nav-family-entries > .nav-item > .nav-row:focus-within .nav-entry-icon {
  color: #b92531;
}

.desktop-navigation .nav-submenu:has(> .nav-family) {
  width: 268px;
  min-width: 268px;
  padding: 23px 12px 14px;
}

.desktop-navigation .nav-family,
.desktop-navigation .nav-family-entries > .nav-item {
  position: static;
}

.desktop-navigation .nav-family + .nav-family {
  padding-top: 24px;
}

.desktop-navigation .nav-family-entries > .nav-item > .nav-submenu {
  inset-block-start: -2px;
}

.navigation-drawer .nav-family-heading {
  padding: 16px 0;
  font-size: 18px;
}

.navigation-drawer .nav-family-entries > .nav-item > .nav-row > .nav-link {
  padding-inline: 12px;
  font-size: 15px;
}

.navigation-drawer .nav-family-entries .nav-row .nav-entry-icon {
  width: 18px;
  height: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-entry-icon {
    transition: none;
  }
}
/* stylelint-enable no-descending-specificity */

.site-header .wordmark img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 460;
  object-fit: contain;
}

/* stylelint-disable no-descending-specificity */

/* Directory terms read as links on pointer and touch devices. */
.navigation a[data-directory-motion] > span:last-child,
.nav-family-heading a[data-directory-motion] > span {
  display: inline-block;
  transform-origin: left center;
  transition: color .18s ease,transform .18s ease;
}

@media (hover:hover) and (pointer:fine) {
  .navigation a[data-directory-motion]:hover > span:last-child,
  .nav-family-heading a[data-directory-motion]:hover > span {
    color: var(--brand-primary,#b51f32);
    transform: scale(1.035);
  }
}

.navigation a[data-directory-motion].directory-midline > span:last-child,
.nav-family-heading a[data-directory-motion].directory-midline > span {
  color: var(--brand-primary,#b51f32);
  transform: scale(1.035);
}

@media (prefers-reduced-motion:reduce) {
  .navigation a[data-directory-motion] > span:last-child,
  .nav-family-heading a[data-directory-motion] > span {
    transform: none!important;
    transition: none!important;
  }
}
/* stylelint-enable no-descending-specificity */
