/* TEC3H Véhicules — styles front (scopés sous .tec3h-) */

.tec3h-grid {
	display: grid;
	gap: 24px;
	margin: 0 0 2rem;
}
.tec3h-cols-1 { grid-template-columns: 1fr; }
.tec3h-cols-2 { grid-template-columns: repeat(2, 1fr); }
.tec3h-cols-3 { grid-template-columns: repeat(3, 1fr); }
.tec3h-cols-4 { grid-template-columns: repeat(4, 1fr); }
.tec3h-cols-5 { grid-template-columns: repeat(5, 1fr); }
.tec3h-cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
	.tec3h-cols-4,
	.tec3h-cols-5,
	.tec3h-cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.tec3h-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.tec3h-grid { grid-template-columns: 1fr; }
}

.tec3h-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e6e8eb;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.tec3h-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.tec3h-card__media {
	aspect-ratio: 4 / 3;
	background: #f2f4f6;
}
.tec3h-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tec3h-card__noimg {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9aa4ae;
	font-size: .85rem;
}

.tec3h-card__body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.tec3h-card__title {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.3;
}
.tec3h-card__version {
	margin: 0;
	color: #6b7580;
	font-size: .9rem;
}
.tec3h-card__specs {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.tec3h-card__specs li {
	background: #f2f4f6;
	border-radius: 999px;
	padding: 3px 10px;
	font-size: .8rem;
	color: #48525c;
}
.tec3h-card__price {
	margin: auto 0 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: #111;
}

.tec3h-error {
	padding: 12px 16px;
	border-radius: 8px;
	background: #fdecec;
	color: #a12622;
	border: 1px solid #f5c2c0;
}
.tec3h-empty {
	padding: 12px 16px;
	color: #6b7580;
}
