/* ==========================================================================
   Product card — shop / category grid and the product slider
   (template-parts/tech-ae-product/tech-ae-product-card.php)
   ========================================================================== */
.tech-ae-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 1px solid var(--tech-ae-border);
	border-radius: var(--tech-ae-radius-lg);
	background: var(--tech-ae-white);
	list-style: none;
	text-align: left;
	transition: border-color var(--tech-ae-ease), box-shadow var(--tech-ae-ease), transform var(--tech-ae-ease);
}
.tech-ae-card:hover {
	border-color: rgba(11, 81, 153, .35);
	box-shadow: 0 12px 28px -18px rgba(11, 81, 153, .45);
	transform: translateY(-3px);
}

.tech-ae-card__media {
	display: block;
	aspect-ratio: 1;
	padding: 14px;
	background: var(--tech-ae-white);
}
.tech-ae-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	transition: transform .35s ease;
}
.tech-ae-card:hover .tech-ae-card__media img { transform: scale(1.04); }

.tech-ae-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 14px;
	border-top: 1px solid var(--tech-ae-border);
}
.tech-ae-card__title {
	flex: 1;
	margin: 0;
	padding: 0;
	font-family: var(--tech-ae-font-head);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}
.tech-ae-card__title a {
	display: -webkit-box;
	overflow: hidden;
	color: var(--tech-ae-dark);
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.tech-ae-card__title a:hover { color: var(--tech-ae-primary); }
.tech-ae-card .tech-ae-quote-btn { min-height: 42px; margin: 0; padding: 8px 12px; font-size: 14px; }

@media (min-width: 768px) {
	.tech-ae-card__body { padding: 16px 18px 18px; }
	.tech-ae-card__title { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.tech-ae-card, .tech-ae-card__media img { transition: none; }
	.tech-ae-card:hover { transform: none; }
	.tech-ae-card:hover .tech-ae-card__media img { transform: none; }
}
