/* Featured products — responsive card grid. */

.cf-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
	max-width: 1080px;
	margin: 2.5rem auto;
	padding: 0 1rem;
}

.cf-product {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eceff3;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(17, 24, 39, 0.05);
	transition: transform .2s ease, box-shadow .2s ease;
}

.cf-product:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 40px rgba(17, 24, 39, 0.10);
}

.cf-product__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f3f4f6;
}

.cf-product__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}

.cf-product:hover .cf-product__img {
	transform: scale(1.04);
}

.cf-product__body {
	padding: 1.1rem 1.2rem 1.4rem;
}

.cf-product__title {
	margin: 0 0 .4rem;
	font-size: 1.1rem;
	line-height: 1.3;
	color: #1f2430;
}

.cf-product__excerpt {
	margin: 0;
	color: #6b7280;
	font-size: .95rem;
	line-height: 1.55;
}

.cf-products-empty {
	text-align: center;
	color: #6b7280;
}
