.discount {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 16px;

  .icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
  }

  .title {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.25rem;
  }

  .subtitle {
    display: inline-block;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.375rem;
  }

  &__content {
    display: flex;

    .subtitle {
      margin: 4px 0 0;
    }

    .icon {
      font-size: 1.44rem;
      height: 18px;
      color: $blue-satin;
    }
  }

  .barcode__image {
    svg {
      margin: 8px 0;
    }
  }

  &__code {
    margin-left: 8px;
  }

  &--secondary {
    background: $black-transparent40;

    .discount__content {
      .icon {
        color: $gray;
      }
    }
  }
}
