.maglux-favorites-header-mount {
	display: none;
}

.maglux-favorites-header-mount.is-placed {
	display: inline-flex;
	align-items: center;
	margin: 0 12px;
	vertical-align: middle;
}

.maglux-favorites-header-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	color: #092d52;
	font-weight: 700;
	text-decoration: none;
}

.maglux-favorites-header-heart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-size: 0;
	line-height: 1;
}

.maglux-favorites-header-heart::before {
	content: "♡";
	color: #ff6b00;
	font-size: 34px;
	font-family: Arial, sans-serif;
	font-weight: 400;
	line-height: 1;
}

.maglux-favorites-header-text {
	display: none;
}

.maglux-favorites-count {
	position: absolute;
	top: 1px;
	right: 0;
	left: auto;
	z-index: 2;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	transform: none;
	border-radius: 999px !important;
	background: #ff6b00;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 18px;
	box-sizing: border-box;
}

.maglux-favorite-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	margin: 0;
	padding: 11px 22px;
	border: 1.5px solid #092d52;
	border-radius: 999px !important;
	background: #fff;
	color: #092d52;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.maglux-favorite-toggle:hover,
.maglux-favorite-toggle:focus-visible {
	border-color: #ff6b00;
	background: #fff7f0;
	color: #092d52;
}

.maglux-favorite-heart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	font-size: 0;
	line-height: 1;
}

.maglux-favorite-heart::before {
	content: "♡";
	color: #ff6b00;
	font-size: 29px;
	font-family: Arial, sans-serif;
	line-height: 1;
}

.maglux-favorite-toggle.is-favorite {
	border-color: #092d52;
	background: #fff;
	color: #092d52;
}

.maglux-favorite-toggle.is-favorite .maglux-favorite-heart {
	color: #ff6b00;
}

.maglux-favorite-toggle.is-favorite .maglux-favorite-heart::before {
	content: "♥";
	color: #ff6b00;
}

.maglux-favorites-actions-row {
	display: grid !important;
	grid-template-columns: repeat(2, 215px) !important;
	align-items: stretch !important;
	justify-content: start !important;
	gap: 14px !important;
	width: max-content !important;
	max-width: 100% !important;
	margin: 14px 0 0 !important;
	padding: 0 !important;
}

.maglux-favorites-actions-row > .maglux-favorites-action-peer {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 215px !important;
	min-width: 215px !important;
	max-width: 215px !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	box-sizing: border-box !important;
	border-radius: 999px !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

.maglux-favorites-actions-row > .maglux-favorite-toggle {
	padding-left: 18px !important;
	padding-right: 18px !important;
}

.maglux-favorites-page {
	width: min(1200px, calc(100% - 32px));
	margin: 48px auto 70px;
}

.maglux-favorites-heading {
	margin-bottom: 26px;
}

.maglux-favorites-heading h1 {
	margin-bottom: 8px;
	color: #092d52;
}

.maglux-favorites-feedback {
	padding: 18px 20px;
	border: 1px solid #dce4ec;
	border-radius: 10px;
	background: #f7f9fb;
	color: #42556a;
}

.maglux-favorites-feedback:empty {
	display: none;
}

.maglux-favorites-feedback.is-error {
	border-color: #e6b5b5;
	background: #fff4f4;
	color: #9c1c1c;
}

.maglux-favorites-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.maglux-favorite-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e1e7ed;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(9, 45, 82, .07);
}

.maglux-favorite-card-remove {
	position: absolute;
	z-index: 2;
	top: 10px;
	right: 10px;
	width: 42px;
	min-width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	color: #d7194a;
}

.maglux-favorite-card-image {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	padding: 18px;
	background: #fff;
}

.maglux-favorite-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.maglux-favorite-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
	border-top: 1px solid #edf1f4;
}

.maglux-favorite-card-content h2 {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.35;
}

.maglux-favorite-card-content h2 a {
	color: #092d52;
	text-decoration: none;
}

.maglux-favorite-card-price {
	margin: auto 0 16px;
	color: #092d52;
	font-size: 20px;
	font-weight: 800;
}

.maglux-favorite-card-actions .button {
	width: 100%;
	text-align: center;
}

@media (max-width: 980px) {
	.maglux-favorites-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.maglux-favorites-header-text {
		display: none;
	}
}

@media (max-width: 560px) {
	.maglux-favorites-header-mount.is-placed {
		margin: 0 5px;
	}

	.maglux-favorites-header-heart {
		width: 44px;
		height: 44px;
	}

	.maglux-favorites-header-heart::before {
		font-size: 38px;
	}

	.maglux-favorites-actions-row {
		grid-template-columns: 1fr !important;
		width: 100% !important;
		gap: 10px !important;
	}

	.maglux-favorites-actions-row > .maglux-favorites-action-peer {
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
	}

	.maglux-favorites-page {
		width: min(100% - 24px, 1200px);
		margin-top: 28px;
	}

	.maglux-favorites-grid {
		grid-template-columns: 1fr;
	}
}

/* ================================================================
   FIX6 — EGALARE FAVORITE CU BUTONUL REAL „DISTRIBUIE PRODUSUL”
   Butonul Distribuie este în .maglux-share-control, iar elementul
   vizibil .maglux-share-button avea lățime automată.
   Îl întindem exact pe coloana de 215px deja stabilită în FIX4.
   ================================================================ */

.maglux-favorites-actions-row > .maglux-share-control {
	width: 215px !important;
	min-width: 215px !important;
	max-width: 215px !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

.maglux-favorites-actions-row > .maglux-share-control > .maglux-share-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	max-height: 48px !important;
	margin: 0 !important;
	padding: 10px 18px !important;
	box-sizing: border-box !important;
	border-radius: 999px !important;
}

@media (max-width: 560px) {
	.maglux-favorites-actions-row > .maglux-share-control {
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
	}
}

