/* =========================================================================
   Macrolux footer — getrouw aan Figma (node 1:791)
   Kleuren via CSS-variabelen (--ml-fbg, --ml-faccent) uit de ACF-opties.
   ========================================================================= */

.ml-footer {
	--ml-fbg: #1d1d1b;
	--ml-faccent: #ff6600;
	--ml-fpanel: rgba(255, 255, 255, 0.05);
	--ml-fborder: rgba(255, 255, 255, 0.1);
	--ml-fmuted: rgba(255, 255, 255, 0.5);

	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	padding-top: 50px;
}

/* Kava/ProStore #colophon-wrapper neutraliseren. */
#colophon.site-footer:has(.ml-footer),
.site-footer:has(.ml-footer) {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
}

.ml-footer * {
	box-sizing: border-box;
}

.ml-footer a {
	text-decoration: none;
	color: inherit;
}

.ml-footer .ml-container {
	width: min(1300px, 100% - 40px);
	margin-inline: auto;
}

/* ---------- USP-strip ---------------------------------------------------- */
.ml-footer__usps {
	width: min(1300px, 100% - 40px);
	margin-inline: auto;
	background: #000;
	border-radius: 15px 15px 0 0;
}

.ml-usps--footer {
	justify-content: center;
	gap: 12px 40px;
	padding-block: 16px;
}

.ml-usps--footer .ml-usp {
	color: #fff;
}

.ml-usps--footer .ml-usp__icon {
	color: var(--ml-faccent);
}

/* ---------- Hoofdblok ---------------------------------------------------- */
.ml-footer__main {
	width: min(1440px, 100% - 40px);
	margin-inline: auto;
	border-radius: 15px;
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(144, 126, 112, 0.55) 0%, rgba(140, 120, 104, 0) 50%),
		var(--ml-fbg);
	color: #fff;
	overflow: hidden;
}

.ml-footer__grid {
	display: grid;
	grid-template-columns: 850fr 355fr;
	gap: 64px 95px;
	padding: 64px 0;
	align-items: start;
}

/* ----- Contactkaart ----- */
.ml-footer__contact {
	background: var(--ml-fpanel);
	border-radius: 10px;
	padding: 30px;
	margin-bottom: 44px;
}

.ml-fcards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.ml-fcard__icon {
	display: inline-grid;
	place-items: center;
	width: 70px;
	height: 52px;
	border-radius: 100px;
	/* Donkerder dan het contactpaneel (var(--ml-fpanel) op #1d1d1b), zodat de
	   box zichtbaar is — conform het design. */
	background: var(--ml-fbg);
	color: #fff;
	margin-bottom: 16px;
}

.ml-fcard__icon .ml-icon {
	width: 24px;
	height: 24px;
}

.ml-fcard__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	color: #fff;
}

.ml-fcard__lines {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ml-fmuted);
}

.ml-fcard__lines a:hover {
	color: #fff;
}

.ml-fstatus {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 24px 0 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.8);
}

.ml-fstatus__dot {
	width: 9px;
	height: 9px;
	border-radius: 100px;
	background: #2ecc71;
	box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

/* ----- Linkkolommen ----- */
.ml-footer__columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.ml-fcol__title {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}

.ml-fcol__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-fcol__item {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	padding: 6px 0;
	font-size: 15px;
	line-height: 1.45;
}

.ml-fcol__icon {
	flex: 0 0 auto;
	display: inline-flex;
	margin-top: 2px;
	color: var(--ml-faccent);
}

.ml-fcol__icon .ml-icon {
	width: 16px;
	height: 16px;
}

.ml-fcol__link,
.ml-fcol__text {
	color: rgba(255, 255, 255, 0.85);
}

.ml-fcol__link:hover {
	color: var(--ml-faccent);
}

/* ----- Rechterkolom ----- */
.ml-footer__logo img {
	display: block;
	width: auto;
	max-width: 150px;
	height: auto;
	margin-bottom: 18px;
}

.ml-footer__hours {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	max-width: 240px;
}

.ml-socials {
	display: flex;
	gap: 10px;
	margin-bottom: 34px;
}

.ml-social {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 100px;
	background: #282826;
	color: #fff;
	transition: background 0.15s ease, color 0.15s ease;
}

.ml-social:hover {
	background: var(--ml-faccent);
	color: #fff;
}

.ml-social .ml-icon,
.ml-social .ml-social-icon {
	width: 18px;
	height: 18px;
	display: block;
}

/* Nieuwsbrief */
.ml-newsletter__title,
.ml-payments__title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	color: #fff;
}

