/*!
 * Yaou Muziek — design-systeem (restyle o.b.v. klant-aangeleverd ontwerp).
 * Warm hout/vernis-accent (brand-500/600) op donkerbruin (brand-900) en
 * neutrale stone-grijzen. Grid-based, ronde kaarten, zachte schaduwen,
 * serif-koppen / sans-body, ruime witruimte. WCAG AA-streven.
 */

/* ===== 1. Fonts (self-hosted, geen Google Fonts-CDN i.v.m. AVG) ===== */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/inter/Inter-Variable-latin.woff2') format('woff2-variations'), url('../fonts/inter/Inter-Variable-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('../fonts/playfair-display/PlayfairDisplay-Variable-latin.woff2') format('woff2-variations'), url('../fonts/playfair-display/PlayfairDisplay-Variable-latin.woff2') format('woff2');
}

/* ===== 2. Design tokens ===== */

:root {
	/* Merkkleuren — aangeleverd ontwerp, vervangt het eerdere zwart/goud-palet. */
	--brand-50: #fdf8f6;
	--brand-100: #f2e8e5;
	--brand-500: #c27a5d;
	--brand-600: #a35f45;
	--brand-900: #2c1e16;

	--white: #ffffff;
	--gray-50: #fafaf9;
	--gray-200: #e7e2de;
	--gray-400: #a8a29e;
	--gray-500: #78716c;
	--gray-600: #57534e;
	--gray-900: #1c1917;

	/* Semantische aliassen. Let op contrast: brand-500 is de decoratieve
	   vlakkleur (badges/iconen/hover-vlakken, altijd i.c.m. brand-900 of witte
	   tekst erbovenop — dat combineert tot >=4.5:1). Voor tekst/links DIRECT op
	   een lichte achtergrond gebruiken we brand-600 (voldoende contrast op wit,
	   zie --color-accent-text hieronder), nooit brand-500 als tekstkleur op wit. */
	--color-primary: var(--brand-900);
	--color-secondary: var(--gray-600);
	--color-accent: var(--brand-500);
	--color-accent-text: var(--brand-600);
	--color-accent-hover: var(--brand-600);
	--color-bg: var(--white);
	--color-bg-alt: var(--gray-50);
	--color-text: var(--gray-900);
	--color-border: var(--gray-200);
	--color-white: var(--white);
	--color-success: #166534;
	--color-error: #B91C1C;

	--font-heading: 'Playfair Display', Georgia, serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;

	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-pill: 999px;
	--max-width: 1440px;
	--max-width-narrow: 1440px;

	--shadow-card: 0 1px 3px rgba(44,30,22,0.09), 0 1px 2px rgba(44,30,22,0.06);
	--shadow-card-hover: 0 20px 40px -14px rgba(44,30,22,0.28), 0 8px 16px -8px rgba(44,30,22,0.12);

	--touch-target: 44px;
	--transition-fast: 150ms ease;
	--transition-base: 250ms ease;
}

/* ===== 3. Reset ===== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}
img, picture, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

button, a, input[type="submit"], summary { cursor: pointer; }
input, select, textarea { cursor: text; }
select { cursor: pointer; }

/* Toegankelijkheid: zichtbare focus-states op alle interactieve elementen. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--color-accent-text);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

.screen-reader-text,
.yaou-skip-link {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.yaou-skip-link:focus {
	position: fixed;
	top: var(--space-3);
	left: var(--space-3);
	width: auto; height: auto;
	clip: auto;
	background: var(--brand-900);
	color: var(--white);
	padding: var(--space-3) var(--space-4);
	z-index: 200;
	border-radius: var(--radius-sm);
}

/* ===== 4. Typography ===== */

h1, h2, h3, h4, h5, h6,
.yaou-h1, .yaou-h2, .yaou-h3, .yaou-h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.15;
	color: var(--color-primary);
	margin: 0 0 var(--space-4);
}
.yaou-h1, h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); font-weight: 600; }
.yaou-h2, h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); }
.yaou-h3, h3 { font-size: 1.375rem; }
.yaou-h4, h4 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 600; }

