/*
Theme Name: Fotopuzzels
Theme URI: https://foto-puzzels.nl
Author: foto-puzzels.nl
Description: Op maat gemaakt, lichtgewicht thema voor foto-puzzels.nl. Werkt samen met WooCommerce en de plugin "FP Puzzelconfigurator".
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: fotopuzzels
License: GPL-2.0-or-later
*/

/* ---------- Lettertypen (lokaal gehost, geen Google-verzoeken) ---------- */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--fp-ink: #17183A;
	--fp-muted: #50536E;
	--fp-blue: #2350E0;
	--fp-blue-dark: #1739A8;
	--fp-blue-soft: #E9EEFE;
	--fp-line: #ECE6DC;
	--fp-line-strong: #D9D0C2;
	--fp-surface: #FBF5EC;
	--fp-cream: #FFF9F1;
	--fp-placeholder: #F1E9DC;
	--fp-accent: #FFB627;
	/* Speelse puzzelkleuren */
	--fp-coral: #FF6A4D;
	--fp-sun: #FFC53D;
	--fp-mint: #24C29A;
	--fp-sky: #6F9BFF;
	--fp-lilac: #A98BFF;
	--fp-shadow: 0 1px 2px rgba(23, 24, 58, .06), 0 8px 24px -8px rgba(23, 24, 58, .14);
	--fp-shadow-lg: 0 2px 6px rgba(23, 24, 58, .06), 0 28px 60px -18px rgba(23, 24, 58, .30);
	--fp-ok-bg: #E7F5EE;
	--fp-ok: #1F6B45;
	--fp-warn-bg: #FDF1E1;
	--fp-warn: #8A4B0B;
	--fp-bad-bg: #FBEAEA;
	--fp-bad: #9B2C2C;
	--fp-white: #FFFFFF;

	--fp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--fp-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;

	--fp-radius-s: 12px;
	--fp-radius: 20px;
	--fp-radius-l: 28px;
	--fp-wrap: 1200px;
	--fp-gutter: 24px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--fp-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--fp-ink);
	background: var(--fp-white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--fp-blue); }
a:hover { color: var(--fp-blue-dark); }
:focus-visible { outline: 3px solid var(--fp-blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--fp-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.65rem); }
h3 { font-size: 1.3rem; font-family: var(--fp-font); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--fp-white); padding: 10px 16px; border-radius: 8px; }

.fp-wrap { max-width: var(--fp-wrap); margin-inline: auto; padding-inline: var(--fp-gutter); }
.fp-wrap--narrow { max-width: 820px; }
.fp-section { padding-block: clamp(56px, 7vw, 96px); }
.fp-section--surface { background: var(--fp-surface); }
.fp-section__head { margin-bottom: 40px; }
.fp-section__head--center { text-align: center; }
.fp-section__head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.fp-section__head h2 { margin-bottom: 10px; }
.fp-lead { font-size: 1.15rem; color: var(--fp-muted); max-width: 600px; margin: 0; }
.fp-section__head--center .fp-lead { margin-inline: auto; }
.fp-muted { color: var(--fp-muted); }

/* ---------- Knoppen ---------- */
.fp-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wp-element-button, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px;
	font-family: var(--fp-font); font-size: 1rem; font-weight: 600; line-height: 1.2;
	color: var(--fp-white); background: var(--fp-blue);
	border: 1.5px solid var(--fp-blue); border-radius: var(--fp-radius-s);
	text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.fp-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.wp-element-button:hover, .wc-block-components-button:not(.is-link):hover {
	color: var(--fp-white); background: var(--fp-blue-dark); border-color: var(--fp-blue-dark);
}
.fp-btn--lg { min-height: 56px; padding: 16px 30px; font-size: 1.06rem; border-radius: 14px; }
.fp-btn--ghost { background: var(--fp-white); color: var(--fp-ink); border-color: var(--fp-line-strong); }
.fp-btn--ghost:hover { background: var(--fp-surface); color: var(--fp-ink); border-color: var(--fp-line-strong); }
.fp-btn--light { background: var(--fp-white); color: var(--fp-ink); border-color: var(--fp-white); }
.fp-btn--light:hover { background: var(--fp-blue-soft); color: var(--fp-ink); border-color: var(--fp-blue-soft); }
.fp-btn--block { width: 100%; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .fp-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Topbalk & header ---------- */
.fp-topbar { background: var(--fp-ink); color: var(--fp-white); font-size: .875rem; }
.fp-topbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 32px; padding-block: 9px; }
.fp-header { border-bottom: 1px solid var(--fp-line); background: var(--fp-white); position: sticky; top: 0; z-index: 50; }
.admin-bar .fp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fp-header { top: 0; position: relative; } }
.fp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.fp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--fp-ink); text-decoration: none; font-family: var(--fp-display); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.01em; }
.fp-logo:hover { color: var(--fp-ink); }
.fp-logo__tld { color: var(--fp-blue); }
.fp-logo img { max-height: 44px; width: auto; }
.fp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.fp-nav a { color: var(--fp-ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding-block: 8px; display: inline-block; }
.fp-nav a:hover, .fp-nav .current-menu-item > a, .fp-nav .current_page_item > a { color: var(--fp-blue); }
.fp-header__actions { display: flex; align-items: center; gap: 10px; }
.fp-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--fp-radius-s); border: 1px solid var(--fp-line); color: var(--fp-ink); background: var(--fp-white); cursor: pointer; padding: 0; }
.fp-iconbtn:hover { color: var(--fp-blue); }
.fp-cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--fp-accent); color: var(--fp-ink); font-size: .75rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.fp-cart-count:empty { display: none; }
.fp-menu-toggle { display: none; }

@media (max-width: 960px) {
	.fp-menu-toggle { display: inline-flex; }
	.fp-header__cta { display: none; }
	.fp-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--fp-white); border-bottom: 1px solid var(--fp-line); padding: 8px var(--fp-gutter) 20px; }
	.fp-nav.is-open { display: block; }
	.fp-nav ul { flex-direction: column; gap: 0; }
	.fp-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--fp-line); font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.fp-hero { padding-block: clamp(48px, 6vw, 80px) clamp(48px, 6vw, 72px); }
.fp-hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.fp-hero__text { display: flex; flex-direction: column; gap: 22px; }
.fp-hero__text h1 { margin: 0; }
.fp-hero__text .fp-lead { font-size: 1.2rem; }
.fp-pill { align-self: flex-start; background: var(--fp-blue-soft); color: var(--fp-blue-dark); font-weight: 600; font-size: .875rem; padding: 6px 12px; border-radius: 999px; }
.fp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fp-checks { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; font-size: .95rem; color: var(--fp-muted); }
.fp-checks li { display: flex; align-items: center; gap: 8px; }
.fp-checks svg { color: var(--fp-ok); flex: none; }
.fp-hero__media { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--fp-placeholder); }
.fp-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fp-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--fp-muted); background: var(--fp-placeholder); font-size: .95rem; }

