/* =============================================================
   3DHeroes Redesign — design system
   Bouwt bovenop Blocksy via CSS custom properties + eigen componenten.
   Signature: het "filament"-motief — dunne horizontale laaglijnen,
   verwijzend naar hoe 3D-prints laag voor laag ontstaan.
   ============================================================= */

/* ---------- 1. Fonts (self-hosted, variable) ---------- */

@font-face {
	font-family: 'Space Grotesk';
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'Instrument Sans';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/instrument-sans-latin.woff2') format('woff2');
}

/* ---------- 2. Tokens + Blocksy-overrides ---------- */

:root {
	/* Palet: warm canvas, inkt, één filament-accent */
	--h3d-canvas: #faf8f4;
	--h3d-surface: #ffffff;
	--h3d-ink: #221f1a;
	--h3d-ink-soft: #5c564c;
	--h3d-line: #e8e2d6;
	--h3d-accent: #d95d21;          /* display-accent: groot/decoratief gebruik */
	--h3d-accent-solid: #c24e10;    /* knop-oppervlakken: wit erop haalt WCAG AA (4.78:1) */
	--h3d-accent-deep: #b04314;
	--h3d-accent-tint: #faeadf;

	--h3d-font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
	--h3d-font-body: 'Instrument Sans', 'Segoe UI', sans-serif;

	--h3d-radius-s: 8px;
	--h3d-radius-m: 14px;
	--h3d-radius-l: 22px;

	/* Getinte (warme) schaduwen i.p.v. generiek zwart */
	--h3d-shadow-s: 0 1px 2px rgba(60, 45, 25, 0.06), 0 2px 8px rgba(60, 45, 25, 0.06);
	--h3d-shadow-m: 0 2px 6px rgba(60, 45, 25, 0.07), 0 12px 28px rgba(60, 45, 25, 0.1);

	--h3d-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dubbele :root voor hogere specificiteit dan Blocksy's dynamic CSS,
   die na dit stylesheet wordt geprint. */
:root:root {
	--theme-font-family: var(--h3d-font-body);
	--theme-headings-font-family: var(--h3d-font-display);

	/* Blocksy-tokens overschrijven */
	--theme-text-color: var(--h3d-ink-soft);
	--theme-heading-color: var(--h3d-ink);
	--theme-headings-color: var(--h3d-ink);
	--theme-link-initial-color: var(--h3d-accent-deep);
	--theme-link-hover-color: var(--h3d-accent);
	--theme-border-color: var(--h3d-line);
	--theme-palette-color-1: var(--h3d-accent);
	--theme-palette-color-2: var(--h3d-accent-deep);
	--theme-button-background-initial-color: var(--h3d-accent-solid);
	--theme-button-background-hover-color: var(--h3d-accent-deep);
	--theme-button-text-initial-color: #ffffff;
	--theme-button-text-hover-color: #ffffff;
	--theme-button-border-radius: 999px;
	--theme-form-field-border-initial-color: var(--h3d-line);
}

/* ---------- 3. Basis ---------- */

html body {
	font-family: var(--h3d-font-body);
	background-color: var(--h3d-canvas);
	color: var(--h3d-ink-soft);
	-webkit-font-smoothing: antialiased;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
	font-family: var(--h3d-font-display);
	color: var(--h3d-ink);
	letter-spacing: -0.02em;
	line-height: 1.12;
	text-wrap: balance;
}

p {
	line-height: 1.65;
	text-wrap: pretty;
}

::selection {
	background: var(--h3d-accent);
	color: #fff;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--h3d-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

html {
	scroll-behavior: smooth;
}

/* ---------- 4. Knoppen ---------- */

.btn3d {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	padding: 0.85em 1.7em;
	min-height: 48px;
	border-radius: 999px;
	font-family: var(--h3d-font-display);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.22s var(--h3d-ease), color 0.22s var(--h3d-ease),
		transform 0.22s var(--h3d-ease), box-shadow 0.22s var(--h3d-ease);
}

.btn3d svg {
	transition: transform 0.22s var(--h3d-ease);
}

.btn3d--primary {
	background: var(--h3d-accent-solid);
	color: #fff;
	box-shadow: 0 6px 18px rgba(217, 93, 33, 0.28);
}

.btn3d--primary:hover {
	background: var(--h3d-accent-deep);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(217, 93, 33, 0.32);
}

.btn3d--primary:hover svg {
	transform: translateX(3px);
}

.btn3d--ghost {
	background: transparent;
	color: var(--h3d-ink);
	box-shadow: inset 0 0 0 1.5px var(--h3d-line);
}

.btn3d--ghost:hover {
	color: var(--h3d-accent-deep);
	box-shadow: inset 0 0 0 1.5px var(--h3d-accent);
}

.btn3d:active {
	transform: translateY(0) scale(0.98);
}

/* Bestaande `.btn`-links uit de homepage-content meenemen in het systeem */
a.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.75em 1.5em;
	min-height: 46px;
	border-radius: 999px;
	background: var(--h3d-ink);
	color: #fff !important;
	font-family: var(--h3d-font-display);
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.22s var(--h3d-ease), transform 0.22s var(--h3d-ease);
}

a.btn::after {
	content: '\2192';
	font-family: var(--h3d-font-body);
	transition: transform 0.22s var(--h3d-ease);
}

a.btn:hover {
	background: var(--h3d-accent-solid);
	transform: translateY(-2px);
}

a.btn:hover::after {
	transform: translateX(3px);
}

/* ---------- 5. Hero ---------- */

.hero3d {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(250, 248, 244, 0) 0%, var(--h3d-canvas) 100%),
		repeating-linear-gradient(
			180deg,
			transparent 0px,
			transparent 11px,
			rgba(217, 93, 33, 0.055) 11px,
			rgba(217, 93, 33, 0.055) 12px
		);
	padding: clamp(3rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem);
}

