/* The shared header owns language selection, so the announcement gets its
   original full width back without changing its content or behavior. */
.topbar:has(~ .ssd-header) { padding-right: 14px; }
.topbar--bar:has(~ .ssd-header) { padding: 0; min-height: 0; }
.topbar--bar:has(~ .ssd-header) .ssm-bar__inner { padding-right: 16px; }
.topbar--bar:has(~ .ssd-header) .ssm-bar--marquee .ssm-bar__inner { padding-right: 0; }
.topbar--bar:has(~ .ssd-header) .ssm-bar--marquee .ssm-bar__viewport { -webkit-mask: none; mask: none; }

/* One restrained navigation system, scoped to the shared header. */
header.ssd-header {
  --sh-bg: #0b120e;
  --sh-panel: #122018;
  --sh-line: #34493c;
  --sh-mint: #c9ebd8;
  position: sticky;
  top: 0;
  z-index: 80;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--sh-line);
  background: var(--sh-bg);
  color: #e3ece6;
  font: 400 14px/1.5 'Open Sans', sans-serif;
  text-align: left;
}
.ssd-header *, .ssd-header *::before, .ssd-header *::after { box-sizing: border-box; }
.ssd-header [hidden] { display: none !important; }
.ssd-header a { color: inherit; text-decoration: none; text-underline-offset: 4px; }
.ssd-header a:hover { color: var(--sh-mint); }
.ssd-header button, .ssd-header input, .ssd-header summary { font: inherit; letter-spacing: 0; text-transform: none; }
.ssd-header button, .ssd-header summary { touch-action: manipulation; }
.ssd-header :focus-visible { outline: 2px solid var(--sh-mint); outline-offset: 3px; }
.ssd-header nav, .ssd-header ul, .ssd-header li, .ssd-header h2, .ssd-header h3 { margin: 0; padding: 0; border: 0; background: none; color: inherit; list-style: none; text-transform: none; letter-spacing: 0; }
.ssd-header .head-inner { position: static; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; width: min(1280px, calc(100% - 48px)); max-width: none; min-height: 82px; margin: 0 auto; padding: 0; }
.ssd-header .ssd-logo { display: block; flex: 0 0 auto; width: 124px; margin: 0; padding: 0; }
.ssd-header .ssd-logo img { display: block; width: 100%; height: auto; max-width: 100%; margin: 0; aspect-ratio: 640 / 281; object-fit: contain; }
.ssd-header .ssd-shopping { display: flex; flex: 1 1 auto; align-items: center; gap: 18px; min-width: 0; width: auto; overflow: visible; }
.ssd-header .ssd-direct-link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; color: #c8d7cd; font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.ssd-header .ssd-direct-link[aria-current='page'] { color: #f2faf5; text-decoration: underline; text-decoration-color: #91bca1; text-decoration-thickness: 2px; text-underline-offset: 9px; }
.ssd-header .ssd-menu { position: static; flex: 0 0 auto; margin: 0; padding: 0; border: 0; }
.ssd-header .ssd-menu > summary { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 0; color: #ecf6ef; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ssd-header .ssd-menu > summary::-webkit-details-marker { display: none; }
.ssd-header .ssd-menu-symbol { display: none; }
.ssd-header .ssd-mobile-menu-label { display: none; }
.ssd-header .ssd-menu[open] .ssd-menu-chevron { transform: rotate(180deg); }
.ssd-header .ssd-menu-panel { position: absolute; inset: 100% 0 auto; width: 100%; max-height: var(--ssd-menu-room, calc(100dvh - 100px)); overflow: auto; overscroll-behavior: contain; border-bottom: 1px solid #557661; background: var(--sh-panel); box-shadow: 0 18px 32px rgba(0,0,0,.3); }
.ssd-header .ssd-menu:not([open]) > .ssd-menu-panel { display: none; }
.ssd-header .ssd-menu-inner { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 30px; }
.ssd-header .ssd-menu-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 17px; }
.ssd-header .ssd-menu-heading h2 { font: 400 25px/1.2 'Lilita One', sans-serif; }
.ssd-header .ssd-menu-content { display: grid; grid-template-columns: minmax(0, 3fr) minmax(225px, 1fr); gap: 38px; }
.ssd-header .ssd-category-nav ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px 20px; }
.ssd-header .ssd-category-link { display: flex; align-items: center; min-height: 46px; padding: 10px 12px; border-radius: 4px; color: #d4e3da; font-size: 14px; line-height: 1.45; }
.ssd-header .ssd-category-link:hover { background: #213c2b; color: #effaf3; }
.ssd-header .ssd-category-link[aria-current='page'] { background: #284b35; color: #edfff3; box-shadow: inset 2px 0 0 #b7dfc5; }
.ssd-header .ssd-help-nav { padding-left: 30px; border-left: 1px solid #3b5344; }
.ssd-header .ssd-help-nav h3 { margin: 0 0 8px; color: #abc6b5; font: 600 11px/1.5 'Open Sans', sans-serif; text-transform: uppercase; letter-spacing: .09em; }
.ssd-header .ssd-help-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 13px; line-height: 1.5; }
.ssd-header .ssd-help-nav a:hover { text-decoration: underline; }
.ssd-header .ssd-languages { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 1px; padding: 2px; border: 1px solid #3a5142; border-radius: 5px; background: #101c15; font-size: 12px; line-height: 1.4; }
.ssd-header .ssd-languages a, .ssd-header .ssd-language-current { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px; border-radius: 3px; white-space: nowrap; }
.ssd-header .ssd-languages a { color: #b9cbbf; }
.ssd-header .ssd-languages a:hover { background: #203b2a; color: #fff; }
.ssd-header .ssd-language-current { background: #2c4c38; color: #e4f8eb; font-weight: 600; }
.ssd-header .ssd-menu-language { display: none; }
.ssd-header .head-inner .head-tools { position: static; inset: auto; display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 3px; min-width: 188px; margin: 0; padding: 0; transform: none; }
.ssd-header .head-tools .sbtn, .ssd-header .head-tools .head-bag, .ssd-header .ssd-icon-button, .ssd-header .ssd-nojs-search { position: relative; inset: auto; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 10px; border: 0; border-radius: 5px; background: transparent; color: #e1eee6; line-height: 1; transform: none; cursor: pointer; }
.ssd-header .head-tools .sbtn:hover, .ssd-header .head-tools .head-bag:hover, .ssd-header .ssd-icon-button:hover { background: #1d3526; color: #fff; }
.ssd-header .head-tools #sbtn { width: auto; }
.ssd-header .head-tools .sbtn svg, .ssd-header .head-tools .head-bag svg, .ssd-header .ssd-icon-button svg { display: block; flex-shrink: 0; width: 22px; height: 22px; }
.ssd-header .ssd-search-caption { font-size: 12px; line-height: 1.4; }
.ssd-header .head-tools .bag-n { position: absolute; top: 1px; right: -1px; display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin: 0; padding: 0 4px; border: 1px solid #0b120e; border-radius: 10px; background: var(--sh-mint); color: #142a1c; font: 700 10px/1 'Open Sans',sans-serif; }
.ssd-header .acctwrap { position: static; display: flex; align-items: center; margin: 0; }
.ssd-header .acctmenu { top: 100%; right: max(24px,calc((100% - 1280px)/2)); z-index: 6; min-width: 220px; max-width: calc(100vw - 28px); margin: 0; border-color: #52745f; border-radius: 0 0 5px 5px; background: var(--sh-panel); }
.ssd-header .acctmenu .acctname { font: 600 13px/1.5 'Open Sans',sans-serif; }
.ssd-header .acctmenu a, .ssd-header .acctmenu button { min-height: 44px; font-size: 14px; }
.ssd-header #swrap { position: absolute; top: 100%; right: max(24px,calc((100% - 1280px)/2)); left: auto; z-index: 7; display: block; width: min(580px,calc(100vw - 48px)); max-width: none; max-height: var(--ssd-menu-room,calc(100dvh - 100px)); margin: 0; padding: 0 0 9px; overflow: auto; overscroll-behavior: contain; border: 1px solid #52745f; border-top: 0; border-radius: 0 0 6px 6px; background: var(--sh-panel); box-shadow: 0 15px 30px rgba(0,0,0,.35); }
.ssd-header .ssd-search-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px 0 20px; color: #dcebe2; font-size: 13px; font-weight: 600; }
.ssd-header #swrap form { display: flex; align-items: stretch; gap: 9px; margin: 0; padding: 8px 20px 17px; }
.ssd-header #sq { display: block; flex: 1; min-width: 0; width: 100%; min-height: 46px; margin: 0; padding: 11px 12px; border: 1px solid #718f7c; border-radius: 4px; background: #0b150f; color: #f0f8f3; font-size: 16px; line-height: 1.4; }
.ssd-header #sq::placeholder { color: #a8bdb0; opacity: 1; }
.ssd-header .ssd-search-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin: 0; padding: 10px 14px; border: 1px solid var(--sh-mint); border-radius: 4px; background: var(--sh-mint); color: #173b25; font-size: 13px; font-weight: 600; cursor: pointer; }
.ssd-header #sres { position: static; display: block; max-height: none; margin: 0; overflow: visible; border: 0; background: transparent; }
.ssd-header #sres a, .ssd-header #sres button { min-height: 44px; }
.ssd-header #sres .sdis span { color: #afc4b7; }
@media (max-width: 1240px) {
  .ssd-header .head-inner { gap: 14px; }
  .ssd-header .ssd-shopping { gap: 14px; }
  .ssd-header .ssd-logo { width: 112px; }
  .ssd-header .ssd-search-caption { display: none; }
  .ssd-header .head-inner .head-tools { min-width: 138px; }
}
@media (max-width: 1100px) {
  .ssd-header .head-inner { gap: 6px; width: calc(100% - 28px); min-height: 70px; }
  .ssd-header .ssd-logo { order: 1; width: 106px; margin-right: auto; }
  .ssd-header .ssd-shopping { display: contents; }
  .ssd-header .ssd-direct-link, .ssd-header .ssd-languages-desktop { display: none; }
  .ssd-header .head-inner .head-tools { order: 2; gap: 0; min-width: 132px; }
  .ssd-header .ssd-menu { order: 3; }
  .ssd-header .ssd-menu > summary { width: 44px; min-width: 44px; height: 44px; padding: 10px; border: 1px solid #405b49; border-radius: 5px; }
  .ssd-header .ssd-menu[open] > summary { background: #274931; border-color: #8eb59b; }
  .ssd-header .ssd-menu-symbol { display: block; }
  .ssd-header .ssd-browse-label, .ssd-header .ssd-menu-chevron { display: none; }
  .ssd-header .ssd-mobile-menu-label { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .ssd-header .ssd-menu-inner { width: calc(100% - 36px); padding: 15px 0 19px; }
  .ssd-header .ssd-menu-heading { margin-bottom: 11px; }
  .ssd-header .ssd-menu-heading h2 { font-size: 23px; }
  .ssd-header .ssd-menu-content { grid-template-columns: minmax(0,2fr) minmax(190px,1fr); gap: 22px; }
  .ssd-header .ssd-category-nav ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px 14px; }
  .ssd-header .ssd-category-link { min-height: 44px; padding: 9px 8px; }
  .ssd-header .ssd-menu-language { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 12px; padding: 0 0 14px; border-bottom: 1px solid #395341; }
  .ssd-header .ssd-menu-language > span { color: #b8cdbf; font-size: 13px; }
  .ssd-header .ssd-languages a, .ssd-header .ssd-language-current { min-height: 44px; padding: 9px 15px; }
  .ssd-header .acctmenu { right: 14px; }
  .ssd-header #swrap { right: 14px; width: min(580px,calc(100vw - 28px)); }
}
@media (max-width: 620px) {
  .ssd-header .ssd-menu-content { grid-template-columns: 1fr; gap: 18px; }
  .ssd-header .ssd-category-nav ul { gap: 2px 10px; }
  .ssd-header .ssd-category-link { font-size: 13px; line-height: 1.4; }
  .ssd-header .ssd-help-nav { padding: 16px 0 0; border-left: 0; border-top: 1px solid #395341; }
  .ssd-header .ssd-help-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px 14px; }
  .ssd-header .ssd-help-nav a { min-height: 44px; font-size: 12px; }
  .ssd-header .ssd-help-nav h3 { margin-bottom: 5px; }
  .ssd-header #swrap { left: 0; right: 0; width: 100%; border-left: 0; border-right: 0; border-radius: 0; }
  .ssd-header .ssd-search-heading { padding-left: 14px; }
  .ssd-header #swrap form { gap: 7px; padding: 6px 14px 15px; }
  .ssd-header .ssd-search-submit { gap: 0; padding: 10px 12px; }
  .ssd-header .ssd-search-submit svg { display: none; }
}
@media (max-width: 360px) {
  .ssd-header .ssd-logo { width: 96px; }
  .ssd-header .head-inner { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ssd-header *, .ssd-header *::before, .ssd-header *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
