.msw-wishlist {
	display: block;
}

.msw-wishlist__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	vertical-align: middle;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.msw-wishlist__button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.msw-wishlist__icon {
	display: none;
	align-items: center;
	justify-content: center;
}

.msw-wishlist__icon i,
.msw-wishlist__icon svg {
	width: 1em;
	height: 1em;
	font-size: 1em;
	fill: currentColor;
}

.msw-wishlist:not(.is-added):not(.is-loading) .msw-wishlist__icon--empty,
.msw-wishlist.is-added:not(.is-loading) .msw-wishlist__icon--added,
.msw-wishlist.is-loading .msw-wishlist__icon--loading {
	display: inline-flex;
}

.msw-wishlist.is-loading .msw-wishlist__icon--loading {
	animation: msw-wishlist-spin 0.7s linear infinite;
}

.msw-wishlist.is-loading .msw-wishlist__button {
	cursor: progress;
}

@keyframes msw-wishlist-spin {
	to {
		transform: rotate(360deg);
	}
}