.hero3d__inner {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.hero3d__eyebrow {
	display: inline-block;
	font-family: var(--h3d-font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--h3d-accent-deep);
	background: var(--h3d-accent-tint);
	border-radius: 999px;
	padding: 0.45em 1em;
	margin-bottom: 1.4rem;
}

.hero3d__title {
	font-size: clamp(2.4rem, 5.6vw, 4.2rem);
	font-weight: 650;
	margin: 0 0 1.2rem;
}

.hero3d__title-accent {
	color: var(--h3d-accent);
}

.hero3d__lead {
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	max-width: 34em;
	margin: 0 0 2rem;
}

.hero3d__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
}

/* Hero-productcluster: drie overlappende kaarten */
.hero3d__visual {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	align-items: start;
}

.hero3d__card {
	position: relative;
	display: block;
	border-radius: var(--h3d-radius-m);
	overflow: hidden;
	background: var(--h3d-surface);
	box-shadow: var(--h3d-shadow-m);
	text-decoration: none;
	transition: transform 0.3s var(--h3d-ease), box-shadow 0.3s var(--h3d-ease);
}

.hero3d__card img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.hero3d__card--1 {
	grid-row: span 2;
}

.hero3d__card--1 img {
	aspect-ratio: 4 / 5;
	height: 100%;
}

.hero3d__card--3 {
	transform: translateY(-1.25rem);
}

.hero3d__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 16px rgba(60, 45, 25, 0.1), 0 20px 44px rgba(60, 45, 25, 0.16);
	z-index: 2;
}

.hero3d__card--3:hover {
	transform: translateY(calc(-1.25rem - 6px));
}

.hero3d__card-label {
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	padding: 0.45em 0.9em;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	color: var(--h3d-ink);
	font-family: var(--h3d-font-display);
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s var(--h3d-ease), transform 0.25s var(--h3d-ease);
}

.hero3d__card:hover .hero3d__card-label,
.hero3d__card:focus-visible .hero3d__card-label {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- 6. USP-balk ---------- */

.usp3d {
	border-top: 1px solid var(--h3d-line);
	border-bottom: 1px solid var(--h3d-line);
	background: var(--h3d-surface);
}

.usp3d__list {
	list-style: none;
	max-width: 1240px;
	margin: 0 auto;
	padding: 1.4rem clamp(1.25rem, 5vw, 4rem);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem 2.5rem;
}

.usp3d__item {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
}

.usp3d__item svg {
	flex: 0 0 auto;
	margin-top: 0.2rem;
	color: var(--h3d-accent);
}

.usp3d__item strong {
	display: block;
	font-family: var(--h3d-font-display);
	font-size: 0.95rem;
	color: var(--h3d-ink);
	margin-bottom: 0.15rem;
}

.usp3d__item span {
	font-size: 0.88rem;
	line-height: 1.5;
}

/* ---------- 7. Categorie-blokken (bestaande homepage-content) ----------
   Overschrijft met hogere specificiteit de oude Customizer-CSS,
   zodat de content in de database ongewijzigd kan blijven. */

.block-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	max-width: 1240px;
	margin: clamp(2rem, 5vw, 3.5rem) auto;
	padding: 0;
}

