/**
 * Willi Food Store Locator — the product page button ([willi_map_button]).
 *
 * A plain link in the site's pill style. Loaded on product pages only, with no
 * script. Override the tokens from the theme, e.g. .wm-find { --wm-find-bg: #1065af; }.
 */
.wm-find-wrap {
	margin-block: 12px;
}

.wm-find {
	--wm-find-bg: #e4051f;        /* the logo red (Elementor "secondary"); white on it is 4.8:1 */
	--wm-find-bg-hover: #b8031a;
	--wm-find-text: #fff;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 10px 26px;
	border-radius: 50px;
	background: var(--wm-find-bg);
	color: var(--wm-find-text);
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.wm-find:hover,
.wm-find:focus-visible {
	background: var(--wm-find-bg-hover);
	color: var(--wm-find-text);
	text-decoration: none;
}

.wm-find:focus-visible {
	outline: 3px solid #1065af;
	outline-offset: 3px;
}

.wm-find:active {
	transform: scale(0.98);
}

.wm-find-icon {
	flex: none;
}

/* Admins only: why visitors would not see the button. */
.wm-find-note {
	max-width: 36em;
	margin: 8px 0 0;
	padding: 8px 12px;
	border-inline-start: 4px solid #8a5300;
	background: #fff7e6;
	color: #181b1e;
	font-size: 0.9rem;
	line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
	.wm-find {
		transition: none;
	}

	.wm-find:active {
		transform: none;
	}
}
