/* Shared catalogue/Christmas checkout: two screens, with an accessible overflow fallback. */
.type-system #checkout-dialog{width:1320px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 28px);padding:22px 26px 0;background:#fff;overflow:auto;overscroll-behavior:contain;scroll-padding-block:16px 110px}
.type-system #checkout-dialog .dialog-close{position:absolute;top:12px;right:12px;width:36px;height:36px;font-size:26px;z-index:3}
.type-system #checkout-dialog .checkout-topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px;padding-right:42px;margin-bottom:18px}
.type-system #checkout-dialog .checkout-progress{display:flex;gap:22px;max-width:490px;width:48%;margin:0}
.type-system #checkout-dialog .checkout-progress span{font-size:12px;line-height:1.4;letter-spacing:.4px;padding:7px 0}
.type-system #checkout-dialog .checkout-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 12px}
.type-system #checkout-dialog h2{font-size:30px;line-height:1.25;letter-spacing:-.5px;margin:0}
.type-system #checkout-dialog #checkout-heading:focus{outline:none}
.type-system #checkout-dialog .checkout-heading>p{font-size:14px;line-height:1.5;max-width:350px;color:#6c6268}
.type-system #checkout-dialog .checkout-demo-note{font-size:13px;line-height:1.5;padding:8px 12px;background:#faf5f6;color:#70545c;border-left:2px solid #b7985a;margin:0 0 16px}
.type-system #checkout-dialog .checkout-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
.type-system #checkout-dialog .checkout-fields{min-width:0}
.type-system #checkout-dialog fieldset{border:0;padding:0;margin:0 0 14px;min-width:0}
.type-system #checkout-dialog fieldset:last-child{margin-bottom:0}
.type-system #checkout-dialog legend{font-size:18px;font-family:Serif,Georgia,serif;line-height:1.4;color:#613a43;padding:0;margin-bottom:9px}
.type-system #checkout-dialog .checkout-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}
.type-system #checkout-dialog .field{margin:0;gap:5px;font-size:13px;line-height:1.4;min-width:0}
.type-system #checkout-dialog .field :is(input,select,textarea){padding:8px 10px;font-size:16px;line-height:1.4;min-width:0;min-height:42px;width:100%;background:#fff}
.type-system #checkout-dialog .field textarea{height:56px;min-height:56px;resize:vertical}
.type-system #checkout-dialog .checkout-wide-field{grid-column:1/-1}
.type-system #checkout-dialog .checkout-hint{font-size:12px;line-height:1.5;color:#73676d;margin-top:7px}
.type-system #checkout-dialog .checkout-review{padding:16px 18px;background:#fbf7f8;border:1px solid #eee4e7;min-width:0}
.type-system #checkout-dialog .checkout-product{padding:0;margin:0;gap:14px;background:transparent;align-items:center}
.type-system #checkout-dialog .checkout-product img{width:76px;height:86px;object-fit:contain;background:#f3eeef;flex:none}
.type-system #checkout-dialog .checkout-product h3{font-size:21px;line-height:1.3;margin:0}
.type-system #checkout-dialog .checkout-product strong{display:block;font-size:19px;line-height:1.4;margin-top:3px}
.type-system #checkout-dialog .checkout-product small{font-size:12px;line-height:1.45;margin-top:4px}
.type-system #checkout-dialog .payment-spec{border:0;border-bottom:1px solid #e6d8dc;margin:14px 0;padding:0 0 12px}
.type-system #checkout-dialog .payment-spec h3{font-size:17px;line-height:1.4;margin:0 0 6px}
.type-system #checkout-dialog .payment-spec p{font-size:14px;line-height:1.5;margin:5px 0}
.type-system #checkout-dialog .payment-spec small{font-size:12px;line-height:1.45;margin-top:8px}
.type-system #checkout-dialog .checkout-totals{margin:12px 0}
.type-system #checkout-dialog .checkout-totals>div{font-size:14px;line-height:1.4;margin-bottom:7px;gap:14px}
.type-system #checkout-dialog .checkout-totals dd{white-space:nowrap}
.type-system #checkout-dialog .checkout-totals .total{font-size:21px;border-color:#decbd0;padding-top:10px;margin-top:10px;margin-bottom:0}
.type-system #checkout-dialog .checkout-payment-note{font-size:12px;line-height:1.5;color:#73676d;margin:9px 0 0}
.type-system #checkout-dialog .form-error{font-size:14px;line-height:1.5;color:#a33448;margin:10px 0 0}
.type-system #checkout-dialog .form-error:empty{display:none}
.type-system #checkout-dialog .checkout-actions{position:sticky;bottom:0;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 24px;padding:14px 0;margin:14px 0 0;border-top:1px solid #e6d8dc;background:#fff;z-index:2}
.type-system #checkout-dialog .checkout-actions .form-error{flex-basis:100%;margin:0}
.type-system #checkout-dialog .checkout-actions .payment-agreement{flex:1}
.type-system #checkout-dialog .payment-agreement{font-size:13px;line-height:1.5;max-width:630px;margin:0;align-items:center;cursor:pointer}
.type-system #checkout-dialog .payment-agreement input{width:20px;height:20px;margin:0;flex:none}
.type-system #checkout-dialog .button{font-size:16px;line-height:1.4;min-height:46px;padding:12px 20px;gap:20px}
.type-system #checkout-dialog .checkout-submit{flex:none}
.type-system #checkout-dialog .checkout-mobile-total{display:none}
/* Payment: order, unaltered QR and manual confirmation are adjacent. */
.type-system #checkout-dialog .payment-heading .eyebrow{font-size:11px;line-height:1.4;letter-spacing:1px;margin:0 0 5px}
.type-system #checkout-dialog .payment-status{font-size:12px;line-height:1.4;padding:7px 10px;margin:0;text-align:center}
.type-system #checkout-dialog .payment-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr) minmax(0,1fr);align-items:start;gap:22px}
.type-system #checkout-dialog .payment-order-card{min-width:0;padding:14px 16px;background:#fbf7f8;border:1px solid #eee4e7}
.type-system #checkout-dialog .payment-order-card .checkout-product img{width:62px;height:76px}
.type-system #checkout-dialog .payment-order-card .checkout-product h3{font-size:21px}
.type-system #checkout-dialog .payment-delivery{display:grid;gap:10px;margin:18px 0}
.type-system #checkout-dialog .payment-delivery dt{font-size:12px;line-height:1.4;color:#73676d}
.type-system #checkout-dialog .payment-delivery dd{font-size:14px;line-height:1.5;margin:2px 0 0;overflow-wrap:anywhere}
.type-system #checkout-dialog .payment-order-amount{border-top:1px solid #decbd0;padding-top:12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:13px}
.type-system #checkout-dialog .payment-order-amount strong{font-size:22px;color:#613a43;font-weight:400}
.type-system #checkout-dialog .payment-preview-compact{display:flex;flex-direction:column;align-items:center;gap:0;padding:16px 18px;margin:0;background:#fff;border:1px solid #ddc9b0;text-align:center;min-width:0}
.type-system #checkout-dialog .payment-eyebrow{font-size:11px;letter-spacing:1px;line-height:1.4}
.type-system #checkout-dialog .payment-preview-compact .payment-exact-amount{font-family:Noto,Arial,sans-serif;font-size:31px;line-height:1.2;margin:10px 0 2px;font-weight:500}
.type-system #checkout-dialog .payment-preview-compact .payment-amount-caption{font-size:12px;line-height:1.4;margin:0 0 14px}
.type-system #checkout-dialog .payment-qr{width:220px;max-width:100%;margin:0}
.type-system #checkout-dialog .payment-qr figcaption{font-size:11px;line-height:1.45;margin-top:9px}
.type-system #checkout-dialog .payment-preview-compact .payment-account{font-size:12px;line-height:1.5;margin:12px 0}
.type-system #checkout-dialog .payment-holder-label{font-size:11px;margin:0 0 3px}
.type-system #checkout-dialog .payment-holder{font-size:12px;font-weight:500}
.type-system #checkout-dialog .payment-original{font-size:13px;line-height:1.4;padding:3px 0}
.type-system #checkout-dialog .payment-whatsapp-panel{margin:0;padding:14px 0 0;border:0;min-width:0}
.type-system #checkout-dialog .payment-whatsapp-panel .eyebrow{font-size:11px;letter-spacing:1px;line-height:1.4;margin:0 0 10px}
.type-system #checkout-dialog .payment-whatsapp-panel h3{font-size:26px;line-height:1.25;margin:0 0 13px}
.type-system #checkout-dialog .payment-whatsapp-panel p{font-size:14px;line-height:1.6;margin:10px 0}
.type-system #checkout-dialog .payment-whatsapp-panel p:empty{display:none}
.type-system #checkout-dialog .payment-whatsapp-panel .checkout-candle-note{font-size:13px;background:#fbf7f8;padding:10px 12px}
.type-system #checkout-dialog .payment-whatsapp{font-size:15px;line-height:1.4;min-height:48px;margin-top:18px;padding:12px 16px;white-space:normal;text-align:center;gap:12px}
.type-system #checkout-dialog .payment-whatsapp-panel .payment-manual-note{font-size:12px;line-height:1.6;margin-top:12px}
.type-system #checkout-dialog .payment-followup{padding:12px 0 0;margin:12px 0 0;border:0;border-top:1px solid #e6d8dc}
.type-system #checkout-dialog .payment-followup summary{font-size:13px;line-height:1.5;cursor:pointer}
.type-system #checkout-dialog .payment-followup p{font-size:13px;line-height:1.6;margin:10px 0}
.type-system #checkout-dialog .payment-steps{margin:18px 0 14px;gap:18px;font-size:12px;line-height:1.4}
.type-system #checkout-dialog .payment-steps li{display:flex;align-items:center;gap:8px;padding-top:8px}
.type-system #checkout-dialog .payment-steps span{margin:0}
.type-system #checkout-dialog .payment-status-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin:0;padding:0 0 18px}
.type-system #checkout-dialog .payment-status-actions .text-link{font-size:13px;line-height:1.4;padding:0 0 3px;gap:8px}
.type-system #checkout-dialog.checkout-payment-view .checkout-actions{display:none}
.type-system #checkout-dialog .payment-state-card{padding:25px 22px;border:1px solid #e6d8dc;background:#fbf7f8;text-align:center}
.type-system #checkout-dialog .payment-state-symbol{display:block;color:#9b7844;font-size:38px;margin:0 0 12px}
.type-system #checkout-dialog .payment-state-card h3{font-size:26px;line-height:1.3;margin:0 0 14px}
.type-system #checkout-dialog .payment-state-card p{font-size:15px;line-height:1.6}
@media(min-width:960px) and (max-height:800px){
 .type-system #checkout-dialog{padding-top:16px;max-height:calc(100dvh - 20px)}
 .type-system #checkout-dialog .checkout-topbar{margin-bottom:12px}
 .type-system #checkout-dialog .checkout-heading{margin-bottom:9px}
 .type-system #checkout-dialog .checkout-demo-note{margin-bottom:12px;padding-block:6px}
 .type-system #checkout-dialog .checkout-field-grid{gap:8px 14px}
 .type-system #checkout-dialog .field{gap:4px}
 .type-system #checkout-dialog fieldset{margin-bottom:10px}
 .type-system #checkout-dialog .payment-qr{width:200px}
 .type-system #checkout-dialog .checkout-actions{margin-top:10px;padding-block:10px}
}
@media(min-width:960px) and (max-width:1100px){
 .type-system #checkout-dialog .checkout-review{padding:14px 16px}
 .type-system #checkout-dialog .payment-spec{margin:10px 0;padding-bottom:9px}
 .type-system #checkout-dialog .payment-spec p{line-height:1.45}
 .type-system #checkout-dialog .payment-spec small{margin-top:6px}
 .type-system #checkout-dialog .checkout-totals .total{margin-top:8px;padding-top:8px}
}
@media(max-width:959px){
 .type-system #checkout-dialog{max-width:calc(100vw - 20px);padding:18px 20px 0;max-height:calc(100dvh - 20px)}
 .type-system #checkout-dialog .checkout-topbar{align-items:flex-start;gap:15px;margin-bottom:15px}
 .type-system #checkout-dialog .checkout-progress{width:55%;gap:14px}
 .type-system #checkout-dialog .checkout-progress span{font-size:11px}
 .type-system #checkout-dialog .checkout-heading{display:block}
 .type-system #checkout-dialog .checkout-heading>p{max-width:none;margin-top:7px}
 .type-system #checkout-dialog .checkout-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 .type-system #checkout-dialog .checkout-review{padding:16px}
 .type-system #checkout-dialog .checkout-actions{gap:10px;margin-top:16px;flex-wrap:wrap;padding:12px 0}
 .type-system #checkout-dialog .payment-agreement{max-width:none;width:100%;font-size:12px}
 .type-system #checkout-dialog .checkout-submit{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%}
 .type-system #checkout-dialog .checkout-mobile-total{display:block;font-size:12px;line-height:1.4;color:#73676d;flex:none}
 .type-system #checkout-dialog .checkout-mobile-total strong{display:block;font-size:20px;color:#613a43}
 .type-system #checkout-dialog .payment-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .type-system #checkout-dialog .payment-preview-compact{grid-column:1;grid-row:1}
 .type-system #checkout-dialog .payment-whatsapp-panel{grid-column:2;grid-row:1}
 .type-system #checkout-dialog .payment-order-card{grid-column:1/-1;grid-row:2}
 .type-system #checkout-dialog .payment-heading{display:flex}
 .type-system #checkout-dialog.checkout-payment-view .checkout-actions{display:flex;flex-wrap:nowrap}
 .type-system #checkout-dialog .payment-mobile-link{margin:0;font-size:14px;min-width:0}
 .type-system #checkout-dialog .payment-layout-status .payment-state-card{grid-column:1;grid-row:1}
}
@media(max-width:600px){
 .type-system #checkout-dialog{width:100%;max-width:100%;max-height:100dvh;padding:16px 16px 0;margin:auto;scroll-padding-bottom:150px}
 .type-system #checkout-dialog .dialog-close{top:8px;right:8px}
 .type-system #checkout-dialog .checkout-topbar{display:grid;gap:12px;padding:26px 0 0;margin-bottom:14px}
 .type-system #checkout-dialog .checkout-progress{width:100%;max-width:none;gap:18px}
 .type-system #checkout-dialog .checkout-progress span{padding:4px 0 7px}
 .type-system #checkout-dialog h2{font-size:27px}
 .type-system #checkout-dialog .checkout-demo-note{font-size:12px;padding:7px 10px}
 .type-system #checkout-dialog .checkout-field-grid{gap:12px 10px}
 .type-system #checkout-dialog .field{font-size:12px}
 .type-system #checkout-dialog fieldset:nth-child(2) .field{grid-column:1/-1}
 .type-system #checkout-dialog .checkout-hint{font-size:12px}
 .type-system #checkout-dialog .checkout-review .checkout-product h3{font-size:23px}
 .type-system #checkout-dialog .checkout-actions{padding-bottom:max(12px,env(safe-area-inset-bottom));margin-top:16px;box-shadow:0 -8px 12px #fff}
 .type-system #checkout-dialog .checkout-actions .button{font-size:15px;padding:12px 14px;gap:14px}
 .type-system #checkout-dialog .payment-heading{display:block}
 .type-system #checkout-dialog .payment-heading .payment-status{display:inline-block;margin-top:10px}
 .type-system #checkout-dialog .payment-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 .type-system #checkout-dialog .payment-preview-compact{grid-row:1;grid-column:1;padding:14px 18px}
 .type-system #checkout-dialog .payment-qr{width:214px}
 .type-system #checkout-dialog .payment-whatsapp-panel{grid-row:2;grid-column:1;padding:0}
 .type-system #checkout-dialog .payment-order-card{grid-row:3;grid-column:1}
 .type-system #checkout-dialog .payment-steps{grid-template-columns:repeat(2,minmax(0,1fr));font-size:11px}
 .type-system #checkout-dialog .payment-status-actions{gap:12px 18px}
 .type-system #checkout-dialog.checkout-payment-view .checkout-actions{gap:12px}
 .type-system #checkout-dialog .checkout-mobile-total strong{font-size:19px}
 .type-system #checkout-dialog.checkout-payment-view .checkout-mobile-total{max-width:105px;flex-shrink:0;flex-basis:90px;font-size:11px}
 .type-system #checkout-dialog.checkout-payment-view .payment-mobile-link{font-size:13px;padding:11px 12px;gap:10px}
}
