/* ==========================================================
   Bossche Kiekjes: Extra CSS (GeneratePress)
   Geladen via functions.php (vervangt Customizer > Extra CSS).

   Inhoud
   1. Hulpclasses
   2. Layout
   3. Typografie
   4. Knoppen
   5. Focus
   6. Navigatie
   7. WooCommerce: algemeen en knoppen
   8. WooCommerce: productoverzicht
   9. Accordion en FAQ
   9b. Accordion als witte kaarten
   10. Formulieren
   11. Reviews
   12. Blog
   13. Genummerde lijsten
   ========================================================== */


/* ----------------------------------------------------------
   1. Hulpclasses
   ---------------------------------------------------------- */

.mb-0 {
	margin-bottom: 0;
}

.ml-0 {
	margin-left: 0;
}

.py-0 {
	padding-top: 0;
	padding-bottom: 0;
}


/* ----------------------------------------------------------
   2. Layout
   ---------------------------------------------------------- */

/* Full width achtergrondblokken: containerbreedte plus mobiele padding */
@media (max-width: 1200px) {
	.content-container {
		padding-left: 18px;
		padding-right: 18px;
	}
}

.entry-content {
	margin-top: 0px !important;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* Line-height van iconen voor of na tekst */
.gb-shape {
	line-height: 1.7;
}


/* ----------------------------------------------------------
   3. Typografie
   Vloeiende schaal, dus geen groottes in de GP-instellingen
   ---------------------------------------------------------- */

h1, .fs-h1 {
	font-size: clamp(2.29rem, 2.16vi + 1.29rem, 3.04rem);
	letter-spacing: -1.5px;
}

h2, .fs-h2 {
	font-size: clamp(1.87rem, 1.49vi + 1.25rem, 2.39rem);
	letter-spacing: -1.5px;
}

h3, .fs-h3 {
	font-size: clamp(1.53rem, 0.98vi + 1.19rem, 1.88rem);
	letter-spacing: -1.5px;
}

h4, .fs-h4 {
	font-size: clamp(1.24rem, 0.59vi + 1.13rem, 1.46rem);
	letter-spacing: 0;
}

h5, .fs-h5 {
	font-size: clamp(1rem, 0.31vi + 1.05rem, 1.23rem);
	letter-spacing: 0;
}

h6, .fs-h6 {
	font-size: clamp(1rem, 0.31vi + 1.05rem, 1.13rem);
	letter-spacing: 0;
}

body, .fs-body {
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: 0;
	/* Overschrijf de WordPress preset variabelen */
	--wp--preset--font-size--small: 16px !important;
}

p.small, span.small {
	font-size: 16px;
}

/* Eyebrow boven een sectietitel */
.subtitle {
	font-size: clamp(1rem, 1.0547rem + 0.4219vw, 1.2rem);
	margin-bottom: 3px;
}

.subtitle.primary {
	color: var(--primary);
}

.subtitle.secondary {
	color: var(--secondary);
}

.subtitle.white {
	color: var(--neutral-white);
}


/* ----------------------------------------------------------
   4. Knoppen
   ---------------------------------------------------------- */

/* Basis */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.button:visited,
.woocommerce a.button {
	display: inline-flex;
	padding: 14px 22px;
	height: 56px;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.05);
	border-radius: 12px 18px 12px 12px;
	border-width: 1.5px;
	border-style: solid;
	transition: border-radius 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.wp-block-button__link:not(.has-background):hover,
a.gb-text:hover {
	border-radius: 15px;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10);
	cursor: pointer;
}

/* Varianten: contained / outline x primary / secondary / white */
a.button.contained.primary,
button.contained.primary,
input[type="submit"].contained.primary {
	background: var(--primary);
	color: var(--neutral-white);
	border-color: var(--primary);
}

a.button.outline.primary,
button.outline.primary {
	color: var(--primary);
	background: transparent;
	border-color: var(--primary);
}

a.button.contained.secondary,
button.contained.secondary {
	background: var(--secondary);
	color: var(--neutral-white);
	border-color: var(--secondary);
}

a.button.outline.secondary,
button.outline.secondary {
	color: var(--secondary);
	background: transparent;
	border-color: var(--secondary);
}

a.button.contained.white,
button.contained.white {
	background: var(--neutral-white);
	color: var(--primary);
	border-color: var(--neutral-white);
}

