/* ═══════════════ ZILTE ZUSJES — laag 6: reparaties ═══════════════
   Alles wat de templates uitpoetsen maar wat NERGENS in de andere lagen
   een selector had. Twee soorten:

   1. Klassen die het concept wel kent maar die in global.css uitsluitend
      binnen een donorblok (.mc-xx) staan en buiten zo'n blok gebruikt
      worden (bijv. .section--white op het blogarchief en de 404).
   2. Klassen die het thema zelf verzon (WooCommerce-eigen markup,
      wrappers, iconen) en die nooit een regel hebben gekregen. Sinds de
      WooCommerce-stylesheets uitstaan levert Woo zelf niets meer aan,
      dus .screen-reader-text en .star-rating moeten hier staan.

   Volgorde: na woocommerce.css, vóór mobile-fixes.css. Geen !important.
   ══════════════════════════════════════════════════════════════════ */

/* ───────────── 1. Toegankelijkheid ─────────────
   Woo én dit thema gebruiken .screen-reader-text; zonder regel staat de
   skip-link ("Naar de inhoud") zichtbaar boven elke pagina. */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link.screen-reader-text:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 10000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	clip: auto;
	clip-path: none;
	border-radius: var(--radius-btn, 999px);
	background: var(--ink, #2C2C2C);
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}

/* ───────────── 2. Sectiemodifier uit het concept ─────────────
   .section--white bestaat alleen binnen .mc-h2b; het blogarchief, de 404
   en Over ons gebruiken hem buiten dat blok. */

.section--white { background: var(--bg, #fff); }

/* ───────────── 3. Losse concept-hulpklassen buiten een donorblok ───────────── */

.btn--primary,
.btn--fill {
	background: var(--clay);
	border-color: var(--clay);
	color: #fff;
}

@media (hover: hover) and (pointer: fine) {
	.btn--primary:hover,
	.btn--fill:hover {
		background: var(--clay-deep);
		border-color: var(--clay-deep);
		color: #fff;
	}
}

/* ───────────── 4. Header- en footerdetails ───────────── */

.footer__pay {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 12px;
	letter-spacing: .06em;
	color: var(--muted);
}

.footer__paylogo {
	display: block;
	width: auto;
	height: 20px;
}

.zz-icon {
	display: block;
	flex: 0 0 auto;
}

/* ───────────── 5. Shop: wrappers rond de hookregio's ─────────────
   Lege wrappers mogen geen ruimte claimen; de pager moet centreren. */

.shop-main__notices:empty,
.shop-main__hooks:empty { display: none; }

.shop-main__notices { margin-bottom: 18px; }

.shop-main__pager {
	display: flex;
	justify-content: center;
	margin-top: clamp(28px, 4vw, 48px);
}

.shop-main__pager:empty { display: none; }

.facet--actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.facet--actions .btn { width: 100%; }

/* ───────────── 6. Productkaartraster buiten de shop (404) ───────────── */

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: clamp(16px, 2vw, 28px);
}

/* ───────────── 7. Over ons: tekstbanner zonder beeld ─────────────
   .banner rekent op een .art als achtergrond; de CTA onderaan Over ons
   heeft er geen, dus die krijgt hier een eigen, rustige variant. */

.banner--plain {
	min-height: 0;
	background: var(--cream);
	padding: clamp(56px, 7vw, 92px) var(--pad);
}

.banner__in {
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: center;
	align-self: center;
	width: 100%;
}

.banner__txt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 56ch;
	text-align: center;
}

.banner--plain .banner__txt h2 { color: var(--ink); }
.banner--plain .banner__txt p { color: var(--muted); line-height: 1.8; }

/* ───────────── 8. Ingrediëntkaart met foto ───────────── */

.icard__art {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--r-m, 14px);
	margin-bottom: 4px;
}

.icard__art .art__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ───────────── 9. WooCommerce-sterren ─────────────
   De stylesheets van Woo staan uit, dus ook het star-lettertype. Hier een
   eigen variant met ★, zodat er geen kale tekst "Gewaardeerd 5 uit 5"
   meer in de beoordelingen staat. */

