/* Klikplus Kliksite - homepage blocks.
   Colours derive from one accent: Elementor > Site Settings > Global Colors > Accent.
   Elementor sets --e-global-color-accent on the body (kit class), so the tokens live on body too. */

body {
	--kp-accent: var(--e-global-color-accent, #2E7D5B);
	--kp-accent-dark: color-mix(in oklch, var(--kp-accent) 78%, black);
	--kp-accent-soft: color-mix(in oklch, var(--kp-accent) 13%, white);
	--kp-on-accent: #fff;
	--kp-ink: #1C1F1A;
	--kp-text: #4A4640;
	--kp-muted: #6B665F;
	--kp-line: #E8E2D8;
	--kp-line-strong: #D9D3C8;
	--kp-cream: #F2EFE8;
	--kp-bg: #F7F4EE;
	--kp-gutter: clamp(16px, 4vw, 48px);
	--kp-font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--kp-font-head: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
}

@supports not (color: color-mix(in oklch, red, blue)) {
	body {
		--kp-accent-dark: var(--kp-accent);
		--kp-accent-soft: #E3F1E8;
	}
}

/* Helper for Elementor containers that should follow the page gutter. */
.kp-gutter {
	padding-left: var(--kp-gutter) !important;
	padding-right: var(--kp-gutter) !important;
}

.kp {
	font-family: var(--kp-font);
	color: var(--kp-ink);
	-webkit-font-smoothing: antialiased;
}

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

.kp [hidden] {
	display: none !important;
}

.kp .kp-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.kp a:focus-visible,
.kp button:focus-visible {
	outline: 2px solid var(--kp-ink);
	outline-offset: 2px;
}

.kp .kp-h1 {
	font: 700 clamp(32px, 5.2vw, 58px)/1.02 var(--kp-font-head);
	letter-spacing: -.02em;
	margin: 0;
	padding: 0;
	color: var(--kp-ink);
	text-wrap: balance;
	text-transform: none;
}

.kp .kp-h3 {
	font: 700 22px/1.2 var(--kp-font-head);
	letter-spacing: normal;
	margin: 0;
	padding: 0;
	color: var(--kp-ink);
	text-transform: none;
}

/* Header */
.kp .kp-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 18px var(--kp-gutter);
}

.kp .kp-brand,
.kp .kp-brand:hover,
.kp .kp-brand:focus {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	text-decoration: none;
	color: var(--kp-ink);
}

.kp .kp-brand__logo {
	display: block;
	height: 44px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

.kp .kp-brand__initial {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--kp-accent);
	color: var(--kp-on-accent);
	display: grid;
	place-items: center;
	font: 700 19px/1 var(--kp-font-head);
}

.kp .kp-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	min-width: 0;
}

.kp .kp-brand__name {
	font: 700 18px/1.15 var(--kp-font-head);
}

.kp .kp-brand__sub {
	font: 400 12px/1.15 var(--kp-font);
	color: var(--kp-muted);
}

.kp .kp-pill,
.kp .kp-pill:hover,
.kp .kp-pill:focus {
	flex: none;
	font: 600 14px/1.2 var(--kp-font);
	text-decoration: none;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1px solid var(--kp-line-strong);
	white-space: nowrap;
	color: var(--kp-ink);
	background: transparent;
	transition: border-color .15s;
}

.kp .kp-pill:hover {
	border-color: var(--kp-ink);
}

/* Hero */
.kp .kp-hero {
	padding: clamp(20px, 4vw, 48px) var(--kp-gutter);
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	align-items: stretch;
}

.kp .kp-hero__main {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: center;
}

.kp .kp-lead {
	font: 400 17px/1.55 var(--kp-font);
	color: var(--kp-text);
	margin: 0;
	text-wrap: pretty;
}

.kp .kp-search {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 2px solid var(--kp-ink);
	border-radius: 14px;
	padding: 0 16px;
	height: 58px;
	margin: 0;
	cursor: text;
	transition: box-shadow .15s;
}

