/*
 * Mark Warenhaus brand layer for the editorial WooCommerce shell.
 * Loaded after halden.css so the full storefront shares one visual system.
 */

@font-face {
	font-family: "Atkinson Hyperlegible";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/atkinson-hyperlegible-400.woff2") format("woff2");
}

@font-face {
	font-family: "Atkinson Hyperlegible";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/atkinson-hyperlegible-700.woff2") format("woff2");
}

@font-face {
	font-family: "Bitter";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url("../fonts/bitter-600-700.woff2") format("woff2");
}

:root {
	--h-ink: #17211f;
	--h-green: #153f3a;
	--h-green-deep: #0d2d29;
	--h-green-soft: #e4eeea;
	--h-ochre: #c88b32;
	--h-ochre-dark: #8a5b1d;
	--h-paper: #f6f3eb;
	--h-paper-deep: #ebe6da;
	--h-surface: #fffdf8;
	--h-mut: #52615e;
	--h-body: #34423f;
	--h-line: #d7d1c4;
	--h-soft: #687672;
	--h-sans: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
	--h-serif: "Bitter", Georgia, serif;
	--h-mono: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
	--h-pad: clamp(20px, 4vw, 56px);
	--h-shell: 1280px;
	--h-radius: 6px;
	--h-shadow: 0 18px 44px rgba(23, 33, 31, 0.1);
	--h-hatch: #ebe6da;
}

html {
	scroll-padding-top: 164px;
}

body.halden {
	min-width: 0;
	background: var(--h-paper);
	color: var(--h-ink);
	font-family: var(--h-sans);
	font-size: 16px;
	line-height: 1.6;
}

.halden :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--h-serif);
	font-weight: 700;
	letter-spacing: -0.025em;
}

.halden :where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid var(--h-ochre);
	outline-offset: 3px;
}

.halden a {
	color: var(--h-green);
	text-underline-offset: 0.18em;
}

.halden a:hover {
	color: var(--h-ochre-dark);
}

.h-sr,
.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.screen-reader-text:focus {
	top: 10px !important;
	left: 10px !important;
	z-index: 100000 !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	overflow: visible !important;
	clip: auto !important;
	white-space: normal !important;
	color: #ffffff !important;
	background: var(--h-green-deep) !important;
}

/* Header */

.h-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 253, 248, 0.98);
	border-bottom: 1px solid var(--h-line);
	box-shadow: 0 8px 24px rgba(23, 33, 31, 0.05);
}

.h-service-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 34px;
	padding: 6px max(var(--h-pad), calc((100vw - var(--h-shell)) / 2));
	color: rgba(255, 255, 255, 0.86);
	background: var(--h-green-deep);
	font-size: 12px;
	letter-spacing: 0.04em;
}

.h-service-bar a {
	min-height: 28px;
	padding: 4px 0;
	color: #ffffff;
	font-weight: 700;
}

.h-header__primary {
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(280px, 1fr) auto;
	align-items: center;
	gap: clamp(24px, 4vw, 56px);
	width: min(calc(100% - (2 * var(--h-pad))), var(--h-shell));
	min-height: 82px;
	margin: 0 auto;
}

.h-wordmark {
	display: block;
	min-width: 0;
	padding: 0;
}

.h-wordmark img {
	display: block;
	width: min(100%, 285px);
	height: auto;
	max-height: 54px;
	margin: 0;
	object-fit: contain;
	object-position: left center;
}

.h-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	min-width: 0;
}

.halden .h-search input[type="search"] {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #aeb9b5;
	border-right: 0;
	border-radius: var(--h-radius) 0 0 var(--h-radius);
	background: #ffffff;
	font-size: 16px;
}

.h-search button {
	min-width: 92px;
	min-height: 48px;
	padding: 10px 18px;
	border: 1px solid var(--h-green);
	border-radius: 0 var(--h-radius) var(--h-radius) 0;
	color: #ffffff;
	background: var(--h-green);
	font: 700 14px/1 var(--h-sans);
	cursor: pointer;
}

.h-search button:hover {
	background: var(--h-green-deep);
}

.h-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

.h-actions a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 10px;
	color: var(--h-ink);
	font-weight: 700;
}

