/* External SVG icons are rendered through <img>. Unlike inline SVG they do not inherit currentColor,
   so interaction states that change the parent background need explicit image filters. */
.cv-icon{transition:filter .25s ease,transform .25s ease,opacity .25s ease}
/* White icons on green / colored controls */
.btn--primary .cv-icon,
.order-step__icon img,
.site-chat__launcher-icon img,
.site-chat__avatar img,
.site-chat__close img,
.site-chat__send img,
.product-card__favorite:hover img,
.product-card__favorite.is-active img,
.product-detail__favorite:hover img,
.product-detail__favorite.is-active img,
.categories__arrow:hover img,
.contacts-socials__item:hover img,
.contacts-info__social:hover img,
.site-footer__social:hover img,
.product-addon-modal__item.is-selected .product-addon-modal__tick img,
.checkout-consent__label>input:checked+.checkout-consent__check img{filter:brightness(0) invert(1)}
/* Pink subscription step icons, matching the original currentColor rule. */
.subscription-step__icon img{filter:brightness(0) saturate(100%) invert(62%) sepia(18%) saturate(1100%) hue-rotate(306deg) brightness(92%) contrast(86%)}
/* Subscription cards use their own accent colors. */
.subscription-card--rose .subscription-card__feature img{filter:brightness(0) saturate(100%) invert(63%) sepia(18%) saturate(1053%) hue-rotate(306deg) brightness(91%) contrast(87%)}
.subscription-card--olive .subscription-card__feature img{filter:brightness(0) saturate(100%) invert(51%) sepia(11%) saturate(756%) hue-rotate(63deg) brightness(91%) contrast(85%)}
.subscription-card--gold .subscription-card__feature img{filter:brightness(0) saturate(100%) invert(63%) sepia(32%) saturate(747%) hue-rotate(357deg) brightness(91%) contrast(86%)}
/* Destructive controls were red in the inline-SVG version. */
.cart-item__remove img,.checkout-product__remove img{filter:brightness(0) saturate(100%) invert(51%) sepia(71%) saturate(1734%) hue-rotate(320deg) brightness(105%) contrast(102%)}
/* Dark filter toggles become green on hover just like currentColor did. */
.catalog-filter__toggle img{filter:brightness(0) saturate(100%) invert(16%) sepia(3%) saturate(825%) hue-rotate(314deg) brightness(91%) contrast(84%)}
.catalog-filter__toggle:hover img{filter:none}
/* A primary icon may already use a white SVG; the filter safely keeps it white. */
.btn--primary:hover .cv-icon{filter:brightness(0) invert(1)}
@media(hover:none){
	.product-card__favorite:hover img,.product-detail__favorite:hover img,.categories__arrow:hover img,.contacts-socials__item:hover img,.contacts-info__social:hover img,.site-footer__social:hover img{filter:none}
	.product-card__favorite.is-active img,.product-detail__favorite.is-active img{filter:brightness(0) invert(1)}
}
