.woocommerce-checkout main > .woocommerce {
    max-width: 100%!important;
    width: 100%!important;
    padding: 0;
    background: #f7f7f7;
}

.checkout-container {
    width: 100%!important;
    padding: 0;
    background: #f7f7f7;
}

.checkout-container .container {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
}

.checkout-content {
  width: 100%;
  max-width: 900px;
}

.additional-courses {
    width: 100%;
    max-width: 300px;
    height: auto;
    position: sticky;
    top: 120px;
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

/* Customer details (left column) */
#customer_details {
  flex: 1 1 60%;
  min-width: 300px;
  background: #fafafa;
  padding: 2rem;
  margin-top: 1.3rem;
}

/* Order review and payment (right column) */
#order_review_heading,
#order_review {
  flex: 1 1 35%;
  min-width: 280px;
}

#order_review {
  background: #f6f6f6;
}

/* Tidy up heading */
#order_review_heading {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

/* Payment section spacing */
#payment {
  margin-top: 2rem;
}

/* Button style */
#place_order {
  width: 100%;
  background: #111;
  color: white;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  margin-top: 1rem;
}

.woocommerce form.checkout_coupon {
    display: flex!important;
    gap: 16px;
    align-items: center;
    border: none!important;
    background: #f8f8f8!important;
    margin: 0px!important;
}

.woocommerce form.checkout_coupon .form-row.form-row-first {
    padding-bottom: 0px!important;
    margin-bottom: 0px!important;
}

.woocommerce form.checkout_coupon .form-row.form-row-last {
    padding: 0px!important;
    margin: 0px!important;
}

.find-out-more {
  position: absolute;
  top: 6px;
  right: 6px;
}

.find-out-more svg {
  width: 26px;
  height: 26px;
}

/* Responsive stacking on mobile */
@media (max-width: 1024px) {
  form.checkout.woocommerce-checkout {
    flex-direction: column;
  }

  #customer_details, #order_review, #order_review_heading {
    flex: 1 1 100%;
  }

  #order_review {
    position: relative;
    top: auto;
    margin-top: 2rem;
  }
  .checkout-container .container {
    flex-direction: column;
    gap: 0;
  }
}