.h-actions__search {
	display: none !important;
}

.h-header__navrow {
	position: relative;
	display: flex;
	align-items: center;
	width: min(calc(100% - (2 * var(--h-pad))), var(--h-shell));
	min-height: 48px;
	margin: 0 auto;
}

.h-nav {
	display: flex;
	align-items: center;
	gap: clamp(18px, 3vw, 38px);
	width: 100%;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.h-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	color: var(--h-ink);
	border-bottom: 3px solid transparent;
}

.h-nav a:hover,
.h-nav a[aria-current="page"] {
	color: var(--h-green);
	border-bottom-color: var(--h-ochre);
}

.h-burger {
	display: none;
	min-height: 44px;
	padding: 8px 0;
	border: 0;
	color: var(--h-ink);
	background: transparent;
	font: 700 13px/1 var(--h-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

/* Homepage */

.h-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(580px, 70vh, 760px);
	height: auto;
	padding: clamp(40px, 6vw, 88px) var(--h-pad);
	background: var(--h-paper-deep);
	overflow: hidden;
}

.halden .h-hero__bg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.h-hero__box,
.h-hero--photo .h-hero__box {
	position: relative;
	width: min(100%, 560px);
	max-width: none;
	margin-left: max(0px, calc((100vw - var(--h-shell)) / 2));
	padding: clamp(30px, 4vw, 52px);
	border-left: 6px solid var(--h-ochre);
	border-radius: var(--h-radius);
	background: rgba(255, 253, 248, 0.95);
	box-shadow: var(--h-shadow);
}

.h-hero h1 {
	max-width: 520px;
	margin: 0 0 22px;
	font-size: clamp(43px, 5vw, 68px);
	line-height: 1.04;
	color: var(--h-green-deep);
	text-wrap: balance;
}

.h-lead {
	max-width: 480px;
	margin: 0 0 28px;
	color: var(--h-body);
	font-size: clamp(17px, 1.4vw, 19px);
	line-height: 1.65;
}

.halden a.h-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 12px 24px;
	border: 2px solid var(--h-ochre);
	border-radius: var(--h-radius);
	color: #ffffff;
	background: var(--h-green);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: none;
}

.halden a.h-cta:hover {
	border-color: var(--h-green-deep);
	color: #ffffff;
	background: var(--h-green-deep);
}

.h-section {
	width: min(calc(100% - (2 * var(--h-pad))), var(--h-shell));
	margin: 0 auto;
	padding: clamp(64px, 8vw, 104px) 0 0;
}

.h-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 28px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--h-line);
}

.h-head h2 {
	margin: 0;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-transform: none;
}

.h-meta {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--h-green);
	font-family: var(--h-sans);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
}

.h-grid {
	display: grid;
	gap: 22px;
}

