/* ==========================================================================
   KinderBorduur – hoofdstijlen
   Kleuren en lettertypen komen als CSS-variabelen uit de Customizer.
   ========================================================================== */

:root {
	--kb-navy: #13204A;
	--kb-pink: #E8327B;
	--kb-pink-light: #FCE7EF;
	--kb-blue-pastel: #E8F3FC;
	--kb-topbar: #D6E7F3;
	--kb-cream: #FFF8F1;
	--kb-accent: #FFAD32;
	--kb-text: #17233E;
	--kb-white: #FFFFFF;
	--kb-font-heading: "Poppins", system-ui, sans-serif;
	--kb-font-body: "Poppins", system-ui, sans-serif;

	--kb-pink-dark: color-mix(in srgb, var(--kb-pink) 82%, #000);
	--kb-muted: color-mix(in srgb, var(--kb-text) 68%, #fff);
	--kb-line: #E7EAF1;
	--kb-line-soft: #F0F2F6;
	--kb-cat-1: #FDEAE6;
	--kb-cat-2: #FDE7D8;
	--kb-cat-3: #FAE3EA;
	--kb-cat-4: #F8E2E7;
	--kb-cat-5: #F7E1E5;

	--kb-radius-sm: 8px;
	--kb-radius: 12px;
	--kb-radius-lg: 18px;
	--kb-radius-xl: 28px;
	--kb-shadow-sm: 0 2px 8px rgba(19, 32, 74, .06);
	--kb-shadow: 0 6px 22px rgba(19, 32, 74, .08);
	--kb-shadow-lg: 0 14px 40px rgba(19, 32, 74, .12);
	--kb-container: 1540px;
	--kb-gutter: clamp(16px, 3.4vw, 52px);
	--kb-header-h: 86px;
	--kb-ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
	margin: 0;
	font-family: var(--kb-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--kb-text);
	background: var(--kb-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img, svg, video { max-width: 100%; height: auto; }
img { vertical-align: middle; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--kb-font-heading);
	color: var(--kb-navy);
	line-height: 1.2;
	margin: 0 0 .6em;
	font-weight: 700;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1.1em; }

a { color: var(--kb-pink-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kb-pink); }

:focus-visible {
	outline: 3px solid var(--kb-pink);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 100000;
	left: 12px;
	top: 12px;
	padding: 12px 20px;
	background: var(--kb-navy);
	color: #fff;
	border-radius: var(--kb-radius);
	text-decoration: none;
}

.kb-container {
	width: 100%;
	max-width: var(--kb-container);
	margin-inline: auto;
	padding-inline: var(--kb-gutter);
}
.kb-container--narrow { max-width: calc(860px + 2 * var(--kb-gutter)); }

.kb-main { display: block; outline: none; }
.kb-section { padding-block: clamp(28px, 4vw, 44px); }
.kb-section--tight { padding-block: clamp(24px, 3vw, 40px) clamp(40px, 5vw, 72px); }

.kb-icon { flex-shrink: 0; }

.kb-admin-hint {
	padding: 12px 16px;
	border: 2px dashed var(--kb-pink);
	border-radius: var(--kb-radius);
	background: var(--kb-pink-light);
	color: var(--kb-navy);
	font-size: .9rem;
}

/* Knoppen ---------------------------------------------------------------- */
.kb-btn,
.wp-block-button__link,
.wp-element-button {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 10px 28px;
	border: 2px solid transparent;
	border-radius: 14px;
	font-family: var(--kb-font-heading);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.2;
	letter-spacing: .005em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--kb-ease), box-shadow .25s var(--kb-ease), background-color .2s, color .2s, border-color .2s;
}
.kb-btn--lg { min-height: 52px; padding: 12px 30px; font-size: 1.1rem; }
.kb-btn .kb-icon { transition: transform .25s var(--kb-ease); }
.kb-btn:hover .kb-icon { transform: translateX(4px); }
.kb-btn:hover { transform: translateY(-2px); }
.kb-btn:active { transform: translateY(0); }

/* Glans die over de knop schuift bij hover. */
.kb-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
	transform: translateX(-110%);
	transition: transform .7s var(--kb-ease);
}
.kb-btn:hover::after { transform: translateX(110%); }

.kb-btn--pink,
.wp-block-button__link,
.wp-element-button {
	background: linear-gradient(180deg, color-mix(in srgb, var(--kb-pink) 88%, #fff) 0%, var(--kb-pink) 55%, var(--kb-pink-dark) 100%);
	color: #fff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .35),
		0 8px 18px -6px color-mix(in srgb, var(--kb-pink) 55%, transparent),
		0 2px 4px rgba(19, 32, 74, .08);
}
.kb-btn--pink:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	color: #fff;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .35),
		0 14px 26px -8px color-mix(in srgb, var(--kb-pink) 60%, transparent),
		0 3px 6px rgba(19, 32, 74, .1);
}

.kb-btn--outline {
	background: rgba(255, 255, 255, .82);
	color: var(--kb-navy);
	border-color: color-mix(in srgb, var(--kb-navy) 85%, #fff);
	font-weight: 600;
	backdrop-filter: blur(6px);
	box-shadow: 0 4px 12px -4px rgba(19, 32, 74, .12);
}
.kb-btn--outline::after { background: linear-gradient(105deg, transparent 35%, rgba(19, 32, 74, .06) 50%, transparent 65%); }
.kb-btn--outline:hover { background: var(--kb-navy); color: #fff; border-color: var(--kb-navy); box-shadow: 0 12px 24px -10px rgba(19, 32, 74, .45); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--kb-navy); border-color: var(--kb-navy); box-shadow: none; }

.kb-btn--pill { border-radius: 999px; }
.kb-btn--small { min-height: 38px; padding: 6px 18px; font-size: .95rem; }

/* Informatiebalk ---------------------------------------------------------- */
.kb-topbar {
	background: var(--kb-topbar);
	color: var(--kb-navy);
	font-size: .875rem;
	font-weight: 500;
}
.kb-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 38px;
	gap: 24px;
}
.kb-topbar__usps {
	display: flex;
	gap: clamp(24px, 6vw, 92px);
	margin: 0;
	padding: 0 0 0 clamp(0px, 2vw, 22px);
	list-style: none;
}
.kb-topbar__item { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.kb-topbar__reviews {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
	margin-right: clamp(0px, 3vw, 40px);
}

/* Sterren */
.kb-stars {
	--size: 18px;
	position: relative;
	display: inline-block;
	width: calc(var(--size) * 5);
	height: var(--size);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D9DCE3' d='m12 2.6 2.9 6 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") repeat-x left center / var(--size) var(--size);
}
.kb-stars__fill {
	position: absolute;
	inset: 0 auto 0 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFAD32' d='m12 2.6 2.9 6 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") repeat-x left center / var(--size) var(--size);
}

/* Header ------------------------------------------------------------------ */
.kb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	transition: box-shadow .25s var(--kb-ease);
}
.admin-bar .kb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .kb-header { top: 0; } }
.kb-header.is-scrolled { box-shadow: 0 1px 0 rgba(19, 32, 74, .05), 0 10px 28px -12px rgba(19, 32, 74, .18); }

.kb-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 32px);
	min-height: var(--kb-header-h);
}

