/**
 * Shop catalogue – De Slimme Doos.
 *
 * Shop page, product categories/tags and product search: header, category
 * links, filter panel (column on desktop, drawer below 1024px), toolbar,
 * product grid, pagination and the SEO text. The product grid styles also
 * apply to related products on single product pages.
 * Markup: inc/integrations/woocommerce-catalog.php + template-parts/shop/.
 * Loaded on catalogue and product pages only (inc/enqueue.php).
 */

/* Page shell: no white GeneratePress box -------------------------------- */

.eno-catalog-page .site-main {
	margin: 0;
}

.eno-catalog-page .inside-article {
	padding: 0;
	background-color: transparent;
}

.eno-catalog-page .entry-content {
	margin: 0;
}

/* Header ------------------------------------------------------------------ */

.eno-catalog-header {
	padding-block: 0.5rem 2rem;
}

.eno-catalog-header__title {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: var(--eno-text-headline-lg);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.eno-catalog-header__intro {
	max-width: 46rem;
	margin-top: 0.875rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body-lg);
	line-height: 1.6;
}

.eno-catalog-header__intro p {
	margin: 0 0 0.75em;
}

.eno-catalog-header__intro > :last-child {
	margin-bottom: 0;
}

.eno-catalog-header__intro a {
	color: var(--eno-color-orange-dark);
}

/* Link to the box finder (inc/box-finder.php). */
.eno-catalog-header__finder {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.875rem 0 0;
	color: var(--eno-color-orange-dark);
	font-size: var(--eno-text-label);
}

.eno-catalog-header__finder .eno-text-link {
	color: var(--eno-color-orange-dark);
	font-weight: 600;
}

/* Category links: wrapping buttons. On mobile main.js collapses the list to
   the first few (plus the current one) behind a "+N meer" button. */
.eno-catalog-cats {
	margin-top: 1.5rem;
}

.eno-catalog-cats__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eno-catalog-cats__list li {
	max-width: 100%;
	margin: 0;
}

.eno-catalog-cats__link,
.eno-catalog-cats__more {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.5rem 1rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
	font-family: var(--eno-font-body);
	font-size: var(--eno-text-label);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 150ms var(--eno-ease), background-color 150ms var(--eno-ease), color 150ms var(--eno-ease);
}

/* Long category names stay on one line, cut off with an ellipsis (full name in title). */
.eno-catalog-cats__link {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.eno-catalog-cats__link:hover,
.eno-catalog-cats__link:focus-visible {
	border-color: var(--eno-color-outline);
	color: var(--eno-color-text);
}

.eno-catalog-cats__link[aria-current] {
	border-color: var(--eno-color-text);
	background-color: var(--eno-color-text);
	color: var(--eno-color-white);
}

.eno-catalog-cats__more {
	border-style: dashed;
	border-color: var(--eno-color-outline);
	background-color: transparent;
	color: var(--eno-color-orange-dark);
	cursor: pointer;
}

.eno-catalog-cats__more:hover,
.eno-catalog-cats__more:focus-visible {
	border-style: solid;
	background-color: var(--eno-color-white);
	color: var(--eno-color-orange-dark);
}

.eno-catalog-cats.is-collapsed .eno-catalog-cats__extra {
	display: none;
}

/* Tablet and up: every link visible, no toggle. */
@media (min-width: 768px) {
	.eno-catalog-cats.is-collapsed .eno-catalog-cats__extra {
		display: list-item;
	}

	.eno-catalog-cats__toggle {
		display: none;
	}
}

@media (min-width: 1024px) {
	.eno-catalog-header {
		padding-block: 1rem 2.5rem;
	}
}

/* Layout ------------------------------------------------------------------ */

.eno-catalog {
	padding-bottom: 5rem;
}

@media (min-width: 1024px) {
	.eno-catalog__layout {
		display: grid;
		grid-template-columns: 15.5rem minmax(0, 1fr);
		gap: 3rem;
		align-items: start;
	}
}

/* Filter panel ------------------------------------------------------------ */

.eno-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.eno-filters__title {
	margin: 0;
	font-family: var(--eno-font-heading);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
}

.eno-filters__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-right: -0.625rem;
	border-radius: var(--eno-radius);
	color: var(--eno-color-text);
}