.yaou-eyebrow {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-accent-text);
	font-weight: 600;
	margin: 0 0 var(--space-2);
}

.yaou-prose p { margin: 0 0 var(--space-4); color: var(--color-secondary); }
.yaou-prose h2 { margin-top: var(--space-7); }
.yaou-prose ul, .yaou-prose ol { margin: 0 0 var(--space-4) var(--space-5); list-style: disc; }
.yaou-prose a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

/* ===== 5. Layout ===== */

.yaou-container {
	max-width: var(--max-width);
	margin-inline: auto;
	padding-inline: var(--space-5);
}
.yaou-container--narrow { max-width: var(--max-width-narrow); }

.yaou-main { display: block; }

.yaou-page-hero {
	padding-block: var(--space-8) var(--space-6);
	border-bottom: 1px solid var(--color-border);
}
.yaou-page-content { padding-block: var(--space-7); }

/* ===== 6. Buttons ===== */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: var(--touch-target);
	padding: 0 var(--space-6);
	border-radius: var(--radius-pill);
	font-weight: 600;
	font-size: 0.9375rem;
	border: 1px solid transparent;
	transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.button--primary, .button.button--primary, a.button:not(.button--ghost) {
	background: var(--brand-600);
	color: var(--white);
}
.button--primary:hover, a.button:not(.button--ghost):hover { background: var(--brand-500); color: var(--brand-900); }
.button--ghost {
	background: transparent;
	color: var(--color-primary);
	border-color: var(--color-primary);
}
.button--ghost:hover { background: var(--color-primary); color: var(--white); }

/* ===== 7. Aankondigingsbalk ===== */

.yaou-announcement-bar {
	background: var(--brand-900);
	color: var(--brand-50);
}
.yaou-announcement-bar__inner {
	max-width: var(--max-width);
	margin-inline: auto;
	padding: var(--space-2) var(--space-5);
	text-align: center;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}
.yaou-announcement-bar a { text-decoration: underline; text-underline-offset: 2px; }
.yaou-announcement-bar a:hover { color: var(--brand-500); }

/* ===== 8. Header ===== */

.yaou-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--color-border);
}
.yaou-header__bar {
	max-width: var(--max-width);
	margin-inline: auto;
	padding-inline: var(--space-5);
	min-height: 76px;
	display: flex;
	align-items: center;
	gap: var(--space-6);
}
.yaou-header__logo { display: flex; align-items: center; min-height: var(--touch-target); }
.yaou-header__logo-text { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-primary); }
.yaou-header__logo-img { max-height: 48px; width: auto; }

.yaou-header__nav { flex: 1; display: none; }
.yaou-nav-menu { display: flex; gap: var(--space-6); }
.yaou-nav-menu li { position: relative; }
.yaou-nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	min-height: var(--touch-target);
	font-weight: 500;
	border-bottom: 2px solid transparent;
}
.yaou-nav-menu a:hover, .yaou-nav-menu .current-menu-item > a { border-color: var(--color-accent); }

/* Dropdown-submenu ("Instrumenten"): progressive enhancement met :has(), geen
   functionaliteitsverlies zonder — het item blijft dan gewoon een normale link
   en het submenu staat er direct onder (geen JS nodig op desktop). */
.yaou-nav-menu li:has(.sub-menu) > a::after {
	content: '';
	width: 12px; height: 12px;
	margin-left: var(--space-1);
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") center / contain no-repeat;
}
.yaou-nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card-hover);
	padding: var(--space-2);
	margin-top: var(--space-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
	z-index: 55;
}
.yaou-nav-menu li:hover > .sub-menu,
.yaou-nav-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.yaou-nav-menu .sub-menu li { position: static; }
.yaou-nav-menu .sub-menu a {
	display: flex;
	min-height: 40px;
	padding: 0 var(--space-3);
	border-radius: var(--radius-sm);
	border-bottom: none;
	white-space: nowrap;
}
.yaou-nav-menu .sub-menu a:hover { background: var(--color-bg-alt); border-color: transparent; }

