/* ==========================================================================
   Snuggle Shop: basis, header, footer, homepage en pagina's
   Richting: "avond onder een deken". Diep bosbesblauw, havermelk, abrikoos.
   ========================================================================== */

@font-face {
	font-family: "Calistoga";
	src: url("../fonts/calistoga-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-var.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Kleur */
	--ink: oklch(0.26 0.065 252);
	--ink-2: oklch(0.35 0.08 250);
	--ink-soft: oklch(0.45 0.045 250);
	--cream: oklch(0.978 0.008 235);
	--cream-2: oklch(0.952 0.02 236);
	--cream-3: oklch(0.9 0.035 238);
	--paper: oklch(0.995 0.003 235);
	--apricot: oklch(0.72 0.15 243); /* logoblauw #38b1ff */
	--apricot-2: oklch(0.62 0.155 248);
	--berry: oklch(0.52 0.18 18);
	--sky: oklch(0.89 0.055 233);
	--lilac: oklch(0.81 0.095 240);
	--mint: oklch(0.9 0.065 172);
	--on-ink: oklch(0.97 0.01 235);
	--on-ink-soft: oklch(0.84 0.035 240);
	--line: oklch(0.26 0.065 252 / 0.12);
	--line-strong: oklch(0.26 0.065 252 / 0.24);
	--focus: oklch(0.55 0.17 255);

	/* Type */
	--font-display: "Calistoga", "Cooper Black", Georgia, serif;
	--font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
	--text-xs: 0.8125rem;
	--text-sm: 0.9375rem;
	--text-md: 1.0625rem;
	--text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	--h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.625rem);
	--h2: clamp(2rem, 1.45rem + 2.3vw, 3.25rem);
	--h1: clamp(2.6rem, 1.5rem + 4.6vw, 5.4rem);

	/* Ruimte en vorm */
	--gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
	--wrap: 1320px;
	--section: clamp(4rem, 2.8rem + 5vw, 8rem);
	--radius-sm: 10px;
	--radius: 12px;
	--radius-lg: 16px;
	--shadow: 0 1px 2px oklch(0.26 0.065 252 / 0.06), 0 8px 24px -12px oklch(0.26 0.065 252 / 0.22);
	--shadow-lift: 0 2px 4px oklch(0.26 0.065 252 / 0.08), 0 22px 44px -18px oklch(0.26 0.065 252 / 0.38);

	/* Beweging */
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
	--dur: 240ms;

	--header-h: 68px;
}

/* Elementor-pagina's (FAQ, retouren, voorwaarden) erven de merkstijl via de kit-variabelen. */
body[class*="elementor-kit-"] {
	--e-global-color-primary: var(--ink);
	--e-global-color-secondary: var(--ink-2);
	--e-global-color-text: var(--ink);
	--e-global-color-accent: var(--apricot-2);
	--e-global-typography-primary-font-family: "Calistoga";
	--e-global-typography-primary-font-weight: 400;
	--e-global-typography-secondary-font-family: "Onest";
	--e-global-typography-text-font-family: "Onest";
	--e-global-typography-accent-font-family: "Onest";
}

/* --------------------------------------------------------------------------
   Basis
   ----------------------------------------------------------------------- */

html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body.snuggle {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--text-md);
	line-height: 1.6;
	font-feature-settings: "ss01" 1;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(.snuggle) :is(h1, h2, h3, h4) {
	color: inherit;
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
:where(.snuggle) :is(h3, h4) { font-family: var(--font-body); font-weight: 700; letter-spacing: -0.005em; line-height: 1.3; }

:where(.snuggle) p { margin: 0 0 1em; text-wrap: pretty; }
:where(.snuggle) a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
:where(.snuggle) a:hover { color: var(--ink-2); }
:where(.snuggle) img { max-width: 100%; height: auto; }
.snuggle :focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--apricot); color: var(--ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000; top: 12px; left: 12px;
	padding: 12px 18px; background: var(--ink); color: var(--on-ink); border-radius: 999px;
}