.kb-header__brand {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	align-self: flex-start;
	height: var(--kb-header-h);
	padding-top: 14px;
	padding-left: clamp(0px, 1vw, 12px);
}
/* Witte "wolk" achter het logo die over de hero valt, zoals in het ontwerp. */
.kb-header__brand::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: calc(-1 * var(--kb-gutter) - 40px);
	right: -48px;
	top: 0;
	height: calc(100% + 46px);
	background: #fff;
	border-radius: 0 0 55% 45% / 0 0 70px 56px;
	box-shadow: 0 14px 24px -18px rgba(19, 32, 74, .25);
	transition: opacity .25s, transform .25s;
}
.kb-header.is-scrolled .kb-header__brand::before { opacity: 0; transform: translateY(-20px); }

.kb-header__brand .custom-logo-link { display: block; line-height: 0; }
.kb-header__brand .custom-logo {
	width: auto;
	height: clamp(58px, 6.4vw, 94px);
	max-width: min(390px, 42vw);
	object-fit: contain;
	transition: height .25s var(--kb-ease);
}
.kb-header.is-scrolled .kb-header__brand .custom-logo { height: clamp(48px, 4.8vw, 64px); }
.kb-header.is-scrolled .kb-header__brand { padding-top: 11px; padding-bottom: 8px; }

/* Navigatie */
.kb-nav { position: relative; z-index: 3; flex: 1 1 auto; display: flex; justify-content: center; }
.kb-menu {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.6vw, 42px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.kb-menu > li { position: relative; display: flex; align-items: center; }
.kb-menu > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 8px 4px;
	color: var(--kb-navy);
	font-size: 1.0625rem;
	font-weight: 500;
	transition: color .2s;
	text-decoration: none;
	white-space: nowrap;
}
.kb-menu > li > a::after {
	content: "";
	position: absolute;
	left: -8px;
	right: -8px;
	bottom: -2px;
	height: 3px;
	border-radius: 3px;
	background: var(--kb-pink);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .25s var(--kb-ease);
}
.kb-menu > li > a:hover,
.kb-menu > .current-menu-item > a,
.kb-menu > .current-menu-ancestor > a,
.kb-menu > .current_page_item > a { color: var(--kb-pink); }
.kb-menu > li > a:hover::after,
.kb-menu > .current-menu-item > a::after,
.kb-menu > .current-menu-ancestor > a::after,
.kb-menu > .current_page_item > a::after { transform: scaleX(1); }

.kb-submenu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--kb-navy);
	cursor: pointer;
	border-radius: 6px;
	transition: transform .2s;
}
.menu-item-has-children.is-open > .kb-submenu-toggle { transform: rotate(180deg); }

.kb-nav .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: -18px;
	min-width: 230px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #fff;
	border-radius: var(--kb-radius);
	box-shadow: var(--kb-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 60;
}
.kb-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.kb-nav .menu-item-has-children:hover > .sub-menu,
.kb-nav .menu-item-has-children.is-open > .sub-menu,
.kb-nav .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.kb-nav .sub-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: var(--kb-radius-sm);
	color: var(--kb-navy);
	text-decoration: none;
	font-weight: 500;
}
.kb-nav .sub-menu a:hover,
.kb-nav .sub-menu .current-menu-item > a { background: var(--kb-pink-light); color: var(--kb-pink-dark); }

/* Acties rechts */
.kb-header__actions { position: relative; z-index: 3; display: flex; align-items: center; gap: clamp(10px, 1.6vw, 22px); flex: 0 0 auto; }
.kb-header__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--kb-navy);
	cursor: pointer;
	transition: background .2s, color .2s;
}
.kb-header__icon:hover { background: var(--kb-pink-light); color: var(--kb-pink-dark); }

.kb-cart-count {
	position: absolute;
	top: 1px;
	right: -2px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--kb-pink);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
	box-shadow: 0 0 0 2px #fff;
}

