/* v41: balanced, responsive homepage purchase form. */

#begin.purchase.ov-section {
  width:min(1320px,calc(100% - 40px));
  max-width:1320px;
  margin:0 auto;
  padding:clamp(56px,6vw,88px) clamp(28px,4vw,64px);
  grid-template-columns:minmax(0,1fr) minmax(480px,560px);
  gap:clamp(44px,6vw,90px);
  align-items:start;
}

#begin.purchase>div {
  min-width:0;
  padding-top:12px;
}

#begin.purchase>div h2 {
  max-width:680px;
  margin-bottom:28px;
  text-wrap:balance;
}

#begin.purchase .price-card {
  width:min(100%,570px);
  min-width:0;
}

#begin.purchase #purchaseForm {
  width:100%;
  min-width:0;
  padding:clamp(30px,3vw,42px);
}

#begin.purchase #purchaseForm fieldset,
#begin.purchase #purchaseForm label {
  min-width:0;
}

#begin.purchase #purchaseForm label {
  margin-bottom:20px;
  line-height:1.35;
}

#begin.purchase #purchaseForm input {
  width:100%;
  max-width:100%;
  min-height:52px;
  font-size:16px;
}

#begin.purchase .privacy-consent {
  grid-template-columns:24px minmax(0,1fr);
  align-items:start;
  gap:12px;
  font-size:.88rem;
  line-height:1.5;
}

#begin.purchase .privacy-consent input {
  width:20px;
  min-height:20px;
  height:20px;
  margin-top:2px;
}

#begin.purchase .checkout-pay {
  min-height:56px;
  white-space:normal;
  line-height:1.3;
}

@media(max-width:980px) {
  #begin.purchase.ov-section {
    width:min(760px,calc(100% - 32px));
    grid-template-columns:1fr;
    gap:34px;
    padding:52px 28px 64px;
  }

  #begin.purchase>div {
    padding-top:0;
  }

  #begin.purchase>div h2 {
    max-width:none;
  }

  #begin.purchase .price-card {
    width:100%;
    max-width:none;
    margin-bottom:0;
  }
}

@media(max-width:600px) {
  #begin.purchase.ov-section {
    width:100%;
    padding:42px 16px 56px;
    gap:28px;
  }

  #begin.purchase>div h2 {
    font-size:clamp(2.35rem,12vw,3.25rem);
    line-height:1;
    margin:12px 0 22px;
  }

  #begin.purchase #purchaseForm {
    padding:25px 18px 28px;
    border-radius:15px;
  }

  #begin.purchase #purchaseForm legend {
    font-size:1.4rem;
    line-height:1.25;
  }

  #begin.purchase .stripe-fields-grid {
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  #begin.purchase .stripe-card-number,
  #begin.purchase .stripe-postal-label {
    grid-column:1/-1;
  }
}

@media(max-width:380px) {
  #begin.purchase.ov-section {
    padding-left:10px;
    padding-right:10px;
  }

  #begin.purchase #purchaseForm {
    padding-left:14px;
    padding-right:14px;
  }

  #begin.purchase .stripe-fields-grid {
    grid-template-columns:1fr;
  }

  #begin.purchase .stripe-fields-grid>* {
    grid-column:1/-1;
  }
}