a.button.outline.white,
button.outline.white {
	color: var(--neutral-white);
	background: transparent;
	border-color: var(--neutral-white);
}

a.button.small,
button.small {
	padding: 7px 14px;
}


/* ----------------------------------------------------------
   5. Focus (alleen bij toetsenbordgebruik)
   ---------------------------------------------------------- */

button:focus-visible,
html input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="submit"]:focus-visible,
a.button:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
	border-radius: 15px;
}

.main-navigation a:focus-visible,
.site-footer a:focus-visible,
.site-content a:not(.button):focus-visible,
summary:focus-visible,
.accordion-toggle:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
	border-radius: 6px;
}

/* Op een donkere achtergrond (primary-darkest): lichte focusring.
   Geef dat GenerateBlocks-element de class  on-dark  */
.on-dark a:focus-visible,
.on-dark button:focus-visible {
	outline-color: var(--primary-lightest);
}


/* ----------------------------------------------------------
   6. Navigatie
   ---------------------------------------------------------- */

/* Mobiele menuknop */
.menu-toggle,
.slideout-exit {
	box-shadow: none;
}

.slideout-exit {
	margin-bottom: 40px;
}

/* Laatste menu-item als knop */
.menu-cta {
	border: 1.5px solid var(--primary);
	border-radius: 12px 12px 12px 12px;
}

.menu-cta a {
	padding-left: 12px;
	padding-right: 0px;
}

#menu-header > .menu-item:last-child a span {
	padding-right: 6px;
}


/* ----------------------------------------------------------
   7. WooCommerce: algemeen en knoppen
   WooCommerce en GeneratePress zetten eigen stijlen op
   .button.alt en de blokken. Deze selectors zijn even
   specifiek en winnen omdat Extra CSS als laatste laadt.
   ---------------------------------------------------------- */

/* Lettergroottes */
.wc-block-components-product-name {
	font-size: 18px;
	letter-spacing: 0px;
}

.wc-block-checkout__actions .wc-block-checkout__actions_row {
	font-size: 18px;
}

/* Verborgen velden */
#order-fields {
	display: none;
}

.wc-block-order-confirmation-additional-fields-wrapper {
	display: none;
}

/* Alle WooCommerce-knoppen = contained primary */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.widget_shopping_cart .buttons a.button,
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-totals-coupon__button {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 56px;
	padding: 14px 22px;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 17px;
	font-weight: bold;
	letter-spacing: 0.5px;
	line-height: 1.5;
	color: var(--neutral-white);
	background: var(--primary);
	border: 1.5px solid var(--primary);
	border-radius: 12px 18px 12px 12px;
	box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.05);
	text-decoration: none;
	transition: border-radius 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* Afrekenknop in de winkelwagen over de volle breedte */
.wc-block-cart__submit-container .wc-block-cart__submit-button {
	width: 100%;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.widget_shopping_cart .buttons a.button:hover,
.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-totals-coupon__button:hover {
	color: var(--neutral-white);
	background: var(--secondary);
	border-color: var(--secondary);
	border-radius: 15px;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.10);
}

.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce input.button:focus-visible,
.widget_shopping_cart .buttons a.button:focus-visible,
.wc-block-cart__submit-container .wc-block-cart__submit-button:focus-visible,
.wc-block-components-checkout-place-order-button:focus-visible,
.wc-block-components-totals-coupon__button:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
	border-radius: 15px;
}

/* Uitgeschakeld of bezig met laden: geen hover-effect */
.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt.disabled,
.woocommerce a.button.disabled,
.woocommerce a.button.loading {
	opacity: 0.5;
	cursor: not-allowed;
	background: var(--primary);
	border-color: var(--primary);
	border-radius: 12px 18px 12px 12px;
}

/* Mini-winkelwagen: "Afrekenen" gevuld, "Bekijk winkelwagen" outline.
   GeneratePress zet hier via #wc-mini-cart witte tekst op alle knoppen
   (Customizer-kleuren), dus deze regels hebben het ID nodig. */
#wc-mini-cart .woocommerce-mini-cart__buttons a.button:not(.checkout) {
	color: var(--primary);
	background: transparent;
	border-color: var(--primary);
}

#wc-mini-cart .woocommerce-mini-cart__buttons a.button:not(.checkout):hover,
#wc-mini-cart .woocommerce-mini-cart__buttons a.button:not(.checkout):focus,
#wc-mini-cart .woocommerce-mini-cart__buttons a.button:not(.checkout):active {
	color: var(--secondary);
	background: transparent;
	border-color: var(--secondary);
}

