.afsd-sc-cart-credits{margin:0 0 1.5rem;padding:1rem;border:1px solid #dcdcde;border-radius:10px;background:#fff}.afsd-sc-cart-credits h3{margin:0 0 .75rem}.afsd-sc-cart-credit-list,.afsd-sc-customer-credit-list{display:grid;gap:.75rem}.afsd-sc-cart-credit{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem;border:1px solid #e1e5ea;border-radius:8px}.afsd-sc-cart-credit>div{display:flex;flex-direction:column;gap:.2rem}.afsd-sc-customer-totals{display:flex;flex-wrap:wrap;gap:1rem;margin:0 0 1rem}.afsd-sc-customer-totals>div{min-width:170px;padding:1rem;border:1px solid #dcdcde;border-radius:10px}.afsd-sc-customer-totals>div>span{display:block;font-size:.85em;opacity:.75}.afsd-sc-customer-totals strong{font-size:1.3em}.afsd-sc-customer-credit{padding:1rem;border:1px solid #dcdcde;border-radius:10px}.afsd-sc-customer-credit.is-inactive{opacity:.7}.afsd-sc-customer-credit-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.afsd-sc-customer-credit-head h3{margin:.25rem 0 0}.afsd-sc-customer-status{font-size:.75em;text-transform:uppercase;letter-spacing:.04em}.afsd-sc-block-credit-panel{padding:.75rem 0}.afsd-sc-block-credit-title{font-weight:600;margin-bottom:.5rem}.afsd-sc-block-credit-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem 0;border-top:1px solid rgba(0,0,0,.08)}.afsd-sc-block-credit-row:first-of-type{border-top:0}.afsd-sc-block-credit-meta{display:flex;flex-direction:column;gap:.15rem}.afsd-sc-block-credit-row button{white-space:nowrap}.afsd-sc-block-credit-message{font-size:.875em;margin-top:.4rem}.afsd-sc-block-credit-message.is-error{color:#b32d2e}@media(max-width:600px){.afsd-sc-cart-credit,.afsd-sc-block-credit-row,.afsd-sc-customer-credit-head{align-items:stretch;flex-direction:column}.afsd-sc-cart-credit form,.afsd-sc-cart-credit button,.afsd-sc-block-credit-row button{width:100%}}
.afsd-sc-customer-history{margin-top:24px;padding-top:18px;border-top:1px solid rgba(0,0,0,.12)}.afsd-sc-customer-history ul{margin:0;padding-left:20px}.afsd-sc-customer-history li{margin:8px 0}.afsd-sc-block-credit-message{margin-top:8px;font-size:.9em}.afsd-sc-block-credit-row button:focus-visible,.afsd-sc-customer-credit a.button:focus-visible{outline:2px solid currentColor;outline-offset:2px}

/* Account credit is a separate sibling of the Cart/Checkout Block, not a coupon drawer. */
.afsd-sc-block-credit-root{width:100%;box-sizing:border-box;margin:0 0 1.5rem;min-width:0}
.afsd-sc-block-credit-root .afsd-sc-block-credit-panel{box-sizing:border-box;padding:1rem 1.15rem;border:1px solid #c9d6e5;border-radius:10px;background:#f5f9fd;color:#18283e}
.afsd-sc-block-credit-root .afsd-sc-block-credit-title{font-size:1.1rem;line-height:1.4;margin:0 0 .4rem;color:inherit}
.afsd-sc-block-credit-help{font-size:.925rem;line-height:1.5;margin:0 0 .75rem}
.afsd-sc-block-credit-help:last-child{margin-bottom:0}
.afsd-sc-block-credit-reference{font-size:.8rem;overflow-wrap:anywhere}
.afsd-sc-block-credit-applied{font-size:.85rem;font-weight:600}
.afsd-sc-block-credit-meta{min-width:0;overflow-wrap:anywhere}
.afsd-sc-block-credit-root .afsd-sc-block-credit-row button{min-height:44px;padding:.65rem 1rem;line-height:1.3;border:1px solid #193e66;border-radius:6px;background:#193e66;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;max-width:100%;white-space:normal}
.afsd-sc-block-credit-root .afsd-sc-block-credit-row button:hover{background:#102d4d}
.afsd-sc-block-credit-root .afsd-sc-block-credit-row button:disabled{opacity:.65;cursor:wait}
.afsd-sc-block-credit-message{overflow-wrap:anywhere}
.afsd-sc-block-credit-message:empty{margin:0}
.afsd-sc-credit-fallback{padding:1rem;border:1px solid #c9d6e5;border-radius:10px}
@media(max-width:600px){.afsd-sc-block-credit-root .afsd-sc-block-credit-panel{padding:1rem}.afsd-sc-block-credit-root .afsd-sc-block-credit-row{gap:.6rem}}
.afsd-sc-block-credit-root .afsd-sc-block-credit-row button:focus-visible{outline:3px solid #276bb2;outline-offset:3px}

/* 0.7.5.2 email-bound gift claim. Existing value is linked; no new balance is created. */
.afsd-sc-claim-card{margin:0 0 1.25rem;padding:1rem 1.1rem;border:1px solid #c9d6e5;border-radius:10px;background:#f7fafc;color:#18283e}
.afsd-sc-claim-card h3{margin:0 0 .45rem;color:inherit}.afsd-sc-claim-card p{margin:.45rem 0}
.afsd-sc-claim-form>label{display:block;font-weight:600;margin:.8rem 0 .35rem}.afsd-sc-claim-form>div{display:flex;gap:.65rem;align-items:center}.afsd-sc-claim-form input[type=text]{flex:1;min-width:0;min-height:44px;border:1px solid #8b9bad;border-radius:6px;padding:.55rem .7rem}.afsd-sc-claim-form .button{min-height:44px;padding:.55rem 1rem;border-radius:7px}.afsd-sc-claim-help{font-size:.9em;color:#526276}
@media(max-width:600px){.afsd-sc-claim-form>div{display:grid;grid-template-columns:1fr}.afsd-sc-claim-form .button{width:100%}}

/* Separate balances share the existing ledger; zero store credit has no card. */
.afsd-sc-customer-totals small{display:block;font-size:.8em;margin-top:.25rem;opacity:.8}
.afsd-sc-account-kind,.afsd-sc-buy-gift{margin:1.25rem 0}
.afsd-sc-gift-product-links{display:flex;flex-wrap:wrap;gap:.6rem}
.afsd-sc-customer-credit-head h4{margin:.3rem 0 0;overflow-wrap:anywhere}
.afsd-sc-customer-kind{font-weight:600;font-size:.9em}
.afsd-sc-customer-history>summary{cursor:pointer;font-weight:600;margin-bottom:1rem}
.afsd-sc-customer-history>.afsd-sc-customer-credit{margin-bottom:.75rem}
.afsd-sc-block-credit-kind{margin-top:1rem}
.afsd-sc-block-credit-kind>h3{font-size:1rem;line-height:1.4;margin:0 0 .4rem}
.afsd-sc-card-design{margin:.75rem 0}.afsd-sc-card-design img{display:block;max-width:min(100%,280px);height:auto;border-radius:8px}
