/*
Theme Name: Hello Print
Theme URI: https://helloprint.com
Author: XAD
Author URI: https://xadsites.com
Description: Online printing shop theme — business cards, flyers, banners, apparel and signage. WooCommerce ready, with quantity-tier pricing, an artwork upload flow and a quote request system. Built by XAD.
Version: 1.0.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: helloprint
*/

/* ============ Tokens — Hello Print: geel + inkt ============ */
:root {
	/* Brand */
	--geel:        #FFCC00;
	--geel-soft:   #FFE066;
	--geel-diep:   #E6A700;
	--geel-wash:   #FFF9E0;

	/* Ink / dark */
	--inkt:        #16181D;
	--nacht:       #0F1115;
	--kool:        #22262E;

	/* Neutrals */
	--wit:         #FFFFFF;
	--papier:      #FAFAFA;
	--grijs:       #F4F5F7;
	--lijn:        #E5E7EB;
	--muted:       #6B7280;

	/* Feedback */
	--groen:       #16A34A;
	--rood:        #DC2626;

	/* Shape */
	--radius:      14px;
	--radius-sm:   10px;
	--radius-pill: 999px;

	/* Shadow */
	--schaduw:     0 6px 20px rgba(16, 24, 40, .07);
	--schaduw-lg:  0 18px 44px rgba(16, 24, 40, .14);

	/* Layout */
	--container:   1240px;
	--gutter:      20px;
	--sectie-y:    clamp(48px, 6vw, 84px);

	/* Type */
	--font:        'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-kop:    'Poppins', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--inkt);
	background: var(--wit);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
	font-family: var(--font-kop);
	color: var(--inkt);
	line-height: 1.15;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: var(--sectie-y); }
.section--grijs { background: var(--grijs); }
.section--geel  { background: var(--geel-wash); }
.section--donker { background: var(--nacht); color: #D7DBE2; }
.section--donker h2, .section--donker h3 { color: #fff; }

.eyebrow {
	display: inline-block;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--geel-diep);
	margin-bottom: 10px;
}

.section__head { margin-bottom: clamp(22px, 3vw, 38px); }
.section__lead { color: var(--muted); max-width: 62ch; margin: 0; }

/* ============ Buttons ============ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--schaduw); }

.btn--geel  { background: var(--geel); color: var(--inkt); }
.btn--geel:hover { background: var(--geel-soft); }
.btn--inkt  { background: var(--inkt); color: #fff; }
.btn--outline { border-color: var(--inkt); color: var(--inkt); background: transparent; }
.btn--wit   { background: #fff; color: var(--inkt); }
.btn--groot { padding: 17px 34px; font-size: 1.05rem; }
.btn--blok  { width: 100%; }

/* ============ Header ============ */

.topbar {
	background: var(--inkt);
	color: #E7E9EE;
	font-size: .84rem;
}
.topbar__in {
	display: flex; align-items: center; justify-content: center;
	gap: 22px; padding: 9px 0; flex-wrap: wrap;
}
.topbar b { color: var(--geel); }

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: #fff;
	border-bottom: 1px solid var(--lijn);
}

.header__in {
	display: flex; align-items: center; gap: 20px;
	padding-block: 14px;
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-kop); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; }
.brand__mark {
	width: 34px; height: 34px; border-radius: 9px;
	background: var(--geel);
	display: grid; place-items: center;
	font-size: 1.05rem; color: var(--inkt); flex: none;
}
.brand__logo { max-height: 46px; width: auto; }

.hp-search { flex: 1 1 auto; max-width: 560px; position: relative; }
.hp-search input {
	width: 100%; padding: 12px 46px 12px 16px;
	border: 2px solid var(--lijn); border-radius: var(--radius-pill);
	font: inherit; background: var(--grijs);
}
.hp-search input:focus { outline: none; border-color: var(--geel); background: #fff; }
.hp-search button {
	position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
	width: 36px; height: 36px; border: 0; border-radius: 50%;
	background: var(--geel); cursor: pointer; display: grid; place-items: center;
}

.header__acties { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
	width: 42px; height: 42px; border-radius: 10px;
	display: grid; place-items: center;
	background: transparent; border: 0; cursor: pointer; color: var(--inkt);
	position: relative;
}
.icon-btn:hover { background: var(--grijs); }
.icon-btn__telling {
	position: absolute; top: 4px; right: 3px;
	min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--geel); color: var(--inkt);
	font-size: .68rem; font-weight: 800; display: grid; place-items: center;
}

