.b2bwm-registration-addresses { clear: both; }
.b2bwm-registration-addresses .b2bwm-registration-section { min-width: 0; margin: 24px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid #e5e9e5; }
.b2bwm-registration-section legend { float: left; width: 100%; margin: 0 0 16px; padding: 0; font-size: 18px; font-weight: 600; }
.b2bwm-registration-section legend + div { clear: both; }
.b2bwm-registration-addresses .form-row { float: none; width: 100%; }
.b2bwm-registration-addresses .b2bwm-shipping-toggle { margin-top: 24px; margin-bottom: 0; }
.b2bwm-shipping-toggle label { display: flex; align-items: flex-start; gap: 9px; line-height: 1.5; cursor: pointer; }
.b2bwm-shipping-toggle input[type="checkbox"] { flex: 0 0 auto; margin: 4px 0 0; }
.b2bwm-registration-hint { display: block; margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #626b62; }
.b2bwm-registration-addresses [hidden] { display: none !important; }

/* Progressive enhancement: without JavaScript the complete native form remains usable. */
form.b2bwm-registration-wizard [hidden] { display: none !important; }
.b2bwm-registration-progress { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; padding: 0; list-style: none; }
.b2bwm-registration-progress li { display: flex; align-items: center; gap: 9px; margin: 0; padding: 12px 10px; border: 1px solid #e1e7e1; border-radius: 8px; background: #fafbfa; color: #687168; font-size: 14px; line-height: 1.35; }
.b2bwm-registration-progress li.is-active { border-color: #198447; background: #f0f7f1; color: #214e34; font-weight: 600; }
.b2bwm-step-number { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: #e6ebe6; font-weight: 600; }
.is-active .b2bwm-step-number, .is-complete .b2bwm-step-number { background: #198447; color: #fff; }
.b2bwm-step-status { margin: 0 0 20px; color: #687168; font-size: 13px; }
.b2bwm-registration-wizard .b2bwm-registration-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.b2bwm-registration-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 22px; width: 100%; }
.b2bwm-registration-wizard .b2bwm-registration-actions > button { box-sizing: border-box; width: 100%; min-width: 0; height: 48px; min-height: 48px; margin: 0; padding: 12px 20px; line-height: 20px; }
.b2bwm-registration-wizard .b2bwm-step-next { width: 100%; background: #198447; color: #fff; }
.b2bwm-registration-wizard .b2bwm-step-back { flex: 0 0 auto; background: #f2f5f2; color: #214e34; border: 1px solid #dce7dc; }
.b2bwm-registration-wizard .b2bwm-step-next:hover { background: #126c38; }
.b2bwm-registration-wizard button:focus-visible { outline: 2px solid #198447; outline-offset: 3px; }
@media (max-width: 480px) {
  .b2bwm-registration-progress { gap: 8px; }
  .b2bwm-registration-progress li { padding: 10px 8px; gap: 7px; font-size: 13px; }
  .b2bwm-registration-actions { gap: 8px; }
  .b2bwm-registration-actions > button { padding-inline: 14px; }
}
.b2bwm-gus-feedback { margin: 8px 0 0; color: #25653c; font-size: 13px; line-height: 1.5; }
.b2bwm-gus-feedback:empty { display: none; }
.b2bwm-gus-feedback.is-error { color: #9b4030; }

.woocommerce-info.b2bwm-message .b2bwm-registration-info-copy { margin-top: 10px; }
.woocommerce-info.b2bwm-message .b2bwm-registration-info-copy + .b2bwm-registration-info-copy { margin-top: 14px; padding-top: 14px; border-top: 1px solid #dce7dc; }