/* Zoeken */
.kb-search {
	position: relative;
	display: flex;
	align-items: center;
	width: clamp(200px, 18vw, 268px);
}
.kb-search__input {
	width: 100%;
	height: 42px;
	padding: 0 48px 0 20px;
	border: 1.5px solid #D5E1EE;
	border-radius: 999px;
	background: #F7FAFD;
	box-shadow: inset 0 1px 2px rgba(19, 32, 74, .04);
	color: var(--kb-text);
	font: inherit;
	font-size: .9rem;
	transition: border-color .2s, box-shadow .2s;
}
.kb-search__input::placeholder { color: #8A93A8; }
.kb-search__input:focus { outline: none; background: #fff; border-color: var(--kb-pink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kb-pink) 20%, transparent); }
.kb-search__btn {
	position: absolute;
	right: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--kb-navy);
	cursor: pointer;
}
.kb-search__btn:hover { color: #fff; background: var(--kb-pink); }
.kb-search__btn { transition: background .2s, color .2s; }

.kb-burger,
.kb-search-toggle { display: none; }
.kb-header__search { position: relative; }

/* Mobiel menu */
.kb-drawer { position: fixed; inset: 0; z-index: 1000; }
.kb-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(19, 32, 74, .45);
	opacity: 0;
	transition: opacity .25s;
}
.kb-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: min(380px, 88vw);
	padding: 18px 22px 28px;
	overflow-y: auto;
	background: #fff url("../images/clouds-bottom.svg") no-repeat bottom center / 100% 80px;
	box-shadow: var(--kb-shadow-lg);
	transform: translateX(100%);
	transition: transform .3s var(--kb-ease);
}
.kb-drawer.is-open .kb-drawer__overlay { opacity: 1; }
.kb-drawer.is-open .kb-drawer__panel { transform: translateX(0); }
.kb-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kb-drawer__head .custom-logo { height: 52px; width: auto; }
.kb-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--kb-pink-light);
	color: var(--kb-navy);
	cursor: pointer;
}
.kb-drawer .kb-search { width: 100%; }
.kb-drawer .kb-menu--mobile { flex-direction: column; align-items: stretch; gap: 0; }
.kb-menu--mobile > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--kb-line-soft); }
.kb-menu--mobile > li > a { padding: 13px 4px; font-size: 1.125rem; line-height: 1.3; flex: 1; }
.kb-menu--mobile > li > a::after { display: none; }
.kb-menu--mobile .kb-submenu-toggle { width: 44px; height: 44px; }
.kb-menu--mobile .sub-menu { display: none; width: 100%; margin: 0 0 10px; padding: 0 0 0 12px; list-style: none; }
.kb-menu--mobile .is-open > .sub-menu { display: block; }
.kb-menu--mobile .sub-menu a { display: block; padding: 10px 6px; color: var(--kb-navy); text-decoration: none; }
.kb-drawer__links { display: grid; gap: 8px; margin-top: auto; padding-bottom: 60px; }
.kb-drawer__links a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: var(--kb-radius);
	background: var(--kb-blue-pastel);
	color: var(--kb-navy);
	font-weight: 500;
	text-decoration: none;
}

/* Hero -------------------------------------------------------------------- */
.kb-hero {
	position: relative;
	isolation: isolate;
	min-height: clamp(420px, 31vw, 488px);
	padding: clamp(52px, 4.6vw, 72px) 0 clamp(118px, 8.6vw, 136px);
	overflow: hidden;
	background:
		radial-gradient(60% 80% at 10% 30%, rgba(255, 255, 255, .9), transparent 70%),
		linear-gradient(110deg, #FBF7F1 0%, #F1F2E8 38%, #DCE6CF 70%, #C9D8B6 100%);
}
/* Wazige versie van de foto achter de tekst: zachte, natuurlijke overgang. */
.kb-hero::before {
	content: "";
	position: absolute;
	inset: -40px;
	z-index: -2;
	background: var(--kb-hero-bg, none) right center / cover no-repeat;
	filter: blur(30px) saturate(1.08);
	opacity: .55;
}
.kb-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		radial-gradient(70% 90% at 18% 45%, rgba(255, 252, 247, .92) 0%, rgba(255, 252, 247, .7) 45%, rgba(255, 252, 247, 0) 80%);
}
.kb-hero__media {
	position: absolute;
	inset: 0 0 clamp(44px, 3.8vw, 60px) auto;
	width: min(67%, 1120px);
	z-index: -1;
	/* De foto loopt geleidelijk over in de wazige achtergrond. */
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 9%, #000 22%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 9%, #000 22%);
}
.kb-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 30% 38%;
}

.kb-hero__inner { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.kb-hero__content {
	position: relative;
	max-width: min(660px, 47vw);
	padding-left: clamp(0px, 1.6vw, 24px);
}
.kb-hero__title {
	margin: 0 0 20px;
	font-size: clamp(2.2rem, 1.1rem + 2.45vw, 3.35rem);
	line-height: 1.06;
	letter-spacing: -.015em;
	color: var(--kb-navy);
	text-shadow: 0 2px 22px rgba(255, 255, 255, .8);
	text-wrap: balance;
}
.kb-hero__accent { display: block; color: var(--kb-pink); }
.kb-hero__text {
	max-width: 470px;
	margin: 0 0 32px;
	font-size: clamp(1.05rem, .95rem + .45vw, 1.28rem);
	line-height: 1.5;
	color: var(--kb-navy);
	text-wrap: pretty;
}
.kb-hero__buttons { display: flex; flex-wrap: wrap; gap: 18px; }
.kb-hero__heart-trail {
	position: absolute;
	right: -64px;
	top: 50%;
	width: 108px;
	color: var(--kb-pink);
	opacity: .85;
	pointer-events: none;
}
.kb-hero__float-heart {
	position: absolute;
	width: 26px;
	pointer-events: none;
	animation: kb-bob 5s ease-in-out infinite;
}
.kb-hero__float-heart--1 { left: -26px; top: 26%; width: 24px; rotate: -16deg; }
.kb-hero__float-heart--2 { right: -14px; bottom: 6%; width: 18px; animation-delay: -2.4s; rotate: 12deg; }

.kb-hero__badge {
	position: relative;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: clamp(180px, 16.4vw, 252px);
	aspect-ratio: 1;
	margin-top: clamp(30px, 4.6vw, 80px);
	margin-right: clamp(0px, 1.2vw, 20px);
	padding: 30px 26px 40px;
	background: url("../images/badge-cloud.svg") no-repeat center / contain;
	text-align: center;
	animation: kb-float 7s ease-in-out infinite;
}
.kb-hero__badge-unicorn {
	position: absolute;
	top: -31%;
	left: 50%;
	width: 56%;
	transform: translateX(-42%) rotate(-4deg);
	filter: drop-shadow(0 4px 6px rgba(19, 32, 74, .12));
}
.kb-hero__badge-text {
	position: relative;
	margin: 22px 0 0;
	font-family: var(--kb-font-heading);
	font-weight: 700;
	font-size: clamp(1.02rem, .7rem + 1.05vw, 1.62rem);
	line-height: 1.1;
	color: var(--kb-navy);
	/* Geborduurd effect: lichte reliëfrand. */
	text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 2px 3px rgba(19, 32, 74, .18);
	max-width: 8.6ch;
	text-wrap: balance;
}
.kb-hero__badge-heart { position: absolute; bottom: 13%; width: 26px; }

.kb-benefits__rainbow {
	position: absolute;
	left: -22px;
	bottom: 10px;
	width: clamp(120px, 11vw, 176px);
	z-index: 2;
	pointer-events: none;
}
.kb-benefits__teddy {
	position: absolute;
	right: -6px;
	bottom: -22px;
	width: clamp(110px, 10vw, 150px);
	z-index: 3;
	pointer-events: none;
}
.kb-hero__clouds {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(96px, 9vw, 146px);
	background: url("../images/clouds-bottom.svg") no-repeat bottom center / 100% 100%;
	z-index: 1;
	pointer-events: none;
}

@keyframes kb-bob {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -6px; }
}

