/* =========================================================================
   Componenten – zelfde namen als in Figma (Design system-pagina)
   ========================================================================= */

/* ---------- Button ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 16px 28px; border: 2px solid transparent; border-radius: var(--radius-pill);
	font-size: var(--fs-button); font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { padding: 18px 30px; }
.btn--sm { padding: 12px 20px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-hover); color: var(--white); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: var(--plum); color: var(--white); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--forest); color: var(--forest); }
.btn--light { background: var(--white); color: var(--forest); }
.btn--light:hover { background: var(--sand); color: var(--forest); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); }

/* ---------- Eyebrow ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	padding: 8px 14px; border-radius: var(--radius-pill);
	background: var(--sand); color: var(--forest);
	font-size: var(--fs-eyebrow); font-weight: 600; line-height: 1.4; letter-spacing: .02em;
}
.eyebrow--white { background: var(--white); }
.eyebrow--glass { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- Tile (bento) ---------- */
.tile { position: relative; border-radius: var(--radius-lg); padding: var(--space-12); overflow: hidden; }
.tile--forest { background: var(--forest); color: var(--white); }
.tile--coral  { background: var(--coral); color: var(--white); }
.tile--plum   { background: var(--plum); color: var(--white); }
.tile--stone  { background: var(--stone); color: var(--white); }
.tile--sand   { background: var(--sand); }
.tile--white  { background: var(--white); }
@media (max-width: 820px) { .tile { padding: var(--space-6); } }

/* ---------- Check list ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-body); }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .icon { flex: none; margin-top: 2px; color: var(--success); stroke-width: 2.6; }
.checks--light { color: rgba(255,255,255,.9); }
.checks--light .icon { color: var(--white); }
.checks--row { flex-direction: row; flex-wrap: wrap; gap: 10px 28px; }

/* ---------- Icon circle ---------- */
.icon-circle { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sand); color: var(--forest); }
.icon-circle--glass { background: rgba(255,255,255,.14); color: var(--white); }
.icon-circle--coral { background: var(--coral); color: var(--white); }
.icon-circle--forest { background: var(--forest); color: var(--white); }
.icon-circle--plum { background: var(--plum); color: var(--white); }
.icon-circle--success { background: var(--success); color: var(--white); }

/* ---------- Site header ---------- */
.site-header { position: relative; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 40px; padding-block: 20px; }
.site-header__logo img { height: 40px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.site-nav a { font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; color: var(--forest); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--sand); color: var(--forest); text-decoration: none; cursor: pointer; }
.icon-btn:hover { background: #ddd4c4; color: var(--forest); }
.icon-btn__badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--coral); color: var(--white); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.site-header__cta { padding: 13px 22px; font-size: 1rem; }
.menu-toggle { display: none; }

@media (max-width: 1080px) {
	.site-header__inner { gap: 12px; }
	.site-nav { position: absolute; top: 100%; left: var(--page-pad); right: var(--page-pad); margin: 0; padding: 16px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-pill); display: none; }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; gap: 4px; }
	.site-nav a { display: block; padding: 12px 8px; font-size: 1.125rem; }
	.site-header__actions { margin-left: auto; }
	.menu-toggle { display: grid; }
}
@media (max-width: 560px) { .site-header__cta { display: none; } .site-header__logo img { height: 24px; } }

