.moto-header { position: fixed; z-index: 50; inset: 0 0 auto; max-width: none; margin-inline: auto; display: flex; align-items: center; gap: var(--space-3); min-height: 104px; padding: 0 var(--pad); box-sizing: border-box; border-radius: 0; background: var(--color-surface-dark-translucent); color: var(--paper); border-bottom: 1px solid var(--color-border-inverse); backdrop-filter: blur(18px); font: 800 13px/1.4 Manrope, sans-serif; transition: background .2s, color .2s, height .2s; }
.moto-header__logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 272px; min-height: 104px; padding: 26px; box-sizing: border-box; }
.moto-header__logo img { width: 220px; height: auto; max-height: 52px; }
.moto-header__nav { display: flex; align-items: center; justify-content: center; gap: 12px 20px; flex-wrap: wrap; flex: 1; color: var(--color-text-inverse-muted); text-transform: uppercase; align-self: stretch; }
.moto-header__nav > a, .moto-header__group > summary { position: relative; display: flex; align-items: center; min-height: 44px; cursor: pointer; white-space: nowrap; }
.moto-header__nav > a { align-self: center; }
.moto-header__nav a:hover, .moto-header__group > summary:hover, .moto-header [aria-current="page"], .moto-header .is-current > summary { color: #ed0028; }
.moto-header__group[open] > summary::before { content: ''; position: absolute; height: 3px; background: #ed0028; bottom: 0; left: 0; right: 0; }
.moto-header__group { display: flex; }
.moto-header__group > summary { list-style: none; gap: 7px; }
.moto-header__group > summary::-webkit-details-marker { display: none; }
.moto-header__group > summary::after { content: ''; width: 5px; height: 5px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); }
.moto-header__group[open] > summary::after { transform: rotate(225deg); }
.moto-header__panel { position: absolute; top: calc(100% + 8px); background: rgba(var(--color-dark-rgb), .98); color: var(--paper); text-transform: none; border: 1px solid var(--color-border-inverse); border-radius: 8px; padding: 24px; box-shadow: 0 18px 45px rgb(0 0 0 / 18%); }
.moto-header__panel--community { left: 24px; right: 24px; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 28px; }
.moto-header__column { display: flex; flex-direction: column; border-right: 1px solid #eee; padding-right: 24px; }
.moto-header__column h2 { font: 800 16px/1.4 Manrope, sans-serif; margin: 0 0 12px; }
.moto-header__column > a, .moto-header__panel--more > a { display: block; padding-block: 12px; }
.moto-header__feature { display: flex; flex-direction: column; justify-content: end; gap: 12px; min-height: 200px; padding: 24px; border-radius: 12px; color: #fff; background: linear-gradient(0deg, rgb(0 0 0 / 85%), rgb(0 0 0 / 10%)), url('/assets/img/about/today-20260916.jpg') center / cover; }
.moto-header__feature strong { font-size: 24px; line-height: 1.2; }
.moto-header__nav .moto-header__feature:hover { color: #fff; }
.moto-header__feature-link { font-size: 12px; }
.moto-header__group--more { position: relative; }
.moto-header__panel--more { left: 0; right: auto; min-width: 200px; }
.moto-header__actions { display: flex; align-items: center; gap: 10px; }
.moto-header__cart, .moto-header__account, .moto-header__toggle { display: inline-flex; align-items: center; justify-content: center; height: 42px; box-sizing: border-box; border: 1px solid #dedee0; border-radius: 999px; color: inherit; background: transparent; }
.moto-header__cart { width: 42px; }
.moto-header__account { padding: 0 22px; max-width: 160px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.moto-header__toggle, .moto-header__nav > .moto-header__mobile-account { display: none; }
body.moto-header-open { overflow: hidden; }
@media (max-width: 1100px) {
 .moto-header, .moto-header.is-scrolled { inset: 0 0 auto; min-height: 104px; padding-inline: var(--pad); justify-content: space-between; }
 .moto-header__actions > .header-action, .moto-header__actions > .header-subscribe { display: none; }
 .moto-header__toggle { display: flex; position: relative; width: 44px; height: 44px; border-color: var(--color-border-inverse); cursor: pointer; }
 .moto-header__nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: calc(100dvh - 112px); overflow-y: auto; background: rgba(var(--color-dark-rgb), .98); color: var(--paper); border-radius: 8px; padding: 16px 22px; box-shadow: 0 18px 45px rgb(0 0 0 / 18%); }
 .moto-header.is-open .moto-header__nav { display: block; }
 .moto-header__nav > a, .moto-header__group > summary { padding: 14px 0; min-height: 48px; box-sizing: border-box; font-size: 15px; }
 .moto-header__group { display: block; border-bottom: 1px solid #eee; }
 .moto-header__group > summary { justify-content: space-between; }
 .moto-header__panel { position: static; box-shadow: none; border-radius: 0; padding: 10px 0 18px 14px; min-width: 0; }
 .moto-header__panel--community { display: grid; grid-template-columns: 1fr; gap: 18px; }
 .moto-header__column { border: 0; padding: 0; }
 .moto-header__column h2 { font-size: 14px; color: var(--color-text-inverse-muted); }
 .moto-header__feature { min-height: 160px; }
 .moto-header__nav > .moto-header__mobile-account { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .moto-header { transition: none; } }
.moto-header summary:focus-visible { outline: 2px solid #ed0028; outline-offset: 3px; border-radius: 4px; }

@media (max-width: 720px) {
 .moto-header, .moto-header.is-scrolled { min-height: 68px; background: rgba(var(--color-dark-rgb), .76); }
 .moto-header__logo { flex-basis: 136px; min-height: 68px; padding: 16px 0; }
 .moto-header__logo img { width: 136px; max-height: 32px; }
 .moto-header__toggle { width: 48px; height: 48px; }
 .moto-header__nav { top: 100%; height: calc(100dvh - 68px); max-height: none; box-sizing: border-box; border-radius: 0; }
}
.moto-header .header-subscribe { position: static; }
.moto-header .subscribe-popover { right: var(--pad); }

/* Editable icon, caption and column label from structure properties. */
.moto-header__nav .moto-header__item { display: flex; align-items: flex-start; gap: 16px; }
.moto-header__nav > .moto-header__item { align-items: center; gap: 8px; }
.moto-header__item-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.moto-header__item-title { font-weight: 700; }
.moto-header__item-caption { color: var(--color-text-inverse-muted); font: 400 13px/1.5 Manrope, sans-serif; }
.moto-header__panel .moto-header__item .moto-icon { --ds-icon-size: 28px; margin-top: 2px; }
.moto-header__column { border-color: var(--color-border-inverse); }
.moto-header__column h2 { color: var(--color-text-inverse-muted); font: 600 12px/1.4 Manrope, sans-serif; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 12px; }
.moto-header__panel .moto-header__item-title { font-size: 16px; }
.moto-header__panel--more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 600px; box-sizing: border-box; gap: 24px; }
@media (min-width: 1101px) {
 .moto-header__panel--community { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
 .moto-header__panel--more { left: auto; right: 0; }
}
@media (max-width: 1100px) {
 .moto-header__panel--more { width: auto; grid-template-columns: 1fr; }
 .moto-header__column { border: 0; }
}

.moto-header__toggle svg { flex-shrink: 0; }
.moto-header__close-icon { display: none; }
.moto-header__toggle[aria-expanded="true"] .moto-header__burger-icon { display: none; }
.moto-header__toggle[aria-expanded="true"] .moto-header__close-icon { display: block; }
