.checkout-dialog{box-sizing:border-box;width:min(1040px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #dce5f0;border-radius:8px;background:#fff;color:#25344a;box-shadow:0 24px 80px #102d532b;letter-spacing:0;color-scheme:light}
.checkout-dialog::backdrop{background:rgba(19,35,57,.5)}
.checkout-dialog *{box-sizing:border-box;letter-spacing:0}
.checkout-dialog [hidden]{display:none!important}
.checkout-dialog #checkoutForm{display:flex;flex-direction:column;max-height:calc(100dvh - 50px);margin:0;padding:0;gap:0}
.checkout-dialog .checkout-heading{display:flex;flex:none;align-items:center;gap:24px;padding:22px 28px;border-bottom:1px solid #e2e9f2}
.checkout-dialog .checkout-eyebrow{margin:0 0 5px;color:#64758b;font-size:12px;line-height:1.5}
.checkout-dialog h2{margin:0;color:#1f3048;font-size:22px;line-height:1.4;font-weight:650}
.checkout-dialog .checkout-steps{display:flex;align-items:center;gap:14px;margin-left:auto;color:#7c8799;font-size:13px;white-space:nowrap}
.checkout-dialog .checkout-steps [aria-current]{color:#2169d4;font-weight:600}
.checkout-dialog .checkout-steps svg{width:16px;height:16px}
.checkout-dialog .icon-button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-height:36px;margin:0;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:#6a7b91;cursor:pointer}
.checkout-dialog .icon-button svg{width:18px;height:18px;pointer-events:none}
.checkout-dialog .icon-button:hover{border-color:#dce5f0;background:#f0f5fc;color:#2266c7}
.checkout-dialog .checkout-remove:hover{color:#bd3440;background:#fff2f3;border-color:#f3d2d6}
.checkout-dialog button:focus-visible{outline:2px solid #286edd;outline-offset:3px}
.checkout-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#fff}
.checkout-items{min-width:0;padding:24px 28px 28px}
.checkout-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:4px}
.checkout-dialog h3{margin:0;font-size:15px;line-height:1.5;font-weight:600;color:#25344a}
.checkout-section-heading>span{font-size:12px;color:#7b8798}
.checkout-lines{min-width:0}
.checkout-line{min-width:0;padding:22px 0;border-bottom:1px solid #e5ebf3}
.checkout-line:last-child{padding-bottom:0;border-bottom:0}
.checkout-product{display:flex;align-items:flex-start;gap:14px;min-width:0}
.checkout-product-image{display:block;flex:none;width:72px;height:72px;object-fit:contain;border:1px solid #e4eaf3;border-radius:6px;background:#fff}
.checkout-product-name{flex:1;min-width:0;padding-top:2px}
.checkout-line h3{overflow-wrap:anywhere}
.checkout-product-name p{margin:7px 0 0;color:#6c7b90;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.checkout-line-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 0;padding:12px 0;border-top:1px solid #edf1f7;border-bottom:1px solid #edf1f7;font-variant-numeric:tabular-nums}
.checkout-line-amounts>div{min-width:0}
.checkout-line-amounts dt{font-size:12px;line-height:1.5;color:#788598}
.checkout-line-amounts dd{margin:5px 0 0;font-size:14px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.checkout-line-amounts>div:last-child{text-align:right}
.checkout-line-amounts>div:last-child dd{color:#2269d5;font-weight:650}
.checkout-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0 0;padding:0;border:0;min-width:0}
.checkout-fields legend{padding:0 0 14px;color:#52647c;font-size:13px;font-weight:600}
.checkout-fields label{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.checkout-fields label b{color:#c53d4b;font-weight:500}
.checkout-field-wide{grid-column:1/-1}
.checkout-fields input,.checkout-fields textarea,.checkout-fields select{box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0;padding:10px 12px;border:1px solid #cfdaea;border-radius:5px;background:#fff;color:#25344a;font:inherit;font-size:16px;line-height:1.5;box-shadow:none}
.checkout-fields textarea{resize:vertical;max-height:180px}
.checkout-fields :is(input,select,textarea):focus{outline:2px solid #6ca4f4;outline-offset:1px;border-color:#367ddd}
.checkout-fields :is(input,textarea):read-only,.checkout-fields :disabled{background:#f3f6fa;color:#6c7b90}
.checkout-fields small{color:#7b8798;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.checkout-summary{align-self:start;min-width:0;margin:24px 0;padding:0 26px;border-left:1px solid #e5ebf3}
.checkout-summary dl{margin:22px 0 0}
.checkout-summary dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:15px;font-size:13px;line-height:1.6}
.checkout-summary dt{flex:none;color:#6c7b90}
.checkout-summary dd{margin:0;overflow-wrap:anywhere;text-align:right;font-variant-numeric:tabular-nums}
.checkout-summary dl>.checkout-summary-amount{display:block;margin-top:24px;padding-top:20px;border-top:1px solid #e2e9f2}
.checkout-summary-amount dd{margin:6px 0 0;text-align:left;color:#2169d4;font-size:28px;font-weight:650;line-height:1.35}
.checkout-availability{margin:18px 0 0;color:#b63442;font-size:13px;line-height:1.6}
.checkout-error{flex:none;margin:0;padding:12px 28px;border-top:1px solid #f0d9dd;background:#fff3f4;color:#ad2e3e;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.checkout-error a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.checkout-line>.checkout-error{margin-top:14px;padding:10px 12px;border:1px solid #f0d9dd;border-radius:4px}
.checkout-dialog #checkoutForm>footer{display:flex;flex:none;align-items:center;justify-content:space-between;gap:20px;margin:0;padding:18px 28px;border-top:1px solid #dce5f0;background:#fff;box-shadow:0 -4px 18px #233f6605}
.checkout-total{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;min-width:0;line-height:1.4}
.checkout-total span{color:#62748b;font-size:13px}
.checkout-total strong{color:#2169d4;font-size:24px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.checkout-actions{display:flex;flex:none;gap:10px}
.checkout-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:128px;min-height:44px;margin:0;padding:11px 16px;border-radius:5px;cursor:pointer;font:inherit;font-size:14px;font-weight:500;line-height:1.5}
.checkout-actions button svg{flex:none;width:17px;height:17px;pointer-events:none}
.checkout-actions .primary-action{min-width:156px;border:1px solid #236cdb;background:#236cdb;color:#fff}
.checkout-actions .primary-action:hover{border-color:#185bbe;background:#185bbe}
.checkout-actions .secondary-action{border:1px solid #cfdaea;background:#fff;color:#526781}
.checkout-actions .secondary-action:hover{background:#f3f7fe;border-color:#8eafe2;color:#2266c7}
.checkout-dialog button:disabled{opacity:.5;cursor:not-allowed}
.checkout-snapshot{display:grid;gap:6px;grid-column:1/-1;min-width:0;margin:6px 0 0;padding-top:8px;border-top:1px solid #e2e5e5;font-size:12px}
.checkout-snapshot>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px}
.checkout-snapshot dt{color:#687679;overflow-wrap:anywhere}
.checkout-snapshot dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#293338}
@media(max-width:760px){
  .checkout-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
  .checkout-dialog #checkoutForm{max-height:calc(100dvh - 26px)}
  .checkout-workspace{grid-template-columns:minmax(0,1fr)}
  .checkout-summary{margin:0 22px 24px;padding:22px 0 0;border:0;border-top:1px solid #e2e9f2}
  .checkout-summary dl{margin-top:12px}
  .checkout-summary dl>.checkout-summary-amount{display:flex;margin-top:16px;padding-top:16px}
  .checkout-summary-amount dd{margin:0;text-align:right;font-size:22px}
  .checkout-items{padding:22px}
  .checkout-dialog .checkout-heading{padding:18px 22px}
  .checkout-dialog .checkout-steps{display:none}
  .checkout-dialog [data-checkout-close]{margin-left:auto}
  .checkout-dialog #checkoutForm>footer{padding:16px 22px}
}
@media(max-width:480px){
  .checkout-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
  .checkout-dialog #checkoutForm{height:100%;max-height:100dvh}
  .checkout-dialog .checkout-heading{padding:16px 18px}
  .checkout-dialog .checkout-eyebrow{margin-bottom:3px}
  .checkout-dialog h2{font-size:20px}
  .checkout-workspace{flex:1}
  .checkout-items{padding:20px 18px 24px}
  .checkout-fields{grid-template-columns:minmax(0,1fr);gap:14px}
  .checkout-product{gap:12px}
  .checkout-product-image{width:60px;height:60px}
  .checkout-product-name{padding-top:0}
  .checkout-line{padding:20px 0}
  .checkout-summary{margin:0 18px 24px;padding-top:20px}
  .checkout-dialog #checkoutForm>footer{align-items:stretch;flex-direction:column;gap:12px;padding:12px 18px max(14px,env(safe-area-inset-bottom))}
  .checkout-total{justify-content:space-between;gap:8px}
  .checkout-total strong{font-size:22px}
  .checkout-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px}
  .checkout-actions button,.checkout-actions .primary-action{min-width:0;padding:10px 8px}
  .checkout-error{padding:10px 18px;max-height:120px;overflow:auto}
  .checkout-snapshot>div{grid-template-columns:80px minmax(0,1fr)}
}
