/* Checkout review dialog (assets/js/checkout-review.js). Shared by the landing
   page and the editor, so it only uses its own classes plus .btn and .link. */
.cr-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 18px;
  background: #fff;
  color: #141414;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  overflow: auto;
  overscroll-behavior: contain;
}
.cr-dialog::backdrop { background: rgba(10, 10, 14, 0.55); }
.cr-form { padding: 22px 22px 18px; display: grid; gap: 14px; }
.cr-kicker { margin: 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #5b5b5b; }
.cr-title { margin: 0; font-size: 22px; line-height: 1.2; }
.cr-sum { border: 1px solid rgba(17, 17, 17, 0.12); border-radius: 12px; padding: 12px 14px; background: #faf9f6; }
.cr-line { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cr-plan { font-weight: 600; }
.cr-price b { font-size: 20px; }
.cr-price span { color: #5b5b5b; }
.cr-note, .cr-p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #333; }
.cr-sec { position: relative; }
.cr-h { margin: 0; font-size: 15px; }
.cr-list { margin: 6px 0 0; padding-left: 18px; list-style: disc; font-size: 14px; line-height: 1.5; }
.cr-list li { display: list-item; }
.cr-list li + li { margin-top: 2px; }
.cr-title:focus { outline: none; }
.cr-badge {
  position: absolute; top: 0; right: 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; background: #fff3cd; color: #6b4e00; border: 1px solid #e6c766;
}
.cr-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.cr-agree input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: #141414; }
.cr-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cr-actions .btn { min-height: 44px; }
.cr-actions .btn[disabled] { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 480px) {
  .cr-form { padding: 18px 16px 16px; }
  .cr-actions { flex-direction: column-reverse; }
  .cr-actions .btn { width: 100%; justify-content: center; }
}
/* Currency choice: Rand (Yoco, default) or US dollars (Polar). */
.cr-currency { border: 0; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.cr-currency legend { padding: 0; margin: 0 0 2px; font-size: 13px; }
.cr-radio { display: flex; gap: 10px; align-items: center; min-height: 24px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.cr-radio input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: #141414; }