.kp .kp-search:focus-within {
	box-shadow: 0 0 0 4px var(--kp-accent-soft);
}

.kp .kp-search__icon {
	flex: none;
	width: 15px;
	height: 15px;
	border: 2.5px solid var(--kp-ink);
	border-radius: 50%;
}

.kp .kp-search__input,
.kp .kp-search__input:focus {
	flex: 1;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	box-shadow: none;
	background: transparent;
	font: 500 16px/1.2 var(--kp-font);
	color: var(--kp-ink);
	-webkit-appearance: none;
	appearance: none;
}

.kp .kp-search__input::placeholder {
	color: var(--kp-muted);
	opacity: 1;
}

.kp .kp-steps {
	flex: 1 1 280px;
	list-style: none;
	margin: 0;
	padding: 24px;
	background: var(--kp-accent);
	color: var(--kp-on-accent);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: center;
}

.kp .kp-steps__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 0;
	padding: 0;
}

.kp .kp-steps__num {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	color: var(--kp-accent-dark);
	display: grid;
	place-items: center;
	font: 700 15px/1 var(--kp-font-head);
}

.kp .kp-steps__text {
	font: 400 16px/1.45 var(--kp-font);
	padding-top: 4px;
}

/* Popular row */
.kp .kp-pop {
	padding: 8px var(--kp-gutter) 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.kp .kp-marquee {
	--kp-fade: clamp(16px, 6vw, 80px);
	overflow: hidden;
	margin: 0 calc(-1 * var(--kp-gutter));
	padding: 4px 0 6px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--kp-fade), #000 calc(100% - var(--kp-fade)), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 var(--kp-fade), #000 calc(100% - var(--kp-fade)), transparent);
	cursor: grab;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}

.kp .kp-marquee.is-dragging {
	cursor: grabbing;
}

.kp .kp-marquee__track {
	display: flex;
	gap: 16px;
	width: max-content;
	padding: 0 var(--kp-gutter);
	will-change: transform;
}

.kp .kp-pop__tile {
	flex: none;
	display: block;
	width: 148px;
	text-decoration: none;
	-webkit-user-drag: none;
}

.kp .kp-pop__card {
	width: 148px;
	height: 148px;
	background: #fff;
	border-radius: 22px;
	display: grid;
	place-items: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 16px -10px rgba(0, 0, 0, .25);
	transition: transform .2s;
}

.kp .kp-pop__tile:hover .kp-pop__card,
.kp .kp-pop__tile:focus-visible .kp-pop__card {
	transform: translateY(-3px);
}

.kp .kp-pop__card {
	padding: 12px;
}

/* Square logos fill the card, with rounded corners. */
.kp .kp-pop__card img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 12px;
	pointer-events: none;
}

/* Webshops */
.kp .kp-shops {
	padding: 8px var(--kp-gutter) 40px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	scroll-margin-top: 16px;
}

.kp .kp-shops__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}

.kp .kp-shops__count {
	font: 400 14px/1.2 var(--kp-font);
	color: var(--kp-muted);
}

.kp .kp-tabs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
}

.kp .kp-tab,
.kp .kp-tab:hover,
.kp .kp-tab:focus {
	flex: none;
	display: flex;
	gap: 7px;
	align-items: center;
	margin: 0;
	padding: 9px 15px;
	border-radius: 999px;
	border: 1px solid var(--kp-line-strong);
	background: #fff;
	color: var(--kp-ink);
	font: 500 15px/1.2 var(--kp-font);
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color .15s;
}

.kp .kp-tab:hover {
	border-color: var(--kp-ink);
}

.kp .kp-tab[aria-pressed="true"],
.kp .kp-tab[aria-pressed="true"]:hover,
.kp .kp-tab[aria-pressed="true"]:focus {
	background: var(--kp-ink);
	border-color: var(--kp-ink);
	color: #fff;
}

.kp .kp-tab__n {
	font-size: 12px;
	opacity: .6;
}

