@keyframes afMenuSoftReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.is-menu-open .storefront-announcement-spacer,
body.is-menu-open .storefront-announcement {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
}

@keyframes afMenuSignatureFloat {
  0% {
    transform: translateY(8px) scale(0.985);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.76;
  }
}

body .topbar .topbar-shell,
body .topbar .topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  position: relative;
}

body .topbar .brand img {
  width: auto;
  height: 126px;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
}

body .topbar .header-actions,
body .topbar .topbar-actions {
  display: none;
  position: fixed;
  inset: 0;
  width: min(1440px, calc(100% - 32px));
  height: var(--viewport-height, 100dvh);
  margin: 0 auto;
  padding: 40px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center;
  z-index: 25;
  border-bottom: 0;
  overflow-y: auto;
  pointer-events: none;
}

body .topbar .topbar-shell.is-menu-open .header-actions,
body .topbar .topbar-inner.is-menu-open .header-actions,
body .topbar .topbar-shell.is-menu-open .topbar-actions,
body .topbar .topbar-inner.is-menu-open .topbar-actions {
  display: flex;
}

body .topbar .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 220ms ease, opacity 220ms ease;
}

body .topbar .menu-toggle:hover {
  transform: translate(-50%, calc(-50% - 1px));
  opacity: 0.88;
}

body .topbar .menu-toggle img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) opacity(0.58);
}

body .topbar .mobile-header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  justify-self: end;
}

body .topbar .header-nav,
body .topbar .nav {
  width: min(100%, 1120px);
  display: flex;
  flex-wrap: wrap;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 14px 12px;
  pointer-events: auto;
}

body .topbar .header-link,
body .topbar .header-nav a,
body .topbar .nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: auto;
  width: auto;
  min-width: 150px;
  padding: 12px 18px 10px;
  border: 0;
  background: transparent;
  color: var(--muted, #6f625d);
  position: relative;
  left: 15px;
  font-family: var(--font-text, "Montserrat", "Segoe UI", Arial, sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  border-radius: 22px;
  transition: color 220ms ease, transform 220ms ease, opacity 220ms ease, background 220ms ease;
}

body .topbar .menu-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  opacity: 0.72;
  transition: transform 220ms ease, opacity 220ms ease;
}

body .topbar .menu-link-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body .topbar .menu-link-text {
  display: block;
  line-height: 1.24;
}

body .topbar .header-link:hover,
body .topbar .header-link.is-active,
body .topbar .header-nav a:hover,
body .topbar .header-nav a.is-active,
body .topbar .nav a:hover,
body .topbar .nav a.is-active {
  color: var(--ink, #171311);
  transform: translateY(-1px) scale(1.01);
  opacity: 0.88;
  background: rgba(23, 19, 17, 0.08);
}

body .topbar .header-link:hover .menu-link-icon,
body .topbar .header-link.is-active .menu-link-icon,
body .topbar .header-nav a:hover .menu-link-icon,
body .topbar .header-nav a.is-active .menu-link-icon,
body .topbar .nav a:hover .menu-link-icon,
body .topbar .nav a.is-active .menu-link-icon {
  transform: translateY(-1px);
  opacity: 1;
}

body .topbar .social-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  pointer-events: auto;
}

body .topbar .header-actions > .social-nav,
body .topbar .topbar-actions > .social-nav {
  display: inline-flex;
  margin-top: 94px;
  padding-top: 0;
  border-top: 0;
}

