/*
 * Kleurenschema: groen-blauw / teal, zakelijke uitstraling
 * (geïnspireerd op de corporate stijl van dmfkrediet.nl).
 * Pas de variabelen hieronder aan om de tint te wijzigen.
 */
:root {
	--hexon-primary: #0f6e6e;        /* hoofdkleur: petrol/teal */
	--hexon-primary-dark: #0a4f4f;   /* voor hover/actieve staten */
	--hexon-primary-light: #e6f3f2;  /* lichte achtergrondtint */
	--hexon-accent: #12897f;         /* iets groenere accentkleur */
	--hexon-text: #1c2b2b;
	--hexon-text-muted: #5b6b6b;
	--hexon-border: #e0e8e7;
	--hexon-radius: 10px;
}

.hexon-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 26px;
	margin: 28px 0;
}

.hexon-card {
	display: block;
	position: relative;
	border: 1px solid var(--hexon-border);
	border-radius: var(--hexon-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--hexon-text);
	background: #fff;
	box-shadow: 0 2px 6px rgba(15, 110, 110, 0.06);
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.hexon-card:hover {
	box-shadow: 0 10px 26px rgba(15, 110, 110, 0.16);
	transform: translateY(-3px);
	border-color: var(--hexon-primary);
}

.hexon-card-image {
	aspect-ratio: 4 / 3;
	background: var(--hexon-primary-light);
	overflow: hidden;
	position: relative;
}

.hexon-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hexon-card-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--hexon-accent);
	background: var(--hexon-primary-light);
	font-size: 0.9em;
}

.hexon-card-body {
	padding: 16px 18px 18px;
}

.hexon-card-body h3 {
	margin: 0 0 10px;
	font-size: 1.08em;
	font-weight: 700;
	color: var(--hexon-text);
	line-height: 1.3;
}

.hexon-card-specs {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	font-size: 0.82em;
	color: var(--hexon-text-muted);
}

.hexon-card-specs li {
	background: var(--hexon-primary-light);
	color: var(--hexon-primary-dark);
	padding: 3px 10px;
	border-radius: 999px;
	font-weight: 500;
}

.hexon-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid var(--hexon-border);
}

.hexon-card-price {
	font-weight: 700;
	font-size: 1.15em;
	margin: 0;
	color: var(--hexon-primary-dark);
}

.hexon-card-cta {
	display: inline-block;
	background: var(--hexon-primary);
	color: #fff;
	font-size: 0.82em;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: 999px;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.hexon-card:hover .hexon-card-cta {
	background: var(--hexon-primary-dark);
}

.hexon-card-sold {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--hexon-primary-dark);
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 4px 10px;
	border-radius: 999px;
	z-index: 1;
}

/* Filterbalk (optioneel te gebruiken boven het grid) */
.hexon-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0;
	padding: 14px 16px;
	background: var(--hexon-primary-light);
	border-radius: var(--hexon-radius);
}

.hexon-filters select,
.hexon-filters input {
	border: 1px solid var(--hexon-border);
	border-radius: 6px;
	padding: 8px 10px;
	background: #fff;
	color: var(--hexon-text);
}

/* Detailweergave */
.hexon-single {
	margin-top: 10px;
}

.hexon-specs-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	border: 1px solid var(--hexon-border);
	border-radius: var(--hexon-radius);
	overflow: hidden;
}

.hexon-specs-table th,
.hexon-specs-table td {
	text-align: left;
	padding: 10px 16px;
	border-bottom: 1px solid var(--hexon-border);
}

.hexon-specs-table tr:last-child th,
.hexon-specs-table tr:last-child td {
	border-bottom: none;
}

.hexon-specs-table tr:nth-child(odd) {
	background: var(--hexon-primary-light);
}

.hexon-specs-table th {
	width: 40%;
	color: var(--hexon-primary-dark);
	font-weight: 600;
}

.hexon-opmerkingen {
	color: var(--hexon-text);
	line-height: 1.6;
}

.hexon-galerij {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.hexon-galerij img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	border: 1px solid var(--hexon-border);
}
