/* Petopia wishlist hearts — Woodmart .wd-wishlist-btn compatible */

.petopia-wishlist-heart {
	position: relative;
}

.petopia-wishlist-heart a {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
	line-height: 0;
}

.petopia-wishlist-heart .wd-action-text,
.petopia-wishlist-heart .wd-added-icon {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Beat page CSS that forces display:block on .petopia-*__icon-heart */
.petopia-wishlist-heart .petopia-wishlist__heart--outline {
	display: block !important;
}

.petopia-wishlist-heart .petopia-wishlist__heart--filled {
	display: none !important;
}

.petopia-wishlist-heart a.added .petopia-wishlist__heart--outline {
	display: none !important;
}

.petopia-wishlist-heart a.added .petopia-wishlist__heart--filled {
	display: block !important;
}

.petopia-wishlist-heart a.loading {
	opacity: 0.55;
	pointer-events: none;
}

/* Keep existing fav button sizing when wrapper is .wd-wishlist-btn */
body.petopia-redesign-v1 .petopia-home__product-fav.wd-wishlist-btn,
body.petopia-redesign-v1 .petopia-products__card-fav.wd-wishlist-btn,
body.petopia-redesign-v1 .petopia-product__wishlist.wd-wishlist-btn {
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

body.petopia-product-page .petopia-product__wishlist.wd-wishlist-btn a {
	width: auto;
	height: auto;
}
