/* ==========================================================================
   Studio Mavida — hoofdstijlen
   Kleuren (--bg, --accent, --btn, --soft) zijn aan te passen in de Customizer.
   ========================================================================== */

:root {
	/* Palet: espresso #3A2A24, dark taupe #554139, mokka #6D605A, taupe #806F64,
	   warm beige #C8B8A7, sand #E7DED3, cream #F5F1EC, warm white #FCFAF7. */
	--bg: #F5F1EC;
	--surface: #FCFAF7;
	--ink: #3A2A24;
	--text: #554139;
	--muted: #6D605A;
	--subtle: #7B6A60; /* iets donkerder dan taupe #806F64: kleine tekst op cream haalt zo contrast 4,5:1 (WCAG AA) */
	--line: #E7DED3;
	--line-strong: #C8B8A7;
	--accent: #806F64;
	--btn: #554139;
	--btn-hover: #3A2A24;
	--on-btn: #FCFAF7;
	--soft: #E7DED3;
	--on-soft: #3A2A24;
	--beige: #C8B8A7;
	--accent-soft: #E7DED3;
	--clay: #554139;
	--tile: #E7DED3;
	--dark: #3A2A24;
	--hero: #C8B8A7;
	--on-dark: #FCFAF7;
	--shadow: 0 18px 40px -24px rgba(58, 42, 36, .35);
	--serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--gutter: clamp(16px, 4vw, 48px);
	--header-h: 150px;
	color-scheme: light;
}

/* ---------- basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; text-wrap: balance; color: var(--ink); }
h3 { color: var(--text); }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; flex: none; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.eyebrow { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }

/* ---------- knoppen ---------- */
.btn, .button, button.button, a.button, input[type="submit"],
.woocommerce-button, .wc-block-components-button:not(.is-link),
.wp-block-button__link, .wp-element-button:not(.is-link),
#place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 28px;
	background: var(--btn); color: var(--on-btn);
	border: 0; border-radius: 0;
	font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
	cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; text-align: center; line-height: 1.2;
}
.btn:hover, .button:hover, input[type="submit"]:hover, #place_order:hover, .wc-block-components-button:not(.is-link):hover,
.wp-block-button__link:hover, .wp-element-button:not(.is-link):hover { background: var(--btn-hover); color: var(--on-btn); }
.btn.ghost { background: transparent; color: var(--btn); box-shadow: inset 0 0 0 1px var(--btn); }
.btn.ghost:hover { background: var(--btn); color: var(--on-btn); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 12px; }
.button.disabled, .button:disabled, .button[disabled] { opacity: .5; cursor: not-allowed; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }

/* ---------- formulieren ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"],
input[type="search"], input[type="url"], select, textarea, .select2-container .select2-selection--single {
	width: 100%; min-height: 48px; padding: 10px 14px;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: 0;
	font-size: 15px;
}
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--muted); box-shadow: 0 0 0 3px rgba(109, 96, 90, .15); }
input::placeholder, textarea::placeholder { color: var(--subtle); opacity: 1; }
label { font-size: 14px; color: var(--ink); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 26px; padding: 0; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 46px; }

/* ---------- aankondiging + topbalk ---------- */
.announce { background: var(--dark); color: var(--on-dark); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.announce .track { display: inline-flex; gap: 56px; padding-block: 9px; animation: mavida-marquee 40s linear infinite; }
.announce span::before { content: "✦"; margin-right: 14px; opacity: .6; }
.announce:hover .track { animation-play-state: paused; }
@keyframes mavida-marquee { to { transform: translateX(-50%); } }
/* Actie met kortingscode (inc/promo.php): staat stil, mag over twee regels. */
.promo { white-space: normal; text-align: center; }
.promo p { margin: 0; padding: 8px var(--gutter); line-height: 1.8; }
.promo-code { display: inline-block; margin-inline: 2px 0; padding: 0 7px; border: 1px dashed rgba(252, 250, 247, .55); border-radius: 3px; font-weight: 600; letter-spacing: .16em; line-height: 1.7; text-transform: uppercase; }
.promo-code:hover { background: rgba(252, 250, 247, .12); }
.promo-link { margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-link::after { content: " →"; }
@media (max-width: 600px) {
	.promo { font-size: 11px; letter-spacing: .06em; }
	.promo p { padding-block: 6px; line-height: 1.75; }
}

.topbar { border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar .usps { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .usps span::before { content: "✓"; color: var(--accent); margin-right: 6px; font-weight: 600; }
.topbar .links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar .links a:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 14px; gap: 16px; }
.hdr-left { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; padding: 10px; margin: -10px; }
.nav-search { display: none; }
.hdr-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); max-width: 260px; width: 100%; padding-block: 6px; color: var(--muted); }
.hdr-search .icon { width: 16px; height: 16px; stroke-width: 1.6; }
.hdr-search input { border: 0; background: transparent; width: 100%; outline: none; min-height: 0; padding: 0; box-shadow: none; }
.logo { text-align: center; line-height: 1; display: block; }
.logo small { display: block; margin-top: 4px; font-size: 9.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--subtle); }
.logo .logo-img { max-height: 56px; width: auto; margin-inline: auto; }
.logo .logo-svg { display: block; height: 66px; max-height: none; }
.logo .logo-svg + small { margin-top: 6px; }
/* Pictogramknoppen: 42×42 px tikvlak, zelfde afstand als voorheen (20px tussen de pictogrammen). */
.icons { display: flex; justify-content: flex-end; gap: 0; align-items: center; margin-right: -10px; }
.icons a { position: relative; display: flex; padding: 10px; color: var(--text); }
.icons a:hover { color: var(--subtle); }
.icons .badge { top: 4px; right: 1px; }
.badge { position: absolute; top: -6px; right: -9px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--dark); color: var(--on-dark); font-size: 10.5px; display: grid; place-items: center; padding-inline: 4px; font-weight: 600; line-height: 1; }