.icon { width: 1.35em; height: 1.35em; flex: none; vertical-align: -0.28em; }
.muted { color: var(--ink-soft); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 0.6em;
	margin: 0 0 1rem; font-size: var(--text-xs); font-weight: 650;
	letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 1.6em; height: 2px; border-radius: 2px; background: var(--apricot-2); }
.eyebrow--light { color: var(--on-ink-soft); }
.eyebrow--light::before { background: var(--apricot); }

/* Knoppen */
.btn, .snuggle .button, .snuggle button.button, .snuggle input[type="submit"] {
	--btn-bg: var(--ink); --btn-fg: var(--on-ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	min-height: 48px; padding: 0.8em 1.45em;
	border: 0; border-radius: 999px;
	background: var(--btn-bg); color: var(--btn-fg);
	font: 650 var(--text-sm)/1.1 var(--font-body); letter-spacing: 0.005em;
	text-decoration: none; cursor: pointer;
	transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover, .snuggle .button:hover, .snuggle button.button:hover { --btn-bg: var(--ink-2); color: var(--btn-fg); transform: translateY(-1px); }
.btn:active, .snuggle .button:active { transform: translateY(0) scale(0.98); }
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--cta { --btn-bg: var(--apricot); --btn-fg: var(--ink); }
.btn--cta:hover { --btn-bg: var(--apricot-2); color: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-ink); box-shadow: inset 0 0 0 1.5px oklch(0.97 0.01 235 / 0.45); }
.btn--ghost:hover { --btn-bg: oklch(0.97 0.01 235 / 0.1); color: var(--on-ink); }
.btn--lg { min-height: 56px; padding-inline: 1.8em; font-size: var(--text-md); }
.btn--small { min-height: 40px; padding: 0.55em 1.1em; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 0.45em;
	font-weight: 650; text-decoration: none; white-space: nowrap;
	border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon-btn {
	position: relative; display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px;
	background: transparent; color: var(--ink); cursor: pointer;
	transition: background-color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--cream-2); color: var(--ink); }
.icon-btn .icon { width: 24px; height: 24px; }

/* Lopende tekst */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--h3); font-family: var(--font-display); font-weight: 400; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--apricot-2); }
.prose a { color: var(--ink); text-decoration-color: var(--apricot-2); text-decoration-thickness: 2px; }

/* Secties */
.section { padding: var(--section) var(--gutter); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; box-sizing: border-box; }
.section--tight { padding-block: clamp(2rem, 4vw, 4rem); }
.section--alt { max-width: none; background: var(--cream-2); }
.section--alt > * { max-width: var(--wrap); margin-inline: auto; }
.section__head { margin-bottom: clamp(2rem, 3vw, 3rem); }
.section__head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.section__head--split .section__title { margin: 0; }
.section__title { font-size: var(--h2); margin: 0; }

/* --------------------------------------------------------------------------
   Aankondiging en header
   ----------------------------------------------------------------------- */

.announce { background: var(--ink); color: var(--on-ink); font-size: var(--text-xs); }
.announce__inner {
	display: flex; justify-content: center; gap: 2.5rem; margin: 0 auto !important;
	max-width: var(--wrap); padding: 0.55rem var(--gutter);
}
.announce__inner > span { display: inline-flex; align-items: center; gap: 0.5em; }
.announce .icon { width: 1.15rem; height: 1.15rem; color: var(--apricot); vertical-align: 0; }
.announce strong { color: var(--apricot); font-weight: 650; }
@media (max-width: 860px) { .announce__more { display: none !important; } }

.site-header {
	position: sticky; top: 0; z-index: 50;
	/* Altijd een eigen vlak, zodat het menu op elke pagina even duidelijk loskomt van de inhoud. */
	background: var(--paper);
	box-shadow: 0 1px 0 var(--line);
	transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px oklch(0.26 0.065 252 / 0.5); }
.site-header__inner {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
	max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h);
}
.nav-toggle { display: none; }

.site-logo { text-decoration: none; color: var(--ink); line-height: 1; }
.brand-logo { display: flex; align-items: center; justify-content: center; width: 180px; height: 52px; overflow: hidden; }
.snuggle .brand-logo__image { display: block; flex: none; width: 180px; max-width: none; height: 90px; }

