.pricing-plan {
  text-align: center;
  padding: 40px;
  background-color: transparent;
  border: 1px solid $backgroundColor;

  .plan-name{
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
  }

  .price-wrap {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 20px;
    line-height: 0.7;
    margin-top: 54px;
    margin-bottom: 6px;

    &[class*='bg-'] {
      padding: 30px 30px 10px;
      margin-top: 50px;
      margin-bottom: -1px;
    }
    .plan-price {
      font-size: 62px;
      font-weight: 900;
    }
  }
  [class*='bg-'] {
    padding: 10px 30px 30px;
    margin-left: -41px;
    margin-right: -41px;
  }
  .plan-name {
    &[class*='bg-'] {
      padding-top: 26px;
      margin-top: -40px;
    }
    h3 {
      font-size: 24px;
      line-height: 1;
    }
  }

  @media(min-width: 1200px) {
    padding: 57px 60px 40px;
    [class*='bg-'] {
      margin-left: -61px;
      margin-right: -61px;
    }
    .plan-name[class*='bg-'] {
      margin-top: -57px;
    }
  }

  .plan-features {
    margin-top: 18px;
    ul{
      list-style: none;
      line-height: 1.3;
      li{
        padding-top: 16px;
        padding-bottom: 16px;
        position: relative;
        &:not(:last-child){
          &::after{
            content: '';
            position: absolute;
            height: 1px;
            width: 130px;
            background-color: $borderColor;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
          }
        }
      }
    }
  }

  .plan-button {
    position: relative;
    top: 38px;
  }

  //featured border
  &.plan-featured {
    border: 10px solid $colorMain;
    transform: translateY(-10px);
    @media(max-width: 768px){
      margin-top: 25px;
    }
    .plan-button {
      top: 48px;
    }
  }
}