/* live zoeken */
.hdr-search, .nav-search { position: relative; }
.ls-spin { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1.5px solid var(--line); border-top-color: var(--accent); border-radius: 50%; opacity: 0; pointer-events: none; }
.hdr-search.is-loading .icon-search { opacity: 0; }
.hdr-search.is-loading .ls-spin { opacity: 1; animation: ls-spin .7s linear infinite; }
.nav-search .ls-spin { left: auto; right: calc(var(--gutter) + 14px); margin-top: 0; }
.nav-search.is-loading .ls-spin { opacity: 1; animation: ls-spin .7s linear infinite; }
@keyframes ls-spin { to { transform: rotate(360deg); } }
.live-drop {
	position: absolute; top: calc(100% + 12px); left: 0; z-index: 45;
	width: min(480px, calc(100vw - 2 * var(--gutter)));
	max-height: min(72vh, 640px); overflow-y: auto; overscroll-behavior: contain;
	background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
	padding: 6px 0 8px; text-align: left; color: var(--ink);
}
.nav-search .live-drop { left: var(--gutter); right: var(--gutter); width: auto; top: calc(100% + 6px); }
.ls-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 18px 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.ls-clear { font-size: 11px; letter-spacing: .08em; text-transform: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ls-clear:hover { color: var(--ink); }
.ls-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 8px 18px; }
.ls-opt[aria-selected="true"], .ls-item:hover, .ls-hist:hover, .ls-more:hover { background: var(--bg); }
.ls-thumb { width: 48px; aspect-ratio: 4 / 5; background: var(--tile); overflow: hidden; }
.ls-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ls-info { display: grid; gap: 1px; min-width: 0; }
.ls-cat { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); font-weight: 600; }
.ls-title { font-size: 14px; font-weight: 500; line-height: 1.3; }
.ls-title mark, .ls-pill mark { background: var(--accent-soft); color: inherit; padding: 0; }
.ls-stock { font-size: 12px; color: var(--muted); }
.ls-price { font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ls-price del { color: var(--muted); font-size: 12px; margin-right: 2px; }
.ls-hist { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 18px; font-size: 14px; text-align: left; }
.ls-hist svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 1.5; flex: none; }
.ls-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 18px 8px; }
.ls-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 16px; font-size: 13px; }
.hdr-search input::-webkit-search-cancel-button, .nav-search input::-webkit-search-cancel-button {
	-webkit-appearance: none; appearance: none; width: 14px; height: 14px; cursor: pointer; opacity: .55;
	background: linear-gradient(45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, var(--ink) 45%, var(--ink) 55%, transparent 55%);
}
.ls-pill small { color: var(--muted); font-size: 11.5px; }
.ls-pill:hover, .ls-pill[aria-selected="true"] { border-color: var(--ink); background: var(--surface); }
.ls-more { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 14px 18px 8px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.ls-more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.ls-empty { display: grid; gap: 4px; padding: 16px 18px 8px; font-size: 14px; }
.ls-empty span { color: var(--muted); font-size: 13px; }

/* hoofdmenu + megamenu */
.main-nav .menu { display: flex; justify-content: center; gap: clamp(14px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0 var(--gutter) 12px; flex-wrap: wrap; }
.main-nav .menu > li > a { display: block; padding-block: 4px; border-bottom: 1px solid transparent; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--text); transition: color .2s; }
.main-nav .menu > li > a:hover { color: var(--subtle); }
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a { color: var(--ink); border-color: var(--beige); }
.main-nav .menu > li.sale > a, .main-nav .menu > li.accent > a { color: var(--clay); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li > .sub-menu {
	position: absolute; left: 0; right: 0; top: 100%;
	display: none; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 32px;
	padding: 32px max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
	background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu { display: grid; }
.main-nav .sub-menu a { font-size: 15px; }
.main-nav .sub-menu a:hover { color: var(--subtle); }
/* Tweede niveau met kinderen = kolomkop */
.main-nav .sub-menu > li.menu-item-has-children > a { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--subtle); font-weight: 500; }
.main-nav .sub-menu .sub-menu { display: grid; gap: 8px; }
/* Pijltje naast een item met submenu; open = .open (klik/tik) of aanwijzen met de muis */
.main-nav .menu > li.menu-item-has-children > a { display: inline-block; }
.sub-toggle { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 2px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; vertical-align: middle; }
.sub-toggle .icon { width: 13px; height: 13px; stroke-width: 1.6; transition: transform .2s; }
.main-nav .menu > li.open > .sub-menu { display: grid; }
.main-nav .menu > li.open > .sub-toggle .icon { transform: rotate(180deg); }
/* Submenu zonder eigen kolommen (bv. Producten): een smal uitklapmenu onder het item, geen brede balk */
.main-nav .menu > li.menu-item-has-children:not(:has(.sub-menu .sub-menu)) { position: relative; }
.main-nav .menu > li.menu-item-has-children:not(:has(.sub-menu .sub-menu)) > .sub-menu {
	left: 50%; right: auto; transform: translateX(-50%); z-index: 40;
	min-width: 240px; grid-template-columns: 1fr; gap: 14px; padding: 22px 28px; text-align: left; border: 1px solid var(--line);
}

/* ---------- secties ---------- */
.block { padding-block: clamp(48px, 7vw, 96px); }
.block.tight-top { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 400; }
.sec-head .eyebrow { margin-bottom: 6px; }

/* hero */
.hero { display: grid; grid-template-columns: 35fr 65fr; min-height: 560px; border-bottom: 1px solid var(--line); background: var(--hero); }
/* Op de warm-beige hero zijn de lichtere tinten te zwak; daarom hier een tint donkerder. */
.hero .eyebrow, .hero p { color: var(--text); }
/* De tekst loopt een stukje door over het vervaagde deel van de foto. */
.hero .copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; min-width: 0; margin-right: -12vw; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding: 56px var(--gutter) 64px; }
.hero h1 { font-size: clamp(48px, 6.6vw, 104px); font-weight: 400; letter-spacing: -.01em; }
.hero h1 em { color: var(--muted); }
.hero p { max-width: 44ch; font-size: 17px; margin: 0; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; }
/* De fotolaag loopt onder de tekst door; de foto begint al in het beige deel en vervaagt daar schuin. */
.hero .visual { grid-column: 1 / -1; grid-row: 1; position: relative; background: var(--hero); min-height: 420px; overflow: hidden; }
/* Uitlijning afgestemd op de verzamelfoto: de groep staat rechts van de tekst, de standaards blijven in beeld. */
.hero .visual > img, .hero .visual > picture > img { position: absolute; top: 0; left: 22%; width: 78%; height: 100%; object-fit: cover; object-position: 27% 80%; }
@media (min-width: 861px) and (max-width: 1100px) { .hero .visual > img, .hero .visual > picture > img { object-position: 48% 80%; } }
/* Foto loopt zacht over in de warm-beige achtergrond van de tekstkant. */
.hero .visual::after { content: ""; position: absolute; top: 0; bottom: 0; left: 22%; right: 0; z-index: 1; pointer-events: none; background: linear-gradient(110deg, var(--hero) 0%, var(--hero) 15%, rgba(200, 184, 167, .85) 20%, rgba(200, 184, 167, .55) 26%, rgba(200, 184, 167, .25) 32%, rgba(200, 184, 167, .07) 37%, rgba(200, 184, 167, 0) 41%); background: linear-gradient(110deg, var(--hero) 0%, var(--hero) 15%, color-mix(in srgb, var(--hero) 85%, transparent) 20%, color-mix(in srgb, var(--hero) 55%, transparent) 26%, color-mix(in srgb, var(--hero) 25%, transparent) 32%, color-mix(in srgb, var(--hero) 7%, transparent) 37%, transparent 41%); }
.hero .tag { z-index: 2; }
.hero .tag { position: absolute; right: 24px; bottom: 24px; background: var(--surface); padding: 12px 18px 12px 12px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); max-width: calc(100% - 48px); }
.hero .tag-img { width: 54px; flex: none; }
.hero .tag-img img { aspect-ratio: 3 / 4; object-fit: cover; }
.hero .tag b { font-family: var(--serif); font-size: 20px; font-weight: 500; display: block; line-height: 1.15; }
.hero .tag small { color: var(--muted); font-size: 13px; }

