.mobile-bottom-nav {
  display: none;
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-latin-600.woff2') format('woff2');
}

@media (max-width: 768px) {
  body:has(.mobile-bottom-nav) {
    padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important;
  }

  body.watch-shop-body:has(.mobile-bottom-nav) {
    padding-bottom: 0 !important;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 950;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    width: 100vw;
    max-width: none;
    height: 66px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
    color: #141414;
    box-sizing: border-box;
  }

  .mobile-bottom-nav__item {
    position: relative;
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 0;
    color: #141414;
    font-family: Poppins, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: color .18s ease, transform .18s ease;
  }

  .mobile-bottom-nav__item svg {
    width: 25px;
    height: 25px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-nav__item[aria-current="page"] {
    color: var(--primary-dark);
  }

  .mobile-bottom-nav__item:active {
    transform: scale(.94);
  }

  .mobile-bottom-nav__item:focus-visible {
    z-index: 2;
    outline: 2px solid var(--primary-dark);
    outline-offset: -3px;
  }

  .mobile-bottom-nav__item--feature {
    justify-content: flex-end;
    gap: 0;
    padding-bottom: 7px;
    white-space: nowrap;
  }

  .mobile-bottom-nav__feature-icon {
    position: absolute;
    top: -34px;
    left: 50%;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background:
      radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .25), transparent 38%),
      linear-gradient(150deg, #E8B24A, #DDA12F 55%, #C98E1C);
    color: #fff;
    box-shadow: 0 5px 15px var(--primary-glow);
    box-sizing: border-box;
    transform: translateX(-50%);
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .mobile-bottom-nav__feature-icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.15;
  }

  .mobile-bottom-nav__item--feature > span:last-child {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .mobile-bottom-nav__item--feature:active .mobile-bottom-nav__feature-icon {
    background: var(--primary-dark);
    transform: translateX(-50%) scale(.94);
  }

  .mobile-bottom-nav__item--feature:hover .mobile-bottom-nav__feature-icon {
    background: var(--primary-dark);
  }

  .mobile-bottom-nav__item--feature:focus-visible {
    outline: none;
  }

  .mobile-bottom-nav__item--feature:focus-visible .mobile-bottom-nav__feature-icon {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-nav__item,
  .mobile-bottom-nav__feature-icon {
    transition: none;
  }

  .mobile-bottom-nav__item:active {
    transform: none;
  }

  .mobile-bottom-nav__item--feature:active .mobile-bottom-nav__feature-icon {
    transform: translateX(-50%);
  }
}
