/*
 * HALDEN — standalone editorial shop template.
 * Complete stylesheet: reset, header, sections, footer, responsive.
 * Loaded only by page-halden.php; no parent-theme CSS is required.
 */

:root {
	--h-ink: #0a0a0a;
	--h-mut: #767676;
	--h-body: #4a4a4a;
	--h-line: #e3e3e3;
	--h-soft: #9a9a9a;
	--h-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--h-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--h-hatch: repeating-linear-gradient(135deg, #f1f1f1 0, #f1f1f1 7px, #f8f8f8 7px, #f8f8f8 14px);
	--h-pad: 28px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
}

body.halden {
	background: #ffffff;
	color: var(--h-ink);
	font-family: var(--h-sans);
	font-size: 13px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.halden img {
	max-width: 100%;
	height: auto;
}

.halden a {
	color: var(--h-ink);
	text-decoration: none;
	transition: color 160ms ease, background-color 160ms ease, opacity 300ms ease;
}

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

.halden h1,
.halden h2,
.halden h3,
.halden p {
	margin: 0;
	font-weight: 400;
}

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

.h-skip {
	position: absolute;
	left: -9999px;
}

.h-skip:focus {
	left: 8px;
	top: 8px;
	z-index: 100;
	padding: 10px 14px;
	background: var(--h-ink);
	color: #ffffff;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.h-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Header ---------- */

.h-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #ffffff;
	border-bottom: 1px solid var(--h-line);
}

.h-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 32px;
	height: 64px;
	padding: 0 var(--h-pad);
}

.h-nav {
	display: flex;
	gap: 22px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.h-wordmark {
	font-size: 16px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	padding-left: 0.28em;
}

.h-wordmark img {
	display: block;
	max-height: 30px;
	width: auto;
	margin: 0 auto;
}

.h-actions {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.h-burger {
	display: none;
	border: 0;
	background: none;
	padding: 8px 0;
	font: inherit;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--h-ink);
	cursor: pointer;
}

/* ---------- Hero ---------- */

.h-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 76vh;
	min-height: 480px;
	padding: 44px;
	background: var(--h-hatch);
	overflow: hidden;
}

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

.h-hero__box {
	position: relative;
	max-width: 520px;
}

.h-hero--photo .h-hero__box {
	background: rgba(255, 255, 255, 0.94);
	padding: 30px 32px 32px;
}

.h-eyebrow {
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--h-mut);
	margin-bottom: 14px;
}

.h-hero h1 {
	font-size: clamp(32px, 5vw, 44px);
	line-height: 1.06;
	letter-spacing: -0.02em;
	margin-bottom: 18px;
	text-wrap: pretty;
}

.h-lead {
	font-size: 14px;
	line-height: 1.65;
	color: var(--h-body);
	max-width: 400px;
	margin-bottom: 26px;
}

.halden a.h-cta {
	display: inline-block;
	background: var(--h-ink);
	color: #ffffff;
	padding: 14px 26px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.halden a.h-cta:hover {
	background: #333333;
	color: #ffffff;
}

/* ---------- Sections ---------- */

.h-section {
	padding: 56px var(--h-pad) 0;
}

.h-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid var(--h-ink);
	padding-bottom: 12px;
	margin-bottom: 22px;
}