.ml-newsletter__text,
.ml-payments__text {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.75);
	max-width: 300px;
}

.ml-newsletter {
	margin-bottom: 34px;
}

.ml-newsletter__form {
	display: flex;
	gap: 8px;
	align-items: stretch;
	max-width: 340px;
}

.ml-newsletter__form input[type="email"] {
	flex: 1 1 auto;
	height: 50px;
	padding: 0 16px;
	border-radius: 5px;
	background: var(--ml-fpanel);
	border: 1px solid var(--ml-fborder);
	color: #fff;
	font-size: 15px;
	font-family: inherit;
}

.ml-newsletter__form input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.ml-newsletter__form input:focus {
	outline: none;
	border-color: var(--ml-faccent);
}

/* Extra specificiteit (button.) + !important: het thema geeft knoppen padding
   en een donkerblauwe hover, waardoor de pijl scheef stond en de hover vloekte. */
.ml-newsletter__btn,
button.ml-newsletter__btn {
	flex: 0 0 auto;
	display: inline-grid;
	place-items: center;
	width: 50px;
	height: 50px;
	padding: 0 !important;
	margin: 0;
	border: 0;
	border-radius: 5px;
	background: var(--ml-faccent);
	color: #fff;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	box-shadow: none;
	transition: background 0.2s ease;
}

.ml-newsletter__btn:hover,
.ml-newsletter__btn:focus,
button.ml-newsletter__btn:hover,
button.ml-newsletter__btn:focus {
	background: #e65c00 !important;
	color: #fff !important;
	filter: none;
	outline: none;
	box-shadow: none;
}

.ml-newsletter__btn .ml-icon {
	width: 22px;
	height: 22px;
	display: block;
}

/* Betaalmethoden */
.ml-payments__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ml-payment {
	display: inline-grid;
	place-items: center;
	min-width: 52px;
	height: 32px;
	padding: 0 8px;
	border-radius: 5px;
	background: var(--ml-fpanel);
}

.ml-payment img {
	max-height: 20px;
	max-width: 42px;
	width: auto;
	height: auto;
	display: block;
}

.ml-payment__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: rgba(255, 255, 255, 0.85);
}

/* ---------- Onderbalk ---------------------------------------------------- */
.ml-footer__bottom {
	padding: 24px 0;
}

.ml-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
}

.ml-footer__legal {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 40px;
	font-size: 15px;
	color: rgba(0, 0, 0, 0.5);
}

.ml-footer__legal-link {
	color: rgba(0, 0, 0, 0.5);
	text-decoration: underline;
}

.ml-footer__legal-link:hover {
	color: var(--ml-faccent);
}

/* Kiyoh-badge: score, tekst en sterren, met link naar de reviewpagina. */
.ml-kiyoh-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 38px;
	padding: 0 16px;
	border-radius: 100px;
	background: #f2f2f2;
	color: #1d1d1b;
	text-decoration: none;
	transition: background 0.2s ease;
}

.ml-kiyoh-badge:hover,
.ml-kiyoh-badge:focus {
	background: #fff;
	color: #1d1d1b;
}

.ml-kiyoh-badge__score {
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
}

.ml-kiyoh-badge__text {
	font-size: 14px;
	line-height: 1;
}

.ml-kiyoh-badge__stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.ml-kiyoh-badge__stars svg {
	width: 14px;
	height: 14px;
}

@media (max-width: 480px) {
	.ml-kiyoh-badge__stars {
		display: none;
	}
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
	.ml-footer__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 720px) {
	.ml-fcards {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 20px;
	}
	.ml-footer__columns {
		grid-template-columns: 1fr 1fr;
		gap: 28px 20px;
	}
	.ml-usps--footer {
		justify-content: flex-start;
	}
}

@media (max-width: 480px) {
	.ml-fcards,
	.ml-footer__columns {
		grid-template-columns: 1fr;
	}
	.ml-footer__main {
		padding: 0;
	}
	.ml-footer__grid {
		padding: 36px 0;
	}
	.ml-footer__contact {
		padding: 22px;
	}
}