/* hero zonder afbeelding */
.hero.no-img { grid-template-columns: 1fr; min-height: 0; }
.hero.no-img .copy { padding-block: clamp(56px, 9vw, 120px); max-width: 1000px; margin-right: 0; }

/* 3D-lettermaker-blok */
.tool-promo { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--surface); }
.tool-visual {
	position: relative; min-height: 380px; overflow: hidden; display: grid; place-items: center;
	background-color: #DDD5CB;
	background-image: linear-gradient(rgba(70, 55, 35, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(70, 55, 35, .14) 1px, transparent 1px);
	background-size: 24px 24px;
}
.tool-letter { font-family: var(--serif); font-size: clamp(200px, 26vw, 340px); line-height: .8; color: #E8D9D2; text-shadow: 6px 8px 0 #CDB5AB, 14px 22px 24px rgba(40, 30, 20, .25); transition: transform .5s; }
.tool-name { position: absolute; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(40px, 5vw, 64px); color: var(--ink); text-shadow: 0 0 0 #fff, 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff; transform: rotate(-6deg) translateY(10px); }
.tool-visual:hover .tool-letter { transform: rotate(-3deg) scale(1.03); }
/* Met foto: de foto loopt onder het tekstvlak door en vervaagt daar schuin in de kleur van het tekstvlak. */
.tool-promo.has-img { grid-template-columns: 1.3fr 1fr; }
.tool-promo.has-img .tool-visual { grid-column: 1 / -1; grid-row: 1; min-height: 460px; background: var(--surface); }
.tool-promo.has-img .txt { grid-column: 2; grid-row: 1; position: relative; z-index: 2; }
.tool-promo.has-img .tool-visual > img { position: absolute; top: 0; left: 0; width: 72%; height: 100%; object-fit: cover; object-position: 40% 60%; transition: transform .6s; }
.tool-promo.has-img .tool-visual::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 72%; z-index: 1; pointer-events: none; background: linear-gradient(250deg, var(--surface) 0%, var(--surface) 12%, color-mix(in srgb, var(--surface) 85%, transparent) 17%, color-mix(in srgb, var(--surface) 55%, transparent) 23%, color-mix(in srgb, var(--surface) 25%, transparent) 29%, color-mix(in srgb, var(--surface) 7%, transparent) 34%, transparent 38%); }
.tool-promo .txt { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.tool-promo h2 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 400; }
.tool-promo h2 em { color: var(--accent); }
.tool-promo p { color: var(--muted); max-width: 46ch; margin: 0; font-size: 16px; }

/* categorieën */
.cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.cat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; text-align: center; container-type: inline-size; }
.cat .ring { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tile); transition: transform .35s; display: block; }
.cat:hover .ring { transform: translateY(-4px); }
.cat .ring img { width: 100%; height: 100%; object-fit: cover; }
/* Letters schalen mee met de kolom, zodat lange namen ("Seizoensdecoratie") niet midden in het woord breken
   (bv. op een opengeklapte Galaxy Fold, ~673 px, of een tablet met 8 rondjes naast elkaar). */