@keyframes kb-float {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-8px) rotate(1deg); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Voordelenbalk ----------------------------------------------------------- */
.kb-benefits {
	position: relative;
	z-index: 2;
	overflow-x: clip;
	margin-top: clamp(-74px, -5vw, -52px);
	padding-bottom: 8px;
	border-bottom: 1px solid var(--kb-line-soft);
}
.kb-benefits__list {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin: 0 auto;
	padding-block: 6px;
	padding-inline: clamp(var(--kb-gutter), 9vw, 150px);
	list-style: none;
}
.kb-benefits__item {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--kb-navy);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
}
.kb-benefits__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff 0%, var(--kb-pink-light) 75%);
	color: var(--kb-pink);
	box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--kb-pink) 18%, #fff);
	transition: transform .3s var(--kb-ease);
}
.kb-benefits__icon .kb-icon { width: 30px; height: 30px; stroke-width: 1.5; }
.kb-benefits__item:hover .kb-benefits__icon { transform: rotate(-8deg) scale(1.06); }

/* Sectietitels ----------------------------------------------------------- */
.kb-section-title {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 16px;
	padding-left: clamp(0px, 1.4vw, 20px);
	font-size: clamp(1.65rem, 1.2rem + 1.3vw, 2.3rem);
	letter-spacing: -.01em;
}
.kb-section-title--burst::after {
	content: "";
	flex: 0 0 auto;
	width: 30px;
	height: 38px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 38' fill='none' stroke='%23E8327B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 15 22 4M5 20h20M6 25l16 10'/%3E%3C/svg%3E") no-repeat center / contain;
}
.kb-section-title__heart { width: 32px; height: auto; transform: rotate(8deg); }

/* Categoriekaarten ------------------------------------------------------- */
.kb-cats { padding-top: clamp(14px, 1.4vw, 20px); padding-bottom: 6px; }
.kb-cats__list {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.kb-cat-card { --cat-bg: var(--kb-cat-1); container-type: inline-size; }
.kb-cat-card--2 { --cat-bg: var(--kb-cat-2); }
.kb-cat-card--3 { --cat-bg: var(--kb-cat-3); }
.kb-cat-card--4 { --cat-bg: var(--kb-cat-4); }
.kb-cat-card--5 { --cat-bg: var(--kb-cat-5); }
.kb-cat-card__link {
	position: relative;
	display: grid;
	grid-template-columns: 44% 1fr;
	align-items: center;
	height: 112px;
	overflow: hidden;
	border-radius: 18px;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 55%),
		var(--cat-bg);
	box-shadow: 0 1px 2px rgba(19, 32, 74, .04), 0 8px 20px -14px rgba(232, 50, 123, .35);
	text-decoration: none;
	transition: transform .3s var(--kb-ease), box-shadow .3s var(--kb-ease);
}
.kb-cat-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
	pointer-events: none;
}
.kb-cat-card__link:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(19, 32, 74, .05), 0 18px 30px -16px rgba(232, 50, 123, .45); }
.kb-cat-card__media { height: 100%; overflow: hidden; }
.kb-cat-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--kb-ease);
	mix-blend-mode: multiply;
}
.kb-cat-card__link:hover .kb-cat-card__img { transform: scale(1.07); }
.kb-cat-card__body { display: grid; gap: 7px; padding: 0 10px 0 8px; }
.kb-cat-card__title {
	font-family: var(--kb-font-heading);
	font-weight: 700;
	/* Schaalt mee met de kaartbreedte zodat namen niet onlogisch afbreken. */
	font-size: clamp(.9rem, 6.5cqi, 1.25rem);
	line-height: 1.1;
	color: var(--kb-pink-dark);
	overflow-wrap: normal;
	hyphens: manual;
}
.kb-cat-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: clamp(.72rem, 4.6cqi, .86rem);
	font-weight: 500;
	color: var(--kb-navy);
	white-space: nowrap;
}
.kb-cat-card__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--kb-pink);
	color: #fff;
	transition: transform .25s var(--kb-ease);
}
.kb-cat-card__arrow .kb-icon { width: 12px; height: 12px; stroke-width: 2.4; }
.kb-cat-card__link:hover .kb-cat-card__arrow { transform: translateX(3px); }

/* Bestsellers + promo --------------------------------------------------- */
.kb-best { padding-top: 18px; }
.kb-best__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(300px, 23vw, 352px);
	gap: 24px;
	align-items: stretch;
}
.kb-best__grid--full { grid-template-columns: 1fr; }
.kb-best__products { display: flex; flex-direction: column; }

