:root {
	--primary-color: #3a7bd5;
	--secondary-color: #00d2ff;
	--text-color: #333;
	--light-text: #666;
	--border-color: #e0e0e0;
}

.product-section {
	padding: 50px 0;
	background-color: #FFFFFF;
}

.container {
	width: 1200px;
	margin: 0 auto;
}

.inside-page h3 {
	text-align: center;
	margin-bottom: 30px;
	font-size: 24px;
	color: #333;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

.product-item {
	background-color: #fff;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 380px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.product-item::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background-color: #1e90ff;
	transition: width 0.5s ease;
}

.product-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-item:hover::after {
	width: 100%;
}

.product-image {
	position: relative;
	overflow: hidden;
	height: 200px;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
	transform: scale(1.05);
}

.product-info {
	padding: 15px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-info h4 {
	padding: 10px;
	margin-bottom: 10px;
	font-size: 28px;
	color: #333;
	flex-shrink: 0;
}

.product-info p {
	padding: 10px;
	font-size: 14px;
	color: #666;
	line-height: 1.9;
	margin-bottom: 10px;
	flex: 1;
}

.product-info .news-img {
	margin-top: auto;
	display: block;
	align-self: flex-start;
}

.pagination-w {
	text-align: center;
	width: 100%;
	overflow: hidden;
	padding: 0 10px;
	box-sizing: border-box;
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 0;
	flex-wrap: nowrap;
	box-sizing: border-box;
	width: 100%;
	gap: 5px;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 8px;
	margin: 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	cursor: pointer;
	font-size: 14px;
	flex-shrink: 0;
	min-width: 28px;
	height: 28px;
	box-sizing: border-box;
}

.pagination .ellipsis {
	border: none;
	cursor: default;
	padding: 6px 5px;
}

.pagination a:hover {
	background-color: #f5f5f5;
}

.pagination a.active {
	background-color: var(--secondary-color);
	color: white;
	border-color: var(--secondary-color);
}

.pagination .prev-page.disabled,
.pagination .next-page.disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.pagination .page-jump {
	border: none;
	display: inline-flex;
	align-items: center;
	margin-left: 5px;
	font-size: 14px;
}

.pagination .page-select {
	padding: 4px;
	margin: 0 3px;
	border-radius: 4px;
	border: 1px solid #ddd;
	font-size: 14px;
	height: 28px;
	box-sizing: border-box;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.news-img {
	margin-left: 10px;
	width: 40px;
}

/* 新增统一样式 */
.top-banner {
	max-width: 100%;
	width: 100%;
	height: 100%;
}

/* 自定义导航样式 */
.custom-nav {
	display: flex;
	justify-content: center;
	margin: 20px 0;
	padding: 10px 0;
}

.custom-nav a {
	padding: 8px 20px;
	margin: 0 5px;
	text-decoration: none;
	color: #333;
	background-color: #E8E8E8;
	border-radius: 5px;
	transition: all 0.3s;
}

.custom-nav a.active {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	box-shadow: 0 5px 15px rgba(58, 123, 213, 0.3);
}

/* 图片上文字样式 */
.banner-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin-top: -100px;
	text-align: center;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.banner-text h2 {
	font-size: 36px;
	margin-bottom: 15px;
	font-weight: bold;
}

.banner-text p {
	font-size: 18px;
	max-width: 800px;
}

/* 1920px分辨率适配 */
@media (min-width: 2560px) {

	/* 容器宽度调整 */
	.container {
		width: 1800rem;
		margin: 0 auto;
	}

	/* 产品区域上下内边距调整 */
	.product-section {
		padding: 60px 0;
	}

	/* 产品网格调整为4列布局 */
	.product-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 3rem;
		margin-bottom: 5rem;
	}

	/* 产品项调整 */
	.product-item {
		height: 42rem;
		;
	}

	/* 产品图片高度调整 */
	.product-image {
		height: 22rem;
		;
	}

	/* 产品信息区调整 */
	.product-info {
		padding: 2rem;
	}

	/* 产品标题字体大小调整 */
	.product-info h4 {
		font-size: 3rem;
		margin-bottom: 15px;
		padding: 15px 10px;
	}

	/* 产品描述文字大小调整 */
	.product-info p {
		font-size: 1.3rem;
		line-height: 1.9;
		margin-bottom: 15px;
		padding: 10px;
	}

	/* 分页控件间距调整 */
	.pagination {
		gap: 8px;
	}

	/* 分页按钮大小调整 */
	.pagination a,
	.pagination span {
		padding: 8px 12px;
		font-size: 16px;
		min-width: 32px;
		height: 32px;
	}

	/* 自定义导航栏调整 */
	.custom-nav {
		margin: 30px 0;
		padding: 15px 0;
	}

	.custom-nav a {
		padding: 10px 25px;
		margin: 0 8px;
		font-size: 16px;
	}

	/* 横幅文字调整 */
	.banner-text h2 {
		font-size: 48px;
		margin-bottom: 20px;
	}

	.banner-text p {
		font-size: 22px;
		max-width: 1000px;
	}

	/* 1920分配率-顶部导航栏 */
	.span1 {
		padding: 0 2rem;
		font-size: 2rem !important;
		margin-top: -5rem;
		margin-left: 4rem;
		font-weight: 700 !important;
	}

	.span2 {
		font-size: 1.2rem !important;
		margin-left: 6rem;
	}

	.banner-text {
		position: absolute;
		top: 40%;
		left: 50%;
		transform: translate(-50%, -50%);
		text-align: center;
		width: 100%;
		max-width: 100%;
	}
}