/* Modal cart variant 02: same checkout logic, new layout only. */
.sf-checkout-host .cart-layer{align-items:center;justify-content:center;padding:24px}.sf-checkout-host .cart-backdrop{background:#332c2266;backdrop-filter:blur(6px)}.sf-checkout-host .cart-panel{width:min(920px,100%);height:min(680px,calc(100dvh - 48px));border-radius:16px;padding:32px;display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:auto minmax(0,1fr);gap:24px;background:var(--surface);box-shadow:0 24px 80px #28221633;overflow:hidden}.sf-checkout-host .cart-header{grid-column:1/-1;padding-bottom:16px}.sf-checkout-host .cart-header h2{font-size:30px;line-height:36px;letter-spacing:-.03em}.sf-checkout-host .cart-header .eyebrow{font-size:12px;line-height:16px;letter-spacing:.08em;color:var(--muted)}.sf-checkout-host .cart-list{grid-column:1;grid-row:2;margin:0;padding-right:8px;overflow:auto;min-height:0}.sf-checkout-host [data-cart-summary]{grid-column:2;grid-row:2;min-height:0;overflow:auto;background:var(--surface2);padding:16px;border:1px solid var(--line);border-radius:12px}.sf-checkout-host .cart-totals{padding:0;background:transparent;border:0;border-radius:0;margin-bottom:24px}.sf-checkout-host .cart-actions{gap:12px}.sf-checkout-host .cart-item{grid-template-columns:80px 1fr;gap:16px;padding:16px 0}.sf-checkout-host .cart-item img{width:80px;height:80px;background:#fff}.sf-checkout-host .cart-item strong,.sf-checkout-host .grand-total,.sf-checkout-host .checkout-total-line strong{color:var(--text)}.sf-checkout-host .cart-panel:has([data-cart-summary][hidden]) .cart-list{grid-column:1/-1}.sf-checkout-host .cart-panel:has([data-checkout-panel]:not([hidden])),.sf-checkout-host .cart-panel:has([data-checkout-review]:not([hidden])){display:flex;flex-direction:column;width:min(640px,100%);gap:0}.sf-checkout-host .checkout-panel{margin-top:16px;padding-right:8px;overflow:auto;flex:1;min-height:0}.sf-checkout-host .checkout-panel .cart-totals{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface2)}.sf-checkout-host .cart-empty{padding:64px 24px}.sf-checkout-host .button{color:#fff}.sf-checkout-host .button.secondary{color:var(--text)}.sf-checkout-host .toast{color:#fff}
@media(max-width:700px){.sf-checkout-host .cart-layer{padding:0;align-items:flex-end}.sf-checkout-host .cart-panel,.sf-checkout-host .cart-panel:has([data-checkout-panel]:not([hidden])),.sf-checkout-host .cart-panel:has([data-checkout-review]:not([hidden])){width:100%;height:94dvh;max-height:94dvh;border-radius:24px 24px 0 0;padding:24px 16px 16px;display:flex;flex-direction:column;gap:16px}.sf-checkout-host .cart-header{padding-bottom:0;flex-shrink:0}.sf-checkout-host .cart-header h2{font-size:24px;line-height:32px}.sf-checkout-host .cart-list{flex:1;padding-right:4px}.sf-checkout-host [data-cart-summary]{flex:0 0 auto;max-height:48dvh;padding:16px}.sf-checkout-host .cart-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sf-checkout-host .cart-actions>.clear-cart{grid-column:1/-1}.sf-checkout-host .cart-actions .button{font-size:14px;line-height:20px}.sf-checkout-host .cart-actions .button svg{display:none}.sf-checkout-host .cart-totals{margin-bottom:16px}.sf-checkout-host .total-row{margin-bottom:8px}.sf-checkout-host .checkout-panel{margin-top:0;padding-right:4px}.sf-checkout-host .cart-item{grid-template-columns:64px 1fr}.sf-checkout-host .cart-item img{width:64px;height:72px}}