.site-nav { justify-self: center; }
.site-nav__list { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
	display: block; padding: 0.6rem 0.9rem; border-radius: 999px;
	font-weight: 560; font-size: var(--text-sm); text-decoration: none;
	transition: background-color var(--dur) var(--ease);
}
.site-nav__list a:hover { background: var(--cream-2); }
.site-nav__list .current-menu-item > a, .site-nav__list a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }

.site-actions { display: flex; align-items: center; gap: 0.15rem; justify-self: end; }
.cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; box-sizing: border-box;
	display: grid; place-items: center; border-radius: 999px;
	background: var(--apricot); color: var(--ink); font-size: 0.7rem; font-weight: 750; line-height: 1;
	transition: transform 300ms var(--ease);
}
.cart-count[data-count="0"] { transform: scale(0); }
.cart-count.is-bump { animation: bump 500ms var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }

.site-search { border-top: 1px solid var(--line); background: var(--paper); }
.site-search__form {
	display: flex; align-items: center; gap: 0.75rem;
	max-width: 760px; margin: 0 auto; padding: 0.9rem var(--gutter);
}
.site-search__form > .icon { color: var(--ink-soft); }
.site-search__form input[type="search"] {
	flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.6rem 0;
	font: 500 var(--text-lg) var(--font-body); color: var(--ink);
}
.site-search__form input[type="search"]:focus { outline: none; }
.site-search__form:focus-within { box-shadow: inset 0 -2px 0 var(--apricot-2); }

@media (max-width: 1080px) {
	.site-header__inner { grid-template-columns: 1fr auto 1fr; }
	.nav-toggle { display: inline-grid; justify-self: start; }
	.site-nav { display: none; }
	.site-logo { justify-self: center; }
}
@media (max-width: 520px) {
	:root { --header-h: 60px; }
	.hide-sm { display: none !important; }
	.brand-logo { width: 140px; height: 44px; }
	.snuggle .brand-logo__image { width: 140px; height: 70px; }
}

/* Mobiel menu */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: oklch(0.2 0.05 252 / 0.5); opacity: 0; transition: opacity 300ms var(--ease); }
.drawer__panel {
	position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px); box-sizing: border-box;
	display: flex; flex-direction: column; gap: 1.5rem; padding: 1rem 1.5rem 2rem; overflow-y: auto;
	background: var(--cream); transform: translateX(-100%); transition: transform 380ms var(--ease);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list a {
	display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 0;
	border-bottom: 1px solid var(--line); text-decoration: none;
	font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15;
}
.drawer__list a::after { content: "→"; font-family: var(--font-body); font-size: 1.1rem; color: var(--apricot-2); }
.drawer__sub { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.drawer__sub a { text-decoration: none; color: var(--ink-soft); font-weight: 550; }
.drawer__note { margin-top: auto !important; padding: 1rem; border-radius: var(--radius); background: var(--cream-2); font-size: var(--text-sm); }

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

.site-footer { position: relative; margin-top: var(--section); background: var(--ink); color: var(--on-ink); }
.site-footer__hem { display: none; }
.site-footer__inner {
	display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem;
	max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 5vw, 5rem) var(--gutter) 3rem;
}
.site-footer .brand-logo--light { width: auto; height: auto; overflow: visible; justify-content: flex-start; }
.snuggle .site-footer .brand-logo--light .brand-logo__image { width: 180px; height: auto; }
.site-footer__claim { max-width: 30ch; margin-top: 1rem !important; color: var(--on-ink-soft); }
.site-footer__title { font-family: var(--font-body) !important; font-weight: 700 !important; font-size: var(--text-xs) !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--apricot); margin-bottom: 1rem !important; }
.site-footer__list, .site-footer__legal, .social { list-style: none; margin: 0; padding: 0; }
.site-footer__list { display: grid; gap: 0.55rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--apricot); }
.site-footer__address { font-style: normal; margin-bottom: 1rem; }
.site-footer__address .muted, .site-footer__meta { color: var(--on-ink-soft); font-size: var(--text-sm); }
.social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px oklch(0.97 0.01 235 / 0.25); transition: background-color var(--dur) var(--ease); }
.social a:hover { background: oklch(0.97 0.01 235 / 0.1); }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	max-width: var(--wrap); margin: 0 auto; padding: 1.25rem var(--gutter) 2rem;
	border-top: 1px solid oklch(0.97 0.01 235 / 0.14); font-size: var(--text-sm); color: var(--on-ink-soft);
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 1.5rem; }
@media (max-width: 900px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Homepage: hero
   ----------------------------------------------------------------------- */

.hero {
	position: relative; overflow: hidden; isolation: isolate;
	background:
		radial-gradient(60% 70% at 85% 30%, oklch(0.45 0.12 245 / 0.7), transparent 70%),
		radial-gradient(45% 60% at 8% 100%, oklch(0.5 0.13 235 / 0.45), transparent 70%),
		var(--ink);
	color: var(--on-ink);
}
.hero__inner {
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem);
	max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 7rem) var(--gutter) clamp(5rem, 9vw, 9rem);
}
.hero__title { font-size: var(--h1); line-height: 0.98 !important; margin-bottom: 0.4em !important; }
.hero__title em { font-style: normal; color: var(--apricot); }
.hero__lead { max-width: 46ch; font-size: var(--text-lg); color: var(--on-ink-soft); margin-bottom: 2rem !important; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__proof { display: flex; align-items: center; gap: 0.6em; margin: 2rem 0 0 !important; font-size: var(--text-sm); color: var(--on-ink-soft); }
.hero__proof .icon { color: var(--apricot); }
.hero__hem { position: absolute; left: 0; bottom: -1px; width: 100%; height: 48px; fill: var(--cream); display: block; transform: scaleY(-1); }

.hero__stack { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; justify-self: center; }
.polaroid {
	position: absolute; width: 58%; padding: 10px 10px 0; box-sizing: border-box;
	background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-lift);
	text-decoration: none; color: var(--ink);
	transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.polaroid__img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--cream-2); }
