/* Simple Wishlist for Elementor */

/* ---- Button (product page) ---- */
.swfe-button-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.swfe-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1;
	padding: 10px 18px;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.swfe-button.is-loading {
	opacity: .6;
	pointer-events: none;
}

.swfe-button__icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.swfe-button__icon svg {
	width: 1em;
	height: 1em;
	display: block;
	fill: currentColor;
}

.swfe-button__icon i {
	font-size: inherit;
	transition: transform .2s ease;
}

.swfe-button.is-added .swfe-button__icon i,
.swfe-button.is-added .swfe-button__icon svg {
	transform: scale(1.08);
}

/* "See wishlist" link is hidden until something is in the wishlist */
.swfe-button__view {
	display: none;
	align-items: center;
	text-decoration: none;
	color: inherit;
	transition: color .2s ease;
}

.swfe-button-wrap.is-added .swfe-button__view {
	display: inline-flex;
}

/* ---- Icon + count badge (header) ---- */
.swfe-icon-wrap {
	display: flex;
	align-items: center;
}

.swfe-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: inherit;
	text-decoration: none;
	line-height: 1;
}

.swfe-icon__symbol {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.swfe-icon__symbol svg {
	width: 1.4em;
	height: 1.4em;
	display: block;
	fill: currentColor;
}

.swfe-icon__count {
	position: absolute;
	top: -8px;
	right: -10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #e7434d;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	transition: transform .2s ease;
}

.swfe-icon.swfe-is-empty .swfe-icon__count {
	display: none;
}
