/* V6 header + footer chrome for pages that still load styles.css.
   Scoped to .v6-* so product body styles are left alone. */

.v6-header,
.v6-footer-wrap {
  --navy-900: #07111F;
  --navy-800: #0B1F3A;
  --navy-700: #132A4A;
  --green: #22C55E;
  --green-dark: #16A34A;
  --line: rgba(255, 255, 255, 0.10);
  --max: 1140px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.v6-header a,
.v6-footer-wrap a {
  color: inherit;
  text-decoration: none;
}

.v6-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  border: none;
  text-decoration: none;
}
.v6-btn--action {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(34, 197, 94, 0.55);
}
.v6-btn--action:hover {
  transform: translateY(-1px);
  background: var(--green-dark);
  box-shadow: 0 14px 28px -8px rgba(34, 197, 94, 0.65);
  color: #fff;
}

.v6-header {
  background: var(--navy-800);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 70;
}

/* Homepage scan SPA: V6 header sits inside .site-top--master */
.site-top--master > .v6-header {
  width: 100%;
  box-sizing: border-box;
}

body.hp-checkout-focus .site-top--master > .v6-header,
body.hp-face-focus .site-top--master > .v6-header {
  display: none !important;
}

body.hp-payment-success-focus .site-top--master > .v6-header {
  display: block !important;
}
.v6-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  /* Explicit, because the legal pages load this file without a global
     border-box reset: there the 32px padding fell outside max-width and the
     header measured 1204px against 1140px everywhere else on the site. */
  box-sizing: border-box;
  padding: 0 32px;
  height: 85px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.v6-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  flex: none;
}
.v6-brand img {
  height: 64px;
  width: auto;
  max-width: none;
  flex: none;
  display: block;
}
/* justify-content:center — the nav is flex:1 so its BOX already spans the
   whole gap between logo and language button, but left-aligned items dumped
   all the slack on the right. Measured at 1920px: 55px of dead space in
   EN/NL, 125px in FR and 220px in DE (the .lang-de/.lang-fr compression
   shrinks the text, which only makes the imbalance worse). Centring splits
   that slack evenly so the product links sit between logo and language
   button in every language. */
.v6-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  flex: 1;
  font-size: 13.5px;
  white-space: nowrap;
}
.v6-nav a {
  color: #E2E8F0;
  position: relative;
  padding: 6px 0;
  opacity: 1;
  transition: color 0.15s ease;
}
.v6-nav a:hover {
  color: #fff;
  opacity: 1;
}
.v6-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: #D4AF37;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}
.v6-nav a:hover::after {
  transform: scaleX(1);
}
.v6-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.v6-header .v6-lang,
.v6-header .v6-btn--action {
  height: 40px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.v6-header .v6-btn--action {
  padding: 0 22px;
}
.v6-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #D7DEE9;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.v6-lang:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.v6-lang span {
  font-size: 10px;
  opacity: 0.8;
}
.v6-lang-wrap {
  position: relative;
  flex: none;
}
.v6-lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 80;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 88px;
  background: #0b1f3a;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.v6-lang__menu[hidden] {
  display: none;
}
.v6-lang__option {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #d7dee9;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.v6-lang__option:hover,
.v6-lang__option.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.v6-footer-wrap {
  background: var(--navy-900);
  border-top: 1px solid var(--line);
}
.v6-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 32px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.v6-footer__brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.v6-footer__brand .v6-brand {
  height: 72px;
}
.v6-footer__brand p {
  font-size: 12.5px;
  color: #8FA0BC;
  line-height: 1.5;
  margin: 4px 0 0;
  max-width: 280px;
}
.v6-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 14px;
  align-items: center;
  font-size: 13px;
  flex: 1 1 420px;
  max-width: 560px;
}
.v6-footer__grid a {
  color: #B7C2D6;
  text-decoration: none;
  white-space: nowrap;
}
.v6-footer__grid a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .v6-header__inner {
    flex-wrap: wrap;
    gap: 14px;
    height: auto;
    padding: 12px 24px;
  }
  .v6-nav {
    order: 3;
    flex-basis: 100%;
    gap: 18px;
    flex-wrap: wrap;
    /* Wrapped state is its own full-width row, so the desktop centring above
       does not apply here — keep the links reading from the left edge. */
    justify-content: flex-start;
  }
}