.eno-filters__close:hover {
	background-color: var(--eno-color-surface);
}

.eno-filter {
	padding-block: 1.25rem;
	border-top: 1px solid var(--eno-color-surface-high);
}

.eno-filter:first-child {
	border-top: 0;
}

.eno-filter__title {
	margin: 0 0 0.75rem;
	color: var(--eno-color-text);
	font-family: var(--eno-font-body);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eno-filter__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.eno-filter__option {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 2.5rem;
	padding-block: 0.25rem;
	color: var(--eno-color-text);
	font-size: 0.9375rem;
	line-height: 1.35;
	text-decoration: none;
}

.eno-filter__box {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	border: 1.5px solid var(--eno-color-outline);
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-white);
	color: var(--eno-color-white);
	transition: border-color 150ms var(--eno-ease), background-color 150ms var(--eno-ease);
}

.eno-filter__box .eno-icon {
	width: 0.875rem;
	height: 0.875rem;
	opacity: 0;
}

.eno-filter__label {
	flex: 1;
	min-width: 0;
}

.eno-filter__count {
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-variant-numeric: tabular-nums;
}

.eno-filter__option:hover .eno-filter__box,
.eno-filter__option:focus-visible .eno-filter__box {
	border-color: var(--eno-color-orange);
}

.eno-filter__option:hover .eno-filter__label {
	color: var(--eno-color-orange-dark);
}

.eno-filter__option.is-active {
	font-weight: 600;
}

.eno-filter__option.is-active .eno-filter__box {
	border-color: var(--eno-color-orange);
	background-color: var(--eno-color-orange);
}

.eno-filter__option.is-active .eno-filter__box .eno-icon {
	opacity: 1;
}

.eno-filter__more summary {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	min-height: 2.5rem;
	color: var(--eno-color-orange-dark);
	font-size: var(--eno-text-label);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.eno-filter__more summary::-webkit-details-marker {
	display: none;
}

.eno-filter__more[open] summary .eno-icon {
	transform: rotate(180deg);
}

/* Price */
.eno-filter__price-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.eno-filter__price-label {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 600;
}

.eno-filter__price-input {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	height: 2.75rem;
	padding-inline: 0.75rem;
	border: 1px solid var(--eno-color-surface-dim);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
}

.eno-filter__price-input:focus-within {
	border-color: var(--eno-color-orange);
	outline: 2px solid var(--eno-color-orange-tint);
}

.eno-filter__price-input input {
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--eno-color-text);
	font-size: 1rem;
	-moz-appearance: textfield;
	appearance: textfield;
}

.eno-filter__price-input input:focus {
	outline: 0;
}

.eno-filter__price-input input::-webkit-outer-spin-button,
.eno-filter__price-input input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.eno-filter__apply {
	width: 100%;
	margin-top: 0.75rem;
	padding-block: 0.625rem;
	color: var(--eno-color-text);
}

.eno-filter__apply:hover,
.eno-filter__apply:focus-visible {
	color: var(--eno-color-text);
}

.eno-filters__empty {
	margin: 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
}