.h-grid--cats {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.h-grid--products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.h-card {
	min-width: 0;
	color: var(--h-ink);
	background: var(--h-surface);
}

.h-card--category {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	box-shadow: 0 8px 24px rgba(23, 33, 31, 0.05);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.h-card--category:hover {
	color: var(--h-green);
	border-color: #9eb0aa;
	box-shadow: 0 16px 34px rgba(23, 33, 31, 0.11);
	transform: translateY(-3px);
}

.h-slot {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--h-paper-deep);
}

.halden .h-slot img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.h-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 66px;
	padding: 14px 16px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.h-card__arrow {
	color: var(--h-ochre-dark);
	font-size: 21px;
}

.h-card--text-only.h-card--category {
	justify-content: flex-end;
	min-height: 220px;
	background: var(--h-green-soft);
}

.h-card--product {
	display: flex;
	flex-direction: column;
	border-radius: var(--h-radius);
	transition: transform 180ms ease;
}

.h-card--product:hover {
	color: var(--h-green);
	transform: translateY(-3px);
}

.h-card--product .h-slot {
	aspect-ratio: 1 / 1;
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	background: #ffffff;
}

.h-card--product .h-slot img {
	object-fit: contain;
	padding: 10px;
}

.h-card:hover .h-slot img {
	opacity: 1;
}

.h-prod {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 14px 2px 0;
}

.h-prod__cat {
	color: var(--h-mut);
	font-family: var(--h-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.h-prod__name {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	text-wrap: pretty;
}

.h-prod__price {
	color: var(--h-body);
	font-size: 16px;
}

.h-card--text-only.h-card--product {
	min-height: 220px;
	padding: 22px;
	border: 1px solid var(--h-line);
	background: var(--h-surface);
}

.h-card--text-only.h-card--product .h-prod {
	margin-top: auto;
	padding: 0;
}

.h-catalog-note {
	padding: clamp(44px, 6vw, 72px);
	border-left: 6px solid var(--h-ochre);
	background: var(--h-green-soft);
}

.h-catalog-note h2 {
	margin: 0 0 10px;
	font-size: clamp(28px, 3vw, 40px);
}

.h-catalog-note p {
	max-width: 640px;
	margin: 0;
	color: var(--h-body);
}

.h-content {
	width: min(calc(100% - (2 * var(--h-pad))), var(--h-shell));
	margin: 0 auto;
	padding: 72px 0 0;
}

.h-content__inner {
	max-width: 760px;
	color: var(--h-body);
	font-size: 17px;
	line-height: 1.75;
}

.h-editorial {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
	width: min(100%, 1440px);
	margin: clamp(72px, 9vw, 120px) auto 0;
	border: 0;
	background: var(--h-green-deep);
}

.h-editorial__img {
	aspect-ratio: 4 / 3;
	background: var(--h-paper-deep);
}

.h-editorial__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(42px, 6vw, 84px);
	color: #ffffff;
}

.h-editorial__body h2 {
	max-width: 500px;
	margin: 0 0 20px;
	color: #ffffff;
	font-size: clamp(34px, 4vw, 54px);
	line-height: 1.08;
}

.h-editorial__body .h-lead {
	max-width: 520px;
	margin-bottom: 26px;
	color: rgba(255, 255, 255, 0.82);
}

.halden .h-editorial .h-link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 46px;
	padding: 8px 0;
	border-bottom: 2px solid var(--h-ochre);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

/* Global pages and WooCommerce */

.h-page,
.h-shop {
	width: min(calc(100% - (2 * var(--h-pad))), var(--h-shell));
	margin: 0 auto;
	padding: clamp(40px, 6vw, 76px) 0 88px;
}

.h-page__head,
.halden .woocommerce-products-header {
	max-width: 820px;
	margin-bottom: 36px;
}

.halden :where(.h-page, .h-shop) h1,
.halden .woocommerce-products-header__title,
.halden .page-title {
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1.06;
}

.halden .h-shop ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px 22px;
}

.halden .h-shop ul.products li.product {
	overflow: hidden;
	padding: 12px 12px 18px;
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	background: var(--h-surface);
}

.halden .h-shop ul.products li.product img,
.halden .h-shop ul.products li.product .attachment-woocommerce_thumbnail {
	aspect-ratio: 1 / 1;
	margin-bottom: 14px;
	padding: 8px;
	border-radius: 4px;
	background: #ffffff;
	object-fit: contain;
}

.halden .h-shop ul.products li.product .woocommerce-loop-product__title,
.halden .h-shop ul.products li.product h2,
.halden .h-shop ul.products li.product h3 {
	font-family: var(--h-sans);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}

.halden .h-shop ul.products li.product .price {
	font-size: 17px;
	font-weight: 700;
}

.halden .button,
.halden button.button,
.halden input.button,
.halden a.button,
.halden div.product form.cart button.single_add_to_cart_button,
.halden #respond input#submit,
.halden .wc-block-components-button {
	min-height: 48px;
	border: 2px solid var(--h-green);
	border-radius: var(--h-radius);
	color: #ffffff;
	background: var(--h-green);
	font-family: var(--h-sans);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.halden .button:hover,
.halden button.button:hover,
.halden input.button:hover,
.halden a.button:hover,
.halden div.product form.cart button.single_add_to_cart_button:hover,
.halden #respond input#submit:hover,
.halden .wc-block-components-button:hover {
	border-color: var(--h-green-deep);
	color: #ffffff;
	background: var(--h-green-deep);
}

.halden :where(input, select, textarea) {
	font-size: 16px;
}

.halden .h-shop--single div.product {
	gap: clamp(34px, 6vw, 76px);
}

.halden .h-shop--single .product_title {
	font-size: clamp(36px, 4vw, 54px);
}

/* Footer */

.h-footer {
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
	gap: clamp(32px, 5vw, 68px);
	margin: 0;
	padding: clamp(54px, 7vw, 84px) max(var(--h-pad), calc((100vw - var(--h-shell)) / 2));
	border: 0;
	color: rgba(255, 255, 255, 0.78);
	background: var(--h-green);
}

.h-footer__brand {
	display: inline-block;
	max-width: 270px;
	padding: 10px 12px;
	border-radius: 4px;
	background: #fffdf8;
}

.h-footer__brand img {
	display: block;
	width: 100%;
	height: auto;
}

.h-footer__about {
	max-width: 340px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.76);
	font-size: 15px;
	line-height: 1.7;
}

.h-fcol {
	gap: 4px;
	font-size: 15px;
}

.h-fcol__title {
	margin-bottom: 12px;
	color: #ffffff;
	font-family: var(--h-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.h-fcol ul {
	gap: 2px;
}

.h-fcol a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: rgba(255, 255, 255, 0.88);
}

.h-fcol a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.h-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 18px max(var(--h-pad), calc((100vw - var(--h-shell)) / 2));
	border: 0;
	color: rgba(255, 255, 255, 0.72);
	background: var(--h-green-deep);
	font-family: var(--h-sans);
	font-size: 13px;
}

/*
 * Links in the legal bar and in the consent bar that Complianz appends
 * to it need a light colour. The dark default link colour of the theme
 * reaches only 1.27:1 on the dark green background of the bar.
 *
 * Contrast calculation (WCAG 2.1 relative luminance):
 *   background #0d2d29                    -> L = 0.02122
 *   old link  #153f3a                    -> L = 0.04020
 *        (0.04020 + 0.05) / (0.02122 + 0.05) = 1.27:1  (fails)
 *   new link  rgba(255,255,255,.92) over #0d2d29 = rgb(235.6,238.2,237.9)
 *                                          -> L = 0.85203
 *        (0.85203 + 0.05) / (0.02122 + 0.05) = 12.66:1  (passes AA and AAA)
 *   hover     #ffffff                    -> L = 1.00000
 *        (1.00000 + 0.05) / (0.02122 + 0.05) = 14.74:1
 *
 * The selectors .h-legal a and .h-legal--consent a are more specific
 * than the global link rule .halden a and are defined later in this
 * file, so they win.
 */
.h-legal a,
.h-legal--consent a {
	color: rgba(255, 255, 255, 0.92);
}

.h-legal a:hover,
.h-legal a:focus-visible,
.h-legal--consent a:hover,
.h-legal--consent a:focus-visible {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.halden .footer-info.vat-info,
.halden .eu-owb-order-withdraw-from-contract-button {
	margin: 0;
	padding: 14px max(var(--h-pad), calc((100vw - var(--h-shell)) / 2));
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.8);
	background: var(--h-green-deep);
	font-size: 13px;
}

@media (max-width: 1080px) {
	.h-header__primary {
		grid-template-columns: minmax(200px, 260px) minmax(240px, 1fr) auto;
		gap: 20px;
	}

	.h-actions__hide-xs {
		display: none !important;
	}

	.h-grid--cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.h-grid--products,
	.halden .h-shop ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.h-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 920px) {
	html {
		scroll-padding-top: 215px;
	}

	/*
	 * The sticky header carries a second row with the search field now,
	 * so the offset for anchored content has to grow as well.
	 */
	.h-header__primary {
		grid-template-columns: minmax(180px, 1fr) auto;
		grid-template-rows: auto auto;
		row-gap: 0;
		min-height: 72px;
	}

	.h-wordmark {
		grid-column: 1;
		grid-row: 1;
	}

	.h-actions {
		grid-column: 2;
		grid-row: 1;
	}

	/*
	 * Mobile search: the field gets its own row below the logo and the
	 * actions instead of disappearing. The header is a grid, so the
	 * search spans both columns of the second row.
	 */
	.h-search {
		display: grid;
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		margin-top: 10px;
	}

	.h-actions__search {
		display: inline-flex !important;
	}

	.h-header__navrow {
		min-height: 48px;
	}

	.h-burger {
		display: inline-flex;
		align-items: center;
	}

	.h-header__navrow .h-nav {
		position: absolute;
		top: 100%;
		left: calc(-1 * var(--h-pad));
		right: calc(-1 * var(--h-pad));
		width: auto;
		display: none;
		max-height: calc(100vh - 146px);
		overflow-y: auto;
		padding: 10px var(--h-pad) 18px;
		border-bottom: 1px solid var(--h-line);
		background: var(--h-surface);
		box-shadow: 0 18px 28px rgba(23, 33, 31, 0.14);
	}

	.h-header__navrow .h-nav.is-open {
		display: grid;
		gap: 0;
	}

	.h-nav a {
		min-height: 50px;
		border-bottom: 1px solid var(--h-line);
	}

	.h-nav a:hover,
	.h-nav a[aria-current="page"] {
		border-bottom-color: var(--h-ochre);
	}

	body.h-menu-open {
		overflow: hidden;
	}

	.h-editorial {
		grid-template-columns: 1fr;
	}

	.h-editorial__img {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 680px) {
	:root {
		--h-pad: 20px;
	}

	.h-service-bar {
		min-height: 32px;
		font-size: 11px;
	}

	.h-header__primary {
		grid-template-columns: minmax(130px, 1fr) auto;
		gap: 10px;
		row-gap: 0;
		min-height: 64px;
	}

	.h-wordmark img {
		width: min(100%, 180px);
		max-height: 44px;
	}

	.h-actions {
		gap: 0;
		font-size: 12px;
	}

	.h-actions a {
		padding-inline: 7px;
	}

	.h-hero {
		display: grid;
		min-height: 0;
		padding: 0;
		overflow: visible;
	}

	.halden .h-hero__bg {
		position: relative;
		grid-row: 1;
		height: 300px;
		object-position: 66% center;
	}

	.h-hero__box,
	.h-hero--photo .h-hero__box {
		grid-row: 2;
		width: 100%;
		margin: 0;
		padding: 32px var(--h-pad) 38px;
		border-left: 0;
		border-top: 5px solid var(--h-ochre);
		border-radius: 0;
		background: var(--h-surface);
		box-shadow: none;
	}

	.h-hero h1 {
		font-size: clamp(40px, 12vw, 54px);
	}

	.h-lead {
		font-size: 17px;
	}

	.h-section {
		padding-top: 64px;
	}

	.h-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.h-grid--cats,
	.h-grid--products,
	.halden .h-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 14px;
	}

	.h-card__row {
		padding-inline: 13px;
		font-size: 15px;
	}

	.h-prod__name {
		font-size: 16px;
	}

	.h-editorial__img {
		aspect-ratio: 4 / 3;
	}

	.h-editorial__body {
		padding: 42px var(--h-pad) 50px;
	}

	.h-footer {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 440px) {
	.h-service-bar a {
		display: none;
	}

	.h-wordmark img {
		width: min(100%, 150px);
	}

	.h-actions__cart {
		padding-right: 0 !important;
	}

	.h-grid--products,
	.halden .h-shop ul.products {
		grid-template-columns: 1fr;
	}

	.h-footer {
		grid-template-columns: 1fr;
	}

	.h-legal {
		flex-direction: column;
	}
}

/* ---- Filter facets (shop archive, categories, product search) ---- */

.h-facets {
	margin: 0 0 26px;
	padding: 20px 22px 22px;
	border: 1px solid var(--h-line);
	background: var(--h-surface);
}

.h-facets__title {
	margin: 0 0 20px;
	font-family: var(--h-mono);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.h-facets__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px 18px;
	align-items: end;
}

.h-facets__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.h-facets__field > label {
	font-family: var(--h-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.h-facets__field input[type="number"],
.h-facets__field select {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--h-line);
	border-radius: 0;
	background: #ffffff;
	color: var(--h-ink);
	font-family: var(--h-sans);
	font-size: 15px;
}

.h-facets__field--check {
	justify-content: flex-end;
}

.h-facets__field--check label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 46px;
	font-family: var(--h-sans);
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--h-ink);
}

.h-facets__field--check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--h-green);
}