/* --n (front-page.php) alleen bij een woord langer dan 17 letters: dan kleiner naar verhouding. */
.cat-name { overflow-wrap: break-word; font-size: clamp(7px, min(max(9px, 7.6cqi), calc(129cqi / var(--n, 1))), 13px); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.cat-name small { display: block; color: var(--muted); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 400; }

/* verhaal */
.story { display: grid; grid-template-columns: 1fr 1fr; background: var(--soft); }
.story.no-img { grid-template-columns: 1fr; }
.story-img { min-height: 480px; position: relative; background: var(--tile); }
.story-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story .txt { padding: clamp(32px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.story h2 { font-size: clamp(36px, 4.4vw, 62px); font-weight: 400; }
.story h2 em { color: var(--clay); }
.story p { color: var(--text); max-width: 48ch; margin: 0; font-size: 16px; }
.notes { display: flex; gap: 28px; flex-wrap: wrap; margin: 0; padding-top: 8px; }
.notes div { display: grid; gap: 2px; }
.notes dt { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.notes dd { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 500; }

/* ruimtes */
.rooms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.room { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--tile); }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.room:hover img { transform: scale(1.04); }
.room span { position: absolute; left: 12px; bottom: 12px; background: var(--surface); padding: 6px 14px; font-family: var(--serif); font-size: 22px; font-style: italic; }

/* advies */
.advice { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); }
.advice h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; margin-top: 10px; }
.advice p { color: var(--muted); margin: 14px 0 22px; max-width: 52ch; }
.advice ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.advice li { display: flex; gap: 14px; align-items: flex-start; }
.advice li b { display: block; font-weight: 500; }
.advice li small { color: var(--muted); font-size: 13.5px; }
.advice .ic { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.advice .ic .icon { width: 18px; height: 18px; stroke-width: 1.6; }

/* ==========================================================================
   Productraster en kaart
   ========================================================================== */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
ul.products::before, ul.products::after { display: none; }
.card { display: grid; gap: 8px; align-content: start; position: relative; min-width: 0; }
.card .imgbox { position: relative; overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.card .imgbox .img-link { position: absolute; inset: 0; }
.card .imgbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .img-main { transform: scale(1.03); }
.pill { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--surface); color: var(--ink); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; font-weight: 600; }
.pill.new, .pill.eco { background: var(--soft); color: var(--ink); }
.pill.fav { background: var(--beige); color: var(--ink); }
.pill.sale { background: var(--btn); color: var(--on-btn); }
.pill.out { background: var(--ink); color: var(--on-dark); }
.pill.used { background: var(--accent); color: var(--on-btn); }
.heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(252, 250, 247, .85); }
.heart .icon, .wish .icon { width: 17px; height: 17px; stroke-width: 1.5; }
[data-wish][aria-pressed="true"] .icon { fill: var(--clay); stroke: var(--clay); }
.card .quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; min-height: 42px; padding: 0 12px; background: var(--surface); color: var(--ink); font-size: 12px; opacity: 0; transform: translateY(8px); transition: .3s; }
.card:hover .quick, .card .quick:focus-visible { opacity: 1; transform: none; }
.card .quick.loading { opacity: .7; }
.card .quick.added::after { content: " ✓"; }
.card .added_to_cart { display: none; }
.card h3 { font-family: var(--sans); font-size: 14.5px; font-weight: 500; line-height: 1.35; margin-top: 4px; color: var(--ink); }
.card .meta { display: flex; justify-content: space-between; gap: 8px; color: var(--subtle); font-size: 12.5px; min-height: 1em; }
.swatches { display: flex; gap: 5px; align-items: center; }
.swatches i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.swatches.sets { gap: 8px; }
.swatches .set { display: flex; }
.swatches .set i { outline: 1.5px solid var(--bg); }
.swatches .set i + i { margin-left: -5px; }
.price { font-size: 14.5px; font-variant-numeric: tabular-nums; color: var(--text); }
.price del { color: var(--subtle); margin-right: 6px; font-size: .9em; }
.price ins { text-decoration: none; }
.star-rating { color: var(--clay); }

/* ==========================================================================
   Collectiepagina
   ========================================================================== */
.shop-wrap { padding-bottom: 80px; }
.crumbs { font-size: 12.5px; color: var(--muted); padding-block: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.coll-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; padding-bottom: 28px; }
.coll-head h1 { font-size: clamp(44px, 5.6vw, 80px); font-weight: 400; }
.coll-desc { color: var(--muted); max-width: 54ch; }
.coll-desc p:last-child { margin: 0; }
.subnav { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 22px; scrollbar-width: none; }
.subnav a { flex: none; display: inline-flex; align-items: center; height: 38px; padding-inline: 18px; border: 1px solid var(--line); border-radius: 19px; font-size: 13px; background: var(--surface); }
.subnav a:hover { border-color: var(--ink); }
.subnav a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.coll { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.coll-main { min-width: 0; }
.filters { display: grid; align-content: start; position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
.fgroup { border-top: 1px solid var(--line); padding-block: 16px; margin: 0; }
.fgroup h2, .fgroup .widget-title { margin: 0 0 12px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; font-family: var(--sans); line-height: 1.4; }
.fgroup ul { list-style: none; margin: 0; padding: 0; }
.checks a { display: flex; align-items: center; gap: 10px; font-size: 14px; padding-block: 4px; }
.checks i { width: 15px; height: 15px; border: 1px solid var(--muted); flex: none; position: relative; background: var(--surface); }
.checks a.on i { background: var(--accent); border-color: var(--accent); }
.checks a.on i::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks small { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.colors { display: flex; flex-wrap: wrap; gap: 9px; }
.colors a { width: 28px; height: 28px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); position: relative; }
.colors a.on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ink); }
.range { display: grid; gap: 8px; font-size: 13.5px; }
.range input { accent-color: var(--accent); width: 100%; min-height: 0; padding: 0; border: 0; box-shadow: none; }
.toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; padding-block: 5px; }
.switch { width: 40px; height: 22px; border-radius: 11px; background: var(--line); position: relative; flex: none; transition: .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.toggle.on .switch { background: var(--accent); }
.toggle.on .switch::after { left: 21px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-bottom: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.toolbar .woocommerce-result-count { margin: 0; }
.toolbar .woocommerce-ordering { margin: 0 0 0 auto; }
.toolbar select { height: 38px; min-height: 38px; padding: 0 12px; width: auto; font-size: 13.5px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips a { font-size: 12.5px; background: var(--accent-soft); color: var(--on-soft); padding: 5px 10px; border-radius: 14px; }
.filter-toggle { display: none; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.empty h3 { font-size: 30px; color: var(--ink); }

.woocommerce-pagination { margin-top: 48px; }
.woocommerce-pagination ul, .nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.woocommerce-pagination .page-numbers, .nav-links .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; }
.woocommerce-pagination .current, .nav-links .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ==========================================================================
   Productpagina
   ========================================================================== */
.single-product div.product { display: block; }
.pdp-top { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0 clamp(24px, 4vw, 64px); align-items: start; margin-bottom: 72px; }
.pdp-top > * { min-width: 0; }
/* De kortste kolom scrolt mee, maar alleen binnen .pdp-top. */
.pdp-top > .woocommerce-product-gallery, .pdp-top > .summary { position: sticky; top: calc(var(--header-h) + 16px); }
.pdp-top > .summary { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.woocommerce-product-gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: var(--tile); }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce-product-gallery__image.is-tall img { object-fit: contain; }
.woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.woocommerce-product-gallery .flex-control-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; cursor: pointer; opacity: .7; transition: opacity .2s; }
.woocommerce-product-gallery .flex-control-thumbs img:hover, .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; outline: 1.5px solid var(--ink); outline-offset: 2px; }
.woocommerce-product-gallery:not(:has(.flex-control-thumbs)) { grid-template-columns: 1fr; }
.woocommerce-product-gallery:not(:has(.flex-control-thumbs)) .flex-viewport,
.woocommerce-product-gallery:not(:has(.flex-control-thumbs)) > .woocommerce-product-gallery__wrapper { grid-column: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--ink); border-radius: 50%; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 6px; height: 1.5px; background: var(--ink); transform: rotate(45deg); right: 11px; bottom: 12px; }
.woocommerce-product-gallery .flex-direction-nav { display: none; }
/* Tot de slider klaar is alleen de eerste foto tonen, anders staan alle foto's even onder elkaar en verspringt de pagina. */
.js .woocommerce-product-gallery__image:nth-child(n+2):not([style]) { display: none; }
/* Vaste breedte: anders berekent de browser de breedte uit de hoogte die de slider zelf zet, en schuift de foto onder de tekst. */
.woocommerce-product-gallery .flex-viewport { width: 100%; min-width: 0; aspect-ratio: 4 / 5; }

