.badge-custom {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;

  label {
    margin-bottom: 0;
  }

  &--verified {
    img {
      width: 12px;
      height: 14px;
      display: inline-block;
      vertical-align: middle;
    }
    label {
      color: #39c104;
      vertical-align: middle;
    }
  }

  &--border {
    border: 1px solid #000;
    border-radius: 25px;
    padding: 0px 5px;

    label {
      font-size: 12px;
    }
  }

  &--green {
    border: 1px solid #008080;
    border-radius: 25px;
    padding: 0px 5px;
    background-color: #20b2aa;

    label {
      font-size: 12px;
      color: #fff;
    }
  }
}

.ribbon {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 122px;
  height: 122px;
  //   background-color: red;
  margin: -5px 0 0 0;
  z-index: 2;
  &__item {
    position: absolute;
    width: 200px;
    z-index: 2;
    height: 35px;
    line-height: 35px;
    overflow: hidden;
    display: block;
    text-align: center;
    background-color: #b60e10;
    transform: rotate(-45deg) translate(-60px, -18px);
    font: {
      size: 16px;
      weight: bolder;
    }
    color: white;
    text-transform: uppercase;
    &:before,
    &:after {
      position: absolute;
      top: 0;
      display: block;
      content: "";
      height: 100%;
      width: 100px;
      z-index: -1;
    }
    &:after {
      background: rgb(182, 14, 16);
      background: linear-gradient(
        0deg,
        rgba(182, 14, 16, 0.2) 0%,
        rgba(255, 222, 222, 0.22) 41%,
        rgba(255, 153, 154, 0.65) 70%,
        rgba(255, 153, 154, 0.35) 80%,
        rgba(182, 14, 16, 0) 100%
      );
      transform: rotate(45deg) translateY(-8px);
      right: 5px;
    }
    &:before {
      background: rgb(182, 14, 16);
      background: linear-gradient(
        0deg,
        rgba(182, 14, 16, 0.2) 0%,
        rgba(255, 222, 222, 0.42) 71%,
        rgba(255, 153, 154, 0.32) 90%,
        rgba(182, 14, 16, 0) 100%
      );
      transform: rotate(-45deg);
      left: 10px;
    }
    span {
      position: absolute;
      width: 100%;
      height: calc(100% - 6px);
      left: 0;
      top: 3px;
      border: {
        top: 1px dashed rgba(white, 0.7);
        bottom: 1px dashed rgba(white, 0.7);
      }
    }
  }
  &__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    > span {
      display: block;
      position: absolute;
      width: 0;
      height: 0;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-bottom: 5px solid #a21825;
      right: 0;
      + span {
        right: auto;
        bottom: 0;
        border-left: none;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-right: 5px solid #a21825;
      }
    }
  }
}
