/* THE NEW HEADER (row nav, 2026-10-29) = version 18 of products/nav-test/index.html (Kristian 28 Oct: "I think I
   like this"). Every size and colour is that page's, carried over unchanged; only the class names are new (hn-) so
   nothing here can touch the old header or the rest of the site. Loaded only on pages with newHeader: true. */
/* Kristian 30 Oct: "make the header slightly smaller overall. All font 1 size smaller": 58 px high (64 until then), every size a step down,
   whole pixels only (a half pixel draws softer). "look like they are high resolution": geometricPrecision on .hn gives the letters their true
   shapes instead of bending them to the pixel grid, which is what made them look low-res on a normal screen. */
/* Geist + Geist Mono (SIL Open Font License), on our own site like every font here: the type of the new look, his pick 30 Oct */
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/geist-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/geist-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/fonts/geist-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root { --hdr-h: 58px; }
body.has-hn { padding-top: 58px; }
html:has(body.has-hn) { scroll-padding-top: 58px; }
/* above 1240 px the product page's bar slides in OVER the header: same height, or 6 px of it shows under the bar (below 1240 px it sits at the bottom of the screen) */
@media (min-width: 1001px) { body.has-hn .t3-sbar { height: 58px; } }

.hn { position: fixed; top: 0; left: 0; right: 0; z-index: 1200; height: 58px; display: flex; align-items: center;
  justify-content: space-between; padding: 1px 40px 0; background: #000; border-bottom: 1px solid rgba(255,255,255,0.09);   /* 1 px on top balances the line below: without it every symbol sat on a half pixel and blurred */
  --sans: 'Geist', system-ui, -apple-system, sans-serif; font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: geometricPrecision; }
.hn a { text-decoration: none; color: inherit; }
.hn button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; padding: 0; }

