/**
 * Coestr Portraits — configurator (galerij + accordeon-stappen), productpagina en productkaart.
 * Kleuren/fonts/rondingen via CSS-variabelen; het thema overschrijft ze (coestr-theme/style.css).
 * Standaardwaarden = variant "Zacht".
 *
 * Let op: WooCommerce/het thema zetten `img { height: auto }`. Beelden die een vak moeten vullen
 * krijgen daarom width/height met !important (gegroepeerde regel hieronder).
 */
.kp, .kp-how, .kp-scene {
	--kp-bg: #FBF1EC;
	--kp-surface: #FFFFFF;
	--kp-stage: #F6E6DF;
	--kp-ink: #3B2A33;
	--kp-muted: #6B5862;
	--kp-line: #F1DDD5;
	--kp-line-strong: #EBDAD3;
	--kp-accent: #7A3E62;
	--kp-accent-soft: #F6E3EC;
	--kp-on-accent: #FFFFFF;
	--kp-buy: #3B2A33;
	--kp-ok: #2E7D4F;
	--kp-ok-soft: #E3F1E8;
	--kp-error: #B3261E;
	--kp-paint-1: #F2A88E;
	--kp-paint-2: #9CC3B2;
	--kp-radius: 28px;
	--kp-radius-sm: 18px;
	--kp-btn-radius: 999px;
	--kp-font-head: 'DM Serif Display', Georgia, serif;
	--kp-font-body: Nunito, system-ui, sans-serif;
	--kp-shadow: 0 10px 30px rgba(122, 62, 98, .08);
}
.kp {
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: var(--kp-ink);
	font-family: var(--kp-font-body);
}
.kp *, .kp *::before, .kp *::after { box-sizing: border-box; }
.kp [hidden] { display: none !important; }
.kp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Beelden die hun vak volledig vullen (tegen `img { height: auto }` van thema/WooCommerce) */
.kp-wall-bg, .kp-gallery-img, .kp-scene-bg, .kp-scene-img, .kp-how-portrait img, .kp-thumb img, .kp-thumb-frame img, .kp-style-img img, .kp-photo img, .kp-result-img img,
.kp-phone img {
	display: block; width: 100% !important; height: 100% !important; max-width: none !important; aspect-ratio: auto !important;
	margin: 0 !important; border-radius: 0 !important; pointer-events: none;
}