#wc-mini-cart .woocommerce-mini-cart__buttons a.button.checkout,
#wc-mini-cart .woocommerce-mini-cart__buttons a.button.checkout:hover,
#wc-mini-cart .woocommerce-mini-cart__buttons a.button.checkout:focus {
	color: var(--neutral-white);
}

/* "Bekijk winkelwagen"-link die verschijnt na toevoegen */
.woocommerce a.added_to_cart {
	display: inline-block;
	margin-left: 12px;
	padding-top: 14px;
	color: var(--primary);
	font-weight: bold;
}

/* Producttabs: geen blauwe link en losse WooCommerce-hoekjes */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--neutral-white);
	border-color: var(--neutral-lightest);
	border-radius: 12px 18px 0 0;
}

.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 a {
	color: var(--secondary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--primary);
}


/* ----------------------------------------------------------
   8. WooCommerce: productoverzicht
   Categoriepagina's, shop en gerelateerde producten
   ---------------------------------------------------------- */

/* Kruimelpad */
.woocommerce .woocommerce-breadcrumb {
	font-size: 16px;
	color: var(--neutral-dark);
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--neutral-dark);
}

.woocommerce .woocommerce-breadcrumb a:hover {
	color: var(--primary);
}

/* Productkaart */
.woocommerce ul.products li.product {
	padding: 0 24px 30px;
	background: var(--neutral-white);
	border-radius: 12px 18px 12px 12px;
	box-shadow: 0px 5px 10px 5px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: transform 0.2s ease-in-out;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	margin-bottom: 0;
	color: var(--neutral-darkest);
	text-decoration: none;
}

/* Foto over de volle kaartbreedte, 4:3 */
.woocommerce ul.products li.product .wc-product-image {
	margin: 0 -24px;
}

.woocommerce ul.products li.product .inside-wc-product-image {
	position: relative;
	display: block;
	width: 100%;
}

.woocommerce ul.products li.product .wc-product-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
}

/* Titel, omschrijving en prijs */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 24px 0 0;
	padding: 0;
	font-size: clamp(1.24rem, 0.59vi + 1.13rem, 1.46rem);
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--neutral-darkest);
	transition: color 0.2s ease-in-out;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:hover .woocommerce-loop-product__title {
	color: var(--primary);
}

.woocommerce ul.products li.product .woocommerce-product-details__short-description {
	margin-top: 12px;
	line-height: 1.5;
	color: var(--neutral-darkest);
}

.woocommerce ul.products li.product .woocommerce-product-details__short-description p {
	margin-bottom: 0;
}

.woocommerce ul.products li.product .price {
	margin: 18px 0 24px;
	font-size: 18px;
	font-weight: bold;
	color: var(--neutral-darkest);
}

/* Knop altijd onderaan de kaart */
.woocommerce ul.products li.product .button {
	margin-top: auto;
	align-self: flex-start;
}

