.checkout-review{padding:0!important;overflow:hidden;scroll-margin-top:100px}
.checkout-head{padding:26px 28px 22px;border-bottom:1px solid #e8e9ed;display:flex;align-items:center;justify-content:space-between;gap:18px}.checkout-head h3{margin:0;font-size:26px;letter-spacing:-.7px}.checkout-head p{margin:6px 0 0;color:#656b75;font-size:15px}.checkout-head button{background:#f5f5f7;color:#30343b;border:0;border-radius:12px;min-height:44px;padding:10px 16px;cursor:pointer;font:inherit}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;align-items:start}.checkout-products{padding:24px 28px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.checkout-position{padding:20px!important;border:1px solid #e5e7ec;border-radius:16px;min-width:0;background:#fff}.checkout-position h4{font-size:18px;line-height:1.4;margin:0 0 12px!important}.checkout-position .product-preview.product-cards-v1{grid-template-columns:88px minmax(0,1fr)!important;gap:14px;margin:0}.checkout-position .product-image-link{min-height:112px!important;padding:8px!important}.checkout-position img[data-product-image]{height:94px!important}.checkout-position .product-keyfacts{grid-template-columns:1fr!important;gap:8px!important}.checkout-position .product-keyfacts>div{grid-column:auto!important;grid-row:auto!important}.checkout-position .product-keyfacts dt{font-size:12px!important}.checkout-position .product-keyfacts dd{font-size:14px!important}.checkout-position .product-details summary{font-size:13px!important;min-height:40px}.checkout-position figcaption{font-size:10px!important}.checkout-position .checkout-line-note{font-size:13px;color:#656b75;margin:10px 0 0}
.checkout-sidebar{padding:24px;border-left:1px solid #e8e9ed;background:#fafafb;display:grid;gap:16px}.checkout-address{padding:18px;border:1px solid #e6e8ed;border-radius:14px;background:#fff}.checkout-address h4{font-size:15px;margin:0 0 12px}.checkout-address p{margin:3px 0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.checkout-address button,.checkout-reference button{margin-top:12px;border:0;background:transparent;padding:6px 0;color:#9a5700;font:500 14px system-ui;cursor:pointer;min-height:40px;text-align:left}.checkout-reference{padding:4px 0}.checkout-reference small{display:block;color:#656b75;margin-bottom:5px}.checkout-reference b{font-size:16px;overflow-wrap:anywhere}.checkout-logistics{display:grid;gap:12px;font-size:14px}.checkout-logistics dt{color:#656b75;font-size:12px;margin-bottom:3px}.checkout-logistics dd{margin:0;line-height:1.4}
.checkout-assistant{margin:0 28px 24px;padding:20px;border:1px solid #e3e5eb;border-radius:16px;background:#f9f9fb}.checkout-assistant h4{margin:0 0 5px;font-size:18px}.checkout-assistant>p{margin:0 0 14px;font-size:14px;color:#656b75}.checkout-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.checkout-shortcuts button{border:1px solid #e1e3e9;background:#fff;color:#353940;padding:9px 13px;border-radius:20px;min-height:40px;cursor:pointer;font:500 13px system-ui}.checkout-ask-form{display:flex;gap:10px;align-items:flex-end;background:#fff;border:1px solid #dadde5;border-radius:12px;padding:10px}.checkout-ask-form textarea{width:100%;min-height:48px;max-height:170px;resize:vertical;border:0;background:transparent;padding:7px;font:16px/1.5 system-ui;outline-offset:3px}.checkout-ask-form button{min-height:44px;white-space:nowrap}.checkout-answer{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.6;margin-top:14px}.checkout-edit{padding:18px;background:#fff;border:1px solid #dedfe6;border-radius:12px;margin:14px 0}.checkout-edit[hidden]{display:none}.checkout-edit h4{font-size:17px}.checkout-edit p{font-size:14px;color:#626975;line-height:1.5}.checkout-edit label{display:block;font-size:14px;margin:12px 0 6px}.checkout-edit input,.checkout-edit textarea{display:block;width:100%;padding:12px;border:1px solid #d5d9e2;border-radius:10px;background:#fff;font:16px/1.5 system-ui;box-sizing:border-box}.checkout-edit textarea{min-height:100px;resize:vertical}.checkout-edit-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.checkout-message{font-size:14px;line-height:1.5;margin:12px 0 0}.checkout-footer{padding:24px 28px;border-top:1px solid #e5e7ec;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:24px}.checkout-total small{display:block;font-size:13px;color:#656b75}.checkout-total strong{display:block;font-size:30px;letter-spacing:-.7px;margin-top:5px}.checkout-totals{margin-top:12px;font-size:13px;color:#656b75}.checkout-totals summary{cursor:pointer;min-height:32px}.checkout-totals p{margin:6px 0}.checkout-consent{margin:12px 0!important;font-size:14px!important;line-height:1.5!important}.checkout-consent input{margin-top:2px;min-width:20px}.checkout-legal{font-size:13px;margin:0}.checkout-submit{width:100%;min-height:50px;font-size:16px!important}.checkout-reference-input{max-width:500px}.checkout-review>.checkout-message{padding:20px 28px}.checkout-position .product-allfacts>div{grid-template-columns:1fr!important;gap:3px}
@media(min-width:1900px){.checkout-layout{grid-template-columns:minmax(0,1fr) 400px}.checkout-position{padding:24px!important}.checkout-position .product-preview.product-cards-v1{grid-template-columns:112px minmax(0,1fr)!important}.checkout-position img[data-product-image]{height:124px!important}.checkout-position .product-image-link{min-height:144px!important}.checkout-position .product-keyfacts dd{font-size:16px!important}}
@media(max-width:1250px){.checkout-layout{grid-template-columns:minmax(0,1fr) 300px}.checkout-products{grid-template-columns:1fr}.checkout-sidebar{padding:20px}}
@media(max-width:850px){.checkout-layout{grid-template-columns:1fr}.checkout-products{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}.checkout-sidebar{border-left:0;border-top:1px solid #e8e9ed;grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}.checkout-logistics{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-assistant{margin:0 20px 20px}.checkout-footer{padding:20px;gap:18px}}
@media(max-width:600px){.checkout-head{padding:20px;align-items:flex-start}.checkout-head h3{font-size:23px}.checkout-head p{font-size:14px}.checkout-head button{font-size:13px;padding:9px 12px}.checkout-products{grid-template-columns:1fr;padding:16px;gap:12px}.checkout-position{padding:16px!important}.checkout-position h4{font-size:17px}.checkout-sidebar{grid-template-columns:1fr;padding:16px;gap:12px}.checkout-address{padding:16px}.checkout-assistant{margin:0 16px 16px;padding:16px}.checkout-shortcuts button{font-size:12px;padding:8px 11px}.checkout-ask-form{flex-wrap:wrap}.checkout-ask-form button{width:100%}.checkout-footer{grid-template-columns:1fr;padding:20px 16px}.checkout-total strong{font-size:28px}.checkout-consent{font-size:13px!important}.checkout-edit{padding:14px}.checkout-edit-actions .btn{flex:1;min-height:46px}.checkout-legal{font-size:12px}}

.checkout-inline-edit{display:block!important;background:transparent!important}.checkout-sidebar .checkout-assistant{order:-1;margin:0;padding:16px}.checkout-sidebar .checkout-ask-form{flex-wrap:wrap}.checkout-sidebar .checkout-ask-form button{width:100%}.checkout-sidebar .checkout-ask-form textarea{min-height:64px}.checkout-reference b{display:block}.checkout-help-link{color:#905200!important}.checkout-head{flex-wrap:wrap}.checkout-head>div{flex:1 1 200px}

.checkout-addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;grid-column:1/-1}.checkout-shortcuts button{background:#fff!important;border:1px solid #e1e3e9!important;border-radius:20px!important;padding:9px 13px!important;margin:0!important;color:#353940!important}.checkout-edit-actions .btn{padding:12px 16px;line-height:1.4}.checkout-position .product-preview-media{margin:0}@media(max-width:600px){.checkout-addresses{grid-template-columns:1fr;gap:12px}}

/* The review can sit in a narrow chat even when the viewport is wide. */
.checkout-review{container-type:inline-size;container-name:smarta-checkout}
@container smarta-checkout (max-width:1100px){
 .checkout-layout{grid-template-columns:minmax(0,1fr)}
 .checkout-products{grid-template-columns:minmax(0,1fr);min-width:0}
 .checkout-sidebar{border-left:0;border-top:1px solid #e8e9ed;min-width:0}
 .checkout-addresses{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
 .checkout-footer{grid-template-columns:minmax(0,1fr)}
}
@container smarta-checkout (max-width:600px){
 .checkout-products{padding:16px;gap:12px}
 .checkout-position{padding:16px!important}
 .checkout-position .product-preview.product-cards-v1{grid-template-columns:88px minmax(0,1fr)!important}
 .checkout-sidebar{padding:16px}
 .checkout-addresses{grid-template-columns:minmax(0,1fr);gap:12px}
 .checkout-address{padding:16px}
 .checkout-footer{padding:20px 16px}
}

.checkout-document{box-sizing:border-box;width:min(48rem,calc(100% - 2rem));max-height:85dvh;overflow:auto;overflow-wrap:anywhere;padding:1rem clamp(1rem,4vw,2rem);border:1px solid #888;border-radius:12px;color:CanvasText;background:Canvas}
.checkout-document::backdrop{background:rgb(0 0 0 / 55%)}
.checkout-document header{position:sticky;top:-1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:Canvas;padding:.65rem 0}
.checkout-document header h2{margin:0}
.checkout-document header button{font:inherit;cursor:pointer}
.checkout-document article p{white-space:pre-line;line-height:1.55}
