/* Checkout uses the site's theme and selected accent, including the white accent. */
.detail-dialog:has(.checkout-designed){width:min(620px,calc(100% - 24px));max-height:92vh;max-height:92dvh;scrollbar-width:thin}
.checkout-designed.dialog-simple{padding:0;max-width:none}
.checkout-designed .checkout-heading{padding:24px 28px 18px}
.checkout-designed .checkout-brand{display:flex;align-items:center;gap:12px;padding-right:44px}
.checkout-designed .checkout-brand .wordmark{font-size:24px}
.checkout-designed .checkout-brand>span:not(.wordmark){font-size:11px;color:var(--muted);border-left:1px solid var(--line);padding-left:12px}
.checkout-designed .checkout-heading h2{font-size:27px;letter-spacing:-1px;margin:18px 0 0}
.checkout-designed .checkout-choice-order{margin:0 28px 20px;padding:12px;gap:12px;border:1px solid var(--line);background:var(--raised);border-radius:14px;justify-content:flex-start}
.checkout-designed .checkout-product-art{width:46px;height:50px;border-radius:9px;object-fit:cover;flex:none;display:grid;place-items:center;background:var(--soft);color:var(--accent)}
.checkout-designed .checkout-product-copy{flex:1;min-width:0}
.checkout-designed .checkout-product-copy small{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}
.checkout-designed .checkout-product-copy strong{display:block;overflow-wrap:anywhere;font-size:14px}
.checkout-designed .checkout-choice-order b{font-size:22px}
.checkout-designed .checkout-controls{padding:0 28px 18px}
.checkout-designed .checkout-section-title{display:flex;align-items:center;gap:8px;font-size:14px;margin:0 0 12px;font-weight:700}
.checkout-designed .checkout-section-title>span{font-size:10px;color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:2px 5px;font-weight:500;letter-spacing:0}
.checkout-designed .checkout-wallet{position:relative;display:flex;align-items:center;gap:12px;margin:0;padding:13px 14px;border:1px solid var(--line);border-radius:13px;background:var(--raised);cursor:pointer}
.checkout-designed .checkout-wallet:has(input:checked){background:var(--soft);border-color:var(--accent)}
.checkout-designed .checkout-wallet>.icon{color:var(--accent);width:24px;height:24px}
.checkout-designed .checkout-wallet-copy{flex:1;min-width:0}
.checkout-designed .checkout-wallet-copy strong{font-size:13px;display:block}
.checkout-designed .checkout-wallet-copy small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.checkout-designed .checkout-wallet input{position:absolute;right:14px;width:38px;height:24px;opacity:0;margin:0;z-index:1;cursor:pointer}
.checkout-designed .checkout-switch{width:38px;height:23px;padding:3px;border-radius:20px;background:var(--muted);flex:none}
.checkout-designed .checkout-switch:after{content:'';display:block;width:17px;height:17px;background:var(--surface);border-radius:50%}
.checkout-designed input:checked+.checkout-switch{background:var(--accent)}
.checkout-designed input:checked+.checkout-switch:after{transform:translateX(15px);background:var(--accent-ink)}
.checkout-designed input:focus-visible+.checkout-switch{outline:2px solid var(--accent);outline-offset:4px}
.checkout-designed .checkout-wallet:has(input:disabled){cursor:default;opacity:.65}
.checkout-designed .checkout-method-caption{font-size:11px;color:var(--muted);margin:13px 0 8px}
.checkout-designed .checkout-choice-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.checkout-designed .checkout-choice-option{display:flex;position:relative;align-items:flex-start;justify-content:flex-start;flex-direction:column;gap:10px;min-height:108px;padding:12px;border-color:var(--line);background:var(--surface);border-radius:12px;box-shadow:none}
.checkout-designed .checkout-choice-option.available:hover{border-color:var(--accent);background:var(--soft)}
.checkout-designed .checkout-choice-option.selected{border-color:var(--accent);background:var(--soft);box-shadow:inset 0 0 0 1px var(--accent)}
.checkout-designed .checkout-choice-option:after{content:'';position:absolute;top:14px;right:12px;width:12px;height:12px;border:1px solid var(--muted);border-radius:50%}
.checkout-designed .checkout-choice-option.selected:after{border:3px solid var(--surface);background:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.checkout-designed .checkout-choice-option:disabled{opacity:.65;background:var(--raised)}
.checkout-designed .payhot-method-icon{width:43px;height:29px;flex:0 0 29px;padding:0;border-radius:5px}
.checkout-designed [data-payment-brand="sbp"] .payhot-method-icon{background:#fff;padding:3px}
.checkout-designed .checkout-choice-copy{width:100%;flex:none}
.checkout-designed .checkout-choice-copy strong{font-size:12px;line-height:1.35}
.checkout-designed .checkout-choice-copy small{font-size:10px;line-height:1.4;margin-top:5px;overflow-wrap:anywhere}
.checkout-designed .checkout-extra{margin-top:8px}
.checkout-designed .checkout-extra summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;cursor:pointer;min-height:38px;font-size:11px;color:var(--muted)}
.checkout-designed .checkout-extra summary::-webkit-details-marker{display:none}
.checkout-designed .checkout-extra summary .icon{width:14px;height:14px;transition:transform .15s}
.checkout-designed .checkout-extra[open] summary .icon{transform:rotate(90deg)}
.checkout-designed .checkout-extra summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.checkout-designed .checkout-bonuses{margin:8px 0 0;padding:4px 0;border:0;background:none;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px}
.checkout-designed .checkout-bonuses>span{color:var(--muted);font-size:11px}
.checkout-designed .checkout-bonus-options{width:100%;margin:0;gap:6px}
.checkout-designed .checkout-bonus-options button{padding:7px 11px;font-size:11px;min-height:34px}
.checkout-designed .checkout-receipt{position:sticky;bottom:0;z-index:2;padding:16px 28px 20px;border-top:1px solid var(--line);background:var(--surface);box-shadow:0 -8px 16px color-mix(in srgb,var(--bg) 35%,transparent)}
.checkout-designed .checkout-receipt:before,.checkout-designed .checkout-receipt:after{content:'';position:absolute;top:-6px;width:11px;height:11px;border-radius:50%;background:var(--bg);border:1px solid var(--line)}
.checkout-designed .checkout-receipt:before{left:0;width:6px;border-radius:0 8px 8px 0;border-left:0}.checkout-designed .checkout-receipt:after{right:0;width:6px;border-radius:8px 0 0 8px;border-right:0}
.checkout-designed .payhot-totals{margin:0;padding:0;background:none;border:0;border-radius:0}
.checkout-designed .payhot-totals p{font-size:11px;margin:4px 0;align-items:baseline}
.checkout-designed .payhot-totals p strong{color:var(--text);font-weight:600}
.checkout-designed .payhot-totals h3{margin:12px 0 0;padding-top:12px;border-top:1px dashed var(--line);font-size:14px;align-items:center}
.checkout-designed .payhot-totals h3 strong{font-size:28px;letter-spacing:-1px;white-space:nowrap}
.checkout-designed .checkout-receipt .primary-button{margin-top:12px;min-height:48px;border-radius:11px;position:relative;padding-right:44px}
.checkout-designed .checkout-receipt .primary-button:after{content:'→';position:absolute;right:16px;font-size:21px;font-weight:500}
.checkout-designed .checkout-receipt .primary-button:disabled{cursor:wait;opacity:.6}
.checkout-designed .checkout-receipt .primary-button[data-checkout-failed]:disabled{cursor:not-allowed}
.checkout-designed .checkout-receipt .small-note{font-size:10px!important;line-height:1.5;text-align:center;margin:9px 0 0}
.checkout-designed .form-error:empty,.checkout-designed [data-payhot-status]:empty{display:none}
.checkout-designed .form-error{font-size:12px;margin:10px 0;color:var(--text);overflow-wrap:anywhere}
.checkout-designed [data-payhot-status]{font-size:12px;margin:9px 0}
.checkout-designed [hidden]{display:none!important}
@media(max-width:500px){.checkout-designed .checkout-heading{padding:21px 18px 16px}.checkout-designed .checkout-heading h2{font-size:24px;margin-top:16px}.checkout-designed .checkout-choice-order{margin:0 18px 16px}.checkout-designed .checkout-controls{padding:0 18px 16px}.checkout-designed .checkout-receipt{padding:13px 18px 16px}.checkout-designed .checkout-choice-option{padding:10px;min-height:111px}.checkout-designed .checkout-choice-copy strong{font-size:11px}.checkout-designed .checkout-choice-copy small{font-size:10px}.checkout-designed .payhot-totals h3 strong{font-size:25px}.checkout-designed .checkout-choice-order b{font-size:19px}.checkout-designed .checkout-choice-list{gap:6px}}
@media(max-height:600px){.checkout-designed .checkout-receipt{position:static}}
@media(prefers-reduced-motion:reduce){.checkout-designed .checkout-extra summary .icon{transition:none}}
