/* Top / primary nav */

.primary-nav {
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 3000;
  height: 90px;
  background-color: $warm-black;
  transition: height 0.3s ease-out;
  text-transform: uppercase;
  font-weight: 600;
  color: $white;

  a {
    color: $white;
  }

  .label {
    margin: 0 $spacing-02;
    color: $white;
  }

  // TODO: Needs to be renamed from secondary-nav since it’s been moved outside of there
  // Also appears in JS
  .secondary-nav__menu-toggle {
    display: none;
  }

  @media (max-width: 768px) {
    .secondary-nav__menu-toggle {
      display: flex;
      margin-left: $spacing-03;
      color: $white;
      stroke: $white;
    }
  }

  .dropdown__trigger {
    line-height: 90px;
  }

  .dropdown__menu {
    background-color: $warm-black;
    color: $white;
  }

  &--scrolled {
    height: 40px;

    .logo, .logo svg {
      padding: 0;
      height: 20px;
      line-height: 1;
    }

    .logo__tagline {
      display: none;
    }

    .nav-bar {
      height: 40px
    }

    .dropdown__trigger {
      line-height: 40px;
    }
  }

  @media (max-width: 768px) {
    .nav-bar {
      float: right;
    }

    .feather-chevron-down,
    .feather-heart,
    .primary-nav__item_desktop {
      display: none !important;
    }
  }
}