.h-head h2 {
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.h-meta {
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	color: var(--h-mut);
	white-space: nowrap;
}

.halden a.h-meta:hover {
	color: var(--h-ink);
}

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

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

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

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

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

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

.h-card {
	display: block;
}

.h-card__row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 10px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.h-muted {
	color: var(--h-mut);
}

.h-prod {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding-top: 11px;
}

.h-prod__cat {
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.h-prod__name {
	font-size: 13px;
	line-height: 1.35;
}

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

.h-prod__price del {
	color: var(--h-soft);
	margin-right: 6px;
}

.h-prod__price .woocommerce-Price-amount {
	font-weight: 400;
}

/* ---------- Editorial split ---------- */

.h-editorial {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 64px;
	border-top: 1px solid var(--h-line);
}

.h-editorial__img {
	aspect-ratio: 1 / 1;
}

.h-editorial__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px clamp(28px, 6vw, 96px);
}

.h-editorial__body h2 {
	font-size: clamp(23px, 3.4vw, 30px);
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin-bottom: 16px;
	text-wrap: pretty;
}

.h-editorial__body .h-lead {
	line-height: 1.7;
	max-width: 420px;
	margin-bottom: 22px;
}

.h-link {
	align-self: flex-start;
	border-bottom: 1px solid var(--h-ink);
	padding-bottom: 3px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* ---------- Editor content (optional) ---------- */

.h-content {
	padding: 56px var(--h-pad) 0;
}

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

.h-content__inner h2,
.h-content__inner h3 {
	color: var(--h-ink);
	margin: 1.6em 0 0.5em;
	font-size: 17px;
	letter-spacing: -0.01em;
}

.h-content__inner p {
	margin: 0 0 1em;
}

.h-content__inner a {
	border-bottom: 1px solid var(--h-line);
}

/* ---------- Footer ---------- */

.h-footer {
	border-top: 1px solid var(--h-ink);
	margin-top: 64px;
	padding: 44px var(--h-pad) 32px;
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 32px;
}

.h-footer__brand {
	font-size: 15px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	padding-left: 0.28em;
}

.h-footer__about {
	margin-top: 14px;
	font-size: 12px;
	line-height: 1.7;
	color: var(--h-mut);
	max-width: 280px;
}

.h-fcol {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 12px;
}

.h-fcol__title {
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--h-mut);
	margin-bottom: 4px;
}

.h-fcol ul {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.h-legal {
	padding: 16px var(--h-pad);
	border-top: 1px solid var(--h-line);
	font-family: var(--h-mono);
	font-size: 11px;
	color: var(--h-soft);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	justify-content: space-between;
}

/* Germanized / WooCommerce notices rendered outside the template markup */
.halden .footer-info.vat-info,
.halden .eu-owb-order-withdraw-from-contract-button {
	padding: 12px var(--h-pad);
	background: #fafafa;
	border-top: 1px solid var(--h-line);
	font-size: 12px;
	color: var(--h-body);
	text-align: left;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.h-grid--products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.h-header__inner {
		grid-template-columns: auto 1fr auto;
		gap: 16px;
	}

	.h-nav {
		display: none;
	}

	.h-nav.is-open {
		display: flex;
		position: absolute;
		top: 64px;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: #ffffff;
		border-bottom: 1px solid var(--h-line);
		padding: 8px var(--h-pad) 16px;
	}

	.h-nav.is-open a {
		padding: 11px 0;
		border-bottom: 1px solid var(--h-line);
	}

	.h-burger {
		display: block;
	}

	.h-wordmark {
		text-align: center;
		font-size: 14px;
		letter-spacing: 0.2em;
		padding-left: 0.2em;
	}

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

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

	.h-editorial__body {
		padding: 32px var(--h-pad) 8px;
	}

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

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

	.h-hero {
		padding: 24px;
		min-height: 58vh;
	}

	.h-hero--photo .h-hero__box {
		padding: 22px 22px 24px;
	}

	.h-section,
	.h-content {
		padding-top: 40px;
	}

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

	.h-actions {
		gap: 14px;
	}
}

@media (max-width: 420px) {
	.h-footer {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.halden * {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ============================================================
   WooCommerce in the HALDEN design.
   Product overview (shop + category archives) and product detail.
   Germanized output (tax, delivery time, base price, GPSR) is kept
   visible and legible — only the presentation is ours.
   ============================================================ */

.h-shop {
	padding: 0 var(--h-pad) 64px;
}

.h-crumbs {
	padding: 18px 0 0;
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.h-crumbs a {
	color: var(--h-mut);
}

.h-crumbs a:hover {
	color: var(--h-ink);
}

.h-crumbs__sep {
	padding: 0 8px;
	color: var(--h-line);
}

/* ---- Archive header ---- */

.halden .woocommerce-products-header {
	padding-top: 26px;
}

.halden .woocommerce-products-header__title,
.halden .page-title,
.halden .h-shop h1 {
	font-size: clamp(26px, 3.6vw, 36px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.halden .term-description,
.halden .woocommerce-products-header .term-description p {
	max-width: 640px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--h-body);
}

.halden .woocommerce-notices-wrapper:empty {
	display: none;
}

/* toolbar: result count + ordering */
.halden .woocommerce-result-count,
.halden .woocommerce-ordering {
	margin: 0;
}

.halden .h-shop .woocommerce-result-count {
	float: none;
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--h-mut);
	padding: 14px 0;
	border-top: 1px solid var(--h-ink);
	border-bottom: 1px solid var(--h-line);
	display: block;
}

.halden .h-shop .woocommerce-ordering {
	float: none;
	display: block;
	margin: -1px 0 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--h-line);
}

.halden .woocommerce-ordering select,
.halden select,
.halden input[type="text"],
.halden input[type="search"],
.halden input[type="number"],
.halden input[type="email"],
.halden input[type="tel"],
.halden textarea {
	font-family: var(--h-sans);
	font-size: 12px;
	color: var(--h-ink);
	background: #ffffff;
	border: 1px solid var(--h-line);
	border-radius: 0;
	padding: 9px 12px;
	max-width: 100%;
}

.halden select:focus,
.halden input:focus,
.halden textarea:focus {
	outline: 2px solid var(--h-ink);
	outline-offset: 1px;
}

/* ---- Product grid (overview) ---- */

.halden .h-shop ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px 18px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.halden .h-shop ul.products::before,
.halden .h-shop ul.products::after {
	content: none;
}

.halden .h-shop ul.products li.product {
	width: auto;
	margin: 0;
	padding: 0;
	float: none;
	text-align: left;
	position: relative;
}

.halden .h-shop ul.products li.product > a:first-of-type,
.halden .h-shop ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
}

.halden .h-shop ul.products li.product img,
.halden .h-shop ul.products li.product .attachment-woocommerce_thumbnail {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin: 0 0 11px;
	background: var(--h-hatch);
	border-radius: 0;
	box-shadow: none;
}

.halden .h-shop ul.products li.product:hover img {
	opacity: 0.9;
}

.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: 13px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--h-ink);
	margin: 0 0 4px;
	padding: 0;
	text-transform: none;
}

.halden .h-shop ul.products li.product .price {
	display: block;
	font-family: var(--h-sans);
	font-size: 13px;
	font-weight: 400;
	color: var(--h-body);
	margin: 0;
}

.halden .h-shop ul.products li.product .price del {
	color: var(--h-soft);
	margin-right: 6px;
}

.halden .h-shop ul.products li.product .price ins {
	text-decoration: none;
	color: var(--h-ink);
}

.halden .onsale,
.halden span.onsale {
	position: absolute;
	top: 0;
	left: 0;
	min-height: 0;
	min-width: 0;
	margin: 0;
	padding: 5px 9px;
	border-radius: 0;
	background: var(--h-ink);
	color: #ffffff;
	font-family: var(--h-mono);
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.2;
	z-index: 2;
}

/* Germanized details inside the loop */
.halden .h-shop ul.products li.product .wc-gzd-additional-info,
.halden .h-shop ul.products li.product .delivery-time-info,
.halden .h-shop ul.products li.product .tax-info,
.halden .h-shop ul.products li.product .shipping-costs-info,
.halden .h-shop ul.products li.product .wc-gzd-additional-info-loop {
	display: block;
	font-family: var(--h-mono);
	font-size: 10px;
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: var(--h-mut);
	margin: 4px 0 0;
}

.halden .h-shop ul.products li.product .wc-gzd-additional-info a,
.halden .h-shop ul.products li.product .tax-info a {
	color: var(--h-mut);
	border-bottom: 1px solid var(--h-line);
}

/* loop add-to-cart */
.halden .h-shop ul.products li.product .button,
.halden .h-shop ul.products li.product .added_to_cart {
	display: inline-block;
	margin: 10px 0 0;
	padding: 9px 14px;
	border: 1px solid var(--h-ink);
	border-radius: 0;
	background: transparent;
	color: var(--h-ink);
	font-family: var(--h-sans);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.2;
}

.halden .h-shop ul.products li.product .button:hover {
	background: var(--h-ink);
	color: #ffffff;
}

/* ---- Pagination ---- */

.halden .woocommerce-pagination {
	margin: 8px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--h-line);
	text-align: left;
}

.halden .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.halden .woocommerce-pagination ul.page-numbers li {
	border: 0;
	margin: 0;
	overflow: visible;
}

.halden .woocommerce-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--h-line);
	background: #ffffff;
	color: var(--h-ink);
	font-family: var(--h-mono);
	font-size: 11px;
}