.block-container .block-item {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 0;
	text-align: left;
	background: var(--h3d-surface);
	border: none;
	border-radius: var(--h3d-radius-l);
	box-shadow: var(--h3d-shadow-s);
	padding: 2rem 1.9rem 1.9rem;
	overflow: hidden;
	transition: transform 0.3s var(--h3d-ease), box-shadow 0.3s var(--h3d-ease);
}

/* Filament-accent bovenaan elke kaart */
.block-container .block-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: repeating-linear-gradient(
		90deg,
		var(--h3d-accent) 0px,
		var(--h3d-accent) 14px,
		var(--h3d-accent-tint) 14px,
		var(--h3d-accent-tint) 18px
	);
}

.block-container .block-item:hover {
	transform: translateY(-5px);
	box-shadow: var(--h3d-shadow-m);
}

.block-container .block-item h3 {
	font-size: 1.45rem;
	color: var(--h3d-ink);
	margin: 0 0 0.5rem;
}

.block-container .block-item p {
	color: var(--h3d-ink-soft);
	font-size: 1rem;
	margin: 0 0 1rem;
}

.block-container .block-item ul {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	text-align: left;
}

.block-container .block-item ul li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.55rem;
	font-size: 0.94rem;
	line-height: 1.55;
}

.block-container .block-item ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.52em;
	width: 0.85rem;
	height: 3px;
	border-radius: 2px;
	background: var(--h3d-accent);
}

.block-container .block-item a.btn {
	margin-top: auto;
	align-self: flex-start;
}

/* ---------- 8. WooCommerce-productkaarten ---------- */

.woocommerce ul.products li.product,
[data-products] .product {
	border-radius: var(--h3d-radius-m);
	overflow: hidden;
	background: var(--h3d-surface);
	box-shadow: var(--h3d-shadow-s);
	transition: transform 0.3s var(--h3d-ease), box-shadow 0.3s var(--h3d-ease);
}

.woocommerce ul.products li.product:hover,
[data-products] .product:hover {
	transform: translateY(-4px);
	box-shadow: var(--h3d-shadow-m);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
[data-products] .product .woocommerce-loop-product__title {
	font-family: var(--h3d-font-display);
	font-size: 1.02rem;
	color: var(--h3d-ink);
}

.woocommerce ul.products li.product .price,
[data-products] .product .price {
	font-family: var(--h3d-font-display);
	color: var(--h3d-accent-deep);
	font-weight: 600;
}

.woocommerce span.onsale,
[data-products] .onsale {
	background: var(--h3d-accent-solid);
	color: #fff;
	border-radius: 999px;
	font-family: var(--h3d-font-display);
	font-weight: 600;
}

/* ---------- 7b. Front-page: categorie-showcase ---------- */

.catgrid3d {
	background: var(--h3d-surface);
	border-top: 1px solid var(--h3d-line);
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
}

.catgrid3d__inner {
	max-width: 1240px;
	margin: 0 auto;
}

.catgrid3d__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-bottom: 2rem;
}

.catgrid3d__head h2 {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	margin: 0;
}

.catgrid3d__head p {
	margin: 0;
	color: var(--h3d-ink-soft);
	max-width: 32em;
}

/* Asymmetrisch grid: eerste categorie groot, rest compact */
.catgrid3d__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 200px;
	gap: 1.1rem;
}

.catgrid3d__card {
	position: relative;
	display: block;
	border-radius: var(--h3d-radius-m);
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--h3d-shadow-s);
	transition: transform 0.3s var(--h3d-ease), box-shadow 0.3s var(--h3d-ease);
}

.catgrid3d__card--feature {
	grid-column: span 2;
	grid-row: span 2;
}

.catgrid3d__card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.45s var(--h3d-ease);
}

.catgrid3d__card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(29, 26, 21, 0) 45%, rgba(29, 26, 21, 0.72) 100%);
	pointer-events: none;
}

.catgrid3d__card:hover {
	transform: translateY(-5px);
	box-shadow: var(--h3d-shadow-m);
}

.catgrid3d__card:hover img {
	transform: scale(1.05);
}

