/* Woo Header Link - front-end */
.whl-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 0;
	text-decoration: none;
}

.whl-link .whl-text {
	line-height: 1.2;
	font-size: 14px;
}

.whl-link img {
	max-width: 100%;
	border: 0;
}

/* Zwevend of absoluut gepositioneerd. */
.whl-link.whl-fixed,
.whl-link.whl-absolute {
	margin: 0;
}

.whl-link.whl-fixed:hover img,
.whl-link.whl-absolute:hover img {
	opacity: 0.85;
}

.whl-link img {
	transition: opacity 0.15s ease-in-out;
}

/* Widget/inline variant. */
.whl-link.whl-inline {
	display: inline-flex;
}

@media (max-width: 767px) {
	.whl-link.whl-hide-mobile {
		display: none !important;
	}
}

/* -------------------------------------------------------------------------
 *  Zwevend menu
 * ---------------------------------------------------------------------- */

.whl-fab {
	position: fixed;
	width: 56px;
	height: 56px;
	-webkit-user-select: none;
	user-select: none;
}

/* Startposities. */
.whl-fab--br { right: var(--whl-fab-offset, 20px); bottom: var(--whl-fab-offset, 20px); }
.whl-fab--bl { left: var(--whl-fab-offset, 20px); bottom: var(--whl-fab-offset, 20px); }
.whl-fab--tr { right: var(--whl-fab-offset, 20px); top: var(--whl-fab-offset, 20px); }
.whl-fab--tl { left: var(--whl-fab-offset, 20px); top: var(--whl-fab-offset, 20px); }

.whl-fab__toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #1e1e1e;
	color: #fff;
	cursor: grab;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
	transition: background 0.15s ease, box-shadow 0.15s ease;
	touch-action: none;
	-webkit-tap-highlight-color: transparent;
}

.whl-fab__toggle:hover { background: #333; }
.whl-fab__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.whl-fab--dragging .whl-fab__toggle { cursor: grabbing; }

.whl-fab__bars {
	position: relative;
	display: block;
	width: 22px;
	height: 16px;
}

.whl-fab__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.whl-fab__bars span:nth-child(1) { top: 0; }
.whl-fab__bars span:nth-child(2) { top: 7px; }
.whl-fab__bars span:nth-child(3) { top: 14px; }

.whl-fab--open .whl-fab__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.whl-fab--open .whl-fab__bars span:nth-child(2) { opacity: 0; }
.whl-fab--open .whl-fab__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Menupaneel: standaard boven de knop, rechts uitgelijnd. */
.whl-fab__menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 10px);
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 180px;
	max-width: min(280px, calc(100vw - 24px));
	max-height: min(70vh, 480px);
	overflow-y: auto;
	overscroll-behavior: contain;
	touch-action: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateY(8px) scale(0.96);
	transform-origin: bottom right;
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.whl-fab--menu-down .whl-fab__menu {
	top: calc(100% + 10px);
	bottom: auto;
	transform-origin: top right;
}

.whl-fab--menu-left .whl-fab__menu {
	left: 0;
	right: auto;
	transform-origin: bottom left;
}

.whl-fab--menu-down.whl-fab--menu-left .whl-fab__menu {
	transform-origin: top left;
}

.whl-fab--open .whl-fab__menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0) scale(1);
}

.whl-fab__item {
	display: block;
	padding: 10px 16px;
	background: #fff;
	color: #1e1e1e;
	text-decoration: none;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transform: translateY(6px);
	transition: transform 0.18s ease, opacity 0.18s ease, background 0.15s ease;
}

.whl-fab__item--cat {
	font-weight: 600;
}

.whl-fab--open .whl-fab__item {
	opacity: 1;
	transform: translateY(0);
}

.whl-fab__item:hover,
.whl-fab__item:focus {
	background: #f2f2f2;
}

@media (max-width: 767px) {
	.whl-fab--hide-mobile {
		display: none !important;
	}
}