.yaou-header__actions { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.yaou-header__icon-btn {
	position: relative;
	width: var(--touch-target);
	height: var(--touch-target);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
}
.yaou-header__icon-btn:hover { background: var(--color-bg-alt); }
.yaou-header__menu-toggle { display: inline-flex; }

.yaou-header__badge {
	position: absolute;
	top: 2px; right: 2px;
	min-width: 16px; height: 16px;
	border-radius: var(--radius-pill);
	background: var(--brand-500);
	color: var(--brand-900);
	font-size: 0.625rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-inline: 3px;
}
.yaou-header__badge:empty, .yaou-header__badge[data-yaou-wishlist-count="0"], .yaou-cart-count:empty { display: none; }

.yaou-icon { width: 22px; height: 22px; }
.yaou-icon--sm { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: var(--space-1); }
.yaou-icon--lg { width: 32px; height: 32px; color: var(--color-accent); }

@media (min-width: 960px) {
	.yaou-header__nav { display: block; }
	.yaou-header__menu-toggle { display: none; }
}

/* Mobile menu */
.yaou-mobile-menu {
	position: fixed;
	inset: 76px 0 0 0;
	background: var(--white);
	z-index: 45;
	overflow-y: auto;
	padding: var(--space-6) var(--space-5);
}
.yaou-mobile-menu[hidden] { display: none; }
.yaou-mobile-menu__list li { border-bottom: 1px solid var(--color-border); }
.yaou-mobile-menu__list a { display: flex; align-items: center; min-height: 56px; font-size: 1.125rem; font-weight: 500; }
.yaou-mobile-menu__list .sub-menu { padding-left: var(--space-4); border-top: 1px solid var(--color-border); }
.yaou-mobile-menu__list .sub-menu li:last-child { border-bottom: none; }
.yaou-mobile-menu__list .sub-menu a { min-height: 48px; font-size: 1rem; color: var(--color-secondary); }
@media (min-width: 960px) { .yaou-mobile-menu { display: none !important; } }

/* Search overlay */
.yaou-search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(44, 30, 22, 0.92);
	z-index: 60;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: var(--space-8) var(--space-5);
}
.yaou-search-overlay[hidden] { display: none; }
.yaou-search-overlay__inner { width: 100%; max-width: 640px; }
.yaou-search-form { display: flex; align-items: center; gap: var(--space-2); background: var(--white); border-radius: var(--radius-md); padding: var(--space-2); }
.yaou-search-form input[type="search"] { flex: 1; border: none; padding: var(--space-3); background: transparent; font-size: 1.125rem; }
.yaou-search-form input[type="search"]:focus { outline: none; }
.yaou-search-form button { width: var(--touch-target); height: var(--touch-target); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.yaou-search-form button:hover { background: var(--color-bg-alt); }
.yaou-search-overlay__close { color: var(--brand-50); }
.yaou-search-form--inline { background: var(--white); border: 1px solid var(--color-border); max-width: 420px; margin: var(--space-5) 0; }

.yaou-search-suggestions {
	background: var(--white);
	margin-top: var(--space-2);
	border-radius: var(--radius-md);
	max-height: 60vh;
	overflow-y: auto;
}
.yaou-search-suggestions li a { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-bottom: 1px solid var(--color-border); }
.yaou-search-suggestions li:last-child a { border-bottom: none; }
.yaou-search-suggestions img { width: 44px; height: 44px; object-fit: contain; background: var(--color-bg-alt); border-radius: var(--radius-sm); }
.yaou-search-suggestions__name { flex: 1; font-weight: 500; }
.yaou-search-suggestions__price { color: var(--color-secondary); font-size: 0.875rem; }
.yaou-search-suggestions__empty { padding: var(--space-4); color: var(--color-secondary); }

/* Wishlist panel */
.yaou-wishlist-panel {
	position: fixed;
	top: 0; right: 0; bottom: 0;
	width: min(380px, 100vw);
	background: var(--white);
	z-index: 60;
	box-shadow: -8px 0 24px rgba(44,30,22,0.15);
	padding: var(--space-5);
	overflow-y: auto;
}
.yaou-wishlist-panel[hidden] { display: none; }
.yaou-wishlist-panel__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); }
.yaou-wishlist-panel__list li a { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
.yaou-wishlist-panel__list img { width: 56px; height: 56px; object-fit: contain; background: var(--color-bg-alt); border-radius: var(--radius-sm); }
.yaou-wishlist-panel__empty { color: var(--color-secondary); }

/* ===== 9. Footer ===== */

.yaou-footer { background: var(--gray-900); color: var(--brand-50); margin-top: var(--space-9); }
.yaou-footer__inner {
	max-width: var(--max-width);
	margin-inline: auto;
	padding: var(--space-8) var(--space-5);
	display: grid;
	gap: var(--space-6);
	grid-template-columns: 1fr;
}
.yaou-footer__logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; display: block; margin-bottom: var(--space-3); color: var(--white); }
.yaou-footer__heading { font-family: var(--font-body); font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-500); margin-bottom: var(--space-4); }
.yaou-footer p, .yaou-footer li { color: var(--gray-400); }
.yaou-footer a:hover { color: var(--brand-500); }
.yaou-footer__contact li { margin-bottom: var(--space-2); display: flex; align-items: center; }
.yaou-footer__menu li { margin-bottom: var(--space-2); }
.yaou-footer__visit-note { font-size: 0.8125rem; margin-top: var(--space-2); }

