/* Language initials stay readable in both desktop and mobile headers. */
.language-picker > summary { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
/* Center the menu beneath the initials, excluding the trigger's chevron. */
.language-picker-options { width: 60px; right: -1px; padding: 4px; }
.language-picker-options .language-option {
  justify-content: center;
  min-height: 36px;
  padding: 6px 4px;
  text-align: center;
}
@media (max-width: 1179px) {
  .language-picker-options .language-option { min-height: 44px; }
}
.site-header .header-actions { gap: 12px; }
.site-header .header-actions > .showroom-link {
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding-left: 0;
  border-left: 0;
}
@media (min-width: 601px) {
  .header-actions > .language-picker { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* Full-width navigation with two compact groups. */
.desktop-nav__section { position: static; }
.desktop-nav__section > summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0;
  list-style: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 18px;
}
.desktop-nav__section > summary::-webkit-details-marker { display: none; }
.desktop-nav__section > summary:hover,
.desktop-nav__section:has([aria-current="page"]) > summary { text-decoration: underline; text-underline-offset: 6px; }
.desktop-nav__section[open] > summary { text-decoration: none; }
.desktop-nav__indicator {
  position: absolute;
  inset: 0 auto auto 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1), width 240ms cubic-bezier(0.4, 0, 0.2, 1), opacity 140ms ease;
}
.desktop-nav__section::after { content: none; }
.desktop-nav__section > summary::after {
  content: '';
  position: absolute;
  inset: 100% 0 auto;
  height: calc((var(--header-height) - 44px) / 2 + 1px);
}
.site-header .desktop-nav__dropdown,
.site-header .desktop-nav__section:last-child .desktop-nav__dropdown {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  width: auto;
  min-width: 0;
  max-height: calc(100svh - var(--header-height));
  overflow-y: auto;
  padding: 0;
  transform: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  box-shadow: none;
}
.desktop-nav__viewport {
  position: relative;
  width: min(100%, 720px);
  overflow: clip;
}
.desktop-nav__panel {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 40px;
  width: 100%;
  margin: 0;
  padding: 28px 40px 36px;
  white-space: normal;
}
.desktop-nav__outgoing { position: absolute; inset: 0; pointer-events: none; }
.nav-link-group { min-width: 0; }
.desktop-nav__panel > .nav-link-group { padding: 0; }
.desktop-nav__panel > .nav-link-group + .nav-link-group {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}
.nav-link-group h3 {
  margin: 0 0 16px;
  color: #6b6b6b;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.desktop-nav__dropdown a {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  transition: color 160ms ease;
}
.desktop-nav__dropdown a:hover,
.desktop-nav__dropdown a:focus-visible,
.desktop-nav__dropdown a[aria-current="page"] {
  color: #b5131a;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.desktop-nav__dropdown a:focus-visible {
  outline: 2px solid #b5131a;
  outline-offset: 4px;
}
@media (min-width: 1180px) {
  .site-header { column-gap: 44px; }
  :root #site-header.site-header--dropdown:not(.site-header--menu) {
    background: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header::before {
    content: '';
    position: absolute;
    top: 100%;
    inset-inline: 0;
    height: calc(100dvh - var(--header-height));
    z-index: -1;
    background: rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  .site-header--dropdown::before { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header::before { transition: none; }
  .desktop-nav__indicator { transition: none; }
}
@media (max-width: 1179px) {
  .submenu--grouped {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding-top: 8px;
  }
  .submenu--grouped .nav-link-group h3 { margin-bottom: 8px; font-size: 11px; }
  .submenu--grouped > .nav-link-group + .nav-link-group {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }
  .submenu--grouped a { transform: none; }
  .submenu--grouped a:hover,
  .submenu--grouped a:focus-visible,
  .submenu--grouped a[aria-current="page"] { color: #b5131a; }
}
@media (max-width: 390px) {
  .submenu--grouped { gap: 16px; padding-left: 0; }
}
