/**
 * Actiebak Storefront Child - thema-stijlen.
 *
 * Modern, strak en snel. Geel = accent, blauw = merkkleur.
 * Kleuren komen via CSS-variabelen die functions.php injecteert op basis
 * van Actiebak -> Instellingen. Hier vallen we terug op de standaardwaarden.
 */
:root {
	--acr-primary: #ff6100;
	--acr-primary-dark: #db5300;
	--acr-on-primary: #ffffff;
	--acr-dark: #2a822e;
	--acr-dark-2: #4c964f;
	--acr-ink: #16233a;
	--acr-line: #e4e8ef;
	--acr-soft: #f4f6fa;
}

/* ------------------------------------------------------------------ *
 * Typografie
 * ------------------------------------------------------------------ */
body,
button,
input,
select,
textarea,
.widget {
	font-family: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: #2c3a4f;
}
h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.entry-title,
.site-title,
button,
.button {
	font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	letter-spacing: -0.02em;
	font-weight: 800;
}
h1,
h2,
h3 {
	color: var(--acr-dark);
}
a {
	color: var(--acr-dark-2);
}

/* ------------------------------------------------------------------ *
 * Lay-out - geen sidebar
 * ------------------------------------------------------------------ */
.acr-no-sidebar .content-area {
	width: 100%;
	float: none;
	margin-right: 0;
}
.acr-no-sidebar #secondary,
.acr-no-sidebar .widget-area {
	display: none;
}

/* Homepage full-bleed: secties uit de plugin mogen edge-to-edge. */
.acr-front #content .col-full {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
/* Geen witruimte tussen de header en de hero. */
.acr-front #content,
.acr-front #content.site-content,
.acr-front #primary,
.acr-front .content-area,
.acr-front .site-main,
.acr-front .acr-front-main {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
.acr-front .hentry {
	margin: 0 !important;
}
.acr-front .acr-front-main > p:empty {
	display: none;
}

/* ------------------------------------------------------------------ *
 * Header - compacte, strakke twee-rij layout
 * ------------------------------------------------------------------ */
/* Sticky werkt alleen als geen enkele voorouder een 'overflow:hidden'
   scroll-context maakt. Storefront zet dat soms wel; daarom forceren we
   overflow-x: clip (geen scroll-context, geen horizontale balk). */
html,
body,
#page,
.hfeed.site,
#content,
.site-content {
	overflow-x: clip;
	overflow-y: visible;
}

.site-header {
	position: sticky !important;
	top: 0;
	z-index: 999;
	background: #fff;
	border-bottom: 3px solid var(--acr-primary);
	box-shadow: 0 2px 14px rgba(42, 130, 46, 0.09);
	padding-top: 0.95em;
	padding-bottom: 0.95em;
}
/* Sticky header net onder de WordPress-adminbalk houden. */
.admin-bar .site-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}

/* Bredere contentbreedte zodat header en secties uitlijnen. */
.col-full {
	max-width: 1200px;
}

.site-header .site-branding {
	margin: 0;
	padding: 0;
}
.site-title,
.site-title a {
	color: var(--acr-dark) !important;
	font-weight: 900;
	font-size: 1.8rem;
	line-height: 1.1;
	letter-spacing: -0.03em;
	text-transform: none;
	margin: 0;
}
.site-header .site-description {
	color: #687388;
	margin: 2px 0 0;
	font-size: 0.85rem;
}

/* Secundair menu verbergen - we gebruiken alleen het hoofdmenu. */
.secondary-navigation {
	display: none;
}

/* Sitelogo */
.custom-logo-link {
	display: inline-block;
	margin: 0;
}
.custom-logo {
	display: block;
	max-height: 44px;
	width: auto;
	height: auto;
}

