.slideshow {
    height: 400px;
    object-fit: cover;
}

/* ===== 产品列表网格样式 ===== */
.product-list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 30px;
}

.product-grid-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-grid-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(71, 154, 19, 0.15);
}

/* 图片容器 */
.product-card-img {
	position: relative;
	width: 100%;
	height: 280px;
	overflow: hidden;
	background: #f5f5f5;
}

.product-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.product-grid-card:hover .product-card-img img {
	transform: scale(1.08);
}

/* 悬停遮罩 */
.product-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(71, 154, 19, 0) 0%, rgba(71, 154, 19, 0.85) 180%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 30px;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.product-grid-card:hover .product-card-overlay {
	opacity: 1;
}

.view-detail {
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	padding: 10px 24px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 20px;
	transform: translateY(20px);
	transition: transform 0.4s ease, background 0.3s ease;
}

.product-grid-card:hover .view-detail {
	transform: translateY(0);
}

.view-detail:hover {
	background: rgba(255, 255, 255, 0.2);
}

.view-detail i {
	margin-left: 6px;
	transition: transform 0.3s ease;
}

.view-detail:hover i {
	transform: translateX(4px);
}

/* 标签 */
.product-card-tags {
	position: absolute;
	top: 16px;
	left: 16px;
	display: flex;
	gap: 8px;
	z-index: 2;
}

.product-tag {
	font-size: 11px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 20px;
	backdrop-filter: blur(8px);
}

.product-tag.top {
	background: rgba(231, 76, 60, 0.9);
	color: #fff;
}

.product-tag.recommend {
	background: rgba(243, 156, 18, 0.9);
	color: #fff;
}

.product-tag.headline {
	background: rgba(52, 152, 219, 0.9);
	color: #fff;
}

/* 卡片内容 */
.product-card-body {
	padding: 20px 24px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-card-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.product-grid-card:hover .product-card-title {
	color: #479a13;
}

.product-card-desc {
	font-size: 14px;
	color: #888;
	line-height: 1.6;
	margin-bottom: 16px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	flex: 1;
}

.product-card-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #aaa;
	padding-top: 16px;
	border-top: 1px solid #f0f0f0;
}

.product-date {
	display: flex;
	align-items: center;
}

.product-views {
	display: flex;
	align-items: center;
	gap: 6px;
}

.product-views i {
	font-size: 14px;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
	.product-list-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
	.product-card-img {
		height: 240px;
	}
}

@media (max-width: 992px) {
	.product-list-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.product-card-img {
		height: 220px;
	}
}

@media (max-width: 576px) {
	.product-list-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.product-card-img {
		height: 240px;
	}
	.product-card-body {
		padding: 16px 20px 20px;
	}
	.product-card-title {
		font-size: 16px;
	}
}