.catgrid3d__label {
	position: absolute;
	left: 1.1rem;
	right: 1.1rem;
	bottom: 1rem;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.catgrid3d__name {
	font-family: var(--h3d-font-display);
	font-weight: 650;
	font-size: 1.1rem;
	color: #fff;
	line-height: 1.2;
}

.catgrid3d__card--feature .catgrid3d__name {
	font-size: 1.5rem;
}

.catgrid3d__count {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.78);
}

/* ---------- 7c. Front-page: nieuw in de shop ---------- */

.newin3d {
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
	background:
		repeating-linear-gradient(
			180deg,
			transparent 0px,
			transparent 11px,
			rgba(217, 93, 33, 0.04) 11px,
			rgba(217, 93, 33, 0.04) 12px
		);
}

.newin3d__inner {
	max-width: 1240px;
	margin: 0 auto;
}

.newin3d__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: 2rem;
}

.newin3d__head h2 {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	margin: 0;
}

.newin3d__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem;
}

.newin3d__card {
	display: flex;
	flex-direction: column;
	background: var(--h3d-surface);
	border-radius: var(--h3d-radius-m);
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--h3d-shadow-s);
	transition: transform 0.3s var(--h3d-ease), box-shadow 0.3s var(--h3d-ease);
}

.newin3d__card:hover {
	transform: translateY(-5px);
	box-shadow: var(--h3d-shadow-m);
}

.newin3d__media {
	display: block;
	overflow: hidden;
}

.newin3d__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
	transition: transform 0.45s var(--h3d-ease);
}

.newin3d__card:hover .newin3d__media img {
	transform: scale(1.05);
}

.newin3d__title {
	font-family: var(--h3d-font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--h3d-ink);
	line-height: 1.35;
	padding: 0.9rem 1.1rem 0.2rem;
}

.newin3d__price {
	font-family: var(--h3d-font-display);
	font-weight: 600;
	color: var(--h3d-accent-deep);
	padding: 0 1.1rem 1.1rem;
	margin-top: auto;
}

.newin3d__price del {
	opacity: 0.55;
	margin-right: 0.4em;
}

@media (max-width: 999px) {
	.catgrid3d__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 180px;
	}

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

@media (max-width: 599px) {
	.catgrid3d__grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 190px;
	}

	.catgrid3d__card--feature {
		grid-column: auto;
		grid-row: span 2;
	}

	.newin3d__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- 7d. Front-page: personaliseren-band ---------- */

.persband3d {
	background: #1d1a15;
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
}

/* Filament-motief in de donkere band */
.persband3d::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		180deg,
		transparent 0px,
		transparent 11px,
		rgba(217, 93, 33, 0.08) 11px,
		rgba(217, 93, 33, 0.08) 12px
	);
	pointer-events: none;
}

.persband3d__inner {
	position: relative;
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.persband3d__eyebrow {
	font-family: var(--h3d-font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--h3d-accent);
	margin: 0 0 1rem;
}

.persband3d h2 {
	color: #f4efe6;
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	margin: 0 0 1rem;
}

.persband3d__lead {
	color: #b8b0a3;
	max-width: 36em;
	margin: 0 0 1.8rem;
}

.persband3d__media img {
	display: block;
	width: 100%;
	max-width: 420px;
	margin-left: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--h3d-radius-l);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ---------- 7e. Front-page: studioverhaal ---------- */

.story3d {
	background: var(--h3d-surface);
	border-top: 1px solid var(--h3d-line);
	padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
	text-align: center;
}

.story3d__inner {
	max-width: 720px;
	margin: 0 auto;
}

.story3d__eyebrow {
	font-family: var(--h3d-font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--h3d-accent-deep);
	margin: 0 0 1rem;
}

.story3d h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 0 0 0.8rem;
}

.story3d__lead {
	margin: 0 0 1.6rem;
}

/* ---------- 7f. Breadcrumbs ---------- */

.breadcrumbs3d {
	max-width: 1240px;
	margin: 1.2rem auto 0;
	font-size: 0.85rem;
	color: var(--h3d-ink-soft);
}

.breadcrumbs3d a {
	color: var(--h3d-ink-soft);
	text-decoration: none;
	transition: color 0.2s var(--h3d-ease);
}

.breadcrumbs3d a:hover {
	color: var(--h3d-accent-deep);
}