/* Productkaart (gedeeld met de shop) */
.kb-products,
.woocommerce ul.products {
	--cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	gap: clamp(12px, 1.3vw, 20px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products.columns-3 { --cols: 3; }
.woocommerce ul.products.columns-2 { --cols: 2; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto !important;
	margin: 0 !important;
	padding: 8px;
	background: #fff;
	border: 1px solid #EEF0F5;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(19, 32, 74, .04), 0 10px 24px -16px rgba(19, 32, 74, .22);
	transition: transform .3s var(--kb-ease), box-shadow .3s var(--kb-ease), border-color .3s;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-5px);
	border-color: color-mix(in srgb, var(--kb-pink) 20%, #fff);
	box-shadow: 0 2px 4px rgba(19, 32, 74, .05), 0 22px 36px -18px rgba(19, 32, 74, .3);
}

.kb-card__media { position: relative; overflow: hidden; border-radius: 11px; background: var(--kb-cream); }
.kb-card__media a { display: block; }
.woocommerce ul.products li.product .kb-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	height: auto;
	margin: 0;
	object-fit: cover;
	transition: transform .6s var(--kb-ease);
}
.woocommerce ul.products li.product:hover .kb-card__media img { transform: scale(1.05); }
.woocommerce ul.products li.product .onsale {
	top: 10px;
	left: 10px;
	right: auto;
	margin: 0;
	min-width: 0;
	min-height: 0;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--kb-pink);
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.5;
}
.kb-card__wishlist {
	position: absolute;
	top: 9px;
	right: 9px;
	z-index: 2;
}
.kb-card__wishlist a,
.kb-card__wishlist button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .94);
	color: var(--kb-navy);
	box-shadow: 0 4px 12px -4px rgba(19, 32, 74, .3);
	font-size: 0;
	cursor: pointer;
	transition: color .2s, background .2s, transform .2s;
}
.kb-card__wishlist button:hover { color: var(--kb-pink); transform: scale(1.08); }
.kb-fav .kb-icon { width: 21px; height: 21px; stroke-width: 1.8; transition: fill .2s; }
.kb-fav[aria-pressed="true"] { color: var(--kb-pink); }
.kb-fav[aria-pressed="true"] .kb-icon { fill: var(--kb-pink); }
.kb-fav.is-pop .kb-icon { animation: kb-pop .4s var(--kb-ease); }
@keyframes kb-pop { 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

.kb-card__body { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 12px 6px 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.kb-card__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(2 * 1.3em);
	margin: 0;
	padding: 0;
	font-family: var(--kb-font-heading);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .005em;
	color: var(--kb-navy);
}
.kb-card__title a { color: inherit; text-decoration: none; }
.kb-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.kb-card__title a:hover { color: var(--kb-pink-dark); }
.kb-card__rating { display: flex; align-items: center; gap: 6px; }
.kb-card__rating .kb-stars { --size: 15px; }
.kb-card__count { font-size: .78rem; color: var(--kb-muted); }
.kb-card__stock { margin: 2px 0 0; font-size: .8rem; font-weight: 600; }
.kb-card__stock--out { color: #B42318; }
.kb-card__stock--low,
.kb-card__stock--backorder { color: #B54708; }
.kb-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px dashed #EEF0F5;
}
.woocommerce ul.products li.product .price {
	margin: 0;
	font-family: var(--kb-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1;
	color: var(--kb-navy);
	font-variant-numeric: tabular-nums;
}
.woocommerce ul.products li.product .price del { font-size: .85rem; font-weight: 500; color: var(--kb-muted); opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--kb-pink-dark); }
.woocommerce ul.products li.product .button.kb-card__cart,
.woocommerce ul.products li.product .kb-card__cart {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 38px;
	margin: 0;
	padding: 0;
	border-radius: 11px;
	background: linear-gradient(180deg, color-mix(in srgb, var(--kb-pink) 85%, #fff), var(--kb-pink) 60%, var(--kb-pink-dark));
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px -6px color-mix(in srgb, var(--kb-pink) 60%, transparent);
	transition: transform .2s var(--kb-ease), box-shadow .2s;
}
.woocommerce ul.products li.product .kb-card__cart:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 18px -6px color-mix(in srgb, var(--kb-pink) 65%, transparent); }
.woocommerce ul.products li.product .kb-card__cart.loading { opacity: .7; }
.woocommerce ul.products li.product .kb-card__cart.loading::after { top: 50%; right: 50%; margin: -.5em -.5em 0 0; }
.woocommerce ul.products li.product .kb-card__cart.loading .kb-icon { opacity: 0; }
.woocommerce ul.products li.product .kb-card__cart.added::after {
	content: "";
	position: absolute;
	top: -6px;
	right: -6px;
	width: 18px;
	height: 18px;
	margin: 0;
	border-radius: 50%;
	background: #2E9E5B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") no-repeat center / 12px;
	font-family: inherit;
}
.woocommerce ul.products li.product .added_to_cart { display: none; }

/* Promo */
.kb-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(26px, 2.4vw, 34px) clamp(22px, 2vw, 32px) clamp(24px, 2.2vw, 30px);
	border-radius: 22px;
	background:
		radial-gradient(90% 60% at 100% 0%, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(165deg, #FFF3F7 0%, #FDE7EF 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 12px 28px -18px rgba(232, 50, 123, .45);
	overflow: hidden;
}
.kb-promo::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1.5px dashed color-mix(in srgb, var(--kb-pink) 28%, #fff);
	border-radius: 16px;
	pointer-events: none;
}
.kb-promo--wide { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px 40px; }
.kb-promo--wide .kb-promo__list { margin: 0; }
.kb-promo__teddy {
	position: absolute;
	top: 14px;
	right: 12px;
	width: clamp(88px, 7vw, 108px);
	transform: rotate(7deg);
	filter: drop-shadow(0 6px 8px rgba(90, 52, 24, .15));
}
.kb-promo--wide .kb-promo__teddy { position: static; transform: none; grid-row: span 2; }
.kb-promo__title {
	position: relative;
	padding-right: 84px;
	margin: 4px 0 22px;
	font-size: clamp(1.5rem, 1.1rem + .9vw, 1.85rem);
	line-height: 1.05;
	transform: rotate(-3deg);
	transform-origin: left;
}
.kb-promo__list { position: relative; display: grid; gap: 11px; margin: 0 0 26px; padding: 0; list-style: none; }
.kb-promo__list li { display: flex; align-items: center; gap: 12px; color: var(--kb-navy); font-size: 1rem; line-height: 1.35; }
.kb-promo__check {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--kb-pink);
	color: #fff;
	box-shadow: 0 3px 8px -3px color-mix(in srgb, var(--kb-pink) 70%, transparent);
}
.kb-promo__check .kb-icon { stroke-width: 3; }
.kb-promo__btn { width: 100%; margin-top: auto; padding-inline: 18px; font-size: 1.02rem; white-space: nowrap; }

/* Paginakop -------------------------------------------------------------- */
.kb-page-header {
	position: relative;
	overflow: hidden;
	padding: clamp(42px, 5vw, 72px) 0 clamp(52px, 6vw, 86px);
	background:
		url("../images/clouds-bottom.svg") no-repeat bottom center / 100% 56px,
		linear-gradient(120deg, var(--kb-pink-light) 0%, var(--kb-cream) 50%, var(--kb-blue-pastel) 100%);
	text-align: center;
}
.kb-page-header--compact { padding-block: clamp(30px, 3.5vw, 48px) clamp(46px, 5vw, 66px); }
.kb-page-header__title { margin: 0 0 10px; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.kb-page-header__intro { max-width: 720px; margin: 0 auto; font-size: 1.075rem; color: var(--kb-navy); }
.kb-page-header__intro p:last-child { margin-bottom: 0; }
.kb-page-header__deco { position: absolute; color: var(--kb-pink); opacity: .7; }
.kb-page-header__deco--heart { left: 8%; top: 34%; transform: rotate(-14deg); }
.kb-page-header__deco--star { right: 9%; top: 26%; color: var(--kb-accent); }
.kb-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 12px;
	font-size: .875rem;
	color: var(--kb-muted);
}
.kb-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a { color: var(--kb-navy); text-decoration: none; }
.kb-breadcrumb a:hover { color: var(--kb-pink); text-decoration: underline; }
.kb-breadcrumb__sep { margin: 0 8px; color: var(--kb-pink); }
.kb-meta { color: var(--kb-muted); font-size: .9rem; }
.kb-meta a { color: inherit; }

/* Inhoud (blokeditor) ---------------------------------------------------- */
.kb-entry > * + * { margin-top: 1.1em; }
.kb-entry > :first-child { margin-top: 0; }
.kb-entry h2 { margin-top: 1.6em; }
.kb-entry h3 { margin-top: 1.4em; }
.kb-entry ul, .kb-entry ol { padding-left: 1.3em; }
.kb-entry li + li { margin-top: .3em; }
.kb-entry img { border-radius: var(--kb-radius); }
.kb-entry blockquote {
	margin-inline: 0;
	padding: 18px 24px;
	border-left: 4px solid var(--kb-pink);
	border-radius: 0 var(--kb-radius) var(--kb-radius) 0;
	background: var(--kb-pink-light);
	font-size: 1.1rem;
	color: var(--kb-navy);
}
.kb-entry table { width: 100%; border-collapse: collapse; }
.kb-entry th, .kb-entry td { padding: 10px 12px; border-bottom: 1px solid var(--kb-line); text-align: left; }
.kb-entry__thumb { margin: 0 0 28px; }
.kb-entry__thumb img { width: 100%; border-radius: var(--kb-radius-lg); }
.alignwide { width: min(1200px, 100%); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* Blokstijlen in het thema-palet */
.wp-block-group.has-background,
.wp-block-columns.has-background { border-radius: var(--kb-radius-lg); padding: clamp(20px, 3vw, 40px); }
.wp-block-separator { border: 0; border-top: 2px dashed color-mix(in srgb, var(--kb-pink) 40%, #fff); }

/* Kaarten */
.kb-card-box {
	padding: clamp(22px, 3vw, 40px);
	border: 1px solid var(--kb-line);
	border-radius: var(--kb-radius-lg);
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
}
.kb-card-box--pink { background: #FDEBEF; border-color: transparent; }

/* Over ons */
.kb-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.kb-about:not(:has(.kb-about__image)) { grid-template-columns: minmax(0, 860px); justify-content: center; }
.kb-about__image { margin: 0; position: sticky; top: calc(var(--kb-header-h) + 24px); }
.kb-about__image img { width: 100%; border-radius: var(--kb-radius-xl); box-shadow: var(--kb-shadow); }

/* Contact */
.kb-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.kb-contact__details { position: relative; overflow: hidden; }
.kb-contact__list { display: grid; gap: 16px; margin: 0 0 90px; padding: 0; list-style: none; }
.kb-contact__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--kb-navy); }
.kb-contact__list a { color: var(--kb-navy); font-weight: 600; }
.kb-contact__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--kb-pink); }
.kb-contact__teddy { position: absolute; right: 16px; bottom: 10px; width: 96px; }

/* Stappen (hoe werkt borduren) */
.kb-steps-page .wp-block-columns { gap: 20px; }
.kb-steps-page .wp-block-column {
	position: relative;
	padding: 28px 22px 22px;
	border-radius: var(--kb-radius-lg);
	background: var(--kb-cream);
	counter-increment: kb-step;
}
.kb-steps-page .wp-block-columns { counter-reset: kb-step; }
.kb-steps-page .wp-block-column.is-style-kb-step::before,
.kb-steps-page .kb-step::before {
	content: counter(kb-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--kb-pink);
	color: #fff;
	font-family: var(--kb-font-heading);
	font-weight: 700;
	font-size: 1.2rem;
}
.kb-entry--wide { max-width: 1100px; margin-inline: auto; }

/* FAQ (blok "Details") */
.kb-faq details,
.kb-entry details {
	margin-top: 12px;
	border: 1px solid var(--kb-line);
	border-radius: var(--kb-radius);
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
	overflow: hidden;
}
.kb-entry details summary {
	position: relative;
	padding: 16px 56px 16px 20px;
	font-family: var(--kb-font-heading);
	font-weight: 600;
	color: var(--kb-navy);
	cursor: pointer;
	list-style: none;
}
.kb-entry details summary::-webkit-details-marker { display: none; }
.kb-entry details summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 50%;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: var(--kb-pink-light);
	color: var(--kb-pink-dark);
	font-size: 1.2rem;
	line-height: 1;
	transition: transform .2s;
}
.kb-entry details[open] summary::after { transform: rotate(45deg); }
.kb-entry details[open] summary { color: var(--kb-pink-dark); }
.kb-entry details > :not(summary) { margin: 0; padding: 0 20px 16px; }
.kb-faq__more { margin-top: 40px; text-align: center; }

/* Tekstpagina met inhoudsopgave */
.kb-textpage { max-width: calc(880px + 2 * var(--kb-gutter)); }
.kb-textpage.has-toc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; max-width: calc(1180px + 2 * var(--kb-gutter)); align-items: start; }
.kb-toc { position: sticky; top: calc(var(--kb-header-h) + 20px); padding: 22px; font-size: .92rem; }
.kb-toc__title { font-size: 1.05rem; margin-bottom: 10px; }
.kb-toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.kb-toc a { color: var(--kb-navy); text-decoration: none; }
.kb-toc a:hover { color: var(--kb-pink); text-decoration: underline; }

/* Blog */
.kb-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kb-post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--kb-line);
	border-radius: var(--kb-radius-lg);
	background: #fff;
	box-shadow: var(--kb-shadow-sm);
	transition: transform .25s var(--kb-ease), box-shadow .25s;
}
.kb-post-card:hover { transform: translateY(-4px); box-shadow: var(--kb-shadow); }
.kb-post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--kb-pink-light); }
.kb-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.kb-post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--kb-pink); }
.kb-post-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.kb-post-card__body .kb-meta { margin-bottom: 6px; }
.kb-post-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.kb-post-card__title a { color: var(--kb-navy); text-decoration: none; }
.kb-post-card__title a:hover { color: var(--kb-pink-dark); }
.kb-post-card__excerpt { color: var(--kb-muted); font-size: .95rem; }
.kb-link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 600; text-decoration: none; }
.kb-link-more:hover { gap: 10px; }