.yaou-footer__social { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.yaou-footer__social a {
	width: var(--touch-target);
	height: var(--touch-target);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-pill);
	background: rgba(255,255,255,0.08);
	color: var(--brand-50);
}
.yaou-footer__social a:hover { background: var(--brand-600); color: var(--white); }
.yaou-footer__social .yaou-icon { width: 20px; height: 20px; }

.yaou-footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: var(--space-4) var(--space-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2) var(--space-5); text-align: center; }
.yaou-footer__bottom p { color: var(--gray-500); font-size: 0.8125rem; margin: 0; }

@media (min-width: 720px) {
	.yaou-footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
	.yaou-footer__bottom { justify-content: space-between; }
}

/* ===== 10. Home ===== */

.yaou-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: min(620px, 82vh);
	padding-block: var(--space-9);
	color: var(--white);
	overflow: hidden;
}
.yaou-hero__media { position: absolute; inset: 0; z-index: -2; background: var(--brand-900); }
.yaou-hero__img { width: 100%; height: 100%; object-fit: cover; }
.yaou-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(44,30,22,0.45) 0%, rgba(44,30,22,0.88) 100%);
}
.yaou-hero__content { max-width: 640px; }
.yaou-hero .yaou-eyebrow { color: var(--brand-100); }
.yaou-hero .yaou-h1, .yaou-hero h1 { color: var(--white); }
.yaou-hero__intro { max-width: 46ch; }
.yaou-hero__intro p, .yaou-hero .yaou-prose p { color: var(--brand-50); }
.yaou-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }
.yaou-hero .button--primary { background: var(--brand-600); color: var(--white); }
.yaou-hero .button--primary:hover { background: var(--brand-500); color: var(--brand-900); }
.yaou-hero .button--ghost { border-color: var(--white); color: var(--white); }
.yaou-hero .button--ghost:hover { background: var(--white); color: var(--brand-900); }

.yaou-trust { padding-block: var(--space-7); background: var(--color-bg-alt); }
.yaou-trust__grid { display: grid; gap: var(--space-6); text-align: center; }
.yaou-trust__item p { margin: var(--space-3) 0 0; font-weight: 500; }
@media (min-width: 720px) { .yaou-trust__grid { grid-template-columns: repeat(3, 1fr); } }

