:root {
  --nav-pink: #ff4f9a;
  --nav-acid: #d6ff49;
  --nav-black: #000;
}

.unified-header {
  position: relative;
  z-index: 1000;
  padding: 6px 20px 8px;
  border-bottom: 2px solid var(--nav-pink);
  background: var(--nav-black);
}

.unified-header .brand-home {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.unified-header .logo,
.unified-header .brand-logo {
  display: block;
  width: 420px;
  max-width: 92vw;
  height: auto;
  margin: 4px auto 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2px 0 0;
  font-family: "Press Start 2P", cursive;
}

.site-nav a,
.site-nav button {
  font: inherit;
}

.site-nav-link,
.site-nav-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 5px;
  border: 0;
  background: transparent;
  color: var(--nav-pink);
  font-size: 11px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, text-shadow .2s ease, transform .2s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible,
.site-nav-trigger:hover,
.site-nav-trigger:focus-visible {
  color: #ffb5d5;
  text-shadow: 0 0 4px var(--nav-pink), 0 0 9px var(--nav-pink);
  transform: translateY(-2px);
  outline: none;
}

.site-nav-separator {
  color: var(--nav-acid);
  font-size: 10px;
  user-select: none;
}

.site-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-height: 40px;
  margin-left: -6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nav-acid);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}

.site-nav-toggle:hover,
.site-nav-toggle:focus-visible {
  background: transparent;
  color: var(--nav-acid);
  box-shadow: none;
  filter: drop-shadow(0 0 6px var(--nav-acid));
  outline: none;
}

.site-nav-item.is-open .site-nav-toggle {
  transform: rotate(180deg);
}

.site-nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  z-index: 1002;
  display: none;
  min-width: 225px;
  padding: 10px;
  border: 2px solid var(--nav-pink);
  background: var(--nav-black);
  box-shadow: 8px 8px 0 rgba(255, 79, 154, .2);
  transform: translateX(-50%);
}

.site-nav-item:hover .site-nav-dropdown,
.site-nav-item:focus-within .site-nav-dropdown,
.site-nav-item.is-open .site-nav-dropdown {
  display: grid;
}

.site-nav-dropdown a {
  padding: 10px 8px;
  color: #ffb5d5;
  font-size: 9px;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}

.site-nav-dropdown a:hover,
.site-nav-dropdown a:focus-visible {
  padding-left: 13px;
  background: var(--nav-pink);
  color: var(--nav-black);
  outline: none;
}

.site-nav-dropdown .shop-all-link {
  margin-top: 4px;
  border-top: 1px solid var(--nav-acid);
  color: var(--nav-acid);
}

.header-bag {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 10030;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 108px;
  min-height: 40px;
  margin: 0;
  padding: 8px 10px;
  border: 2px solid var(--nav-pink);
  background: var(--nav-black);
  color: white;
  font-family: "Press Start 2P", cursive;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.header-bag:hover,
.header-bag:focus-visible {
  background: var(--nav-pink);
  color: var(--nav-black);
  box-shadow: 0 0 12px var(--nav-pink);
  transform: translateY(-2px);
  outline: none;
}

@media (min-width: 901px) {
  .header-bag-icon {
    margin-right: 8px;
  }
}

.site-menu-toggle,
.site-nav-close {
  display: none;
}

.site-menu-icon,
.site-menu-icon::before,
.site-menu-icon::after {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-menu-icon {
  position: relative;
}

.site-menu-icon::before,
.site-menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.site-menu-icon::before {
  transform: translateY(-7px);
}

.site-menu-icon::after {
  transform: translateY(7px);
}

.site-breadcrumb {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 44px;
  padding: .75rem clamp(1rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255, 79, 154, .3);
  background: #000;
  font-family: "Press Start 2P", cursive;
  text-align: left;
}

.site-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--nav-acid);
  font-size: 9px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
}

.site-breadcrumb a:hover,
.site-breadcrumb a:focus-visible {
  color: #ffb5d5;
  text-shadow: 0 0 7px var(--nav-pink);
  transform: translateX(-3px);
  outline: none;
}

.site-breadcrumb .site-breadcrumb-home {
  min-height: 34px;
  padding: 7px 10px;
  border: 2px solid var(--nav-pink);
  background: #000;
  color: #fff;
}

