/*===============================
=        Price Table            =
================================*/

.elementor-widget-neuron-price-table {
  .elementor-widget-container {
    overflow: hidden;
    background-color: #f3f2f1;
  }

  .m-neuron-price-table {
    text-align: center;

    // Header
    &__header {
      background-color: #333;
      padding: 18px 0;
    }

    &__heading {
      color: #fff;
      margin: 0;
      font-size: rem(24px);
      font-weight: 600;
    }

    &__description {
      color: #fff;
      font-size: rem(14px);
    }

    // Price
    &__price {
      color: #333;
      padding: 36px 0;
      font-size: rem(60px);
      font-weight: 600;

      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
    }

    &__original-price {
      align-self: flex-end;
      margin-right: 15px;
    }

    &__integer {
      line-height: 0.8;
    }

    &__currency,
    &__original-price,
    &__period,
    &__decimal {
      font-size: 0.3em;
      align-self: flex-start;
      line-height: 1;
    }

    &__period {
      width: 100%;
      align-self: center;
    }

    // Feature List
    &__feature-list {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        font-size: rem(14px);

        &:not(:first-of-type):before {
          content: "";

          margin: 15px 15%;

          display: block;
        }

        i {
          margin-right: 10px;
          font-size: 1.3em;
        }
      }
    }

    &__feature-inner {
      margin-left: 15px;
      margin-left: 15px;
    }

    // Footer
    &__footer {
      padding: 30px 0;
    }

    &__button {
      display: inline-block;
    }

    &__additional-info {
      margin: 15px 30px 0px 30px;
      font-size: rem(14px);
      font-weight: 400;
    }

    // Ribbon
    &__ribbon {
      position: absolute;
      top: 0;
      left: auto;
      right: 0;
      transform: rotate(90deg);
      width: 150px;
      overflow: hidden;
      height: 150px;
    }

    &__ribbon-inner {
      text-align: center;
      left: 0;
      width: 200%;
      transform: translateY(-50%) translateX(-50%) translateX(35px)
        rotate(-45deg);
      margin-top: 35px;
      font-size: 13px;
      line-height: 2;
      font-weight: 800;
      text-transform: uppercase;
      background: #f3f2f1;
    }
  }
}

// Ribbon
.m-neuron-price-table--ribbon-left {
  .m-neuron-price-table__ribbon {
    transform: rotate(0deg);
    left: 0;
  }
}