/* Introblok: gecentreerd, decoratief lijntje, twee alinea's + link naar contact. */
.yaou-intro { padding-block: var(--space-9); }
.yaou-intro__inner { max-width: var(--max-width-narrow); margin-inline: auto; text-align: center; }
.yaou-intro__divider { width: 64px; height: 3px; margin: var(--space-5) auto; background: var(--brand-500); border-radius: var(--radius-pill); }
.yaou-intro .yaou-prose { text-align: center; }
.yaou-intro .yaou-prose p { color: var(--color-secondary); }
.yaou-intro__link { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); font-weight: 600; color: var(--color-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.yaou-intro__link:hover { color: var(--brand-900); }

.yaou-categories, .yaou-featured { padding-block: var(--space-8); }
.yaou-category-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(2, 1fr); margin-top: var(--space-6); }
.yaou-category-grid__item a {
	display: block;
	background: var(--white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
	box-shadow: var(--shadow-card);
	transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.yaou-category-grid__item a:hover { box-shadow: var(--shadow-card-hover); border-color: var(--brand-500); transform: translateY(-4px); }
.yaou-category-grid__placeholder,
.yaou-category-grid__item img { aspect-ratio: 1/1; background: var(--color-bg-alt); border-radius: var(--radius-md); display: block; object-fit: contain; }
.yaou-category-grid__name { display: block; margin-top: var(--space-3); font-weight: 600; text-align: center; color: var(--brand-900); }
@media (min-width: 720px) { .yaou-category-grid { grid-template-columns: repeat(3, 1fr); } }

/* Verhuur-bannersectie: donkere achtergrond + decoratief element + witte CTA. */
.yaou-rental-teaser { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-9); background: var(--brand-900); color: var(--white); }
.yaou-rental-teaser::before {
	content: '';
	position: absolute;
	top: -35%;
	right: -12%;
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, var(--brand-600) 0%, transparent 70%);
	opacity: 0.4;
	border-radius: 50%;
	z-index: -1;
}
.yaou-rental-teaser h2 { color: var(--white); }
.yaou-rental-teaser .yaou-prose p { color: var(--brand-50); }
.yaou-rental-teaser__grid { max-width: 640px; }
.yaou-rental-teaser .button--primary { background: var(--white); color: var(--brand-900); }
.yaou-rental-teaser .button--primary:hover { background: var(--brand-100); }

.yaou-about-grid { display: grid; gap: var(--space-6); }
@media (min-width: 860px) { .yaou-about-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.yaou-about-grid__img { border-radius: var(--radius-lg); aspect-ratio: 3/4; object-fit: cover; }

/* ===== 11. Product grid / cards ===== */

.yaou-product-grid, ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: var(--space-5) !important;
	margin-top: var(--space-6) !important;
	padding: 0 !important;
	list-style: none !important;
}
@media (min-width: 640px) { .yaou-product-grid, ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (min-width: 960px) { .yaou-product-grid, ul.products { grid-template-columns: repeat(4, 1fr) !important; } }

.yaou-product-card, li.product, .products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-4);
	box-shadow: var(--shadow-card);
	transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}
.yaou-product-card:hover, li.product:hover { border-color: var(--brand-500); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.yaou-product-card a, li.product a.woocommerce-loop-product__link, li.product > a {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	min-width: 0;
}
li.product img, .yaou-product-card img {
	aspect-ratio: 1/1;
	object-fit: contain;
	background: var(--color-bg-alt);
	border-radius: var(--radius-md);
	padding: var(--space-3);
}
.yaou-product-card__name, li.product .woocommerce-loop-product__title { font-weight: 600; margin-top: var(--space-3); color: var(--brand-900); }
.yaou-product-loop-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: var(--space-1);
	color: var(--color-secondary);
	font-size: 0.8125rem;
	line-height: 1.5;
}
.yaou-product-card__price, li.product .price {
	display: block;
	margin-top: auto;
	padding-top: var(--space-3);
	padding-right: 3rem;
	color: var(--brand-900);
	font-weight: 700;
}
li.product .button { margin-top: var(--space-4); }
.yaou-btn-op-aanvraag.button, a.yaou-btn-op-aanvraag { width: 100%; background: var(--brand-500) !important; color: var(--brand-900) !important; border-radius: var(--radius-pill); }
.yaou-btn-op-aanvraag.button:hover, a.yaou-btn-op-aanvraag:hover { background: var(--brand-600) !important; color: var(--white) !important; }