/* Mandje-icoon in de bestelknoppen (Font Awesome 5, shopping-basket) */
.woocommerce a.add_to_cart_button::before,
.woocommerce button.single_add_to_cart_button::before {
	content: "";
	flex: none;
	width: 20px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M576 216v16c0 13.255-10.745 24-24 24h-8l-26.113 182.788C514.509 462.435 494.257 480 470.37 480H105.63c-23.887 0-44.139-17.565-47.518-41.212L32 256h-8c-13.255 0-24-10.745-24-24v-16c0-13.255 10.745-24 24-24h67.341l106.78-146.821c10.395-14.292 30.407-17.453 44.701-7.058 14.293 10.395 17.453 30.408 7.058 44.701L170.477 192h235.046L326.12 82.821c-10.395-14.292-7.234-34.306 7.059-44.701 14.291-10.395 34.306-7.235 44.701 7.058L484.659 192H552c13.255 0 24 10.745 24 24zM312 392V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm112 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm-224 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M576 216v16c0 13.255-10.745 24-24 24h-8l-26.113 182.788C514.509 462.435 494.257 480 470.37 480H105.63c-23.887 0-44.139-17.565-47.518-41.212L32 256h-8c-13.255 0-24-10.745-24-24v-16c0-13.255 10.745-24 24-24h67.341l106.78-146.821c10.395-14.292 30.407-17.453 44.701-7.058 14.293 10.395 17.453 30.408 7.058 44.701L170.477 192h235.046L326.12 82.821c-10.395-14.292-7.234-34.306 7.059-44.701 14.291-10.395 34.306-7.235 44.701 7.058L484.659 192H552c13.255 0 24 10.745 24 24zM312 392V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm112 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24zm-224 0V280c0-13.255-10.745-24-24-24s-24 10.745-24 24v112c0 13.255 10.745 24 24 24s24-10.745 24-24z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Uitverkocht: label op de foto, rustigere foto, outline-knop */
.woocommerce ul.products li.product.outofstock .inside-wc-product-image::after {
	content: "Uitverkocht";
	position: absolute;
	top: 18px;
	left: 18px;
	padding: 6px 12px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.5;
	color: var(--primary-lightest);
	background: var(--primary-darkest);
	border-radius: 30px;
}

.woocommerce ul.products li.product.outofstock .wc-product-image img {
	filter: saturate(0.6);
}

.woocommerce ul.products li.product.outofstock .button {
	color: var(--primary);
	background: transparent;
	border-color: var(--primary);
}

.woocommerce ul.products li.product.outofstock .button:hover {
	color: var(--secondary);
	background: transparent;
	border-color: var(--secondary);
}

@media (max-width: 767px) {
	.woocommerce ul.products li.product {
		padding: 0 18px 18px;
	}

	.woocommerce ul.products li.product .wc-product-image {
		margin: 0 -18px;
	}

	.woocommerce ul.products li.product:hover {
		transform: none;
	}
}


/* ----------------------------------------------------------
   9. Accordion en FAQ
   Details-blokken, accordions en Rank Math FAQ zien er gelijk uit
   ---------------------------------------------------------- */

.accordion-toggle, details > summary {
	border-radius: 12px;
	margin-bottom: 6px;
	padding: 12px 0px;
	border-style: solid;
	font-weight: bold;
}

.accordion-toggle:after, summary:after {
	content: '\002B';
	color: var(--primary);
	font-weight: bold;
	float: right;
}

.accordion-toggle.toggle-open:after, details[open] summary:after {
	content: "\2212";
}

details summary::-webkit-details-marker,
details summary::marker {
	display: none;
	content: "";
}

.accordion-toggle {
	cursor: pointer;
}

.accordion-container {
	display: none;
	margin-bottom: 12px;
}

.accordion-container, details > p {
	color: var(--neutral-darkest);
}

.accordion-container.toggle-open {
	display: block;
}

/* Rank Math FAQ */
#rank-math-faq .rank-math-list {
	margin-top: 0;
}

#rank-math-faq .rank-math-list-item {
	margin-bottom: 6px;
	padding: 0;
	border: 0;
}

#rank-math-faq .rank-math-question {
	position: relative;
	display: block;
	margin: 0;
	padding: 12px 0;
	font-size: inherit;
	font-weight: bold;
	letter-spacing: 0;
}

#rank-math-faq .rank-math-question strong {
	font-weight: inherit;
}

#rank-math-faq .rank-math-answer {
	color: var(--neutral-darkest);
	letter-spacing: 0;
	padding: 0 0 12px;
}

#rank-math-faq .rank-math-answer > :first-child {
	margin-top: 0;
}

#rank-math-faq .rank-math-answer > :last-child {
	margin-bottom: 0;
}

#rank-math-faq .rank-math-answer p {
	margin-bottom: 0;
}


/* ----------------------------------------------------------
   9b. Accordion als witte kaarten
   Vraag en antwoord vormen samen één wit vak; het plus/min-teken
   staat in een lichtroze cirkel. Tokens uit het design system:
   neutral-white, primary-lightest, primary, radius 12/18, space 12/18.
   ---------------------------------------------------------- */