.star-rating {
	position: relative;
	display: inline-block;
	width: 5.9em;
	height: 1.3em;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: .16em;
	white-space: nowrap;
	color: var(--clay-soft, #C9A597);
	vertical-align: middle;
}

.star-rating::before {
	content: "★★★★★";
	position: absolute;
	top: 0;
	left: 0;
}

.star-rating span {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	overflow: hidden;
	font-size: 0;
	color: transparent;
}

.star-rating span::before {
	content: "★★★★★";
	display: block;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: .16em;
	white-space: nowrap;
	color: var(--clay, #A87C6D);
}

.star-rating span strong { font-size: 0; }

/* ───────────── 10. Beoordelingen en het beoordelingsformulier ─────────────
   Woo rendert deze markup zelf; zonder Woo-CSS is het een platte lijst. */

.zz-reviewform { margin-top: clamp(28px, 4vw, 44px); }

.zz-reviewform__title {
	margin: 0 0 16px;
	font-size: 15px;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
}

.zz-reviewform__title small { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; }

.comment-respond {
	border: 1px solid var(--line-clay);
	border-radius: var(--radius-card, 14px);
	background: #fff;
	padding: clamp(20px, 2.6vw, 32px);
}

.comment-form { display: block; }
.comment-form p { margin: 0 0 16px; }

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 50px;
	padding: 13px 16px;
	border: 1px solid var(--line-clay);
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
}

.comment-form textarea { min-height: 130px; resize: vertical; }

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--clay-soft);
	outline-offset: 1px;
	border-color: var(--clay);
}

.comment-notes,
.required-field-message { font-size: 13px; color: var(--muted); }
.required { color: var(--clay-deep); }

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.comment-form-cookies-consent input { margin-top: 4px; }

.comment-form-cookies-consent label {
	margin: 0;
	font-size: 13px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--muted);
}

.comment-form-rating { display: block; }

.comment-form .form-submit { margin: 0; }

.comment-form .form-submit input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border: 1px solid var(--ink);
	border-radius: var(--radius-btn, 999px);
	background: var(--ink);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	letter-spacing: .04em;
	cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
	.comment-form .form-submit input[type="submit"]:hover {
		background: var(--clay);
		border-color: var(--clay);
	}
}

.comment_container {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.comment_container .avatar {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	flex: 0 0 auto;
}

.comment-text { flex: 1; min-width: 0; }
.comment-text .meta { margin: 8px 0 6px; font-size: 13px; color: var(--muted); }
.comment-text .meta strong { color: var(--ink); font-weight: 700; }
.comment-text .description p { margin: 0 0 8px; line-height: 1.8; }

/* ───────────── 11. Winkelwagen, afrekenen en account ───────────── */

.woowrap { width: 100%; }

.zz-woo .cart-empty,
.zz-woo .wc-empty-cart-message {
	margin: 0 0 18px;
	text-align: center;
	font-size: 17px;
	color: var(--muted);
}

.zz-woo .return-to-shop {
	display: flex;
	justify-content: center;
	margin: 0;
}

.zz-woo .woocommerce form .form-row-wide { width: 100%; }

.zz-woo .woocommerce .woocommerce-form-login__rememberme,
.zz-woo .woocommerce .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--muted);
}

.zz-woo .woocommerce .lost_password {
	margin-top: 12px;
	font-size: 14px;
}

.zz-woo .woocommerce .lost_password a { color: var(--clay-deep); }

/* ───────────── 12. Zoekformulier op de 404 en de zoekpagina ───────────── */

.zz-search--page {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	max-width: 560px;
}

.zz-search--page input[type="search"] {
	flex: 1 1 240px;
	min-height: 50px;
	padding: 13px 18px;
	border: 1px solid var(--line-clay);
	border-radius: var(--radius-btn, 999px);
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
}

.zz-search--page input[type="search"]:focus {
	outline: 2px solid var(--clay-soft);
	outline-offset: 1px;
	border-color: var(--clay);
}

/* ───────────── 13. Contactformulier ───────────── */

.zz-contact-form input[type="text"],
.zz-contact-form input[type="email"],
.zz-contact-form input[type="tel"],
.zz-contact-form textarea,
.zz-contact-form select {
	width: 100%;
	min-height: 50px;
	padding: 13px 16px;
	border: 1px solid var(--line-clay);
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
}

.zz-contact-form textarea { min-height: 140px; resize: vertical; }

/* ───────────── 14. Productkaart: beoordelingsregel buiten de shop ─────────────
   .product-card__rating stond alleen onder .zz-shop; de home en de 404
   gebruiken dezelfde kaart zonder die wrapper. */

.product-card__rating {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 8px;
	font-size: 11.5px;
	color: var(--muted);
}

.product-card__rating .stars {
	color: var(--clay);
	letter-spacing: .2em;
	font-size: 11px;
}

/* ───────────── 15. Knopvarianten en kruimelpad buiten .zz-pdp ─────────────
   De shop en de categoriepagina gebruiken btn--clay/--dark/--ghost/--sm en
   .crumbs, maar die stonden alleen onder de PDP-scope. Basisversies hier;
   de PDP-regels blijven door hun hogere specificiteit gewoon winnen. */