.h-facets__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--h-line);
}

.h-facets__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 26px;
	border: 1px solid var(--h-ink);
	border-radius: 0;
	background: var(--h-ink);
	color: #ffffff;
	font-family: var(--h-sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.h-facets__submit:hover {
	background: #333333;
	border-color: #333333;
	color: #ffffff;
}

.h-facets__reset {
	font-family: var(--h-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--h-mut);
	border-bottom: 1px solid var(--h-line);
}

.h-facets__reset:hover {
	color: var(--h-ink);
	border-bottom-color: var(--h-ink);
}

/* ---- Visible label for the sorting dropdown ---- */

.halden .h-shop .woocommerce-ordering {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.h-orderby__label {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--h-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--h-mut);
}

/* ---- Result count: thousands separator needs tabular figures ---- */

.halden .h-shop .woocommerce-result-count.h-result-count {
	font-variant-numeric: tabular-nums;
}

/* ---- Product tabs: active tab is marked, inactive panels are hidden ---- */

.halden .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding-bottom: 6px;
	border-bottom: 2px solid transparent;
}

.halden .woocommerce-tabs ul.tabs li.active a,
.halden .woocommerce-tabs ul.tabs li a:hover,
.halden .woocommerce-tabs ul.tabs li a:focus-visible {
	color: var(--h-ink);
	border-bottom-color: var(--h-ochre);
}

