.cy-purchases{max-width:1120px;margin:52px auto;padding:32px;color:#4d463c;background:#f8f6f2;border:1px solid #e4ded5;border-radius:18px;text-align:left;box-sizing:border-box}
.cy-purchases [hidden]{display:none!important}.cy-purchases *{box-sizing:border-box}.cy-purchases-heading,.cy-purchase-card-heading,.cy-purchase-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.cy-purchases h2{font-size:clamp(1.6rem,3vw,2.1rem);margin:8px 0 12px;color:#4d463c}.cy-purchases h3{font-size:1.12rem;margin:0 0 7px;color:inherit}.cy-purchases-eyebrow{font-size:.7rem;letter-spacing:.15em;margin:0;color:#716551;font-weight:700}
.cy-purchases p{line-height:1.6}.cy-purchases-intro{margin:0 0 22px;color:#716551;max-width:700px}.cy-purchases-footnote{font-size:.85rem;color:#716551;margin:22px 0 0}
.cy-purchases button,.cy-purchases a.cy-purchase-receipt-link{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 17px;font:inherit;font-size:.9rem;line-height:1.4;border:1px solid #b09e80;border-radius:8px;background:#fff;color:#514838;cursor:pointer;text-decoration:none}
.cy-purchases button:hover,.cy-purchases a.cy-purchase-receipt-link:hover{background:#eee9e1}.cy-purchases button:disabled{opacity:.55;cursor:wait}.cy-purchases :is(button,a):focus-visible{outline:3px solid #716551;outline-offset:3px}
.cy-purchases-list{display:grid;gap:14px}.cy-purchase-card{background:#fff;border:1px solid #e4ded5;padding:24px;border-radius:12px;min-width:0;overflow-wrap:anywhere}
.cy-purchase-variant,.cy-purchase-details{font-size:.9rem;color:#716551;margin:5px 0}.cy-purchase-details{padding-bottom:14px}.cy-purchase-badge{font:600 .75rem/1.4 system-ui,sans-serif;background:#f2efe9;color:#5a513f;border-radius:20px;padding:5px 11px;flex-shrink:0}
.cy-purchase-footer{border-top:1px solid #eee9e1;padding-top:16px;margin-top:12px;align-items:center}.cy-purchase-footer span,.cy-purchase-footer small,.cy-purchase-footer strong{display:block}.cy-purchase-footer span,.cy-purchase-footer small{font-size:.8rem;color:#716551;line-height:1.6}.cy-purchase-footer strong{font-size:1.5rem;font-variant-numeric:tabular-nums;margin:4px 0}.cy-purchase-actions{text-align:right;max-width:320px}.cy-purchase-actions p{font-size:.8rem}
.cy-purchases-totals{margin:20px 0;background:#eae4d9;border-radius:10px;padding:20px}.cy-purchases-totals h3{font-size:.9rem;font-weight:500;margin-bottom:12px}.cy-purchases-total-grid{display:flex;flex-wrap:wrap;gap:24px}.cy-purchases-total-grid span,.cy-purchases-total-grid strong,.cy-purchases-total-grid small{display:block}.cy-purchases-total-grid span,.cy-purchases-total-grid small{font-size:.82rem;line-height:1.7}.cy-purchases-total-grid strong{font-size:1.8rem;font-variant-numeric:tabular-nums}.cy-purchases [data-action=more]{margin-top:20px}
@media(max-width:640px){.cy-purchases{margin:32px 16px;padding:20px 16px}.cy-purchases-heading{gap:12px}.cy-purchases-heading button{padding:8px 12px}.cy-purchase-card{padding:18px}.cy-purchase-card-heading{display:block}.cy-purchase-badge{display:inline-block;margin-top:10px}.cy-purchase-footer{align-items:flex-start;flex-direction:column;gap:16px}.cy-purchase-actions{width:100%;max-width:none;text-align:left}.cy-purchase-actions button,.cy-purchase-actions a{width:100%}.cy-purchases h2{font-size:1.5rem}}
