/* Glasolux Sticky Menü – Frontend */

:root {
	--glx-sm-bg: #77b829;
	--glx-sm-hover: #00235c;
	--glx-sm-text: #ffffff;
}

.glx-sticky-menu {
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.glx-sticky-item {
	display: flex;
	align-items: center;
	height: 56px;
	max-width: 56px;
	overflow: hidden;
	background-color: var(--glx-sm-bg);
	color: var(--glx-sm-text) !important;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.18);
	text-decoration: none !important;
	transition: max-width 0.3s ease, background-color 0.2s ease;
	white-space: nowrap;
}

.glx-sticky-item:hover,
.glx-sticky-item:focus {
	max-width: 280px;
	background-color: var(--glx-sm-hover);
	color: var(--glx-sm-text) !important;
}

.glx-sticky-icon {
	flex: 0 0 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
}

.glx-sticky-icon svg {
	display: block;
}

.glx-sticky-label {
	padding-right: 18px;
	font-family: 'Mulish', Arial, Helvetica, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--glx-sm-text) !important;
}

/* Mobil: kompakter, am unteren Rand andocken */
@media screen and (max-width: 767px) {
	.glx-sticky-menu {
		top: auto;
		bottom: 12px;
		transform: none;
		gap: 6px;
	}

	.glx-sticky-item {
		height: 48px;
		max-width: 48px;
	}

	.glx-sticky-icon {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
	}

	.glx-sticky-item:hover,
	.glx-sticky-item:focus {
		max-width: 220px;
	}
}