.halden .woocommerce-pagination .page-numbers.current,
.halden .woocommerce-pagination .page-numbers:hover {
	background: var(--h-ink);
	border-color: var(--h-ink);
	color: #ffffff;
}

/* ---- Single product ---- */

.halden .h-shop--single div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	margin: 26px 0 0;
	padding: 0;
}

.halden .h-shop--single div.product .woocommerce-product-gallery {
	float: none;
	width: 100%;
	margin: 0;
	opacity: 1 !important;
}

.halden .h-shop--single div.product .woocommerce-product-gallery__wrapper img {
	display: block;
	width: 100%;
	height: auto;
	background: var(--h-hatch);
}

.halden .woocommerce-product-gallery__trigger {
	right: 12px;
	top: 12px;
	border-radius: 0;
}

.halden .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.halden .flex-control-thumbs li {
	width: auto;
	margin: 0;
	float: none;
}

.halden .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	opacity: 0.6;
}

.halden .flex-control-thumbs img.flex-active,
.halden .flex-control-thumbs img:hover {
	opacity: 1;
}

.halden .h-shop--single div.product .summary {
	float: none;
	width: 100%;
	margin: 0;
}

.halden .h-shop--single .product_title {
	font-size: clamp(23px, 3vw, 32px);
	line-height: 1.14;
	letter-spacing: -0.02em;
	margin: 0 0 14px;
}