.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--kb-line);
	border-radius: var(--kb-radius);
	background: #fff;
	color: var(--kb-navy);
	font-weight: 600;
	text-decoration: none;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover { background: var(--kb-pink); border-color: var(--kb-pink); color: #fff; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation .nav-links a { display: grid; padding: 14px 18px; border-radius: var(--kb-radius); background: var(--kb-cream); text-decoration: none; color: var(--kb-navy); }
.kb-post-nav__label { font-size: .8rem; color: var(--kb-muted); }
.kb-post-nav__title { font-weight: 600; }
.kb-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--kb-blue-pastel); color: var(--kb-navy); text-decoration: none; font-size: .85rem; }

/* Reacties */
.kb-comments { margin-top: 48px; }
.kb-comments__list { padding: 0; list-style: none; }
.kb-comments__list .comment-body { padding: 18px; margin-bottom: 14px; border-radius: var(--kb-radius); background: var(--kb-cream); }

/* Formulieren (algemeen) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"],
input[type="number"], input[type="search"], input[type="date"], select, textarea {
	max-width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #CFD8E6;
	border-radius: 10px;
	background: #fff;
	color: var(--kb-text);
	font: inherit;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
	outline: none;
	border-color: var(--kb-pink);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--kb-pink) 18%, transparent);
}
label { font-weight: 500; color: var(--kb-navy); }

/* Leeg & 404 ------------------------------------------------------------- */
.kb-empty { max-width: 560px; margin: 0 auto; padding: 40px 0; text-align: center; }
.kb-empty .kb-search { width: 100%; max-width: 420px; margin: 18px auto 0; }
.kb-search-again { max-width: 460px; margin: 0 auto 32px; }
.kb-search-again .kb-search { width: 100%; }

