.wkgrid {
	display: grid;
	grid-template-columns: repeat(var(--wkgrid-cols, 5), 1fr);
	gap: 16px;
	margin: 0 auto;
}

.wkgrid-card {
	display: flex;
	flex-direction: column;
	padding: 18px 18px 20px;
	background: #fff;
	border: 1px solid #ececed;
	border-radius: 14px;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wkgrid-card:hover {
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
}

/* Uitgelichte kaart */
.wkgrid-card.is-highlight {
	border-color: #e8836a;
	box-shadow: 0 0 0 1px #e8836a;
}

.wkgrid-card-media {
	display: block;
	margin-bottom: 16px;
	aspect-ratio: 1 / 1;
}

.wkgrid-card-media .wkgrid-img,
.wkgrid-card-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.wkgrid-card-name {
	margin: 0 0 6px;
	font-size: 1.05em;
	font-weight: 600;
	line-height: 1.3;
}

.wkgrid-card-name a {
	color: #2b2b2b;
	text-decoration: none;
}

.wkgrid-card-name a:hover {
	color: #e8836a;
}

.wkgrid-card-price {
	font-size: 0.9em;
	font-weight: 700;
	color: #6b7177;
	margin-bottom: 16px;
}

.wkgrid-card-price .amount,
.wkgrid-card-price .woocommerce-Price-amount {
	color: #6b7177;
}

/* Knop onderaan vastgepind */
.wkgrid-card-btn {
	margin-top: auto;
	display: block;
	text-align: center;
	padding: 0.7em 1em;
	font-size: 0.92em;
	font-weight: 600;
	border-radius: 999px;
	border: 1px solid #d8d8d8;
	background: #fff;
	color: #2b2b2b;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wkgrid-card-btn:hover {
	border-color: #e8836a;
	color: #e8836a;
}

/* Knop van de uitgelichte kaart: coral gevuld */
.wkgrid-card.is-highlight .wkgrid-card-btn {
	background: #e8836a;
	border-color: #e8836a;
	color: #fff;
}

.wkgrid-card.is-highlight .wkgrid-card-btn:hover {
	background: #df6f54;
	border-color: #df6f54;
	color: #fff;
}

/* Tablet: minder kolommen */
@media (max-width: 1024px) and (min-width: 769px) {
	.wkgrid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Mobiel: horizontale swipe-slider */
@media (max-width: 768px) {
	.wkgrid {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 14px;
		padding-bottom: 10px;
		/* iets buiten de container laten lopen voor "peek" van de volgende kaart */
		scroll-padding-left: 4px;
	}

	.wkgrid-card {
		flex: 0 0 70%;
		max-width: 70%;
		scroll-snap-align: start;
	}

	/* Subtiele scrollbar */
	.wkgrid::-webkit-scrollbar {
		height: 4px;
	}
	.wkgrid::-webkit-scrollbar-thumb {
		background: #d8d8d8;
		border-radius: 999px;
	}
}

@media (max-width: 480px) {
	.wkgrid-card {
		flex-basis: 78%;
		max-width: 78%;
	}
}
