.cme-commerce-course { margin-top: 28px; }
.cme-commerce-course__state { color: var(--cme-teal-dark, #006761); font-weight: 700; margin: 0 0 12px; }
.cme-commerce-course__pending { color: #64748b; }
.cme-commerce-purchase { align-items: end; background: #fff; border: 1px solid #dfe5ec; border-radius: 14px; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; padding: 16px; }
.cme-commerce-purchase label { color: #20395d; display: grid; flex: 1 1 220px; font-size: 13px; font-weight: 700; gap: 6px; }
.cme-commerce-purchase select { background: #fff; border: 1px solid #b9c7d6; border-radius: 8px; color: #0b2345; font: inherit; min-height: 44px; padding: 0 12px; }
.cme-commerce-purchase small, .cme-commerce-trial small { color: #64748b; flex: 1 1 100%; font-size: 12px; line-height: 1.45; }
.cme-commerce-trial { align-items: center; display: inline-flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.cme-commerce-button { align-items: center; border: 0; border-radius: 8px; cursor: pointer; display: inline-flex; font: inherit; font-weight: 800; justify-content: center; min-height: 44px; padding: 10px 16px; text-decoration: none; }
.cme-commerce-button--primary { background: #0b2345; color: #fff; }
.cme-commerce-button--primary:hover { background: #20395d; color: #fff; }
.cme-commerce-button--secondary { background: #007f7b; color: #fff; margin-top: 12px; }
.cme-commerce-button--secondary:hover { background: #006761; color: #fff; }
.cme-commerce-pricing { margin-top: 30px; }
.cme-commerce-pricing h2 { margin-bottom: 12px; }
.cme-commerce-pricing .cme-table-scroll { background: #fff; border: 1px solid #dfe5ec; border-radius: 14px; overflow: auto; }
.cme-commerce-pricing table { border-collapse: collapse; min-width: 600px; width: 100%; }
.cme-commerce-pricing th, .cme-commerce-pricing td { border-bottom: 1px solid #e6edf3; padding: 14px 16px; text-align: start; }
.cme-commerce-pricing thead th { background: #f3f7fa; color: #0b2345; }
.cme-commerce-pricing tbody tr:last-child th, .cme-commerce-pricing tbody tr:last-child td { border-bottom: 0; }
.cme-commerce-fx { color: #64748b; font-size: 13px; margin-top: 12px; }
body.is-cme-ar .cme-commerce-purchase { text-align: right; }

/* CME classic checkout: keep the customer decision surface deliberately small. */
body.woocommerce-checkout .woocommerce { margin: 0 auto; max-width: 1180px; padding: clamp(24px, 5vw, 64px) clamp(18px, 4vw, 48px); }
body.woocommerce-checkout form.checkout { align-items: start; display: grid; gap: 28px; grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr); }
body.woocommerce-checkout form.checkout > #customer_details,
body.woocommerce-checkout form.checkout > #order_review_heading,
body.woocommerce-checkout form.checkout > #order_review { float: none; margin: 0; width: auto; }
body.woocommerce-checkout form.checkout > #customer_details { grid-column: 1; grid-row: 1 / span 2; }
body.woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; }
body.woocommerce-checkout form.checkout > #order_review { grid-column: 2; grid-row: 2; }
body.woocommerce-checkout form.checkout .col2-set .col-1 { float: none; width: 100%; }
body.woocommerce-checkout form.checkout .col2-set .col-2,
body.woocommerce-checkout form.checkout .woocommerce-shipping-fields,
body.woocommerce-checkout form.checkout .woocommerce-additional-fields { display: none !important; }
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout #order_review { background: #fff; border: 1px solid #dfe5ec; border-radius: 18px; box-shadow: 0 18px 50px rgba(11, 35, 69, .07); padding: clamp(22px, 3vw, 34px); }
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout #order_review_heading { color: #0b2345; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.025em; margin: 0 0 22px; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; gap: 16px; }
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row { float: none; margin: 0; padding: 0; width: 100%; }
body.woocommerce-checkout .woocommerce-billing-fields label { color: #20395d; display: block; font-size: 13px; font-weight: 800; margin: 0 0 7px; }
body.woocommerce-checkout .woocommerce-billing-fields input,
body.woocommerce-checkout .woocommerce-billing-fields select,
body.woocommerce-checkout .select2-container .select2-selection--single { background: #fff; border: 1px solid #b9c7d6; border-radius: 9px; box-sizing: border-box; color: #0b2345; font: inherit; min-height: 48px; padding: 10px 12px; width: 100%; }
body.woocommerce-checkout .select2-container .select2-selection--single { padding: 9px 12px; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { color: #0b2345; line-height: 28px; padding: 0; }
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
body.woocommerce-checkout .woocommerce-billing-fields input:focus,
body.woocommerce-checkout .select2-container--focus .select2-selection--single { border-color: #007f7b; box-shadow: 0 0 0 3px rgba(0, 127, 123, .12); outline: 0; }
body.woocommerce-checkout #payment { background: #f3f7fa; border-radius: 12px; }
body.woocommerce-checkout #payment #place_order { background: #007f7b; border: 0; border-radius: 9px; color: #fff; float: none; font-size: 16px; font-weight: 800; min-height: 50px; width: 100%; }
body.woocommerce-checkout #payment #place_order:hover { background: #006761; }
body.is-cme-ar.woocommerce-checkout form.checkout,
body.rtl.woocommerce-checkout form.checkout { direction: rtl; text-align: right; }

@media (max-width: 860px) {
  body.woocommerce-checkout form.checkout { display: block; }
  body.woocommerce-checkout form.checkout > #order_review_heading { margin-top: 30px; }
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout #order_review { padding: 20px; }
}