/* ---------- USP-balk ---------- */
.fp-usps { background: var(--fp-surface); }
.fp-usps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-block: 26px; list-style: none; margin: 0; }
.fp-usp { display: flex; align-items: center; gap: 14px; }
.fp-usp__icon { flex: none; width: 44px; height: 44px; border-radius: var(--fp-radius-s); background: var(--fp-white); color: var(--fp-blue); display: flex; align-items: center; justify-content: center; }
.fp-usp strong { display: block; }
.fp-usp span { font-size: .875rem; color: var(--fp-muted); }

/* ---------- Stappen ---------- */
.fp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.fp-step { border: 1px solid var(--fp-line); border-radius: var(--fp-radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.fp-step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 999px; background: var(--fp-blue); color: var(--fp-white); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.fp-step h3 { margin: 0; }
.fp-step p { margin: 0; color: var(--fp-muted); }

/* ---------- Formaatkaarten ---------- */
.fp-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.fp-size { border: 1.5px solid var(--fp-line); border-radius: var(--fp-radius); overflow: hidden; display: flex; flex-direction: column; background: var(--fp-white); }
.fp-size.is-popular { border-color: var(--fp-blue); }
.fp-size__media { position: relative; aspect-ratio: 1 / 1; background: var(--fp-placeholder); }
.fp-size__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-badge { position: absolute; top: 12px; left: 12px; background: var(--fp-accent); color: var(--fp-ink); font-weight: 600; font-size: .8rem; padding: 4px 10px; border-radius: 999px; }
.fp-size__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fp-size__title { font-family: var(--fp-display); font-size: 1.35rem; margin: 0; }
.fp-size__meta { font-size: .875rem; color: var(--fp-muted); }
.fp-size__price { font-weight: 700; font-size: 1.2rem; margin: 10px 0 14px; }
.fp-size__body .fp-btn { margin-top: auto; }
.fp-size--link { text-decoration: none; color: var(--fp-ink); }
.fp-size--link:hover { color: var(--fp-ink); border-color: var(--fp-blue); }

/* ---------- Tabel ---------- */
.fp-table-wrap { overflow-x: auto; background: var(--fp-white); border-radius: 16px; }
.fp-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.fp-table th, .fp-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid #EEF1F6; }
.fp-table thead th { border-bottom-color: var(--fp-line); }
.fp-table td { color: var(--fp-muted); }
.fp-table td:first-child, .fp-table td:last-child { color: var(--fp-ink); font-weight: 600; }
.fp-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Kwaliteit ---------- */
.fp-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.fp-split__media { margin: 0; aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: #E1E7F0; }
.fp-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-ticks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fp-ticks li { display: flex; gap: 14px; }
.fp-ticks svg { flex: none; margin-top: 3px; color: var(--fp-blue); }

/* ---------- Gelegenheden ---------- */
.fp-occasions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.fp-occasion a { display: flex; flex-direction: column; gap: 14px; color: var(--fp-ink); text-decoration: none; }
.fp-occasion__media { aspect-ratio: 4 / 5; border-radius: var(--fp-radius); overflow: hidden; background: var(--fp-placeholder); }
.fp-occasion__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.fp-occasion a:hover img { transform: scale(1.03); }
.fp-occasion strong { display: block; font-size: 1.2rem; }
.fp-occasion span { color: var(--fp-muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.fp-faq { display: flex; flex-direction: column; gap: 12px; }
.fp-faq details { background: var(--fp-white); border-radius: 16px; padding: 0 24px; }
.fp-faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.06rem; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; }
.fp-faq summary::-webkit-details-marker { display: none; }
.fp-faq summary::after { content: "+"; color: var(--fp-blue); font-size: 1.4rem; line-height: 1; }
.fp-faq details[open] summary::after { content: "–"; }
.fp-faq details p { color: var(--fp-muted); margin: 0 0 20px; }

/* ---------- CTA ---------- */
.fp-cta { background: var(--fp-ink); color: var(--fp-white); border-radius: var(--fp-radius-l); padding: clamp(40px, 6vw, 64px) 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.fp-cta h2 { margin: 0; max-width: 680px; color: var(--fp-white); }
.fp-cta p { margin: 0; color: #C9D2E3; font-size: 1.1rem; }

/* ---------- Info-kaarten en banners ---------- */
.fp-banner { display: flex; align-items: center; gap: 14px; background: var(--fp-blue-soft); color: var(--fp-blue-dark); border-radius: 16px; padding: 18px 22px; }
.fp-banner svg { flex: none; }
.fp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.fp-card { border: 1px solid var(--fp-line); border-radius: var(--fp-radius); padding: 28px; }
.fp-card strong { display: block; font-size: 1.1rem; margin-bottom: 6px; }
.fp-card p { margin: 0; color: var(--fp-muted); }
.fp-reviews-embed { min-height: 120px; }

/* ---------- Kruimelpad & pagina's ---------- */
.fp-breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: .875rem; color: var(--fp-muted); margin: 0 0 16px; }
.fp-breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--fp-muted); }
.fp-pagehead { padding-block: 56px 32px; }
.fp-pagehead h1 { margin-bottom: 14px; }
.fp-content { padding-bottom: 80px; }
.fp-prose { max-width: 760px; }
.fp-prose h2 { margin-top: 1.6em; }
.fp-prose img { border-radius: var(--fp-radius-s); }

/* ---------- Footer ---------- */
.fp-footer { border-top: 1px solid var(--fp-line); margin-top: 0; }
.fp-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-block: 56px 32px; font-size: .95rem; }
.fp-footer__col { display: flex; flex-direction: column; gap: 8px; }
.fp-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-footer__col a { color: var(--fp-muted); text-decoration: none; }
.fp-footer__col a:hover { color: var(--fp-blue); }
.fp-footer__col address { font-style: normal; color: var(--fp-muted); display: flex; flex-direction: column; gap: 6px; }
.fp-footer__bottom { border-top: 1px solid var(--fp-line); padding-block: 20px 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--fp-muted); }
.fp-payments { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fp-payments li { border: 1px solid var(--fp-line); border-radius: 6px; padding: 2px 8px; font-size: .8rem; font-weight: 600; color: var(--fp-ink); }

/* ---------- WooCommerce ---------- */
.fp-shop { padding-block: 40px 80px; }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
	border: 0; border-radius: 14px; background: var(--fp-surface); color: var(--fp-ink); padding: 16px 20px 16px 52px;
}
.woocommerce .woocommerce-message { background: var(--fp-ok-bg); }
.woocommerce .woocommerce-message::before { color: var(--fp-ok); }
.woocommerce .woocommerce-info::before { color: var(--fp-blue); }
.woocommerce .woocommerce-error { background: var(--fp-bad-bg); }
.woocommerce .woocommerce-error::before { color: var(--fp-bad); }
.woocommerce .woocommerce-message .button { float: right; min-height: 40px; padding: 8px 16px; }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce .quantity .qty, .select2-container--default .select2-selection--single {
	border: 1.5px solid var(--fp-line-strong); border-radius: 10px; padding: 10px 12px; font: inherit; min-height: 46px; background: var(--fp-white);
}
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 24px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 10px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--fp-blue); outline: none; box-shadow: 0 0 0 3px var(--fp-blue-soft); }

