/* --- BUTTON STATES ---
   An opt-in addition to the components' filled (primary) buttons: the look they take on hover and
   keyboard focus. Load it after their own stylesheets. It covers button-row, media-row (not the
   outline button), product-list (not the outline button, which has its own hover), content-cards
   (the button call to action) and page-hero.
   Every value is a token; a token left unset keeps the button's resting value, so without tokens
   a hovered button looks as it does today. */

.button-row__btn,
.media-row__btn:not(.media-row__btn--outline),
.product-list__btn,
.content-cards__cta--button,
.page-hero__btn {
    /* also product-list's outline button, whose hover is its own: the change is eased the same way.
       Unset → the property's initial value (no transition), as before this stylesheet */
    transition: var(--button-primary-hover-transition);
}

.button-row__btn:is(:hover, :focus-visible),
.media-row__btn:not(.media-row__btn--outline):is(:hover, :focus-visible),
.product-list__btn:not(.product-list__btn--outline):is(:hover, :focus-visible),
.content-cards__cta--button:is(:hover, :focus-visible),
.page-hero__btn:is(:hover, :focus-visible) {
    background: var(--color-button-primary-hover-bg, var(--color-button-primary-bg));
    color: var(--color-button-primary-hover-text, var(--color-button-primary-text));
    border: var(--color-button-primary-hover-border, var(--color-button-primary-border, none));
}