.accordion-toggle {
	position: relative;
	display: block;
	margin: 0 0 12px;
	padding: 18px 66px 18px 18px;
	background: var(--neutral-white, #fff);
	border: 0;
	border-radius: 12px 18px 12px 12px;
	transition: border-radius .2s ease-in-out;
}

.accordion-toggle::after {
	content: '\002B';
	position: absolute;
	top: 50%;
	right: 18px;
	transform: translateY(-50%);
	float: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--primary-lightest, #f5e8e8);
	color: var(--primary, #9d164b);
	font-weight: 700;
	line-height: 1;
}

.accordion-toggle.toggle-open {
	margin-bottom: 0;
	border-radius: 12px 18px 0 0;
}

.accordion-toggle.toggle-open::after {
	content: '\2212';
}

.accordion-toggle:focus-visible {
	outline: 2px solid var(--primary, #9d164b);
	outline-offset: 3px;
}

.accordion-container {
	margin: 0 0 12px;
	padding: 0 18px 18px;
	background: var(--neutral-white, #fff);
	border-radius: 0 0 12px 12px;
}

.accordion-container > :last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.accordion-toggle {
		transition: none;
	}
}


/* ----------------------------------------------------------
   10. Formulieren
   Werkt automatisch op alle Contact Form 7-formulieren (.wpcf7).
   Andere formulieren: zet de class  bk-form  op het <form> of een
   wrapper. Kleuren uit het design system.
   ---------------------------------------------------------- */

.wp-block-contact-form-7-contact-form-selector,
.wpcf7 {
	width: 100%;
}

/* Labels en ruimte tussen velden */
:is(.wpcf7, .bk-form) label {
	display: block;
	margin: 0 0 20px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--secondary);
}

/* "> " is nodig: CF7 geeft het vinkjesblok zelf ook de class "optional" */
:is(.wpcf7, .bk-form) label > .required {
	font-weight: 400;
	font-size: 0.85em;
	color: var(--primary);
}

:is(.wpcf7, .bk-form) label > .optional,
:is(.wpcf7, .bk-form) label > .help {
	font-weight: 400;
	font-size: 0.85em;
	color: var(--neutral-dark);
}

:is(.wpcf7, .bk-form) .wpcf7-form-control-wrap {
	display: block;
	margin-top: 6px;
}

/* Tekstvelden, e-mail, telefoon, nummer, datum, select, textarea */
:is(.wpcf7, .bk-form) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], select, textarea) {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 14px;
	font: inherit;
	font-size: 17px; /* 16px of meer voorkomt inzoomen op iPhone */
	font-weight: 400;
	line-height: 1.4;
	color: var(--secondary);
	background-color: var(--neutral-white);
	border: 1.5px solid var(--neutral); /* 4,0:1 op wit */
	border-radius: 6px 12px 12px 12px;
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

:is(.wpcf7, .bk-form) textarea {
	min-height: 130px;
	resize: vertical;
}

:is(.wpcf7, .bk-form) :is(input, textarea)::placeholder {
	color: var(--neutral-dark);
	opacity: 1;
}

:is(.wpcf7, .bk-form) :is(input, select, textarea):hover {
	border-color: var(--neutral-dark);
}

:is(.wpcf7, .bk-form) :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 1px var(--primary), 0 0 0 5px rgba(157, 22, 75, 0.15);
}

/* Keuzelijst met eigen pijltje */
:is(.wpcf7, .bk-form) select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 46px;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%239D164B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 9px;
}

/* Foto-upload */
:is(.wpcf7, .bk-form) input[type="file"] {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 18px;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	color: var(--neutral-dark);
	background-color: var(--tertiary);
	border: 2px dashed var(--neutral);
	border-radius: 6px 12px 12px 12px;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

:is(.wpcf7, .bk-form) input[type="file"]:hover,
:is(.wpcf7, .bk-form) input[type="file"]:focus {
	outline: none;
	border-color: var(--primary);
	background-color: var(--neutral-white);
}

/* De knop in het uploadveld (moderne browsers) */
:is(.wpcf7, .bk-form) input[type="file"]::file-selector-button {
	margin: 0 14px 0 0;
	padding: 12px 20px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--neutral-white);
	background-color: var(--primary);
	border: 0;
	border-radius: 12px 18px 12px 12px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

:is(.wpcf7, .bk-form) input[type="file"]:hover::file-selector-button {
	background-color: var(--secondary);
}

/* Zelfde knop voor oudere Safari-versies (aparte regel, anders negeert de browser alles) */
:is(.wpcf7, .bk-form) input[type="file"]::-webkit-file-upload-button {
	margin: 0 14px 0 0;
	padding: 12px 20px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	color: var(--neutral-white);
	background-color: var(--primary);
	border: 0;
	border-radius: 12px 18px 12px 12px;
	cursor: pointer;
}

/* Voorbeeld van de gekozen foto (alleen met het optionele script) */
.bk-upload-preview {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
	font-size: 15px;
	font-weight: 400;
	color: var(--secondary);
}

.bk-upload-preview img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 6px;
}