/* Productpagina */
.woocommerce div.product { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells, .woocommerce div.product .fp-product-after { grid-column: 1 / -1; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border-radius: 24px; overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; float: none; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 12px; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.65rem); margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--fp-ink); font-weight: 700; }
.woocommerce div.product .product_meta { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 1px solid var(--fp-line); background: var(--fp-white); border-radius: 999px; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 18px; font-weight: 600; color: var(--fp-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--fp-ink); border-color: var(--fp-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--fp-white); }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--fp-accent); }

/* Productoverzicht */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; border: 1px solid var(--fp-line); border-radius: var(--fp-radius); overflow: hidden; padding-bottom: 20px; }
.woocommerce ul.products li.product a img { margin: 0 0 14px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-inline: 20px; }
.woocommerce ul.products li.product .price { color: var(--fp-ink); font-weight: 700; }
.woocommerce span.onsale { background: var(--fp-accent); color: var(--fp-ink); }

/* Winkelwagen en afrekenen */
.woocommerce table.shop_table { border-radius: 16px; border-color: var(--fp-line); border-collapse: separate; }
.woocommerce table.shop_table th { font-weight: 600; }
.woocommerce-cart table.cart img { width: 88px; border-radius: 10px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--fp-surface); border-radius: var(--fp-radius); padding: 24px; }
.woocommerce .cart-collaterals .cart_totals table.shop_table { background: var(--fp-white); }
.woocommerce dl.variation { font-size: .9rem; color: var(--fp-muted); }
.woocommerce dl.variation dt { font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tabs op de productpagina */
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 1.6rem; margin-bottom: 16px; }
.woocommerce div.product .woocommerce-tabs .panel .fp-table-wrap { border: 1px solid var(--fp-line); }

/* =========================================================================
   v1.1 – Speelse, warme uitstraling met puzzelanimaties
   ====================================================================== */

/* ---------- Algemeen ---------- */
h1 { font-size: clamp(2.5rem, 1.45rem + 3.8vw, 4.5rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { letter-spacing: -0.03em; }
.fp-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fp-coral); }
.fp-section--surface { background: var(--fp-surface); }

