.menu-toggle{
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  z-index: 201;
}

.menu-toggle span{
  position: absolute;
  width: 19px;
  height: 1px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  transition: background-color 200ms ease;
}

.menu-toggle span:first-child{ transform: translateY(-3px); }
.menu-toggle span:last-child{ transform: translateY(3px); }
@media (hover: hover) and (pointer: fine){
  .menu-toggle:hover span{ background: #fff; }
}

.menu-toggle.is-open span:first-child{ transform: rotate(45deg); }
.menu-toggle.is-open span:last-child{ transform: rotate(-45deg); }

.fullscreen-menu{
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 180;
  display: none;
  width: 100%;
  height: calc(100dvh - var(--header-height));
  overflow-x: clip;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #fff transparent;
  scrollbar-width: thin;
  padding:
    clamp(30px, 5vw, 66px)
    max(var(--gutter), env(safe-area-inset-right))
    calc(52px + env(safe-area-inset-bottom))
    max(var(--gutter), env(safe-area-inset-left));
  background: #000;
  -webkit-overflow-scrolling: touch;
}

.fullscreen-menu::-webkit-scrollbar{
  width: 10px;
}

.fullscreen-menu::-webkit-scrollbar-track{
  background: transparent;
}

.fullscreen-menu::-webkit-scrollbar-thumb{
  border: 2px solid transparent;
  border-radius: 999px;
  background: #fff;
  background-clip: padding-box;
}

.fullscreen-menu.active{
  display: block;
}

body.menu-open{
  overflow: hidden;
}

body.menu-open .header .cart-fab{
  visibility: hidden;
}

.menu-panel{
  width: min(520px, 100%);
  margin: 0 auto;
  text-align: center;
}

.menu-section{
  margin: 0 0 clamp(35px, 6vw, 45px);
}

.menu-item{
  margin: 0 0 22px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.15vw, 28px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.menu-links{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.menu-link{
  position: relative;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.58);
  text-decoration: none;
  font-family: var(--font-copy);
  font-size: clamp(17px, 1.35vw, 19px);
  font-weight: 400;
  line-height: 1.35;
  transition: color 180ms ease, transform 180ms ease;
}

.menu-link[href]::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.menu-link[href]:focus-visible{
  color: #fff;
  transform: translateY(-1px);
}

.menu-link[href]:focus-visible::after{
  transform: scaleX(1);
}

.menu-link[href]:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.menu-social{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: clamp(46px, 7vw, 76px);
}

.menu-social a{
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: color 180ms ease;
}

@media (hover: hover) and (pointer: fine){
  .menu-link[href]:hover{
    color: #fff;
    transform: translateY(-1px);
  }

  .menu-link[href]:hover::after{
    transform: scaleX(1);
  }

  .menu-social a:hover{
    color: rgba(255,255,255,.62);
    text-decoration: none;
  }
}

.menu-social a:focus-visible{
  color: rgba(255,255,255,.62);
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.menu-social svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px){
  .fullscreen-menu{
    padding-top: 28px;
    padding-right: max(22px, env(safe-area-inset-right));
    padding-left: max(22px, env(safe-area-inset-left));
  }

  .menu-panel{
    width: min(420px, 100%);
  }

  .menu-section{
    margin-bottom: 46px;
  }

  .menu-item{
    margin-bottom: 16px;
    font-size: clamp(18px, 8vw, 22px);
  }

  .menu-link{
    min-height: 30px;
    font-size: 16px;
  }

}

@media (prefers-reduced-motion: reduce){
  .menu-link,
  .menu-link[href]::after,
  .menu-social a{
    transition: none;
  }
}
