/* Shared Windows/Mac composition. Payment fields remain provider-owned. */
body.checkout-page { background: #f5f6f8; }
.checkout-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.product-column { background: transparent; position: static; }
.product-column h1 { font-size: 32px; font-weight: 650; line-height: 1.2; letter-spacing: -.7px; }
.purchase-column { border: 0; }
.license-section { margin: 26px 0 24px; }
.license-section .version-note { margin-bottom: 0; }
.payment-section-heading { border-top: 0; padding-top: 0; margin-bottom: 20px; }
.paypal-panel, .stripe-email-note { max-width: 412px; }
.mac-payment-panel { margin-top: 0; }

@media (min-width: 981px) {
  body.checkout-page {
    background: linear-gradient(to right, #f5f6f8 0 50%, #fff 50% 100%);
  }
  .checkout-header, .checkout-footer, .checkout-shell, .preview-banner {
    width: min(1560px, calc(100% - 64px));
  }
  .checkout-header { width: calc(100% - 48px); }
  .checkout-shell { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .product-column, .purchase-column { padding: 36px clamp(24px, 5vw, 80px) 44px; }
  .purchase-column { background: transparent; }
  .product-column > * { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
  .purchase-column > * { width: 100%; max-width: 412px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 980px) {
  .checkout-header, .checkout-footer, .checkout-shell, .preview-banner {
    width: min(680px, calc(100% - 40px));
  }
  .checkout-shell { display: flex; flex-direction: column; }
  .product-column, .purchase-column { width: 100%; padding: 24px; }
  .product-column { padding-top: 18px; }
  .purchase-column { background: #fff; border-radius: 14px; }
}

@media (max-width: 680px) {
  .checkout-shell { width: 100%; }
  .product-column, .purchase-column { padding: 20px; }
  .purchase-column { border-radius: 0; padding-top: 24px; }
  .license-section { margin-top: 20px; margin-bottom: 20px; }
  .product-details { margin-top: 20px; }
}
