/* =========================================================================
   Kiyoh review-widget.

   De iframe zelf kunnen we niet opmaken (andere herkomst), dus alles zit in
   de omlijsting: een rustige kaart in de huisstijl, gereserveerde hoogte
   zodat de pagina niet verspringt tijdens het laden, en meeschalen onder
   400px zonder horizontale scrollbalk.
   ========================================================================= */

.ml-kiyoh {
	margin: 28px 0;
	text-align: center;
}

.ml-kiyoh__title {
	margin: 0 0 14px;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--ml-ink, #1d1d1b);
}

.ml-kiyoh__frame {
	/* --ml-kiyoh-h wordt per widget meegegeven (hoogte uit de Kiyoh-code). */
	width: 100%;
	max-width: 400px;
	min-height: var(--ml-kiyoh-h, 222px);
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--ml-line, #e9e9e9);
	border-radius: var(--ml-radius, 15px);
	overflow: hidden;
}

.ml-kiyoh__frame iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	height: var(--ml-kiyoh-h, 222px);
	margin: 0;
	border: 0;
	background: transparent;
	color-scheme: light;
}

/* Productpagina: compacter, want de widget staat in de fotokolom. */
.single-product .ml-kiyoh {
	margin: 65px 0 0;
}

.single-product .ml-kiyoh__title {
	font-size: 17px;
}

/* Categorie- en shoppagina's: ruimte houden tot de tekstblokken eronder. */
.woocommerce-shop .ml-kiyoh,
.tax-product_cat .ml-kiyoh,
.post-type-archive-product .ml-kiyoh {
	margin: 40px 0;
}

/* Checkout: strak onder de betaalmethodes, niet te veel aandacht opeisen. */
.woocommerce-checkout .ml-kiyoh {
	margin: 22px 0 4px;
}

.woocommerce-checkout .ml-kiyoh__title {
	font-size: 16px;
}

/* Bedanktpagina: eigen blok tussen de aanbevelingen en het supportblok. */
.woocommerce-order-received .ml-kiyoh {
	margin: 44px 0;
}

@media (max-width: 480px) {
	.ml-kiyoh {
		margin: 22px 0;
	}

	.ml-kiyoh__title {
		font-size: 18px;
	}
}
