body.htw-header-slot-legendairy .htw-site-header {
  --pet-header-divider: color-mix(in srgb, var(--htw-header-fg) 16%, transparent);
  --pet-header-hover: color-mix(in srgb, var(--htw-header-fg) 8%, var(--htw-header-bg));
  position: sticky;
  z-index: 100;
  border-bottom: 1px solid var(--pet-header-divider);
  font-family: system-ui, sans-serif;
}

body.htw-header-slot-legendairy .htw-site-header .htw-site-header__announcement {
  display: grid;
  min-height: 34px;
  padding: 7px 16px;
  place-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.htw-header-slot-legendairy .htw-site-header__main {
  width: 100%;
  max-width: 1180px;
  min-height: 71px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3.1vw, 45px);
}

body.htw-header-slot-legendairy .htw-site-header .htw-site-header__logo .htw-site-header__text-logo {
  display: inline-flex;
  width: auto;
  height: auto;
  min-height: 40px;
  max-height: none;
  align-items: center;
  overflow: visible;
  color: inherit;
  font: 700 23px/1.02 Georgia, serif;
  letter-spacing: -.038em;
  text-align: start;
  text-overflow: clip;
  overflow-wrap: normal;
}

body.htw-header-slot-legendairy .htw-site-header .htw-site-header__logo .htw-site-header__text-logo::before {
  content: none;
}

body.htw-header-slot-legendairy .htw-site-header__desktop-nav .htw-site-header__primary-list {
  gap: clamp(16px, 2.35vw, 34px);
}

body.htw-header-slot-legendairy .htw-site-header__desktop-nav .htw-site-header__primary-list > li > a {
  font-size: 12px;
  font-weight: 680;
  letter-spacing: .035em;
}

body.htw-header-slot-legendairy .htw-site-header__menu li > a:hover {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

body.htw-header-slot-legendairy .htw-site-header__actions {
  gap: 6px;
}

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-link,
body.htw-header-slot-legendairy .htw-site-header__mobile-toggle {
  min-width: 40px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
}

body.htw-header-slot-legendairy .htw-site-header__actions > a:hover,
body.htw-header-slot-legendairy .htw-site-header__actions button:hover,
body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart-link:hover,
body.htw-header-slot-legendairy .htw-site-header__mobile-toggle:hover {
  border-color: var(--pet-header-divider);
  background: var(--pet-header-hover);
  opacity: 1;
}

body.htw-header-slot-legendairy .htw-site-header__actions .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-path: inset(50%);
  white-space: nowrap;
}

body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart {
  gap: 2px;
}

body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart-link {
  display: none;
}

body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart:has(.htw-site-header__cart-toggle[hidden]) .htw-site-header__cart-link,
body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart:not(:has(.htw-site-header__cart-toggle)) .htw-site-header__cart-link {
  display: inline-flex;
  width: auto;
  padding-inline: 6px;
  border-radius: 8px;
}

body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart {
  position: relative;
}

body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart-link:has(.htw-site-header__cart-count:not(.is-empty)) {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 18px;
  min-width: 0;
  height: 18px;
  min-height: 0;
  border: 0;
  font-size: 0;
  line-height: 1;
}

body.htw-header-slot-legendairy .htw-site-header__actions .htw-site-header__cart-link:has(.htw-site-header__cart-count:not(.is-empty)):focus-visible {
  outline-offset: 2px;
}

body.htw-header-slot-legendairy .htw-site-header__submenu-toggle > span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-inline-end: 1.5px solid currentColor;
  border-block-end: 1.5px solid currentColor;
  font-size: 0;
  transform: translateY(-2px) rotate(45deg);
  vertical-align: middle;
}