/* Knoppen: iets meer leven */
.fp-btn, .woocommerce a.button, .woocommerce button.button, .wc-block-components-button:not(.is-link) {
	transition: background-color .15s ease, border-color .15s ease, transform .2s cubic-bezier(.2,.9,.3,1.3), box-shadow .2s ease;
}
.fp-btn:hover { transform: translateY(-2px); }
.fp-btn:active { transform: translateY(0) scale(.98); }
.fp-btn svg { flex: none; }
.fp-btn--glow { background: linear-gradient(135deg, #3A66F5 0%, var(--fp-blue) 55%, #1B3FC4 100%); border-color: transparent; box-shadow: 0 14px 30px -12px rgba(35, 80, 224, .75); }
.fp-btn--glow:hover { box-shadow: 0 18px 36px -12px rgba(35, 80, 224, .85); }
.fp-btn--ghost { background: rgba(255,255,255,.8); }

/* Header: glas-effect en schaduw bij scrollen */
.fp-header { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.fp-header.is-scrolled { border-bottom-color: var(--fp-line); box-shadow: 0 10px 30px -18px rgba(23, 24, 58, .35); }
.fp-topbar { background: var(--fp-ink); }

/* ---------- Hero ---------- */
.fp-hero {
	position: relative; overflow: hidden;
	padding-block: clamp(40px, 6vw, 84px) clamp(84px, 9vw, 128px);
	background:
		radial-gradient(900px 520px at 88% 0%, #FFE6D2 0%, rgba(255, 230, 210, 0) 62%),
		radial-gradient(760px 520px at -5% 100%, #E4EBFF 0%, rgba(228, 235, 255, 0) 60%),
		var(--fp-cream);
}
.fp-hero__grid { position: relative; z-index: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .fp-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.fp-hero__text { gap: 24px; }
.fp-hero__text .fp-lead { font-size: 1.2rem; max-width: 520px; }
.fp-pill { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--fp-ink); box-shadow: var(--fp-shadow); padding: 8px 16px 8px 12px; }
.fp-pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fp-mint); box-shadow: 0 0 0 0 rgba(36, 194, 154, .55); animation: fpPulse 2.2s ease-out infinite; }
@keyframes fpPulse { 0% { box-shadow: 0 0 0 0 rgba(36, 194, 154, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(36, 194, 154, 0); } }
.fp-checks { gap: 10px 22px; }
.fp-checks svg { color: var(--fp-mint); }

/* Accentkleur voor een deel van de titel (rustig, zonder onderstreping of animatie) */
.fp-hl { color: var(--fp-blue); }
.fp-pill__dot { animation: none; }

/* Puzzel in de hero */
.fp-hero__stage { position: relative; padding: 18px 10px 30px; }
.fp-hero__puzzle { position: relative; transform: perspective(1400px) rotateY(-7deg) rotateX(5deg) rotate(-1deg); transition: transform .8s cubic-bezier(.2, .8, .2, 1); filter: drop-shadow(0 34px 40px rgba(23, 24, 58, .28)); }
.fp-hero__stage:hover .fp-hero__puzzle { transform: perspective(1400px) rotateY(0) rotateX(0) rotate(0); }
.fp-pz { display: block; width: 100%; height: auto; overflow: visible; }
.fp-pz__board { fill: #E8DCC9; }
.fp-pz__hole { fill: #2A2B55; opacity: .45; }
.fp-pz__p { stroke: rgba(255, 255, 255, .75); stroke-width: 1.6; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 50%; }
.fp-js .fp-pz--assemble .fp-pz__p:not(.fp-pz__p--last) {
	opacity: 0;
	transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.92);
	animation: fpPzIn 1s cubic-bezier(.22, .9, .28, 1.12) forwards;
	animation-delay: calc(var(--i) * 70ms + 120ms);
}
@keyframes fpPzIn { 30% { opacity: 1; } to { opacity: 1; transform: none; } }
.fp-pz__p--last { stroke: #fff; stroke-width: 5; transform: translate(210px, -150px) rotate(14deg); filter: drop-shadow(0 22px 18px rgba(23, 24, 58, .38)); animation: fpPzLast 7s cubic-bezier(.65, 0, .3, 1) 1.8s infinite both; }
@keyframes fpPzLast {
	0%, 42%, 100% { transform: translate(210px, -150px) rotate(14deg); filter: drop-shadow(0 22px 18px rgba(23, 24, 58, .38)); }
	21% { transform: translate(222px, -170px) rotate(9deg); filter: drop-shadow(0 28px 22px rgba(23, 24, 58, .32)); }
	52% { transform: translate(0, 0) rotate(0) scale(1.05); filter: drop-shadow(0 6px 6px rgba(23, 24, 58, .3)); }
	56%, 88% { transform: none; filter: drop-shadow(0 0 0 rgba(23, 24, 58, 0)); }
}
.fp-pz__pop { fill: none; stroke: #fff; stroke-width: 8; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; animation: fpPop 7s 1.8s infinite; pointer-events: none; }
@keyframes fpPop { 0%, 52% { opacity: 0; transform: scale(.3); } 55% { opacity: .95; } 68%, 100% { opacity: 0; transform: scale(1.5); } }

/* Zwevende kaartjes bij de hero */
.fp-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; max-width: 290px; padding: 12px 16px; background: #fff; border-radius: 16px; box-shadow: var(--fp-shadow-lg); font-size: .86rem; line-height: 1.35; color: var(--fp-muted); animation: fpBob 6s ease-in-out infinite; }
.fp-float strong { display: block; color: var(--fp-ink); font-size: .92rem; }
.fp-float__text { display: block; }
.fp-float--ship { left: -18px; bottom: -6px; }
.fp-float--nl { left: -14px; top: -6px; animation-delay: -3s; }
.fp-float__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--fp-mint); color: #fff; display: flex; align-items: center; justify-content: center; }
.fp-float__flag { flex: none; width: 32px; height: 22px; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.fp-float__flag i { flex: 1; }
.fp-float__flag i:nth-child(1) { background: #AE1C28; }
.fp-float__flag i:nth-child(2) { background: #fff; }
.fp-float__flag i:nth-child(3) { background: #21468B; }
@keyframes fpBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
	.fp-hero__stage { padding: 4px 0 0; }
	.fp-float { position: static; animation: none; max-width: none; margin-top: 12px; }
	.fp-hero__puzzle { transform: none; }
}

/* Gekleurde puzzelstukjes als decoratie */
.fp-piece { display: block; }
.fp-confetti { position: absolute; z-index: 0; width: 64px; height: 64px; animation: fpDrift 9s ease-in-out infinite alternate; pointer-events: none; }
.fp-confetti--1 { top: 9%; left: 44%; width: 46px; fill: var(--fp-coral); }
.fp-confetti--2 { bottom: 9%; left: 3%; fill: var(--fp-sun); animation-delay: -2s; }
.fp-confetti--3 { top: 5%; right: 3%; width: 52px; fill: var(--fp-mint); animation-delay: -4s; }
.fp-confetti--4 { bottom: 6%; right: 42%; width: 38px; fill: var(--fp-lilac); animation-delay: -6s; }
@keyframes fpDrift { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-22px) rotate(22deg); } }
@media (max-width: 900px) { .fp-confetti--1, .fp-confetti--4 { display: none; } }

/* ---------- USP-balk zweeft over de hero ---------- */
.fp-usps { position: relative; z-index: 3; background: transparent; margin-top: -58px; }
.fp-usps__grid { background: #fff; border-radius: 24px; box-shadow: var(--fp-shadow-lg); padding: 22px 28px; gap: 18px 28px; margin: 0 auto; width: min(calc(100% - 2 * var(--fp-gutter)), calc(var(--fp-wrap) - 2 * var(--fp-gutter))); align-items: center; }
.fp-usp .fp-usp__icon { border-radius: 14px; color: #fff; background: var(--fp-blue); font-size: inherit; }
.fp-usp:nth-child(1) .fp-usp__icon { background: var(--fp-coral); }
.fp-usp:nth-child(2) .fp-usp__icon { background: var(--fp-blue); }
.fp-usp:nth-child(3) .fp-usp__icon { background: var(--fp-mint); }
.fp-usp:nth-child(4) .fp-usp__icon { background: var(--fp-lilac); }

/* ---------- Stappen ---------- */
.fp-steps { position: relative; }
@media (min-width: 900px) {
	.fp-steps::before { content: ""; position: absolute; top: 70px; left: 16%; right: 16%; border-top: 2.5px dashed var(--fp-line-strong); }
}
.fp-step { position: relative; border: 0; background: #fff; box-shadow: var(--fp-shadow); border-radius: 26px; padding: 30px 30px 34px; gap: 10px; transition: transform .3s cubic-bezier(.2,.9,.3,1.2), box-shadow .3s ease; }
.fp-step:hover { transform: translateY(-6px); box-shadow: var(--fp-shadow-lg); }
.fp-step::before { content: none; }
.fp-step__badge { position: relative; display: flex; align-items: center; justify-content: center; width: 78px; height: 78px; margin: -4px 0 6px -6px; }
.fp-step__piece { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--c, var(--fp-blue)); transition: transform .5s cubic-bezier(.2,.9,.3,1.3); }
.fp-step:hover .fp-step__piece { transform: rotate(90deg); }
.fp-step__icon { position: relative; color: #fff; display: flex; }
.fp-step:nth-child(1) { --c: var(--fp-coral); }
.fp-step:nth-child(2) { --c: var(--fp-sky); }
.fp-step:nth-child(3) { --c: var(--fp-mint); }
.fp-step__num { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--fp-muted); }

/* ---------- Formaten op ware grootte ---------- */
.fp-sizes { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.fp-size { border: 0; border-radius: 24px; box-shadow: var(--fp-shadow); transition: transform .3s cubic-bezier(.2,.9,.3,1.2), box-shadow .3s ease; }
.fp-size.is-popular { box-shadow: 0 0 0 2.5px var(--fp-coral), var(--fp-shadow); }
.fp-size--link:hover { transform: translateY(-6px); box-shadow: var(--fp-shadow-lg); }
.fp-size.is-popular.fp-size--link:hover { box-shadow: 0 0 0 2.5px var(--fp-coral), var(--fp-shadow-lg); }
.fp-badge { z-index: 2; background: var(--fp-coral); color: #fff; box-shadow: 0 6px 14px -6px rgba(255, 106, 77, .8); }
.fp-size__media { aspect-ratio: 4 / 3; padding: 22px; background: radial-gradient(120% 90% at 50% 15%, #FFFDF9 0%, #F4EADB 70%, #EBDDC8 100%); }
.fp-scale { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.fp-scale__puzzle { position: relative; max-height: 100%; background-color: #CDBFA9; background-size: cover; background-position: center; border-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 14px 22px -10px rgba(23, 24, 58, .45); transition: transform .45s cubic-bezier(.2,.9,.3,1.25); }
.fp-size--link:hover .fp-scale__puzzle { transform: scale(1.07) rotate(-2deg); }
.fp-scale__pieces {
	position: absolute; inset: 0; border-radius: inherit;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0V38C92 34 86 40 86 50S92 66 100 62V100M0 100H38C34 92 40 86 50 86S66 92 62 100H100' fill='none' stroke='rgba(255,255,255,.7)' stroke-width='1.1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
	background-size: calc(100% / var(--cols, 10)) calc(100% / var(--rows, 8));
	opacity: .55;
}
.fp-scale__dims { position: absolute; right: 0; bottom: -10px; padding: 3px 10px; font-size: .75rem; font-weight: 600; color: var(--fp-muted); background: rgba(255, 255, 255, .9); border-radius: 999px; box-shadow: 0 2px 6px rgba(23,24,58,.08); }
.fp-size__body { padding: 20px 22px 22px; }
.fp-size__title { font-size: 1.5rem; }
.fp-size__price { font-size: 1.25rem; margin: 8px 0 10px; }
.fp-size__go { margin-top: auto; font-weight: 600; color: var(--fp-blue); transition: transform .2s ease; }
.fp-size--link:hover .fp-size__go { transform: translateX(4px); }

/* ---------- Zelf leggen ---------- */
.fp-play { background: var(--fp-surface); position: relative; overflow: hidden; }
.fp-play__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fp-play__board { position: relative; padding: clamp(28px, 4vw, 48px); background: #fff; border-radius: 30px; box-shadow: var(--fp-shadow-lg); }
.fp-pz--play .fp-pz__board { fill: #F3EADB; stroke: #E2D5C1; stroke-width: 3; stroke-dasharray: 10 8; }
.fp-pz--play .fp-pz__p { cursor: pointer; filter: drop-shadow(0 10px 10px rgba(23, 24, 58, .28)); transition: transform .65s cubic-bezier(.2, .9, .3, 1.25), filter .4s ease; }
.fp-pz--play .fp-pz__p:hover { filter: drop-shadow(0 14px 14px rgba(23, 24, 58, .34)); }
.fp-pz--play .fp-pz__p.is-placed { transform: none !important; filter: drop-shadow(0 0 0 rgba(0,0,0,0)); cursor: default; }
.fp-pz--play .fp-pz__p:focus-visible { outline: none; stroke: var(--fp-blue); stroke-width: 6; }
.fp-play__status { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin-top: 22px; font-weight: 600; }
.fp-play__again { flex: none; white-space: nowrap; border: 1.5px solid var(--fp-line-strong); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; color: var(--fp-ink); cursor: pointer; }
.fp-play__again:hover { border-color: var(--fp-blue); color: var(--fp-blue); }
.fp-play__board.is-done .fp-pz { animation: fpWin .7s cubic-bezier(.2,.9,.3,1.4); }
.fp-play__board.is-done .fp-play__count { color: var(--fp-mint); }
@keyframes fpWin { 40% { transform: scale(1.04) rotate(-1deg); } }
.fp-burst { position: absolute; width: 22px; height: 22px; pointer-events: none; animation: fpBurst 1.1s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes fpBurst { from { opacity: 1; transform: translate(0,0) rotate(0) scale(.6); } to { opacity: 0; transform: translate(var(--bx), var(--by)) rotate(var(--br)) scale(1); } }

/* ---------- Kwaliteit ---------- */
.fp-split__media { border-radius: 30px; box-shadow: var(--fp-shadow-lg); transform: rotate(-1.5deg); background: var(--fp-placeholder); }
.fp-ticks svg { color: #fff; background: var(--fp-mint); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 1px; }

/* ---------- Gelegenheden ---------- */
.fp-occasions { gap: 22px; }
.fp-occasion__media { border-radius: 26px; box-shadow: var(--fp-shadow); transition: transform .35s cubic-bezier(.2,.9,.3,1.2), box-shadow .35s ease; }
.fp-occasion a:hover .fp-occasion__media { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--fp-shadow-lg); }
.fp-occasion__media--art { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fp-art--1 { background: linear-gradient(155deg, #FF9478 0%, #FF6A4D 100%); }
.fp-art--2 { background: linear-gradient(155deg, #FFD978 0%, #FFB627 100%); }
.fp-art--3 { background: linear-gradient(155deg, #C9B5FF 0%, #A98BFF 100%); }
.fp-art--4 { background: linear-gradient(155deg, #6FE3C3 0%, #24C29A 100%); }
.fp-art__piece { position: absolute; fill: rgba(255, 255, 255, .2); transition: transform .8s cubic-bezier(.2,.9,.3,1.2); }
.fp-art__piece--a { width: 70%; top: -18%; left: -22%; transform: rotate(18deg); }
.fp-art__piece--b { width: 58%; bottom: -16%; right: -18%; transform: rotate(-24deg); }
.fp-occasion a:hover .fp-art__piece--a { transform: rotate(60deg); }
.fp-occasion a:hover .fp-art__piece--b { transform: rotate(-70deg); }
.fp-occasion .fp-art__icon { position: relative; display: flex; align-items: center; justify-content: center; width: 132px; height: 132px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; transition: transform .4s cubic-bezier(.2,.9,.3,1.4); }
.fp-occasion a:hover .fp-art__icon { transform: scale(1.08) rotate(-6deg); }
.fp-occasion strong { margin-top: 2px; }

/* ---------- FAQ ---------- */
.fp-faq details { box-shadow: var(--fp-shadow); transition: box-shadow .2s ease; }
.fp-faq details[open] { box-shadow: var(--fp-shadow-lg); }
.fp-faq summary::after { content: "+"; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fp-blue-soft); font-size: 1.2rem; transition: transform .3s ease, background-color .2s ease; }
.fp-faq details[open] summary::after { content: "+"; transform: rotate(45deg); background: var(--fp-coral); color: #fff; }

/* ---------- CTA ---------- */
.fp-cta { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(700px 400px at 20% 0%, #2F3290 0%, rgba(47, 50, 144, 0) 70%), radial-gradient(600px 400px at 100% 100%, #4A2A7A 0%, rgba(74, 42, 122, 0) 70%), var(--fp-ink); padding-block: clamp(56px, 8vw, 96px); }
.fp-cta h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.fp-cta__piece { position: absolute; z-index: -1; width: 92px; opacity: .9; animation: fpDrift 8s ease-in-out infinite alternate; }
.fp-cta__piece--1 { fill: var(--fp-coral); top: -18px; left: 6%; }
.fp-cta__piece--2 { fill: var(--fp-sun); bottom: -24px; left: 22%; width: 120px; animation-delay: -2s; }
.fp-cta__piece--3 { fill: var(--fp-mint); top: 18%; right: 7%; width: 70px; animation-delay: -4s; }
.fp-cta__piece--4 { fill: var(--fp-sky); bottom: 10%; right: 22%; width: 54px; animation-delay: -1s; }
.fp-cta__piece--5 { fill: var(--fp-lilac); top: 46%; left: -18px; width: 64px; animation-delay: -5s; }
@media (max-width: 640px) { .fp-cta__piece--2, .fp-cta__piece--4 { display: none; } }

/* ---------- Productpagina ---------- */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { box-shadow: var(--fp-shadow-lg); }

/* ---------- Verschijnen bij scrollen ---------- */
.fp-js [data-reveal], .fp-js [data-reveal-group] > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.fp-js [data-reveal-group] > * { transition-delay: calc(var(--d, 0) * 90ms); }
.fp-js [data-reveal].is-in, .fp-js [data-reveal-group].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.fp-js .fp-pz__p, .fp-pz__p--last { opacity: 1 !important; transform: none !important; filter: none !important; }
	.fp-pz__pop, .fp-pz__hole { display: none; }
	.fp-js [data-reveal], .fp-js [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
}
/* Logo: transparant, vaste hoogte, scherp */
.custom-logo-link { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.custom-logo { display: block; height: 56px; width: auto; max-width: none; }
@media (max-width: 600px) { .custom-logo { height: 40px; } }

/* Logo: beeldmerk (SVG) + woordmerk. */
.fp-brand { position: relative; display: inline-flex; align-items: center; gap: 9px; flex: none; text-decoration: none; line-height: 1; color: var(--fp-ink); }
.fp-brand:hover { color: var(--fp-ink); }
.fp-brand__mark { display: block; width: 46px; height: 46px; flex: none; overflow: visible; }
.fp-brand__word { font-family: var(--fp-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; white-space: nowrap; }
.fp-brand__tld { color: var(--fp-blue); }
.fp-brand__piece { transform-box: view-box; transform-origin: 35px 15px; transform: translate(3px, -4px) rotate(14deg); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
a.fp-brand:hover .fp-brand__piece, a.fp-brand:focus-visible .fp-brand__piece { transform: none; }
.fp-brand--footer { margin-bottom: 4px; }
.fp-brand--footer .fp-brand__mark { width: 36px; height: 36px; }
.fp-brand--footer .fp-brand__word { font-size: 1.3rem; }
@media (max-width: 600px) {
	.fp-brand { gap: 7px; }
	.fp-brand__mark { width: 38px; height: 38px; }
	.fp-brand__word { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .fp-brand__piece { transition: none; } }
/* USP-balk: 4 naast elkaar, 2×2 op tablet, onder elkaar op mobiel (nooit 3 + 1) */
.fp-usps__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .fp-usps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fp-usps__grid { grid-template-columns: minmax(0, 1fr); } }
/* =========================================================================
   Kennisbank (/informatie/) en artikelen
   ====================================================================== */
.fp-c-coral { --c: var(--fp-coral); --c-soft: #FFE9E3; --c-ink: #B8371C; }
.fp-c-sky   { --c: var(--fp-sky);   --c-soft: #E8EFFF; --c-ink: #2A4FB8; }
.fp-c-mint  { --c: var(--fp-mint);  --c-soft: #DFF7EF; --c-ink: #127A5F; }
.fp-c-lilac { --c: var(--fp-lilac); --c-soft: #EFE9FF; --c-ink: #5B3FC4; }
.fp-c-sun   { --c: var(--fp-sun);   --c-soft: #FFF4D6; --c-ink: #8A5A00; }

.fp-kb-hero {
	position: relative; overflow: hidden;
	padding-block: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 64px);
	background:
		radial-gradient(800px 420px at 90% 0%, #FFE6D2 0%, rgba(255, 230, 210, 0) 62%),
		radial-gradient(700px 420px at -5% 100%, #E4EBFF 0%, rgba(228, 235, 255, 0) 60%),
		var(--fp-cream);
}
.fp-kb-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.fp-kb-hero h1 { margin: 0 0 14px; font-size: clamp(2.4rem, 1.5rem + 3vw, 3.9rem); }
.fp-kb-hero .fp-lead { max-width: 640px; }
.fp-kb-search { position: relative; width: 100%; max-width: 620px; margin-top: 28px; color: var(--fp-muted); }
.fp-kb-search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.fp-kb-search input { width: 100%; min-height: 60px; padding: 14px 20px 14px 54px; font: inherit; font-size: 1.05rem; color: var(--fp-ink); background: #fff; border: 1.5px solid transparent; border-radius: 18px; box-shadow: var(--fp-shadow-lg); transition: border-color .2s ease, box-shadow .2s ease; }
.fp-kb-search input:focus { outline: none; border-color: var(--fp-blue); box-shadow: 0 0 0 4px var(--fp-blue-soft), var(--fp-shadow-lg); }
.fp-kb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fp-kb-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--fp-line-strong); border-radius: 999px; background: rgba(255,255,255,.85); font: inherit; font-size: .92rem; font-weight: 600; color: var(--fp-ink); cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .2s ease; }
.fp-kb-chip svg { color: var(--c-ink, var(--fp-blue)); }
.fp-kb-chip:hover { transform: translateY(-1px); border-color: var(--c, var(--fp-blue)); }
.fp-kb-chip.is-active { background: var(--fp-ink); border-color: var(--fp-ink); color: #fff; }
.fp-kb-chip.is-active svg { color: #fff; }

.fp-kb-body { padding-top: clamp(40px, 5vw, 64px); }
.fp-kb-group + .fp-kb-group { margin-top: clamp(44px, 5vw, 64px); }
.fp-kb-group { scroll-margin-top: 110px; }
.fp-kb-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.fp-kb-group__head h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.fp-kb-group__head p { margin: 2px 0 0; color: var(--fp-muted); }
.fp-kb-group__head > div { flex: 1; }
.fp-kb-group__icon { position: relative; flex: none; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; color: #fff; }
.fp-kb-group__piece { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--c); }
.fp-kb-group__icon > span { position: relative; display: flex; }
.fp-kb-group__count { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--c-soft); color: var(--c-ink); font-size: .82rem; font-weight: 700; }

.fp-kb-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.fp-kb-card a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 24px 22px; overflow: hidden; background: #fff; border-radius: 22px; box-shadow: var(--fp-shadow); color: var(--fp-ink); text-decoration: none; transition: transform .3s cubic-bezier(.2,.9,.3,1.2), box-shadow .3s ease; }
.fp-kb-card a::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--c, var(--fp-blue)); transform: scaleX(.18); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.fp-kb-card a:hover { transform: translateY(-5px); box-shadow: var(--fp-shadow-lg); color: var(--fp-ink); }
.fp-kb-card a:hover::before { transform: scaleX(1); }
.fp-kb-card__meta { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink, var(--fp-muted)); }
.fp-kb-card h3 { margin: 0; font-family: var(--fp-display); font-size: 1.22rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.fp-kb-card p { margin: 0; color: var(--fp-muted); font-size: .95rem; line-height: 1.55; }
.fp-kb-card__go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--fp-blue); }
.fp-kb-card__go span { display: inline-block; transition: transform .2s ease; }
.fp-kb-card a:hover .fp-kb-card__go span { transform: translateX(4px); }
.fp-kb-card[hidden], .fp-kb-group[hidden] { display: none !important; }
.fp-kb-empty { margin-top: 12px; padding: 28px; border-radius: 22px; background: var(--fp-surface); text-align: center; }
.fp-kb-empty p { margin: 6px 0 0; color: var(--fp-muted); }
.fp-kb mark { background: var(--fp-sun); color: inherit; border-radius: 3px; padding: 0 2px; }

/* Artikelpagina */
.fp-article__head { padding-block: clamp(32px, 5vw, 56px) clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--c-soft, var(--fp-cream)) 0%, #fff 100%); }
.fp-article__head h1 { margin: 12px 0 10px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.08; }
.fp-article__topic { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: var(--fp-shadow); color: var(--c-ink); font-size: .86rem; font-weight: 700; text-decoration: none; }
.fp-article__topic:hover { color: var(--c-ink); transform: translateY(-1px); }
.fp-article__meta { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--fp-muted); font-size: .92rem; }
.fp-article__body { padding-bottom: clamp(48px, 6vw, 80px); }
.fp-prose--article { max-width: none; font-size: 1.08rem; line-height: 1.75; color: #2B2D4A; }
.fp-prose--article > *:first-child { margin-top: 0; }
.fp-prose--article h2 { margin: 1.8em 0 .55em; font-size: 1.65rem; }
.fp-prose--article h3 { margin: 1.5em 0 .4em; font-size: 1.25rem; font-family: var(--fp-display); font-weight: 700; }
.fp-prose--article p { margin: 0 0 1.1em; }
.fp-prose--article ul, .fp-prose--article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.fp-prose--article li { margin-bottom: .45em; }
.fp-prose--article li::marker { color: var(--c, var(--fp-blue)); }
.fp-prose--article strong { color: var(--fp-ink); }
.fp-prose--article a { color: var(--fp-blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fp-prose--article blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--c, var(--fp-blue)); border-radius: 0 16px 16px 0; background: var(--c-soft, var(--fp-surface)); }
.fp-prose--article table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--fp-shadow); }
.fp-prose--article th, .fp-prose--article td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--fp-line); }
.fp-prose--article th { background: var(--fp-surface); }
.fp-prose--article .wp-block-table table { table-layout: auto; }
.fp-prose--article .fp-inline-cta { margin: 1.6em 0; }
.fp-prose--article .fp-inline-cta .fp-btn { color: #fff; text-decoration: none; }
.fp-prose--article .fp-sizes-table td a { font-weight: 600; }
.fp-prose--article .wp-block-table { max-width: 100%; overflow-x: auto; }
@media (max-width: 640px) {
	.fp-prose--article .fp-sizes-table th:nth-child(3), .fp-prose--article .fp-sizes-table td:nth-child(3),
	.fp-prose--article .fp-sizes-table th:nth-child(4), .fp-prose--article .fp-sizes-table td:nth-child(4) { display: none; }
}
.fp-prose--article .wp-block-table td:not(:first-child) { white-space: nowrap; }
.fp-prose--article .wp-block-table figcaption { margin-top: -0.6em; color: var(--fp-muted); font-size: .86rem; }
@media (max-width: 560px) {
	.fp-prose--article table { font-size: .82rem; }
	.fp-prose--article th, .fp-prose--article td { padding: 9px 6px; }
	.fp-prose--article th:first-child, .fp-prose--article td:first-child { padding-left: 12px; }
}
.fp-prose--article img { border-radius: 18px; box-shadow: var(--fp-shadow); }
.fp-article__cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; padding: 26px 28px; border-radius: 24px; background: var(--fp-ink); color: #C9CDE6; }
.fp-article__cta > div { position: relative; flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; }
.fp-article__cta strong { color: #fff; font-family: var(--fp-display); font-size: 1.3rem; }
.fp-article__cta .fp-btn { position: relative; background: #fff; border-color: #fff; color: var(--fp-ink); }
.fp-article__cta .fp-btn:hover { background: var(--fp-blue-soft); border-color: var(--fp-blue-soft); color: var(--fp-ink); }
.fp-article__cta-piece { position: absolute; right: -26px; top: -30px; width: 130px; fill: var(--c, var(--fp-coral)); opacity: .9; transform: rotate(18deg); }
.fp-article__more h2 { margin-bottom: 24px; }
.fp-article__all { margin: 26px 0 0; font-weight: 600; }@media (max-width: 640px) {
	.fp-kb-chips { flex-wrap: nowrap; width: calc(100% + 2 * var(--fp-gutter)); margin-inline: calc(-1 * var(--fp-gutter)); padding: 4px var(--fp-gutter) 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.fp-kb-chips::-webkit-scrollbar { display: none; }
	.fp-kb-chip { flex: none; }
	.fp-kb-group__head { flex-wrap: wrap; }
}
/* =========================================================================
   Online puzzelen (plugin Photo Jigsaw Puzzle) in de huisstijl
   ====================================================================== */
.fp-online-hero { padding-bottom: clamp(72px, 8vw, 110px); }
.fp-online-hero .fp-checks { margin-top: 18px; }
.fp-online-app { position: relative; margin-top: clamp(-64px, -5vw, -40px); }

.fp-online .pjp-wrap { max-width: none; margin: 0; padding: 0; font-family: var(--fp-font); font-weight: 400; color: var(--fp-ink); }
.fp-online .pjp-wrap h2, .fp-online .pjp-step-title, .fp-online .pjp-upload-title { font-family: var(--fp-display); letter-spacing: -0.01em; }
.fp-online .pjp-card { border: 0; border-radius: 30px; background: #fff; box-shadow: var(--fp-shadow-lg); padding: clamp(18px, 3vw, 32px); margin: 0; }
.fp-online .pjp-header { background: #fff; overflow: visible; gap: 18px; }
.fp-online .pjp-header::after { content: none; }
.fp-online .pjp-header-top { justify-content: flex-end; }
.fp-online .pjp-title { display: none; } /* Titel staat al in de paginakop. */
.fp-online .pjp-lang-chip { gap: 6px; padding: 4px 6px 4px 12px; background: var(--fp-surface); border: 0; border-radius: 999px; box-shadow: none; }
.fp-online .pjp-lang-chip select { min-width: 0; padding: 6px 10px; border: 0; border-radius: 999px; background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: var(--fp-ink); box-shadow: var(--fp-shadow); }
.fp-online .pjp-label { font-family: var(--fp-font); font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: var(--fp-muted); }

/* Stappen */
.fp-online .pjp-upload-area { gap: 16px; }
.fp-online .pjp-step-card { background: #fff; border: 1.5px solid var(--fp-line); border-radius: 24px; padding: clamp(18px, 2.4vw, 26px); box-shadow: none; overflow: visible; transition: border-color .2s ease, box-shadow .2s ease; }
.fp-online .pjp-step-card::after { content: none; }
.fp-online .pjp-step-card:focus-within, .fp-online .pjp-step-card:hover { border-color: var(--fp-line-strong); box-shadow: var(--fp-shadow); }
.fp-online .pjp-step-head { gap: 14px; margin-bottom: 16px; }
.fp-online .pjp-step-num { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--fp-coral); font-family: var(--fp-display); font-size: 1.1rem; font-weight: 700; box-shadow: none; transform: rotate(-6deg); }
.fp-online .pjp-step-pieces .pjp-step-num { background: var(--fp-sky); transform: rotate(5deg); }
.fp-online .pjp-step-start .pjp-step-num { background: var(--fp-mint); transform: rotate(-3deg); }
.fp-online .pjp-step-title { font-size: 1.3rem; font-weight: 700; color: var(--fp-ink); }

/* Knoppen in de huisstijl */
.fp-online .pjp-btn { min-height: 46px; padding: 10px 18px; font-family: var(--fp-font); font-size: .98rem; font-weight: 600; color: var(--fp-ink); background: #fff; border: 1.5px solid var(--fp-line-strong); border-radius: 12px; box-shadow: none; transition: transform .2s cubic-bezier(.2,.9,.3,1.3), background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease; }
.fp-online .pjp-btn:hover:not([disabled]) { border-color: var(--fp-blue); color: var(--fp-blue); transform: translateY(-1px); }
.fp-online .pjp-btn-ghost { background: #fff; }
.fp-online .pjp-btn-secondary, .fp-online .pjp-btn-primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, #3A66F5 0%, var(--fp-blue) 55%, #1B3FC4 100%); box-shadow: 0 12px 26px -12px rgba(35, 80, 224, .75); }
.fp-online .pjp-btn-secondary:hover:not([disabled]), .fp-online .pjp-btn-primary:hover:not([disabled]) { color: #fff; border-color: transparent; box-shadow: 0 16px 30px -12px rgba(35, 80, 224, .85); }
.fp-online .pjp-btn[disabled] { opacity: 1; background: var(--fp-surface); color: #A3A0B5; border-color: var(--fp-line); box-shadow: none; }
.fp-online .pjp-source-choice { justify-content: flex-start; gap: 12px; }
.fp-online .pjp-source-btn { min-height: 52px; padding: 12px 22px; font-size: 1rem; }
.fp-online .pjp-source-btn.pjp-selected, .fp-online .pjp-piece-btn.pjp-selected, .fp-online .pjp-btn.pjp-selected,
.fp-online .pjp-btn.pjp-selected:hover:not([disabled]) { background: var(--fp-ink); border-color: var(--fp-ink); color: #fff; }
.fp-online .pjp-field { background: transparent; border: 0; padding: 0; }
.fp-online .pjp-piece-options { justify-content: flex-start; gap: 10px; padding: 0; }
.fp-online .pjp-piece-btn { min-width: 70px; font-size: 1.05rem; font-weight: 700; }
.fp-online .pjp-start-row { justify-content: flex-start; gap: 12px; padding-top: 0; }
.fp-online .pjp-start { min-height: 54px; padding-inline: 28px; font-size: 1.05rem; }

/* Upload en bibliotheek */
.fp-online .pjp-upload-drop { min-height: 200px; border: 2px dashed var(--fp-line-strong); border-radius: 22px; background: var(--fp-cream); box-shadow: none; }
.fp-online .pjp-upload-drop:hover { border-color: var(--fp-coral); background: #FFF3EA; box-shadow: none; }
.fp-online .pjp-upload-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--fp-coral); color: #fff; box-shadow: 0 12px 24px -10px rgba(255, 106, 77, .8); font-family: var(--fp-display); }
.fp-online .pjp-upload-title { font-size: 1.15rem; font-weight: 700; }
.fp-online .pjp-upload-sub, .fp-online .pjp-library-sub, .fp-online .pjp-library-empty { color: var(--fp-muted); font-weight: 400; }
.fp-online .pjp-library { background: var(--fp-surface); border: 0; border-radius: 20px; padding: 16px; }
.fp-online .pjp-library-hint { font-weight: 600; color: var(--fp-ink); }
.fp-online .pjp-library-item { border-radius: 14px; box-shadow: var(--fp-shadow); }
.fp-online .pjp-library-item:hover { transform: translateY(-3px); box-shadow: var(--fp-shadow-lg); }
.fp-online .pjp-library-item.pjp-selected { border-color: var(--fp-blue); box-shadow: 0 0 0 3px var(--fp-blue-soft), var(--fp-shadow); }
.fp-online .pjp-spinner { border-color: var(--fp-blue-soft); border-top-color: var(--fp-blue); }

/* Bestelblok onder de app */
.fp-online-order { padding-top: clamp(48px, 6vw, 80px); }
.fp-online-order__box { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4vw, 48px); border-radius: 30px; background: linear-gradient(135deg, #FFF3EA 0%, var(--fp-cream) 55%, #EEF2FF 100%); }
.fp-online-order__text { flex: 1 1 380px; }
.fp-online-order__text h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.fp-online-order__text p { margin: 0; color: var(--fp-muted); font-size: 1.06rem; }
.fp-online-order__piece { position: absolute; z-index: -1; opacity: .9; }
.fp-online-order__piece--a { width: 120px; right: 22%; top: -46px; fill: var(--fp-sun); transform: rotate(20deg); }
.fp-online-order__piece--b { width: 80px; right: -20px; bottom: -24px; fill: var(--fp-mint); transform: rotate(-14deg); }
@media (max-width: 640px) {
	.fp-online .pjp-source-btn { flex: 1 1 auto; }
	.fp-online .pjp-start-row .pjp-btn { flex: 1 1 auto; }
	.fp-online-order__piece--a { display: none; }
	.fp-online .pjp-library { padding: 12px; }
	.fp-online .pjp-library-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.fp-online-hero .fp-confetti--2 { display: none; } /* Valt anders over de vinkjes. */
}
/* Meldingen van de puzzel-app (hervatten, klaar): hangen direct in <body>, dus niet onder .fp-online. */
.pjp-modal { background: rgba(23, 24, 58, .55); backdrop-filter: blur(3px); }
.pjp-modal-card { max-width: 400px; padding: 30px 26px 26px; border-radius: 26px; box-shadow: var(--fp-shadow-lg); font-family: var(--fp-font); color: var(--fp-ink); }
.pjp-modal-title { margin: 4px 0 6px; font-family: var(--fp-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; }
.pjp-modal-text { font-weight: 400; color: var(--fp-muted); }
.pjp-modal-card > .pjp-modal-close { right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; color: var(--fp-muted); font-size: 22px; line-height: 1; }
.pjp-modal-card > .pjp-modal-close:hover { background: var(--fp-surface); color: var(--fp-ink); }
.pjp-modal-actions { gap: 10px; margin-top: 20px; }
.pjp-modal .pjp-btn { position: static; min-height: 46px; padding: 10px 20px; font-family: var(--fp-font); font-size: .98rem; font-weight: 600; color: var(--fp-ink); background: #fff; border: 1.5px solid var(--fp-line-strong); border-radius: 12px; box-shadow: none; cursor: pointer; }
.pjp-modal .pjp-btn:hover { border-color: var(--fp-blue); color: var(--fp-blue); }
.pjp-modal .pjp-btn-primary, .pjp-modal .pjp-btn-primary:hover { color: #fff; border-color: transparent; background: linear-gradient(135deg, #3A66F5 0%, var(--fp-blue) 55%, #1B3FC4 100%); box-shadow: 0 12px 26px -12px rgba(35, 80, 224, .75); }
/* Knoppenbalk tijdens het spel: op telefoon/tablet compact en binnen beeld (de plugin laat hem uit beeld lopen). */
@media (max-width: 860px) {
	.fp-online .pjp-overlay-actions { padding: 8px 10px; gap: 8px; }
	.fp-online .pjp-status { flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
	.fp-online .pjp-status > * { width: auto !important; flex: 0 1 auto; }
	.fp-online .pjp-status-inline { flex-basis: 100%; justify-content: center; }
	.fp-online .pjp-status-actions, .fp-online .pjp-preview-center { display: contents; }
	.fp-online .pjp-status .pjp-btn { min-height: 38px; padding: 7px 11px; font-size: .86rem; }
}