.halden .h-shop--single div.product p.price,
.halden .h-shop--single div.product span.price {
	font-family: var(--h-sans);
	font-size: 22px;
	font-weight: 400;
	color: var(--h-ink);
	margin: 0 0 6px;
}

.halden .h-shop--single div.product p.price del {
	color: var(--h-soft);
	font-size: 16px;
	margin-right: 8px;
}

.halden .h-shop--single div.product p.price ins {
	text-decoration: none;
}

/* Germanized legal details on the product page */
.halden .wc-gzd-additional-info,
.halden .delivery-time-info,
.halden .tax-info,
.halden .shipping-costs-info,
.halden .wc-gzd-additional-info-placeholder,
.halden .product_unit_price,
.halden .wc-gzd-product-units {
	font-family: var(--h-mono);
	font-size: 11px;
	line-height: 1.6;
	color: var(--h-mut);
	margin: 0 0 3px;
}

.halden .wc-gzd-additional-info a,
.halden .tax-info a,
.halden .shipping-costs-info a {
	color: var(--h-mut);
	border-bottom: 1px solid var(--h-line);
}

.halden .woocommerce-product-details__short-description {
	margin: 18px 0;
	padding: 18px 0;
	border-top: 1px solid var(--h-line);
	border-bottom: 1px solid var(--h-line);
	font-size: 13px;
	line-height: 1.75;
	color: var(--h-body);
}

.halden .woocommerce-product-details__short-description ul {
	margin: 0;
	padding-left: 18px;
}

/* add to cart */
.halden div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 10px;
	margin: 18px 0;
}

.halden div.product form.cart .quantity {
	display: inline-flex;
}

.halden div.product form.cart .quantity input.qty {
	width: 74px;
	height: 46px;
	padding: 0 10px;
	text-align: center;
	border: 1px solid var(--h-line);
}

.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 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 13px 26px;
	border: 1px solid var(--h-ink);
	border-radius: 0;
	background: var(--h-ink);
	color: #ffffff;
	font-family: var(--h-sans);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease;
}

.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 {
	background: #333333;
	border-color: #333333;
	color: #ffffff;
}

.halden .button:disabled,
.halden button.button:disabled,
.halden button.button.disabled {
	background: var(--h-line);
	border-color: var(--h-line);
	color: var(--h-mut);
	cursor: not-allowed;
}

/* variations */
.halden table.variations {
	width: 100%;
	margin: 0 0 14px;
	border: 0;
	border-collapse: collapse;
}