/* Rond icoon-knopje "toevoegen aan winkelwagen", rechtsonder in de kaart. */
li.product .add_to_cart_button,
.yaou-product-card .add_to_cart_button {
	position: absolute;
	right: var(--space-4);
	bottom: var(--space-4);
	width: var(--touch-target);
	height: var(--touch-target);
	min-height: 0;
	padding: 0;
	margin-top: 0;
	border-radius: var(--radius-pill);
	background: var(--brand-600) !important;
	color: var(--white) !important;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
}
li.product .add_to_cart_button::after,
.yaou-product-card .add_to_cart_button::after {
	content: '';
	width: 18px; height: 18px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='21' r='1'/><circle cx='19' cy='21' r='1'/><path d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='8' cy='21' r='1'/><circle cx='19' cy='21' r='1'/><path d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/></svg>") center / contain no-repeat;
}
li.product .add_to_cart_button:hover,
.yaou-product-card .add_to_cart_button:hover { background: var(--brand-500) !important; }
li.product .added_to_cart {
	position: absolute;
	right: var(--space-4);
	bottom: calc(var(--touch-target) + var(--space-2) * -1);
	transform: translateY(100%);
	font-size: 0.6875rem;
	white-space: nowrap;
	color: var(--color-accent-text);
	text-decoration: underline;
}

/* Kortingsbadge (WooCommerce .onsale) rechtsboven in de kaart. */
.onsale {
	position: absolute;
	top: var(--space-3);
	right: var(--space-3);
	z-index: 2;
	background: var(--brand-500);
	color: var(--brand-900);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.25rem 0.625rem;
	border-radius: var(--radius-pill);
	line-height: 1.4;
}

.yaou-wishlist-btn {
	position: absolute;
	top: var(--space-3);
	left: var(--space-3);
	width: var(--touch-target);
	height: var(--touch-target);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--white);
	border-radius: var(--radius-pill);
	box-shadow: 0 1px 4px rgba(44,30,22,0.18);
	color: var(--color-secondary);
	z-index: 2;
}
.yaou-wishlist-btn.is-active, .yaou-wishlist-btn:hover { color: var(--color-accent-text); }
.yaou-wishlist-btn.is-active .yaou-icon { fill: currentColor; }

.yaou-wishlist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-top: var(--space-5); }
@media (min-width: 720px) { .yaou-wishlist-grid { grid-template-columns: repeat(4, 1fr); } }
.yaou-wishlist-grid__item { position: relative; }
.yaou-wishlist-grid__name { display: block; margin-top: var(--space-2); font-weight: 600; }
.yaou-wishlist-grid__price { display: block; color: var(--color-secondary); }

/* ===== 12. Shop filters ===== */

.yaou-shop-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: var(--space-5);
	padding: var(--space-5);
	background: var(--color-bg-alt);
	border-radius: var(--radius-lg);
	margin-block: var(--space-6);
}
.yaou-shop-filters__group { display: flex; flex-direction: column; gap: var(--space-2); flex: 1 1 200px; }
.yaou-shop-filters__label, .yaou-shop-filters__group label { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-secondary); }
.yaou-shop-filters select,
.yaou-shop-filters input[type="number"] {
	min-height: var(--touch-target);
	padding: 0 var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--white);
}
.yaou-shop-filters__checkboxes { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.yaou-checkbox-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: var(--white); gap: var(--space-2); font-size: 0.875rem; }
.yaou-checkbox-pill:has(input:checked) { border-color: var(--brand-600); background: var(--brand-600); color: var(--white); }
.yaou-shop-filters__price-inputs { display: flex; align-items: center; gap: var(--space-2); }
.yaou-shop-filters__price-inputs input { width: 100px; }
.yaou-shop-filters__actions { display: flex; align-items: center; gap: var(--space-4); }
.yaou-shop-filters__reset { font-size: 0.875rem; text-decoration: underline; min-height: var(--touch-target); display: inline-flex; align-items: center; color: var(--color-accent-text); }

/* ===== 13. Single product ===== */

.yaou-shop-main .product .summary { padding-block: var(--space-4); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { margin-bottom: var(--space-6); }
.woocommerce div.product div.images img { border-radius: var(--radius-lg); background: var(--color-bg-alt); }
@media (min-width: 860px) {
	.woocommerce div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); }
}
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--brand-900); font-size: 1.375rem; font-weight: 600; }
.yaou-price-per-maat { font-size: 1rem; font-weight: 500; color: var(--color-secondary); font-style: italic; }