body .topbar .menu-pages-label,
body .topbar .menu-socials-label {
  margin-top: 14px;
  color: var(--muted, #6f625d);
  font-family: var(--font-text, "Montserrat", "Segoe UI", Arial, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: auto;
}

body .topbar .menu-pages-label {
  margin-top: 0;
  margin-bottom: 0;
  display: inline-block;
  align-self: center;
  width: fit-content;
  text-align: center;
  padding: 0 28px 14px;
  border-bottom: 1px solid rgba(23, 19, 17, 0.08);
  position: relative;
  top: -116px;
  z-index: 1;
}

body .topbar .menu-socials-label {
  position: relative;
  top: -24px;
  z-index: 1;
  margin-top: 0;
  padding-top: 0 !important;
  border-top: 0 !important;
  display: inline-block;
  align-self: center;
  width: fit-content;
  text-align: center;
  padding: 0 28px 14px;
  border-bottom: 1px solid rgba(23, 19, 17, 0.08);
}

body .topbar .menu-language {
  margin-top: -52px;
  padding-top: 0;
  border-top: 0;
  justify-items: center;
}

body .topbar .menu-language-label {
  display: inline-block;
  width: fit-content;
  text-align: center;
  padding: 0 28px 14px;
  border-bottom: 1px solid rgba(23, 19, 17, 0.08);
}

body .topbar .language-switcher {
  margin-top: 20px;
}

body .topbar .menu-signature {
  display: none;
  pointer-events: none;
}

body .topbar .topbar-shell.is-menu-open .menu-pages-label,
body .topbar .topbar-shell.is-menu-open .menu-socials-label,
body .topbar .topbar-shell.is-menu-open .menu-language,
body .topbar .topbar-shell.is-menu-open .menu-signature,
body .topbar .topbar-shell.is-menu-open .menu-exit,
body .topbar .topbar-inner.is-menu-open .menu-pages-label,
body .topbar .topbar-inner.is-menu-open .menu-socials-label,
body .topbar .topbar-inner.is-menu-open .menu-language,
body .topbar .topbar-inner.is-menu-open .menu-signature,
body .topbar .topbar-inner.is-menu-open .menu-exit {
  animation: afMenuSoftReveal 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body .topbar .topbar-shell.is-menu-open .menu-pages-label,
body .topbar .topbar-inner.is-menu-open .menu-pages-label {
  animation-delay: 40ms;
}

body .topbar .topbar-shell.is-menu-open .menu-socials-label,
body .topbar .topbar-inner.is-menu-open .menu-socials-label {
  animation-delay: 220ms;
}

body .topbar .topbar-shell.is-menu-open .menu-language,
body .topbar .topbar-inner.is-menu-open .menu-language {
  animation-delay: 280ms;
}

body .topbar .topbar-shell.is-menu-open .menu-signature,
body .topbar .topbar-inner.is-menu-open .menu-signature {
  animation-delay: 360ms;
}

body .topbar .topbar-shell.is-menu-open .menu-exit,
body .topbar .topbar-inner.is-menu-open .menu-exit {
  animation-delay: 340ms;
}

body .topbar .topbar-shell.is-menu-open .header-link,
body .topbar .topbar-shell.is-menu-open .header-nav a,
body .topbar .topbar-shell.is-menu-open .social-link,
body .topbar .topbar-shell.is-menu-open .menu-language .language-button,
body .topbar .topbar-inner.is-menu-open .header-link,
body .topbar .topbar-inner.is-menu-open .header-nav a,
body .topbar .topbar-inner.is-menu-open .social-link,
body .topbar .topbar-inner.is-menu-open .menu-language .language-button {
  animation: afMenuSoftReveal 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body .topbar .topbar-shell.is-menu-open .header-link:nth-child(1),
body .topbar .topbar-shell.is-menu-open .header-nav a:nth-child(1),
body .topbar .topbar-inner.is-menu-open .header-link:nth-child(1),
body .topbar .topbar-inner.is-menu-open .header-nav a:nth-child(1) { animation-delay: 70ms; }
body .topbar .topbar-shell.is-menu-open .header-link:nth-child(2),
body .topbar .topbar-shell.is-menu-open .header-nav a:nth-child(2),
body .topbar .topbar-inner.is-menu-open .header-link:nth-child(2),
body .topbar .topbar-inner.is-menu-open .header-nav a:nth-child(2) { animation-delay: 110ms; }
body .topbar .topbar-shell.is-menu-open .header-link:nth-child(3),
body .topbar .topbar-shell.is-menu-open .header-nav a:nth-child(3),
body .topbar .topbar-inner.is-menu-open .header-link:nth-child(3),
body .topbar .topbar-inner.is-menu-open .header-nav a:nth-child(3) { animation-delay: 150ms; }
body .topbar .topbar-shell.is-menu-open .header-link:nth-child(4),
body .topbar .topbar-shell.is-menu-open .header-nav a:nth-child(4),
body .topbar .topbar-inner.is-menu-open .header-link:nth-child(4),
body .topbar .topbar-inner.is-menu-open .header-nav a:nth-child(4) { animation-delay: 190ms; }
body .topbar .topbar-shell.is-menu-open .header-link:nth-child(5),
body .topbar .topbar-shell.is-menu-open .header-nav a:nth-child(5),
body .topbar .topbar-inner.is-menu-open .header-link:nth-child(5),
body .topbar .topbar-inner.is-menu-open .header-nav a:nth-child(5) { animation-delay: 230ms; }
body .topbar .topbar-shell.is-menu-open .header-link:nth-child(6),
body .topbar .topbar-shell.is-menu-open .header-nav a:nth-child(6),
body .topbar .topbar-inner.is-menu-open .header-link:nth-child(6),
body .topbar .topbar-inner.is-menu-open .header-nav a:nth-child(6) { animation-delay: 270ms; }

body .topbar .topbar-shell.is-menu-open .social-link:nth-child(1),
body .topbar .topbar-inner.is-menu-open .social-link:nth-child(1) { animation-delay: 250ms; }
body .topbar .topbar-shell.is-menu-open .social-link:nth-child(2),
body .topbar .topbar-inner.is-menu-open .social-link:nth-child(2) { animation-delay: 290ms; }
body .topbar .topbar-shell.is-menu-open .social-link:nth-child(3),
body .topbar .topbar-inner.is-menu-open .social-link:nth-child(3) { animation-delay: 330ms; }

body .topbar .topbar-shell.is-menu-open .menu-language .language-button:nth-child(1),
body .topbar .topbar-inner.is-menu-open .menu-language .language-button:nth-child(1) { animation-delay: 310ms; }
body .topbar .topbar-shell.is-menu-open .menu-language .language-button:nth-child(2),
body .topbar .topbar-inner.is-menu-open .menu-language .language-button:nth-child(2) { animation-delay: 340ms; }
body .topbar .topbar-shell.is-menu-open .menu-language .language-button:nth-child(3),
body .topbar .topbar-inner.is-menu-open .menu-language .language-button:nth-child(3) { animation-delay: 370ms; }
body .topbar .topbar-shell.is-menu-open .menu-language .language-button:nth-child(4),
body .topbar .topbar-inner.is-menu-open .menu-language .language-button:nth-child(4) { animation-delay: 400ms; }

body .topbar .topbar-shell.is-menu-open .menu-signature img,
body .topbar .topbar-inner.is-menu-open .menu-signature img {
  animation: afMenuSignatureFloat 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 390ms;
}

body .topbar .social-link,
body .topbar .social-placeholder {
  color: var(--muted, #6f625d);
  font-family: var(--font-display, "Montserrat", "Segoe UI", Arial, sans-serif);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: color 220ms ease, opacity 220ms ease;
}

body .topbar .social-link img,
body .topbar .social-placeholder img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) opacity(0.58);
}

body .topbar .social-link.facebook img,
body .topbar .social-placeholder.facebook img {
  width: 26px;
  height: 26px;
}

body .topbar .social-link.discord,
body .topbar .social-placeholder.discord {
  width: 37px;
  height: 37px;
}

body .topbar .social-link.discord img,
body .topbar .social-placeholder.discord img {
  width: 37px;
  height: 37px;
}

body .topbar .social-link:hover {
  color: var(--ink, #171311);
  opacity: 0.88;
}

body .topbar .account-link,
body .topbar .cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

body .topbar .account-link img,
body .topbar .cart-link img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) opacity(0.58);
  transition: filter 220ms ease;
}

body .topbar .account-link:hover,
body .topbar .account-link.is-active,
body .topbar .cart-link:hover,
body .topbar .cart-link.is-active {
  transform: translateY(-1px);
  opacity: 0.88;
}

@media (prefers-reduced-motion: reduce) {
  body .topbar .topbar-shell.is-menu-open .menu-pages-label,
  body .topbar .topbar-shell.is-menu-open .menu-socials-label,
  body .topbar .topbar-shell.is-menu-open .menu-language,
  body .topbar .topbar-shell.is-menu-open .menu-signature,
  body .topbar .topbar-shell.is-menu-open .menu-exit,
  body .topbar .topbar-shell.is-menu-open .header-link,
  body .topbar .topbar-shell.is-menu-open .header-nav a,
  body .topbar .topbar-shell.is-menu-open .social-link,
  body .topbar .topbar-shell.is-menu-open .menu-language .language-button,
  body .topbar .topbar-shell.is-menu-open .menu-signature img,
  body .topbar .topbar-inner.is-menu-open .menu-pages-label,
  body .topbar .topbar-inner.is-menu-open .menu-socials-label,
  body .topbar .topbar-inner.is-menu-open .menu-language,
  body .topbar .topbar-inner.is-menu-open .menu-signature,
  body .topbar .topbar-inner.is-menu-open .menu-exit,
  body .topbar .topbar-inner.is-menu-open .header-link,
  body .topbar .topbar-inner.is-menu-open .header-nav a,
  body .topbar .topbar-inner.is-menu-open .social-link,
  body .topbar .topbar-inner.is-menu-open .menu-language .language-button,
  body .topbar .topbar-inner.is-menu-open .menu-signature img {
    animation: none;
  }
}

@media (max-width: 980px) {
  body .topbar .brand img {
    height: 108px;
  }

  body .topbar .mobile-header-tools,
  body .topbar .menu-toggle {
    display: inline-flex;
  }

  body .topbar .header-actions,
  body .topbar .topbar-actions {
    width: min(1440px, calc(100% - 32px));
    padding: 152px 0 24px;
    gap: 10px;
    justify-content: center;
  }

  body .topbar .header-nav,
  body .topbar .nav {
    width: min(100%, 360px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  body .topbar .header-link,
  body .topbar .header-nav a,
  body .topbar .nav a {
    width: 100%;
    min-width: 0;
    left: 0;
    padding: 10px 12px;
    gap: 6px;
    justify-content: center;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-align: center;
  }

  body .topbar .menu-link-icon {
    width: 42px;
    height: 42px;
  }

  body .topbar .header-actions > .social-nav,
  body .topbar .topbar-actions > .social-nav {
    margin-top: 16px;
    gap: 20px;
  }

  body .topbar .menu-pages-label {
    top: 0;
    margin-top: 0;
    margin-bottom: 10px;
    padding-top: 0;
  }

  body .topbar .menu-socials-label {
    top: 0;
    margin-top: 18px;
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  body .topbar .menu-language {
    margin-top: 36px;
  }

  body .topbar .menu-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  }

  body .topbar .menu-signature img {
    display: block;
    width: min(220px, 58vw);
    height: auto;
    opacity: 0.76;
  }
}

@media (max-width: 640px) {
  body .topbar {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  body .topbar .brand img {
    height: 98px;
  }

  body .topbar .header-actions,
  body .topbar .topbar-actions {
    padding-top: 140px;
  }

  body .topbar .language-switcher {
    margin-top: 14px;
  }

  body .topbar .menu-signature {
    margin-top: 40px;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
  }

  body .topbar .menu-signature img {
    width: min(186px, 56vw);
  }
}