/* Main nav */
.hoofdnav { border-top: 1px solid var(--lijn); background: #fff; }
.hoofdnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hoofdnav ul::-webkit-scrollbar { display: none; }
.hoofdnav a {
	display: block; padding: 13px 14px; font-size: .95rem; font-weight: 600;
	white-space: nowrap; border-bottom: 3px solid transparent;
}
.hoofdnav a:hover { color: var(--geel-diep); border-bottom-color: var(--geel); }

.burger { display: none; }

/* ============ Hero ============ */

.hero {
	background: linear-gradient(120deg, var(--geel-wash) 0%, #fff 62%);
	border-bottom: 1px solid var(--lijn);
	overflow: hidden;
}
.hero__in {
	display: grid; grid-template-columns: 1.05fr .95fr;
	gap: clamp(24px, 4vw, 56px); align-items: center;
	padding-block: clamp(38px, 5vw, 74px);
}
.hero__badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--inkt); color: #fff;
	padding: 7px 15px; border-radius: var(--radius-pill);
	font-size: .8rem; font-weight: 600; margin-bottom: 16px;
}
.hero__badge b { color: var(--geel); }
.hero p.lead { font-size: 1.1rem; color: #414651; max-width: 52ch; }
.hero__acties { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero__usp { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; font-size: .9rem; color: var(--muted); }
.hero__usp span { display: inline-flex; align-items: center; gap: 7px; }
.hero__usp svg { color: var(--groen); flex: none; }

.hero__beeld {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--schaduw-lg);
	background: #fff;
	aspect-ratio: 4 / 3;
}
.hero__beeld img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Category grid ============ */

.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 18px;
}

.cat-kaart {
	background: #fff; border: 1px solid var(--lijn);
	border-radius: var(--radius); overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	display: flex; flex-direction: column;
}
.cat-kaart:hover { transform: translateY(-4px); box-shadow: var(--schaduw); border-color: var(--geel); }
.cat-kaart__beeld { aspect-ratio: 4/3; background: var(--grijs); position: relative; }
.cat-kaart__beeld img { width: 100%; height: 100%; object-fit: cover; }
.cat-kaart__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--geel-diep); }
.cat-kaart__body { padding: 14px 16px 18px; }
.cat-kaart h3 { font-size: 1rem; margin: 0 0 4px; }
.cat-kaart .vanaf { font-size: .85rem; color: var(--muted); margin: 0; }
.cat-kaart .vanaf b { color: var(--inkt); }

/* ============ How it works ============ */

.stappen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: stap; }
.stap { text-align: center; }
.stap__nr {
	counter-increment: stap;
	width: 54px; height: 54px; margin: 0 auto 14px;
	border-radius: 50%; background: var(--geel);
	display: grid; place-items: center;
	font-family: var(--font-kop); font-weight: 800; font-size: 1.3rem;
}
.stap__nr::before { content: counter(stap); }
.stap h3 { font-size: 1.08rem; }
.stap p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ============ Trust bar ============ */