/* Vinkjes en keuzerondjes (CF7 acceptance, checkbox, radio) */
:is(.wpcf7, .bk-form) .wpcf7-list-item {
	display: block;
	margin: 6px 0 0;
}

:is(.wpcf7, .bk-form) .wpcf7-list-item label,
.bk-form label.bk-check {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

:is(.wpcf7, .bk-form) :is(input[type="checkbox"], input[type="radio"]) {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	margin: 0;
	background-color: var(--neutral-white);
	border: 1.5px solid var(--neutral);
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

:is(.wpcf7, .bk-form) input[type="radio"] {
	border-radius: 50%;
}

:is(.wpcf7, .bk-form) :is(input[type="checkbox"], input[type="radio"]):hover {
	border-color: var(--primary);
}

:is(.wpcf7, .bk-form) :is(input[type="checkbox"], input[type="radio"]):focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
	box-shadow: none;
}

:is(.wpcf7, .bk-form) input[type="checkbox"]:checked {
	border-color: var(--primary);
	background-color: var(--primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1.5 5.5l4 4 7-8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 14px 11px;
}

:is(.wpcf7, .bk-form) input[type="radio"]:checked {
	border-color: var(--primary);
	background-image: radial-gradient(var(--primary) 40%, transparent calc(40% + 1px));
}

:is(.wpcf7, .bk-form) .wpcf7-list-item-label {
	padding-top: 1px;
	color: var(--secondary);
}

:is(.wpcf7, .bk-form) .wpcf7-list-item-label a {
	color: var(--primary);
	text-decoration: underline;
}

/* Verstuurknop: dezelfde knop als de rest van de site */
:is(.wpcf7, .bk-form) :is(input[type="submit"], button[type="submit"]) {
	margin-top: 8px;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--neutral-white);
	background-color: var(--primary);
	border-color: var(--primary);
}

:is(.wpcf7, .bk-form) :is(input[type="submit"], button[type="submit"]):hover {
	background-color: var(--secondary);
	border-color: var(--secondary);
}

:is(.wpcf7, .bk-form) :is(input[type="submit"], button[type="submit"]):disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Foutmeldingen en bevestiging */
.wpcf7 .wpcf7-not-valid {
	border-color: var(--warning) !important;
}

.wpcf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 14px;
	font-weight: 400;
	color: var(--warning-darker); /* 10:1 */
}

.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 16px;
	font-size: 15px;
	color: var(--secondary);
	border: 1.5px solid var(--neutral);
	border-radius: 6px 12px 12px 12px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: var(--warning);
	background-color: var(--warning-lightest);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--succes-dark);
	background-color: var(--succes-lightest);
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
	border-color: var(--warning-darker);
	background-color: var(--warning-lighter);
}

/* Mobiel */
@media (max-width: 600px) {
	:is(.wpcf7, .bk-form) :is(input[type="submit"], button[type="submit"]) {
		width: 100%;
	}

	:is(.wpcf7, .bk-form) input[type="file"] {
		padding: 14px;
	}

	:is(.wpcf7, .bk-form) input[type="file"]::file-selector-button {
		display: block;
		width: 100%;
		margin: 0 0 10px;
	}
}


/* ----------------------------------------------------------
   11. Reviews
   Masonry die GenerateBlocks niet in de UI heeft
   ---------------------------------------------------------- */

.review-masonry {
	column-count: 3;
}

.review-masonry > .gb-loop-item {
	break-inside: avoid;
}

/* Speelse variatie in een cyclus van 3 */
.review-masonry > .gb-loop-item:nth-child(3n+1) {
	transform: rotate(-0.7deg) translateY(-2px);
}

.review-masonry > .gb-loop-item:nth-child(3n+2) {
	transform: rotate(0.8deg) translateY(3px);
}

.review-masonry > .gb-loop-item:nth-child(3n) {
	transform: rotate(-0.3deg) translateY(-1px);
}

/* Subtiele reactie op hover */
.review-masonry > .gb-loop-item:hover {
	transform: rotate(0deg) translateY(-4px);
	z-index: 2;
}

@media (max-width: 1024px) {
	.review-masonry {
		column-count: 2;
	}
}

@media (max-width: 767px) {
	.review-masonry {
		column-count: 1;
	}

	.review-masonry > .gb-loop-item:nth-child(3n+1),
	.review-masonry > .gb-loop-item:nth-child(3n+2),
	.review-masonry > .gb-loop-item:nth-child(3n),
	.review-masonry > .gb-loop-item:hover {
		transform: none;
	}
}


