.btn {
  /**
    * Button base
    */
  display: inline-block;
  vertical-align: middle;
  touch-action: manipulation;
  user-select: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
  border: 0;
  background: transparent;
  transition: all 0.15s ease-in-out;
  
  &:disabled{
    pointer-events: none;
    background: $gray-color;
  }

  &--primary {
    background-color: $primary-color;
    color: $white-color;
    padding: 8px 16px;
    transform: perspective(1px) translateZ(0);
    transition-property: color;
    transition-duration: 0.25s;
    &:before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #fff;
      transform: scaleY(0);
      transform-origin: 50% 100%;
      transition-property: transform;
      transition-duration: 0.25s;
      transition-timing-function: ease-out;
    }

    &:hover {
      color: $primary-color;
      .icon-chevron-right-small:before {
        color: $primary-color;
      }
    }
    &:hover:before {
      transform: scaleY(1);
    }
  }

  &--login {
    background-color: $white-color;
    color: $secondary-color;
    padding: 8px 16px;
    transform: perspective(1px) translateZ(0);
    transition-property: color;
    transition-duration: 0.25s;

    &:before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #000;
      transform: scaleY(0);
      transform-origin: 50% 100%;
      transition-property: transform;
      transition-duration: 0.25s;
      transition-timing-function: ease-out;
    }

    &:hover {
      color: #fff;
    }
    &:hover:before {
      transform: scaleY(1);
    }
  }

  &--filters {
    padding: 8px 0px;
    border: 1px solid #231f20;
    background-color: $white-color;
  }

  &--apply {
    padding: 8px 55px;
    background-color: $primary-color;
    color: $white-color;
  }

  &--card {
    padding: 4px 8px;
    background-color: $white-color;
    border: 1px solid #deddde;

    @media (max-width: 500px) {
      margin-bottom: 12px;
    }
  }

  &--cart {
    padding: 8px 16px;
    background-color: $primary-color;
    color: $white-color;
    display: flex;
    align-items: center;
    &:hover {
      background-color: #b99b55ab;
    }
  }

  &--white {
    background-color: white;
    border: 1px solid #e8e8e8;
    padding: 8px 46px;
    transform: perspective(1px) translateZ(0);
    transition-property: color;
    transition-duration: 0.25s;
    &:before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #000;
      transform: scaleY(0);
      transform-origin: 50% 100%;
      transition-property: transform;
      transition-duration: 0.25s;
      transition-timing-function: ease-out;
    }

    &:hover {
      color: #fff;
    }
    &:hover:before {
      transform: scaleY(1);
    }
  }

  &--yellow {
    background-color: $primary-color;
    padding: 8px 52px;
    color: white;

    transform: perspective(1px) translateZ(0);
    transition-property: color;
    transition-duration: 0.25s;

    &:before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #fff;
      transform: scaleY(0);
      transform-origin: 50% 100%;
      transition-property: transform;
      transition-duration: 0.25s;
      transition-timing-function: ease-out;
    }

    &:hover {
      color: $primary-color;
      border: 1px solid #e8e8e8;
    }
    &:hover:before {
      transform: scaleY(1);
    }
  }
  &--yellow2 {
    background-color: $primary-color;
    padding: 8px 24px;
    color: white;
  }

  &--back {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #231f20;
  }

  &--disabled {
    pointer-events: none;
  }

  &--blackWhite {
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #231f20;
    font-size: 16px;
    transform: perspective(1px) translateZ(0);
    transition-property: color;
    transition-duration: 0.25s;
    &:before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #000;
      transform: scaleY(0);
      transform-origin: 50% 100%;
      transition-property: transform;
      transition-duration: 0.25s;
      transition-timing-function: ease-out;
    }

    &:hover {
      color: #fff;
    }
    &:hover:before {
      transform: scaleY(1);
    }
  }

  &--yellowWhite {
    padding: 8px 16px;
    background-color: $primary-color;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    &:hover {
      background-color: #b99b55ab;
    }
  }

  &--w-icon {
    display: flex;
    align-items: baseline;
  }

  &--simple {
    color: $primary-color;
    background-color: transparent;
  }

  &--secondary {
    background: #fff;
    color: #000;
    border: 1px solid;
    padding: 10px 30px;
    letter-spacing: 3px;
    font-size: 1rem;
    font-family: $ff-serif;
    transform: perspective(1px) translateZ(0);
    transition-property: color;
    transition-duration: 0.25s;

    &:before {
      content: '';
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #000;
      transform: scaleY(0);
      transform-origin: 50% 100%;
      transition-property: transform;
      transition-duration: 0.25s;
      transition-timing-function: ease-out;
    }

    &:hover {
      color: #fff;
    }
    &:hover:before {
      transform: scaleY(1);
    }
  }
}
