/* 产品页面样式 */
.product-list-page,
.product-detail-page {
	background-color: #f8f9fa;
}

/* 页面横幅 */
.product-page-banner {
	background-image: url('/template/default/images/banner/product.webp');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 120px 0 80px;
	position: relative;
	overflow: hidden;
}

.product-banner-overlay {
	position: relative;
	z-index: 2;
}

.product-banner-content {
	text-align: center;
	color: white;
}

.product-banner-content h1 {
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.product-banner-content p {
	font-size: 24px;
	margin-bottom: 30px;
	opacity: 0.9;
}

/* 面包屑导航 */
.product-breadcrumb-nav {
	background: white;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.product-breadcrumb-nav .index-container {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.product-breadcrumb-nav a {
	color: #666;
	text-decoration: none;
	transition: color 0.3s;
}

.product-breadcrumb-nav a:hover {
	color: #4CAF50;
}

.product-breadcrumb-nav .product-separator {
	color: #ccc;
}

.product-breadcrumb-nav .product-current {
	color: #333;
	font-weight: 500;
}

/* 产品筛选 */
.product-filter-section {
	background: white;
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

.product-filter-tabs {
	display: flex;
	gap: 30px;
	justify-content: center;
	flex-wrap: wrap;
}

.product-filter-tab {
	padding: 10px 20px;
	color: #666;
	text-decoration: none;
	border-radius: 25px;
	transition: all 0.3s;
	font-weight: 500;
}

.product-filter-tab:hover,
.product-filter-tab.active {
	background: #4CAF50;
	color: white;
}

/* 产品列表 */
.product-list-section {
	padding-bottom: 40px;


}

.product-list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

.product-list-item {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

.product-list-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-list-image {
	position: relative;
	overflow: hidden;
	text-align: center;
}

.product-list-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.product-list-item:hover .product-list-image img {
	transform: scale(1.05);
}

.product-list-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(76, 175, 80, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s;
	text-decoration: none;
	cursor: pointer;
}

.product-list-item:hover .product-list-overlay {
	opacity: 1;
}

.product-list-btn {
	background: white;
	color: #4CAF50;
	padding: 12px 24px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s;
}

.product-list-btn:hover {
	background: #4CAF50;
	color: white;
}

.product-list-content {
	padding: 0 25px;
	text-align: center;
}

.product-list-content h4 {
	margin-bottom: 15px;
	text-align: center;
}

.product-list-content h4 a {
	color: #333;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	transition: color 0.3s;
}

.product-list-content h4 a:hover {
	color: #4CAF50;
}

.product-list-desc {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-list-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: #999;
}



/* 产品详情页样式 */
.product-detail-section {
	padding: 60px 0;
}

.product-detail-content {
	background: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.product-detail-main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding: 40px;
	align-items: start;
}

.product-detail-image {
	text-align: center;
}

.product-detail-image img {
	max-width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 10px;

}

.product-detail-info h2 {
	font-size: 28px;
	color: #333;
	margin-bottom: 15px;
	font-weight: bold;
}

.product-detail-meta {
	margin-bottom: 30px;
}

.product-meta-item {
	display: flex;
	margin-bottom: 10px;
	font-size: 14px;
}

.product-meta-label {
	color: #666;
	width: 80px;
	flex-shrink: 0;
}

.product-meta-value {
	color: #333;
	font-weight: 500;
}

.product-detail-actions {
	display: flex;
	gap: 15px;
}

.product-contact-btn,
.product-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 25px;
	text-decoration: none;
	font-weight: bold;
	transition: all 0.3s;
}

.product-contact-btn {
	background: #4CAF50;
	color: white;
}

.product-contact-btn:hover {
	background: #45a049;
}

.product-share-btn {
	background: #f8f9fa;
	color: #666;
	border: 1px solid #ddd;
}

.product-share-btn:hover {
	background: #e9ecef;
}

/* 产品描述标签页 */
.product-detail-description {
	border-top: 1px solid #eee;
}

.product-description-tabs {
	background: white;
}

.product-tab-nav {
	display: flex;
	border-bottom: 1px solid #eee;
}

.product-tab-link {
	flex: 1;
	padding: 20px;
	text-align: center;
	color: #666;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	transition: all 0.3s;
	font-weight: 500;
	position: relative;
}

.product-tab-link:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 30px;
	background-color: #ddd;
}

.product-tab-link:hover,
.product-tab-link.active {
	color: #4CAF50;
	border-bottom-color: #4CAF50;
}

.product-tab-content {
	padding: 40px;
}

.product-tab-panel {
	display: none;
}

.product-tab-panel.active {
	display: block;
}

.product-tab-panel h3 {
	font-size: 24px;
	color: #333;
	margin-bottom: 20px;
	font-weight: bold;
}

.product-content {
	font-size: 16px;
	line-height: 1.8;
	color: #666;
}

.product-specs-table table {
	width: 100%;
	border-collapse: collapse;
}

.product-specs-table td {
	padding: 12px;
	border-bottom: 1px solid #eee;
}

.product-specs-table td:first-child {
	background: #f8f9fa;
	font-weight: bold;
	color: #333;
	width: 150px;
}

.product-usage-content h4,
.product-notes-content h4 {
	font-size: 18px;
	color: #333;
	margin: 20px 0 10px 0;
	font-weight: bold;
}

.product-usage-content ul,
.product-notes-content ul {
	margin-left: 20px;
}

.product-usage-content li,
.product-notes-content li {
	margin-bottom: 8px;
	color: #666;
	line-height: 1.6;
}


/* 响应式设计 */
@media (max-width: 768px) {
	.product-banner-content h1 {
		font-size: 32px;
	}
	
	.product-banner-content p {
		font-size: 18px;
	}
	
	.product-filter-tabs {
		gap: 15px;
	}
	
	.product-filter-tab {
		padding: 8px 15px;
		font-size: 14px;
	}
	
	.product-list-content h4 a {
		font-size: 16px;
	}
	
	.product-list-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.product-detail-main {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 30px 20px;
	}
	
	.product-detail-actions {
		flex-direction: column;
	}
	
	.product-tab-nav {
		flex-direction: column;
	}
	
	.product-tab-link {
		border-bottom: 1px solid #eee;
		border-right: none;
	}
	
	.product-tab-link:not(:last-child)::after {
		display: none;
	}
	
	.product-tab-link.active {
		border-bottom-color: #eee;
		border-left: 3px solid #4CAF50;
	}
	
	.product-tab-content {
		padding: 20px;
	}
	
	.product-related-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 20px;
	}
	
	.product-contact-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 480px) {
	.product-page-banner {
		padding: 80px 0 60px;
	}
	
	.product-banner-content h1 {
		font-size: 28px;
	}
	
	.product-list-grid {
		grid-template-columns: 1fr;
	}
	
	.product-list-content h4 a {
		font-size: 15px;
	}
	
	.product-detail-main {
		padding: 20px 15px;
	}
	
	.product-detail-image img {
		height: 300px;
	}
	
	.product-advantages-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	
	.product-related-grid {
		grid-template-columns: 1fr;
	}
}

/* 图片点击放大功能样式 */
.product-image-clickable {
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image-clickable:hover {
	transform: scale(1.05);

}

.product-detail-image {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}

.image-zoom-hint {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: rgba(0,0,0,0.7);
	color: white;
	padding: 8px 12px;
	border-radius: 20px;
	font-size: 12px;
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: center;
	gap: 5px;
}

.product-detail-image:hover .image-zoom-hint {
	opacity: 1;
}

/* 图片放大模态框样式 */
.image-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
	animation: fadeIn 0.3s ease;
}

.image-modal.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-modal-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.image-modal-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
	text-align: center;
	animation: zoomIn 0.3s ease;
}

.image-modal-content img {
	max-width: 100%;
	max-height: 80vh;
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.image-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: white;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s ease;
}

.image-modal-close:hover {
	color: #4CAF50;
}

.image-modal-caption {
	color: white;
	padding: 20px 0;
	font-size: 16px;
}

/* 动画效果 */
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes zoomIn {
	from { 
		opacity: 0;
		transform: scale(0.5);
	}
	to { 
		opacity: 1;
		transform: scale(1);
	}
}

/* 移动端适配 */
@media (max-width: 768px) {
	.image-modal-content {
		max-width: 95%;
		max-height: 95%;
	}
	
	.image-modal-close {
		font-size: 30px;
		top: -35px;
	}
	
	.image-zoom-hint {
		font-size: 11px;
		padding: 6px 10px;
	}
}

/* 服务热线样式 */
.service-hotline {
	margin-top: 15px;
	border-radius: 12px;
	transition: all 0.3s ease;
}



.hotline-header {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	color: #333;
	font-weight: 600;
	font-size: 16px;
}

.hotline-header img {
	font-size: 20px;
	color: #4CAF50;
	margin-right: 10px;

	width: 35px;
	height: 35px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hotline-number {
	margin-bottom: 12px;
}

.hotline-number a {
	display: block;
	font-size: 24px;
	font-weight: bold;
	color: #4CAF50;
	text-decoration: none;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	font-family: 'Arial', sans-serif;
}

.hotline-number a:hover {
	color: #45a049;
	transform: scale(1.02);
	text-decoration: none;
}

.hotline-time {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	color: #666;
	font-size: 14px;
}

.hotline-time i {
	color: #4CAF50;
	margin-right: 8px;
	font-size: 16px;
}

.hotline-desc {
	color: #888;
	font-size: 13px;
	line-height: 1.5;
	margin-top: 8px;
	padding-top: 10px;
	border-top: 1px solid #f0f0f0;
}

/* 移动端适配 */
@media (max-width: 768px) {
	.service-hotline {
		margin-top: 20px;
		padding: 15px;
	}
	
	.hotline-number a {
		font-size: 20px;
	}
	
	.hotline-header {
		font-size: 14px;
	}
	
	.hotline-header i {
		width: 30px;
		height: 30px;
		font-size: 16px;
	}
}