/* ---------- Site footer ---------- */
.site-footer { margin-top: var(--section); background: var(--forest); color: var(--white); }
.site-footer__inner { padding-block: 72px 32px; }
.site-footer__cols { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(2, minmax(0,1fr)) minmax(0,1.2fr); gap: 40px; }
.site-footer__logo img { height: 32px; width: auto; }
.site-footer__intro { margin-top: 20px; max-width: 300px; font-size: 1rem; color: rgba(255,255,255,.82); }
.site-footer__title { margin: 0 0 14px; font-size: var(--fs-small); font-weight: 600; color: rgba(255,255,255,.7); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: .875rem; color: rgba(255,255,255,.7); }
@media (max-width: 820px) { .site-footer__cols { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Ribbon (lint) ---------- */
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ribbon path { fill: none; stroke-linejoin: round; }
.ribbon--forest path { stroke: var(--forest); }
.ribbon--coral path { stroke: var(--coral); }
/* Lint dat zichzelf intekent als een slang (alleen met JavaScript; zonder staat het er gewoon). */
.js .ribbon--snake path { stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.js .ribbon--snake.is-drawn path { animation: ribbon-snake 2.2s cubic-bezier(.6, .05, .25, 1) forwards; }
@keyframes ribbon-snake { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .js .ribbon--snake path { stroke-dashoffset: 0; animation: none !important; } }

/* ---------- Review card (productmockup) ---------- */
.review-card {
	position: relative; width: 100%; aspect-ratio: 85.6 / 54; padding: 6.5%;
	background: var(--paper); color: var(--forest); border-radius: 5.3% / 8.4%;
	box-shadow: var(--shadow-card); container-type: inline-size;
}
.review-card__logo { width: 34%; height: auto; }
.review-card__nfc { position: absolute; top: 6%; right: 6%; width: 6.5%; height: auto; }
.review-card__g { position: absolute; top: 35%; right: 20%; width: 15.6%; height: auto; }
.review-card__tagline { position: absolute; left: 6.5%; bottom: 10%; font-size: 4.4cqi; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }

/* ---------- Phone (reviewscherm) ---------- */
.phone { width: 100%; aspect-ratio: 250 / 520; padding: 4%; background: #0B1F1B; border-radius: 16% / 7.7%; box-shadow: var(--shadow-phone); }
.phone__screen { height: 100%; padding: 4% 8%; background: var(--white); border-radius: 13.5% / 6.2%; overflow: hidden; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.phone__notch { align-self: center; width: 30%; height: 18px; border-radius: 99px; background: #0B1F1B; margin-bottom: 12px; }
.phone__biz { display: flex; align-items: center; gap: 10px; }
.phone__avatar { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sand); font-weight: 700; }
.phone__name { font-size: 14px; font-weight: 700; line-height: 1.2; }
.phone__sub { font-size: 11px; color: var(--ink-muted); }
.phone__q { margin-top: 16px; font-size: 16px; font-weight: 700; }
.phone__stars { display: flex; gap: 4px; color: var(--star); margin-top: 4px; }
.phone__field { margin-top: 12px; height: 96px; padding: 10px 12px; border: 1.5px solid rgba(3,58,48,.25); border-radius: 12px; font-size: 12px; color: var(--ink-muted); }
.phone__post { margin-top: 12px; padding: 11px 0; border-radius: 99px; background: var(--forest); color: var(--white); text-align: center; font-weight: 700; }

/* ---------- Floating pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: 600; white-space: nowrap; }
.pill--white { background: var(--white); color: var(--forest); box-shadow: var(--shadow-pill); padding-left: 10px; }
.pill--forest { background: var(--forest); color: var(--white); }
.pill__star { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--star); color: var(--white); }

/* ---------- Chip ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.chip { padding: 10px 18px; border: 1.5px solid rgba(3,58,48,.2); border-radius: var(--radius-pill); font-size: 1rem; font-weight: 600; }

/* ---------- Fact tile ---------- */
.fact { display: flex; align-items: center; gap: 20px; padding: 36px 40px; }
.fact__title { font-size: 1.625rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.fact__text { margin-top: 4px; font-size: var(--fs-small); }
.tile--plum .fact__text, .tile--stone .fact__text { color: rgba(255,255,255,.88); }
.tile--white .fact__text { color: var(--ink-muted); }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: var(--space-12); }
.section-head__main { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-head__aside { max-width: 420px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__main { align-items: center; max-width: 760px; }
.section-head--center .eyebrow { align-self: center; }

/* ---------- Step card ---------- */
.step-card { display: flex; flex-direction: column; padding: 36px; border-radius: var(--radius-md); background: var(--white); }
.step-card__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--plum); color: var(--white); font-size: 1.5rem; font-weight: 700; }
.step-card:nth-child(2) .step-card__num { background: var(--coral); }
.step-card:nth-child(3) .step-card__num { background: var(--forest); }
.step-card__title { margin: 28px 0 10px; font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.step-card__text { margin-bottom: 20px; }
.step-card .checks { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Order card (product + aantal) ---------- */
.order-card { display: flex; flex-direction: column; padding: 40px; border-radius: var(--radius-lg); background: var(--white); }
.order-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--success); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 16px; }
.price__amount { font-size: 3.25rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.qty-label { margin: 28px 0 10px; font-size: var(--fs-small); font-weight: 600; }
.qty-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; border: 0; margin: 0; padding: 0; }
.qty-pill { position: relative; }
.qty-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.qty-pill span { display: block; padding: 14px 0; border: 2px solid transparent; border-radius: var(--radius-pill); background: var(--sand); text-align: center; font-size: 1.125rem; font-weight: 600; }
.qty-pill input:checked + span { background: var(--forest); color: var(--white); }
.qty-pill input:focus-visible + span { outline: 3px solid var(--forest); outline-offset: 3px; }
.qty-pill:hover span { border-color: var(--forest); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.total__value { font-size: 1.375rem; font-weight: 700; }
.total__tax { font-size: .875rem; font-weight: 400; color: var(--ink-muted); white-space: nowrap; }
.note { display: flex; gap: 12px; margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: var(--paper); font-size: .875rem; line-height: 1.5; }
.note .icon { flex: none; margin-top: 1px; }
.note strong { display: block; }

/* ---------- Benefit tile ---------- */
.benefit { display: flex; align-items: flex-start; gap: 24px; padding: 36px 40px; }
.benefit__title { margin-bottom: 6px; font-size: 1.625rem; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
@media (max-width: 820px) { .benefit, .fact { padding: 24px; } }

/* ---------- FAQ item ---------- */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item { padding: 0 28px; border-radius: var(--radius-md); background: var(--sand); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; list-style: none; cursor: pointer; font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__toggle { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--forest); transition: transform .2s, background-color .2s; }
.faq-item[open]:not(.is-closing) .faq-item__toggle { transform: rotate(45deg); background: var(--forest); color: var(--white); }
.faq-item__answer { transition: opacity .2s; }
.faq-item.is-closing .faq-item__answer { opacity: 0; }
.faq-item__answer { max-width: 620px; padding-bottom: 24px; }
@media (max-width: 820px) { .faq-item { padding: 0 20px; } .faq-item summary { font-size: 1.0625rem; } }

/* ---------- CTA tile ---------- */
.cta { display: flex; flex-direction: column; justify-content: center; min-height: 420px; padding: 72px 64px; }
.cta__copy { position: relative; max-width: 680px; }
@media (max-width: 820px) { .cta { min-height: 0; padding: 40px 24px; } .cta .ribbon { opacity: .35; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; font-size: var(--fs-small); color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--forest); font-weight: 600; }

/* ---------- Links ---------- */
.link-strong { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--forest); }
.stock--out { color: var(--error); }

/* ---------- Stepper (Qty stepper) ---------- */
.stepper { display: inline-flex; align-items: center; padding: 6px; border-radius: var(--radius-pill); background: var(--sand); }
.stepper__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); color: var(--forest); cursor: pointer; }
.stepper__btn:hover { background: var(--paper); }
.stepper__input { width: 64px; height: 48px; border: 0; background: transparent; text-align: center; font-size: var(--fs-h4); font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus { outline: none; }
.stepper:has(.stepper__input:focus-visible) { outline: 3px solid var(--forest); outline-offset: 2px; }

/* ---------- Callout ---------- */
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--sand); }
.callout .icon { flex: none; margin-top: 2px; }
.callout .h4 { margin-bottom: 4px; }

/* ---------- Numbered badges / lists ---------- */
.num-badge, .mini-steps__num { flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--white); font-weight: 700; }
.num-badge { width: 48px; height: 48px; font-size: var(--fs-h4); }
.num-badge--plum, .mini-steps__num--plum { background: var(--plum); }
.num-badge--coral, .mini-steps__num--coral { background: var(--coral); }
.num-badge--forest, .mini-steps__num--forest { background: var(--forest); }
.mini-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; font-size: var(--fs-small); line-height: 1.4; }
.mini-steps li { display: flex; align-items: center; gap: 10px; }
.mini-steps__num { width: 32px; height: 32px; font-size: var(--fs-small); }
.num-list { list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.num-list li { counter-increment: n; display: flex; gap: 12px; }
.num-list li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sand); font-size: 13px; font-weight: 700; }
@media (max-width: 560px) { .mini-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Tip strip ---------- */
.tip-strip { display: flex; align-items: center; gap: 20px; margin-top: var(--gutter); padding: 24px 32px; border-radius: var(--radius-md); background: var(--sand); }
.tip-strip .h4 { margin-bottom: 2px; }
.tip-strip--slim { gap: 12px; padding: 16px 24px; }
.tip-strip--slim .icon { flex: none; }

/* ---------- Price badge ---------- */
.price-badge { position: absolute; top: 110px; right: 56px; padding: 12px 22px; border-radius: var(--radius-pill); background: var(--coral); color: var(--white); font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; transform: rotate(6deg); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
	background: var(--white); color: var(--forest); font-size: var(--fs-body);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23033A30' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--forest); outline-offset: 2px; border-color: var(--forest); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-muted); }
.field--hp { position: absolute; left: -9999px; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox input { width: 22px; height: 22px; accent-color: var(--forest); }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 24px; padding: 16px 18px; border-radius: 16px; }
.alert .icon { flex: none; margin-top: 2px; }
.alert:focus { outline: none; } /* WooCommerce zet de focus op meldingen met role="alert"; geen focusrand. */
.alert--success { background: #E3EFE7; color: var(--forest); }
.alert--success .icon { color: var(--success); }
.alert--error { background: #F6E1DF; color: var(--error); }
.alert--warning { background: var(--sand); color: var(--forest); box-shadow: inset 4px 0 0 var(--coral); }
.alert--warning .icon { color: var(--coral); }
.alert--sand { background: var(--sand); color: var(--forest); }
.alert > div { min-width: 0; }
.alert p { margin: 0; overflow-wrap: anywhere; }
.alert__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
