/* Consistent mobile typography across catalog, account, cart and checkout. */
@media screen and (max-width: 767px) {
    body .page-main h1,
    body .page-main .page-title,
    body .page-main .page-title > span {
        font-size: 28px !important;
        line-height: 1.2 !important;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
    body.theme-pearl h2,
    body.theme-pearl h2[class] {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    body.theme-pearl h3:not(.amgdprcookie-caption),
    body.theme-pearl h3[class]:not(.amgdprcookie-caption) {
        font-size: 20px !important;
        line-height: 1.35 !important;
    }
    body .page-main p,
    body .page-main .field > .label,
    body .form-create-account .fieldset > .field,
    body .form-create-account .company-fields > .field,
    body .form-create-account select,
    body .login-container .block .block-content,
    body .login-container .block .block-content p,
    body .login-container .block .block-content li {
        font-size: 16px !important;
        line-height: 1.5;
    }
    body .page-main .page-title-wrapper {
        margin-bottom: 20px;
    }
}

/* Checkout description must contribute to the title wrapper's height. */
body.onestepcheckout-index-index .page-title-wrapper,
body.checkout-index-index .page-title-wrapper {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
    padding-bottom: 24px !important;
    margin-bottom: 24px !important;
}
body.onestepcheckout-index-index .page-title-wrapper .page-title,
body.checkout-index-index .page-title-wrapper .page-title {
    margin-bottom: 12px !important;
}
body.onestepcheckout-index-index .page-title-wrapper .checkout-description,
body.checkout-index-index .page-title-wrapper .checkout-description {
    display: block;
    position: static !important;
    float: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}
