/* 产品中心列表页独用样式 */
.breadcrumb_section {
	background: white;
}

/* 分类筛选 */
.category_section {
	background: white;
	border-bottom: 1px solid var(--border);
	padding: 20px 0;
}

.category_list {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.category_item {
	display: inline-block;
	padding: 8px 24px;
	border: 1px solid var(--border);
	border-radius: 50px;
	color: var(--text-gray);
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}

.category_item:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.category_item.active {
	background: var(--accent);
	color: white;
	border-color: var(--accent);
}

/* 产品中心 */
.product_section {
	background: white;
	padding: 40px 0;
}

.product_grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.product_card {
	background: white;
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	text-decoration: none;
}

.product_card:hover {
	transform: translateY(-6px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
	border-color: var(--accent);
}

.product_image {
	position: relative;
	height: 220px;
	overflow: hidden;
	background: #f5f5f5;
}

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

.product_card:hover .product_image img {
	transform: scale(1.05);
}

.product_tag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 12px;
	background: var(--accent);
	color: white;
	font-size: 12px;
	font-weight: 500;
	border-radius: 50px;
}

.product_body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product_title {
	font-size: 18px;
	font-weight: 600;
	color: var(--primary);
	line-height: 1.4;
	transition: color 0.3s ease;
}

.product_card:hover .product_title {
	color: var(--accent);
}

.product_excerpt {
	font-size: 15px;
	color: var(--text-gray);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

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

.product_price {
	font-size: 16px;
	color: var(--accent);
	font-weight: 600;
}

.product_views {
	font-size: 14px;
	color: var(--muted);
	flex: 1;
	text-align: center;
}

.product_view_detail {
	font-size: 14px;
	color: white;
	font-weight: 500;
	background: var(--accent);
	padding: 6px 16px;
	border-radius: 6px;
	transition: all 0.3s ease;
}

.product_card:hover .product_view_detail {
	background: var(--accent-hover);
}

/* 产品图片轮播 */
.product_images_swiper {
	margin-bottom: 30px;
}

.productSwiper {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: #f5f5f5;
}

.productSwiper .swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
}

.productSwiper .swiper-slide img {
	width: 100%;
	max-height: 600px;
	object-fit: contain;
	display: block;
	background: #fff;
}

.productSwiperThumbs {
	margin-top: 12px;
	padding: 0;
}

.productSwiperThumbs .swiper-wrapper {
	justify-content: flex-start;
}

.productSwiperThumbs .swiper-slide {
	width: 120px;
	height: 80px;
	flex-shrink: 0;
	opacity: 0.4;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
}

.productSwiperThumbs .swiper-slide-thumb-active {
	opacity: 1;
	border-color: var(--accent);
}

.productSwiperThumbs .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 轮播图导航按钮 */
.productSwiper .swiper-button-prev,
.productSwiper .swiper-button-next {
	color: #fff;
	background: rgba(0, 0, 0, 0.4);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.productSwiper .swiper-button-prev:hover,
.productSwiper .swiper-button-next:hover {
	background: rgba(0, 0, 0, 0.6);
}

.productSwiper .swiper-button-prev:after,
.productSwiper .swiper-button-next:after {
	font-size: 20px;
	font-weight: bold;
}

/* 轮播图分页器 */
.productSwiper .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
	width: 10px;
	height: 10px;
	transition: all 0.3s ease;
}

.productSwiper .swiper-pagination-bullet-active {
	background: var(--accent);
	width: 24px;
	border-radius: 10px;
}

/* 推荐价格 */
.recommend_price {
	color: var(--accent);
	font-size: 14px;
	font-weight: 600;
}

/* 响应式 */
@media (max-width: 1024px) {
	.product_grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.product_grid {
		grid-template-columns: 1fr;
	}

	.category_list {
		gap: 10px;
	}

	.category_item {
		padding: 6px 18px;
		font-size: 13px;
	}
}

/* 首页产品介绍板块 - 复用产品列表页样式 */
.product_section {
	background: white;
	padding: 80px 0;
}

.product_overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.product_card:hover .product_overlay {
	opacity: 1;
}

.view_detail_btn {
	padding: 10px 28px;
	background: var(--accent);
	color: white;
	font-size: 14px;
	font-weight: 500;
	border-radius: 50px;
	transform: translateY(20px);
	transition: all 0.3s ease;
}

.product_card:hover .view_detail_btn {
	transform: translateY(0);
}

.product_button {
	text-align: center;
	margin-top: 40px;
}
