/* Kikishop Productopties */
.kk-switcher {
	--kk-border: #d5d9df;
	--kk-text: #1d2330;
	--kk-muted: #6b7280;
	--kk-tint: color-mix(in srgb, var(--kk-accent, #1f3a5f) 8%, #fff);
	margin: 18px 0 20px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	color: var(--kk-text);
}

.kk-group__label {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--kk-text);
	letter-spacing: .01em;
}
.kk-group__label strong {
	color: var(--kk-accent, #1f3a5f);
	font-weight: 700;
}

.kk-options {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.kk-opt {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 118px;
	min-height: 66px;
	padding: 10px 18px;
	border: 2px solid #cbd2db;
	border-radius: 12px;
	background: #fff;
	color: var(--kk-text) !important;
	text-decoration: none !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	box-shadow: 0 1px 2px rgba(17, 24, 39, .06);
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}
.kk-opt:hover,
.kk-opt:focus-visible {
	border-color: var(--kk-accent, #1f3a5f);
	box-shadow: 0 6px 16px rgba(17, 24, 39, .10);
	transform: translateY(-1px);
}
.kk-opt:focus-visible {
	outline: 3px solid var(--kk-accent, #1f3a5f);
	outline-offset: 2px;
}
.kk-opt.is-active {
	border-color: var(--kk-accent, #1f3a5f);
	background: var(--kk-accent, #1f3a5f);
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(17, 24, 39, .22);
	pointer-events: none;
}
/* Vinkje op de gekozen optie */
.kk-opt.is-active::after {
	content: "";
	position: absolute;
	top: -9px;
	right: -9px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.kk-opt__value {
	white-space: nowrap;
}
.kk-opt__diff {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 999px;
	background: #eef2f6;
	color: #374151;
	font-size: 12.5px;
	font-weight: 600;
}
.kk-opt__oos {
	font-size: 12px;
	font-weight: 600;
	color: #b42318;
}
.kk-opt.is-oos .kk-opt__value {
	text-decoration: line-through;
	color: var(--kk-muted);
}
.kk-opt.is-approx {
	border-style: dashed;
}

.kk-select-wrap {
	position: relative;
	max-width: 440px;
}
.kk-select-wrap::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2.5px solid var(--kk-text, #1d2330);
	border-bottom: 2.5px solid var(--kk-text, #1d2330);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.kk-switcher .kk-select {
	width: 100%;
	height: 54px;
	padding: 0 48px 0 16px;
	border: 2px solid #cbd2db;
	border-radius: 12px;
	background: #fff;
	color: var(--kk-text);
	font-size: 16px;
	font-weight: 600;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(17, 24, 39, .06);
}
.kk-switcher .kk-select:hover,
.kk-switcher .kk-select:focus {
	border-color: var(--kk-accent, #1f3a5f);
	outline: none;
}

.kk-switcher.is-loading,
.kk-switcher .is-loading {
	opacity: .55;
	pointer-events: none;
}

/* Levertijd */
.kk-delivery {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0 6px;
	padding: 12px 14px;
	border-radius: 8px;
	background: #effaf3;
	color: #14532d;
	font-size: 14px;
	line-height: 1.45;
}
.kk-delivery[hidden] {
	display: none;
}
.kk-delivery__icon {
	flex: 0 0 auto;
	color: #15803d;
	margin-top: 1px;
}
.kk-delivery strong {
	font-weight: 700;
}

/* Sticky winkelwagenbalk */
.kk-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	background: #fff;
	border-top: 1px solid #e5e7eb;
	box-shadow: 0 -6px 20px rgba(17, 24, 39, .08);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform .25s ease, visibility 0s linear .25s;
}
.kk-sticky[hidden] {
	display: block; /* we animeren met transform */
	visibility: hidden;
}
.kk-sticky.is-visible {
	transform: translateY(0);
	visibility: visible;
	transition: transform .25s ease;
}
.kk-sticky__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.kk-sticky__media img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
}
.kk-sticky__info {
	flex: 1 1 auto;
	min-width: 0;
}
.kk-sticky__title {
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kk-sticky__meta {
	font-size: 13px;
	color: #6b7280;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.kk-sticky__price {
	font-weight: 700;
	font-size: 18px;
	white-space: nowrap;
}
.kk-sticky__price del {
	font-weight: 400;
	font-size: 14px;
	color: #6b7280;
	margin-right: 4px;
}
.kk-sticky__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 22px;
	border-radius: 8px;
	background: var(--kk-accent, #1f3a5f);
	color: #fff !important;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
	white-space: nowrap;
}
.kk-sticky__btn:hover {
	filter: brightness(1.1);
}
body.kk-sticky-on {
	padding-bottom: 72px;
}

@media (max-width: 640px) {
	.kk-options {
		gap: 10px;
	}
	.kk-opt {
		flex: 1 1 0;
		min-width: 0;
		padding: 10px 8px;
		font-size: 17px;
	}
	.kk-sticky__media,
	.kk-sticky__meta {
		display: none;
	}
	.kk-sticky__inner {
		gap: 10px;
		padding: 10px 12px;
	}
	.kk-sticky__title {
		font-size: 13px;
	}
	.kk-sticky__price {
		font-size: 16px;
	}
	.kk-sticky__btn {
		padding: 0 16px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kk-sticky,
	.kk-opt {
		transition: none;
	}
}
