/* Storefront controls: keep fill, text and icon changes in the same 400 ms beat.
   Shared by base.html and the standalone public design-system page. */
@media (prefers-reduced-motion: no-preference) {
    body :is(
        button, input[type="submit"], input[type="button"],
        .tourbtn, .lead__submit, .fabrics__button, .pcard__btn,
        .checkblock__button, .collection__button, .ideas__all,
        .pfitem__button, .menu__all, .menu__page, .projects__view,
        .pdfcard__btn, .pcard__messenger, .contacts__messenger, .msgr,
        .bmenu__cta, .bmenu__social, .mobile-actions__link, .mobile-actions__pick,
        .auth-submit, .auth-secondary, .account__submit, .account__back, .empty__btn,
        .faq__more, .filter, .tag, .searchbox__chip, .header__action,
        .quiz__option, .quiz2__option,
        .pager__page, .pager__link, .pager__arrow, .catfilter, .catchip,
        .product__fav, .pcard2__fav, .pcard__fav
    ),
    body .recommend .filter,
    body .modno-quiz :is(.option, .contact__send, .restart, .chat-head__back) {
        transition: background-color .4s ease, color .4s ease,
                    border-color .4s ease, box-shadow .4s ease,
                    opacity .4s ease, filter .4s ease, transform .4s ease;
    }

    /* These labels have explicit colors, so inheriting the parent's transition
       alone would still make their hover text switch immediately. */
    body :is(.collection__button-text, .collection__button-count,
             .ideas__all-text, .menu__all-text, .lead__submit-text) {
        transition: color .4s ease;
    }

    body :is(.collection__button-icon, .ideas__all-icon, .menu__all-icon,
             .lead__submit-icon),
    body .pdfcard__btn img,
    body .pcard__fav img,
    body .pcard__messenger img,
    body .menu__page::after {
        transition: filter .4s ease, color .4s ease;
    }
}