.yaou-variation-table-wrap { margin-top: var(--space-6); }
.yaou-variation-table { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.yaou-variation-table th, .yaou-variation-table td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); }
.yaou-variation-table thead { background: var(--color-bg-alt); }
.yaou-variation-table tr:last-child td { border-bottom: none; }
.yaou-stock--in { color: var(--color-success); font-weight: 500; }
.yaou-stock--out { color: var(--color-error); font-weight: 500; }

/* ===== 14. Forms & notices ===== */

.yaou-form__field { margin-bottom: var(--space-4); }
.yaou-form__field label { display: block; font-weight: 600; margin-bottom: var(--space-2); }
.yaou-form__field input, .yaou-form__field textarea {
	width: 100%;
	min-height: var(--touch-target);
	padding: var(--space-3);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--white);
}
.yaou-form__field input:focus, .yaou-form__field textarea:focus { border-color: var(--brand-500); }
.yaou-form__field textarea { min-height: 120px; }
.yaou-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.yaou-form-notice { padding: var(--space-4); border-radius: var(--radius-md); margin-bottom: var(--space-5); }
.yaou-form-notice--success { background: #DCFCE7; color: var(--color-success); }
.yaou-form-notice--error { background: #FEE2E2; color: var(--color-error); }

.yaou-rental-grid { display: grid; gap: var(--space-7); }
@media (min-width: 860px) { .yaou-rental-grid { grid-template-columns: 1fr 1fr; } }
.yaou-rental-form-wrap { background: var(--color-bg-alt); padding: var(--space-6); border-radius: var(--radius-lg); }

.yaou-contact-grid { display: grid; gap: var(--space-7); }
@media (min-width: 860px) { .yaou-contact-grid { grid-template-columns: 1.2fr 1fr; } }
.yaou-contact-card { background: var(--color-bg-alt); padding: var(--space-6); border-radius: var(--radius-lg); align-self: start; }
.yaou-contact-card p { margin: 0 0 var(--space-3); display: flex; align-items: center; }
.yaou-contact-card__legal { color: var(--color-secondary); font-size: 0.8125rem; margin-top: var(--space-5) !important; }

/* ===== 15. Blog ===== */

.yaou-blog-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; margin-top: var(--space-2); }
@media (min-width: 720px) { .yaou-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.yaou-blog-card a { display: block; background: var(--white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-card); transition: box-shadow var(--transition-base), transform var(--transition-base); }
.yaou-blog-card a:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.yaou-blog-card img { border-radius: var(--radius-md); aspect-ratio: 16/10; object-fit: cover; }
.yaou-blog-card__title { display: block; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin-top: var(--space-3); color: var(--brand-900); }
.yaou-blog-card__excerpt { display: block; color: var(--color-secondary); margin-top: var(--space-2); }

/* ===== 16. Cookiebanner (custom) ===== */

.yaou-cookie-banner {
	position: fixed;
	left: var(--space-4);
	right: var(--space-4);
	bottom: var(--space-4);
	z-index: 100;
	max-width: 640px;
	margin-inline: auto;
	background: var(--brand-900);
	color: var(--white);
	border-radius: var(--radius-lg);
	padding: var(--space-5);
	box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.yaou-cookie-banner__title { font-size: 1.125rem; margin-bottom: var(--space-2); color: var(--white); }
.yaou-cookie-banner p { color: var(--brand-50); margin: 0 0 var(--space-4); font-size: 0.9375rem; }
.yaou-cookie-banner a { text-decoration: underline; color: var(--white); }
.yaou-cookie-banner__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.yaou-cookie-banner .button--ghost { border-color: var(--gray-500); color: var(--white); }
.yaou-cookie-banner .button--ghost:hover { background: rgba(255,255,255,0.1); }
.yaou-cookie-banner .button--primary { background: var(--brand-500); color: var(--brand-900); }
.yaou-cookie-banner .button--primary:hover { background: var(--brand-600); color: var(--white); }

/* ===== 17. 404 ===== */

.yaou-404 { text-align: center; padding-block: var(--space-9); }
.yaou-404 .yaou-search-form--inline { margin-inline: auto; }