.eno-filters__foot {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.eno-filters__show {
	flex: 1;
}

.eno-filters__reset {
	color: var(--eno-color-text);
	font-size: var(--eno-text-label);
	font-weight: 600;
	text-underline-offset: 3px;
}

/* Drawer below 1024px; opened by main.js (.is-open) or :target without JS. */
@media (max-width: 1023px) {
	.eno-catalog__filters {
		position: fixed;
		inset: 0 auto 0 0;
		z-index: 1001;
		display: flex;
		flex-direction: column;
		width: min(24rem, 88vw);
		background-color: var(--eno-color-bg);
		box-shadow: var(--eno-shadow-lg);
		visibility: hidden;
		transform: translateX(-100%);
		transition: transform 250ms var(--eno-ease-out), visibility 0s linear 250ms;
	}

	.eno-catalog__filters.is-open,
	.eno-catalog__filters:target {
		visibility: visible;
		transform: none;
		transition: transform 250ms var(--eno-ease-out);
	}

	.eno-filters__head {
		padding: 0.75rem 1.25rem;
		border-bottom: 1px solid var(--eno-color-surface-high);
	}

	.eno-filters__body {
		flex: 1;
		padding-inline: 1.25rem;
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.eno-filters__foot {
		padding: 1rem 1.25rem;
		border-top: 1px solid var(--eno-color-surface-high);
		background-color: var(--eno-color-white);
	}

	.eno-catalog__backdrop:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 1000;
		background-color: rgb(28 27 27 / 45%);
	}
}

@media (min-width: 1024px) {
	.eno-catalog__filters {
		position: sticky;
		top: 1.5rem;
		max-height: calc(100vh - 3rem);
		padding-right: 0.25rem;
		overflow-y: auto;
		scrollbar-width: thin;
	}

	.eno-filters__head {
		padding-bottom: 0.5rem;
	}

	.eno-filters__close,
	.eno-filters__foot,
	.eno-catalog__backdrop {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eno-catalog__filters,
	.eno-catalog__filters.is-open {
		transition: none;
	}
}

/* Toolbar and active filters ---------------------------------------------- */

.eno-catalog__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--eno-color-surface-high);
}

.eno-catalog__filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.5rem 1rem;
	border: 1px solid var(--eno-color-text);
	border-radius: var(--eno-radius-sm);
	color: var(--eno-color-text);
	font-size: var(--eno-text-label);
	font-weight: 600;
	text-decoration: none;
}

.eno-catalog__filter-toggle:hover,
.eno-catalog__filter-toggle:focus-visible {
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-text);
}

.eno-catalog__filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding-inline: 0.25rem;
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-orange);
	color: var(--eno-color-text);
	font-size: var(--eno-text-small);
	font-weight: 700;
}

.eno-catalog-page .eno-catalog .woocommerce-result-count {
	order: 3;
	flex-basis: 100%;
	margin: 0;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
}

/* Mobile: the sort dropdown fills the row next to the filter button. */
.eno-catalog-page .eno-catalog .woocommerce-ordering {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

.eno-catalog-page .eno-catalog .woocommerce-ordering select {
	width: 100%;
	text-overflow: ellipsis;
}

.eno-catalog .woocommerce-ordering select {
	min-height: 2.75rem;
	padding: 0.5rem 2.5rem 0.5rem 0.875rem;
	border: 1px solid var(--eno-color-surface-dim);
	border-radius: var(--eno-radius-sm);
	background: var(--eno-color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' width='20' height='20'%3E%3Cpath fill='%23584236' d='M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z'/%3E%3C/svg%3E") no-repeat right 0.625rem center;
	color: var(--eno-color-text);
	font-size: var(--eno-text-label);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.eno-catalog .woocommerce-ordering select:hover {
	border-color: var(--eno-color-outline);
}

.eno-catalog__active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: -0.5rem 0 1.5rem;
	padding: 0;
	list-style: none;
}

.eno-catalog__chip {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 2.25rem;
	padding: 0.375rem 0.625rem 0.375rem 0.75rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-text);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: border-color 150ms var(--eno-ease);
}

.eno-catalog__chip:hover,
.eno-catalog__chip:focus-visible {
	border-color: var(--eno-color-orange);
	color: var(--eno-color-text);
}

.eno-catalog__clear {
	margin-left: 0.25rem;
	color: var(--eno-color-text);
	font-size: 0.8125rem;
	font-weight: 600;
	text-underline-offset: 3px;
}

@media (min-width: 1024px) {
	.eno-catalog__filter-toggle {
		display: none;
	}

	.eno-catalog-page .eno-catalog .woocommerce-result-count {
		order: 0;
		flex-basis: auto;
	}

	.eno-catalog-page .eno-catalog .woocommerce-ordering {
		flex: none;
		margin-left: auto;
	}

	.eno-catalog-page .eno-catalog .woocommerce-ordering select {
		width: auto;
	}
}

/* Product grid (catalogue, related products, service pages) ------------------ */

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1rem;
	margin: 0;
	padding: 0;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class]::before,
