/* Scoped to the WooCommerce My Account dashboard: never touch catalog or checkout. */
.ypm-account-dashboard{margin:1.7rem 0 2rem;display:grid;gap:1rem;max-width:780px}
.ypm-account-dashboard>h3{margin:0 0 .1rem;font-size:1.35em}
.ypm-account-terms{border:1px solid #d7e1e7;border-radius:9px;padding:1rem 1.2rem;background:#fafcfd}
.ypm-account-terms h4{font-size:1.05em;margin:0 0 .65rem}
.ypm-account-discounts{list-style:none;margin:0;padding:0}
.ypm-account-discounts li,.ypm-account-credit>div{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:.45rem 0;border-bottom:1px solid #e4ebee}
.ypm-account-discounts li:last-child,.ypm-account-credit>div:last-child{border-bottom:0}
.ypm-account-credit{margin:0}
.ypm-account-credit dt,.ypm-account-credit dd{margin:0}
.ypm-account-credit dd{font-weight:600;text-align:right}
.ypm-account-nif p{margin:.35rem 0}
.ypm-nif-fieldset{margin:1rem 0;padding:1rem;border:1px solid #d7e1e7;border-radius:8px}
.ypm-nif-fieldset legend{padding:0 .4rem;font-weight:600}
@media(max-width:600px){.ypm-account-terms{padding:.8rem}.ypm-account-dashboard{gap:.8rem}}
