/**
 * Mattis Favorite Button Widget Styles
 * Estilos minimalistas - Elementor Icon style
 * @version 1.3.0
 */

/* Wrapper */
.elementor-icon-wrapper {
	display: inline-block;
}

/* Button Base */
.mps-favorite-btn.elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	margin: 0;
	transition: all 0.3s ease;
	line-height: 1;
}

.mps-favorite-btn.elementor-icon:focus {
	outline: none;
}

.mps-favorite-btn.elementor-icon:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* Icon cambio de regular a solid cuando es favorito */
.mps-favorite-btn.elementor-icon.is-favorite i {
	font-weight: 900; /* Cambia de regular (400) a solid (900) */
}

/* SVG Support */
.mps-favorite-btn.elementor-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Animación al hacer clic */
.mps-favorite-btn.elementor-icon.animating {
	animation: mps-favorite-pulse 0.3s ease;
}

@keyframes mps-favorite-pulse {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.15);
	}
}

/* Hover */
.mps-favorite-btn.elementor-icon:hover {
	opacity: 0.7;
}

/* Editor Mode */
.elementor-editor-active .mps-favorite-btn.elementor-icon {
	pointer-events: auto;
}
