.wallet-page { max-width: 780px; margin-inline: auto; }
.wallet-panel { padding: clamp(18px, 3.2vw, 34px); }
.wallet-offer { padding: 13px 16px; margin-bottom: 22px; border-left: 3px solid var(--green); border-radius: 3px; background: var(--soft); }
.wallet-offer-title { color: var(--green-dark); font-weight: 650; }
.wallet-offer p { margin: 3px 0 0; color: var(--muted); font-size: .93rem; }
.wallet-amounts { min-width: 0; border: 0; margin: 0; padding: 0; }
.wallet-amounts legend, .wallet-channel h2 { padding: 0; font-size: 1.08rem; font-weight: 600; }
.wallet-denominations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.wallet-option { display: block; position: relative; cursor: pointer; }
.wallet-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wallet-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; padding: 13px 15px; height: 100%; border: 1px solid var(--line); border-radius: 5px; }
.wallet-face { font-size: .92rem; white-space: nowrap; }
.wallet-face strong { font-size: 1.14rem; font-weight: 620; }
.wallet-gift { color: var(--green); font-size: .93rem; font-weight: 600; white-space: nowrap; }
.wallet-credit { flex-basis: 100%; color: var(--muted); font-size: .91rem; }
.wallet-option input:checked + .wallet-card { background: var(--soft); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.wallet-option input:focus-visible + .wallet-card { outline: 2px solid var(--green); outline-offset: 3px; }
.wallet-checkout { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-block: 22px; padding-block: 20px; border-block: 1px solid var(--line); }
.wallet-channel p, .wallet-submit { display: flex; gap: 12px; align-items: center; }
.wallet-channel p { margin-block-start: 10px; }
.wallet-channel-mark { display: inline-grid; width: 29px; height: 29px; place-items: center; border-radius: 5px; color: #fff; background: #1677ff; font-weight: 650; }
.wallet-summary { min-width: min(210px,100%); margin: 0; }
.wallet-summary div { display: flex; justify-content: space-between; gap: 16px; }
.wallet-summary dt { color: var(--muted); }
.wallet-summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.wallet-summary .wallet-final { margin-top: 8px; font-weight: 650; }
.wallet-final dt, .wallet-final dd { color: var(--green-dark); }
.wallet-submit { flex-wrap: wrap; }
.wallet-submit button { min-width: 136px; }
@media (max-width: 520px) {
    .wallet-card { align-content: start; padding: 10px; }
    .wallet-face { flex-basis: 100%; }
    .wallet-summary { width: 100%; }
    .wallet-channel { display: flex; width: 100%; align-items: center; justify-content: space-between; }
    .wallet-channel p { margin: 0; }
    .wallet-checkout { gap: 12px; }
}
