/* Source-derived header presentation. The provider owns colors and logo width. */
body.htw-header-slot-legendairy .htw-site-header {
  --np-announcement-height: 43.5px;
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--htw-header-fg, #5d5e5d);
  font-family: Poppins, Arial, sans-serif;
}
body.htw-header-slot-legendairy .htw-site-header.np-has-announcement {
  top: calc(0px - var(--np-announcement-height));
}
body.htw-header-slot-legendairy .htw-site-header__announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43.5px;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: var(--htw-promo-bg, #75787b);
  color: var(--htw-promo-fg, #fff);
  font: 500 12px/1.45 Poppins, Arial, sans-serif;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}
body.htw-header-slot-legendairy .htw-site-header__main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--htw-logo-width, 160px)) minmax(0, 1fr);
  grid-template-rows: 72.5px;
  gap: 0;
  min-height: 73.5px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(93,94,93,.12);
  background: var(--htw-header-bg, #fafaf9);
  color: var(--htw-header-fg, #5d5e5d);
}
body.htw-header-slot-legendairy .htw-site-header__logo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 100%;
  max-width: var(--htw-logo-width, 160px);
  min-width: 0;
  line-height: 0;
}
/* An inline-block parent and percentage-width SVG formed a zero-width cycle. */
body.htw-header-slot-legendairy .htw-site-header__logo > a {
  display: block;
  width: 100%;
  max-width: 100%;
}
body.htw-header-slot-legendairy .htw-site-header__logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
body.htw-header-slot-legendairy .htw-site-header__logo a.htw-site-header__text-logo {
  display: -webkit-box;
  line-height: 1.2;
}
body.htw-header-slot-legendairy .htw-site-header__actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
}
body.htw-header-slot-legendairy .htw-site-header__actions > .htw-site-header__search-toggle { order: 1; }
body.htw-header-slot-legendairy .htw-site-header__actions > .htw-site-header__account { order: 2; }
body.htw-header-slot-legendairy .htw-site-header__actions > .htw-site-header__cart { order: 3; }
body.htw-header-slot-legendairy .htw-site-header__actions > a,
body.htw-header-slot-legendairy .htw-site-header__actions > button,
body.htw-header-slot-legendairy .htw-site-header__actions > .htw-site-header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: var(--htw-header-fg, #5d5e5d);
}
body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart-toggle {
  position: relative;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: var(--htw-header-fg, #5d5e5d);
}
body.htw-header-slot-legendairy .htw-site-header__icon {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  opacity: .75;
}
body.htw-header-slot-legendairy .htw-site-header__account-icon { display: block; }
body.htw-header-slot-legendairy .htw-site-header__account-label,
body.htw-header-slot-legendairy .htw-site-header__search-toggle > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Keep the native cart link available to keyboard and without JavaScript. */
body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced.np-has-cart-toggle .htw-site-header__cart-link:not(:focus-visible) {
  position: absolute;
  width: 1px;
  height: 1px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.htw-header-slot-legendairy .htw-site-header__cart-toggle .htw-site-header__cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 17px;
  height: 17px;
  font-size: 10px;
}

@media (min-width: 1101px) {
  body.htw-header-slot-legendairy .htw-site-header__desktop-nav {
    position: static;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 100%;
    min-width: 0;
    margin-left: -12px;
  }
  body.htw-header-slot-legendairy .htw-site-header__primary-list {
    justify-content: flex-start;
    gap: 0;
    height: 100%;
    flex-wrap: nowrap;
  }
  body.htw-header-slot-legendairy .htw-site-header__primary-list > li {
    position: static;
    display: flex;
    align-items: center;
    align-self: stretch;
  }
  body.htw-header-slot-legendairy .htw-site-header__primary-list > li > a {
    min-height: 32px;
    padding: 8px 12px;
    border-radius: 22px;
    color: var(--htw-header-fg, #5d5e5d);
    font: 500 12px/16px Poppins, Arial, sans-serif;
    letter-spacing: .04em;
    opacity: .75;
    text-transform: uppercase;
    text-decoration: none;
  }
  body.htw-header-slot-legendairy .htw-site-header__primary-list > li:hover > a,
  body.htw-header-slot-legendairy .htw-site-header__primary-list > li:focus-within > a {
    background: #a2b0a5;
    color: #fff;
    opacity: 1;
    text-decoration: none;
  }
  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .htw-site-header__primary-list > li > .sub-menu:not([hidden]) {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 110;
    display: block;
    width: 100%;
    min-width: 0;
    max-height: 70vh;
    overflow-y: auto;
    margin: 0;
    padding: 30px;
    border: 0;
    background: #ebeae6;
    color: #5d5e5d;
    box-shadow: none;
  }
  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .htw-site-header__primary-list > li > .sub-menu > li {
    width: min(38%, 520px);
    margin: 0;
  }
  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .sub-menu li > a {
    min-height: 36px;
    padding: 6px 0;
    color: #5d5e5d;
    font: 400 14px/24px Poppins, Arial, sans-serif;
    letter-spacing: .02em;
    text-decoration: none;
    white-space: normal;
  }
  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .sub-menu li > a:hover { text-decoration: underline; }
  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .sub-menu > .np-mega-heading {
    width: 100%;
    padding: 0 0 14px;
    color: #5d5e5d;
    font: 300 30px/1.15 Georgia, serif;
  }
}

@media (max-width: 1100px) {
  body.htw-header-slot-legendairy .htw-site-header { --np-announcement-height: 61px; }
  body.htw-header-slot-legendairy .htw-site-header__announcement { min-height: 61px; padding: 10px 14px; }
  body.htw-header-slot-legendairy .htw-site-header__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, min(var(--htw-logo-width, 160px), 41vw)) minmax(0, 1fr);
    grid-template-rows: 73.5px;
    min-height: 74.5px;
    padding: 0 8px;
    gap: 0;
  }
  body.htw-header-slot-legendairy .htw-site-header__mobile-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    position: relative;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    color: var(--htw-header-fg, #5d5e5d);
  }
  body.htw-header-slot-legendairy .htw-site-header__logo {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: var(--htw-logo-width, 160px);
  }
  body.htw-header-slot-legendairy .htw-site-header__actions { grid-column: 3; grid-row: 1; }
  body.htw-header-slot-legendairy .htw-site-header.np-account-in-drawer .htw-site-header__actions > .htw-site-header__account { display: none; }
  /* Empty-menu fallback keeps Account reachable without covering the centered logo. */
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__actions > a,
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__actions > button,
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__actions > .htw-site-header__cart,
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__cart-toggle {
    width: 32px;
    min-width: 32px;
  }
  body.htw-header-slot-legendairy .htw-site-header.has-drawer-open .htw-site-header__mobile-toggle > svg { opacity: 0; }
  body.htw-header-slot-legendairy .htw-site-header.has-drawer-open .htw-site-header__mobile-toggle::before,
  body.htw-header-slot-legendairy .htw-site-header.has-drawer-open .htw-site-header__mobile-toggle::after {
    position: absolute;
    top: 21px;
    left: 11px;
    width: 23px;
    height: 1.5px;
    background: currentColor;
    content: '';
  }
  body.htw-header-slot-legendairy .htw-site-header.has-drawer-open .htw-site-header__mobile-toggle::before { transform: rotate(45deg); }
  body.htw-header-slot-legendairy .htw-site-header.has-drawer-open .htw-site-header__mobile-toggle::after { transform: rotate(-45deg); }
  body.htw-header-slot-legendairy .htw-site-header.is-ready.np-header-enhanced .htw-site-header__drawer-backdrop { display: none; }
  body.htw-header-slot-legendairy .htw-site-header.is-ready.np-header-enhanced .htw-site-header__mobile-nav:not([hidden]) {
    position: fixed;
    inset: var(--np-drawer-top, 73.5px) 0 0 0;
    z-index: 200;
    display: flex;
    width: 100%;
    max-width: none;
    max-height: none;
    padding: 0;
    border: 0;
    background: var(--htw-header-bg, #fafaf9);
    color: var(--htw-header-fg, #5d5e5d);
    box-shadow: none;
  }
  /* Keep a keyboard-reachable native close button even though the visual close
     icon replaces the hamburger in the row above, as in the source. */
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__drawer-bar { display: contents; }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__drawer-back,
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__drawer-title { display: none; }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__drawer-close:not(:focus-visible) {
    position: absolute;
    width: 1px;
    min-width: 0;
    height: 1px;
    min-height: 0;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__drawer-close:focus-visible {
    position: fixed;
    top: calc(var(--np-drawer-top, 73.5px) - 59px);
    left: 8px;
    z-index: 201;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0 !important;
    background: var(--htw-header-bg, #fafaf9);
    color: var(--htw-header-fg, #5d5e5d);
    outline: 2px solid currentColor;
    outline-offset: -2px;
  }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__drawer-viewport {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 12px 30px;
  }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__mobile-list > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(93,94,93,.15);
  }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__mobile-list > li > a {
    flex: 1 1 auto;
    min-height: 58px;
    padding: 10px 0;
    color: #5d5e5d;
    font: 400 28px/1.25 Georgia, serif;
    text-decoration: none;
  }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__mobile-list .htw-site-header__submenu-toggle {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    color: #5d5e5d;
  }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__mobile-list .htw-site-header__submenu-toggle > span { font-size: 0; }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__mobile-list .htw-site-header__submenu-toggle::after { content: '+'; font: 300 25px/1 Arial, sans-serif; }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__mobile-list .htw-site-header__submenu-toggle[aria-expanded='true']::after { content: '−'; }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__mobile-list .sub-menu:not([hidden]) {
    position: static;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    padding: 0 0 14px 14px;
    background: transparent;
    box-shadow: none;
  }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .htw-site-header__mobile-list .sub-menu li > a,
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .np-mobile-account {
    min-height: 44px;
    padding: 10px 0;
    color: #5d5e5d;
    font: 400 15px/1.5 Poppins, Arial, sans-serif;
    text-decoration: none;
  }
  body.htw-header-slot-legendairy .htw-site-header.np-header-enhanced .np-mobile-account { display: inline-flex; align-items: center; }
}

@media (max-width: 350px) {
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, min(var(--htw-logo-width, 160px), 39vw)) minmax(0, 1fr);
  }
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__actions > a,
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__actions > button,
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__actions > .htw-site-header__cart,
  body.htw-header-slot-legendairy .htw-site-header:not(.np-account-in-drawer) .htw-site-header__cart-toggle {
    width: 28px;
    min-width: 28px;
  }
}

@media (min-width: 783px) {
  body.admin-bar.htw-header-slot-legendairy .htw-site-header.np-has-announcement { top: calc(32px - var(--np-announcement-height)); }
}
@media (min-width: 601px) and (max-width: 782px) {
  body.admin-bar.htw-header-slot-legendairy .htw-site-header.np-has-announcement { top: calc(46px - var(--np-announcement-height)); }
}
