.order-discount{display:grid;gap:8px;font-size:13px;line-height:1.6;margin:16px 0;padding:14px;background:#6688660b;border:1px solid #8883;border-radius:9px}.order-discount>div{display:flex;justify-content:space-between;gap:16px}.order-discount dt{min-width:0;overflow-wrap:anywhere}.order-discount dd{white-space:nowrap;font-variant-numeric:tabular-nums}.order-discount .order-net{font-weight:650;border-top:1px solid #8883;padding-top:8px}.checkout,.payment-dialog{--checkout-surface:var(--paper-card,#fff);--checkout-ink:var(--paper-ink,#263b2e);--checkout-muted:var(--paper-muted,#6d786e);--checkout-line:var(--paper-line,#dfe5df);--checkout-accent:var(--paper-green,#315c46);--checkout-soft:#edf1e7;color:var(--checkout-ink)}.checkout [hidden],.payment-dialog [hidden]{display:none!important}.checkout{max-width:960px;margin:0 auto;padding:clamp(16px,3vw,28px);background:var(--checkout-surface);border-color:var(--checkout-line)}.checkout-test{padding:12px 14px;margin:0 0 18px!important;border:1px solid #d9770670;background:#f59e0b16;border-radius:9px;font-size:13px}.checkout-title-copy h1,.payment-dialog-heading h2{font-size:23px;font-weight:650;letter-spacing:-.04em;line-height:1.3;margin:0}.checkout-title-copy>p{font-size:12px;line-height:1.6;color:var(--checkout-muted);margin:5px 0 0}.checkout-title-copy{position:relative}[data-payment-state=paid]>.payment-dialog-heading .checkout-title-copy,[data-payment-state=paid]>.checkout-page-heading{padding-left:48px}[data-payment-state=paid]>.payment-dialog-heading .checkout-title-copy:before,[data-payment-state=paid]>.checkout-page-heading:before{content:"✓";position:absolute;left:0;top:2px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--checkout-soft);color:var(--checkout-accent);font-size:19px;font-weight:650}.checkout-page-heading{padding-bottom:12px}.checkout-heading{display:flex;align-items:center;gap:16px;padding:20px 0}.checkout-product-cover{position:relative;display:grid;place-items:center;width:80px;height:88px;flex:none;overflow:hidden;border:1px solid var(--checkout-line);border-radius:10px;background:var(--checkout-soft);color:var(--checkout-accent)}.checkout-product-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.checkout-product-copy{min-width:0;flex:1}.checkout .checkout-heading h2{font-size:18px;font-weight:650;line-height:1.45;letter-spacing:-.02em;margin:0 0 7px}.checkout .checkout-heading .portal-meta{font-size:13px;line-height:1.6;opacity:1;color:var(--checkout-muted);margin:0;overflow-wrap:anywhere}.checkout-total{flex:none;font-size:23px;font-weight:650;white-space:nowrap;letter-spacing:-.04em;margin:0!important}.checkout-total span{font-size:14px;margin-left:1px}.checkout-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--checkout-line);border-bottom:1px solid var(--checkout-line);padding:8px 0;margin:0 0 18px}.checkout-progress:has(>[hidden]):not(:has(>:not([hidden]))){display:none}.checkout-status{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.checkout-status p{flex:1;margin:0;font-size:12px;line-height:1.7;color:var(--checkout-muted)}.checkout-badge{display:inline-block;flex:none;border-radius:6px;padding:6px 9px;background:var(--checkout-soft);font-size:11px;font-weight:600}[data-payment-state=waiting] .checkout-status p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}[data-payment-state=expired] .checkout-badge,[data-payment-state=cancelled] .checkout-badge{background:#f59e0b25}.checkout-deadline{flex:none}.checkout-deadline>div{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--checkout-muted)}.checkout-deadline strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.03em;color:var(--checkout-ink)}.checkout .portal-meta{font-size:11px;line-height:1.7}.checkout-payment{display:grid;grid-template-columns:minmax(0,250px) minmax(0,1fr);gap:24px;align-items:start}.checkout h3{font-weight:600;font-size:14px;margin:0 0 10px}.checkout-qr-column{text-align:center}.checkout-qr-frame{background:#fff;border:1px solid var(--checkout-line);border-radius:12px;padding:8px;margin:0 auto;max-width:250px;overflow:hidden}.checkout-qr-frame img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.checkout-qr-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px}.checkout-qr-download{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;font-size:12px;font-weight:550;color:var(--checkout-accent);text-underline-offset:3px}.checkout-qr-download:hover{text-decoration:underline}.checkout-qr-column>.checkout-qr-hint{font-size:10px;line-height:1.5;color:var(--checkout-muted);margin:0 auto;max-width:240px}.checkout-field{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:10px;padding:2px 0;min-height:44px;border-bottom:1px solid var(--checkout-line)}.checkout-field dt{font-size:11px;line-height:1.5;color:var(--checkout-muted)}.checkout-field dd{display:flex;align-items:center;gap:4px;justify-content:space-between;min-width:0}.checkout-field strong{overflow-wrap:anywhere;min-width:0;font-weight:600;font-size:13px}.checkout-field .checkout-reference{font-size:11px;font-variant-numeric:tabular-nums}.checkout-copy{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:7px;color:var(--checkout-muted);cursor:pointer}.checkout-copy:hover{background:var(--checkout-soft)}.checkout-copy .copy-check,.checkout-copy[data-copied=true] .copy-icon{display:none}.checkout-copy[data-copied=true] .copy-check{display:block}.checkout-copy[data-copied=true]{color:var(--checkout-accent);background:var(--checkout-soft)}.checkout-transfer-note{font-size:11px;line-height:1.65;color:var(--checkout-muted);margin:12px 0 0}.checkout .portal-button,.payment-dialog .portal-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;font-size:12px;font-weight:600;line-height:1.5;border:1px solid var(--checkout-accent);border-radius:8px;background:var(--checkout-accent);color:#fff;text-decoration:none}.checkout .portal-button.secondary,.payment-dialog .portal-button.secondary{background:transparent;border-color:var(--checkout-line);color:inherit}.checkout .portal-button:hover{filter:brightness(.96)}.checkout .portal-note{background:var(--checkout-soft);font-size:11px;line-height:1.8;padding:12px;border-radius:8px}.checkout-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:14px}.checkout-detail-link{font-size:11px;color:var(--checkout-muted);text-decoration:underline;text-underline-offset:3px;padding:8px 0}#payment-feedback:empty{display:none}.checkout-fulfillment{border-top:1px solid var(--checkout-line);padding-top:22px}.checkout-success-actions,.checkout-downloads{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.checkout-success-actions{margin:16px 0 20px}.checkout-files{border-top:1px solid var(--checkout-line);padding-top:18px}.checkout-files h3{font-size:15px;margin-bottom:12px}.checkout-files h3 span{font-weight:400;color:var(--checkout-muted)}.checkout-downloads{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.checkout .checkout-download{justify-content:flex-start;min-width:0;padding:12px 14px;font-size:13px;overflow-wrap:anywhere;text-align:left}.checkout-download:before{content:"↓";font-size:18px;line-height:1;font-weight:500}.checkout .checkout-file-meta{font-size:10px;line-height:1.7;color:var(--checkout-muted);overflow-wrap:anywhere;margin:10px 0 0}.checkout-recommendations{border-top:1px solid var(--checkout-line);margin-top:27px;padding-top:20px}.checkout-recommendations>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.checkout-recommendations h3{font-size:19px;margin:0}.checkout-recommendations>header>a{display:inline-flex;align-items:center;gap:6px;color:var(--checkout-accent);font-size:13px;min-height:44px}.checkout-suggestion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.checkout-suggestion-grid:has(>.checkout-suggestion:only-child){grid-template-columns:minmax(0,1fr)}.checkout-suggestion{display:flex;align-items:stretch;gap:14px;padding:14px;border:1px solid var(--checkout-line);border-radius:14px;min-width:0;text-decoration:none;transition:border-color .15s,background .15s}.checkout-suggestion:hover{background:var(--checkout-soft);border-color:var(--checkout-accent)}.checkout-suggestion-cover{display:grid;place-items:center;width:96px;min-height:116px;position:relative;flex:none;border-radius:8px;overflow:hidden;background:var(--checkout-soft);color:var(--checkout-accent)}.checkout-suggestion-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.checkout-suggestion-copy{min-width:0;flex:1;display:flex;flex-direction:column}.checkout .checkout-suggestion-category{font-size:11px;line-height:1.4;color:var(--checkout-muted);margin:0 0 5px}.checkout-suggestion h4{font-size:15px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 12px}.checkout-suggestion-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.checkout-suggestion strong{font-size:16px;font-weight:650;color:var(--checkout-accent)}.checkout-suggestion-bottom>span{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:var(--checkout-soft);color:var(--checkout-accent)}.checkout button:focus-visible,.checkout a:focus-visible,.payment-dialog button:focus-visible,.payment-dialog a:focus-visible{outline:2px solid var(--checkout-accent);outline-offset:3px}.payment-dialog{width:min(840px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--checkout-line);border-radius:18px;background:var(--checkout-surface);box-shadow:0 24px 100px #15281f40;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.payment-dialog::backdrop{background:#182b23a6;backdrop-filter:blur(5px)}.payment-dialog-heading{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 24px;background:var(--checkout-surface);border-bottom:1px solid var(--checkout-line)}.payment-dialog-close{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid var(--checkout-line);border-radius:50%;font-size:25px;line-height:1;cursor:pointer;background:transparent}.payment-dialog-close:hover{background:var(--checkout-soft)}.payment-dialog .checkout{border:0;border-radius:0;padding:0 24px 20px}.payment-dialog-loading,.payment-dialog-error{padding:28px 24px;font-size:13px;line-height:1.8}.payment-dialog-loading{display:flex;align-items:center;justify-content:center;gap:12px;min-height:240px}.checkout-spinner{width:24px;height:24px;flex:none;border:2px solid var(--checkout-line);border-top-color:var(--checkout-accent);border-radius:50%;animation:checkout-spin .75s linear infinite}.payment-dialog-error p{margin-bottom:14px;color:#b1412e}.payment-dialog-error>a{margin-left:14px}.dark .checkout,.dark .payment-dialog{--checkout-surface:#191f1b;--checkout-ink:#e1e9e2;--checkout-muted:#a4b0a7;--checkout-line:#39463c;--checkout-accent:#456c51;--checkout-soft:#29372b}@media(max-width:760px){.checkout-payment{grid-template-columns:minmax(0,1fr);gap:18px}.checkout-status{align-items:flex-start;flex-direction:column;gap:8px}.checkout-heading{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px 12px;padding:16px 0}.checkout-product-cover{width:56px;height:64px}.checkout .checkout-heading h2{font-size:16px;margin-bottom:5px}.checkout .checkout-heading .portal-meta{font-size:12px}.checkout-total{font-size:20px}.checkout-heading .checkout-total{grid-column:2}.checkout-total span{font-size:12px}.checkout-title-copy h1,.payment-dialog-heading h2{font-size:20px}.checkout-title-copy>p{font-size:11px}.checkout-qr-frame{max-width:clamp(160px,50vw,208px)}.checkout-qr-hint{display:none}.checkout-transfer h3{font-size:12px;margin-bottom:6px}.checkout-field{grid-template-columns:78px minmax(0,1fr);gap:6px}.checkout-suggestion-grid{grid-template-columns:minmax(0,1fr)}.checkout-suggestion-cover{width:88px;min-height:108px}.checkout-suggestion h4{-webkit-line-clamp:3;font-size:15px}.checkout-suggestion strong{font-size:16px}.checkout .portal-button,.checkout-copy{min-height:44px}.checkout-success-actions{align-items:flex-start;gap:8px}.checkout-fulfillment{padding-top:18px}.payment-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.payment-dialog-heading{padding:12px 16px;gap:8px}.payment-dialog .checkout{padding:0 16px 16px}.payment-dialog-loading,.payment-dialog-error{padding:24px 18px}}@keyframes checkout-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.checkout-suggestion{transition:none}.checkout-spinner{animation:none}}
