/* Storefront cart and secure checkout. Extends the existing Protraction visual system. */
.commerce-dialog{width:min(760px,calc(100% - 28px));padding:clamp(22px,4vw,40px);}
.checkout-dialog{width:min(820px,calc(100% - 28px));}
.commerce-dialog .eyebrow{color:#c7cbc4;}
.commerce-total{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;}
.commerce-total strong{font:700 24px var(--heading);}
.cart-row{grid-template-columns:minmax(0,1fr) 96px 44px;}
.cart-row>div{min-width:0;}
.cart-quantity{display:grid;gap:4px;color:var(--muted);font-size:10px;}
.cart-quantity input{width:100%;min-height:44px;}
.cart-row button{min-width:44px;border-color:#555;}
.checkout-section{padding:18px 0;border-top:1px solid var(--line);}
.checkout-section h3{font-size:24px;margin:0 0 14px;}
.checkout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;}
.checkout-grid .field{min-width:0;}
.checkout-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0;}
.checkout-payments{grid-template-columns:repeat(3,minmax(0,1fr));}
.checkout-choices label{display:flex;gap:10px;align-items:center;min-height:54px;padding:11px 13px;border:1px solid #454a4c;background:#15191a;font-size:12px;line-height:1.45;cursor:pointer;}
.checkout-choices label:has(input:checked){border-color:var(--red);background:#381c20;}
.checkout-choices label:has(input:disabled){opacity:.48;cursor:not-allowed;}
.checkout-choices input,.checkout-invoice input,.checkout-terms input{accent-color:var(--red);width:18px;height:18px;flex:0 0 auto;}
.checkout-help{font-size:11px!important;line-height:1.75;color:#aeb5b1;margin:10px 0;}
.checkout-account{padding:12px 15px;border-left:2px solid var(--red);background:#131617;}
.checkout-account .field{margin:6px 0 14px;}
.checkout-reset{margin:0 0 8px;padding:0;min-height:36px;}
.checkout-invoice{margin:14px 0;}
.checkout-summary{margin:20px 0 15px;padding:12px 16px;background:#111516;border:1px solid #414647;}
.checkout-summary p{display:flex;justify-content:space-between;gap:15px;padding:8px 0;font-size:12px;}
.checkout-grand-total{border-top:1px solid #505657;margin-top:5px;padding-top:14px!important;font-size:15px!important;}
.checkout-final-total{font:700 25px var(--heading)!important;margin:14px 0!important;color:#fff;}
.checkout-terms{align-items:flex-start;line-height:1.65;}
.checkout-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
.checkout-submit{width:100%;justify-content:center;}
.payment-instructions{margin:20px 0;padding:17px;border:1px solid #626a64;border-left:2px solid var(--red);background:#121617;overflow-wrap:anywhere;}
.payment-instructions h4{font:700 20px var(--heading);margin-bottom:10px;}
.payment-instructions p{margin:5px 0;}
#checkout-status{min-height:20px;color:#f1aaaa;}
@media(max-width:600px){
  .commerce-dialog,.checkout-dialog{padding:25px 18px 22px;max-height:92svh;}
  .commerce-dialog h2,.checkout-dialog h2{font-size:32px;}
  .checkout-grid,.checkout-choices,.checkout-payments{grid-template-columns:1fr;gap:2px;}
  .checkout-choices label{min-height:48px;}
  .cart-row{grid-template-columns:minmax(0,1fr) 76px 40px;gap:8px;}
  .cart-row strong{font-size:11px;}
  .dialog-actions>.button{flex:1;}
}
@media(max-width:700px){
  .contact-bottom{grid-template-columns:minmax(0,1fr);}
  .contact-bottom>*{min-width:0;max-width:100%;}
  .contact-map-link{width:100%;min-width:0;}
  .contact-social strong,.contact-social p{overflow-wrap:anywhere;}
}
@media(min-width:701px) and (max-width:1099px){
  .contact-bottom{grid-template-columns:repeat(2,minmax(0,1fr));}
  .contact-bottom>*{min-width:0;max-width:100%;}
  .contact-map-link{width:100%;min-width:0;}
  .contact-social{grid-column:1/-1;}
  .contact-social strong,.contact-social p{overflow-wrap:anywhere;}
}
