/* Repeated class intentionally outranks the theme's archive-button selectors. */
body :is(a, button, input).button.button:not(:disabled):not(.disabled):not([aria-disabled="true"]):is(:hover, :focus-visible),
#triggerCheckout:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible),
.woocommerce-form-register .show-password-input:is(:hover, :focus-visible) {
    background: #fff;
    color: var(--global-palette-btn-bg, #ce967e);
    border-color: var(--global-palette-btn-bg, #ce967e);
    box-shadow: inset 0 0 0 1px var(--global-palette-btn-bg, #ce967e);
}

body :is(a, button, input).button.button:not(:disabled):not(.disabled):not([aria-disabled="true"]):focus-visible,
#triggerCheckout:not(:disabled):not([aria-disabled="true"]):focus-visible,
.woocommerce-form-register .show-password-input:focus-visible {
    outline: 2px solid var(--global-palette-btn-bg, #ce967e);
    outline-offset: 2px;
}

/* Keep specificity below the shared hover/focus rule, above the theme default. */
:where(#cart-drawer) .woocommerce-mini-cart__buttons.buttons a.button:not(.checkout) {
    background: var(--global-palette-btn-bg, #ce967e);
    color: var(--global-palette-btn, #fff);
}
