.checkout-dialog{width:min(640px,calc(100% - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:32px;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #3b262733}
.checkout-dialog::backdrop{background:#3b2627b8}
.checkout-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.checkout-dialog .checkout-header h2{font-size:clamp(1.7rem,4.8vw,2.15rem);line-height:1.15;letter-spacing:-.025em;color:var(--wine)}
.checkout-close{flex:0 0 44px;min-height:44px;margin:-8px -8px 0 0;border:0;border-radius:2px;background:transparent;color:var(--wine);font-size:1.7rem;line-height:1;cursor:pointer}
.checkout-close:hover{background:var(--blush)}
.checkout-product{color:var(--muted);font-size:.9375rem;line-height:1.5;margin-bottom:24px}
.checkout-checks{display:grid;gap:18px;margin:0;padding:22px 0;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
.checkout-choice{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:12px;min-height:44px;cursor:pointer;font-size:.9375rem;line-height:1.65;text-align:left;overflow-wrap:break-word}
.checkout-choice input{appearance:auto;accent-color:var(--wine);width:24px;height:24px;margin:1px 0 0;cursor:pointer;flex-shrink:0}
.checkout-choice input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.checkout-choice a{color:var(--wine);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.checkout-choice a:hover{color:var(--accent)}
.checkout-dialog .checkout-proceed{width:100%;margin-top:24px;cursor:pointer}
.checkout-dialog .checkout-proceed:disabled{background:var(--blush);color:var(--muted);border-color:var(--line);cursor:not-allowed;transform:none}
.checkout-status{margin-top:12px!important;color:var(--muted);font-size:.8125rem;line-height:1.5;text-align:center}
.checkout-legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
[data-checkout-url]{cursor:pointer}
[data-checkout-url]:disabled{opacity:.65;cursor:wait;transform:none}
.checkout-no-script{padding:14px 18px;background:var(--blush);color:var(--ink);font-size:.9375rem}
@media(max-width:480px){.checkout-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:24px 20px}.checkout-choice{font-size:.875rem;gap:10px;line-height:1.6}.checkout-checks{gap:18px;padding-block:20px}.checkout-product{font-size:.875rem;margin-bottom:20px}.checkout-dialog .checkout-proceed{padding-inline:18px}}

.checkout-instruction{margin-top:20px!important;padding-top:18px;border-top:1px solid var(--line);font-size:.8125rem;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}.checkout-instruction a{color:var(--wine);text-decoration:underline;text-underline-offset:3px}