.summary .coll-name { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--subtle); font-weight: 600; }
.summary .product_title { font-size: clamp(38px, 4vw, 56px); font-weight: 400; margin-top: -8px; }
.summary .sub { color: var(--muted); margin-top: -12px; }
.summary .woocommerce-product-rating { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.summary .price { font-size: 26px; font-weight: 500; margin: 0; }
.summary .price del { font-size: 18px; font-weight: 400; }
.woocommerce-product-details__short-description { color: var(--text); }
.woocommerce-product-details__short-description ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.woocommerce-product-details__short-description li { display: flex; gap: 10px; }
.woocommerce-product-details__short-description li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; flex: none; }
.woocommerce-product-details__short-description p:last-child { margin: 0; }
.stock { font-size: 13.5px; margin: 0; }
.stock.out-of-stock { color: var(--clay); }

form.cart { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; margin: 0; }
form.cart .quantity + .single_add_to_cart_button { width: 100%; }
form.variations_form { display: block; }
form.variations_form .single_variation_wrap { margin-top: 16px; }
form.variations_form .woocommerce-variation-add-to-cart { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; }
table.variations { border-collapse: collapse; width: 100%; }
table.variations th, table.variations td { display: block; text-align: left; padding: 0 0 8px; }
table.variations th label { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.reset_variations { font-size: 12.5px; color: var(--muted); text-decoration: underline; }
.quantity { display: flex; border: 1px solid var(--line); height: 50px; background: var(--surface); }
.quantity .qty { width: 44px; min-height: 0; height: 100%; border: 0; text-align: center; padding: 0; font-variant-numeric: tabular-nums; -moz-appearance: textfield; box-shadow: none; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quantity .qty-btn { width: 38px; font-size: 18px; }
form.cart .wish { width: 50px; height: 50px; border: 1px solid var(--line); display: grid; place-items: center; background: var(--surface); }
form.cart.grouped_form { grid-template-columns: 1fr auto; }
form.cart.grouped_form table { grid-column: 1 / -1; }

.promise { background: var(--surface); border: 1px solid var(--line); display: grid; }
.promise div { display: flex; gap: 12px; align-items: center; padding: 12px 16px; font-size: 13.5px; }
.promise div + div { border-top: 1px solid var(--line); }
.promise .icon { width: 18px; height: 18px; stroke: var(--accent); stroke-width: 1.6; }
.promise b { font-weight: 500; }

.acc details { border-top: 1px solid var(--line); padding-block: 14px; }
.acc details:last-of-type { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; font-weight: 300; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc-body { padding-top: 12px; color: var(--text); font-size: 14px; }
.acc-body > :last-child { margin-bottom: 0; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: 6px 0; vertical-align: top; font-weight: 400; }
.woocommerce-product-attributes th { color: var(--ink); width: 40%; padding-right: 16px; }
.woocommerce-product-attributes td p { margin: 0; }
.sizes-wrap { overflow-x: auto; }
.sizes { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.sizes th, .sizes td { padding: 7px 0 7px 12px; text-align: right; border-bottom: 1px solid var(--line); font-weight: 400; white-space: nowrap; }
.sizes th:first-child { padding-left: 0; text-align: left; color: var(--ink); }
.sizes thead th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.sizes .group th { padding-top: 14px; font-family: var(--serif); font-size: 18px; font-weight: 500; }
.sizes-note { margin-top: 12px; font-size: 13px; }
.sizes-note p { margin: 0 0 6px; }

.ritual { background: var(--surface); display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 72px; }
.ritual div { padding: clamp(24px, 3vw, 44px); display: grid; gap: 10px; align-content: start; }
.ritual div + div { border-left: 1px solid var(--line); }
.ritual b { font-family: var(--serif); font-size: 44px; font-weight: 400; color: var(--clay); line-height: 1; }
.ritual h3 { font-size: 26px; }
.ritual p { margin: 0; color: var(--muted); }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 400; margin-bottom: 32px; }
.upsells { margin-bottom: 72px; }

/* reviews */
#reviews .commentlist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; }
#reviews .comment_container { display: flex; gap: 12px; }
#reviews .avatar { width: 40px; height: 40px; border-radius: 50%; }
#review_form .comment-reply-title { font-family: var(--serif); font-size: 24px; display: block; margin-bottom: 10px; color: var(--ink); }
.comment-form-rating .stars a { color: var(--clay); margin-right: 4px; }

/* ==========================================================================
   Winkelmand-schuiflade en meldingen
   ========================================================================== */
.scrim { position: fixed; inset: 0; background: rgba(58, 42, 36, .45); z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--surface); z-index: 51; transform: translateX(100%); transition: transform .35s; display: grid; grid-template-rows: auto auto 1fr; padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.open { transform: none; }
.drawer > header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer > header h2 { font-size: 30px; }
.drawer > header button { display: flex; padding: 10px; margin: -10px; }
.drawer .widget_shopping_cart_content { display: flex; flex-direction: column; min-height: 0; }
.ship { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.bar { height: 4px; background: var(--line); margin-top: 10px; }
.bar i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.woocommerce-mini-cart { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.woocommerce-mini-cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 4px 14px; padding-block: 14px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; }
.woocommerce-mini-cart-item > a:not(.remove) { display: contents; font-weight: 500; }
.woocommerce-mini-cart-item img { grid-row: 1 / span 3; grid-column: 1; width: 72px; aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce-mini-cart-item .quantity { border: 0; height: auto; background: none; color: var(--muted); grid-column: 2; display: block; }
.woocommerce-mini-cart-item .remove { grid-column: 3; grid-row: 1; font-size: 20px; line-height: 1; color: var(--subtle); }
.woocommerce-mini-cart-item dl.variation { grid-column: 2; margin: 0; font-size: 12.5px; color: var(--muted); }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding: 20px 24px 0; margin: 0; border-top: 1px solid var(--line); font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink); }
.woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 24px 20px; margin: 0; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; box-shadow: inset 0 0 0 1px var(--btn); color: var(--btn); }
.woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--btn); color: var(--on-btn); }
.woocommerce-mini-cart__empty-message { padding: 40px 24px; color: var(--muted); text-align: center; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--on-dark); padding: 12px 20px; font-size: 13.5px; opacity: 0; transition: .3s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 24px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
	display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 14px;
}
/* fout en succes: eigen, gedempte tinten zodat de melding opvalt */
.woocommerce-error, .wc-block-components-notice-banner.is-error { background: #F3E4DF; color: #68443C; border-color: #D6B7AE; border-left-color: #68443C; }
.woocommerce-message, .wc-block-components-notice-banner.is-success { background: #E7EBDD; color: #43513F; border-color: #BFCAB8; border-left-color: #43513F; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 38px; font-size: 12px; }

/* ==========================================================================
   Pagina's: winkelmand, afrekenen, account, berichten
   ========================================================================== */
.page-wrap { padding-bottom: 80px; }
.page-wrap.narrow { max-width: 820px; }
.page-head { padding-block: 18px 32px; }
.page-head h1 { font-size: clamp(40px, 5vw, 68px); font-weight: 400; }
.page-head .crumbs { padding-top: 0; }
.entry-content { max-width: 100%; }
.entry-content > p, .entry-content > ul, .entry-content > ol { max-width: 68ch; }
/* Knoppen uitzonderen: anders wint deze regel van .button en wordt knoptekst even donker als de knop. */
.entry-content a:not(.button, .btn, .wp-block-button__link, .wp-element-button, .wc-block-components-button) { color: var(--text); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.entry-content a:not(.button, .btn, .wp-block-button__link, .wp-element-button, .wc-block-components-button):hover { color: var(--subtle); }
.post-hero { margin-bottom: 32px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.post-card { display: grid; gap: 10px; align-content: start; }
.post-card h2 { font-size: 30px; }
.post-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.notfound { text-align: center; display: grid; gap: 18px; justify-items: center; padding-top: 60px; }
.notfound h1 { font-size: clamp(48px, 6vw, 88px); font-weight: 400; }
.search-form { display: flex; gap: 10px; max-width: 520px; width: 100%; }

/* klassieke winkelmand */
table.shop_table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14px; }
table.shop_table th, table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.shop_table th { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
table.shop_table img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; }
table.shop_table .product-remove a { font-size: 20px; color: var(--subtle); }
.woocommerce-cart-form .coupon { display: flex; gap: 10px; flex-wrap: wrap; }
.woocommerce-cart-form .coupon input { width: auto; flex: 1; min-width: 160px; }
.woocommerce-cart-form td.actions { text-align: right; }
.cart-collaterals { display: grid; grid-template-columns: 1fr minmax(0, 420px); margin-top: 32px; gap: 32px; }
.cart_totals { grid-column: 2; }
.cart_totals h2 { font-size: 30px; margin-bottom: 14px; }
.wc-proceed-to-checkout .button { width: 100%; margin-top: 16px; }

/* klassiek afrekenen */
form.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
form.checkout > .col2-set { grid-column: 1; }
form.checkout > #order_review_heading, form.checkout > #order_review { grid-column: 2; }
form.checkout > #order_review_heading { grid-row: 1; font-size: 30px; }
form.checkout > #order_review { grid-row: 2; }
.col2-set .col-1, .col2-set .col-2 { width: 100%; }
.col2-set h3 { font-size: 26px; margin: 24px 0 14px; }
.form-row { margin: 0 0 14px; display: grid; gap: 6px; }
.form-row-first, .form-row-last { display: inline-grid; width: calc(50% - 6px); }
.form-row-first { margin-right: 8px; }
.required { color: var(--clay); text-decoration: none; }
#payment { background: var(--surface); border: 1px solid var(--line); padding: 18px; margin-top: 20px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
#payment .payment_box { font-size: 13.5px; color: var(--muted); padding: 8px 0 0 24px; }
#place_order { width: 100%; }

/* mijn account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-left: 2px solid transparent; }
.woocommerce-MyAccount-navigation .is-active a { border-color: var(--accent); background: var(--surface); }
.woocommerce-account:not(.logged-in) .woocommerce { grid-template-columns: 1fr; max-width: 520px; }
.u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce-account:not(.logged-in) .woocommerce:has(.u-columns) { max-width: 960px; }

/* blok-winkelmand/-afrekenen: rustige basis */
.wc-block-cart, .wc-block-checkout { font-family: var(--sans); }
/* ruimte vasthouden tot het blok geladen is, anders springt de footer omhoog en weer terug */
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { min-height: 70vh; }
.wc-block-components-title, .wc-block-cart__totals-title { font-family: var(--serif) !important; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.contact-grid .entry-content { color: var(--muted); font-size: 16px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3vw, 40px); }
.contact-form form { display: grid; gap: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-form label { font-weight: 500; }
.form-privacy { font-size: 13px; color: var(--muted); margin: 4px 0 12px; }
.contact-form .btn { justify-self: start; }
.form-note { padding: 14px 16px; margin-bottom: 18px; border-left: 3px solid var(--accent); background: var(--accent-soft); font-size: 14.5px; }
.form-note.err { border-left-color: #68443C; background: #F3E4DF; color: #68443C; }
.form-note.ok { border-left-color: #43513F; background: #E7EBDD; color: #43513F; }
.form-note b { display: block; margin-bottom: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid, .form-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Nieuwsbrief & footer
   ========================================================================== */
.newsletter { background: var(--btn); color: var(--soft); }
.newsletter h2 { color: var(--on-dark); }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: 56px; }
.newsletter h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 400; }
.newsletter p { margin: 10px 0 0; }
.newsletter-form input[type="email"], .newsletter-form input[type="text"] { background: var(--surface); color: var(--ink); border: 1px solid var(--surface); }
.newsletter-form .button, .newsletter-form button, .newsletter-form input[type="submit"] { background: var(--beige); color: var(--ink); }
.newsletter-form .button:hover, .newsletter-form button:hover, .newsletter-form input[type="submit"]:hover { background: #B8A797; color: var(--ink); }
.site-footer { padding-block: 56px 28px; font-size: 14px; background: var(--dark); color: var(--soft); }
.site-footer h2 { color: var(--on-dark); }
.site-footer .logo small { color: var(--beige); }
.fcols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.fcols h2 { margin: 0 0 14px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; font-family: var(--sans); line-height: 1.4; }
.fcols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--soft); }
.fcols ul a { transition: color .2s; }
.fcols ul a:hover { color: var(--beige); }
.fbrand .logo { text-align: left; }
.fbrand .logo .logo-img { margin-inline: 0; }
.fbrand .logo .logo-svg { height: 72px; }
.fbrand p { color: var(--soft); max-width: 32ch; margin-top: 12px; }
.fbrand .social { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 4px; }
.fbrand .social a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; color: var(--soft); transition: color .2s; }
.fbrand .social a:hover { color: var(--beige); }
.fbottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--btn); margin-top: 44px; padding-top: 20px; color: var(--beige); font-size: 12.5px; flex-wrap: wrap; }
.fbottom .legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.fbottom .legal i { font-style: normal; opacity: .5; }
.fbottom .legal a { color: inherit; text-underline-offset: 3px; }
.fbottom .legal a:hover { color: var(--on-dark); }
.fbottom .legal button { font-size: inherit; color: inherit; }
.fbottom .legal button:hover { color: var(--on-dark); }
.company-details { display: grid; width: fit-content; min-width: min(100%, 420px); max-width: 100%; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 1.2em 0 1.6em; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); }
.company-details dt { color: var(--muted); }
.company-details dd { margin: 0; }
@media (max-width: 560px) { .company-details { grid-template-columns: 1fr; gap: 2px; } .company-details dd { margin-bottom: 10px; } }
.pay { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
/* iDEAL | Wero: logo nooit vervormen of bijsnijden; vrije ruimte rondom = de 'o' uit het logo. */
.pay .pay-logo { display: block; height: 34px; width: auto; margin: 6px; }
.pay span { border: 1px solid var(--btn); padding: 3px 9px; font-size: 11.5px; font-weight: 500; color: var(--ink); background: var(--surface); }

/* ==========================================================================
   Responsief
   ========================================================================== */
@media (max-width: 1100px) {
	.cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	ul.products, ul.products.columns-4 { grid-template-columns: repeat(3, 1fr); }
	.coll ul.products { grid-template-columns: repeat(2, 1fr); }
	.rooms { grid-template-columns: repeat(3, 1fr); }
	.rooms .room:nth-child(n+4) { display: none; }
	.fcols { grid-template-columns: repeat(3, 1fr); }
	.fbrand { grid-column: 1 / -1; }
	.posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	:root { --header-h: 70px; }
	.topbar .links { display: none; }
	.hdr { grid-template-columns: auto 1fr auto; padding-block: 12px; }
	.hdr-search { display: none; }
	.nav-search { display: flex; padding: 12px var(--gutter) 0; }
	.menu-toggle { display: flex; }
	.logo { text-align: left; }
	.logo small { display: none; }
	.logo .logo-img { margin-inline: 0; max-height: 40px; }
	.logo .logo-svg { height: 46px; max-height: none; }
	.main-nav { display: none; border-top: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; }
	.main-nav.open { display: block; }
	.main-nav .menu { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
	.main-nav .menu > li > a { padding-block: 12px; border: 0; border-bottom: 1px solid var(--line); }
	.main-nav .menu > li > .sub-menu { position: static; display: grid; box-shadow: none; border: 0; padding: 10px 0 10px 16px; background: none; grid-template-columns: 1fr; }
	/* Telefoon: submenu dicht tot je op het pijltje tikt (aanwijzen bestaat hier niet) */
	.main-nav .menu > li.menu-item-has-children { display: grid; grid-template-columns: 1fr 44px; border-bottom: 1px solid var(--line); }
	.main-nav .menu > li.menu-item-has-children > a { display: block; border-bottom: 0; }
	.main-nav .menu > li.menu-item-has-children > .sub-menu { grid-column: 1 / -1; }
	.main-nav .menu > li.menu-item-has-children:not(:has(.sub-menu .sub-menu)) > .sub-menu { transform: none; min-width: 0; gap: 0; padding: 0 0 10px 16px; border: 0; }
	.main-nav .menu > li:not(.open) > .sub-menu { display: none; }
	.main-nav .sub-menu a { display: block; padding-block: 9px; }
	.sub-toggle { width: 44px; height: 44px; margin: 0; }
	.sub-toggle .icon { width: 16px; height: 16px; }
	.hero, .story, .tool-promo, .advice, .newsletter .wrap, .coll-head, .cart-collaterals, form.checkout, .woocommerce-account .woocommerce, .u-columns.col2-set { grid-template-columns: 1fr; }
	.cart_totals, form.checkout > * { grid-column: 1 !important; grid-row: auto !important; }
	.hero .copy { padding-block: 40px; margin-right: 0; }
	.hero .tag { right: auto; left: 24px; }
	.hero .visual { grid-column: auto; grid-row: auto; min-height: 400px; order: -1; }
	.hero .copy { grid-column: auto; grid-row: auto; }
	.hero .visual > img, .hero .visual > picture > img, .hero .visual::after { left: 0; width: 100%; }
	.hero .visual > img, .hero .visual > picture > img { object-position: 50% 55%; }
	.tool-promo.has-img { grid-template-columns: 1fr; }
	.tool-promo.has-img .tool-visual, .tool-promo.has-img .txt { grid-column: auto; grid-row: auto; }
	.tool-promo.has-img .tool-visual { min-height: 300px; }
	.tool-promo.has-img .tool-visual > img, .tool-promo.has-img .tool-visual::after { width: 100%; }
	.tool-promo.has-img .tool-visual > img { object-position: 20% 50%; }
	.tool-promo.has-img .tool-visual::after { background: linear-gradient(0deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 70%, transparent) 12%, transparent 35%); }
	.hero .visual::after { background: linear-gradient(0deg, var(--hero) 0%, color-mix(in srgb, var(--hero) 75%, transparent) 14%, color-mix(in srgb, var(--hero) 30%, transparent) 30%, transparent 46%); }
	.story-img { min-height: 340px; }
	ul.products, ul.products.columns-4, .coll ul.products { grid-template-columns: repeat(2, 1fr); }
	.coll { grid-template-columns: 1fr; }
	.filters { position: fixed; inset: 0 auto 0 0; width: min(340px, 88%); max-height: none; z-index: 52; background: var(--bg); padding: 20px 24px; transform: translateX(-100%); transition: transform .3s; box-shadow: var(--shadow); }
	.filters.open { transform: none; }
	.filter-toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding-inline: 14px; border: 1px solid var(--ink); font-size: 13px; color: var(--ink); }
	.filter-toggle .icon { width: 16px; height: 16px; }
	.pdp-top { grid-template-columns: 1fr; margin-bottom: 56px; }
	.pdp-top > .woocommerce-product-gallery { position: relative; top: auto; }
	.pdp-top > .summary { position: static; }
	.woocommerce-product-gallery { margin-bottom: 32px; }
	.ritual { grid-template-columns: 1fr; }
	.ritual div + div { border-left: 0; border-top: 1px solid var(--line); }
	.rooms { grid-template-columns: repeat(2, 1fr); }
	.rooms .room:nth-child(n+3) { display: none; }
	.fcols { grid-template-columns: repeat(2, 1fr); }
	.posts { grid-template-columns: 1fr; }
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 600px) {
	.cats { gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cat-name { font-size: clamp(7px, min(max(8.5px, 7.6cqi), calc(129cqi / var(--n, 1))), 10px); letter-spacing: .04em; }
	.cat-name small { display: none; }
	.woocommerce-product-gallery { grid-template-columns: 1fr; }
	.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 1; }
	.woocommerce-product-gallery .flex-control-thumbs { grid-row: 2; grid-template-columns: repeat(4, 1fr); }
	/* Ruimte vrijhouden voor de miniaturen die het script later toevoegt (voorkomt verspringen). */
	.woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(2)):not(:has(.flex-control-thumbs)) { padding-bottom: calc((100% - 30px) * .3125 + 14px); }
	.woocommerce-product-gallery:has(.woocommerce-product-gallery__image:nth-child(5)):not(:has(.flex-control-thumbs)) { padding-bottom: calc((100% - 30px) * .625 + 24px); }
	ul.products, ul.products.columns-4, .coll ul.products { gap: 22px 12px; }
	.card .quick { display: none; }
	.icons { gap: 0; margin-right: -8px; }
	.icons a { padding: 8px; }
	.icons .badge { top: 2px; right: -1px; }
	.topbar .usps span:nth-child(n+2) { display: none; }
	.topbar .wrap { padding-block: 6px; }
	form.cart .single_add_to_cart_button, form.variations_form .single_add_to_cart_button { padding: 0 12px; letter-spacing: .08em; }
	.form-row-first, .form-row-last { width: 100%; margin-right: 0; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); padding-block: 8px; }
	table.shop_table_responsive td { border: 0; padding: 6px 0; display: flex; justify-content: space-between; gap: 12px; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 500; }
	table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.actions::before, table.shop_table_responsive td.product-remove::before { content: none; }
}

