/* Floating interest list button – fixed bottom-right, expands on hover/focus. */

.mgh-floating-interest-list {
	position: fixed;
	right: 0;
	bottom: 32px;
	z-index: 9999;
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	height: 48px;
	max-width: 48px;
	overflow: hidden;
	background-color: var(--mgh-gold);
	color: #fff;
	text-decoration: none;
	border-radius: 8px 0 0 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	transition: max-width 300ms ease, background-color 150ms ease;
	white-space: nowrap;
}

.mgh-floating-interest-list:hover,
.mgh-floating-interest-list:focus-visible {
	max-width: 360px;
	background-color: var(--mgh-gold-hover);
}

.mgh-floating-interest-list__icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
}

.mgh-floating-interest-list__icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.mgh-floating-interest-list__text {
	opacity: 0;
	padding-left: 20px;
	padding-right: 4px;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	transition: opacity 300ms ease;
}

.mgh-floating-interest-list:hover .mgh-floating-interest-list__text,
.mgh-floating-interest-list:focus-visible .mgh-floating-interest-list__text {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.mgh-floating-interest-list,
	.mgh-floating-interest-list__text {
		transition: none;
	}
}
