/* Card payment and card holds (slice 11): only on pages where cards are switched on. Builds on
   /style.css tokens and sales.css; nothing here changes them. */

.cards-block{border:1px solid var(--ink-100);border-radius:12px;padding:12px 14px;margin:0 0 16px;background:#fff;overflow-wrap:anywhere}
.cards-block>:first-child{margin-top:0}
.cards-block>:last-child{margin-bottom:0}
.cards-block p{margin:6px 0}
.cards-block .sr-btn{max-inline-size:100%;white-space:normal}
.cards-msg{font-weight:600;margin:8px 0 0;min-height:1.2em}
.cards-msg:empty{min-height:0;margin:0}
.cards-msg[data-kind="error"]{color:#9f1239}
.cards-msg[data-kind="ok"]{color:#065f46}
.cards-rule{font-size:.95rem;overflow-wrap:anywhere}
.cards-hold form{margin:0}
.cards-seller{margin:18px 0}
.cards-seller>:first-child{margin-top:0}
.cards-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cards-terms{margin:18px 0}
.cards-terms input[type="text"]{font:inherit;font-size:max(1rem,1em);min-height:44px;padding:8px 12px;border:1px solid #767676;border-radius:10px;inline-size:8rem;max-inline-size:100%}
.cards-terms .sr-check{min-height:44px}
.cards-dialog{max-inline-size:min(32rem,calc(100vw - 32px));border:1px solid var(--ink-200);border-radius:16px;padding:18px 20px;color:var(--ink-900)}
.cards-dialog>p{margin:0 0 14px}
.cards-dialog .cards-actions{justify-content:flex-end;margin:0}
.cards-dialog:modal{overscroll-behavior:contain}
.cards-dialog::backdrop{background:rgba(10,16,32,.45);overflow:hidden;overscroll-behavior:contain}
@media print{
  .cards-block .sr-btn,.cards-hold form,.cards-msg{display:none !important}
}