.halden table.variations th,
.halden table.variations td {
	padding: 6px 0;
	border: 0;
	text-align: left;
	vertical-align: middle;
}

.halden table.variations label {
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.halden .woocommerce-variation-price {
	margin-bottom: 10px;
}

/* meta */
.halden .product_meta {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--h-line);
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.halden .product_meta a {
	color: var(--h-mut);
}

.halden .product_meta a:hover {
	color: var(--h-ink);
}

.halden .stock.in-stock {
	font-family: var(--h-mono);
	font-size: 11px;
	color: var(--h-ink);
}

.halden .stock.out-of-stock {
	font-family: var(--h-mono);
	font-size: 11px;
	color: #a11;
}

/* tabs + related, full width under the two columns */
.halden .h-shop--single div.product .woocommerce-tabs,
.halden .h-shop--single div.product .related,
.halden .h-shop--single div.product .upsells,
.halden .h-shop--single div.product .up-sells {
	grid-column: 1 / -1;
	margin-top: 56px;
}

.halden .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin: 0 0 20px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--h-ink);
	list-style: none;
}

.halden .woocommerce-tabs ul.tabs::before,
.halden .woocommerce-tabs ul.tabs::after {
	content: none;
	border: 0;
}

.halden .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	border-radius: 0;
}

.halden .woocommerce-tabs ul.tabs li::before,
.halden .woocommerce-tabs ul.tabs li::after {
	content: none;
	border: 0;
	box-shadow: none;
}

.halden .woocommerce-tabs ul.tabs li a {
	padding: 0;
	font-family: var(--h-mono);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--h-mut);
}

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

.halden .woocommerce-tabs .panel {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.8;
	color: var(--h-body);
	max-width: 760px;
}

.halden .woocommerce-tabs .panel h2 {
	font-size: 15px;
	margin: 0 0 12px;
	letter-spacing: -0.01em;
}

.halden .shop_attributes {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: 13px;
}

.halden .shop_attributes th,
.halden .shop_attributes td {
	padding: 9px 0;
	border: 0;
	border-bottom: 1px solid var(--h-line);
	text-align: left;
	vertical-align: top;
}

.halden .shop_attributes th {
	width: 34%;
	font-family: var(--h-mono);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.halden .shop_attributes td p {
	margin: 0;
	color: var(--h-body);
}

.halden .related > h2,
.halden .upsells > h2,
.halden .woocommerce-tabs + .related > h2 {
	font-family: var(--h-sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin: 0 0 22px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--h-ink);
}

.halden .related ul.products,
.halden .upsells ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.halden .related ul.products li.product,
.halden .upsells ul.products li.product {
	width: auto;
	margin: 0;
	float: none;
}

.halden .related ul.products li.product img,
.halden .upsells ul.products li.product img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	margin: 0 0 10px;
	background: var(--h-hatch);
}

.halden .related ul.products li.product h2,
.halden .related ul.products li.product .woocommerce-loop-product__title,
.halden .upsells ul.products li.product .woocommerce-loop-product__title {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	margin: 0 0 4px;
}

/* ---- Notices ---- */

.halden .woocommerce-message,
.halden .woocommerce-info,
.halden .woocommerce-error,
.halden .woocommerce-noreviews {
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px solid var(--h-ink);
	border-left-width: 4px;
	border-radius: 0;
	background: #fafafa;
	color: var(--h-ink);
	font-size: 13px;
	list-style: none;
}

.halden .woocommerce-error {
	border-color: #a11;
	color: #a11;
}

.halden .woocommerce-message::before,
.halden .woocommerce-info::before,
.halden .woocommerce-error::before {
	content: none;
}

.halden .woocommerce-message .button,
.halden .woocommerce-info .button {
	float: right;
	min-height: 36px;
	padding: 8px 14px;
	font-size: 10px;
}

/* ---- Responsive ---- */