/* ----------------------------------------------------------
   12. Blog
   Brede beelden, gecentreerde leeskolom van 720px
   ---------------------------------------------------------- */

/* Leeskolom */
body.single-post :is(.entry-content, .dynamic-entry-content) > :is(p, h2, h3, h4, h5, h6, ul, ol, blockquote, .wp-block-rank-math-toc-block),
body.single-post :is(.entry-content, .dynamic-entry-content) #rank-math-toc,
body.single-post :is(.entry-content, .dynamic-entry-content) #rank-math-faq,
body.single-post .gb-element-7a803764 h1 {
	max-width: 720px;
	margin-inline: auto;
}

body.single-post :is(.entry-content, .dynamic-entry-content) > :first-child {
	margin-top: 0;
}

/* Koppen */
body.single-post :is(.entry-content, .dynamic-entry-content) h2 {
	margin-top: 48px;
	margin-bottom: 16px;
	scroll-margin-top: 80px;
	text-wrap: balance;
}

body.single-post :is(.entry-content, .dynamic-entry-content) h3 {
	margin-top: 32px;
	margin-bottom: 12px;
	scroll-margin-top: 80px;
	text-wrap: balance;
}

/* Tekst */
body.single-post :is(.entry-content, .dynamic-entry-content) p {
	text-wrap: pretty;
}

/* Lijsten */
body.single-post :is(.entry-content, .dynamic-entry-content) > :is(ul, ol) {
	box-sizing: border-box;
	padding-left: 1.5em;
}

body.single-post :is(.entry-content, .dynamic-entry-content) li {
	margin-bottom: 8px;
}

body.single-post :is(.entry-content, .dynamic-entry-content) li:last-child {
	margin-bottom: 0;
}

body.single-post :is(.entry-content, .dynamic-entry-content) li::marker {
	color: var(--primary);
}

/* Afbeeldingen: altijd volle artikelbreedte, ruim rondom */
body.single-post :is(.entry-content, .dynamic-entry-content) .wp-block-image,
body.single-post :is(.entry-content, .dynamic-entry-content) .wp-block-gallery {
	margin-top: 36px;
	margin-bottom: 24px;
}

body.single-post :is(.entry-content, .dynamic-entry-content) .wp-block-image img,
body.single-post :is(.entry-content, .dynamic-entry-content) .wp-block-gallery img {
	width: 100% !important;
	height: auto !important;
	border-radius: 12px;
	box-shadow: 0px 10px 24px 0px rgba(0, 0, 0, 0.06);
}

body.single-post :is(.entry-content, .dynamic-entry-content) figcaption {
	margin-top: 8px;
	font-size: 15px;
	color: var(--neutral-dark);
	text-align: center;
}

/* Inhoudsopgave (Rank Math) */
body.single-post #rank-math-toc {
	margin-inline: auto;
	padding: 20px 22px;
	background: var(--neutral-white);
	border: 1.5px solid rgba(157, 22, 75, 0.15);
	border-radius: 12px 18px 12px 12px;
	box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.05);
}

body.single-post #rank-math-toc h2 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 1rem;
	letter-spacing: 0;
	font-weight: bold;
	color: var(--primary-darkest);
}

#rank-math-toc nav ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
	display: grid;
	gap: 2px;
}

body.single-post #rank-math-toc nav ul li a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 9px 12px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--secondary);
	text-decoration: none;
	border-radius: 10px 14px 10px 10px;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

body.single-post #rank-math-toc nav ul li a:before {
	content: '';
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	margin-top: 8px;
	border-top: 2px solid var(--primary);
	border-right: 2px solid var(--primary);
	border-radius: 2px;
	transform: rotate(45deg);
}

body.single-post #rank-math-toc nav ul li a:hover,
body.single-post #rank-math-toc nav ul li a:focus-visible {
	background-color: rgba(157, 22, 75, 0.08);
	color: var(--primary);
	transform: translateX(2px);
}

body.single-post #rank-math-toc nav ul li a:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 0;
}

/* Veelgestelde vragen (Rank Math), vragen zijn H3-elementen */
body.single-post #rank-math-faq .rank-math-list {
	margin-top: 0;
}

body.single-post #rank-math-faq .rank-math-list-item {
	margin-bottom: 0;
	padding: 0;
	border: 0;
}

