/*
 * Global, opt-in link foundation.
 *
 * Add `bss-link` only to links that should use this reset. The filter links
 * retain their own UI and are explicitly excluded below.
 *
 * Customise a link or one of its parents with:
 * --bss-link-color, --bss-link-color-hover,
 * --bss-link-decoration, --bss-link-decoration-hover,
 * --bss-link-underline-offset, --bss-link-transition.
 */
a.bss-link:not(.bss-products-filter):not(.bss-products-filter-link),
a.bss-link:not(.bss-products-filter):not(.bss-products-filter-link):visited {
	color: var(--bss-link-color, currentColor) !important;
	background: transparent !important;
	text-decoration: var(--bss-link-decoration, none) !important;
	text-decoration-color: currentColor !important;
	text-decoration-thickness: var(--bss-link-decoration-thickness, 1px) !important;
	text-underline-offset: var(--bss-link-underline-offset, .14em) !important;
	box-shadow: none !important;
	transition: color var(--bss-link-transition, .25s ease), opacity var(--bss-link-transition, .25s ease), text-decoration-color var(--bss-link-transition, .25s ease) !important;
}

a.bss-link:not(.bss-products-filter):not(.bss-products-filter-link)::after,
a.bss-link:not(.bss-products-filter):not(.bss-products-filter-link)::before {
	text-decoration: none !important;
}

a.bss-link:not(.bss-products-filter):not(.bss-products-filter-link):hover,
a.bss-link:not(.bss-products-filter):not(.bss-products-filter-link):focus-visible {
	color: var(--bss-link-color-hover, var(--bss-link-color, currentColor)) !important;
	text-decoration: var(--bss-link-decoration-hover, var(--bss-link-decoration, none)) !important;
}

@media (prefers-reduced-motion: reduce) {
	a.bss-link:not(.bss-products-filter):not(.bss-products-filter-link) {
		transition: none !important;
	}
}
