/*
 * Canonical OM Mart button typography.
 *
 * This stylesheet is intentionally loaded after module styles. It owns only
 * text rendering; colour, dimensions and semantic variants remain with the
 * shared project theme and their respective modules.
 */
body:not(.auth-page) :is(
    button:not(.icon-button),
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    a.button:not(.icon-button),
    label.button:not(.icon-button),
    .button:not(.icon-button),
    .primary-button:not(.icon-button),
    .secondary-button:not(.icon-button),
    .danger-button:not(.icon-button),
    .module-hero__button,
    .po-button,
    [role="button"]:not(.icon-button)
) {
    font-family: inherit !important;
    font-weight: 600 !important;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
}

body:not(.auth-page) :is(
    button:not(.icon-button),
    a.button:not(.icon-button),
    label.button:not(.icon-button),
    .button:not(.icon-button),
    .primary-button,
    .secondary-button,
    .danger-button,
    .module-hero__button,
    .po-button,
    [role="button"]:not(.icon-button)
) :where(span,strong) {
    font-weight: inherit;
}