/* Account- en winkelwagenknoppen rechtsboven */
.acr-header-actions {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.acr-act-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	border: 2px solid var(--acr-line);
	background: #fff;
	color: var(--acr-dark);
	text-decoration: none;
	transition: border-color 0.13s ease, background-color 0.13s ease,
		transform 0.08s ease;
}
.acr-act-btn:hover {
	border-color: var(--acr-primary);
	background: #fffdf3;
	color: var(--acr-dark);
}
.acr-act-btn:active {
	transform: translateY(1px);
}
.acr-act-ico {
	display: inline-flex;
}
.acr-act-ico svg {
	width: 22px;
	height: 22px;
	display: block;
}
.acr-act-badge {
	position: absolute;
	right: -7px;
	bottom: -7px;
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	box-sizing: border-box;
	border-radius: 999px;
	background: var(--acr-dark);
	color: #fff;
	border: 2px solid #fff;
	font-family: 'Archivo', sans-serif;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.acr-act-badge--account svg {
	width: 10px;
	height: 10px;
	display: block;
}

/* Winkelwagen-knop */
.site-header-cart {
	margin: 0;
}
.site-header-cart .cart-contents {
	color: var(--acr-dark);
	font-weight: 800;
	font-family: 'Archivo', sans-serif;
	text-decoration: none;
	white-space: nowrap;
}
.site-header-cart .cart-contents:hover {
	color: var(--acr-primary-dark);
}
.site-header-cart .count {
	background: var(--acr-primary);
	color: var(--acr-on-primary);
}

/* Navigatie - kleuren & accentstreepje */
.main-navigation {
	background: transparent;
	margin: 0;
}
.main-navigation ul li a,
.main-navigation ul.menu li a,
.main-navigation ul.nav-menu li a {
	color: var(--acr-dark) !important;
	font-family: 'Archivo', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	padding: 0.55em 0.95em;
	transition: color 0.12s ease;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
	color: var(--acr-primary-dark) !important;
}
.main-navigation ul li > a {
	position: relative;
}
.main-navigation ul li > a::after {
	content: '';
	position: absolute;
	left: 0.95em;
	right: 0.95em;
	bottom: 0.05em;
	height: 3px;
	border-radius: 2px;
	background: var(--acr-primary);
	transform: scaleX(0);
	transition: transform 0.14s ease;
}
.main-navigation ul li:hover > a::after,
.main-navigation ul li.current-menu-item > a::after {
	transform: scaleX(1);
}
.main-navigation ul.menu ul.sub-menu {
	box-shadow: 0 10px 28px rgba(42, 130, 46, 0.16);
}
.main-navigation ul.menu ul.sub-menu li a::after {
	display: none;
}

/* --- Layout: rij 1 = logo | account + winkelwagen, rij 2 = menu --- */
@media (min-width: 768px) {
	.site-header .col-full {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		row-gap: 14px;
	}
	.site-header .site-branding {
		margin-right: auto;
	}
	.acr-header-actions {
		order: 1;
		margin-left: 24px;
	}
	/* Hoofdmenu op een eigen volledige tweede rij. */
	.storefront-primary-navigation {
		order: 3;
		flex: 1 0 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
		margin: 0;
		padding: 8px 0 0;
		border-top: 1px solid var(--acr-line);
		background: transparent;
	}
	.storefront-primary-navigation .main-navigation {
		flex: 1 1 auto;
	}
	.main-navigation ul.menu,
	.main-navigation ul.nav-menu {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	.main-navigation ul.menu li,
	.main-navigation ul.nav-menu li {
		float: none;
	}
}

/* ------------------------------------------------------------------ *
 * Knoppen - Storefront-knoppen in Actiebak-stijl
 * ------------------------------------------------------------------ */
button,
.button,
input[type='button'],
input[type='submit'],
.added_to_cart,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt {
	background-color: var(--acr-primary);
	color: var(--acr-on-primary);
	border-radius: 10px;
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	text-shadow: none;
	border: 0;
	padding: 0.75em 1.5em;
	transition: background-color 0.14s ease, transform 0.08s ease,
		box-shadow 0.14s ease;
	box-shadow: 0 6px 15px rgba(255, 97, 0, 0.38);
}
button:hover,
.button:hover,
input[type='button']:hover,
input[type='submit']:hover,
.added_to_cart:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background-color: var(--acr-primary-dark);
	color: var(--acr-on-primary);
	box-shadow: 0 10px 22px rgba(255, 97, 0, 0.5);
}
button:active,
.button:active,
.woocommerce a.button:active {
	transform: translateY(1px);
}

/* Secundaire knop (blauw) - bv. "verder winkelen". */
.woocommerce a.button.wc-backward,
.woocommerce .cart .button.wc-backward {
	background-color: var(--acr-dark);
	color: #fff;
	box-shadow: none;
}
.woocommerce a.button.wc-backward:hover {
	background-color: var(--acr-dark-2);
	color: #fff;
}

/* ------------------------------------------------------------------ *
 * WooCommerce - prijzen, badges, kaarten
 * ------------------------------------------------------------------ */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--acr-dark);
	font-weight: 800;
	font-family: 'Archivo', sans-serif;
}
.woocommerce span.onsale {
	background-color: var(--acr-dark);
	color: #fff;
	border-radius: 999px;
	font-weight: 700;
}

.woocommerce ul.products li.product {
	background: #fff;
	border: 1px solid var(--acr-line);
	border-radius: 14px;
	padding: 16px;
	box-sizing: border-box;
	box-shadow: 0 8px 24px rgba(42, 130, 46, 0.07);
	transition: transform 0.13s ease, box-shadow 0.13s ease;
}
.woocommerce ul.products li.product:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 40px rgba(42, 130, 46, 0.16);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: 'Archivo', sans-serif;
	font-weight: 800;
	color: var(--acr-dark);
}
.woocommerce ul.products li.product .star-rating {
	color: var(--acr-primary-dark);
}

