/* Credit reuses the checkout: page-head, co-step panels, radio-cards, summary and co-items.
   Only what checkout does not have lives here. */
.credit-page{padding-bottom:64px}
.credit-demo{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;color:var(--ink-2);font-size:14px;line-height:1.45}
.credit-demo>span{padding:2px 9px;border-radius:999px;background:#eee8f7;color:#562696;font-size:12px;font-weight:600;flex:none}
.credit-form .co-step{grid-column:auto}
.field__hint{margin:6px 0 0;font-size:13px;line-height:1.45;color:var(--ink-2)}
.credit-go{display:grid;gap:14px;grid-column:1/-1}
.credit-existing{gap:12px}.credit-existing p{margin:0}
.credit-go>.btn,.credit-existing>.btn{width:100%}
.credit-go>.note{margin:0}
.credit-existing p{margin:0;display:grid;gap:4px;font-size:15px;line-height:1.45}
.credit-existing p span{color:var(--ink-2)}
.credit-error{margin:0;padding:12px 14px;border-radius:14px;background:#fff0f0;color:var(--err);font-size:15px;line-height:1.45}
.credit-changed{margin:0;padding:12px 14px;border-radius:14px;background:#faf7ff;box-shadow:inset 0 0 0 1px #ddd0ef;font-size:15px;line-height:1.45}
/* Summary rows match checkout; one extra line for the exact configuration. */
.credit-items li{align-items:start}
.credit-items li>span{display:grid;gap:2px}
.credit-items li>b{white-space:nowrap;padding-top:1px}
.credit-items__ph{width:52px;height:52px;border-radius:12px;background:#f5f5f7}
.credit-items__wait i,.credit-items__wait span i{display:block;border-radius:8px;background:#f0f0f3}
.credit-items__wait>i:first-child{width:52px;height:52px;border-radius:12px}
.credit-items__wait span i{height:12px;width:70%}.credit-items__wait span i+i{width:45%;margin-top:6px}
.credit-items__wait>i:last-child{width:72px;height:14px}
@media(prefers-reduced-motion:no-preference){.credit-items__wait i{animation:credit-wait 1.2s ease-in-out infinite alternate}@keyframes credit-wait{to{opacity:.45}}}
.credit-summary .summary__total dd{white-space:nowrap}
.credit-ship-desc{overflow-wrap:anywhere}
/* Status */
.credit-status-panel{gap:18px;grid-column:auto}
.credit-status__mark{display:grid;place-items:center;width:48px;height:48px;margin:0 0 14px;border-radius:50%;background:#f0eafa;color:#562696}
.credit-status__mark .ico{width:24px;height:24px}
.credit-status h2{font:600 clamp(24px,3vw,30px)/1.2 var(--display);margin:0;text-wrap:balance}
.credit-status__hint{margin:10px 0 0;font-size:16px;line-height:1.5;max-width:60ch}
.credit-status__fresh{margin:8px 0 0;font-size:13px;color:var(--ink-2)}
.credit-actions{display:flex;flex-wrap:wrap;gap:10px}
.credit-status-links{margin:0;font-size:15px}
.credit-ref{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:var(--ink)}
/* Card and cart entries */
.credit-product-link{margin-top:12px;width:100%}
.credit-product-note{margin:8px 0 0}
.credit-entry .summary__go{margin-top:10px}
.credit-entry .note{margin-top:8px;font-size:13px}
.credit-mock form{max-width:640px}
.credit-mock form>.btn{width:100%}
@media(max-width:599px){.credit-page{padding-bottom:40px}.credit-actions .btn{width:100%}}
.credit-returned{margin:12px 0 0;padding:10px 14px;border-radius:14px;background:#f5f5f7;font-size:14px;line-height:1.45}
.credit-mock{padding-top:24px}
.credit-stock-state{padding:14px 16px;border-radius:14px;background:#f5f5f7;font-size:15px;line-height:1.45}
.credit-stock-state p{margin:0}.credit-stock-state p+p{margin-top:4px}
.credit-stock-state__t{font-weight:600}
.credit-stock-state[data-kind=ok]{background:#eef8f1;box-shadow:inset 0 0 0 1px #c9e7d3}
.credit-stock-state[data-kind=missing]{background:#fff0f0;box-shadow:inset 0 0 0 1px #f3c9c9}
.credit-stock-state[data-kind=missing] .credit-stock-state__t{color:var(--err)}
/* 29.10: start page uses checkout__body; only additions below. */
.credit-next{margin:0;padding:16px 18px 16px 38px;border-radius:18px;background:#fff;display:grid;gap:8px;font-size:15px;line-height:1.45}
.credit-next li::marker{color:var(--ink-2);font-weight:600}
.credit-items__cash{color:var(--ink-2);font-size:12px}
.credit-price-note{margin:0}
/* Status */
.credit-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
@media(min-width:1024px){.credit-layout{grid-template-columns:minmax(0,1fr) 380px;gap:32px}}
.credit-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;counter-reset:cs}
.credit-steps li{counter-increment:cs;display:grid;gap:6px;font-size:12px;line-height:1.3;color:var(--ink-2)}
.credit-steps li::before{content:"";height:4px;border-radius:2px;background:#e8e8ed}
.credit-steps li.is-done::before{background:#b9a3dc}
.credit-steps li.is-now{color:var(--ink);font-weight:600}
.credit-steps li.is-now::before{background:#562696}
.credit-text-btn{border:0;background:none;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer;min-height:44px}
.credit-status-links{display:flex;flex-wrap:wrap;align-items:center;column-gap:16px}
.credit-status-links a{display:inline-flex;align-items:center;min-height:44px}