body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class]::after {
	display: none;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
	text-align: left;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .woocommerce-LoopProduct-link {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: var(--eno-color-text);
	text-decoration: none;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product a img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	margin: 0 0 1rem;
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-surface-low);
	box-shadow: none;
	object-fit: cover;
	transition: opacity 200ms var(--eno-ease);
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .woocommerce-LoopProduct-link:hover img {
	opacity: 0.9;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .woocommerce-loop-product__title {
	margin: 0 0 0.375rem;
	padding: 0;
	color: var(--eno-color-text);
	font-family: var(--eno-font-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	transition: color 150ms var(--eno-ease);
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title {
	color: var(--eno-color-orange-dark);
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .price {
	display: block;
	margin: 0 0 1rem;
	color: var(--eno-color-text);
	font-size: 1rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .price del {
	margin-right: 0.25rem;
	color: var(--eno-color-text-muted);
	font-weight: 400;
	opacity: 1;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .price ins {
	color: var(--eno-color-orange-dark);
	text-decoration: none;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .price small {
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-small);
	font-weight: 400;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .star-rating {
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .button {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--eno-color-text);
	border-radius: var(--eno-radius-sm);
	background-color: transparent;
	color: var(--eno-color-text);
	font-family: var(--eno-font-body);
	font-size: var(--eno-text-label);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	transition: background-color 150ms var(--eno-ease), border-color 150ms var(--eno-ease), color 150ms var(--eno-ease);
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .button:hover,
body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .button:focus-visible {
	border-color: var(--eno-color-orange);
	background-color: var(--eno-color-orange);
	color: var(--eno-color-white);
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .added_to_cart {
	margin-top: 0.5rem;
	color: var(--eno-color-orange-dark);
	font-size: var(--eno-text-label);
	font-weight: 600;
	text-align: center;
}

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .onsale {
	top: 0.625rem;
	right: auto;
	left: 0.625rem;
	z-index: 1;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.25rem 0.5rem;
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-orange);
	color: var(--eno-color-text);
	font-size: var(--eno-text-small);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

@media (min-width: 768px) {
	body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem 1.5rem;
	}

	body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .woocommerce-loop-product__title {
		font-size: 1.0625rem;
	}
}

@media (min-width: 1280px) {
	body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Pagination ------------------------------------------------------------- */

.eno-catalog-page .eno-catalog nav.woocommerce-pagination {
	margin-top: 3.5rem;
	text-align: left;
}

.eno-catalog-page .eno-catalog nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin: 0;
	border: 0;
	white-space: normal;
}

.eno-catalog-page .eno-catalog nav.woocommerce-pagination ul li {
	float: none;
	border: 0;
	overflow: visible;
}

.eno-catalog-page .eno-catalog nav.woocommerce-pagination ul li a,
.eno-catalog-page .eno-catalog nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.75rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius-sm);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
	font-size: var(--eno-text-label);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

.eno-catalog-page .eno-catalog nav.woocommerce-pagination ul li a:hover,
.eno-catalog-page .eno-catalog nav.woocommerce-pagination ul li a:focus-visible {
	border-color: var(--eno-color-outline);
	background-color: var(--eno-color-surface-low);
	color: var(--eno-color-text);
}

.eno-catalog-page .eno-catalog nav.woocommerce-pagination ul li span.current {
	border-color: var(--eno-color-text);
	background-color: var(--eno-color-text);
	color: var(--eno-color-white);
}

.eno-catalog-page .eno-catalog nav.woocommerce-pagination ul li span.dots {
	border-color: transparent;
	background-color: transparent;
}

/* Notices (e.g. "no products found") -------------------------------------- */

.eno-catalog .woocommerce-info,
.eno-catalog .woocommerce-message,
.eno-catalog .woocommerce-error {
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--eno-color-surface-high);
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-white);
	color: var(--eno-color-text);
}

.eno-catalog .woocommerce-info::before,
.eno-catalog .woocommerce-message::before,
.eno-catalog .woocommerce-error::before {
	display: none;
}

.eno-catalog__reset {
	margin: 0;
}

/* SEO text below the products --------------------------------------------- */

.eno-catalog-seo {
	padding-block: 4.5rem;
	border-top: 1px solid var(--eno-color-surface);
	background-color: var(--eno-color-white);
}

.eno-catalog-seo__text {
	max-width: 46rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-body);
	line-height: 1.75;
}

.eno-catalog-seo__text h2 {
	margin: 0 0 1rem;
	font-size: var(--eno-text-headline-md);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.eno-catalog-seo__text h3 {
	margin: 2rem 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
}

.eno-catalog-seo__text * + h2 {
	margin-top: 2.5rem;
}

.eno-catalog-seo__text p,
.eno-catalog-seo__text ul,
.eno-catalog-seo__text ol {
	margin: 0 0 1em;
}

.eno-catalog-seo__text > :last-child {
	margin-bottom: 0;
}

.eno-catalog-seo__text a {
	color: var(--eno-color-orange-dark);
}

.eno-catalog-seo__text strong {
	color: var(--eno-color-text);
}

/* Bulk pricing line on product cards (inc/product-bulk-pricing.php) */

body:is(.eno-catalog-page, .single-product, .single-eno_dienst) ul.products[class] li.product .eno-bulk-hint {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	position: relative;
	margin: -0.5rem 0 1rem;
	color: var(--eno-color-text-muted);
	font-size: var(--eno-text-label);
	line-height: 1.4;
}

.eno-bulk-hint strong {
	color: var(--eno-color-green-ink);
	font-weight: 700;
}

.eno-bulk-hint strong {
	white-space: nowrap;
}

.eno-bulk-hint__help {
	display: inline-flex;
}

/* Also beats GeneratePress' button styles. */
.eno-bulk-hint .eno-bulk-hint__button,
.eno-bulk-hint .eno-bulk-hint__button:hover,
.eno-bulk-hint .eno-bulk-hint__button:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--eno-color-outline);
	cursor: help;
}

.eno-bulk-hint .eno-bulk-hint__button:hover {
	color: var(--eno-color-text);
}

.eno-bulk-hint .eno-bulk-hint__button:focus-visible {
	outline: 2px solid var(--eno-color-orange);
	outline-offset: 0;
}

.eno-bulk-hint__button .eno-icon {
	width: 1.125rem;
	height: 1.125rem;
}

/* Spans the whole line (not the icon), so it stays inside narrow cards. */
.eno-bulk-hint__tip {
	position: absolute;
	right: 0;
	bottom: calc(100% + 0.375rem);
	left: 0;
	z-index: 5;
	padding: 0.625rem 0.75rem;
	border-radius: var(--eno-radius);
	background-color: var(--eno-color-text);
	box-shadow: var(--eno-shadow-md);
	color: var(--eno-color-white);
	font-size: var(--eno-text-small);
	font-weight: 400;
	line-height: 1.5;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.25rem);
	transition: opacity 150ms var(--eno-ease), transform 150ms var(--eno-ease), visibility 150ms;
	pointer-events: none;
}

.eno-bulk-hint__help:hover .eno-bulk-hint__tip,
.eno-bulk-hint__help:focus-within .eno-bulk-hint__tip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.eno-bulk-hint__tip {
		transition: none;
	}
}