/* Beeldbeveiliging: niet selecteren/slepen/lang-drukken (.kp-cart-thumb: zie cards.css) */
.kp-protect img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* Gedeelde stukken: gebogen pijl, smartphone, eiken kader */
.kp-arrow { position: absolute; color: #8B6A4F; opacity: .75; pointer-events: none; filter: drop-shadow(0 1px 0 rgba(255,255,255,.6)); }
.kp-arrow svg { display: block; width: 100%; height: auto; }
.kp-phone { position: absolute; z-index: 2; right: 5%; bottom: 4%; width: 22%; aspect-ratio: 9 / 18.5; padding: 1.1cqw; background: #1D1B1C; border-radius: 3.6cqw; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.28), 0 .4cqw .8cqw rgba(0,0,0,.2); transform: rotate(-6deg); box-sizing: border-box; }
.kp-phone::before { content: ''; position: absolute; z-index: 1; top: 2cqw; left: 50%; transform: translateX(-50%); width: 28%; height: 1.2cqw; background: #1D1B1C; border-radius: 99px; }
.kp-phone-screen { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 2.6cqw; background: #333; }
.kp-phone img { object-fit: cover !important; }

/* ---------- Galerij (staand 3:4; galerij + thumbnails nooit hoger dan het scherm) ---------- */
.kp-gallery { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: min(560px, calc((100vh - 120px) * .75)); margin: 0 auto; }
@supports (height: 100dvh) { .kp-gallery { max-width: min(560px, calc((100dvh - 120px) * .75)); } }
.kp-gallery-main { position: relative; aspect-ratio: 3 / 4; container-type: size; border-radius: var(--kp-radius); overflow: hidden; background: var(--kp-stage); box-shadow: var(--kp-shadow); user-select: none; -webkit-user-select: none; }

/* Achtergrond: muurfoto, effen muur met plint, of (zonder muur) een licht verloop */
.kp-wall { position: absolute; inset: 0; background: linear-gradient(180deg, #F1EAE3 0%, #EAE0D7 80%, #DDD0C3 80%, #D2C2B3 100%); }
.kp-wall::after { content: ''; position: absolute; left: 0; right: 0; top: 80%; height: 1.2%; background: #F7F2EC; box-shadow: 0 .4cqh .8cqh rgba(0,0,0,.08); }
.kp-gallery-main.has-wall-photo .kp-wall::after, .kp-gallery-main[data-view="plain"] .kp-wall::after { display: none; }
.kp-gallery-main[data-view="plain"] .kp-wall { background: linear-gradient(165deg, #FAF6F1 0%, #F1E8DF 55%, #E6D9CC 100%); }
.kp-wall-bg { position: absolute; inset: 0; object-fit: cover; object-position: 50% 50%; }

/* Kader: --r = breedte/hoogte van het beeld, --x/--y = midden in %, --h = hoogte in % van de galerij (JS) */
.kp-artframe { --r: .75; --x: 50; --y: 50; --h: 92; position: absolute; z-index: 2; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); aspect-ratio: var(--r); height: min(calc(var(--h) * 1cqh), calc(88cqw / var(--r))); box-sizing: border-box; transition: height .3s; }
.kp-artframe { --sx: 1; --sy: .8; --la: 100deg; --ls: .3; --sh: .45; }
.kp-artframe[data-frame="black"], .kp-artframe[data-frame="white"], .kp-artframe[data-frame="oak"] { background: #fff; border: max(3px, 1cqw) solid #2A2421; }
.kp-artframe[data-frame="white"] { border-color: #F6F3EE; }
.kp-artframe[data-frame="oak"] { border-color: #C29A6C #A97D51 #9C7148 #B58A5E; }
/* Realistische schaduw: contactschaduw + zachte slagschaduw, weg van het licht; dunne lichtrand aan de lichtkant. */
.kp-artframe {
	box-shadow:
		calc(var(--sx) * -.12cqh) calc(var(--sy) * -.12cqh) 0 rgba(255,255,255,calc(.35 * var(--ls))),
		calc(var(--sx) * .35cqh) calc(var(--sy) * .5cqh) .6cqh rgba(0,0,0,calc(.45 * var(--sh))),
		calc(var(--sx) * 1.6cqh) calc(var(--sy) * 2.2cqh) 3.4cqh rgba(0,0,0,calc(.3 * var(--sh))),
		calc(var(--sx) * 3.6cqh) calc(var(--sy) * 5cqh) 9cqh rgba(0,0,0,calc(.17 * var(--sh)));
}
.kp-artframe[data-frame="none"] {
	box-shadow:
		calc(var(--sx) * .2cqh) calc(var(--sy) * .3cqh) .4cqh rgba(0,0,0,calc(.3 * var(--sh))),
		calc(var(--sx) * 1.2cqh) calc(var(--sy) * 1.6cqh) 2.6cqh rgba(0,0,0,calc(.18 * var(--sh)));
}
/* Schaduw van de lijst op het papier + lichte kant (normaal, boven het beeld) */
.kp-artframe::before { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(var(--la), rgba(255,250,240,calc(.22 * var(--ls))) 0%, rgba(255,250,240,0) 35%); }
.kp-artframe:not([data-frame="none"])::before {
	background:
		linear-gradient(118deg, rgba(255,255,255,0) 32%, rgba(255,255,255,calc(.16 * var(--ls))) 40%, rgba(255,255,255,0) 49%),
		linear-gradient(var(--la), rgba(255,250,240,calc(.22 * var(--ls))) 0%, rgba(255,250,240,0) 35%);
	box-shadow: inset calc(var(--sx) * .45cqh) calc(var(--sy) * .55cqh) .9cqh rgba(0,0,0,calc(.32 * var(--sh))), inset 0 0 .25cqh rgba(0,0,0,.2); }
/* Lichtval: aan de kant weg van het licht wordt het papier warm-grijs (multiply: werkt ook op wit papier). */
.kp-artframe::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: multiply;
	background: linear-gradient(var(--la), rgba(255,255,255,0) 15%, rgba(120,98,76,calc(.28 * var(--ls))) 70%, rgba(92,72,54,calc(.5 * var(--ls))) 100%); }
/* Een print aan de muur is nooit zo helder wit als een scherm */
.kp-gallery-main[data-view="wall"] .kp-gallery-img, .kp-scene .kp-scene-img { filter: brightness(.96) saturate(.95); }
.kp-gallery-img { object-fit: contain; }
.kp-gallery-main[data-view="wall"] .kp-gallery-img, .kp-artframe[data-frame="oak"] .kp-gallery-img { object-fit: cover; }

/* Lagen boven het beeld */
.kp-shield { position: absolute; inset: 0; z-index: 1; }
.kp-textlayer { position: absolute; z-index: 3; touch-action: none; }
.kp-textlayer.is-dragging { cursor: grabbing !important; }
.kp-gallery-main .kp-phone { z-index: 4; width: 18%; right: 4%; bottom: 3%; }
.kp-gallery-main .kp-arrow { z-index: 4; right: 3%; bottom: 25%; width: 17%; }
.kp-gallery-badge { position: absolute; z-index: 4; top: 16px; left: 16px; background: var(--kp-surface); color: var(--kp-accent); border-radius: 99px; padding: 5px 14px; font-weight: 700; font-size: 13px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.kp-gallery-nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--kp-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.kp-gallery-nav--prev { left: 14px; }
.kp-gallery-nav--next { right: 14px; }

/* Thumbnails (muur-thumbnails: 3:4 zoals de galerij, zodat de kaderpositie klopt) */
.kp-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.kp-thumb { flex: none; width: 72px; height: 72px; padding: 4px; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; opacity: .8; }
.kp-thumb img { object-fit: contain; }
.kp-thumb.is-active { border-color: var(--kp-accent); opacity: 1; }
.kp-thumb.is-wall { position: relative; width: 55px; padding: 0; container-type: size; }
.kp-thumb-wall { position: absolute; inset: 0; background: linear-gradient(180deg, #F1EAE3 0%, #EAE0D7 80%, #D2C2B3 80%) center / cover no-repeat; }
.kp-thumb-frame { --r: .75; position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); transform: translate(-50%, -50%); aspect-ratio: var(--r); height: min(calc(var(--h) * 1cqh), calc(88cqw / var(--r))); box-sizing: border-box; background: #fff; }
.kp-thumb-frame { box-shadow: calc(var(--sx, 1) * 1px) calc(var(--sy, .8) * 2px) 3px rgba(0,0,0,calc(.35 * var(--sh, .45))); }
.kp-thumb-frame[data-frame="black"] { border: 2px solid #2A2421; }
.kp-thumb-frame[data-frame="white"] { border: 2px solid #F6F3EE; }
.kp-thumb-frame[data-frame="oak"] { border: 2px solid #B58A5E; }
.kp-thumb-frame img { object-fit: cover; }

/* Wacht-animatie: penseel */
.kp-painting { position: absolute; z-index: 5; inset: 0; background: color-mix(in srgb, var(--kp-stage) 90%, transparent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 24px; }
.kp-painting .kp-brush-svg { width: 200px; height: auto; }
.kp-painting-title { margin: 8px 0 0; font: 400 26px var(--kp-font-head); }
.kp-painting-sub { margin: 0; color: var(--kp-muted); }
.kp-brush-canvas { fill: #fff; stroke: var(--kp-line-strong); stroke-width: 2; }
.kp-brush-stroke { fill: none; stroke: var(--kp-paint-1); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; animation: kp-paint 2.6s ease-in-out infinite alternate; }
.kp-brush-stroke--2 { stroke: var(--kp-paint-2); stroke-width: 6; animation-delay: .9s; opacity: .85; }
.kp-brush { transform-box: view-box; transform-origin: 80px 55px; animation: kp-brush 2.6s ease-in-out infinite; }
.kp-brush-handle { fill: #C9A27E; }
.kp-brush-tip { fill: var(--kp-accent); }
@keyframes kp-paint { to { stroke-dashoffset: 0; } }
@keyframes kp-brush { 0%, 100% { transform: translate(-42px, 14px) rotate(-22deg); } 50% { transform: translate(40px, -8px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .kp-brush, .kp-brush-stroke { animation-duration: 8s; } }

/* Rechterkolom (desktop) / onder de galerij (tablet, mobiel) */
.kp-flow { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Desktop: galerij links, zo groot als het scherm toelaat en altijd in beeld (sticky); thumbnails verticaal;
   stappen rechts. De configurator vult de volle breedte van de pagina (zelfde breedte als de menubalk). */
@media (min-width: 960px) {
	.kp[data-kp] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 400px); column-gap: 48px; align-items: start; max-width: none; }
	.kp[data-kp] .kp-gallery { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 20px); flex-direction: row-reverse; justify-content: center; align-items: flex-start; gap: 12px; max-width: none; }
	.kp[data-kp] .kp-gallery-main { flex: 0 1 auto; width: calc((100vh - 60px - var(--wp-admin--admin-bar--height, 0px)) * .75); max-width: calc(100% - 84px); }
	.kp[data-kp] .kp-gallery-thumbs { flex: none; flex-direction: column; width: 72px; max-height: calc(100vh - 60px - var(--wp-admin--admin-bar--height, 0px)); overflow-x: hidden; overflow-y: auto; }
	@supports (height: 100dvh) {
		.kp[data-kp] .kp-gallery-main { width: calc((100dvh - 60px - var(--wp-admin--admin-bar--height, 0px)) * .75); }
		.kp[data-kp] .kp-gallery-thumbs { max-height: calc(100dvh - 60px - var(--wp-admin--admin-bar--height, 0px)); }
	}
	.kp[data-kp] .kp-gallery-thumbs:empty { display: none; }
	.kp[data-kp] .kp-gallery-thumbs:empty + .kp-gallery-main, .kp[data-kp] .kp-gallery-main:only-child { max-width: 100%; }
	.kp[data-kp] .kp-thumb.is-wall { width: 72px; height: 96px; }
	.kp-step { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 20px); }
	.kp-step.is-open .kp-step-title { font-size: 26px; }
}

/* ---------- Voortgang ---------- */
.kp-progressbar { display: flex; align-items: center; gap: 12px; margin: 6px 0 2px; }
.kp-progressbar-track { flex: 1; height: 10px; background: var(--kp-line); border-radius: 99px; overflow: hidden; }
.kp-progressbar-fill { height: 100%; width: 0; background: var(--kp-accent); border-radius: 99px; transition: width .4s; }
.kp-progressbar-label { font-weight: 800; font-size: 14px; color: var(--kp-accent); white-space: nowrap; }

/* ---------- Stappen (accordeon) ---------- */
.kp-step { background: var(--kp-surface); border-radius: var(--kp-radius-sm); box-shadow: var(--kp-shadow); scroll-margin-top: 20px; transition: border-radius .2s; }
.kp-step.is-open { border-radius: var(--kp-radius); }
.kp-step.is-locked { opacity: .55; box-shadow: none; }
.kp-step-head { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 22px; background: none; border: 0; text-align: left; color: var(--kp-ink); font: inherit; cursor: pointer; border-radius: inherit; }
.kp-step-head:disabled { cursor: default; }
.kp-step.is-open .kp-step-head { padding: 26px 28px 8px; cursor: default; }
.kp-step-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--kp-line); color: var(--kp-muted); font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.kp-step.is-open .kp-step-num { background: var(--kp-accent); color: var(--kp-on-accent); }
.kp-step.is-done .kp-step-num { background: var(--kp-ok-soft); color: var(--kp-ok); }
.kp-step-check, .kp-step.is-done .kp-step-n { display: none; }
.kp-step.is-done .kp-step-check { display: inline-flex; }
.kp-step-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kp-step-title { font-weight: 700; font-size: 16px; }
.kp-step.is-open .kp-step-title { font: 400 28px/1.15 var(--kp-font-head); }
.kp-step-summary { font-size: 14px; color: var(--kp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp-step-summary:empty { display: none; }
.kp-step-edit { display: none; font-size: 14px; font-weight: 700; color: var(--kp-accent); }
.kp-step.is-done .kp-step-edit { display: inline; }
.kp-step-body { display: none; padding: 10px 28px 28px; }
.kp-step.is-open .kp-step-body { display: block; animation: kp-in .25s ease-out; }
@keyframes kp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Keuzeknoppen (stijl, oriëntatie, formaat, lettertype) */
.kp-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.kp-style { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--kp-surface); border: 1.5px solid var(--kp-line-strong); border-radius: var(--kp-radius-sm); font: 700 15px var(--kp-font-body); color: var(--kp-ink); cursor: pointer; text-align: center; }
.kp-style-img { display: block; aspect-ratio: 3 / 4; border-radius: calc(var(--kp-radius-sm) - 6px); overflow: hidden; background: var(--kp-stage); }
.kp-style-img img { object-fit: cover; }
.kp-badge { position: absolute; top: 16px; left: 16px; background: #fff; border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.kp-toggle, .kp-formats { display: flex; gap: 10px; flex-wrap: wrap; }
.kp-toggle { margin-bottom: 10px; }
.kp-option { flex: 1 1 140px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--kp-line-strong); border-radius: var(--kp-radius-sm); background: var(--kp-surface); color: var(--kp-ink); font: 700 15px var(--kp-font-body); cursor: pointer; }
.kp-format { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.kp-format-size { font-weight: 700; font-size: 16px; }
.kp-format-name { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--kp-muted); }
.kp-format-name:empty { display: none; }
/* Stap 1: oriëntatie onder de stijlen, met een dun scheidingslijntje */
.kp-substep { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--kp-line); }
.kp-substep-title { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--kp-muted); }
.kp-option[data-kp-orientation] { position: relative; }
.kp-reco { position: absolute; top: -9px; right: 10px; padding: 1px 8px; border-radius: 99px; background: var(--kp-accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 16px; }
/* Formaatstap: poster of canvas */
.kp-materials { margin-bottom: 8px; }
.kp-material { font-size: 16px; }
.kp-material-desc { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--kp-line); font-size: 13px; color: var(--kp-muted); text-align: center; line-height: 1.5; }
.kp-material-desc:empty { display: none; }
.kp-next-row { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.kp-next-row .kp-next { margin-top: 0; flex: 1; }
.kp-next-price { flex: none; font-size: 22px; font-weight: 800; color: var(--kp-ink); white-space: nowrap; }
.kp-next-price:empty { display: none; }
/* Kwaliteitscontrole (altijd inbegrepen) */
.kp-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--kp-accent); border-radius: var(--kp-radius-sm); background: var(--kp-accent-soft); }
.kp-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--kp-accent); opacity: 1; }
.kp-check > span { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--kp-muted); }
.kp-check strong { font-size: 16px; color: var(--kp-ink); }
/* Geruststellingen onder de bestelstap */
.kp-trust { padding: 20px 24px; }
.kp-trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.kp-trust-list li { display: flex; align-items: center; gap: 10px; }
.kp-trust-list svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--kp-accent-soft); color: var(--kp-accent); }
.kp-pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--kp-line); }
.kp-pay img { width: 38px !important; height: 24px !important; object-fit: contain; padding: 2px; border: 1px solid var(--kp-line); border-radius: 4px; background: #fff; }
.kp-guide-link { margin: 12px 0 0; text-align: center; font-size: 14px; }
.kp-modal--guide .kp-modal-box { max-width: 760px; }
.kp-guide-img { display: block; width: 100% !important; height: auto !important; max-width: 100% !important; border-radius: var(--kp-radius-sm); }
@media (min-width: 601px) {
	.kp-modal--guide { align-items: center; padding: 24px; }
	.kp-modal--guide .kp-modal-box { border-radius: 22px; max-height: calc(100vh - 48px); }
}
.kp-style.is-selected, .kp-option.is-selected, .kp-fontbtn.is-selected { border: 2px solid var(--kp-accent); background: var(--kp-accent-soft); }
.kp-style.is-selected { padding: 9.5px; }
.kp-option.is-selected { padding: 9.5px 13.5px; }

/* Foto */
.kp-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px; border: 2px dashed var(--kp-line-strong); border-radius: var(--kp-radius-sm); background: color-mix(in srgb, var(--kp-bg) 45%, #fff); cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.kp-drop:hover, .kp-drop.is-drag { border-color: var(--kp-accent); background: var(--kp-accent-soft); }
.kp-drop-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--kp-accent-soft); color: var(--kp-accent); display: flex; align-items: center; justify-content: center; }
.kp-drop-title { font-weight: 800; font-size: 17px; }
.kp-drop-sub { font-size: 14px; color: var(--kp-muted); }
.kp-photo { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1.5px solid var(--kp-line); border-radius: var(--kp-radius-sm); }
.kp-photo img { flex: none; width: 72px !important; height: 72px !important; object-fit: cover; border-radius: 12px !important; }
.kp-tips { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; font-size: 14px; color: var(--kp-muted); }
.kp-tips li { background: color-mix(in srgb, var(--kp-bg) 60%, #fff); border-radius: 14px; padding: 10px 14px; line-height: 1.45; }
.kp-tips strong { color: var(--kp-ink); }

/* Knoppen & teksten */
.kp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 58px; padding: 0 22px; border: 0; border-radius: var(--kp-btn-radius); font: 800 17px var(--kp-font-body); cursor: pointer; text-decoration: none; transition: transform .1s, opacity .2s; }
.kp-btn:active { transform: translateY(1px); }
.kp-btn:disabled { opacity: .45; cursor: not-allowed; }
.kp-btn--primary { background: var(--kp-accent); color: var(--kp-on-accent); }
.kp-btn--buy, .kp-btn--buy:hover, .kp-btn--buy:visited { background: var(--kp-buy); color: #fff; }
.kp-btn.is-loading { opacity: .7; pointer-events: none; }
.kp-next { margin-top: 18px; }
.kp-link { background: none; border: 0; padding: 0; color: var(--kp-accent); text-decoration: underline; cursor: pointer; font: inherit; font-weight: 700; }
.kp-secondary { display: flex; justify-content: center; gap: 10px; margin-top: 14px; font-size: 15px; color: var(--kp-muted); }
.kp-muted { color: var(--kp-muted); }
.kp-small { font-size: 13px; text-align: center; margin: 14px 0 0; }
.kp-error { margin: 12px 0 0; color: var(--kp-error); font-size: 14px; font-weight: 700; }

/* Resultaat */
.kp-progress { display: flex; align-items: center; gap: 18px; background: color-mix(in srgb, var(--kp-bg) 60%, #fff); border-radius: var(--kp-radius-sm); padding: 14px 18px; font-size: 14px; color: var(--kp-muted); }
.kp-progress strong { color: var(--kp-ink); font-size: 16px; }
.kp-progress .kp-brush-svg { width: 110px; flex: none; }
.kp-ready-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 400 22px var(--kp-font-head); }
.kp-added .kp-ready-title svg { color: var(--kp-ok); }
.kp-added .kp-btn { margin-top: 10px; }
.kp-summary { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 10px 0 16px; padding: 14px 0; border-top: 1px solid var(--kp-line); border-bottom: 1px solid var(--kp-line); font-size: 15px; }
.kp-summary dt, .kp-summary dd { margin: 0; }
.kp-summary dd { text-align: right; }
.kp-summary .kp-total { font-weight: 800; font-size: 17px; }

/* Tekst op het portret (stap 5) */
.kp-textfields { margin-top: 8px; display: flex; flex-direction: column; gap: 14px; }
.kp-textfield { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--kp-line); }
.kp-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--kp-muted); }
.kp-textfield .kp-field input { height: 48px; border: 1.5px solid var(--kp-line-strong); border-radius: 12px; padding: 0 14px; font: 16px var(--kp-font-body); color: var(--kp-ink); width: 100%; }
.kp-fontpick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.kp-fontbtn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border: 1.5px solid var(--kp-line-strong); border-radius: 12px; background: var(--kp-surface); color: var(--kp-ink); cursor: pointer; }
.kp-fontbtn.is-selected { padding: 7.5px 3.5px; }
.kp-fontbtn-aa { font-size: 24px; line-height: 1.1; }
.kp-fontbtn-label { font: 700 11px var(--kp-font-body); color: var(--kp-muted); }
.kp-size { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--kp-muted); }
.kp-size input { flex: 1; accent-color: var(--kp-accent); }
.kp-texthint { text-align: left; margin: 0; }

.kp-textintro { margin: 0 0 4px; }
.kp-textmodal-open { display: none; margin-top: 14px; }
.kp-btn--ghost { background: var(--kp-accent-soft); color: var(--kp-accent); }

/* Oriëntatie-icoontje (staand/liggend rechthoekje) */
.kp-orient { display: inline-block; width: 9px; height: 12px; margin: 0 2px; border: 1.8px solid currentColor; border-radius: 2px; vertical-align: -1px; }
.kp-orient--landscape { width: 12px; height: 9px; vertical-align: 0; }
.kp-option .kp-orient { margin: 0 8px 0 0; }

/* Stap 3 na het schilderen */
.kp-stale { margin: 12px 0 0; }
.kp-done .kp-ready-title { display: block; }
@keyframes kp-up { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
.kp-results { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.kp-result { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 1.5px solid var(--kp-line-strong); border-radius: var(--kp-radius-sm); background: var(--kp-surface); color: var(--kp-ink); font: inherit; text-align: left; cursor: pointer; }
.kp-result.is-selected { border: 2px solid var(--kp-accent); background: var(--kp-accent-soft); padding: 7.5px 15.5px 7.5px 7.5px; }
.kp-result-img { flex: none; width: 54px; height: 72px; overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.kp-result-img img { object-fit: cover; }
.kp-result-txt { display: flex; flex-direction: column; line-height: 1.3; }
.kp-result-label { font-size: 12px; color: var(--kp-muted); }
.kp-result-txt strong { font-size: 15px; }
.kp-result-orient { font-size: 13px; color: var(--kp-muted); }

/* Venster "lettertype en positie" (mobiel) */
html.kp-modal-open { overflow: hidden; }
.kp-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: flex-end; justify-content: center; background: rgba(30, 20, 25, .55); }
.kp-modal-box { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 520px; max-height: 100vh; overflow-y: auto; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--kp-surface); border-radius: 22px 22px 0 0; animation: kp-in .2s ease-out; }
@supports (height: 100dvh) { .kp-modal-box { max-height: 100dvh; } }
.kp-modal-head { display: flex; align-items: center; justify-content: space-between; }
.kp-modal-head h3 { margin: 0; font: 400 20px var(--kp-font-head); }
.kp-modal-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--kp-line); color: var(--kp-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.kp-modal-stage { display: flex; justify-content: center; }
.kp-modal-stage .kp-gallery-main { flex: none; width: calc(min(46vh, 420px) * .75); border-radius: var(--kp-radius-sm); }
@supports (height: 100dvh) { .kp-modal-stage .kp-gallery-main { width: calc(min(46dvh, 420px) * .75); } }
.kp-modal .kp-phone, .kp-modal .kp-arrow, .kp-modal .kp-gallery-nav, .kp-modal .kp-gallery-badge { display: none !important; }
.kp-modal .kp-textfields { margin-top: 0; gap: 8px; }
.kp-modal .kp-textfield { gap: 6px; padding-top: 8px; }
.kp-modal .kp-textfield.is-empty, .kp-modal .kp-field input { display: none; }
.kp-modal .kp-fontpick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.kp-modal .kp-fontbtn { padding: 6px 2px; }
.kp-modal .kp-fontbtn.is-selected { padding: 5.5px 1.5px; }
.kp-modal .kp-fontbtn-aa { font-size: 20px; }
.kp-modal .kp-texthint { order: -1; text-align: center; }

@media (max-width: 600px) {
	.kp-flow { gap: 10px; }
	/* Hoofdbeeld blijft bovenaan in beeld ("plakt"); thumbnails verticaal ernaast */
	.kp { gap: 10px; }
	.kp-gallery { position: sticky; top: 0; z-index: 30; flex-direction: row; justify-content: center; gap: 8px; max-width: none; padding: 8px 0; background: var(--kp-bg); box-shadow: 0 0 0 100vmax var(--kp-bg); clip-path: inset(0 -100vmax); }
	.kp-gallery-main { flex: none; width: calc(min(44vh, 460px) * .75); border-radius: var(--kp-radius-sm); }
	.kp-gallery-thumbs { flex-direction: column; flex: none; width: 50px; max-height: min(44vh, 460px); overflow-x: hidden; overflow-y: auto; gap: 6px; }
	@supports (height: 100dvh) {
		.kp-gallery-main { width: calc(min(44dvh, 460px) * .75); }
		.kp-gallery-thumbs { max-height: min(44dvh, 460px); }
	}
	.kp-gallery-thumbs:empty { display: none; }
	.kp-thumb { width: 46px; height: 46px; padding: 3px; border-radius: 10px; }
	.kp-thumb.is-wall { width: 46px; height: 61px; }
	.kp-gallery-nav { width: 30px; height: 30px; }
	.kp-gallery-nav svg { width: 16px; height: 16px; }
	.kp-gallery-nav--prev { left: 6px; }
	.kp-gallery-nav--next { right: 6px; }
	.kp-gallery-badge { top: 8px; left: 8px; padding: 3px 10px; font-size: 11px; }
	.kp-painting { padding: 10px; gap: 2px; }
	.kp-painting .kp-brush-svg { width: 110px; }
	.kp-painting-title { font-size: 18px; }
	.kp-painting-sub { font-size: 12px; }
	.kp-step { scroll-margin-top: calc(min(44vh, 460px) + 26px); }
	@supports (height: 100dvh) { .kp-step { scroll-margin-top: calc(min(44dvh, 460px) + 26px); } }

	/* Compactere stappen */
	.kp-progressbar { margin: 0; }
	.kp-step-head { padding: 12px 14px; gap: 10px; }
	.kp-step.is-open .kp-step-head { padding: 14px 16px 4px; }
	.kp-step.is-open .kp-step-title { font-size: 20px; }
	.kp-step-body { padding: 6px 16px 16px; }
	.kp-btn { min-height: 50px; font-size: 16px; }
	.kp-next { margin-top: 14px; }

	/* Stap 1: stijlknoppen 20% kleiner */
	.kp-styles { grid-template-columns: repeat(2, calc((100% - 10px) / 2 * .8)); gap: 10px; }
	.kp-style { padding: 8px; gap: 6px; font-size: 13px; }
	.kp-style.is-selected { padding: 7.5px; }
	.kp-badge { top: 12px; left: 12px; font-size: 11px; }

	/* Stap 2: staand/liggend naast elkaar, formaten twee per rij */
	.kp-toggle, .kp-formats { gap: 8px; }
	.kp-toggle { flex-wrap: nowrap; margin-bottom: 8px; }
	.kp-option { flex: 1 1 calc(50% - 4px); min-width: 0; min-height: 44px; padding: 8px 10px; font-size: 14px; }
	.kp-option.is-selected { padding: 7.5px 9.5px; }
	.kp-format-size { font-size: 15px; }
	.kp-trust { padding: 16px; }
	.kp-trust-list { font-size: 14px; gap: 8px; }
	.kp-next-price { font-size: 19px; }
	.kp-substep { margin-top: 14px; padding-top: 12px; }

	/* Stap 3: compacte upload, tips als chips (tik = uitleg) */
	.kp-drop { padding: 16px; gap: 4px; }
	.kp-drop-icon { width: 44px; height: 44px; }
	.kp-drop-sub { font-size: 12px; }
	.kp-tips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: 13px; }
	.kp-tips li { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; cursor: pointer; line-height: 1.2; }
	.kp-tips li::after { content: 'i'; display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1.3px solid currentColor; border-radius: 50%; font: italic 700 10px Georgia, serif; opacity: .7; }
	.kp-tip-sep, .kp-tip-more { display: none; }
	.kp-tips li.is-open .kp-tip-more { display: block; position: absolute; z-index: 6; top: calc(100% + 6px); left: 0; width: max-content; max-width: 210px; padding: 8px 11px; background: var(--kp-ink); color: #fff; border-radius: 10px; font-size: 13px; line-height: 1.35; box-shadow: 0 6px 16px rgba(0,0,0,.18); pointer-events: none; }
	.kp-tips li:last-child.is-open .kp-tip-more { left: auto; right: 0; }
	.kp-result-img { width: 45px; height: 60px; }
	.kp-ready-title { font-size: 19px; }

	/* Stap 4: enkel de tekstvelden; lettertype en grootte in het venster */
	.kp-step .kp-textintro, .kp-step .kp-texthint, .kp-step .kp-fontpick, .kp-step .kp-size { display: none; }
	.kp-step .kp-textfields { margin-top: 0; gap: 8px; }
	.kp-step .kp-textfield { padding-top: 8px; }
	.kp-textfield .kp-field input { height: 44px; }
	.kp-textmodal-open { display: flex; }
	.kp-modal .kp-size { display: flex; }
}

/* ---------- Mijn portretten ---------- */
.kp-mine { max-width: 960px; display: flex; flex-direction: column; gap: 18px; }
.kp-mine-account { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 22px; background: var(--kp-accent-soft); border-radius: var(--kp-radius-sm); }
.kp-mine-account > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 2px; }
.kp-mine-account strong { font: 400 22px var(--kp-font-head); }
.kp-mine-account span { color: var(--kp-muted); font-size: 14px; }
.kp-mine-account .kp-btn { width: auto; min-height: 50px; }
.kp-mine-account .kp-link { font-size: 14px; }
.kp-mine-note, .kp-mine-intro { margin: 0; color: var(--kp-muted); }
.kp-mine-empty { padding: 40px 20px; text-align: center; background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); }
.kp-mine-empty .kp-btn { width: auto; }
.kp-mine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.kp-mine-card { display: flex; gap: 18px; padding: 16px; background: var(--kp-surface); border-radius: var(--kp-radius-sm); box-shadow: var(--kp-shadow); }
.kp-mine-img { flex: none; align-self: flex-start; display: flex; align-items: center; justify-content: center; width: 140px; aspect-ratio: 3 / 4; container-type: size; border-radius: 12px; background: linear-gradient(165deg, #FAF6F1 0%, #F1E8DF 55%, #E6D9CC 100%); }
.kp-mine-frame { --r: .75; display: block; aspect-ratio: var(--r); height: min(86cqh, calc(84cqw / var(--r))); box-sizing: border-box; border: max(3px, 2.4cqw) solid #B58A5E; border-color: #C29A6C #A97D51 #9C7148 #B58A5E; background: #fff; box-shadow: 0 2cqw 4cqw rgba(60,40,20,.18); }
.kp-mine-frame img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; margin: 0 !important; }
.kp-mine-body { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kp-mine-badge { align-self: flex-start; padding: 2px 10px; border-radius: 99px; background: var(--kp-ok-soft); color: var(--kp-ok); font-size: 12px; font-weight: 700; }
.kp-mine-style { margin: 0; font: 400 21px var(--kp-font-head); }
.kp-mine-meta, .kp-mine-text, .kp-mine-date { margin: 0; font-size: 14px; color: var(--kp-muted); }
.kp-mine-text { color: var(--kp-ink); }
.kp-mine-date { font-size: 13px; }
.kp-mine-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.kp-mine-actions .kp-btn { flex: 1 1 150px; width: auto; min-height: 44px; padding: 0 14px; font-size: 15px; }
.kp-mine-added { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--kp-ok); }
.kp-mine-added a { color: var(--kp-accent); }
@media (max-width: 600px) {
	.kp-mine-card { gap: 12px; padding: 12px; }
	.kp-mine-img { width: 96px; }
	.kp-mine-style { font-size: 18px; }
	.kp-mine-account { padding: 14px 16px; }
	.kp-mine-account .kp-btn { flex: 1 1 100%; }
}

/* ---------- Portret aan de muur (homepage, "zo werkt het") ---------- */
.kp-scene { position: relative; overflow: hidden; aspect-ratio: 3 / 4; container-type: size; border-radius: var(--kp-radius); background: linear-gradient(165deg, #FAF6F1 0%, #F1E8DF 55%, #E6D9CC 100%); }
.kp-scene-inner { position: absolute; inset: 0; container-type: size; }
.kp-scene-bg { position: absolute; inset: 0; object-fit: cover; }
.kp-scene-img { object-fit: cover; }
.kp-scene .kp-artframe { transition: none; }
/* Uitsnede: de muur (3:4) wordt zo verschoven dat het kader in het midden staat en ingezoomd (--z). */
.kp-scene--how { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.kp-scene--how .kp-scene-inner { inset: auto; width: 100cqw; aspect-ratio: 3 / 4; left: calc(50cqw - var(--x) * 1cqw); top: calc(50cqh - var(--y) * 1.3333cqw); transform: scale(var(--z, 1)); transform-origin: calc(var(--x) * 1%) calc(var(--y) * 1%); }
.kp-scene--hero { width: 100%; box-shadow: var(--kp-shadow); }

/* ---------- Zo werkt het ---------- */
.kp-how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.kp-how-steps li { position: relative; }
.kp-how-steps h3 { margin: 12px 0 6px; font-size: 20px; }
.kp-how-steps p { margin: 0; color: var(--kp-muted, #6B5862); }
.kp-how-visual { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; container-type: size; margin-bottom: 14px; border-radius: var(--kp-radius-sm, 14px); background: linear-gradient(165deg, #FAF6F1 0%, #F1E8DF 55%, #E6D9CC 100%); }
.kp-how-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--kp-accent, #7A3E62); color: #fff; font-weight: 700; font-size: 15px; }
.kp-how-rect { position: absolute; box-sizing: border-box; border: max(3px, 1.4cqh) solid; border-radius: 1.6cqh; background: #fff; box-shadow: 0 2cqh 5cqh rgba(60,40,20,.14); }
.kp-how-rect--land { left: 20cqw; top: 30cqh; height: 44cqh; aspect-ratio: 4 / 3; border-color: #C29A6C; }
.kp-how-rect--port { left: 47cqw; top: 16cqh; height: 62cqh; aspect-ratio: 3 / 4; border-color: var(--kp-accent, #7A3E62); background: var(--kp-accent-soft, #F7E6EE); }
.kp-how-phone { position: relative; height: 80cqh; aspect-ratio: 9 / 18.5; }
.kp-how-phone .kp-card-phone { position: absolute; inset: 0; right: auto; bottom: auto; width: 100%; height: 100%; padding: 2cqh; border-radius: 6cqh; transform: rotate(-6deg); }
.kp-how-phone .kp-card-phone::before { top: 3.2cqh; height: 1.8cqh; }
.kp-how-phone .kp-card-phone-screen { border-radius: 4.4cqh; }
.kp-how-up { position: absolute; top: 4%; left: calc(100% + 4cqh); display: flex; align-items: center; justify-content: center; width: 20cqh; height: 20cqh; border-radius: 50%; background: var(--kp-accent, #7A3E62); color: #fff; box-shadow: 0 1.5cqh 3cqh rgba(0,0,0,.18); animation: kp-up 1.6s ease-in-out infinite; }
.kp-how-up svg { width: 55%; height: 55%; }
.kp-how-portrait { --r: .75; display: block; height: 82cqh; aspect-ratio: var(--r); box-sizing: border-box; border: max(3px, 1.8cqh) solid #B58A5E; border-color: #C29A6C #A97D51 #9C7148 #B58A5E; background: #fff; box-shadow: 0 2.4cqh 5cqh rgba(60,40,20,.2); }
.kp-how-cta { margin: 36px 0 0; text-align: center; }
.kp-how-cta .kp-btn { display: inline-flex; width: auto; padding: 0 32px; text-decoration: none; }

/* ---------- Reviews ---------- */
.kp-stars { --p: 100%; display: inline-block; font-size: 18px; letter-spacing: 2px; line-height: 1; background: linear-gradient(90deg, #E2A33B var(--p), #E6DCD6 var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kp-product-rating { margin: 6px 0 0; }
.kp-product-rating a { color: inherit; text-decoration: none; font-size: 15px; }
.kp-reviews { max-width: 1040px; margin: 56px auto 0; }
.kp-reviews h2 { margin: 0 0 6px; text-align: center; }
.kp-reviews-avg { margin: 0 0 22px; text-align: center; color: var(--kp-muted, #6B5862); }
.kp-reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.kp-review { margin: 0; padding: 18px 20px; background: #fff; border-radius: 18px; box-shadow: 0 2px 14px rgba(59,42,51,.06); }
.kp-review p { margin: 8px 0; }
.kp-review footer { font-size: 13px; color: var(--kp-muted, #6B5862); }
.kp-review.has-photo { padding-top: 0; overflow: hidden; }
.kp-review-photo { display: block; width: calc(100% + 40px) !important; max-width: none !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 -20px 14px; }
.kp-cust-review-photo { width: 96px !important; height: 96px !important; object-fit: cover; border-radius: 12px; }
.kp-verified { color: #2E7D4F; font-weight: 700; }

/* ---------- Veelgestelde vragen ---------- */
.kp-faq { max-width: 820px; margin: 56px auto 0; }
.kp-faq h2 { margin: 0 0 16px; text-align: center; }
.kp-faq-item { border-bottom: 1px solid var(--kp-line, #EADCE3); }
.kp-faq-item summary { position: relative; padding: 16px 36px 16px 0; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.kp-faq-item summary::-webkit-details-marker { display: none; }
.kp-faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--kp-accent, #7A3E62); }
.kp-faq-item[open] summary::after { content: '–'; }
.kp-faq-answer { padding: 0 0 16px; color: var(--kp-muted, #6B5862); }
.kp-faq-answer p { margin: 0 0 8px; }

/* ---------- Uitgelichte reviews met foto ---------- */
.kp-featured { max-width: 1180px; margin: 64px auto 0; }
.kp-featured h2 { margin: 0 0 20px; text-align: center; }
.kp-featured-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.kp-featured-item { margin: 0; overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 2px 14px rgba(59,42,51,.06); }
.kp-featured-img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; }
.kp-featured-item figcaption { padding: 14px 18px 18px; }
.kp-featured-item blockquote { margin: 8px 0; font-size: 15px; }
.kp-featured-by { font-size: 13px; color: var(--kp-muted, #6B5862); }

/* ---------- Klantpagina's: goedkeuren en review ---------- */
.kp.kp-customer { max-width: 920px; }
.kp-cust-title { margin: 0 0 4px; }
.kp-cust-msg { margin: 18px 0; padding: 14px 18px; border-radius: var(--kp-radius-sm); background: var(--kp-accent-soft); }
.kp-cust-msg.is-ok { background: var(--kp-ok-soft); color: #1F5134; }
.kp-cust-items { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin: 24px 0; }
.kp-cust-item { margin: 0; flex: 1 1 320px; max-width: 520px; text-align: center; }
.kp-cust-frame { position: relative; box-sizing: border-box; border: 10px solid #B58A5E; border-color: #C29A6C #A97D51 #9C7148 #B58A5E; background: #fff; box-shadow: 0 14px 30px rgba(60,40,20,.18); }
.kp-cust-frame img { display: block; width: 100% !important; height: auto !important; max-width: none !important; }
.kp-cust-frame canvas { position: absolute; inset: 0; pointer-events: none; }
.kp-cust-item figcaption { margin-top: 12px; color: var(--kp-muted); font-size: 15px; }
.kp-cust-form { display: flex; flex-direction: column; gap: 12px; max-width: 560px; margin: 0 auto; }
.kp-cust-form textarea, .kp-cust-form input[type="text"] { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid var(--kp-line-strong); border-radius: var(--kp-radius-sm); font: inherit; }
.kp-cust-changes summary { cursor: pointer; color: var(--kp-accent); font-weight: 700; text-align: center; padding: 8px; }
.kp-cust-changes[open] { display: flex; flex-direction: column; gap: 10px; }
.kp-cust-review { display: flex; gap: 20px; align-items: flex-start; margin: 22px 0; padding: 20px; background: var(--kp-surface); border-radius: var(--kp-radius-sm); box-shadow: var(--kp-shadow); }
.kp-cust-review h2 { margin: 0 0 8px; font-size: 22px; }
.kp-cust-review > div { flex: 1; min-width: 0; }
.kp-cust-review-img { width: 96px !important; height: auto !important; flex: none; border: 5px solid #B58A5E; }
.kp-rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin: 0; padding: 0; border: 0; }
.kp-rate legend { width: 100%; margin-bottom: 4px; font-weight: 700; }
.kp-rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kp-rate label { font-size: 34px; line-height: 1; color: #E6DCD6; cursor: pointer; }
.kp-rate input:checked ~ label, .kp-rate label:hover, .kp-rate label:hover ~ label { color: #E2A33B; }
.kp-rate input:focus-visible + label { outline: 2px solid var(--kp-accent); border-radius: 4px; }
@media (max-width: 600px) { .kp-cust-review { flex-direction: column; } }

/* ---------- Productpagina (portretproduct) ---------- */
.kp-product-header { max-width: 760px; margin: 0 auto 20px; text-align: center; }
.kp-product-header .product_title { margin: 0 0 8px; }
.kp-product-intro { color: var(--kp-muted, #6B5862); font-size: 17px; }
.kp-product-intro p { margin: 0 0 6px; }
.kp-product-from { margin: 6px 0 0; font-weight: 800; color: var(--kp-accent, #7A3E62); }
.kp-product-description { max-width: 760px; margin: 48px auto 0; }
@media (max-width: 600px) {
	.kp-product-header { margin-bottom: 12px; }
	.kp-product-header .product_title { margin-bottom: 4px; }
	.kp-product-intro { font-size: 15px; }
}

/* Productkaart in overzichten: zie cards.css (op elke pagina geladen) */
