.checkout-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex-shrink:0;padding:3px 0 17px;color:var(--dealer-ink,#14243d)}
.checkout-step{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid var(--dealer-line,#dce4ee);border-radius:10px;font-size:13px;text-align:left;background:var(--dealer-soft,#f5f8fc);color:var(--dealer-muted,#57687e);line-height:1.5;cursor:pointer}
.checkout-step-number{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex-shrink:0;border:1px solid var(--dealer-line,#dce4ee);border-radius:50%;font-weight:700;background:var(--dealer-surface,#fff)}
.checkout-step>span:last-child{min-width:0;max-width:100%;overflow-wrap:anywhere}.checkout-stage button[hidden]{display:none!important}
.checkout-step[aria-current=step]{background:var(--dealer-highlight,#edf3ff);border-color:var(--dealer-blue,#245ee8);color:var(--dealer-blue,#245ee8);font-weight:700}.checkout-step[aria-current=step] .checkout-step-number{background:#245ee8;border-color:#245ee8;color:white}.checkout-step-complete{color:var(--dealer-ink,#14243d)}
.checkout-stage[hidden],.checkout-send-actions[hidden],.checkout-navigation>[hidden]{display:none!important}.checkout-stage-title{font-size:20px;font-weight:700;line-height:1.5;margin:3px 0 8px;color:var(--dealer-ink,#14243d);outline-offset:3px}.checkout-description{font-size:12px;color:var(--dealer-muted,#57687e);line-height:1.8;margin-bottom:16px}
.checkout-preparation-actions,.checkout-selection-tools,.checkout-navigation,.checkout-send-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.checkout-preparation-actions{margin-bottom:16px}.checkout-selection-tools{justify-content:space-between;padding:13px 0;border-top:1px solid var(--dealer-line,#dce4ee);border-bottom:1px solid var(--dealer-line,#dce4ee);margin-bottom:10px;font-size:12px;color:var(--dealer-muted,#57687e)}.checkout-selection-tools label{display:flex;gap:8px;align-items:center;color:var(--dealer-ink,#14243d);font-weight:600;cursor:pointer}
.checkout-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;min-height:40px;font:inherit;font-size:12px;font-weight:600;border:1px solid var(--dealer-line,#dce4ee);border-radius:8px;background:var(--dealer-surface,#fff);color:var(--dealer-ink,#14243d);cursor:pointer}.checkout-primary{background:#245ee8;border-color:#245ee8;color:white}.checkout-button:disabled,.checkout-step:disabled{opacity:.5;cursor:default}.checkout-button:focus-visible,.checkout-step:focus-visible{outline:3px solid var(--dealer-blue,#245ee8);outline-offset:2px}
.checkout-notice{font-size:12px;line-height:1.7;color:#b45309;padding:10px 12px;background:#fffbeb;border-radius:8px;margin-bottom:12px;flex-shrink:0}.checkout-notice:empty{display:none}.dark .checkout-notice{background:#422f16;color:#fcd34d}
#orderModal .checkout-stage>.order-modal-details-column,#orderModal .checkout-stage>.order-modal-items-column{width:100%;max-width:none;min-width:0}#checkoutStage2 .order-modal-details-column{max-width:760px;margin:auto}#checkoutStage2 #deliveryDetailsContent{display:block!important}#checkoutStage2 .order-modal-details-column>div{border:none;background:transparent}#checkoutStage2 #deliveryDetailsContent{border:none;padding:12px 0;background:transparent}
.checkout-line-select{display:flex;align-items:center;gap:6px;font-size:11px;flex-shrink:0;padding-top:2px;color:var(--dealer-muted,#57687e);cursor:pointer}.checkout-line-select input,.checkout-selection-tools input{width:18px;height:18px;accent-color:#245ee8;flex-shrink:0}.checkout-line-unselected .basket-item-details{opacity:.5}.checkout-line-unselected .basket-item-heading h4{color:var(--dealer-muted,#57687e)!important}.checkout-line-unselected .basket-line-total{opacity:.5}
#modalItemsList .basket-item-heading{display:flex;gap:12px!important}.checkout-footer{justify-content:space-between;align-items:center}.checkout-selected-total{flex-shrink:0}.checkout-navigation{justify-content:flex-end}.checkout-send-actions{justify-content:flex-end}
.checkout-buyer-summary{display:grid;grid-template-columns:180px minmax(0,1fr);gap:9px 18px;font-size:13px;line-height:1.65;padding:20px;background:var(--dealer-soft,#f5f8fc);border-radius:10px;margin:14px 0 22px}.checkout-buyer-summary dt{color:var(--dealer-muted,#57687e)}.checkout-buyer-summary dd{color:var(--dealer-ink,#14243d);font-weight:500;overflow-wrap:anywhere;white-space:pre-wrap;margin:0}
.checkout-review-scroll{overflow:auto}.checkout-review-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.6;color:var(--dealer-ink,#14243d)}.checkout-review-table th,.checkout-review-table td{padding:13px 10px;border-bottom:1px solid var(--dealer-line,#dce4ee);text-align:right;font-variant-numeric:tabular-nums}.checkout-review-table th:first-child,.checkout-review-table td:first-child{text-align:left;max-width:420px;overflow-wrap:anywhere}.checkout-review-table small{display:block;color:var(--dealer-muted,#57687e);font-size:11px;margin-top:4px}.checkout-review-table th{font-weight:500;color:var(--dealer-muted,#57687e)}.checkout-empty{padding:26px 12px;text-align:center;font-size:13px;color:var(--dealer-muted,#57687e)}
@media(max-width:767px){.checkout-steps{gap:6px;padding-bottom:12px}.checkout-step{flex-direction:column;justify-content:flex-start;text-align:center;font-size:11px;padding:9px 5px;gap:5px}.checkout-step-number{width:27px;height:27px}.checkout-stage-title{font-size:18px}.checkout-footer{gap:12px!important;align-items:stretch!important}.checkout-navigation{width:100%;justify-content:space-between}.checkout-navigation>.checkout-button{flex:1}.checkout-navigation>button[onclick="closeOrderModal()"]{display:none}.checkout-send-actions{width:100%;display:grid;grid-template-columns:1fr auto auto;gap:7px}.checkout-send-actions .submit-server-order{grid-column:1/-1;grid-row:1}.checkout-send-actions>.order-alternatives{grid-column:1/3}.checkout-buyer-summary{grid-template-columns:1fr;gap:3px;padding:15px}.checkout-buyer-summary dd{margin-bottom:10px}.checkout-review-table{font-size:11px}.checkout-review-table th,.checkout-review-table td{padding:10px 5px}.checkout-review-table th:first-child{width:42%}.checkout-selection-tools{font-size:11px;gap:10px}.checkout-line-select span{display:none}.checkout-line-select{padding:4px}.checkout-button{min-height:44px}.checkout-stage .saved-carts-panel>summary{font-size:12px}#modalItemsList .basket-item-heading{flex-direction:row!important}#checkoutStage2 input,#checkoutStage2 select,#checkoutStage2 textarea{font-size:16px!important;min-height:44px}}
@media print{.checkout-steps,.checkout-navigation,.checkout-footer,.checkout-notice,.checkout-description{display:none!important}#orderModal .order-modal-shell{height:auto!important}#orderModal .checkout-stage[hidden]{display:none!important}#orderModal #checkoutStage3{display:block!important}.checkout-buyer-summary{display:grid!important;break-inside:avoid}.checkout-review-scroll{overflow:visible}.checkout-review-table{font-size:11px}#modalBody{height:auto!important;max-height:none!important}#printMeta{display:none!important}}

/* Cart thumbnails use the same product photos and fallback as catalog cards. */
#modalItemsList .basket-item-heading{align-items:center;justify-content:flex-start}
#modalItemsList .basket-item-photo{flex:0 0 76px;width:76px;min-width:0}
#modalItemsList .basket-item-photo .product-img-container{box-sizing:border-box;width:76px!important;height:76px!important;min-width:0!important;padding:5px;margin:0;border:1px solid #dbe3ed;border-radius:9px;background:#fff;overflow:hidden}
#modalItemsList .basket-item-photo .product-img{width:100%!important;height:100%!important;object-fit:contain;position:static;transform:none;border:0;background:#fff}
#modalItemsList .basket-item-photo .sf-ribbon{display:none}
#modalItemsList .basket-item-info{flex:1;min-width:0;text-align:left}
#modalItemsList .basket-price-notice{flex:1;min-width:0}
@media(max-width:767px){#modalItemsList .basket-item-photo{flex-basis:64px;width:64px}#modalItemsList .basket-item-photo .product-img-container{width:64px!important;height:64px!important}#modalItemsList .basket-item-heading{flex-wrap:wrap}#modalItemsList .basket-item-heading .basket-price-notice{flex-basis:100%}}