/* the logo = today's wordmark, one size down (20 px mark, 8 px gap, 21 px / 800, red half with its soft glow) */
.hn-logo { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; border-radius: 6px; }
.hn-logo img { display: block; width: 20px; height: 20px; flex: 0 0 auto; }
.hn-word { font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.5px; color: #fff; white-space: nowrap; }
.hn-word span { color: #E8212A; text-shadow: 0 0 9px rgba(232,33,42,0.17); }
.hn-right { display: flex; align-items: center; flex: 0 0 auto; }

/* the words: 13 px (14.5 until 30 Oct, then 13.5: "the text is slightly to big"), light grey, white on hover. No box behind them or the symbols
   since 30 Oct (his word for the cart: "needs no box around it"): the colour alone says it. */
.hn-bar { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.hn-bar > li { position: relative; }
.hn-w { position: relative; display: flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 8px;
  font-size: 13px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }   /* a lighter weight in a softer grey is most of the "high resolution" look */
/* the little arrow on every word that opens a menu: down, up while it is open (Kristian 30 Oct, overrules the v12 "no turning arrows") */
.hn-ch { display: block; flex: 0 0 auto; width: 13px; height: 13px; margin-left: 4px; opacity: .72; transition: transform .15s cubic-bezier(.23,1,.32,1), opacity .15s; }
.hn [aria-expanded="true"] > .hn-ch { transform: rotate(180deg); opacity: 1; }
/* ONE colour for the bar's words and symbols (Kristian 30 Oct: "turn down the whiteness of header text slightly"; they showed #f0f0f0,
   because .hn a and .hn button above outrank a plain .hn-w). White only on the word you point at, or the page you are on. */
.hn .hn-w, .hn .hn-u, .hn .hn-row { color: #c2c2c2; }
.hn .hn-w:hover, .hn .hn-w[aria-expanded="true"], .hn .hn-w.is-active, .hn .hn-u:hover, .hn .hn-u[aria-expanded="true"], .hn .hn-u.is-active, .hn .hn-row:hover { color: #fff; }
/* the page you are on: a line right under the word (Kristian 30 Oct: it sat on the header's bottom edge, 14 px lower: "needs to be higher up") */
.hn-w.is-active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: #fafafa; }

/* search · language · cart, after a thin divider */
.hn-util { position: relative; display: flex; align-items: center; gap: 2px; margin-left: 12px; padding-left: 12px; }
.hn-util::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 20px; background: #262626; }
.hn-u-wrap { position: relative; }
.hn-u { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; min-width: 34px;
  padding: 0 8px; border-radius: 8px; font-size: 13px; font-weight: 400; }
.hn .hn-u { padding: 0 8px; }
.hn-ui { display: block; width: 18px; height: 18px; }
/* the language: smaller than a menu word, but the SAME colour, and EN centred on the globe (Kristian 30 Oct: "EN" looked
   overpowering; then "needs to be vertically aligned" with the globe "and not be different colors than rest of menu") */
.hn .hn-lang { gap: 5px; padding: 0 6px; font-size: 12px; line-height: 1; font-weight: 400; letter-spacing: 0.2px; }
.hn-lang .hn-ui { width: 16px; height: 16px; }
.hn-lang .hn-ch { margin-left: -1px; }
.hn-lang-t { display: block; line-height: 1; }
/* two-tone symbols (src/_data/headerNav.js): d = soft shape with no line, f = soft fill under its line, s = solid */
.hn-ui .d, .hn-i .d { fill: currentColor; fill-opacity: 0.26; stroke: none; }
.hn-ui .f, .hn-i .f { fill: currentColor; fill-opacity: 0.26; }
.hn-i .s { fill: currentColor; stroke: none; }
.hn-badge { position: absolute; top: 3px; right: 2px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px;
  background: #fafafa; color: #000; font: 700 9.5px/15px var(--sans, 'DM Sans', sans-serif); text-align: center; }
.hn-badge[hidden] { display: none; }
.hn-burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 34px; height: 34px; border-radius: 8px; }
.hn .hn-burger { display: none; }
.hn-burger span { width: 18px; height: 1.5px; background: #fafafa; border-radius: 2px; }
.hn-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.hn-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.hn-logo:focus-visible, .hn-w:focus-visible, .hn-u:focus-visible, .hn-burger:focus-visible, .hn-row:focus-visible { outline: 2px solid rgba(255,255,255,0.75); outline-offset: 2px; }
.hn-a:focus-visible { outline: 2px solid rgba(255,255,255,0.75); outline-offset: -2px; background: rgba(255,255,255,0.07); color: #fafafa; }

/* the drop-downs: under their word, fade in 0.15 s, nothing slides */
.hn-dd { position: absolute; top: calc(100% + 8px); left: -6px; min-width: 230px; padding: 6px; background: #0c0c0c;
  border: 1px solid #262626; border-radius: 12px; z-index: 60;
  box-shadow: 0 18px 48px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 100ms ease, visibility 0s linear 100ms; }
.hn-dd.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 150ms cubic-bezier(.23,1,.32,1), visibility 0s; }
/* an invisible bridge over the gap under the word, so moving down into the menu never counts as leaving it */
.hn-dd::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.hn-dd.instant, .hn-dd.instant.open { transition: none; }
.hn-dd-r { left: auto; right: 0; }
.hn-a { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 12px; border-radius: 8px; font-size: 14px;
  font-weight: 500; color: #d4d4d4; white-space: nowrap; }
.hn-a:hover { color: #fafafa; background: rgba(255,255,255,0.07); }
.hn-t { flex: 1; }
.hn-i { display: block; width: 16px; height: 16px; flex: 0 0 auto; color: #8c8c8c; }
.hn-a:hover .hn-i, .hn-a:focus-visible .hn-i { color: #fafafa; }
.hn-a.all { color: #fafafa; font-weight: 600; }
.hn-a.all b { font-weight: 500; color: #a1a1a1; }
.hn-a.all:hover b { color: #fafafa; }
.hn-a.two { align-items: flex-start; padding-top: 10px; padding-bottom: 10px; }
.hn-a.two .hn-i { margin-top: 2px; }
.hn-s { display: block; margin-top: 3px; white-space: normal; font-size: 12px; font-weight: 400; color: #8f8f8f; line-height: 1.35; }
.hn-a.two:hover .hn-s { color: #a1a1a1; }
.hn-tick { color: #fafafa; font-size: 12px; }
.hn-sep { height: 1px; background: #262626; margin: 6px 4px; }

.hn-search { width: 440px; max-height: calc(100dvh - 66px); overflow-y: auto; }
.hn-sbox { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; margin-bottom: 4px; border-bottom: 1px solid #262626; }
.hn-sbox svg { width: 16px; height: 16px; color: #8c8c8c; flex: 0 0 auto; }
.hn-q { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fafafa; font: 500 14px var(--sans, 'DM Sans', sans-serif); }
.hn-q::placeholder { color: #8c8c8c; }
.hn-q::-webkit-search-cancel-button { display: none; }
.hn-lab { padding: 6px 12px 2px; font-size: 12px; font-weight: 600; color: #8c8c8c; }
.hn-where { flex: 0 0 auto; font-size: 12px; font-weight: 500; color: #a1a1a1; }
.hn-res .hn-a { white-space: normal; align-items: flex-start; }   /* a long guide title wraps inside the box */
.hn-none { padding: 9px 12px; font-size: 13px; line-height: 1.45; color: #c4c4c4; white-space: normal; }
.hn-none a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
/* a result: the name, its one line under it, the kind on the right */
.hn-r .hn-t { min-width: 0; }
.hn-rl { display: block; margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 400; color: #a8a8a8; }
.hn-a.hn-r:hover .hn-rl, .hn-a.hn-r:focus-visible .hn-rl { color: #cfcfcf; }
.hn-hint { display: flex; gap: 14px; padding: 8px 12px 4px; margin-top: 4px; border-top: 1px solid #262626; font-size: 12px; color: #8c8c8c; }
.hn-hint kbd { font: 600 11px var(--sans, 'DM Sans', sans-serif); color: #a1a1a1; border: 1px solid #262626; border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; margin-right: 4px; }

/* phone menu */
.hn-drawer { position: absolute; top: 100%; left: 0; right: 0; max-height: min(72vh, 700px); overflow: auto; padding: 8px 8px 24px;
  background: #000; border-bottom: 1px solid rgba(255,255,255,0.09); z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .12s ease, visibility 0s linear .12s; }
.hn-drawer.open { opacity: 1; visibility: visible; transition: opacity .18s cubic-bezier(.23,1,.32,1), visibility 0s; }
.hn-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 13px 12px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: #fafafa; }
.hn .hn-row { padding: 13px 12px; font-size: 15px; font-weight: 500; }
.hn .hn-row[aria-current] { color: #fff; }
.hn-row:hover { background: rgba(255,255,255,0.07); }
.hn-plus { width: 16px; height: 16px; color: #a1a1a1; }
.hn-sub { display: none; padding: 0 0 8px 12px; }
.hn-sub.open { display: block; }
.hn-sub .hn-a { font-size: 14px; color: #a1a1a1; white-space: normal; }
.hn-gap { height: 1px; background: #262626; margin: 10px 12px; }

/* LOOK 1 - CLEAN (Kristian 30 Oct, his pick of three): the menu a step lighter than the black page with a visible edge, bright
   20 px two-tone symbols, white text. Before: symbols #8c8c8c at 16 px, menu #0c0c0c on a #000-#111 page. */
.hn-dd { min-width: 252px; padding: 6px; background: #191919; border: 1px solid #3a3a3a; border-radius: 10px; box-shadow: 0 16px 44px rgba(0,0,0,0.75); }
.hn-a { gap: 12px; padding: 9px 12px; font-size: 13px; color: #f2f2f2; }
.hn-a:hover { background: #2b2b2b; color: #fff; }
.hn-i { width: 18px; height: 18px; color: #f2f2f2; }
.hn-a.two .hn-i { margin-top: 1px; }
.hn-s { font-size: 12px; color: #b5b5b5; }
.hn-a.two:hover .hn-s { color: #d0d0d0; }
.hn-sep { background: #343434; }
.hn-a.all b { color: #fff; }
.hn-sub .hn-a { color: #ececec; }

/* the phone menu from 1000 px down since 31 Oct, with five words in the bar fewer needs less room; (1080 until the arrows came, 30 Oct: the words then need about 1210 px) */
/* tapping beside the open phone menu closes it, and only that; the page stays still behind it */
.hn-scrim { display: none; position: fixed; inset: 0; z-index: 1199; background: rgba(0,0,0,.55); touch-action: none; cursor: pointer; }
.hn-scrim.on { display: block; }
html.hn-locked, html.hn-locked body { overflow: hidden; }
@media (hover: none) { .hn-hint { display: none; } .hn-q { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .hn *, .hn-scrim { transition: none !important; } }
@media (max-width: 1000px) {
  :root { --hdr-h: 54px; }
  body.has-hn { padding-top: 54px; }
  html:has(body.has-hn) { scroll-padding-top: 54px; }
  .hn { height: 54px; padding: 1px 12px 0 16px; }
  .hn-bar { display: none; }
  .hn-word { font-size: 17px; }
  .hn-logo img { width: 16px; height: 16px; }
  .hn-util { margin-left: 0; padding-left: 0; gap: 2px; }
  .hn-util::before, .hn-lang-wrap { display: none; }
  .hn .hn-burger { display: flex; width: 40px; height: 40px; }
  .hn .hn-u { min-width: 40px; height: 40px; }
  .hn-q { font-size: 16px; }
  .hn-search { width: min(440px, calc(100vw - 24px)); }   /* header-new.js keeps every drop-down inside the screen */
}