.halden .woocommerce-tabs .panel[hidden] {
	display: none;
}

/* ---- Required field marker ---- */

/*
 * WooCommerce marks mandatory fields with <span class="required">*. The
 * star has to stay visible, so the class is forced to visibility:visible
 * even if a form row hides its label.
 */
.halden .woocommerce .required {
	visibility: visible;
	color: #a11;
}

@media (max-width: 680px) {
	.h-facets {
		padding: 16px 14px 18px;
	}

	.h-facets__grid {
		grid-template-columns: 1fr;
	}

	.h-facets__actions {
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.halden *,
	.halden *::before,
	.halden *::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	.h-hero__box,
	.h-card,
	.h-editorial,
	.h-footer {
		border: 1px solid CanvasText;
	}

	.halden a.h-cta,
	.halden .button {
		border: 2px solid ButtonText;
	}
}

@media print {
	.h-service-bar,
	.h-header,
	.h-footer,
	.h-legal {
		display: none !important;
	}

	body.halden,
	.h-editorial {
		color: #000000;
		background: #ffffff;
	}
}

/* ============================================================
   Consent button of Complianz.

   The plugin positions the button fixed in the lower right corner
   with z-index 9998. On the shop pages it covered two lines of the
   product text of the right hand column.

   A fixed overlay can never be placed so that it never covers
   content on a full width product grid, because the grid always
   fills the viewport from left to right. The button is therefore
   taken out of the overlay and placed in the normal flow at the end
   of the document: the product text stays free on every screen size
   and in every scroll position.

   The consent settings remain reachable through this button and
   through the permanent link "Cookie-Richtlinie" in the footer.

   The position is reset with !important because Complianz defines
   it with an id selector and can also set it with an inline style.
   The display property is not touched, so the button still only
   appears when Complianz shows it.
   ============================================================ */

#cmplz-manage-consent {
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 16px 0;
	text-align: center;
}

