/* 产品列表页样式 - 参考亚威网站 */

/* 顶部横幅 */
.product-banner {
	position: relative;
	width: 100%;
	height: 350px;
	overflow: hidden;
}
.product-banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.product-banner-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #ffffff;
	z-index: 10;
}
.product-banner-title {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 10px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.product-banner-subtitle {
	font-size: 18px;
	opacity: 0.9;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
/* 网站结构导航 */
.breadcrumb {
	background-color: #ffffff;
	border-bottom: 1px solid #eaeaea;
	padding: 15px 0;
}
.breadcrumb .container {
	/* max-width: 1200px; */
	margin: 0 6%;/* padding: 0 20px; */
}
.breadcrumb-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}
.breadcrumb-icon {
	color: #666666;
	display: flex;
	align-items: center;
	margin-right: 5px;
}
.breadcrumb-item {
	font-size: 14px;
	color: #666666;
}
.breadcrumb-item a {
	color: #666666;
	text-decoration: none;
	transition: color 0.3s ease;
}
.breadcrumb-item a:hover {
	color: #e60012;
}
.breadcrumb-item:not(:last-child)::after {
	content: '>';
	margin-left: 10px;
	color: #999999;
}
/* 产品内容 */
.product-content {
	padding: 40px 0;
	background-color: #f8f9fa;
}
.product-container {
	/* max-width: 1200px; */
	margin: 0 6%;
	/* padding: 0 20px; */
	display: flex;/* gap: 30px; */
}
/* 左侧分类 */
.product-left {
	flex: 0 0 250px;
	width: 250px;
}
.product-right {
	flex: 1;
	margin-right: 0px;
	padding: 0px 20px;
}
.category-panel {
	background-color: #ffffff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.category-main {
	border-bottom: 1px solid #eaeaea;
}
.category-main:last-child {
	border-bottom: none;
}
.category-main-title {
	font-size: 16px;
	font-weight: bold;
	color: #333333;
	padding: 15px 20px;
	margin: 0;
	background: url('../img/pro-left-bg.jpg') no-repeat center center;
	background-size: cover;
	color: #ffffff;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
}
.category-main-title::after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	font-weight: bold;
	transition: transform 0.3s ease;
}
.category-main.active .category-main-title::after {
	transform: translateY(-50%) rotate(45deg);
}
.category-submenu {
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}
.category-main.active .category-submenu {
	max-height: none;
}
.category-subitem {
	padding: 12px 20px 12px 30px;
	font-size: 14px;
	color: #666666;
	cursor: pointer;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
}
.category-subitem:hover {
	color: #e60012;
	background-color: #f8f9fa;
	border-left-color: #e60012;
}
.category-subitem.active {
	color: #e60012;
	background-color: #f8f9fa;
	border-left-color: #e60012;
	font-weight: bold;
}
/* 右侧产品列表 */
.product-right {
	flex: 1;
	margin-right: 0px;
	padding: 0px 20px;
}
.cpwidth {
	display: block;
	width: 100%;
	overflow: hidden;
	margin-bottom: 30px;
}
.product-item {
	background-color: #ffffff;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
	transition: all 0.3s ease;
	width: 32%;
	margin-right: 2% !important;
	float: left;
	text-align: left;
	margin: 0px 0px 20px 0px;/*min-height: 535px;*/
}
.product-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.product-item:nth-child(3n) {
	margin-right: 0px !important;
}
.product-inner {
	/*display: flex;
	flex-wrap: wrap;*/
	display:block;
	width:100%;
	overflow:hidden;
}
.product-image {
	/*flex: 0 0 40%;*/
    /* height: 200px; */
    /* overflow: hidden; */
    /*padding: 20px;*/
	width: 100%;
}
.product-image img {
	width: 100%;
	height:260px;
	/*object-fit: cover;*/
	transition: transform 0.3s ease;
}
.product-item:hover .product-image img {
	transform: scale(1.05);
}
.product-info {
	/*flex: 1;*/
	/*padding: 20px;*/
	/*display: flex;
	flex-direction: column;
	justify-content: space-between;*/
	display:block;
	width:100%;
}
.product-title {
	font-size: 18px;
	font-weight: bold;
	color: #333333;
	/*margin-bottom: 15px;*/
	margin:0px 15px 15px 15px;
	line-height: 1.4;
	position: relative;
}
.product-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #333333;
}
.product-description {
	font-size: 14px;
	color: #666666;
	line-height: 1.8;
	margin-top: 25px;
	flex: 1;
}
.product-buttons {
	display: flex;
	gap: 20px;
	margin: 20px;
}
.product-button {
	display: inline-block;
	padding: 10px 25px;
	border: 1px solid #e60012;
	color: #e60012;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	transition: all 0.3s ease;
}
.product-button:hover {
	background-color: #e60012;
	color: #ffffff;
	transform: translateY(-2px);
}
.product-button.view-more {
/* background-color: #ffffff; */
}
.product-button.inquiry {
/* background-color: #ffffff; */
}
/* 分页 */
.product-pagination {
	margin-top: 40px;
	text-align: center;
}
.pagination-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-flex;
	gap: 10px;
	align-items: center;
}
.pagination-item, .product-pagination span, .product-pagination a {
	padding: 8px 15px;
	font-size: 14px;
	color: #666666;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.3s ease;
}
.pagination-item:hover {
	color: #e60012;
}
.pagination-item.active, .pagination-item:hover, .product-pagination a:hover, .pagination-list span.current {
	background-color: #e60012;
	color: #ffffff;
}
.pagination-item span.current {
	margin: 0px 30px;
}
.pagination-item.ellipsis {
	cursor: default;
}
.pagination-item.ellipsis:hover {
	color: #666666;
}
.pagination-item.next {
	border: 1px solid #e60012;
	color: #e60012;
}
.pagination-item.next:hover {
	background-color: #e60012;
	color: #ffffff;
}
/* 产品咨询 */
.product-consult {
	padding: 60px 0;
	/* background-color: #f8f9fa; */
	text-align: center;
}
.consult-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px;
}
.consult-title {
	font-size: 28px;
	font-weight: bold;
	color: #333333;
	margin-bottom: 20px;
}
.consult-subtitle {
	font-size: 16px;
	color: #666666;
	margin-bottom: 15px;
	line-height: 1.6;
}
.consult-phone {
	font-size: 18px;
	color: #333333;
	margin-bottom: 30px;
}
.consult-phone span {
	color: #e60012;
	font-weight: bold;
}
.consult-btn {
	display: inline-block;
	padding: 12px 40px;
	background-color: #e60012;
	color: #ffffff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	transition: all 0.3s ease;
}
.consult-btn:hover {
	background-color: #c0392b;
	transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 992px) {
.product-banner {
	height: 300px;
}
.product-banner-title {
	font-size: 30px;
}
.product-banner-subtitle {
	font-size: 16px;
}
.product-container {
	flex-direction: column;
}
.product-left {
	flex: 1;
	display: none;
}
.category-panel {
	display: flex;
	flex-wrap: wrap;
}
.category-main {
	flex: 0 0 calc(50% - 1px);
	border-bottom: none;
	border-right: 1px solid #eaeaea;
	/* 移动端默认不展开 */
	max-height: 50px;
	overflow: hidden;
}
.category-main.active {
	max-height: none;
	overflow: visible;
}
.category-main:nth-child(even) {
	border-right: none;
}
.category-main:nth-child(1), .category-main:nth-child(2) {
	border-bottom: 1px solid #eaeaea;
}
.product-right {
	padding: 0px;
}
.product-image {
	flex: 0 0 100%;
	height: 250px;
}
.product-info {
	flex: 0 0 100%;
	padding: 20px;
}
.product-buttons {
	justify-content: center;
}
}
 @media (max-width: 768px) {
.product-banner {
	height: 250px;
}
.product-banner-title {
	font-size: 24px;
}
.product-banner-subtitle {
	font-size: 14px;
}
.product-content {
	padding: 30px 0;
}
.product-container {
	gap: 20px;/* padding: 0 15px; */
}
.category-main {
	flex: 0 0 100%;
	border-right: none;
	border-bottom: 1px solid #eaeaea;
	/* 移动端默认不展开 */
	max-height: 50px;
	overflow: hidden;
}
.category-main.active {
	max-height: none;
	overflow: visible;
}
.category-main-title {
	padding: 12px 15px;
}
.category-subitem {
	padding: 10px 15px 10px 25px;
}
.product-item {
	margin-bottom: 20px;
}
.product-image {
	height: 200px;
}
.product-info {
	padding: 15px;
}
.product-title {
	font-size: 18px;
	margin-bottom: 10px;
}
.product-description {
	font-size: 13px;
	margin-bottom: 15px;
}
.product-buttons {
	gap: 10px;
	flex-direction: column;
}
.product-button {
	text-align: center;
}
.pagination-list {
	flex-wrap: wrap;
	gap: 5px;
}
.pagination-item {
	padding: 6px 12px;
	font-size: 13px;
}
.product-consult {
	padding: 40px 0;
}
.consult-title {
	font-size: 24px;
}
.consult-subtitle {
	font-size: 14px;
}
.consult-phone {
	font-size: 16px;
}
.consult-btn {
	padding: 10px 30px;
	font-size: 14px;
}
}
 @media (max-width: 480px) {
.product-banner {
	height: 200px;
}
.product-banner-title {
	font-size: 20px;
}
.product-banner-subtitle {
	font-size: 12px;
}
.product-content {
	padding: 20px 0;
}
.product-image {
	height: 150px;
}
.product-title {
	font-size: 16px;
}
.product-consult {
	padding: 30px 0;
}
.consult-title {
	font-size: 20px;
}
}