/* Productpagina */
.single-product div.product .entry-summary {
	padding-left: 0;
}
.single-product div.product .product_title {
	color: var(--acr-dark);
}

/* Berichten / notices */
.woocommerce-message,
.woocommerce-info {
	border-top-color: var(--acr-primary);
}
.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--acr-primary-dark);
}

/* ------------------------------------------------------------------ *
 * Formuliervelden
 * ------------------------------------------------------------------ */
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='number'],
input[type='date'],
input[type='time'],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container .select2-selection {
	border: 2px solid var(--acr-line);
	border-radius: 9px;
}
input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='search']:focus,
input[type='number']:focus,
textarea:focus,
select:focus {
	border-color: var(--acr-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 97, 0, 0.2);
}

/* ------------------------------------------------------------------ *
 * Algemene pagina's
 * ------------------------------------------------------------------ */
.page .entry-header,
.page-template-default .entry-header {
	margin-bottom: 1.4em;
}
.page .entry-title,
.page-template-default .entry-title,
.post .entry-title {
	color: var(--acr-dark);
}
.hentry {
	margin-bottom: 2.4em;
}

/* ------------------------------------------------------------------ *
 * Footer
 * ------------------------------------------------------------------ */
.site-footer {
	background: var(--acr-dark);
	color: #ffffff;
	border-top: 4px solid var(--acr-primary);
	padding-top: 0;
	padding-bottom: 0;
}
/* Storefront/Customizer probeert eigen footerkleuren te zetten; we forceren
   onze witte tekst zodat alles leesbaar blijft op het groene vlak. */
.site-footer .acr-footer,
.site-footer .acr-footer p,
.site-footer .acr-footer li,
.site-footer .acr-footer .acr-footer-col {
	color: #ffffff !important;
}
.site-footer .acr-footer a,
.site-footer .acr-footer-bottom a {
	color: #ffffff !important;
	text-decoration: none;
}
.site-footer .acr-footer a:hover,
.site-footer .acr-footer-bottom a:hover {
	color: var(--acr-primary) !important;
}
.site-footer .acr-footer h1,
.site-footer .acr-footer h2,
.site-footer .acr-footer h3,
.site-footer .acr-footer h4 {
	color: #ffffff !important;
}

.acr-footer {
	padding: 56px 0 36px;
}
.acr-footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
	gap: 40px;
	align-items: start;
}
.acr-footer-col h4 {
	font-family: 'Archivo', sans-serif;
	font-size: 1rem;
	font-weight: 800;
	margin: 0 0 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.acr-footer-col p,
.acr-footer-col li,
.acr-footer-col {
	font-size: 0.95rem;
	line-height: 1.65;
}
.acr-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.acr-footer-col li {
	margin: 0 0 7px;
}
.acr-footer-logo {
	display: block;
	max-height: 38px;
	width: auto;
	background: #fff;
	padding: 6px 10px;
	border-radius: 6px;
	margin-bottom: 14px;
}
.acr-footer-brand {
	font-size: 1.4rem;
	margin: 0 0 12px;
}
.acr-footer-meta {
	font-size: 0.86rem;
	color: #9fb0c9;
	margin-top: 14px;
}

/* Klantenservice-kolom: het wordt een lange lijst, twee kolommen op breed */
.acr-footer-col ul.acr-footer-twocol {
	column-count: 2;
	column-gap: 24px;
}

/* Contactkolom met icoonregels */
.acr-footer-contact-list {
	margin: 0 0 18px;
}
.acr-footer-contact-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.acr-footer-ico {
	display: inline-block;
	min-width: 18px;
	color: var(--acr-primary);
	font-size: 1.05rem;
	line-height: 1.4;
}
.acr-footer-hours-title {
	margin-top: 10px;
}
.acr-footer-hours {
	font-size: 0.92rem;
	color: #cdd9ea;
	white-space: pre-line;
	margin: 0;
}

/* Footer onderbalk: copyright + betaalmethoden */
.acr-footer-bottom {
	background: rgba(0, 0, 0, 0.18);
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.acr-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.acr-footer-credit {
	color: #9fb0c9;
	font-size: 0.88rem;
}
.acr-footer-payments {
	display: flex;
	gap: 6px;
}
.acr-footer-payments svg {
	display: block;
	width: 46px;
	height: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
	.acr-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 600px) {
	.acr-footer {
		padding: 38px 0 18px;
	}
	.acr-footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.acr-footer-bottom-inner {
		justify-content: center;
		text-align: center;
	}
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 768px) {
	.acr-header-actions {
		margin-left: auto;
	}
	.custom-logo {
		max-height: 38px;
	}
	.site-title,
	.site-title a {
		font-size: 1.5rem;
	}
}