#cmplz-manage-consent .cmplz-manage-consent,
.cmplz-btn.cmplz-manage-consent,
button.cmplz-manage-consent {
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	z-index: auto !important;
	min-width: 0 !important;
	height: auto !important;
	padding: 12px 22px !important;
	font-size: 14px;
}

/* ============================================================
   Minimum font size on mobile devices.

   Below 680px no text of the HALDEN design may be rendered
   smaller than 12px. Every selector below was taken from the
   theme's own CSS (halden.css and mark-warenhaus-brand.css) and
   mirrors the original rule, so no new or dead selector is
   introduced.

   No !important is needed: mark-warenhaus-brand.css is loaded
   after halden.css and after the WooCommerce stylesheets, and
   the parent theme (futurio-storefront) is dequeued on every
   HALDEN page. The selectors therefore keep the same
   specificity and win by source order.
   ============================================================ */

@media (max-width: 680px) {

	/* Header and navigation */
	.h-service-bar,
	.h-burger {
		font-size: 12px;
	}

	/* Page furniture */
	.h-crumbs,
	.h-crumbs a,
	.h-crumbs__sep,
	.h-eyebrow,
	.h-catnav__title,
	.h-page__body th,
	.h-link,
	.h-pagelinks,
	.h-pagination .page-numbers,
	.h-result__price,
	.h-skip:focus {
		font-size: 12px;
	}

	/* Shop toolbar and product grid */
	.halden .h-shop .woocommerce-result-count,
	.halden .h-shop ul.products li.product .added_to_cart,
	.halden .h-shop ul.products li.product .button,
	.halden .h-shop ul.products li.product .delivery-time-info,
	.halden .h-shop ul.products li.product .shipping-costs-info,
	.halden .h-shop ul.products li.product .tax-info,
	.halden .h-shop ul.products li.product .wc-gzd-additional-info,
	.halden .h-shop ul.products li.product .wc-gzd-additional-info-loop,
	.halden .onsale,
	.halden span.onsale {
		font-size: 12px;
	}

	/* Product detail */
	.halden .delivery-time-info,
	.halden .product_meta,
	.halden .product_unit_price,
	.halden .shipping-costs-info,
	.halden .shop_attributes th,
	.halden .stock.in-stock,
	.halden .stock.out-of-stock,
	.halden .tax-info,
	.halden .wc-gzd-additional-info,
	.halden .wc-gzd-additional-info-placeholder,
	.halden .wc-gzd-product-units,
	.halden table.variations label,
	.halden .woocommerce-tabs ul.tabs li a {
		font-size: 12px;
	}

	/* Account, cart and checkout */
	.halden .wc-block-cart__submit-button,
	.halden .wc-block-components-button,
	.halden .wc-block-components-checkout-place-order-button,
	.halden .woocommerce form .form-row label,
	.halden .woocommerce table.shop_table th,
	.halden .woocommerce-MyAccount-navigation li a,
	.halden .woocommerce-info .button,
	.halden .woocommerce-message .button,
	.halden .woocommerce-pagination .page-numbers {
		font-size: 12px;
	}

	/*
	 * !important is required here and only here: halden.css sets
	 * "font-size: 11px !important" on the three WooCommerce block
	 * buttons, so a normal declaration would be ignored.
	 */
	.halden .wc-block-cart__submit-button,
	.halden .wc-block-components-button,
	.halden .wc-block-components-checkout-place-order-button {
		font-size: 12px !important;
	}
}

