/* Checkout and its return page. Everything else comes from mm.css.

   mm.css resets ".mm p", ".mm a" and ".mm button" with two-part selectors,
   which outweigh its own one-class rules (.mm-btn's text colour, .mm-stack's
   gaps, any margin on a paragraph). So every rule here that sets a margin or
   a colour on such an element is written ".mm .co-…", and the first block
   restates what these pages need from the kit at that weight. */

.mm .mm-btn { color: var(--canvas); }
.mm .mm-btn-light, .mm .mm-btn-ghost { color: var(--ink); }

.mm .co-wordmark { display: block; margin-bottom: 18px; text-decoration: none; }
.mm .co-card > * + * { margin-top: 16px; }
.co-heading { font-size: 24px; font-weight: 700; line-height: 1.15; }

.mm .co-top { margin-top: 6px; }
.co-name { font-size: clamp(34px, 10vw, 52px); overflow-wrap: anywhere; }
.co-price { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.mm .co-line { margin-top: 8px; font-size: 16px; opacity: .85; }
.mm .co-bar-label { margin: 18px 0 6px; }

.co-pay { border-top: var(--border); padding-top: 18px; }
.mm .co-pay > * + * { margin-top: 10px; }
.co-help:empty { display: none; }
/* The provider's mark on a pay button: the button's own text colour. */
.co-mark { width: 18px; height: 18px; flex: none; }
.co-small { font-size: 13px; }
.co-who { overflow-wrap: anywhere; }
.mm .co-notice-label { color: var(--canvas); margin-bottom: 6px; }
.mm .mm-notice > p + p { margin-top: 8px; }

/* A bar that moves while we wait for the server. */
.co-wait { height: 14px; border: var(--border); background: var(--canvas); overflow: hidden; }
.co-wait > i { display: block; width: 40%; height: 100%; background: var(--ink); animation: co-wait 1.4s ease-in-out infinite alternate; }
@keyframes co-wait { from { transform: translateX(-20%); } to { transform: translateX(170%); } }
@media (prefers-reduced-motion: reduce) {
  .co-wait > i { width: 100%; opacity: .35; }
}
