/*
 * "Pay with crypto" at the checkout: the payment route, the coin to pick, the "Send exactly" screen (inline mode) and the
 * screen shown when the payer is back from the provider's page (hosted mode). Same tokens as the other routes (style.css, checkout-gateway.css); mobile first; hover
 * effects only under (hover: hover); motion off under prefers-reduced-motion.
 */
.co-nowp { display: grid; gap: 4px; }
.co-nowp-lead { margin: 0 0 10px; max-width: 62ch; font-size: 12.5px; line-height: 1.5; }
.co-nowp .co-warn { margin-top: 6px; }

.co-nowppay .panel-head { margin-bottom: 14px; }
#nowpStepTitle:focus { outline: none; }
.co-nowppay .note { max-width: 70ch; }
.co-nowppay #nowpPrice { margin-top: 4px; font-weight: 600; color: var(--text); }
.co-nowppay #nowpMsg { margin-top: 8px; }
.co-nowppay #nowpOpen, .co-nowppay #nowpAgain, .co-nowppay #nowpDone { margin-top: 16px; }

#nowpPick .actions { margin-top: 12px; }
#nowpPick .co-coins { margin-top: 8px; }
.co-nowppay #nowpClock { margin-top: 8px; font-variant-numeric: tabular-nums; }
.co-nowppay #nowpWarn { display: grid; gap: 6px; }
.co-nowppay #nowpWarn p { margin: 0; }
.co-nowppay #nowpMemoBox { margin-top: 14px; }
.co-nowppay #nowpMemoBox .co-warn { margin-top: 10px; }
.co-nowppay .co-address { user-select: all; }

@media (min-width: 761px) {
  /* two or three routes side by side, whatever the catalogue offers */
  .co-routes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}

/* ---- the choice in two steps: a currency with its logo, then a network ---- */
.co-nowp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.co-nowp-head .btn { min-height: 44px; }
.co-nowp-chosen { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.co-nowp-tiles { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); }
.co-nowp-tile {
  grid-template-columns: 32px minmax(0, 1fr); column-gap: 11px; align-items: center; align-content: center; min-height: 56px;
}
.co-nowp-text { display: grid; gap: 1px; min-width: 0; }
.co-nowp-logo { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; }
.co-nowp-logo img { display: block; width: 32px; height: 32px; }
.co-nowp-badge { background: var(--badge, #5f5f66); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
/* a currency opens the next step: a chevron instead of the radio ring */
.co-nowp-go::after, .co-nowp-go[aria-checked]::after {
  content: "\203A"; top: 50%; inset-inline-end: 12px; width: auto; height: auto; border: 0; background: none; box-shadow: none;
  transform: translateY(-52%); font-size: 20px; line-height: 1; color: var(--mute);
}
:root[dir="rtl"] .co-nowp-go::after { content: "\2039"; }   /* the chevron points where the reading goes */
.co-review { margin: 10px 0 2px; display: grid; gap: 12px; }
.co-review-ref { margin: 0; color: var(--mute); }
.co-review-ref b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.co-nowp-tile:focus-visible, #nowpPick .btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.co-nowp-one { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 14px; }
#nowpPick #nowpPayRow { margin-top: 14px; }
#nowpPick .btn.primary { min-height: 44px; }
@media (max-width: 420px) {
  .co-nowp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .co-nowp-tile { column-gap: 8px; padding-inline-start: 10px; padding-inline-end: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .co-nowp-tile, .co-nowp-tile::after { transition: none; }
}
