/*
 * Wishlist heart on product cards.
 *
 * The theme paints every icon inside a card button black, and turns the whole
 * button black on hover and once the product is in the wishlist. Its own rules
 * for the icon only know the old "bookmark" pictures, so with the heart the
 * result was a black heart on a black button: an empty black box.
 */

/* Not in the wishlist: the heart is an outline, not a filled shape. */
.saren--product-quick-action .yith-wcwl-add-to-wishlist-button svg#yith-wcwl-icon-heart-outline {
	fill: none !important;
}

/* In the wishlist: the filled heart follows the icon colour. */
.saren--product-quick-action .yith-wcwl-add-to-wishlist-button svg#yith-wcwl-icon-heart {
	fill: currentColor !important;
}

/* Black button (hover, or product already in the wishlist): light icon. */
.actions--hovers--yes .saren--product-quick-action:hover .yith-wcwl-add-to-wishlist-button svg.yith-wcwl-add-to-wishlist-button-icon,
.actions--hovers--yes .saren--product-quick-action:has(.yith-wcwl-add-to-wishlist-button--added) .yith-wcwl-add-to-wishlist-button svg.yith-wcwl-add-to-wishlist-button-icon {
	color: var(--secondaryBackground) !important;
}