/* Tiles of at least 150px, never more than --kp-cols per row. */
.kp .kp-grid {
	--kp-cols: 7;
	--kp-grid-gap: 10px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(max(150px, (100% - (var(--kp-cols) - 1) * var(--kp-grid-gap)) / var(--kp-cols)), 1fr));
	gap: var(--kp-grid-gap);
}

.kp .kp-tile {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
	text-align: center;
	background: #fff;
	border: 1px solid var(--kp-line);
	border-radius: 16px;
	padding: 12px 12px 14px;
}

.kp .kp-tile__info,
.kp .kp-tile__info:hover,
.kp .kp-tile__info:focus {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	width: 100%;
	text-decoration: none;
	color: var(--kp-ink);
}

/* Square logo across the full card width, with rounded corners. */
.kp .kp-tile__media {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	transition: transform .2s;
}

.kp .kp-tile__logo {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.kp .kp-tile__info:hover .kp-tile__media {
	transform: translateY(-2px);
}

/* Description over the logo on mouseover; only on devices with a real mouse. */
.kp .kp-tile__hover {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.kp .kp-tile__hover {
		position: absolute;
		inset: 0;
		display: grid;
		place-items: center;
		padding: 14px;
		background: rgba(28, 31, 26, .84);
		color: #fff;
		font: 600 15px/1.35 var(--kp-font);
		text-align: center;
		text-wrap: balance;
		opacity: 0;
		transition: opacity .2s;
		pointer-events: none;
	}

	.kp .kp-tile__info:hover .kp-tile__hover,
	.kp .kp-tile__info:focus-visible .kp-tile__hover {
		opacity: 1;
	}
}

.kp .kp-tile__meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.kp .kp-badge {
	font: 700 13px/1.25 var(--kp-font);
	color: var(--kp-accent-dark);
	background: var(--kp-accent-soft);
	padding: 4px 10px;
	border-radius: 999px;
}

.kp .kp-badge--none {
	font-weight: 600;
	color: var(--kp-muted);
	background: var(--kp-cream);
}

.kp .kp-tile__name {
	font: 600 14px/1.25 var(--kp-font);
	min-height: 2.5em;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow-wrap: anywhere;
}

.kp .kp-tile__btn,
.kp .kp-tile__btn:hover,
.kp .kp-tile__btn:focus {
	display: block;
	width: 100%;
	margin: auto 0 0;
	padding: 9px 8px;
	border-radius: 10px;
	background: var(--kp-accent);
	color: var(--kp-on-accent);
	font: 700 13px/1.2 var(--kp-font);
	text-decoration: none;
	transition: background-color .15s;
}

.kp .kp-tile__btn:hover {
	background: var(--kp-accent-dark);
}

.kp .kp-more,
.kp .kp-more:hover,
.kp .kp-more:focus {
	width: 100%;
	margin: 0;
	padding: 14px;
	border-radius: 14px;
	border: 1.5px solid var(--kp-ink);
	background: transparent;
	color: var(--kp-ink);
	font: 700 15px/1.2 var(--kp-font);
	text-transform: none;
	cursor: pointer;
}

.kp .kp-more:hover {
	background: #fff;
}

.kp .kp-empty {
	margin: 0;
	padding: 32px;
	text-align: center;
	border: 1.5px dashed var(--kp-line-strong);
	border-radius: 16px;
	color: var(--kp-text);
	font: 400 16px/1.5 var(--kp-font);
}

/* Explanation page ([kp_uitleg]) */
.kp .kp-uitleg {
	padding: 8px var(--kp-gutter) 48px;
	display: flex;
	flex-direction: column;
	gap: clamp(32px, 5vw, 56px);
}

.kp .kp-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.kp .kp-feature {
	background: #fff;
	border: 1px solid var(--kp-line);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.kp .kp-feature__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--kp-accent-soft);
	color: var(--kp-accent-dark);
	display: grid;
	place-items: center;
	margin-bottom: 4px;
}

.kp .kp-feature__title {
	font: 700 19px/1.25 var(--kp-font-head);
	margin: 0;
	padding: 0;
	color: var(--kp-ink);
	text-transform: none;
}