.site-breadcrumb .site-breadcrumb-home:hover,
.site-breadcrumb .site-breadcrumb-home:focus-visible {
  background: var(--nav-pink);
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .unified-header {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) 68px;
    grid-template-rows: auto auto;
    align-items: center;
    min-height: 66px;
    padding: 8px 10px 6px;
    position: sticky !important;
    top: 0;
    z-index: 10010;
  }

  .unified-header .brand-home {
    grid-column: 2;
    justify-self: center;
    margin: 0;
    max-width: 100%;
  }

  .unified-header .logo,
  .unified-header .brand-logo {
    width: clamp(132px, 43vw, 190px);
    max-width: 100%;
    /* The logo art is square with generous transparent padding, so an
       unbounded height made the header eat ~190px of the first screen.
       Cap it against the short-viewport height so the hero CTAs stay
       above the fold on small phones too. The sticky bar now carries the
       search strip on a second row, so this cap runs tighter than it used
       to in order to keep the whole thing near its old footprint. */
    max-height: 112px;
    max-height: min(112px, 16svh);
    margin: 0;
    object-fit: contain;
  }

  .unified-header .brand-home .logo,
  .unified-header .brand-home .brand-logo {
    max-width: 100%;
  }

  .site-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    justify-self: start;
    width: 44px !important;
    min-height: 44px;
    padding: 0 !important;
    border: 0;
    background: transparent;
    color: var(--nav-pink);
    cursor: pointer;
    transition: color .2s ease, filter .2s ease, transform .2s ease;
  }

  .site-menu-toggle:hover,
  .site-menu-toggle:focus-visible {
    background: transparent;
    color: #ffb5d5;
    box-shadow: none;
    filter: drop-shadow(0 0 6px var(--nav-pink));
    outline: none;
    transform: scale(1.04);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    height: 100vh;
    height: 100dvh;
    padding: 82px 24px 50px;
    overflow-y: auto;
    background: rgba(0, 0, 0, .985);
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-close {
    position: fixed;
    top: 18px;
    right: 18px;
    display: inline-grid;
    place-items: center;
    width: 44px;
    min-height: 44px;
    padding: 0;
    border: 2px solid var(--nav-pink);
    background: var(--nav-pink);
    color: black;
    font: 23px/1 sans-serif;
    cursor: pointer;
  }

  .site-nav-separator {
    display: none;
  }

  .site-nav-link,
  .site-nav-trigger {
    justify-content: center;
    width: 100%;
    max-width: 310px;
    padding: 12px 8px;
    font-size: 14px;
    text-align: center;
    white-space: normal;
  }

  .site-nav-item {
    display: grid;
    grid-template-columns: 1fr 44px;
    width: 100%;
    max-width: 354px;
  }

  .site-nav-toggle {
    width: 44px;
    min-height: 44px;
    margin: 0;
    font-size: 18px;
  }

  .site-nav-dropdown {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    padding: 4px;
    border-color: rgba(255, 79, 154, .5);
    box-shadow: none;
    transform: none;
  }

  .site-nav-item:hover .site-nav-dropdown,
  .site-nav-item:focus-within .site-nav-dropdown {
    display: none;
  }

  .site-nav-item.is-open .site-nav-dropdown,
  .site-nav-item.is-open:hover .site-nav-dropdown,
  .site-nav-item.is-open:focus-within .site-nav-dropdown {
    display: grid;
  }

  .site-nav-dropdown a {
    padding: 10px;
    font-size: 10px;
    text-align: center;
  }

  .header-bag {
    position: fixed;
    top: 13px;
    right: 10px;
    z-index: 10015;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: 64px;
    min-width: 0;
    min-height: 40px;
    padding: 6px 5px;
    border-width: 1px;
    color: #ffb5d5;
    font-size: 8px;
    letter-spacing: -.02em;
    box-shadow: 3px 3px 0 rgba(255, 79, 154, .18);
  }

  .header-bag-icon {
    display: none;
  }

  .site-breadcrumb {
    gap: 8px;
    padding: .65rem .8rem;
  }

  .site-breadcrumb a {
    justify-content: center;
    min-height: 36px;
    font-size: 8px;
  }

  .site-breadcrumb .site-breadcrumb-home {
    min-height: 36px;
  }
}

@media (max-width: 370px) {
  .unified-header {
    grid-template-columns: 46px minmax(0, 1fr) 58px;
    padding-inline: 7px;
  }

  .unified-header .logo,
  .unified-header .brand-logo {
    width: clamp(118px, 41vw, 145px);
  }

  .header-bag {
    width: 56px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav *,
  .site-menu-toggle {
    transition-duration: .01ms !important;
  }
}
