.package-dialog{width:min(610px,calc(100% - 24px));max-height:min(92dvh,860px);overflow:auto;border-radius:20px}
.checkout-dialog{padding:clamp(20px,4vw,30px)}
.checkout-dialog h2{margin:7px 42px 0 0;font-size:clamp(1.45rem,4vw,2rem)}
.checkout-summary{gap:0;margin:15px 0 14px;padding:15px 17px;border-color:#d8e8e5;border-radius:14px;background:linear-gradient(125deg,#f4fbf8,#f7f9fc)}
.checkout-summary-price{display:flex;align-items:center;justify-content:space-between;gap:14px}
.checkout-summary-price strong{font-size:clamp(1.5rem,5vw,2rem);white-space:nowrap}
.checkout-summary-price>span{text-align:right;font-size:.7rem;line-height:1.45}
.checkout-summary-price [data-shipping-note]{display:block;font-size:inherit;color:inherit}
.checkout-package-detail{margin-top:8px;border-top:1px solid #d8e8e5;padding-top:8px}
.checkout-package-detail summary{width:max-content;cursor:pointer;color:#157c73;font-size:.72rem;font-weight:800;list-style:none}
.checkout-package-detail summary::-webkit-details-marker{display:none}
.checkout-package-detail summary::after{content:'⌄';display:inline-block;margin-left:6px;font-size:.95rem;transition:transform .2s}
.checkout-package-detail[open] summary::after{transform:rotate(180deg)}
.checkout-package-detail .checkout-components{margin-top:10px}
.checkout-package-detail p{margin-top:9px}
.checkout-package-detail .checkout-update-note{margin-top:10px}
.checkout-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:0 0 19px}
.checkout-progress span{display:flex;align-items:center;gap:7px;min-height:35px;padding:7px 9px;border-radius:8px;background:#eef2f2;color:#70848b;font-size:.68rem;font-weight:800}
.checkout-progress span b{font-weight:800}
.checkout-progress span.is-active{background:#0d9184;color:#fff}
.checkout-progress span.is-complete{background:#e3f4ee;color:#13796e}
.checkout-step[hidden]{display:none!important}
.checkout-step{animation:checkout-enter .25s ease both}
.checkout-step-head{margin:0 0 18px}
.checkout-step-head>span{color:#0e9584;font-size:.68rem;font-weight:900;letter-spacing:.12em}
.checkout-step-head h3{margin:5px 0 5px;color:#102b38;font-family:'Space Grotesk',Arial,sans-serif;font-size:clamp(1.25rem,3.6vw,1.6rem);letter-spacing:-.045em}
.checkout-step-head p{margin:0;color:#5d747e;font-size:.8rem;line-height:1.5}
.checkout-step .checkout-fields{gap:12px}
.checkout-step .checkout-fields label,.checkout-identity{color:#24434d;font-size:.76rem;font-weight:800}
.checkout-step .checkout-fields input,.checkout-step .checkout-fields textarea,.checkout-identity input{min-height:48px;padding:12px 13px;border:1px solid #cddedf;border-radius:10px;background:#fff;font-size:.88rem;transition:border-color .18s,box-shadow .18s}
.checkout-step .checkout-fields input:focus,.checkout-step .checkout-fields textarea:focus,.checkout-identity input:focus{border-color:#0b9a88;outline:0;box-shadow:0 0 0 3px rgba(11,154,136,.12)}
.checkout-step .checkout-fields input::placeholder,.checkout-step .checkout-fields textarea::placeholder,.checkout-identity input::placeholder{color:#9aabb0;font-weight:500}
.checkout-identity{display:grid;gap:6px}
.checkout-identity small{color:#667d85;font-size:.69rem;font-weight:500;line-height:1.45}
.checkout-step-actions{display:flex;align-items:center;gap:12px;margin-top:18px}
.checkout-next{width:100%;min-height:48px;margin-top:18px;border:0;cursor:pointer;font-weight:800}
.checkout-step-actions .checkout-next,.checkout-step-actions .checkout-submit{width:auto;flex:1;margin:0}
.checkout-back{min-width:77px;min-height:48px;padding:10px;border:1px solid #cddedf;border-radius:10px;background:#fff;color:#35545c;font:800 .8rem 'DM Sans',sans-serif;cursor:pointer}
.checkout-back:hover{border-color:#0b9a88;color:#087c72}
.checkout-reassurance{display:flex;align-items:flex-start;gap:8px;margin:14px 0 0!important;color:#58737b!important;font-size:.71rem!important;line-height:1.45!important}
.checkout-reassurance i{margin-top:2px;color:#118e80}
.checkout-preinfo{margin:17px 0 14px;background:#f8fbfa}
.checkout-preinfo summary{font-size:.75rem}
.checkout-preinfo div{max-height:150px;overflow:auto;padding-right:4px}
.checkout-consents{gap:9px;margin:13px 0}
.checkout-consents label{padding:10px;border:1px solid #dfebea;border-radius:10px;background:#fbfdfc;font-size:.72rem}
.checkout-consents label:has(input:checked){border-color:#a6d9cf;background:#f3fbf8}
.checkout-error{margin:8px 0!important}
@keyframes checkout-enter{from{opacity:.55;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){.package-dialog{width:calc(100% - 12px);max-height:96dvh;border-radius:16px}.checkout-dialog{padding:20px 16px}.checkout-summary{padding:13px}.checkout-summary-price strong{font-size:1.55rem}.checkout-summary-price>span{font-size:.65rem}.checkout-progress{gap:4px}.checkout-progress span{justify-content:center;gap:4px;padding:6px 3px;font-size:.64rem}.checkout-step .checkout-fields{grid-template-columns:1fr}.checkout-step .checkout-fields label.wide{grid-column:auto}.checkout-step-actions{gap:8px}.checkout-step-actions .checkout-submit{font-size:.79rem}.checkout-back{min-width:66px}}
@media(prefers-reduced-motion:reduce){.checkout-step{animation:none}.checkout-step .checkout-fields input,.checkout-step .checkout-fields textarea,.checkout-identity input{transition:none}}

/* Compact order steps: disclosures remain available, actions stay in view. */
.checkout-dialog .checkout-summary{margin:12px 0;padding:12px 14px}
.checkout-dialog .checkout-summary .checkout-installment{margin:7px 0 0;padding:0;border:0;background:transparent;font-size:.7rem}
.checkout-dialog .checkout-installment small{display:none}
.checkout-progress{margin-bottom:14px}
.checkout-step-head{margin-bottom:12px}
.checkout-step .checkout-fields{gap:10px}
.checkout-step .checkout-fields input,.checkout-identity input{min-height:46px;padding:10px 12px}
.checkout-step .checkout-fields textarea{min-height:64px;height:64px;padding:10px 12px}
.checkout-dialog .checkout-preinfo{margin:12px 0 10px;padding:0}
.checkout-preinfo summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:10px 12px;list-style:none}
.checkout-preinfo summary::-webkit-details-marker{display:none}
.checkout-preinfo summary>span{color:#59787e;font-size:.66rem;font-weight:600;white-space:nowrap}
.checkout-preinfo summary::after{content:'+';font-size:1rem;color:#087f77}
.checkout-preinfo[open] summary::after{content:'−'}
.checkout-dialog .checkout-preinfo>div{max-height:none;overflow:visible;padding:0 12px 8px;border-top:1px solid #dfebea}
.checkout-consents{gap:8px;margin:10px 0}
.checkout-consents label{padding:9px 10px;font-size:.73rem;line-height:1.5;cursor:pointer}
.checkout-consents input{width:20px;height:20px}
.checkout-step-actions{position:sticky;bottom:-1px;z-index:2;margin-top:10px;padding:10px 0 1px;background:#fff;box-shadow:0 -8px 14px -12px #58737b}
.checkout-step-actions .checkout-submit{min-height:48px}
.checkout-dialog .checkout-reassurance{margin-top:10px!important}
.package-dialog:not([data-current-step="0"]) .checkout-dialog h2{font-size:1.35rem;line-height:1.15}
.package-dialog:not([data-current-step="0"]) .checkout-dialog{padding-top:18px}
@media(max-width:520px){
  .checkout-dialog{padding:18px 16px}
  .checkout-dialog h2{font-size:1.3rem;line-height:1.15}
  .package-dialog:not([data-current-step="0"]) .checkout-dialog h2{font-size:1.2rem}
  .checkout-dialog .checkout-summary{padding:10px 12px;margin:10px 0}
  .checkout-summary-price strong{font-size:1.45rem}
  .checkout-progress span{min-height:32px}
  .checkout-step-head h3{font-size:1.2rem}
  [data-checkout-step="1"] .checkout-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  [data-checkout-step="1"] .checkout-fields label.wide{grid-column:1/-1}
  .checkout-step .checkout-fields label{min-width:0}
  .checkout-step .checkout-fields input,.checkout-step .checkout-fields textarea,.checkout-identity input{width:100%;box-sizing:border-box;font-size:16px}
  .checkout-preinfo summary{gap:6px;font-size:.7rem}
  .checkout-preinfo summary>span{font-size:.6rem}
  .checkout-step-actions{gap:8px}
  .checkout-step-actions .checkout-submit{font-size:.8rem}
}
@media(max-height:620px){.package-dialog{max-height:calc(100dvh - 12px)}.checkout-dialog{padding-top:14px;padding-bottom:14px}}
