/* Revelements - Product Favorites */

.rlm-favorites {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.rlm-favorites-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #ffffff;
	color: #1f2937;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 10px 14px;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease;
}

.rlm-favorites-button:hover,
.rlm-favorites-button:focus {
	color: #e11d48;
	background: #fff1f2;
	border-color: #fecdd3;
}

.rlm-favorites-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.rlm-favorites-button.is-active {
	color: #ffffff;
	background: #e11d48;
	border-color: #e11d48;
}

.rlm-favorites-button.is-loading {
	opacity: .65;
	cursor: wait;
}

.rlm-favorites-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	line-height: 1;
}

.rlm-favorites-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.rlm-favorites-button .rlm-favorites-icon--active {
	display: none;
}

.rlm-favorites-button.is-active .rlm-favorites-icon--default {
	display: none;
}

.rlm-favorites-button.is-active .rlm-favorites-icon--active {
	display: inline-flex;
}

.rlm-favorites-label {
	white-space: nowrap;
}

.rlm-favorites-empty,
.rlm-favorites-placeholder {
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	color: #4b5563;
	font-size: 14px;
	grid-column: 1 / -1;
	padding: 14px 16px;
	width: 100%;
}

.rlm-favorite-removing {
	opacity: 0;
	transform: scale(.98);
	transition: opacity .2s ease, transform .2s ease;
}
