/* ── B2B Registration ── */

/* Section heading before first B2B field (Dane o Firmie) */
#customer-form .form-group:has(input[name="b2b_company"]) {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

#customer-form .form-group:has(input[name="b2b_company"])::before {
    /* content is set dynamically by hookDisplayHeader (translatable) */
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

/* Register button: aligned under inputs (col-md-8 offset) */
#customer-form .form-footer,
.js-customer-form .form-footer {
    clear: both !important;
    display: flex !important;
    padding-left: calc(33.3333% + 5px) !important;
    margin-top: 1rem !important;
}

#customer-form .form-footer .btn,
#customer-form .form-footer button,
#customer-form .form-footer .form-control-submit,
.js-customer-form .form-footer .btn,
.js-customer-form .form-footer button,
.js-customer-form .form-footer .form-control-submit {
    float: none !important;
    width: auto !important;
}

@media (max-width: 767px) {
    #customer-form .form-footer,
    .js-customer-form .form-footer {
        padding-left: 0 !important;
    }
}
