/* Staging checkout: spacing separates sections; color identifies editable controls. */
.checkout-friendly{--checkout-accent:#4660B0;--checkout-fill:#E6ECF8;--checkout-summary:#E6ECF8;gap:48px;align-items:start}
.checkout-soft-preview .page-heading{position:relative;padding-right:86px;max-width:800px}
.checkout-companion{position:absolute;right:0;top:8px;width:68px;height:68px;object-fit:contain}
.checkout-soft-preview #preview-inline-help{border:0;text-decoration:none;background:transparent;padding:8px 0;min-height:44px}
html.staging-ui-preview .checkout-friendly .panel{border:0;box-shadow:none;border-radius:0;padding:0;background:transparent}
.checkout-friendly .checkout-stack{display:flex;flex-direction:column;gap:36px}
.checkout-friendly .section-head{margin-bottom:8px;gap:12px}
.checkout-friendly .panel h2{font-size:21px;line-height:1.3}
.checkout-friendly .checkout-address-editor>summary,.checkout-friendly .checkout-voucher>summary,.checkout-friendly .checkout-item-detail>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:var(--checkout-accent);font-weight:600;text-decoration:none;border:0;list-style:none}
.checkout-friendly summary::-webkit-details-marker{display:none}
.checkout-friendly details>summary:after{content:'+';margin-left:auto;font-size:20px;font-weight:400}
.checkout-friendly details[open]>summary:after{content:'−'}
.checkout-friendly .checkout-address-editor>.form-grid{margin-top:12px;gap:20px}
.checkout-address-summary{padding:16px;background:var(--checkout-fill);border-radius:12px;line-height:1.7;overflow-wrap:anywhere}
html.staging-ui-preview .checkout-friendly :is(.preview-optional,.checkout-voucher,.line-product,.total,.amount-line){border:0;box-shadow:none}
.checkout-friendly .checkout-voucher{padding:6px 0;margin:18px 0}
.checkout-friendly .checkout-item-detail{font-size:12px}
html.staging-ui-preview .checkout-friendly .summary-panel{background:var(--checkout-summary);padding:28px;border-radius:22px}
.checkout-friendly .summary-panel>h2{margin-bottom:24px}
.checkout-friendly #checkout-items .line-product{gap:16px;padding:0 0 22px;margin:0}
.checkout-friendly #checkout-items .line-product img{width:92px;height:108px;object-fit:cover;border-radius:12px}
.checkout-friendly .line-product>div{min-width:0}
html.staging-ui-preview .checkout-friendly :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px;min-width:0;max-width:100%;min-height:48px;background:var(--checkout-fill);border:1px solid transparent;border-radius:12px;box-shadow:none;color:var(--ink);padding:12px 14px}
html.staging-ui-preview .checkout-friendly .summary-panel :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:var(--white,#fff)}
html.staging-ui-preview .checkout-friendly :is(input,textarea,select,summary,button):focus-visible{outline:2px solid var(--checkout-accent);outline-offset:3px}
.checkout-friendly .field{min-width:0}.checkout-friendly .field small{font-weight:400}
html.staging-ui-preview .checkout-friendly .shipping-option{border:0;border-radius:12px;min-height:72px;background:var(--checkout-fill);gap:12px;padding:16px}
html.staging-ui-preview .checkout-friendly .shipping-option.selected{background:#E6ECF8}
.checkout-friendly .shipping-option input{accent-color:var(--checkout-accent)}
.checkout-friendly .shipping-option-title{flex-wrap:wrap}.checkout-friendly .shipping-option strong{white-space:nowrap}
.checkout-friendly .shipping-heading{margin-bottom:18px}.checkout-friendly .shipping-heading p{margin-top:6px}
.checkout-friendly .shipping-symbol{background:transparent;padding:0;width:32px;height:32px}
.checkout-friendly .btn.secondary{border:0;background:var(--checkout-fill);box-shadow:none}
.checkout-friendly #checkout-payment-panel>p:nth-of-type(2){display:none}
.checkout-payment-note{line-height:1.7;color:var(--muted)}
#checkout-friendly-error{background:#fff0ec;color:#8e322a;padding:14px;border-radius:10px;line-height:1.6}
.checkout-friendly .checkout-consent{font-size:13px;line-height:1.65}
.checkout-friendly .checkout-sample-note{display:none}
html.staging-ui-preview .checkout-friendly .credit-box{border:0;background:transparent;box-shadow:none}
.checkout-soft-preview #preview-checkout-bar{border:0;box-shadow:0 -5px 20px #1F2A440a}
[data-theme=dark] .checkout-friendly{--checkout-accent:#D5DDEB;--checkout-fill:#1F2A44;--checkout-summary:#1F2A44}
html[data-theme=dark].staging-ui-preview .checkout-friendly .shipping-option.selected{background:#1F2A44}
@media(max-width:700px){
 .checkout-friendly{gap:28px}.checkout-friendly .checkout-stack{gap:30px}
 .checkout-soft-preview .page-heading{padding-right:62px;margin-bottom:28px}
 .checkout-soft-preview .page-heading h1{font-size:28px!important;line-height:1.15}
 .checkout-companion{width:52px;height:52px;top:0}
 html.staging-ui-preview .checkout-friendly .summary-panel{padding:20px;border-radius:18px}
 .checkout-friendly .form-grid{grid-template-columns:minmax(0,1fr)}.checkout-friendly .span2{grid-column:auto}
 .checkout-friendly .section-head h2{font-size:20px}
 .checkout-friendly #checkout-items .line-product img{width:82px;height:96px}
 .checkout-friendly #checkout-items .line-product{gap:12px}
 .checkout-friendly .destination-search-row{gap:8px}
}
@media(prefers-reduced-motion:no-preference){.checkout-friendly .shipping-option{transition:background .16s}}
/* Refined density: keep the form calm and the order summary easy to scan. */
.checkout-soft-preview #main>.container{max-width:1180px}
.checkout-soft-preview .steps{display:none}
.checkout-soft-preview .breadcrumb{padding:20px 0;font-size:12px}
.checkout-soft-preview .page-heading{max-width:700px;margin:4px 0 32px;padding-right:76px}
.checkout-soft-preview .page-heading h1{font-size:clamp(28px,3.2vw,40px);letter-spacing:-.045em;line-height:1.13}
.checkout-soft-preview .page-heading>p{font-size:14px;margin-top:10px;line-height:1.6}
.checkout-soft-preview #preview-inline-help{font-size:12px;padding:4px 0;margin-top:5px;color:var(--muted)}
.checkout-companion{width:60px;height:60px;right:6px}
html.staging-ui-preview .checkout-friendly{grid-template-columns:minmax(0,1.35fr) minmax(340px,1fr);gap:52px;--checkout-fill:#E6ECF8;--checkout-summary:#E6ECF8}
.checkout-friendly .checkout-stack{gap:28px}
.checkout-friendly .checkout-stack h2{font-size:20px;margin:0 0 12px;letter-spacing:-.025em}
.checkout-friendly .section-head{margin:0}
.checkout-friendly .checkout-address-editor{margin:0;padding:0}
.checkout-friendly .checkout-address-editor>summary{font-size:12px;min-height:36px;max-width:100%;opacity:.9}
.checkout-friendly .checkout-address-editor>.form-grid{margin-top:10px;row-gap:16px}
html.staging-ui-preview .checkout-friendly .field{font-size:13px;font-weight:500;gap:7px}
html.staging-ui-preview .checkout-friendly .field small{font-size:11px;line-height:1.5;margin-top:5px}
.checkout-friendly .preview-optional{margin-top:10px;padding-top:0}
.checkout-friendly .preview-optional summary{font-size:12px!important}
.checkout-friendly #preview-location:empty,.checkout-friendly #destination-results:empty,.checkout-friendly #shipping-message:empty{display:none}
.checkout-friendly .destination-choice{margin-top:10px;padding:12px 14px;border:0;background:var(--checkout-fill);border-radius:10px}
.checkout-friendly .destination-choice>span{font-size:11px}
html.staging-ui-preview .checkout-friendly .summary-panel{padding:26px;border-radius:20px;position:static}
.checkout-friendly .summary-panel>h2{font-size:22px;margin-bottom:22px;letter-spacing:-.025em}
.checkout-friendly #checkout-items .line-product{gap:16px;padding-bottom:16px;align-items:flex-start}
.checkout-friendly #checkout-items .line-product img{width:100px;height:120px}
.checkout-friendly #checkout-items .line-product strong{font-size:14px;line-height:1.45}
.checkout-friendly #checkout-items .line-product small{font-size:12px;line-height:1.6}
.checkout-friendly #checkout-items .checkout-item-detail{margin:4px 0 0;padding:0;min-height:0;background:transparent}
.checkout-friendly #checkout-items .checkout-item-detail>summary{font-size:12px;min-height:36px}
html.staging-ui-preview .checkout-friendly .checkout-voucher{margin:4px 0 12px;padding:0;background:transparent}
.checkout-friendly .checkout-voucher>summary{font-size:13px}
.checkout-friendly .checkout-voucher .field{margin-top:8px!important}
html.staging-ui-preview .checkout-friendly .credit-box{margin:0 0 16px;padding:12px 0}
.checkout-friendly .credit-row .tier-medal{width:36px;height:36px;flex:0 0 36px}
.checkout-friendly .credit-row .tier-medal img{width:36px;height:36px}
.checkout-friendly .credit-row strong{font-size:13px}
.checkout-friendly .checkout-reward-info{margin:6px 0 0;padding:0;background:transparent;border:0}
.checkout-friendly .checkout-reward-info>summary{list-style:none;display:flex;align-items:center;min-height:36px;cursor:pointer;font-size:12px;color:var(--checkout-accent)}
.checkout-friendly .credit-note{font-size:11px!important}
.checkout-friendly #checkout-totals .total{padding-top:12px;margin-top:8px;font-size:19px}
.checkout-friendly .checkout-consent{margin:18px 0;font-size:12px}
.checkout-friendly .shipping-heading{gap:12px;margin-bottom:12px}
.checkout-friendly .shipping-heading p,.checkout-friendly .shipping-options-heading p,.checkout-payment-note{font-size:13px;line-height:1.6}
.checkout-friendly #checkout-payment-panel>p{font-size:13px}
html[data-theme=dark].staging-ui-preview .checkout-friendly{--checkout-accent:#D5DDEB;--checkout-fill:#1F2A44;--checkout-summary:#1F2A44}
@media(max-width:800px){html.staging-ui-preview .checkout-friendly{grid-template-columns:minmax(0,1fr);gap:28px}}
@media(max-width:700px){
 .checkout-soft-preview .page-heading{padding-right:64px;margin-bottom:24px}
 .checkout-soft-preview .page-heading h1{font-size:28px!important;max-width:280px}
 .checkout-soft-preview .page-heading>p{font-size:13px;max-width:280px}
 .checkout-companion{width:50px;height:50px;right:0}
 html.staging-ui-preview .checkout-friendly .summary-panel{padding:20px;border-radius:16px}
 .checkout-friendly #checkout-items .line-product img{width:86px;height:104px}
 .checkout-friendly #checkout-items .line-product{gap:12px}
 .checkout-friendly .checkout-stack h2{font-size:19px}
 .checkout-friendly .checkout-address-editor>.form-grid{row-gap:14px}
 .checkout-friendly .shipping-option{padding:14px!important;min-height:68px!important}
 .checkout-soft-preview #preview-checkout-bar{padding-top:10px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
}