@media (max-width: 1100px) {
	.halden .h-shop ul.products,
	.halden .related ul.products,
	.halden .upsells ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.halden .h-shop--single div.product {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.halden .h-shop--single div.product .woocommerce-tabs,
	.halden .h-shop--single div.product .related,
	.halden .h-shop--single div.product .upsells {
		margin-top: 40px;
	}
}

@media (max-width: 680px) {
	.halden .h-shop ul.products,
	.halden .related ul.products,
	.halden .upsells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.halden .flex-control-thumbs {
		grid-template-columns: repeat(4, 1fr);
	}

	.halden div.product form.cart {
		gap: 8px;
	}

	.halden div.product form.cart button.single_add_to_cart_button {
		flex: 1 1 auto;
	}

	.halden .shop_attributes th {
		width: 45%;
	}
}

/* header detail: hide the account link on very small screens */
@media (max-width: 480px) {
	.h-actions__hide-xs {
		display: none;
	}
}

/* ============================================================
   Content pages, cart, checkout, account, search and 404.
   Cart/checkout are WooCommerce blocks: their own block styles
   stay loaded, only rhythm, colour and controls are aligned.
   ============================================================ */

.h-page {
	padding: 0 var(--h-pad) 72px;
}

.h-page__head {
	max-width: 760px;
	padding: 46px 0 22px;
	margin-bottom: 30px;
	border-bottom: 1px solid var(--h-ink);
}

.h-page__head h1 {
	font-size: clamp(26px, 3.8vw, 38px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0;
}

.h-page__meta {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--h-mut);
}

.h-page__hero {
	aspect-ratio: 16 / 9;
	margin-bottom: 30px;
}

.h-page__body {
	max-width: 760px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--h-body);
}

.h-page--wide .h-page__body,
.h-page--wide .h-page__head {
	max-width: none;
}

.h-page__body > :first-child {
	margin-top: 0;
}

.h-page__body h2,
.h-page__body h3,
.h-page__body h4 {
	color: var(--h-ink);
	letter-spacing: -0.01em;
	line-height: 1.25;
	margin: 2em 0 0.6em;
}

.h-page__body h2 {
	font-size: 19px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--h-line);
}

.h-page__body h3 {
	font-size: 16px;
}

.h-page__body h4 {
	font-size: 14px;
}

.h-page__body p,
.h-page__body ul,
.h-page__body ol {
	margin: 0 0 1.1em;
}

.h-page__body ul,
.h-page__body ol {
	padding-left: 20px;
}

.h-page__body li {
	margin-bottom: 0.4em;
}

.h-page__body a {
	color: var(--h-ink);
	border-bottom: 1px solid var(--h-line);
}

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

.h-page__body strong {
	color: var(--h-ink);
	font-weight: 700;
}

.h-page__body hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--h-line);
}

.h-page__body blockquote {
	margin: 1.5em 0;
	padding: 4px 0 4px 18px;
	border-left: 2px solid var(--h-ink);
	color: var(--h-ink);
}

.h-page__body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin: 0 0 1.4em;
}

.h-page__body th,
.h-page__body td {
	padding: 10px 12px 10px 0;
	border-bottom: 1px solid var(--h-line);
	text-align: left;
	vertical-align: top;
}

.h-page__body th {
	font-family: var(--h-mono);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.h-pagelinks {
	margin-top: 24px;
	font-family: var(--h-mono);
	font-size: 11px;
}

/* ---- Search form ---- */

.h-searchform {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 30px;
	max-width: 520px;
}

.h-searchform input[type="search"] {
	flex: 1 1 220px;
	min-height: 46px;
}

/* ---- Result / post lists ---- */

.h-results {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--h-line);
}

.h-result {
	border-bottom: 1px solid var(--h-line);
}

.h-result__link {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	color: var(--h-ink);
}

.h-result__media {
	aspect-ratio: 1 / 1;
	width: 76px;
}

.h-result__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.h-result__title {
	font-size: 14px;
	line-height: 1.35;
}

.h-result__price {
	font-family: var(--h-mono);
	font-size: 11px;
	color: var(--h-mut);
}

.h-empty {
	margin: 0 0 26px;
	font-size: 14px;
	color: var(--h-body);
}

.h-pagination {
	margin-top: 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.h-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--h-line);
	font-family: var(--h-mono);
	font-size: 11px;
	color: var(--h-ink);
}

.h-pagination .page-numbers.current,
.h-pagination .page-numbers:hover {
	background: var(--h-ink);
	border-color: var(--h-ink);
	color: #ffffff;
}

/* ---- Category shortcuts ---- */

