/* Goedkoopste Optie – thema. Geen externe lettertypen of frameworks. */
:root {
	--bg: #f6f5f0;
	--card: #fff;
	--ink: #12131a;
	--muted: #5d6072;
	--line: #e3e1d8;
	--brand: #4b2bff;
	--brand-soft: #ecebff;
	--accent: #c8f031;
	--accent-ink: #12131a;
	--radius: 16px;
	--wrap: 1200px;
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 780px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Kop ---------- */
.site-header { background: var(--card); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 1.25rem; padding-block: .8rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink); font-size: 1.3rem; font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.logo b { font-weight: 800; }
.logo__mark { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--ink); color: var(--accent); }
.logo__mark .icon { fill: currentColor; stroke: none; width: 1.15rem; height: 1.15rem; }
.custom-logo { max-height: 44px; width: auto; display: block; }
.site-header__link { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-header__link:hover { color: var(--brand); }

.gosearch { display: flex; flex: 1; min-width: 0; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.gosearch:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.gosearch input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem 1.1rem; font: inherit; color: var(--ink); outline: none; }
.gosearch button { border: 0; background: var(--ink); color: #fff; padding: 0 1.1rem; cursor: pointer; display: grid; place-items: center; }
.gosearch button:hover { background: var(--brand); }
.gosearch--header { max-width: 520px; margin-inline: auto; }

.burger { display: none; align-items: center; gap: .4rem; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: .5rem .9rem; font: inherit; font-weight: 600; cursor: pointer; }

.catnav { background: var(--ink); color: #fff; position: relative; }
.catnav__list { list-style: none; margin-block: 0; display: flex; flex-wrap: wrap; gap: 0 .15rem; padding-block: 0; }
.catnav__top { display: block; padding: .7rem .7rem; color: #fff; text-decoration: none; font-size: .92rem; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav__toggle, .catnav__item--mobile { display: none; }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(18, 19, 26, .45); max-height: calc(100vh - 140px); overflow: auto; }
.mega__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.25rem 2rem; padding-block: 1.5rem 1.75rem; }
.mega__head { display: block; font-weight: 800; color: var(--ink); text-decoration: none; margin-bottom: .4rem; font-size: .95rem; }
a.mega__head:hover { color: var(--brand); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: .18rem 0; color: var(--muted); text-decoration: none; font-size: .92rem; }
.mega li a:hover { color: var(--brand); text-decoration: underline; }

@media (min-width: 961px) {
	.catnav__item:hover > .catnav__top, .catnav__item:focus-within > .catnav__top { border-bottom-color: var(--accent); color: var(--accent); }
	.catnav__item.has-mega.is-hover > .mega, .catnav__item.has-mega:focus-within > .mega { display: block; }
	.catnav__item.is-hover > .catnav__top { border-bottom-color: var(--accent); color: var(--accent); }
	html:not(.js) .catnav__item.has-mega:hover > .mega { display: block; }
}
@media (max-width: 960px) {
	.site-header__bar { flex-wrap: wrap; gap: .75rem; }
	.site-header__link { display: none; }
	.burger { display: inline-flex; margin-left: auto; }
	.gosearch--header { order: 3; flex-basis: 100%; max-width: none; }
	.catnav { display: none; max-height: calc(100vh - 130px); overflow: auto; }
	.catnav.is-open { display: block; }
	.catnav__list { flex-direction: column; padding-block: .5rem 1rem; }
	.catnav__item { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.catnav__item--mobile { display: grid; }
	.catnav__top { padding: .85rem 0; font-size: 1rem; border: 0; }
	.catnav__toggle { display: block; background: none; border: 0; color: var(--accent); font-size: 1.5rem; width: 3rem; cursor: pointer; }
	.mega { position: static; grid-column: 1 / -1; background: transparent; color: #fff; box-shadow: none; border: 0; max-height: none; }
	.catnav__item.is-open > .mega { display: block; }
	.mega__inner { grid-template-columns: 1fr 1fr; padding: 0 0 1rem; gap: 1rem; }
	.mega__head { color: #fff; }
	.mega li a { color: rgba(255, 255, 255, .72); padding: .3rem 0; }
}

/* ---------- Hero ---------- */
.hero { background: radial-gradient(900px 420px at 85% -10%, rgba(75, 43, 255, .75), transparent 60%), radial-gradient(700px 380px at 0% 110%, rgba(200, 240, 49, .22), transparent 60%), var(--ink); color: #fff; }
.hero__inner { padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); max-width: 920px; margin-left: max(0px, calc((100% - var(--wrap)) / 2)); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1.25rem; padding: .3rem .8rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.hero__eyebrow .icon { color: var(--accent); fill: currentColor; stroke: none; width: 1em; height: 1em; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(2.6rem, 8vw, 5.25rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.hl { background: var(--accent); color: var(--accent-ink); padding: 0 .12em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; display: inline-block; transform: rotate(-1.5deg); }
.hero__lead { margin: 0 0 2rem; max-width: 40rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .82); }
.gosearch--hero { max-width: 620px; background: #fff; border-color: #fff; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.gosearch--hero input { padding: 1.05rem 1.4rem; font-size: 1.05rem; }
.gosearch--hero button { background: var(--accent); color: var(--accent-ink); padding: 0 1.5rem; }
.gosearch--hero button:hover { background: var(--brand); color: #fff; }
.hero__quick { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: 1.25rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.hero__quick a { color: #fff; text-decoration: none; padding: .25rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.hero__quick a:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- Secties en kaarten ---------- */
.section { margin-block: clamp(2rem, 5vw, 3.5rem); }
.section__title { margin: 0 0 1.1rem; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }

.topgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.topcard { display: grid; gap: .25rem; padding: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.topcard:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 5px 5px 0 var(--accent); }
.topcard__icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .6rem; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.topcard__icon .icon { width: 1.6rem; height: 1.6rem; }
.topcard:hover .topcard__icon { background: var(--ink); color: var(--accent); }
.topcard__name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.topcard__meta { font-size: .88rem; color: var(--muted); }

.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; }
.catcard { position: relative; display: grid; gap: .1rem; padding: 1rem 2.75rem 1rem 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.catcard:hover { border-color: var(--brand); background: var(--brand-soft); }
.catcard__name { font-weight: 700; }
.catcard__meta { font-size: .86rem; color: var(--muted); }
.catcard__meta strong { color: var(--ink); }
.catcard__arrow { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--brand); font-weight: 700; transition: transform .15s; }
.catcard:hover .catcard__arrow { transform: translate(3px, -50%); }

.dealgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.dealcard { display: grid; padding: 1.25rem; border-radius: var(--radius); background: var(--ink); color: #fff; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.dealcard:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 var(--accent); }
.dealcard__name { font-weight: 700; margin-bottom: 1.25rem; }
.dealcard__from { font-size: .8rem; color: rgba(255, 255, 255, .65); }
.dealcard__price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.dealcard__more { margin-top: .9rem; font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .85); }

.steps__list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.steps__list li { counter-increment: step; display: grid; gap: .3rem; padding: 1.25rem 1.25rem 1.25rem 4.25rem; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps__list li::before { content: counter(step); position: absolute; left: 1.1rem; top: 1.15rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-weight: 800; }
.steps__list span { color: var(--muted); font-size: .95rem; }

.postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.postcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.postcard:hover { border-color: var(--ink); transform: translateY(-2px); }
.postcard__link { display: grid; gap: .4rem; padding: 1.25rem; color: var(--ink); text-decoration: none; height: 100%; align-content: start; }
.postcard__img { display: block; width: calc(100% + 2.5rem); max-width: none; margin: -1.25rem -1.25rem .6rem; aspect-ratio: 16 / 9; object-fit: cover; }
.postcard__date { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.postcard__title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.postcard__excerpt { margin: 0; color: var(--muted); font-size: .94rem; }
.postcard__more { margin-top: .4rem; font-weight: 700; color: var(--brand); font-size: .92rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem .95rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; }
.chip:hover { border-color: var(--brand); color: var(--brand); }

.btn { display: inline-block; padding: .7rem 1.2rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--brand); }
.empty { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty h2 { margin: 0 0 .5rem; font-size: 1.3rem; }
.empty p { margin: 0 auto 1rem; max-width: 34rem; color: var(--muted); }

/* ---------- Categoriepagina ---------- */
.cathero, .pagehead { background: var(--card); border-bottom: 1px solid var(--line); padding-block: 1.25rem clamp(1.5rem, 4vw, 2.5rem); }
.pagehead { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.pagehead h1, .cathero h1 { margin: 0; font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.035em; }
.pagehead__intro { margin: .75rem 0 0; color: var(--muted); max-width: 46rem; }
.pagehead .gosearch { margin-top: 1.25rem; max-width: 560px; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.cathero__row { display: flex; align-items: center; gap: 1rem; }
.cathero__icon { display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: 14px; background: var(--ink); color: var(--accent); }
.cathero__icon .icon { width: 1.8rem; height: 1.8rem; }
.cathero__from { margin: .35rem 0 0; color: var(--muted); }
.cathero__from strong { color: var(--ink); background: var(--accent); padding: .05rem .45rem; border-radius: 6px; }
.cathero__intro { margin-top: 1.1rem; max-width: 50rem; color: var(--muted); font-size: 1.05rem; }
.cathero__intro p { margin: 0; }

/* ---------- Lopende tekst ---------- */
.prose { max-width: 46rem; font-size: 1.05rem; }
.prose--wide { max-width: none; }
.prose--home { padding-top: 2rem; border-top: 1px solid var(--line); }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose li { margin-bottom: .35rem; }
.prose img { border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; }
.prose th, .prose td { padding: .6rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose blockquote { margin: 0 0 1.1rem; padding: .25rem 0 .25rem 1.1rem; border-left: 4px solid var(--accent); color: var(--muted); }
.article__meta { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.article__meta a { color: var(--muted); }
.article__img { display: block; width: 100%; border-radius: var(--radius); margin: 2rem 0; }
.article .prose { margin-block: 2rem; }
.article__nav { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 3rem; border-top: 1px solid var(--line); font-weight: 600; }
.article__nav a { text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.page-numbers { padding: .45rem .9rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Formulieren en WooCommerce-basis ---------- */
.prose input[type="text"], .prose input[type="email"], .prose input[type="tel"], .prose input[type="password"], .prose input[type="number"], .prose textarea, .prose select {
	width: 100%; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: var(--card); color: var(--ink);
}
.prose button, .prose input[type="submit"], .prose .button, .woocommerce a.button, .woocommerce button.button {
	display: inline-block; padding: .7rem 1.2rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.prose button:hover, .prose input[type="submit"]:hover, .prose .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand); color: #fff; }

/* ---------- Voet ---------- */
.site-footer { margin-top: clamp(3rem, 7vw, 5rem); background: var(--ink); color: rgba(255, 255, 255, .78); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr; gap: 2.5rem; padding-block: 3rem 2rem; }
.logo--footer { color: #fff; margin-bottom: .75rem; }
.logo--footer .logo__mark { background: var(--accent); color: var(--ink); }
.site-footer__brand p { margin: 0; max-width: 24rem; }
.site-footer__title { margin: 0 0 .75rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__cats { columns: 2; column-gap: 2rem; }
.site-footer li { margin-bottom: .35rem; break-inside: avoid; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__legal { padding-block: 1.5rem 2.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: rgba(255, 255, 255, .6); }
.site-footer__legal p { margin: 0 0 .6rem; max-width: 62rem; }
@media (max-width: 800px) {
	.site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 1.1.1: losse categorieën en beheerbalk ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.mega__inner--flat { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .1rem 1.5rem; }
.mega__inner--flat a { display: block; padding: .22rem 0; color: var(--muted); text-decoration: none; font-size: .92rem; }
.mega__inner--flat a:hover { color: var(--brand); text-decoration: underline; }
.more { margin-top: .75rem; }
.more summary { cursor: pointer; font-weight: 700; color: var(--brand); padding: .4rem 0; }
.more[open] summary { margin-bottom: .5rem; }
@media (max-width: 960px) {
	.mega__inner--flat a { color: rgba(255, 255, 255, .72); padding: .3rem 0; }
}

.adminhint { padding: .8rem 1rem; margin: 0 0 1rem; border-radius: 10px; background: #fff4d6; border: 1px solid #e6c766; font-size: .92rem; }

/* ---------- 1.4.0: compact menu ---------- */
.mega__all { font-weight: 700; color: var(--brand) !important; }
@media (max-width: 960px) { .mega__all { color: var(--accent) !important; } }
.mega__col--loose:only-child { grid-column: 1 / -1; }
.mega__col--loose:only-child ul { columns: 4 190px; column-gap: 2rem; }
.mega__col--loose:only-child li { break-inside: avoid; }
@media (max-width: 960px) { .mega__col--loose:only-child ul { columns: 2; column-gap: 1rem; } }
.site-footer__legal a { color: inherit; text-decoration: underline; }
.gop-company { line-height: 1.7; }

/* 1.7: Black Friday-link in de kop */
.site-header__link--hot { background: var(--ink); color: #fff; padding: .35rem .75rem; border-radius: 999px; }
.site-header__link--hot:hover { background: var(--brand); color: #fff; }