.polaroid--1 { left: 0; top: 10%; transform: rotate(-6deg); z-index: 2; }
.polaroid--2 { right: 0; top: 0; transform: rotate(5deg); width: 50%; }
.polaroid--3 { right: 6%; bottom: 0; transform: rotate(-2deg); width: 46%; z-index: 3; }
.polaroid:hover { transform: rotate(0deg) translateY(-8px) scale(1.02); z-index: 5; box-shadow: 0 30px 60px -20px oklch(0.15 0.05 252 / 0.6); color: var(--ink); }

/* Stoflabel: gestikte rand als merkdetail */
.tag {
	display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem;
	margin: 10px 0 12px; padding: 0.45rem 0.7rem; border-radius: 10px;
	outline: 1.5px dashed oklch(0.26 0.065 252 / 0.3); outline-offset: -4px;
	font-size: var(--text-sm);
}
.tag__name { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag__price { font-variant-numeric: tabular-nums; color: var(--ink-soft); white-space: nowrap; }

@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; padding-bottom: 6rem; }
	.hero__stack { max-width: 440px; aspect-ratio: 1 / 0.92; }
	.polaroid--1 { top: 6%; }
}
@media (max-width: 520px) {
	.hero__stack { aspect-ratio: 1 / 0.95; }
	.tag { font-size: var(--text-xs); }
	.polaroid--3 .tag__price, .polaroid--2 .tag__price { display: none; }
}