/* Smalle telefoons: twee categorieën per rij, anders past "Seizoensdecoratie" niet onder het rondje. */
@media (max-width: 370px) {
	.cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.announce .track { animation: none; }
}

/* Ontwerpgegevens bij een winkelmandregel (3D-letter op maat) */
.widget_shopping_cart_content dl.variation { display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; margin: 6px 0 8px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.widget_shopping_cart_content dl.variation dt { margin: 0; font-weight: 500; color: var(--ink); }
.widget_shopping_cart_content dl.variation dd { margin: 0; }
.widget_shopping_cart_content dl.variation dd p { margin: 0; }

/* Kleine telefoons (320–359px): aantal, knop en hartje passen naast elkaar. */
@media (max-width: 359px) {
	form.cart { gap: 6px; }
	.quantity .qty-btn { width: 30px; }
	.quantity .qty { width: 34px; }
	form.cart .single_add_to_cart_button { padding: 0 8px; letter-spacing: .04em; white-space: normal; line-height: 1.2; }
	.logo .logo-svg { height: 40px; }
}

/* ---------- cookiemelding ---------- */
.cookie-banner {
	position: fixed; left: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); z-index: 49;
	width: min(400px, calc(100% - 2 * var(--gutter)));
	background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px var(--line);
	padding: 26px 26px 24px;
	opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s;
}
.cookie-banner.show { opacity: 1; transform: none; }
.cookie-banner h2 { font-size: 30px; margin-bottom: 10px; }
.cookie-banner p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.cookie-banner p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-banner .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-banner .btn { min-height: 44px; padding: 0 12px; }
@media (max-width: 600px) {
	.cookie-banner { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: calc(100% - 24px); padding: 20px 20px 18px; }
	.cookie-banner h2 { font-size: 26px; margin-bottom: 8px; }
	.cookie-banner p { font-size: 13.5px; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }
