/* Checkout controls use bounded geometry, independent of each site's art direction. */
body.checkout-page{--radius:10px;overflow-x:hidden}
.checkout-page .checkout-main{width:min(1120px,calc(100% - 40px));margin:0 auto;padding:clamp(32px,5vw,62px) 0 90px}
.checkout-page .checkout-heading{margin:0 0 36px}
.checkout-page .checkout-heading h1{max-width:none;font-size:clamp(2.5rem,5vw,4.7rem);margin:10px 0}
.checkout-page .checkout-heading>p{font-size:12px}
.checkout-page .checkout-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:clamp(28px,5vw,72px);align-items:start}
.checkout-page .checkout-form-wrap{min-width:0}
.checkout-page .checkout-back{display:inline-block;color:var(--accent);font-size:11px;margin-bottom:26px}
.checkout-page #checkout-form{min-width:0}
.checkout-page .form-section{min-width:0;padding:23px 0;border-top:1px solid var(--line)}
.checkout-page .form-heading{display:flex;align-items:baseline;gap:12px;margin-bottom:20px}
.checkout-page .form-heading>span{color:var(--accent);font:10px 'DM Mono',monospace}
.checkout-page .checkout-layout{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:clamp(28px,5vw,72px);align-items:start}
.checkout-page .checkout-form-wrap,.checkout-page #checkout-form,.checkout-page .form-section,.checkout-page .order-summary{min-width:0;max-width:100%;overflow:visible}
.checkout-page .form-heading h2{max-width:none;margin:0;font-size:25px;line-height:1.2}
.checkout-page .field-label{display:block;width:100%;margin:0 0 14px;color:var(--ink);font-size:12px;line-height:1.45;font-weight:600;white-space:normal;overflow-wrap:anywhere}
.checkout-page .field-label>span{display:inline;color:var(--muted);font-weight:400}
.checkout-page .field-label input,.checkout-page .field-label select,.checkout-page .discount-row input{display:block;width:100%;max-width:100%;min-width:0;height:48px;margin-top:7px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);outline:none;font-size:13px}
.checkout-page .field-label input:focus,.checkout-page .field-label select:focus,.checkout-page .discount-row input:focus{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.checkout-page .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.checkout-page .field-grid-three{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(100px,.8fr)}
.checkout-page .places-status{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.checkout-page .shipping-choice{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:15px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink)}
.checkout-page .shipping-choice>input{width:16px;height:16px;margin:0;accent-color:var(--accent)}
.checkout-page .shipping-choice-copy{display:grid;gap:4px;min-width:0}
.checkout-page .shipping-choice-copy strong,.checkout-page .shipping-choice-price{font-size:12px}
.checkout-page .shipping-choice-copy small{color:var(--muted);font-size:10px;line-height:1.45}
.checkout-page .shipping-choice-price{white-space:nowrap}
.checkout-page .payment-box{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.checkout-page .payment-box-head{min-height:54px;display:flex;align-items:center;gap:10px;padding:12px 15px;background:var(--wash);border-bottom:1px solid var(--line)}
.checkout-page .payment-box-head>strong{font-size:13px}
.checkout-page .payment-method-label{display:flex;align-items:center;gap:10px;min-width:0}
.checkout-page .payment-radio{width:16px;height:16px;flex:none;border:1px solid var(--accent);border-radius:50%;display:grid;place-items:center}
.checkout-page .payment-radio::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent)}
.checkout-page .payment-brands{display:flex;align-items:center;gap:5px;margin-left:auto}
.checkout-page .payment-brands>span{height:22px;min-width:30px;padding:0 5px;display:grid;place-items:center;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink);font:700 8px/1 Arial,sans-serif;letter-spacing:-.02em}
.checkout-page .payment-brands>.payment-mastercard{position:relative;display:flex;min-width:30px;padding:0 5px}
.checkout-page .payment-mastercard i{width:11px;height:11px;border-radius:50%;background:#df3b37}
.checkout-page .payment-mastercard i+i{margin-left:-4px;background:#e8a33a;opacity:.92}
.checkout-page .payment-fields{display:grid;gap:12px;padding:15px}
.checkout-page .payment-fields .field-label{margin:0}
.checkout-page .payment-fields input[readonly]{cursor:default;background:var(--paper);color:var(--muted)}
.checkout-page .payment-note{margin:9px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.checkout-page .billing-toggle{display:flex;align-items:flex-start;gap:10px;margin:14px 0 0;color:var(--ink);font-size:12px;line-height:1.5;cursor:pointer}
.checkout-page .billing-toggle input{width:16px;height:16px;margin:1px 0 0;flex:none;accent-color:var(--accent)}
.checkout-page .billing-fields{display:grid;gap:12px;min-width:0;margin-top:14px;padding:15px;border:1px solid var(--line);border-radius:10px;background:var(--wash)}
.checkout-page .billing-fields[hidden]{display:none}
.checkout-page .billing-fields .field-label{margin:0}
.checkout-page .billing-title{margin:0;color:var(--ink);font-size:13px;font-weight:600}
.checkout-page .checkout-submit{width:100%;min-height:54px;border-radius:10px}
.checkout-page .checkout-submit:disabled{opacity:.62;cursor:not-allowed;transform:none}
.checkout-page .order-summary{position:sticky;top:24px;padding:clamp(18px,2.4vw,25px);border-radius:12px;background:var(--wash);overflow-wrap:anywhere}
.checkout-page .summary-title{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px}
.checkout-page .summary-title h2{max-width:none;margin:0;font-size:25px;line-height:1.2}
.checkout-page .summary-item{display:grid;grid-template-columns:minmax(58px,68px) minmax(0,1fr) auto;gap:12px;align-items:start;padding:20px 0;border-bottom:1px solid var(--line)}
.checkout-page .summary-image{position:relative}
.checkout-page .summary-image img{width:68px;height:82px;object-fit:contain;background:var(--paper)}
.checkout-page .summary-image b{position:absolute;right:-7px;top:-7px;width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:700}
.checkout-page .summary-product{min-width:0;overflow-wrap:anywhere}
.checkout-page .summary-product strong,.checkout-page .summary-item>strong{font-size:12px}
.checkout-page .summary-product{display:grid;gap:4px}
.checkout-page .summary-product>span{color:var(--muted);font-size:11px;line-height:1.4}
.checkout-page .summary-qty{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}
.checkout-page .summary-qty strong{min-width:1ch;color:var(--ink);font-size:12px}
.checkout-page .totals{margin:12px 0 0}
.checkout-page .totals>div{display:flex;justify-content:space-between;gap:18px;padding:7px 0;font-size:11px}
.checkout-page .totals dt{color:var(--muted)}
.checkout-page .totals dd{margin:0;text-align:right}
.checkout-page .total-grand{margin-top:8px;padding-top:16px!important;border-top:1px solid var(--line);font-size:14px!important;font-weight:700}
.checkout-page .summary-note{font-size:10px;line-height:1.55}
@media(max-width:900px){.checkout-page .checkout-layout{grid-template-columns:minmax(0,1fr);gap:28px}.checkout-page .order-summary{position:static;grid-row:1}}
@media(max-width:620px){.checkout-page .checkout-main{width:90vw;padding:34px 0 64px}.checkout-page .field-grid,.checkout-page .field-grid-three{grid-template-columns:minmax(0,1fr)}.checkout-page .billing-fields{padding:12px}.checkout-page .summary-item{grid-template-columns:58px minmax(0,1fr) auto;gap:10px}.checkout-page .summary-image img{width:58px;height:72px}}

.checkout-page .checkout-error{margin:0 0 14px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--accent) 8%,var(--paper));color:var(--ink);font-size:12px;line-height:1.5}
.checkout-page .is-invalid{border-color:#b42318!important;box-shadow:0 0 0 1px #b42318!important}
.checkout-overlay{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(12,14,20,.54);backdrop-filter:blur(4px)}
.checkout-overlay[hidden]{display:none!important}
.checkout-dialog{width:min(92vw,430px);max-height:calc(100vh - 40px);overflow:auto;padding:26px;border-radius:16px;background:var(--paper);color:var(--ink);box-shadow:0 28px 80px rgba(12,14,20,.28);text-align:left}
.checkout-dialog h2{max-width:none;margin:0 0 10px;font:600 26px/1.15 var(--display);letter-spacing:-.02em}
.checkout-dialog:focus{outline:none}
.checkout-dialog p{margin:0 0 20px;color:var(--muted);font-size:13px;line-height:1.6}
.checkout-dialog-mark{display:grid;place-items:center;width:38px;height:38px;margin-bottom:16px;border-radius:50%;background:color-mix(in srgb,var(--accent) 14%,var(--paper));color:var(--accent);font:600 18px/1 var(--body)}
.checkout-dialog-actions{display:flex;justify-content:flex-end;gap:10px}
.checkout-dialog-actions .btn{min-width:104px}
.checkout-dialog-loading{text-align:center}
.checkout-dialog-loading p{margin:0}
.checkout-spinner{display:block;width:38px;height:38px;margin:2px auto 18px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:checkout-spin .85s linear infinite}
@keyframes checkout-spin{to{transform:rotate(360deg)}}
body.checkout-busy{overflow:hidden}
