.aac-purchase-receipt{box-sizing:border-box;width:min(680px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:0;border-top:6px solid var(--aac-gold, #f8c235);padding:32px;background:#fff;color:#111;box-shadow:0 16px 60px #0006;font:14px/1.55 sans-serif}
.aac-purchase-receipt::backdrop{background:rgb(0 0 0 / .65)}
.aac-purchase-receipt h2{font-size:23px;font-weight:600;line-height:1.3;margin:0 32px 16px 0;color:#111}.aac-purchase-receipt h3{font-size:16px;font-weight:600;margin:24px 0 12px;color:#111}
.aac-purchase-receipt .aac-receipt-close{position:absolute;right:12px;top:12px;background:transparent;border:0;color:#111;font-size:28px;cursor:pointer;width:44px;height:44px}
.aac-purchase-receipt .aac-order-summary__details>div,.aac-purchase-receipt .aac-order-summary__row{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #ddd;overflow-wrap:anywhere}
.aac-purchase-receipt .aac-order-summary__row strong{white-space:nowrap}.aac-purchase-receipt .aac-order-summary__row--total{font-size:17px;font-weight:600}.aac-purchase-receipt .aac-order-summary__meta{font-size:14px;color:#555}
.aac-receipt-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.aac-receipt-actions button{padding:12px 18px;cursor:pointer;border:2px solid #111;background:#fff;color:#111;font-size:14px;font-weight:600}.aac-receipt-actions [data-continue]{background:var(--aac-gold, #f8c235);border-color:var(--aac-gold, #f8c235)}.aac-purchase-receipt button:focus-visible{outline:3px solid #111;outline-offset:3px}
@media(max-width:480px){.aac-purchase-receipt{padding:24px 18px}.aac-receipt-actions button{width:100%}}
@media print{body>*:not(.aac-purchase-receipt){display:none!important}.aac-purchase-receipt{position:static;display:block;max-height:none;width:100%;box-shadow:none;overflow:visible}.aac-receipt-actions,.aac-receipt-close{display:none!important}}

.aac-purchase-receipt p,.aac-purchase-receipt .aac-order-summary{font-size:14px;font-weight:400;line-height:1.55}.aac-purchase-receipt strong{font-weight:500}.aac-purchase-receipt .aac-order-summary__row--total strong{font-weight:600}.aac-purchase-receipt .aac-receipt-account{margin-top:24px;padding-top:18px;border-top:1px solid #ddd}.aac-purchase-receipt .aac-receipt-account h3{margin:0 0 8px}.aac-purchase-receipt .aac-receipt-account p{margin:0;color:#444}

/* Keep the site theme's oversized heading and button rules out of receipts. */
body dialog.aac-purchase-receipt h2{font-size:23px!important;font-weight:600!important;line-height:1.3!important;text-transform:none!important;letter-spacing:normal!important}
body dialog.aac-purchase-receipt h3{font-size:16px!important;font-weight:600!important;line-height:1.4!important;text-transform:none!important;letter-spacing:normal!important}
body dialog.aac-purchase-receipt p,body dialog.aac-purchase-receipt .aac-order-summary,body dialog.aac-purchase-receipt .aac-order-summary__row,body dialog.aac-purchase-receipt .aac-order-summary__details{font-size:14px!important;font-weight:400!important;line-height:1.55!important}
body dialog.aac-purchase-receipt strong{font-size:inherit!important;font-weight:500!important}
body dialog.aac-purchase-receipt .aac-order-summary__row--total{font-size:17px!important;font-weight:600!important}
body dialog.aac-purchase-receipt .aac-order-summary__row--total strong{font-weight:600!important}
body dialog.aac-purchase-receipt .aac-receipt-actions button{font-size:14px!important;font-weight:600!important;line-height:1.5!important;text-transform:none!important;letter-spacing:normal!important}