.kp .kp-feature__text,
.kp .kp-split__body p {
	font: 400 16px/1.6 var(--kp-font);
	color: var(--kp-text);
	margin: 0;
	text-wrap: pretty;
}

.kp .kp-h2 {
	font: 700 clamp(24px, 3vw, 34px)/1.12 var(--kp-font-head);
	letter-spacing: -.01em;
	margin: 0;
	padding: 0;
	color: var(--kp-ink);
	text-wrap: balance;
	text-transform: none;
}

.kp .kp-split {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 48px;
	align-items: flex-start;
}

.kp .kp-split .kp-h2 {
	flex: 1 1 280px;
}

.kp .kp-split__body {
	flex: 2 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.kp .kp-split__body p {
	font-size: 17px;
}

.kp .kp-callout {
	background: var(--kp-accent);
	color: var(--kp-on-accent);
	border-radius: 20px;
	padding: clamp(24px, 4vw, 40px);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.kp .kp-callout__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.kp .kp-callout__title {
	font: 700 clamp(22px, 2.6vw, 28px)/1.15 var(--kp-font-head);
	margin: 0;
	text-wrap: balance;
}

.kp .kp-callout__sub {
	font: 400 16px/1.5 var(--kp-font);
	margin: 0;
	opacity: .9;
}

.kp .kp-callout__btn,
.kp .kp-callout__btn:hover,
.kp .kp-callout__btn:focus {
	flex: none;
	font: 700 15px/1.2 var(--kp-font);
	background: #fff;
	color: var(--kp-accent-dark);
	padding: 14px 22px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .15s;
}

.kp .kp-callout__btn:hover {
	transform: translateY(-2px);
}

/* Share block ([kp_delen]) */
.kp .kp-share {
	margin: 0 var(--kp-gutter) 48px;
	background: #fff;
	border: 1px solid var(--kp-line);
	border-radius: 20px;
	padding: clamp(24px, 4vw, 36px);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px 40px;
}

.kp .kp-share__text {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.kp .kp-share__lead {
	font: 400 16px/1.55 var(--kp-font);
	color: var(--kp-text);
	margin: 0;
	text-wrap: pretty;
}

.kp .kp-share__buttons {
	flex: 1 1 360px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.kp .kp-share__btn,
.kp .kp-share__btn:hover,
.kp .kp-share__btn:focus {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 11px 16px;
	border-radius: 999px;
	border: 1px solid var(--kp-line-strong);
	background: #fff;
	color: var(--kp-ink);
	font: 600 15px/1.2 var(--kp-font);
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}

.kp .kp-share__btn:hover {
	border-color: var(--kp-ink);
}

.kp .kp-share__btn--primary,
.kp .kp-share__btn--primary:hover,
.kp .kp-share__btn--primary:focus {
	background: var(--kp-accent);
	border-color: var(--kp-accent);
	color: var(--kp-on-accent);
}

.kp .kp-share__btn--primary:hover {
	background: var(--kp-accent-dark);
	border-color: var(--kp-accent-dark);
}

@media (max-width: 767px) {
	.kp .kp-share__buttons {
		justify-content: flex-start;
	}
}

/* Footer CTA */
.kp .kp-cta {
	background: var(--kp-ink);
	color: var(--kp-cream);
	padding: 28px var(--kp-gutter);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.kp .kp-cta__text {
	font: 700 18px/1.3 var(--kp-font-head);
}

.kp .kp-cta__btn,
.kp .kp-cta__btn:hover,
.kp .kp-cta__btn:focus {
	font: 600 14px/1.2 var(--kp-font);
	background: var(--kp-cream);
	color: var(--kp-ink);
	padding: 10px 16px;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
}

.kp .kp-cta__btn:hover {
	background: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.kp .kp-pop__card,
	.kp .kp-tile__media,
	.kp .kp-tile__hover,
	.kp .kp-tile__btn,
	.kp .kp-tab,
	.kp .kp-pill {
		transition: none;
	}
}
