.sw22-btn-2 {
  font-family: "Red Hat Display", sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #111111;
  display: inline-block;
  position: relative;
  margin: 3.5px 3.9px 3.6px 0;
  padding: 11.9px 40.4px 10.1px 1rem;
  border-radius: 20px;
  z-index: 1;
  white-space: nowrap;

  &.green {
    color: #aadc33;
  }

  &::after {
    position: absolute;
    content: "";
    height: 43px;
    border-radius: 50px;
    width: 43px;
    background-color: #aadc33;
    top: 3px;
    left: 0;
    z-index: -1;
    transition: width 0.4s ease;
  }

  &.green::after {
    background-color: #444444;
  }

  &:hover::after {
    width: 100%;
  }

  &::before {
    position: absolute;
    content: "";
    width: 20px;
    height: 10px;
    right: 14px;
    top: 46%;
    background: transparent
      url("../../assets/graphics/svg/button-arrow.svg") no-repeat;
  }

  &.green::before {
    background: transparent
      url("../../assets/graphics/svg/button-arrow-green.svg") no-repeat;
  }

  &.v-small-arrow {
    padding-right: 1.813rem;
  }

  &.v-small-arrow::before {
    right: 12px;
    width: 9px;
    background: transparent
      url("../../../sw-global/assets/graphics/svg/cta-arrow-right.svg") no-repeat;
  }
  @media (hover: none) {
    background-color: #aadc33;
    padding: 5px 51px 6px 25px;
    position: relative;
    border-radius: 25px;
    transition: all 0.4s ease;
    text-decoration: none;
    color: #111111;
    display: inline-block;
    line-height: 1.334;
    border: 3px solid transparent;
    &::after {
      display: none;
    }
    &::before {
      top: 38%;
    }
    &.loading {
      &::before {
        width: 30px;
        height: 30px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent
          url("../../../sw-global/assets/graphics/svg/dot-spinner.svg") no-repeat;
      }
    }
    &:active {
      border: 3px solid #799423;
    }
    &.green {
      color: #aadc33;
      background-color: #444444;
    }
    &.green::before {
      background: transparent
        url("../../assets/graphics/svg/button-arrow-green.svg") no-repeat;
    }
    &.green:active {
      border: 3px solid #111111;
    }
  }

  @media (max-width: 1024px) {
    &.v-small-arrow {
      padding: 0.625rem 1.813rem 0.75rem 1rem;
      border-radius: 40px;
      border: solid 3px #aadc33;
      background-color: #fff;
    }

    &.v-small-arrow:hover {
      background-color: #aadc33;
    }

    &.v-small-arrow::before {
      width: 9px;
      top: 40%;
    }

    &.v-small-arrow::after {
      position: relative;
    }
  }
}