body.single-post #rank-math-faq .rank-math-question {
	margin: 0;
	padding: 28px 0 4px;
	font-size: inherit;
	font-weight: bold;
	letter-spacing: 0;
	color: var(--primary-darkest);
	scroll-margin-top: 80px;
}

body.single-post #rank-math-faq .rank-math-list-item:first-child .rank-math-question {
	padding-top: 0;
}

body.single-post #rank-math-faq .rank-math-answer {
	margin: 0;
	padding: 0 0 24px;
	letter-spacing: 0;
	color: var(--secondary);
}

body.single-post #rank-math-faq .rank-math-list-item:last-child .rank-math-answer {
	padding-bottom: 0;
}

body.single-post #rank-math-faq .rank-math-answer > :first-child {
	margin-top: 0;
}

body.single-post #rank-math-faq .rank-math-answer > :last-child {
	margin-bottom: 0;
}

body.single-post #rank-math-faq .rank-math-answer p {
	margin-bottom: 0;
}

/* Mobiel: subtiel smallere teksten, beelden vol breedte */
@media (max-width: 767px) {
	body.single-post :is(.entry-content, .dynamic-entry-content) > :is(p, h2, h3, h4, h5, h6, ul, ol, blockquote),
	body.single-post .gb-element-7a803764 h1 {
		max-width: 100%;
		padding-inline: 10px;
	}

	body.single-post :is(.entry-content, .dynamic-entry-content) #rank-math-toc {
		max-width: 100%;
	}

	body.single-post :is(.entry-content, .dynamic-entry-content) h2 {
		margin-top: 40px;
	}

	body.single-post :is(.entry-content, .dynamic-entry-content) .wp-block-image,
	body.single-post :is(.entry-content, .dynamic-entry-content) .wp-block-gallery {
		margin-top: 28px;
	}

	body.single-post #rank-math-toc {
		padding: 16px 14px;
	}

	body.single-post #rank-math-toc nav ul li a {
		font-size: 15px;
		padding: 8px 10px;
	}
}


/* ----------------------------------------------------------
   13. Genummerde lijsten
   Wijnrood cijfer in een lichtroze cirkel met een witte rand van
   1,5px, net als de knoppen. Geldt voor het WordPress-lijstblok en
   een GenerateBlocks-element met tag ol. Een lijst gewoon houden?
   Geef de ol de class  bk-plain
   WooCommerce-lijsten (productgalerij, blokken) doen niet mee.
   ---------------------------------------------------------- */

body :is(.entry-content, .dynamic-entry-content) ol:not(.bk-plain, .comment-list, .flex-control-nav, [class*="wc-block"]),
body ol.gb-element:not(.bk-plain) {
	list-style: none;
	counter-reset: bk-step;
	margin-top: 12px;
	margin-left: 0;
	padding-left: 0;
}

body :is(.entry-content, .dynamic-entry-content) ol:not(.bk-plain, .comment-list, .flex-control-nav, [class*="wc-block"]) > li,
body ol.gb-element:not(.bk-plain) > li {
	position: relative;
	counter-increment: bk-step;
	list-style: none;
	min-height: 30px;
	padding-left: 42px;
	margin-bottom: 12px;
}

body :is(.entry-content, .dynamic-entry-content) ol:not(.bk-plain, .comment-list, .flex-control-nav, [class*="wc-block"]) > li:last-child,
body ol.gb-element:not(.bk-plain) > li:last-child {
	margin-bottom: 0;
}

/* Het cijfer: zonder punt, gecentreerd op de eerste tekstregel */
body :is(.entry-content, .dynamic-entry-content) ol:not(.bk-plain, .comment-list, .flex-control-nav, [class*="wc-block"]) > li::before,
body ol.gb-element:not(.bk-plain) > li::before {
	content: counter(bk-step);
	position: absolute;
	top: calc((1.5em - 30px) / 2);
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	font-size: 15px;
	font-weight: bold;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--primary);
	background: var(--primary-lighter);
	border: 1.5px solid var(--neutral-white);
	border-radius: 50%;
}

/* Blogs houden op mobiel 10px zijruimte, net als de alinea's */
@media (max-width: 767px) {
	body.single-post :is(.entry-content, .dynamic-entry-content) > ol:not(.bk-plain, .comment-list, .flex-control-nav, [class*="wc-block"]) {
		padding-left: 10px;
	}
}
