.cart-edit-dialog{width:660px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:28px;border:1px solid var(--line);border-radius:3px}
.cart-edit-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}
.cart-edit-heading h2{font-size:34px;margin:7px 0 9px}
.cart-edit-heading p:last-child{font-size:12px;color:var(--muted)}
.cart-edit-dimensions,.cart-edit-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cart-edit-options{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.cart-edit-field{min-width:0}
.cart-edit-field label{display:block;font-size:12px;margin-bottom:7px}
.cart-edit-field input,.cart-edit-field select{width:100%;min-width:0;min-height:46px;padding:10px 11px;background:var(--paper);border:1px solid #b9ad9b;border-radius:0;font-size:16px;color:var(--ink)}
.cart-edit-inch-selects{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:7px}
.cart-edit-metric,.cart-edit-prior{display:block;font-size:11px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}
.cart-edit-price{display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px;font-size:13px}
.cart-edit-price strong{font:30px/1.3 var(--serif);white-space:nowrap}
.cart-edit-status{min-height:20px;font-size:11px;color:var(--muted);margin:8px 0 12px}
.cart-edit-error{padding:12px;background:#f3e5dd;font-size:12px;line-height:1.6;margin-bottom:16px}
.cart-edit-actions{display:flex;justify-content:flex-end;gap:12px;position:sticky;bottom:-28px;background:var(--paper);padding:12px 0 3px}
.cart-edit-actions .button{min-height:46px;font-size:13px;padding:12px 20px}
.cart-item>div{min-width:0}.cart-item:not(:has(>img)){grid-template-columns:minmax(0,1fr)}
.cart-item-controls{display:flex;gap:18px;flex-wrap:wrap}.cart-item-controls button{min-height:44px;font-size:12px;white-space:nowrap}
@media(max-width:600px){.cart-edit-dialog{padding:20px 16px}.cart-edit-heading{margin-bottom:18px}.cart-edit-heading h2{font-size:29px}.cart-edit-dimensions,.cart-edit-options{gap:14px 12px}.cart-edit-price strong{font-size:26px}.cart-edit-actions{bottom:-20px}.cart-edit-actions .button{flex:1;padding:12px 8px;gap:8px}}
