.glb-checkout-context {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.55rem 1.5rem;
    padding: 0.95rem 1.25rem;
    margin: 0.85rem 0;
    border: 1px solid #dce3ed;
    border-radius: 0.6rem;
    background: #f2f6fb;
    color: #212f45;
    font-size: 0.9rem;
    line-height: 1.45;
}

.glb-checkout .invoice-wrapper .glb-checkout-context {
    margin-block: 0.65rem;
}

.glb-checkout-context p {
    margin: 0;
}

.glb-checkout-context p.glb-checkout-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.glb-checkout-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
}

.glb-checkout-context a, .glb-checkout-terms a, .glb-next-steps a {
    color: #154d92;
    text-decoration: underline;
    text-underline-offset: 0.17em;
}

.glb-checkout .glb-checkout-terms {
    color: #36435a;
    font-size: 0.9rem;
    line-height: 1.45;
}

.glb-checkout .mepr-checkout-container .invoice-wrapper .invoice-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #24314a;
}

.glb-checkout .mepr-checkout-container .form-wrapper {
    padding-top: 1.35rem;
}

.glb-checkout .mepr-checkout-container .invoice-wrapper {
    padding-top: 1.35rem;
}

.glb-checkout .mepr-checkout-container .invoice-wrapper .mepr_price {
    margin-bottom: 0.8rem;
}

.glb-checkout .mepr-checkout-container .form-wrapper > * + * {
    margin-top: 0.65rem;
}

.glb-checkout .mp-address-group:has(fieldset > legend:only-child),
.glb-checkout .form-wrapper > .mepr_spacer {
    display: none;
}

.glb-next-steps {
    margin-block: 1rem;
    padding: 1rem 1.15rem;
    background: #f2f6fb;
    border: 1px solid #dce3ed;
    border-radius: 0.6rem;
    color: #212f45;
}

.glb-next-steps h2 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

@media (max-width: 1023px) {
    body.glb-checkout #primary > .mepr-before-signup-form {
        padding-inline: 1rem;
    }

    .glb-checkout .mepr-checkout-container .invoice-wrapper,
    .glb-checkout .mepr-checkout-container .form-wrapper {
        padding-inline: 1.15rem;
        padding-block: 0.9rem;
    }

    .glb-checkout .mepr-checkout-container .invoice-wrapper .invoice-amount {
        font-size: 1.45rem;
    }

    .glb-checkout .invoice-wrapper .glb-checkout-context {
        padding: 0.6rem 0.75rem;
    }

    .glb-checkout .mepr-checkout-container .mepr-transaction-invoice-wrapper {
        font-size: 0.88rem;
    }

    .glb-checkout .mepr-checkout-container .invoice-wrapper .mp-spacer,
    .glb-checkout .mepr-checkout-container .invoice-wrapper .mp-cart-item-image {
        display: none;
    }

    .glb-checkout .mepr-checkout-container .invoice-wrapper .mp-cart-item {
        margin-bottom: 0.5rem;
    }

    .glb-checkout .mepr-checkout-container .invoice-wrapper .mp-cart-footer,
    .glb-checkout .mepr-checkout-container .invoice-wrapper .mp-cart-coupon-desc {
        margin-left: 0;
    }

    .glb-checkout .mepr-checkout-container .invoice-wrapper .mp-cart-footer {
        margin-bottom: 0;
    }
}
