@import '~@equitysim/react-uikit/dist/styles/styleguide';

$payment-plan-width: h-span(4);

.c-payment-page {
    width: 100%;
    max-width: h-span(10);
    margin: v-space(14) auto v-space(14) auto;
    padding: 0 v-space(2);
    text-align: center;

    p {
        line-height: v-space(2);
        font-size: v-space(2);
        margin-bottom: v-space(2);
    }

    a {
        @extend %link;
    }

    &__layout {
        @media screen and (min-width: $screen-medium) {
            margin-top: v-space(5);
        }
    }

    &__sub-heading {
        @extend %heading-md;
        line-height: v-space(4);
        margin-bottom: v-space(4);
    }

    &__heading {
        @extend %heading-lg;
        line-height: v-space(8);
        margin: 0;
    }

    &__coupon-banner,
    &__coupon-input {
        width: 100%;
        max-width: $payment-plan-width;
        margin: v-space(3) auto;
    }

    &__coupon-input__button {
        padding: 0 v-space(2) !important;
    }

    &__plans {
        list-style: none;
        display: grid;
        justify-content: center;
        gap: v-space(2);
        grid-template-columns: repeat(auto-fit, $payment-plan-width);
        margin: v-space(3) 0 v-space(3);
    }
}