.h-catnav {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--h-line);
}

.h-catnav__title {
	display: block;
	margin-bottom: 12px;
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.h-catnav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.h-catnav a {
	display: inline-block;
	padding: 8px 13px;
	border: 1px solid var(--h-line);
	font-size: 12px;
	color: var(--h-ink);
}

.h-catnav a:hover {
	border-color: var(--h-ink);
	background: var(--h-ink);
	color: #ffffff;
}

/* ---- WooCommerce blocks: cart & checkout ---- */

.halden .wp-block-woocommerce-cart,
.halden .wp-block-woocommerce-checkout {
	max-width: none;
	margin: 0;
	font-family: var(--h-sans);
	color: var(--h-ink);
}

.halden .wc-block-components-title,
.halden .wc-block-cart__submit-container + *,
.halden .wp-block-woocommerce-cart h2,
.halden .wp-block-woocommerce-checkout h2 {
	font-family: var(--h-sans);
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--h-ink);
}

.halden .wc-block-components-button,
.halden .wc-block-cart__submit-button,
.halden .wc-block-components-checkout-place-order-button {
	border-radius: 0 !important;
	background: var(--h-ink) !important;
	border: 1px solid var(--h-ink) !important;
	color: #ffffff !important;
	font-family: var(--h-sans) !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	min-height: 48px;
}

.halden .wc-block-components-button:hover,
.halden .wc-block-cart__submit-button:hover,
.halden .wc-block-components-checkout-place-order-button:hover {
	background: #333333 !important;
	border-color: #333333 !important;
	color: #ffffff !important;
}

.halden .wc-block-components-text-input input,
.halden .wc-block-components-select select,
.halden .wc-block-components-textarea {
	border-radius: 0 !important;
	border-color: var(--h-line) !important;
	font-family: var(--h-sans);
}

.halden .wc-block-components-product-name {
	font-family: var(--h-sans);
	color: var(--h-ink);
}

.halden .wc-block-components-totals-item__value,
.halden .wc-block-components-product-price {
	font-family: var(--h-sans);
	color: var(--h-ink);
}

/* Germanized checkout notices must stay clearly readable */
.halden .wc-gzd-checkout-legal,
.halden .wc-gzd-checkout-notice,
.halden .legal-terms,
.halden .wc-gzd-place-order-text {
	font-size: 13px;
	line-height: 1.7;
	color: var(--h-body);
}

/* ---- My account (shortcode) ---- */

.halden .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0 0 26px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--h-ink);
	list-style: none;
}

.halden .woocommerce-MyAccount-navigation li a {
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.halden .woocommerce-MyAccount-navigation li.is-active a,
.halden .woocommerce-MyAccount-navigation li a:hover {
	color: var(--h-ink);
}

.halden .woocommerce-MyAccount-content {
	font-size: 14px;
	line-height: 1.75;
}

.halden .woocommerce form.login,
.halden .woocommerce form.register,
.halden .woocommerce-form-login,
.halden .woocommerce-form-register {
	max-width: 460px;
	margin: 0;
	padding: 22px;
	border: 1px solid var(--h-line);
	border-radius: 0;
}

.halden .woocommerce form .form-row label {
	display: block;
	margin-bottom: 5px;
	font-family: var(--h-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--h-mut);
}

.halden .woocommerce form .form-row input.input-text,
.halden .woocommerce form .form-row select,
.halden .woocommerce form .form-row textarea {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--h-line);
	border-radius: 0;
	padding: 10px 12px;
}

.halden .woocommerce table.shop_table {
	border: 1px solid var(--h-line);
	border-radius: 0;
	border-collapse: collapse;
	font-size: 13px;
}

.halden .woocommerce table.shop_table th,
.halden .woocommerce table.shop_table td {
	padding: 12px;
	border-bottom: 1px solid var(--h-line);
}

.halden .woocommerce table.shop_table th {
	font-family: var(--h-mono);
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--h-mut);
}

/* ---- Responsive ---- */

@media (max-width: 680px) {
	.h-page__head {
		padding-top: 30px;
	}

	.h-result__link {
		grid-template-columns: 60px minmax(0, 1fr);
		gap: 12px;
	}

	.h-result__media {
		width: 60px;
	}
}
