:root {
    color-scheme: light;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
    color: rgba(26, 26, 26, .9);
    background: #fff;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    --blue: #0074d4;
    --border: #dedede;
    --muted: rgba(26, 26, 26, .65);
}
* { box-sizing: border-box; }
html { overflow-y: scroll; scrollbar-gutter: stable; }
body { margin: 0; font-size: 14px; line-height: 1.3; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid #399fe4; outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.demo-banner { position: sticky; top: 0; z-index: 5; min-height: 30px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 5px 12px; background: #fff8e7; border-bottom: 1px solid #f4e4b9; color: #79612d; font-size: 11px; line-height: 18px; }
.demo-badge { font-size: 10px; line-height: 15px; font-weight: 750; letter-spacing: 1px; border: 1px solid #c69d42; border-radius: 3px; padding: 0 5px; }
.checkout-shell { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 1080px; min-height: calc(100vh - 30px); margin: 0 auto; }
.checkout-shell::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #fafafa; box-shadow: -10px 0 24px 3px rgba(0, 0, 0, .025); pointer-events: none; }
.overview, .payment { min-width: 0; padding: 48px 80px 40px; }
.merchant-header { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.merchant-icon { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px #00000012; }
.merchant-icon img { opacity: .65; }
.merchant-header h1 { min-width: 0; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; line-height: 1.3; font-weight: 500; }
.details-toggle { display: none; }
.product-summary { margin-top: 32px; }
.product-summary h2 { color: var(--muted); font-size: 16px; line-height: 1.3; font-weight: 500; margin: 0 0 14px; }
.amount-input { display: block; width: 100%; height: 56px; padding: 7px 12px; background: #fff; border: 1px solid #d4d4d4; border-radius: 6px; font-size: 36px; font-weight: 500; letter-spacing: -.6px; line-height: 40px; outline: none; transition: border-color .15s, box-shadow .15s; }
.amount-input::placeholder { opacity: 1; color: #333; }
.amount-input:focus { border-color: #399fe4; box-shadow: 0 0 0 2px #399fe4; }
.amount-input[aria-invalid="true"] { border-color: #d83243; box-shadow: 0 0 0 1px #d83243; }
.currency-options { display: flex; gap: 8px; margin-top: 14px; }
.currency-option { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; height: 44px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fff; color: #111; font-size: 16px; font-weight: 500; transition: border-color .15s, background .15s; }
.currency-option img { width: 22px; height: 16px; }
.currency-option:hover { background: #fafafa; }
.currency-option.is-active { border-color: #222; }
.conversion-note { color: var(--muted); font-size: 12px; line-height: 21px; margin: 7px 0 0; }
.conversion-fee { text-decoration: underline dotted; text-underline-offset: 2px; }
.product-details { margin-top: 18px; padding-top: 15px; border-top: 1px solid #e8e8e8; color: var(--muted); font-size: 12px; line-height: 20px; }
.product-details span { display: block; }
.wallet-options { display: flex; gap: 8px; }
.wallet-button { width: 50%; height: 55px; display: flex; align-items: center; justify-content: center; gap: 2px; border: 0; border-radius: 6px; transition: filter .15s; }
.wallet-button:hover { filter: brightness(.96); }
.apple-pay { color: #fff; background: #000; }
.apple-pay-logo { display: block; width: 64px; height: 28px; filter: invert(1); }
.link-pay { background: #00d66f; }
.link-pay-logo { display: block; width: 60px; height: 20px; }
.separator { display: flex; align-items: center; gap: 8px; margin: 22px 0 24px; color: var(--muted); font-size: 12px; line-height: 18px; }
.separator::before, .separator::after { content: ""; flex: 1; height: 1px; background: #e5e5e5; }
.section-heading { font-size: 16px; line-height: 1.3; font-weight: 500; margin: 0 0 18px; }
.field-label { display: block; font-size: 13px; line-height: 17px; color: var(--muted); margin-bottom: 4px; }
.text-input { display: block; width: 100%; height: 38px; min-width: 0; padding: 8px 11px; border: 1px solid var(--border); border-radius: 6px; background: #fff; box-shadow: 0 1px 3px #0000000d, 0 1px 2px #00000006; outline: none; font-size: 14px; line-height: 20px; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #828282; opacity: 1; }
.text-input:focus, .card-entry:focus-within { border-color: #80b9df; box-shadow: 0 0 0 3px #0074d41a; }
.payment-heading { margin-top: 28px; margin-bottom: 14px; }
.payment-card { margin: 0; padding: 15px; min-width: 0; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 1px 3px #0000000d, 0 1px 2px #00000004; }
.card-method { display: flex; align-items: center; gap: 10px; height: 22px; font-weight: 500; margin-bottom: 16px; }
.card-method svg { width: 20px; height: 20px; fill: #111; }
.card-entry { overflow: hidden; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 1px 3px #0000000d; transition: border-color .15s, box-shadow .15s; }
.card-entry input { width: 100%; min-width: 0; height: 36px; outline: none; border: 0; background: transparent; padding: 8px 11px; font-size: 14px; line-height: 20px; }
.card-number-row { position: relative; height: 36px; }
.card-number-row input { padding-right: 119px; }
.card-brands { position: absolute; top: 10px; right: 11px; display: flex; align-items: center; gap: 4px; pointer-events: none; }
.card-brands img { display: block; width: 24px; height: 16px; }
.card-number-row:not([data-card-state="empty"]) input { padding-right: 48px; }
.card-number-row.is-invalid input { color: #ff333d; caret-color: #ff333d; }
.card-number-row.is-invalid .card-brands { display: none; }
.card-error-icon { position: absolute; top: 50%; right: 12px; width: 14px; height: 14px; transform: translateY(-50%); fill: none; stroke: #ff333d; stroke-width: 1.1; pointer-events: none; }
.card-error-dot { fill: #ff333d; stroke: none; }
.card-entry:has(#card-number:focus) { border-color: var(--border); box-shadow: 0 1px 3px #0000000d; }
.card-number-row:focus-within::after { content: ""; position: absolute; z-index: 1; inset: -1px -1px 0; border: 2px solid #399fe4; border-radius: 6px 6px 0 0; pointer-events: none; }
.card-validation-error { margin: 6px 0 0; color: #ff333d; font-size: 13px; line-height: 18px; }
.card-split { display: grid; grid-template-columns: 1fr 1fr; height: 36px; border-top: 1px solid var(--border); }
.cvc-field { position: relative; border-left: 1px solid var(--border); }
.cvc-field input { padding-right: 44px; }
.cvc-icon { position: absolute; width: 28px; height: 22px; right: 10px; top: 6px; fill: none; stroke: #343434; stroke-width: 1.15; }
.cvc-icon path:last-child { stroke-width: .9; }
.card-field { margin-top: 18px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer; }
.select-wrap svg, .details-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.select-wrap svg { position: absolute; top: 11px; right: 11px; pointer-events: none; }
.save-card { margin-top: 22px; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 1px 3px #0000000d; }
.save-option { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; cursor: pointer; }
.save-option input { appearance: none; flex: 0 0 18px; display: grid; place-content: center; width: 18px; height: 18px; margin: 0; border: 1px solid #959595; border-radius: 3px; background: #fff; cursor: pointer; }
.save-option input::before { content: ""; width: 11px; height: 6px; border-left: 2px solid #333; border-bottom: 2px solid #333; transform: translateY(-1px) rotate(-45deg) scale(0); }
.save-option input:checked::before { transform: translateY(-1px) rotate(-45deg) scale(1); }
.save-option input:focus-visible { outline: 3px solid #399fe4; outline-offset: 3px; }
.save-title { display: block; font-size: 13px; line-height: 18px; font-weight: 500; }
.save-description { display: block; max-width: 300px; color: var(--muted); margin-top: 3px; font-size: 12px; line-height: 17px; }
.underlined { text-decoration: underline dotted; text-underline-offset: 2px; }
.save-phone { padding: 9px 15px 15px; border-top: 1px solid #e6e6e6; }
.phone-input-wrap { position: relative; height: 38px; border: 1px solid var(--border); border-radius: 6px; background: #fff; box-shadow: 0 1px 3px #0000000d; transition: border-color .15s, box-shadow .15s; }
.phone-input-wrap:focus-within { border-color: #80b9df; box-shadow: 0 0 0 3px #0074d41a; }
.phone-input-wrap:has([aria-invalid="true"]) { border-color: #d83243; }
.phone-input { width: 100%; height: 100%; padding: 8px 11px 8px 35px; border: 0; border-radius: inherit; outline: none; background: transparent; font-size: 14px; line-height: 20px; }
.phone-country-picker { position: absolute; top: 10px; left: 11px; width: 22px; height: 16px; }
.phone-country-picker img { display: block; width: 16px; height: 12px; margin-top: 1px; object-fit: cover; border-radius: 1px; }
.phone-country-chevron { position: absolute; width: 8px; height: 8px; right: 1px; bottom: 0; pointer-events: none; }
.phone-country-chevron circle { fill: #858585; }
.phone-country-chevron path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phone-country-picker select { position: absolute; inset: -5px -2px; width: 28px; height: 26px; opacity: 0; cursor: pointer; font-size: 14px; }
.save-consent { margin: 0; padding: 11px; border-top: 1px solid #e6e6e6; color: #687d91; font-size: 11px; line-height: 17px; }
.save-consent button { padding: 0; border: 0; background: transparent; color: inherit; font-size: inherit; text-decoration: underline dotted; text-underline-offset: 2px; }
.pay-button { position: relative; width: 100%; height: 55px; margin-top: 24px; border: 0; border-radius: 6px; color: #fff; background: var(--blue); box-shadow: 0 2px 5px #0000001f; font-size: 16px; font-weight: 600; transition: background .15s, transform .15s; }
.pay-button:hover { background: #0067bf; }
.pay-button:active { transform: translateY(1px); }
.pay-button:disabled { opacity: .7; }
.pay-spinner { position: absolute; right: 16px; top: calc(50% - 9px); width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 42 15; animation: pay-spin 1s linear infinite; }
@keyframes pay-spin { to { transform: rotate(360deg); } }
.authentication-error { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px; border-radius: 8px; background: #fcf5f7; color: #333; outline: none; }
.authentication-error > svg { flex: 0 0 14px; width: 14px; height: 14px; fill: none; stroke: #ff333d; stroke-width: 1.1; }
.authentication-error .authentication-error-dot { fill: #ff333d; stroke: none; }
.authentication-error p { margin: 0; font-size: 13px; line-height: 18px; }
.authentication-error:not([hidden]) + .pay-button { margin-top: 16px; }
.authentication-dialog { width: 400px; height: 600px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 64px); padding: 24px; border: 0; border-radius: 4px; background: #fff; box-shadow: 0 8px 28px #00000040; }
.authentication-dialog[open] { display: flex; flex-direction: column; }
.authentication-dialog::backdrop { background: linear-gradient(to bottom, transparent 0 30px, #0009 30px 100%); }
.authentication-topline { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.authentication-cancel { padding: 4px 0 4px 10px; border: 0; background: transparent; color: #888; font-size: 11px; }
.authentication-stage { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 30px; min-height: 120px; padding-bottom: 34px; }
.authentication-progress { width: calc(100% - 24px); height: 40px; overflow: hidden; transform: skewX(-12deg); background: #f0eeff; }
.authentication-progress span { display: block; width: 70%; height: 100%; background: #573cff; animation: authentication-progress 1.1s ease-in-out infinite alternate; }
@keyframes authentication-progress { from { transform: translateX(0); } to { transform: translateX(45%); } }
.authentication-brand-logo { display: block; width: 120px; height: 55px; object-fit: contain; }
.demo-instructions { margin: 10px 0 0; text-align: center; font-size: 11px; line-height: 17px; color: var(--muted); }
.storage-notice { margin-top: 4px; }
.checkout-footer { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 18px; white-space: nowrap; }
.powered-by strong { font-size: 15px; font-weight: 800; letter-spacing: -.6px; color: #555; }
.footer-divider { width: 1px; height: 16px; background: #d6d6d6; }
.checkout-footer button { border: 0; padding: 0; background: transparent; color: inherit; font-size: inherit; }
.checkout-footer button:hover { color: #111; text-decoration: underline; }
.field-error { margin: 9px 0 0; color: #c43040; font-size: 12px; line-height: 18px; }
.demo-dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 64px); padding: 32px; border: 1px solid #e5e5e5; border-radius: 14px; box-shadow: 0 20px 90px #00000029; text-align: center; }
.demo-dialog::backdrop { background: linear-gradient(to bottom, transparent 0 30px, #18202c66 30px 100%); }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f4f5f6; display: grid; place-items: center; }
.dialog-close svg { width: 16px; height: 16px; fill: none; stroke: #666; stroke-width: 1.5; }
.dialog-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 22px auto 18px; border-radius: 50%; background: #e9f8f0; color: #279a60; }
.dialog-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-dialog h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; font-weight: 600; }
.demo-dialog p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.6; }
.demo-dialog .receipt-reference { margin-top: 12px; font-size: 12px; overflow-wrap: anywhere; }
.demo-receipt { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f6f8fa; border-radius: 7px; margin-top: 22px; padding: 15px; font-size: 14px; }
.dialog-action { width: 100%; border: 0; border-radius: 6px; margin-top: 24px; padding: 12px; color: #fff; background: var(--blue); font-weight: 600; }
@media (max-width: 1050px) and (min-width: 901px) {
    .overview, .payment { padding-right: 48px; padding-left: 48px; }
}
@media (max-width: 900px) {
    .checkout-shell { display: block; max-width: 412px; min-height: calc(100vh - 30px); }
    .checkout-shell::after { display: none; }
    .overview { padding: 16px; }
    .merchant-header { gap: 8px; }
    .merchant-header h1 { flex: 1; }
    .details-toggle { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font-size: 12px; text-decoration: underline dotted; text-underline-offset: 3px; }
    .details-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
    .product-summary { margin-top: 32px; text-align: center; }
    .product-summary h2 { margin-bottom: 12px; }
    .amount-input { height: 46px; padding: 8px 12px; text-align: center; font-size: 18px; line-height: 28px; letter-spacing: 0; font-weight: 500; }
    .conversion-note { line-height: 21px; }
    .payment { padding: 16px 16px 24px; }
    .contact-heading { display: none; }
    .text-input { height: 46px; font-size: 16px; padding: 11px; }
    .field-label { font-size: 14px; line-height: 18px; }
    .payment-heading { margin-top: 28px; margin-bottom: 15px; }
    .card-method { font-size: 14px; margin-bottom: 20px; }
    .card-entry input { height: 44px; font-size: 16px; padding-top: 11px; padding-bottom: 11px; }
    .card-number-row { height: 44px; }
    .card-number-row input { padding-right: 116px; }
    .card-brands { top: 14px; right: 11px; gap: 4px; }
    .card-split { height: 44px; }
    .cvc-icon { top: 10px; }
    .card-field { margin-top: 18px; }
    .select-wrap svg { top: 15px; }
    .save-option { padding-top: 11px; padding-bottom: 11px; }
    .save-title { font-size: 14px; line-height: 18px; }
    .phone-input-wrap { height: 46px; }
    .phone-input { font-size: 16px; padding-top: 11px; padding-bottom: 11px; }
    .phone-country-picker { top: 14px; }
    .checkout-footer { gap: 14px; font-size: 11px; }
}
@media (max-width: 350px) {
    .demo-banner { gap: 6px; font-size: 10px; }
    .card-brands img { width: 20px; }
    .card-brands { gap: 2px; right: 8px; }
    .card-number-row input { padding-right: 94px; font-size: 14px; }
    .checkout-footer { gap: 10px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
    .pay-spinner, .authentication-progress span { animation: none; }
}