@media (min-width: 1101px) {
  body.htw-header-slot-legendairy .htw-site-header:not(.htw-site-header--two-row) .htw-site-header__main {
    grid-template-columns: minmax(165px, 1fr) auto minmax(165px, 1fr);
  }

  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .htw-site-header__primary-list > li > .htw-site-header__submenu-toggle:not(:focus-visible) {
    position: static;
    width: 25px;
    min-width: 25px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    overflow: visible;
    clip: auto;
  }

  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .htw-site-header__primary-list > li > .htw-site-header__submenu-toggle:focus-visible {
    width: 25px;
    min-height: 44px;
    padding: 0;
  }

  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .htw-site-header__primary-list > li:not(.htw-site-header__mega-root) > .sub-menu {
    left: -14px;
    width: max-content;
    min-width: 206px;
    max-width: 285px;
    max-height: calc(100dvh - 108px);
    padding: 7px 0;
    border: 1px solid var(--pet-header-divider);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 22px rgba(17, 51, 46, .15);
    overflow-y: auto;
  }

  body.htw-header-slot-legendairy .htw-site-header__desktop-nav .sub-menu li > a {
    display: flex;
    min-height: 41px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 540;
  }
}

@media (max-width: 1100px) {
  body.htw-header-slot-legendairy .htw-site-header .htw-site-header__announcement {
    min-height: 31px;
  }

  body.htw-header-slot-legendairy .htw-site-header__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, 1fr);
    gap: 6px;
    min-height: 71px;
    padding-inline: clamp(10px, 3.3vw, 28px);
  }

  body.htw-header-slot-legendairy .htw-site-header__mobile-toggle {
    justify-self: start;
  }

  body.htw-header-slot-legendairy .htw-site-header__actions {
    gap: 0;
  }

  body.htw-header-slot-legendairy .htw-site-header .htw-site-header__logo:has(.htw-site-header__text-logo) {
    width: min(var(--htw-logo-width), max(97px, calc(100vw - 260px)));
  }

  body.htw-header-slot-legendairy .htw-site-header .htw-site-header__logo .htw-site-header__text-logo {
    justify-content: center;
    font-size: clamp(17px, 4.8vw, 22px);
    text-align: center;
  }

  body.htw-header-slot-legendairy .htw-site-header.is-ready .htw-site-header__mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    width: 100%;
    height: calc(100vh - 103px);
    height: calc(100dvh - 103px);
    max-height: none;
    border-top: 1px solid var(--pet-header-divider);
    box-shadow: none;
  }

  body.htw-header-slot-legendairy .htw-site-header.is-ready .htw-site-header__drawer-backdrop {
    inset: 103px 0 0;
  }

  body.htw-header-slot-legendairy .htw-site-header__drawer-bar {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    min-height: 55px;
    padding: 5px 16px;
    border-color: var(--pet-header-divider);
  }

  body.htw-header-slot-legendairy .htw-site-header__drawer-title {
    grid-column: 2;
    grid-row: 1;
    font: 700 17px/1.1 Georgia, serif;
  }

  body.htw-header-slot-legendairy .htw-site-header__drawer-back {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    font-size: 14px;
  }

  body.htw-header-slot-legendairy .htw-site-header__drawer-close {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  body.htw-header-slot-legendairy .htw-site-header__drawer-viewport {
    padding: 8px clamp(18px, 5.5vw, 45px) 22px;
    overscroll-behavior: contain;
  }

  body.htw-header-slot-legendairy .htw-site-header__mobile-nav .htw-site-header__drawer-viewport li {
    border-bottom: 1px solid var(--pet-header-divider);
  }

  body.htw-header-slot-legendairy .htw-site-header__mobile-nav .htw-site-header__drawer-viewport li > a {
    flex: 1;
    min-height: 52px;
    font-size: 14px;
    font-weight: 620;
    letter-spacing: .025em;
  }

  body.htw-header-slot-legendairy .htw-site-header__mobile-nav .htw-site-header__submenu-toggle > span {
    transform: rotate(-45deg);
  }
}

@media (max-width: 420px) {
  body.htw-header-slot-legendairy .htw-site-header__actions > a,
  body.htw-header-slot-legendairy .htw-site-header__actions button {
    min-width: 34px;
  }
}

@media (max-width: 350px) {
  body.htw-header-slot-legendairy .htw-site-header__main {
    gap: 3px;
    padding-inline: 7px;
  }

  body.htw-header-slot-legendairy .htw-site-header__actions > a,
  body.htw-header-slot-legendairy .htw-site-header__actions button {
    min-width: 31px;
  }
}