.breadcrumbs3d .last-item {
	color: var(--h3d-ink);
	font-weight: 500;
}

@media (max-width: 767px) {
	.persband3d__inner {
		grid-template-columns: 1fr;
	}

	.persband3d__media img {
		margin: 0 auto;
		max-width: 320px;
	}
}

/* ---------- 8b. Shop-archief ---------- */

.woocommerce-products-header .page-title {
	font-size: clamp(1.9rem, 3.5vw, 2.6rem);
	margin-bottom: 0.35em;
}

/* Categorie-kaarten op de shoppagina: beeld met label eronder */
.woocommerce ul.products li.product-category {
	background: var(--h3d-surface);
	border-radius: var(--h3d-radius-m);
	overflow: hidden;
	box-shadow: var(--h3d-shadow-s);
	transition: transform 0.3s var(--h3d-ease), box-shadow 0.3s var(--h3d-ease);
}

.woocommerce ul.products li.product-category:hover {
	transform: translateY(-4px);
	box-shadow: var(--h3d-shadow-m);
}

.woocommerce ul.products li.product-category img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
	transition: transform 0.4s var(--h3d-ease);
}

.woocommerce ul.products li.product-category:hover img {
	transform: scale(1.04);
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	font-family: var(--h3d-font-display);
	font-size: 1.05rem;
	color: var(--h3d-ink);
	padding: 0.9rem 1.1rem 1rem;
	margin: 0;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title .count {
	background: none;
	color: var(--h3d-ink-soft);
	font-family: var(--h3d-font-body);
	font-size: 0.82rem;
	font-weight: 400;
}

/* Productkaarten: foto boven, info met adem eronder */
.woocommerce ul.products li.product a img {
	margin: 0;
	transition: transform 0.4s var(--h3d-ease);
}

.woocommerce ul.products li.product:hover a img {
	transform: scale(1.04);
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
	display: block;
	overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0.9rem 1.1rem 0.2rem;
	margin: 0;
	line-height: 1.35;
}

.woocommerce ul.products li.product .price {
	padding: 0 1.1rem;
	display: block;
}

.woocommerce ul.products li.product .price del {
	opacity: 0.55;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
	min-height: 44px;
	margin: 0.8rem 1.1rem 1.2rem;
	border-radius: 999px;
	background: transparent;
	color: var(--h3d-ink);
	box-shadow: inset 0 0 0 1.5px var(--h3d-line);
	font-family: var(--h3d-font-display);
	font-weight: 600;
	padding: 0.6em 1.4em;
	transition: background-color 0.22s var(--h3d-ease), color 0.22s var(--h3d-ease),
		box-shadow 0.22s var(--h3d-ease);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
	background: var(--h3d-accent-solid);
	color: #fff;
	box-shadow: inset 0 0 0 1.5px var(--h3d-accent);
}

/* ---------- 8c. Single product ---------- */

.single-product .product_title {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	margin-bottom: 0.3em;
}

.single-product .summary .price {
	font-family: var(--h3d-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--h3d-accent-deep);
	margin-bottom: 0.8rem;
}

.single-product .summary .woocommerce-product-details__short-description {
	color: var(--h3d-ink-soft);
	margin-bottom: 1.2rem;
}

.single-product .single_add_to_cart_button.button {
	background: var(--h3d-accent-solid);
	color: #fff;
	border-radius: 999px;
	font-family: var(--h3d-font-display);
	font-weight: 600;
	min-height: 48px;
	padding: 0.85em 2em;
	box-shadow: 0 6px 18px rgba(217, 93, 33, 0.28);
	transition: background-color 0.22s var(--h3d-ease), transform 0.22s var(--h3d-ease),
		box-shadow 0.22s var(--h3d-ease);
}

.single-product .single_add_to_cart_button.button:hover {
	background: var(--h3d-accent-deep);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(217, 93, 33, 0.32);
}

.single-product .single_add_to_cart_button.button:active {
	transform: translateY(0) scale(0.98);
}

.single-product .summary form.cart .quantity .qty,
.single-product .quantity .qty {
	border-radius: 999px;
	min-height: 48px;
	text-align: center;
	font-family: var(--h3d-font-display);
	font-weight: 600;
}

.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery img {
	border-radius: var(--h3d-radius-m);
}

/* Tabs: rustige onderstreep-navigatie i.p.v. kaders */
.woocommerce-tabs ul.wc-tabs li a {
	font-family: var(--h3d-font-display);
	font-weight: 600;
	color: var(--h3d-ink-soft);
}

.woocommerce-tabs ul.wc-tabs li.active a {
	color: var(--h3d-ink);
	box-shadow: inset 0 -2px 0 var(--h3d-accent);
}

.related.products > h2,
.upsells.products > h2 {
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	margin-bottom: 1rem;
}

/* Voorraadmelding */
.single-product .stock.in-stock {
	color: #2e7d46;
	font-weight: 600;
}

.single-product .stock.out-of-stock {
	color: var(--h3d-accent-deep);
	font-weight: 600;
}

/* ---------- 9. Formulieren (CF7 / WPForms / Woo) ---------- */

body input[type='text'],
body input[type='email'],
body input[type='tel'],
body input[type='number'],
body input[type='password'],
body input[type='search'],
body input[type='url'],
body select,
body textarea {
	border-radius: var(--h3d-radius-s);
	border-color: var(--h3d-line);
	background: var(--h3d-surface);
	transition: border-color 0.2s var(--h3d-ease), box-shadow 0.2s var(--h3d-ease);
}

body input[type='text']:focus,
body input[type='email']:focus,
body input[type='tel']:focus,
body input[type='number']:focus,
body input[type='password']:focus,
body input[type='search']:focus,
body input[type='url']:focus,
body select:focus,
body textarea:focus {
	border-color: var(--h3d-accent);
	box-shadow: 0 0 0 3px rgba(217, 93, 33, 0.15);
}

/* Contact Form 7: nette states + submit in het systeem */
.wpcf7 label {
	font-family: var(--h3d-font-display);
	font-weight: 600;
	color: var(--h3d-ink);
	font-size: 0.92rem;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.3rem;
}

.wpcf7 input.wpcf7-submit {
	background: var(--h3d-accent-solid);
	color: #fff;
	border: none;
	border-radius: 999px;
	min-height: 48px;
	padding: 0.8em 2em;
	font-family: var(--h3d-font-display);
	font-weight: 600;
	font-size: 1rem;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.22s var(--h3d-ease), transform 0.22s var(--h3d-ease);
}

.wpcf7 input.wpcf7-submit:hover {
	background: var(--h3d-accent-deep);
	transform: translateY(-2px);
}

.wpcf7 .wpcf7-not-valid-tip {
	color: var(--h3d-accent-deep);
	font-size: 0.85rem;
	margin-top: 0.25rem;
}

.wpcf7 .wpcf7-response-output {
	border-radius: var(--h3d-radius-s);
	border-color: var(--h3d-line);
	padding: 0.8em 1.2em;
}

/* Bestaande .form-container uit de pagina-content meenemen */
.form-container {
	max-width: 640px;
	margin: 0 auto;
	padding: 2rem;
	background: var(--h3d-surface);
	border: none;
	border-radius: var(--h3d-radius-l);
	box-shadow: var(--h3d-shadow-s);
}

/* ---------- 9b. Pre-footer ---------- */

.prefooter3d {
	background: #1d1a15;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prefooter3d__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem);
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem;
}

.prefooter3d__logo {
	font-family: var(--h3d-font-display);
	font-size: 1.5rem;
	font-weight: 650;
	color: #f4efe6;
	margin: 0 0 0.6rem;
}

.prefooter3d__tagline {
	color: #b8b0a3;
	font-size: 0.95rem;
	max-width: 28em;
	margin: 0;
}

.prefooter3d__heading {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #8d8577;
	margin: 0 0 1rem;
}

.prefooter3d__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.prefooter3d__col li {
	margin-bottom: 0.55rem;
}

.prefooter3d__col a {
	color: #d9d2c5;
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s var(--h3d-ease);
}

.prefooter3d__col a:hover {
	color: var(--h3d-accent);
}

@media (max-width: 767px) {
	.prefooter3d__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* ---------- 10. Footer ---------- */

footer[data-id],
.ct-footer {
	background: #1d1a15;
}

.ct-footer,
.ct-footer p,
.ct-footer .widget {
	color: #b8b0a3;
}

.ct-footer h1, .ct-footer h2, .ct-footer h3,
.ct-footer h4, .ct-footer h5, .ct-footer h6 {
	color: #f4efe6;
}

.ct-footer a:not(.btn3d) {
	color: #d9d2c5;
}

.ct-footer a:not(.btn3d):hover {
	color: var(--h3d-accent);
}

/* ---------- 11. Scroll-reveal (JS voegt .is-visible toe) ---------- */

.h3d-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s var(--h3d-ease), transform 0.6s var(--h3d-ease);
}

.h3d-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Zonder JS of met reduced motion: alles gewoon zichtbaar */
.no-js .h3d-reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.h3d-reveal,
	.btn3d,
	.hero3d__card,
	.block-container .block-item,
	.woocommerce ul.products li.product {
		transition: none;
	}

	.h3d-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ---------- 12. Responsive ---------- */

@media (max-width: 999px) {
	.hero3d__inner {
		grid-template-columns: 1fr;
	}

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

	.hero3d__card--1 {
		grid-row: auto;
	}

	.hero3d__card--1 img {
		aspect-ratio: 1 / 1;
		height: auto;
	}

	.hero3d__card--3 {
		transform: none;
	}

	.hero3d__card--3:hover {
		transform: translateY(-6px);
	}

	.usp3d__list {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

@media (max-width: 599px) {
	.hero3d {
		padding-top: 2.5rem;
	}

	.hero3d__title {
		font-size: clamp(2rem, 9vw, 2.6rem);
	}

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

	.hero3d__card--1 {
		grid-column: span 2;
	}

	.hero3d__actions .btn3d {
		width: 100%;
		justify-content: center;
	}
}


/* ---------- 13. Header-cart, koopfeedback en mobiele checkout-UX ---------- */
.h3d-cart-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	border-radius: 999px;
	color: var(--theme-text-color, #26211c);
	text-decoration: none;
	transition:
		color 160ms ease,
		background-color 160ms ease,
		transform 160ms ease;
}

.h3d-cart-button:hover {
	color: var(--h3d-accent, #e86524);
	background: color-mix(in srgb, var(--h3d-accent, #e86524) 10%, transparent);
	transform: translateY(-1px);
}

.h3d-cart-button:focus-visible,
.h3d-cart-toast a:focus-visible,
.h3d-sticky-buy__button:focus-visible,
.h3d-drawer-cart a:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--h3d-accent, #e86524) 60%, white);
	outline-offset: 3px;
}

.h3d-cart-button svg {
	width: 23px;
	height: 23px;
	flex: 0 0 23px;
}

.h3d-cart-count,
.h3d-drawer-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding-inline: 5px;
	border-radius: 999px;
	background: var(--h3d-accent, #e86524);
	color: #fff;
	font-family: var(--h3d-font-body, "Instrument Sans", sans-serif);
	font-size: 11px;
	font-weight: 750;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.h3d-cart-count {
	position: absolute;
	top: 1px;
	right: 0;
	box-shadow: 0 0 0 2px var(--theme-palette-color-8, #fff);
}

.h3d-cart-button[data-cart-count="0"] .h3d-cart-count,
.h3d-drawer-count:empty {
	display: none;
}

[data-device="desktop"] [data-column="end"] [data-items="primary"],
[data-device="mobile"] [data-column="end"] [data-items="primary"] {
	gap: clamp(2px, 0.5vw, 9px);
}

.h3d-drawer-cart {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}

.h3d-drawer-cart > a {
	display: flex !important;
	align-items: center;
	gap: 11px;
	min-height: 48px;
}

.h3d-drawer-cart svg {
	width: 22px;
	height: 22px;
}

.h3d-drawer-count {
	margin-left: auto;
}

/* Toegankelijke melding na toevoegen aan de winkelwagen. */
.h3d-cart-toast {
	position: fixed;
	z-index: 99998;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	width: min(390px, calc(100vw - 36px));
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 18px;
	background: #201d19;
	color: #fff;
	box-shadow: 0 20px 55px rgba(25, 20, 14, 0.28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition:
		opacity 180ms ease,
		transform 180ms ease,
		visibility 180ms ease;
}

.h3d-cart-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.h3d-cart-toast p {
	margin: 0 0 14px;
	color: #fff;
	font-weight: 700;
}

.h3d-cart-toast__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.h3d-cart-toast__actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 9px 14px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.h3d-cart-toast__continue {
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
}

.h3d-cart-toast__cart {
	background: var(--h3d-accent, #e86524);
	color: #fff;
}

/* Mobiele sticky koopbalk verschijnt alleen bij een geldige productkeuze. */
.h3d-sticky-buy {
	display: none;
}

@media (max-width: 768px) {
	.h3d-sticky-buy {
		position: fixed;
		z-index: 9996;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		left: 10px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 12px;
		padding: 11px 12px 11px 15px;
		border: 1px solid rgba(42, 35, 28, 0.1);
		border-radius: 17px;
		background: rgba(255, 252, 247, 0.97);
		box-shadow: 0 16px 45px rgba(40, 30, 20, 0.2);
		backdrop-filter: blur(14px);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(calc(100% + 28px));
		transition:
			opacity 180ms ease,
			transform 220ms var(--h3d-ease, ease),
			visibility 180ms ease;
	}

	.h3d-sticky-buy.is-ready {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.h3d-sticky-buy__info {
		min-width: 0;
	}

	.h3d-sticky-buy__info strong,
	.h3d-sticky-buy__price {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.h3d-sticky-buy__info strong {
		color: #27221c;
		font-family: var(--h3d-font-display, "Space Grotesk", sans-serif);
		font-size: 13px;
		line-height: 1.2;
	}

	.h3d-sticky-buy__price {
		margin-top: 2px;
		color: #655d54;
		font-size: 13px;
	}

	.h3d-sticky-buy__button {
		min-height: 46px;
		padding: 10px 17px;
		border: 0;
		border-radius: 999px;
		background: var(--h3d-accent, #e86524);
		color: #fff;
		font-weight: 750;
		white-space: nowrap;
	}

	.h3d-sticky-buy__button:disabled {
		opacity: 0.48;
		cursor: not-allowed;
	}

	.h3d-cart-toast {
		right: 12px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		width: calc(100vw - 24px);
	}
}

/* Compacte cookiebanner: blijft leesbaar zonder navigatie en CTA's af te dekken. */
@media (max-width: 599px) {
	#cookieChoiceInfo.wf-cc {
		inset: auto 10px calc(10px + env(safe-area-inset-bottom)) !important;
		width: auto !important;
		max-width: none !important;
		padding: 0 !important;
		border-radius: 16px !important;
		box-shadow: 0 14px 42px rgba(34, 27, 19, 0.2) !important;
	}

	#cookieChoiceInfo .wf-cc__inner {
		position: relative;
		display: grid !important;
		gap: 9px !important;
		padding: 13px 48px 13px 14px !important;
	}

	#cookieChoiceInfo p,
	#cookieChoiceInfo .wf-cc__text {
		margin: 0 !important;
		font-size: 13px !important;
		line-height: 1.42 !important;
	}

	#cookieChoiceInfo .wf-cc__buttons,
	#cookieChoiceInfo .wf-cc__actions {
		display: flex !important;
		flex-wrap: wrap;
		gap: 8px !important;
	}

	#cookieChoiceInfo a:not(.wf-cc__close),
	#cookieChoiceInfo button {
		min-height: 44px;
	}

	#cookieChoiceDismissIcon.wf-cc__close {
		top: 5px !important;
		right: 5px !important;
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 44px !important;
		height: 44px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.h3d-cart-button,
	.h3d-cart-toast,
	.h3d-sticky-buy {
		transition: none;
	}
}


/* ---------- 14. Productzekerheden en personalisatievelden ---------- */
.h3d-product-assurance {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 16px;
	margin: 18px 0 6px;
	padding: 15px;
	border: 1px solid color-mix(in srgb, var(--h3d-accent, #e86524) 18%, #ddd);
	border-radius: 16px;
	background: color-mix(in srgb, var(--h3d-accent, #e86524) 4%, #fff);
	list-style: none;
}

.h3d-product-assurance li {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	margin: 0;
	color: var(--theme-text-color, #2b2620);
	font-size: 13px;
	line-height: 1.35;
}

.h3d-product-assurance svg {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	color: var(--h3d-accent, #e86524);
}

.h3d-product-assurance a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--h3d-accent, #e86524) 55%, transparent);
	text-underline-offset: 3px;
}

.h3d-field-help {
	display: block;
	margin-top: 7px;
	color: #686057;
	font-size: 13px;
	line-height: 1.4;
}

.wapf-input:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--h3d-accent, #e86524) 45%, white);
	outline-offset: 2px;
	border-color: var(--h3d-accent, #e86524);
}

@media (max-width: 599px) {
	.h3d-product-assurance {
		grid-template-columns: 1fr;
	}
}