.trust { border-block: 1px solid var(--lijn); background: #fff; }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 26px; }
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__ic { width: 40px; height: 40px; border-radius: 10px; background: var(--geel-wash); display: grid; place-items: center; color: var(--geel-diep); flex: none; }
.trust__item b { display: block; font-size: .95rem; }
.trust__item span { font-size: .84rem; color: var(--muted); }

/* ============ Product cards ============ */

.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.prod {
	background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.prod:hover { transform: translateY(-4px); box-shadow: var(--schaduw); }
.prod__beeld { aspect-ratio: 1/1; background: var(--grijs); position: relative; }
.prod__beeld img { width: 100%; height: 100%; object-fit: cover; }
.prod__label {
	position: absolute; top: 10px; left: 10px;
	background: var(--geel); color: var(--inkt);
	font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: var(--radius-pill);
}
.prod__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod h3 { font-size: 1rem; margin: 0; }
.prod .prijs { margin-top: auto; font-weight: 800; }
.prod .prijs small { font-weight: 500; color: var(--muted); }

/* ============ Quantity tier table ============ */

.tiers { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); overflow: hidden; }
.tiers th, .tiers td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--lijn); }
.tiers th { background: var(--geel-wash); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.tiers tr:last-child td { border-bottom: 0; }
.tiers .best { background: var(--geel-wash); }
.tiers .stuk { color: var(--muted); font-size: .88rem; }
.tiers .totaal { font-weight: 800; }

/* ============ Upload / quote ============ */

.upload-kaart {
	background: #fff; border: 2px dashed var(--lijn); border-radius: var(--radius);
	padding: clamp(24px, 4vw, 40px); text-align: center;
	transition: border-color .18s ease, background-color .18s ease;
}
.upload-kaart.is-over { border-color: var(--geel); background: var(--geel-wash); }
.upload-kaart__ic { color: var(--geel-diep); margin-bottom: 12px; }
.upload-kaart input[type=file] { display: none; }
.upload-bestand { margin-top: 14px; font-size: .9rem; color: var(--groen); font-weight: 600; }

.hp-form { display: grid; gap: 16px; }
.hp-form .rij { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-form label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.hp-form input, .hp-form select, .hp-form textarea {
	width: 100%; padding: 12px 14px; font: inherit;
	border: 2px solid var(--lijn); border-radius: var(--radius-sm); background: #fff; color: var(--inkt);
}
.hp-form input:focus, .hp-form select:focus, .hp-form textarea:focus { outline: none; border-color: var(--geel); }
.hp-melding { padding: 13px 16px; border-radius: var(--radius-sm); font-size: .93rem; }
.hp-melding--ok { background: #ECFDF3; border: 1px solid #A6F4C5; color: #05603A; }
.hp-melding--fout { background: #FEF3F2; border: 1px solid #FECDCA; color: #912018; }

/* ============ Reviews ============ */

.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); padding: 22px; }
.review__sterren { color: var(--geel-diep); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: .95rem; margin: 0 0 14px; }
.review__wie { display: flex; align-items: center; gap: 10px; }
.review__av { width: 38px; height: 38px; border-radius: 50%; background: var(--geel); display: grid; place-items: center; font-weight: 800; flex: none; }
.review__wie b { display: block; font-size: .9rem; }
.review__wie span { font-size: .8rem; color: var(--muted); }

/* ============ FAQ ============ */

.faq { max-width: 820px; margin-inline: auto; }
.faq details { border: 1px solid var(--lijn); border-radius: var(--radius-sm); background: #fff; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--geel-diep); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq .faq__a { padding: 0 20px 18px; color: var(--muted); }

/* ============ CTA band ============ */

.cta-band { background: var(--geel); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(30px, 4vw, 52px); }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #4A4326; }

/* ============ Footer ============ */

.site-footer { background: var(--nacht); color: #9BA3AF; padding-top: clamp(40px, 5vw, 64px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 34px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; line-height: 2.1; }
.site-footer a:hover { color: var(--geel); }
.footer__brand { color: #fff; font-family: var(--font-kop); font-weight: 800; font-size: 1.3rem; margin-bottom: 10px; }
.footer__onder { border-top: 1px solid #23272F; padding: 18px 0; font-size: .85rem; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ============ Responsive ============ */

@media (max-width: 1024px) {
	.hero__in { grid-template-columns: 1fr; }
	.hero__beeld { order: -1; }
	.trust__in { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.hp-search { display: none; }
	.burger { display: grid; place-items: center; }
	.hoofdnav { display: none; }
	.stappen { grid-template-columns: 1fr; gap: 20px; }
	.hp-form .rij { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.trust__in { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.btn { width: 100%; }
	.hero__acties .btn { width: 100%; }
}

/* Drawer (mobile) */
.drawer { position: fixed; inset: 0 30% 0 0; background: #fff; transform: translateX(-100%); transition: transform .25s ease; z-index: 80; padding: 20px; overflow-y: auto; }
.drawer.is-open { transform: none; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 70; }
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--lijn); font-weight: 600; }