.kb-404 {
	padding: clamp(50px, 7vw, 100px) 0;
	background: linear-gradient(180deg, var(--kb-blue-pastel), #fff 70%);
	text-align: center;
}
.kb-404__inner { max-width: 720px; }
.kb-404__teddy { width: 170px; margin-bottom: -10px; animation: kb-float 6s ease-in-out infinite; }
.kb-404__code {
	margin: 0;
	font-family: var(--kb-font-heading);
	font-weight: 700;
	font-size: clamp(5rem, 3rem + 8vw, 9rem);
	line-height: 1;
	color: var(--kb-pink);
	-webkit-text-stroke: 0;
	text-shadow: 6px 6px 0 var(--kb-pink-light);
}
.kb-404__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.kb-404__text { color: var(--kb-muted); }
.kb-404__search { display: flex; justify-content: center; margin: 22px 0; }
.kb-404__search .kb-search { width: min(420px, 100%); }
.kb-404__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Footer ----------------------------------------------------------------- */
.kb-footer {
	position: relative;
	margin-top: clamp(8px, 1.5vw, 20px);
	padding-top: 56px;
	background: var(--kb-cream);
	color: var(--kb-navy);
}
.kb-footer__wave {
	position: absolute;
	top: -1px;
	left: 0;
	right: 0;
	height: 60px;
	background: url("../images/clouds-bottom.svg") no-repeat top center / 100% 100%;
	transform: scaleY(-1);
}
.kb-newsletter { position: relative; margin-bottom: 40px; }
.kb-newsletter__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px 48px;
	align-items: center;
	padding-block: 28px;
	border-radius: var(--kb-radius-xl);
}
.kb-newsletter__inner {
	padding: clamp(24px, 3vw, 40px) clamp(22px, 4vw, 56px);
	background: var(--kb-pink-light) url("../images/rainbow.svg") no-repeat right -30px bottom -40px / 200px auto;
	max-width: calc(var(--kb-container) - 2 * var(--kb-gutter));
	width: calc(100% - 2 * var(--kb-gutter));
}
.kb-newsletter__title { margin: 0 0 6px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.kb-newsletter__text p { margin: 0; }
.kb-newsletter__fallback { display: flex; gap: 10px; }
.kb-newsletter__fallback input { flex: 1; min-width: 0; border-radius: 999px; padding-inline: 20px; }
.kb-newsletter__fallback .kb-btn { border-radius: 999px; }

.kb-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding-bottom: 40px;
}
.kb-footer__col--brand .custom-logo { height: 70px; width: auto; }
.kb-footer__about { max-width: 360px; margin: 16px 0 18px; color: var(--kb-text); }
.kb-footer__title { margin: 6px 0 16px; font-size: 1.15rem; }
.kb-footer__links,
.kb-footer__contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kb-footer__links a,
.kb-footer__contact a { color: var(--kb-navy); text-decoration: none; }
.kb-footer__links a:hover,
.kb-footer__contact a:hover { color: var(--kb-pink); text-decoration: underline; }
.kb-footer__contact { margin-top: 18px; }
.kb-footer__contact li { display: flex; align-items: center; gap: 8px; }
.kb-footer__contact .kb-icon { color: var(--kb-pink); }
.kb-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.kb-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: var(--kb-navy);
	box-shadow: var(--kb-shadow-sm);
	transition: background .2s, color .2s, transform .2s;
}
.kb-social a:hover { background: var(--kb-pink); color: #fff; transform: translateY(-2px); }
.kb-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--kb-navy) 10%, transparent); font-size: .875rem; }
.kb-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.kb-footer__bottom p { margin: 0; }
.kb-footer__payments { display: inline-flex; align-items: center; gap: 8px; }