.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--clay { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn--ghost { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.btn--sm { padding: 11px 22px; font-size: .73rem; }

@media (hover: hover) and (pointer: fine) {
	.btn--dark:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; }
	.btn--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); color: #fff; }
	.btn--ghost:hover { background: var(--ink); color: #fff; }
}

.crumbs {
	font-size: 11.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.crumbs a { transition: color .25s var(--ease); }
.crumbs a:hover { color: var(--clay); }
.crumbs span { color: var(--ink); }
.crumbs i { font-style: normal; margin: 0 8px; opacity: .5; }
.crumbs-bar { padding: 18px var(--pad) 0; }

/* ───────────── 16. Ontbrekende beeldvlakken uit de reeks ─────────────
   De kaarten wisselen .art--a t/m .art--g af; f en g bestonden alleen
   binnen een donorblok of helemaal niet. */

.art--f {
	background:
		radial-gradient(100% 80% at 25% 15%, #FFFAF7 0%, transparent 58%),
		radial-gradient(90% 85% at 85% 90%, rgb(201 138 75 / .22) 0%, transparent 62%),
		linear-gradient(140deg, #F7EAE4 0%, #E8D6CC 100%);
}

.art--g {
	background:
		radial-gradient(110% 85% at 70% 18%, #FFFFFF 0%, transparent 55%),
		linear-gradient(200deg, #F2E0DA 0%, #DCC6BB 100%);
}

/* ───────────── 17. Trapsgewijze reveal-vertraging ─────────────
   .rv-d1 … .rv-d6 werden alleen binnen .mc-h12a en .zz-pdp-alt vertraagd. */

.rv-d1 { transition-delay: .06s; }
.rv-d2 { transition-delay: .12s; }
.rv-d3 { transition-delay: .18s; }
.rv-d4 { transition-delay: .24s; }
.rv-d5 { transition-delay: .30s; }
.rv-d6 { transition-delay: .36s; }

/* ───────────── 18. Woo-beoordelingen: regelopmaak en sterrenkiezer ───────────── */

.woocommerce-review__author { font-weight: 700; color: var(--ink); }
.woocommerce-review__dash { margin: 0 4px; color: var(--muted); }
.woocommerce-review__published-date { color: var(--muted); }

.woocommerce-review__verified {
	margin-left: 6px;
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--clay-deep);
}

.comment-form-author,
.comment-form-email,
.comment-form-comment { margin: 0 0 16px; }

.input-text { max-width: 100%; }

.comment-form-rating .stars {
	display: inline-flex;
	gap: 6px;
	margin: 0 0 4px;
}

.comment-form-rating .stars a {
	position: relative;
	display: inline-block;
	width: 22px;
	height: 22px;
	font-size: 0;
	color: var(--clay-soft);
	text-decoration: none;
}

.comment-form-rating .stars a::before {
	content: "★";
	font-size: 20px;
	line-height: 1;
	color: inherit;
}

.comment-form-rating .stars:hover a { color: var(--clay); }
.comment-form-rating .stars a:hover ~ a { color: var(--clay-soft); }
.comment-form-rating .stars.selected a { color: var(--clay); }
.comment-form-rating .stars.selected a.active ~ a { color: var(--clay-soft); }

/* ───────────── 19. Los artikel (single.php) ─────────────
   .zz-article en .zz-article__media hadden nergens een regel: de
   uitgelichte afbeelding stond op ware grootte boven de tekst. */

.zz-article .zz-prose {
	max-width: 74ch;
	margin-inline: auto;
}

.zz-article__media {
	display: block;
	position: relative;
	width: 100%;
	max-width: 960px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-card, 14px);
	margin: 0 auto clamp(26px, 3.4vw, 46px);
}

.zz-article__media .art__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ───────────── 20. Verlanglijst ─────────────
   .grid-products stond alleen onder .zz-pdp; .shop-empty nergens. */

.grid-products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--gap, 16px);
}

.grid-products .product-card { flex: none; width: auto; }

@media (max-width: 1100px) {
	.grid-products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
	.grid-products { grid-template-columns: repeat(2, 1fr); }
}

.shop-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: clamp(30px, 5vw, 60px) 0;
	text-align: center;
	color: var(--muted);
}

.shop-empty h2 { margin: 0; }
.shop-empty p { margin: 0; }

/* ───────────── 21. Inloggen en registreren (Woo-kolommen) ─────────────
   Woo zet login en registratie naast elkaar met u-columns/col2-set; zonder
   Woo-CSS stapelden die over de volle breedte. */

.zz-woo .u-columns.col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(24px, 3vw, 44px);
	align-items: start;
}

@media (max-width: 820px) {
	.zz-woo .u-columns.col2-set { grid-template-columns: 1fr; }
}

.zz-woo .u-columns.col2-set > div > h2 {
	margin: 0 0 16px;
	font-size: 18px;
}

/* ───────────── 22. Vergelijkingstabel (shortcode, nog ongebruikt) ─────────────
   De tabel heeft min-width:680px; zonder scrollende wrapper duwt hij een
   telefoon uit beeld. */

.comptable {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
