@media (max-width: 760px) {
    body.checkout-page .checkout-mobile-action:not(.is-editing) {
        display: grid;
        grid-template-columns: fit-content(42%) minmax(0, 1fr);
        align-items: center;
        gap: 12px;
        padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    }

    body.checkout-page .checkout-mobile-action > span {
        min-width: min-content;
        gap: 2px;
    }

    body.checkout-page .checkout-mobile-action small {
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    body.checkout-page .checkout-mobile-action [data-total-preview] {
        font-size: clamp(1rem, 5.4vw, 1.375rem);
        font-variant-numeric: tabular-nums;
        line-height: 1.15;
        white-space: nowrap;
    }

    body.checkout-page .checkout-mobile-action [data-checkout-submit] {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0;
        max-width: 100%;
        margin: 0 !important;
        padding: 10px 12px !important;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
