.header {
  position: relative;
  z-index: 10;
  &__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: $barn-light;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  &__mid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    position: relative;
    background-color: #fff;
  }
  &__bottom {
    display: flex;
    align-items: center;
    color: #fff;
    background-color: $gray-100;
    flex-wrap: wrap;
    position: relative;
    z-index: 4;
    .nuxt-link-active {
      color: $primary-color;
    }
  }
  &__logo {
    max-width: 165px;
  }
  &__link {
    display: flex;
    align-items: center;
    &__name {
      // transition: all 0.2s;
    }
    &:hover {
      .header__cart-number {
        color: $barn-black;
      }
    }
  }
  &__icon {
    padding: 0 4px;
  }
  &__cart-number {
    background-color: $primary-color;
    border-radius: 50%;
    margin: 0 4px;
    padding: 2px;
    height: 22px;
    width: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }
  &__login-form {
    position: absolute;
    top: 47px;
    left: -24px;
    z-index: 5;
    background-color: #fff;
    width: max-content;
    padding: 0px 24px;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.05),
      0px 1px 18px rgba(0, 0, 0, 0.03), 0px 6px 10px rgba(0, 0, 0, 0.04);
    // opacity: 0;
  }
}
@media (max-width: 1200px) {
  .header__link__name {
    display: none;
  }
}
@media (max-width: 1000px) {
  .header__logo {
    max-width: 140px;
  }
}

@media (max-width: 800px) {
  .header__top__left {
    display: none;
  }
}

@media (max-width: 600px) {
  .header {
    .ptb-sm {
      padding-top: 6px;
      padding-bottom: 6px;
    }
    .pr-md {
      padding-right: 10px;
    }
    &__cart-number {
      margin: 0;
    }
  }
  .header__logo {
    max-width: 120px;
    padding-top: 0px;
    padding-bottom: 0px;
  }
  // .category-btn { 
  //   padding: 8px 8px 8px 16px; 
  // }
}