/* Widgets */
.kb-widget { margin-bottom: 28px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
	.kb-menu { gap: 22px; }
	.kb-topbar__usps li:nth-child(n+3) { display: none; }
	.kb-header__brand .custom-logo { height: 72px; }
}
@media (max-width: 1359px) {
	.kb-search-toggle { display: inline-flex; }
	.kb-header__search {
		position: absolute;
		top: calc(100% + 6px);
		right: var(--kb-gutter);
		padding: 12px;
		border-radius: var(--kb-radius);
		background: #fff;
		box-shadow: var(--kb-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.kb-header__search.is-open { opacity: 1; visibility: visible; transform: none; }
	.kb-header__search .kb-search { width: 300px; }
	.kb-header__inner { position: relative; }
	.kb-header__actions { position: static; }
}
@media (max-width: 1279px) {
	.kb-best__grid { grid-template-columns: 1fr; }
	.kb-promo { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 32px; align-items: center; }
	.kb-promo__title { grid-column: 1; max-width: 10ch; margin: 0; padding-right: 0; }
	.kb-promo__list { grid-column: 2; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-promo__btn { grid-column: 3; width: auto; }
	.kb-promo__teddy { display: none; }
	.kb-benefits__list { padding-inline: var(--kb-gutter); }
	.kb-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1279px) {
	.kb-benefits__teddy { display: none; }
	.kb-cats__list {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		margin-inline: calc(-1 * var(--kb-gutter));
		padding: 4px var(--kb-gutter) 14px;
		scrollbar-width: none;
	}
	.kb-cats__list::-webkit-scrollbar { display: none; }
	.kb-cat-card { flex: 0 0 min(30%, 290px); scroll-snap-align: start; }
}

@media (max-width: 1199px) {
	/* Hero gestapeld: foto boven, tekst eronder. */
	.kb-hero { min-height: 0; padding: 0 0 104px; background: var(--kb-cream); }
	.kb-hero::before, .kb-hero::after { display: none; }
	.kb-hero__media { position: relative; inset: auto; width: 100%; height: clamp(230px, 46vw, 480px); }
	.kb-hero__media { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
	.kb-hero__img { object-position: 35% 45%; }
	.kb-hero__inner { display: block; margin-top: 6px; }
	.kb-hero__content { padding: 0; max-width: 680px; }
	.kb-hero__title { text-wrap: wrap; }
	.kb-hero__heart-trail,
	.kb-hero__float-heart { display: none; }
	.kb-hero__badge { position: absolute; right: var(--kb-gutter); top: calc(-1 * clamp(230px, 46vw, 480px) + 46px); margin: 0; width: clamp(112px, 17vw, 190px); padding: 18px 14px 26px; }
	.kb-hero__badge-text { font-size: clamp(.74rem, .45rem + 1.15vw, 1.15rem); margin-top: 12px; }
}

@media (max-width: 1023px) {
	:root { --kb-header-h: 68px; }
	.kb-nav,
	.kb-header__search,
	.kb-search-toggle { display: none; }
	.kb-topbar__reviews { margin-right: 0; }
	.kb-topbar__usps li:nth-child(n+2) { display: none; }
	.kb-burger { display: inline-flex; }
	.kb-header__inner { justify-content: space-between; }
	.kb-header__brand { align-self: center; padding: 6px 0; }
	.kb-header__brand::before { display: none; }
	.kb-header__brand .custom-logo { height: 54px; }

	.kb-promo__title { max-width: none; }

	.kb-benefits__list { flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
	.kb-benefits__item { flex: 0 0 calc(33.333% - 28px); }

	.kb-promo { grid-template-columns: 1fr; text-align: left; }
	.kb-promo__title, .kb-promo__list, .kb-promo__btn { grid-column: 1; }
	.kb-promo__btn { width: 100%; }
	.kb-promo--wide { grid-template-columns: 1fr; }
	.kb-promo--wide .kb-promo__teddy { display: none; }

	.kb-about, .kb-contact, .kb-textpage.has-toc { grid-template-columns: 1fr; }
	.kb-about__image, .kb-toc { position: static; }
	.kb-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kb-footer__col--brand { grid-column: 1 / -1; }
	.kb-newsletter__inner { grid-template-columns: 1fr; }
	.woocommerce ul.products, .kb-products { --cols: 2 !important; }
}

@media (max-width: 767px) {
	body { font-size: 15.5px; }
	.kb-topbar { font-size: .8rem; }
	.kb-topbar__inner { justify-content: center; }
	.kb-topbar__usps { padding: 0; }
	.kb-topbar__usps li:nth-child(n+2) { display: none; }
	.kb-topbar__reviews { display: none; }
	.kb-header__actions { gap: 2px; }
	.kb-header__brand .custom-logo { height: 46px; max-width: 58vw; }

	.kb-hero__media { height: clamp(220px, 60vw, 340px); }
	.kb-hero__title { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 2.5rem); }
	.kb-hero__buttons { gap: 12px; }
	.kb-hero__buttons .kb-btn { flex: 1 1 200px; }
	.kb-hero__badge { top: calc(-1 * clamp(220px, 60vw, 340px) + 34px); right: 10px; width: 104px; padding: 14px 10px 18px; }
	.kb-hero__badge-text { font-size: .7rem; margin-top: 8px; }
	.kb-hero__badge-heart { display: none; }
	.kb-benefits__teddy { width: 72px; right: -6px; bottom: -14px; }
	.kb-benefits__rainbow { width: 80px; left: -26px; }

	.kb-benefits { margin-top: -50px; }
	.kb-benefits__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
	.kb-benefits__item { gap: 10px; font-size: .9rem; }
	.kb-benefits__item:last-child { grid-column: 1 / -1; justify-self: center; }
	.kb-benefits__icon { width: 42px; height: 42px; }
	.kb-benefits__icon .kb-icon { width: 24px; height: 24px; }

	.kb-cat-card { flex: 0 0 72%; max-width: 290px; }

	.woocommerce ul.products, .kb-products { gap: 10px; }
	.woocommerce ul.products li.product .price { font-size: 1.05rem; }
	.woocommerce ul.products li.product .kb-card__cart { width: 40px; height: 32px; }
	.kb-card__title { font-size: .9rem; }

	.kb-promo__list { grid-template-columns: 1fr; }
	.kb-post-grid { grid-template-columns: 1fr; }
	.kb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kb-newsletter__fallback { flex-direction: column; }
	.kb-page-header__deco { display: none; }
}

@media (max-width: 400px) {
	.kb-header__actions > a.kb-header__icon:not(.kb-header__cart) { display: none; }
	.kb-header__brand .custom-logo { max-width: 52vw; }
	.kb-footer__grid { grid-template-columns: 1fr; }
	.woocommerce ul.products li.product .kb-card__footer { flex-wrap: wrap; }
}
