/* Shared menu: 18px text, 4px indicator and square outer corners. */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--system-background-medium); border-radius: 0; box-shadow: 0 0 14px rgb(0 0 0 / 25%); color: #2f3640; font-family: var(--font-family-body); }
.site-header .container { display: flex; align-items: flex-start; gap: 24px; max-width: 1440px; padding: 16px 100px 0; }
.header-brand { display: flex; align-items: flex-start; justify-content: center; gap: 8px; flex-shrink: 0; }
.brand-logo { display: block; }
.brand-logo img { width: auto; height: 24px; object-fit: contain; }
.availability { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; }
.availability-dot { width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%; background: #34c759; }
.header-tools { display: contents; }
.header-nav { position: relative; display: flex; align-self: flex-start; flex: 1; align-items: flex-start; justify-content: center; min-width: 0; }
.header-nav a { position: relative; display: block; height: 48px; padding: 0 32px; color: inherit; text-decoration: none; white-space: nowrap; font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: .01em; }
.header-nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--brand-blue); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.header-nav a:hover, .header-nav a.active { color: var(--brand-blue); }
.header-nav a.active::after, .header-nav a:hover::after { transform: scaleX(1); }
.nav-indicator { display: none; position: absolute; left: 0; bottom: 0; width: var(--nav-indicator-width, 0px); height: 4px; background: var(--brand-blue); transform: translateX(var(--nav-indicator-left, 0px)); pointer-events: none; transition: transform 220ms ease, width 220ms ease; }
.header-nav.has-indicator .nav-indicator { display: block; }
.header-nav.has-indicator a::after { display: none; }
.nav-indicator[hidden] { display: none !important; }
.language-switcher { position: relative; align-self: flex-start; z-index: 2; flex: 0 0 auto; width: auto; height: 34px; font-size: 18px; font-weight: 400; line-height: 1.4; letter-spacing: .01em; }
.language-trigger { display: flex; align-items: center; gap: 0; height: 34px; list-style: none; cursor: pointer; }
.language-trigger::-webkit-details-marker { display: none; }
.language-icon { flex-shrink: 0; width: 24px; height: 24px; }
.current-language { font-weight: 700; margin-left: 4px; width: auto; white-space: nowrap; flex-shrink: 0; }
.language-chevron { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; }
.language-chevron img { width: 15.2px; max-width: none; height: 8px; flex-shrink: 0; object-fit: fill; }
.language-arrow-open { display: none; }
.language-switcher[open] .language-arrow-default { display: none; }
.language-switcher[open] .language-arrow-open { display: block; }
.language-options { position: absolute; right: 0; top: 38px; width: 175px; height: 102px; display: flex; flex-direction: column; align-items: stretch; overflow: hidden; border: 1px solid #b4ccef; border-radius: 0; background: white; box-shadow: 0 0 8px rgb(0 0 0 / 15%); font-size: 20px; line-height: 1.4; }
.language-link { display: flex; align-items: center; min-height: 50px; height: 50px; flex-shrink: 0; padding: 8px 8px 8px 32px; color: #2f3640; font-weight: 400; text-decoration: none; }
.language-link[aria-current="true"] { display: none; }
.language-link:hover, .language-link:focus-visible { background: #d1d8e1; color: #2f3640; font-weight: 700; }
@media (max-width: 1400px) {
 .site-header .container { padding-inline: 40px; }
}
@media (max-width: 1200px) {
 .site-header .container { flex-wrap: wrap; gap: 16px; }
 .header-brand { flex: 1; justify-content: flex-start; }
 .header-tools { display: flex; flex: 1 0 100%; min-width: 0; width: 100%; justify-content: space-between; align-items: flex-start; gap: 24px; }
 .header-nav { flex: 0 1 auto; justify-content: flex-start; overflow-x: auto; }
 .header-nav a { font-size: 18px; }
 .language-switcher { font-size: 18px; }
}
@media (max-width: 700px) {
 .site-header .container { display: grid; grid-template-columns: minmax(0, 1fr); padding: 16px 20px 0; gap: 16px; }
 .brand-logo img { width: auto; height: 16px; }
 .header-brand { grid-column: 1; grid-row: 1; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-width: 0; }
 .availability { font-size: 14px; }
 .header-tools { display: contents; }
 .language-switcher { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; width: 58px; margin: 0; font-size: 18px; }
 .current-language { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
 .header-nav { grid-column: 1; grid-row: 2; flex: none; width: 100%; min-width: 0; }
 .header-nav a { font-size: 18px; height: 48px; padding-inline: 32px; }
 .nav-indicator, .header-nav a::after { height: 4px; }
}
@media (prefers-reduced-motion: reduce) {
 .header-nav a::after, .nav-indicator, .language-chevron { transition: none; }
}