/*
 * EU-Energielabel und Produktinformationen.
 * Art. 6 VO (EU) 2017/1369 verlangt die Anzeige nahe der Preisangabe.
 */
.mw-energy-label {
	margin: 20px 0;
	padding: 16px;
	border: 1px solid var(--mw-border, #e2e5e9);
	border-radius: 8px;
	background: var(--mw-surface, #f8f9fa);
}

.mw-energy-label__title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}

.mw-energy-label__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
}

.mw-energy-label__badge {
	flex: 0 0 auto;
	line-height: 0;
}

.mw-energy-label__badge img {
	width: 170px;
	height: auto;
	max-width: 100%;
	border: 1px solid var(--mw-border, #e2e5e9);
	background: #fff;
}

.mw-energy-label__data {
	flex: 1 1 220px;
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 14px;
	align-content: center;
	font-size: 14px;
}

.mw-energy-label__data dt {
	font-weight: 600;
	color: var(--mw-muted, #5b6470);
}

.mw-energy-label__data dd {
	margin: 0;
}

.mw-energy-label__links {
	margin: 14px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.mw-energy-label__sheet {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
}

.mw-energy-label__note {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--mw-muted, #5b6470);
}

.mw-energy-label--tab .mw-energy-label__grid {
	gap: 12px;
}

@media (max-width: 600px) {
	.mw-energy-label__badge img {
		width: 150px;
	}

	.mw-energy-label__data {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.mw-energy-label__data dd {
		margin-bottom: 8px;
	}
}