/* Laadanimatie hero */
@media (prefers-reduced-motion: no-preference) {
	.hero__copy > * { animation: rise 900ms var(--ease) backwards; }
	.hero__copy > :nth-child(2) { animation-delay: 80ms; }
	.hero__copy > :nth-child(3) { animation-delay: 160ms; }
	.hero__copy > :nth-child(4) { animation-delay: 240ms; }
	.hero__copy > :nth-child(5) { animation-delay: 320ms; }
	.polaroid { animation: drop 1100ms var(--ease) backwards; }
	.polaroid--1 { animation-delay: 200ms; --r: -6deg; }
	.polaroid--2 { animation-delay: 320ms; --r: 5deg; }
	.polaroid--3 { animation-delay: 440ms; --r: -2deg; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes drop { from { opacity: 0; transform: translateY(40px) rotate(0deg); } }

/* --------------------------------------------------------------------------
   Homepage: beloftes, lengtes, prints, verhaal, cadeau, vragen
   ----------------------------------------------------------------------- */

.promises { padding: 0 var(--gutter); }
.promises__list {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: var(--wrap); margin: clamp(1.5rem, 3vw, 2.5rem) auto 0; padding: 0; list-style: none;
}
.promises__list li { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.5rem 1.5rem; }
.promises__list li + li { border-left: 1px solid var(--line); }
.promises__list .icon { width: 30px; height: 30px; color: var(--apricot-2); flex: none; }
.promises__list span { display: grid; font-size: var(--text-sm); color: var(--ink-soft); line-height: 1.4; }
.promises__list strong { color: var(--ink); font-size: var(--text-md); font-weight: 680; }
@media (max-width: 960px) {
	.promises__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
	.promises__list li:nth-child(3) { border-left: 0; }
}
@media (max-width: 520px) {
	.promises__list { grid-template-columns: 1fr; row-gap: 0; }
	.promises__list li { border-left: 0 !important; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
}

/* Categorietegels met de echte categoriefoto's */
.cats .section__title { margin-bottom: 1.5rem; }
.cats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.cat { display: grid; gap: 0.2rem; text-decoration: none; }
.cat__img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 0.6rem; transition: transform 600ms var(--ease); }
.cat:hover .cat__img { transform: scale(1.015); }
.cat__label { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: var(--text-lg); }
.cat__label .icon { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.cat:hover .cat__label .icon { transform: translateX(3px); }
.cat__count { color: var(--ink-soft); font-size: var(--text-sm); }
.cats__lengths { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.25rem; margin: 1.75rem 0 0 !important; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.cats__lengths span { font-weight: 650; }
.cats__lengths a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.cats__lengths small { color: var(--ink-soft); font-weight: 500; }
@media (max-width: 640px) {
	.cats__list { gap: 0.6rem; }
	.cat__img { border-radius: 12px; margin-bottom: 0.4rem; }
	.cat__label { font-size: var(--text-sm); gap: 0.25rem; }
	.cat__label .icon { display: none; }
	.cat__count { font-size: var(--text-xs); }
}

.rail { margin-inline: calc(-1 * var(--gutter)); }

.story { padding: var(--section) var(--gutter); }
.story__inner {
	display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start;
	max-width: var(--wrap); margin: 0 auto;
}
.story__quote { position: sticky; top: calc(var(--header-h) + 2rem); margin: 0; }
.story__quote p {
	font-family: var(--font-display); font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1.05;
	letter-spacing: -0.015em; margin: 0;
}
.story__quote p::before { content: "“"; display: block; font-size: 2.2em; line-height: 0.6; color: var(--apricot-2); margin-bottom: 0.1em; }
.story__text h2 { font-size: var(--h3); margin-top: 0; }
@media (max-width: 860px) {
	.story__inner { grid-template-columns: 1fr; }
	.story__quote { position: static; }
}

.faq-teaser { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); }
.faq-teaser__head .section__title { margin-bottom: 1.5rem; }
@media (max-width: 860px) { .faq-teaser { grid-template-columns: 1fr; } }

/* Uitklapvragen (homepage, product, FAQ) */
.faq-teaser__list details, .faq-mini details, .page-body details, .wp-block-details {
	border-bottom: 1px solid var(--line);
}
.faq-teaser__list details:first-child, .page-body details:first-of-type { border-top: 1px solid var(--line); }
.snuggle summary {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1.15rem 0; cursor: pointer; list-style: none;
	font-weight: 650; font-size: var(--text-md);
}
.snuggle summary::-webkit-details-marker { display: none; }
.snuggle summary::after {
	content: ""; flex: none; width: 30px; height: 30px; border-radius: 999px;
	background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a2a48' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.snuggle details[open] > summary::after { transform: rotate(45deg); background-color: var(--apricot); }
.snuggle summary:hover::after { background-color: var(--cream-3); }
.snuggle details > :not(summary) { margin: 0 0 1.25rem; color: var(--ink-2); max-width: 64ch; }
@media (prefers-reduced-motion: no-preference) {
	.snuggle details[open] > :not(summary) { animation: rise 400ms var(--ease); }
}

/* Onthullen bij scrollen */
@media (prefers-reduced-motion: no-preference) {
	.reveal-ready :is([data-reveal], .snuggle-reveal) { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-quart), transform 800ms var(--ease-quart); }
	.reveal-ready :is([data-reveal], .snuggle-reveal).is-in { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Pagina's
   ----------------------------------------------------------------------- */

.page-head { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 4vw, 4rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem); }
.page-head__title { font-size: var(--h2); margin: 0 !important; }
.page-head--compact { padding-bottom: 1rem; }
.page-head--compact .page-head__title { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); }
.page-body { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.page-body.prose { max-width: calc(68ch + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.page-std .page-body > .elementor { margin-inline: calc(-1 * var(--gutter)); }

.crumbs { font-size: var(--text-xs); color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--cream-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .separator { color: var(--cream-3); margin: 0 0.25rem; }

.notfound { max-width: 760px; margin: 0 auto; padding: var(--section) var(--gutter) 2rem; text-align: center; }
.notfound .eyebrow::before { display: none; }
.notfound__title { font-size: var(--h2); }
.notfound__text { color: var(--ink-soft); }
.notfound__search { display: flex; gap: 0.5rem; max-width: 460px; margin: 2rem auto 0; }

/* Formulieren (algemeen, Gravity Forms, Elementor Pro-formulier) */
.snuggle input[type="text"], .snuggle input[type="email"], .snuggle input[type="tel"], .snuggle input[type="password"],
.snuggle input[type="number"], .snuggle input[type="search"]:not(.site-search__form input), .snuggle textarea, .snuggle select,
.snuggle .select2-container .select2-selection--single {
	box-sizing: border-box; width: 100%; min-height: 50px; padding: 0.75rem 1rem;
	border: 1.5px solid var(--cream-3); border-radius: 14px; background: var(--paper); color: var(--ink);
	font: 500 var(--text-md) var(--font-body);
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.snuggle input:focus, .snuggle textarea:focus, .snuggle select:focus {
	outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px oklch(0.72 0.15 243 / 0.3);
}
.snuggle label { font-weight: 600; font-size: var(--text-sm); }
.snuggle .gform_wrapper.gform-theme { --gf-color-primary: var(--ink); --gf-color-primary-rgb: 39, 35, 80; --gf-ctrl-radius: 14px; --gf-radius: 14px; --gf-font-family: var(--font-body); }
.snuggle .gform_wrapper .gform_button, .snuggle .elementor-form .elementor-button { border-radius: 999px !important; background: var(--ink) !important; color: var(--on-ink) !important; font-weight: 650 !important; }

/* Cookiemelding (Complianz) in huisstijl */
.cmplz-cookiebanner { border-radius: var(--radius) !important; font-family: var(--font-body) !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--ink) !important; border-color: var(--ink) !important; }
/* Standaard linkkleur (#38b1ff) haalt op wit geen 4.5:1; lege documentlinks (geen cookieverklaring ingesteld) verbergen */
#cmplz-cookiebanner-container .cmplz-cookiebanner { --cmplz_hyperlink_color: var(--ink); --cmplz_text_color: var(--ink); }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-link { text-decoration: underline; text-underline-offset: 0.15em; }
#cmplz-cookiebanner-container .cmplz-documents a:empty, #cmplz-cookiebanner-container .cmplz-documents li:has(> a:empty) { display: none !important; }

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

/* --------------------------------------------------------------------------
   Samenwerking met plugins op de live site
   ----------------------------------------------------------------------- */

/* Imagify: <picture>-wrapper doet niet mee in de layout, de <img> houdt zijn eigen class. */
picture.snuggle-picture { display: contents; }

/* Elementor-kit: globale knop-, link- en gewichtsstijlen mogen het theme niet overschrijven. */
body.snuggle[class*="elementor-kit-"] {
	--e-global-typography-primary-font-weight: 400;
	--e-global-typography-secondary-font-weight: 400;
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-weight: 500;
}
html body.snuggle :is(.icon-btn, .nav-toggle, .qty-step) { background: transparent; color: var(--ink); border: 0; box-shadow: none; }
html body.snuggle :is(.icon-btn, .nav-toggle):hover, html body.snuggle :is(.icon-btn, .nav-toggle):focus-visible { background: var(--cream-2); color: var(--ink); border: 0; }
html body.snuggle .qty-step:hover { background: var(--cream-2); color: var(--ink); }
html body.snuggle .btn, html body.snuggle .btn:hover, html body.snuggle .btn:focus { background: var(--btn-bg); color: var(--btn-fg); border: 0; }
html body.snuggle .btn--ghost, html body.snuggle .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px oklch(0.97 0.01 235 / 0.45); }
html body.snuggle .site-search__form .btn { background: var(--ink); color: var(--on-ink); }
html body.snuggle .announce a, html body.snuggle .hero a:not(.btn):not(.polaroid) { color: inherit; }
html body.snuggle .polaroid, html body.snuggle .polaroid:hover { color: var(--ink); }
html body.snuggle .site-nav__list a, html body.snuggle .drawer__list a, html body.snuggle .site-logo { color: var(--ink); }
html body.snuggle .site-nav__list .current-menu-item > a, html body.snuggle .site-nav__list a[aria-current="page"] { color: var(--on-ink); }
html body.snuggle .drawer__sub a { color: var(--ink-soft); }
html body.snuggle .site-footer a { color: var(--on-ink); }
html body.snuggle .site-footer a:hover { color: var(--apricot); }
html body.snuggle :is(.link-arrow, .cat, .card__title a, .crumbs a, .pill, .chip, .segment, .length__link) { color: var(--ink); }
html body.snuggle :is(.pill, .chip, .segment).is-active { color: var(--on-ink); }
html body.snuggle strong, html body.snuggle b { font-weight: 700; }

/* Elementor Toggle/Accordion (FAQ e.d.) in dezelfde stijl als de uitklapvragen */
html body.snuggle .elementor-toggle .elementor-toggle-item, html body.snuggle .elementor-accordion .elementor-accordion-item { border: 0; border-bottom: 1px solid var(--line); }
html body.snuggle .elementor-toggle .elementor-tab-title, html body.snuggle .elementor-accordion .elementor-tab-title {
	display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1.15rem 0; border: 0; font: 650 var(--text-md)/1.4 var(--font-body);
}
html body.snuggle :is(.elementor-toggle, .elementor-accordion) .elementor-tab-title a { color: var(--ink); font: inherit; }
html body.snuggle :is(.elementor-toggle, .elementor-accordion) .elementor-tab-title .elementor-toggle-icon,
html body.snuggle :is(.elementor-toggle, .elementor-accordion) .elementor-tab-title .elementor-accordion-icon {
	flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--cream-2); color: var(--ink);
}
html body.snuggle :is(.elementor-toggle, .elementor-accordion) .elementor-tab-title .e-font-icon-svg { width: 12px; height: 12px; fill: currentColor; }
html body.snuggle :is(.elementor-toggle, .elementor-accordion) .elementor-tab-title.elementor-active :is(.elementor-toggle-icon, .elementor-accordion-icon) { background: var(--apricot); }
html body.snuggle :is(.elementor-toggle, .elementor-accordion) .elementor-tab-content { padding: 0 0 1.25rem; border: 0; color: var(--ink-2); max-width: 64ch; font: 400 var(--text-md)/1.6 var(--font-body); }
html body.snuggle .elementor-widget-heading .elementor-heading-title { font-family: var(--font-display); font-weight: 400; color: var(--ink); }
html body.snuggle .elementor-widget-text-editor { font-family: var(--font-body); color: var(--ink-2); }

/* Ingelogd: sticky header en filterbalk onder de WordPress-beheerdersbalk. */
.admin-bar .site-header { top: 32px; }
.admin-bar .filters { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.admin-bar .filters { top: calc(var(--header-h) + 46px); }
}
@media (max-width: 600px) {
	/* Op kleine schermen scrolt de beheerdersbalk mee. */
	.admin-bar .site-header { top: 0; }
	.admin-bar .filters { top: var(--header-h); }
}
