/* 面包屑导航 */
.breadcrumb {
	background: #f5f5f5;
	padding: 1rem 0;
	font-size: 0.9rem;
	border-bottom: 1px solid #e0e0e0;
}

.breadcrumb .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.breadcrumb a {
	color: #666;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #0066cc;
}

.breadcrumb span {
	color: #999;
}

/* 商品主体信息 */
.product-main {
	padding: 3rem 2rem;
	background: white;
}

.product-detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

/* 左侧媒体区 */
.product-media {
	position: sticky;
	top: 80px;
}

.media-display {
	background: #f9f9f9;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 1rem;
}

.main-media {
	position: relative;
	width: 100%;
	height: 450px;
	background: #e0e0e0;
}

.media-video {
	width: 100%;
	height: 100%;
	display: none;
	object-fit: cover;
}

.media-video.active {
	display: block;
}

.media-image {
	width: 100%;
	height: 100%;
	display: none;
	object-fit: contain;
	background: white;
	padding: 2rem;
}

.media-image.active {
	display: block;
}

/* 缩略图列表 */
.media-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.5rem;
	margin-top: 1rem;
}

.thumb-item {
	position: relative;
	width: 100%;
	padding-top: 100%;
	background: #f0f0f0;
	border-radius: 4px;
	cursor: pointer;
	overflow: hidden;
	border: 2px solid transparent;
	transition: all 0.3s;
}

.thumb-item.active {
	border-color: #0066cc;
}

.thumb-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	background: rgba(0, 0, 0, 0.6);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.2rem;
}

/* 右侧商品信息 */
.product-info {
	padding: 1rem 0;
}

.product-title {
	font-size: 2.2rem;
	color: #333;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.product-subtitle {
	font-size: 1rem;
	color: #666;
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.product-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 1rem 0;
	margin-bottom: 1.5rem;
	border-top: 1px solid #e0e0e0;
	border-bottom: 1px solid #e0e0e0;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
}

.meta-label {
	color: #999;
	font-weight: 500;
}

.meta-value {
	color: #333;
	font-weight: 600;
}

.product-price {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.price-label {
	font-size: 1.1rem;
	color: #666;
}

.price-value {
	font-size: 2.5rem;
	color: #ff6b00;
	font-weight: 700;
}

.price-unit {
	font-size: 1rem;
	color: #999;
}

.product-moq {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: #f0f7ff;
	border-radius: 4px;
	color: #0066cc;
	font-weight: 500;
	margin-bottom: 1.5rem;
}

.product-features {
	margin-bottom: 2rem;
}

.product-features h3 {
	font-size: 1.1rem;
	color: #333;
	margin-bottom: 1rem;
}

.features-list {
	list-style: none;
	padding: 0;
}

.features-list li {
	padding: 0.5rem 0;
	color: #666;
	line-height: 1.6;
	border-bottom: 1px dashed #e0e0e0;
}

.features-list li:last-child {
	border-bottom: none;
}

.product-actions {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
}

.btn-large {
	flex: 1;
	padding: 1rem 2rem;
	font-size: 1.1rem;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-weight: 600;
	border: none;
}

.btn-primary {
	background: #ff6b00;
	color: white;
}

.btn-primary:hover {
	background: #e55a00;
	transform: translateY(-2px);
}

.btn-secondary {
	background: transparent;
	color: #0066cc;
	border: 2px solid #0066cc;
}

.btn-secondary:hover {
	background: #f0f7ff;
}

.whatsapp-icon {
	font-size: 1.3rem;
}

.product-support {
	display: grid;
	gap: 1rem;
}

.support-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: #f9f9f9;
	border-radius: 4px;
	border-left: 4px solid #0066cc;
}

.support-icon {
	font-size: 1.5rem;
}

.support-text {
	color: #666;
	font-size: 0.95rem;
}

/* 商品详情 */
.product-details {
	padding: 4rem 2rem;
	background: white;
}

.details-tabs {
	display: flex;
	gap: 1rem;
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 2rem;
}

.details-tab {
	padding: 1rem 2rem;
	border: none;
	background: transparent;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	color: #666;
	transition: all 0.3s;
	position: relative;
}

.details-tab::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background: #0066cc;
	transform: scaleX(0);
	transition: transform 0.3s;
}

.details-tab.active {
	color: #0066cc;
}

.details-tab.active::after {
	transform: scaleX(1);
}

.details-content {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 2rem;
}

.details-panel {
	display: none;
}

.details-panel.active {
	display: block;
}

.details-panel h2 {
	color: #333;
	margin-bottom: 1.5rem;
	font-size: 1.8rem;
}

/* 规格表格 */
.specs-table {
	width: 100%;
	border-collapse: collapse;
	background: white;
	border-radius: 8px;
	overflow: hidden;
}

.specs-table tr:nth-child(even) {
	background: #f9f9f9;
}

.specs-table td {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #e0e0e0;
}

.spec-label {
	width: 30%;
	color: #666;
	font-weight: 500;
	background: #f5f5f5;
}

.spec-value {
	color: #333;
	font-weight: 600;
}

/* 描述内容 */
.description-content p {
	color: #666;
	line-height: 1.8;
	margin-bottom: 1rem;
}

.description-content strong {
	color: #333;
}

/* 应用场景 */
.applications-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.application-card {
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s, box-shadow 0.3s;
}

.application-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.app-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.application-card h3 {
	color: #333;
	margin-bottom: 0.75rem;
	font-size: 1.2rem;
}

.application-card p {
	color: #666;
	line-height: 1.6;
	font-size: 0.95rem;
}

/* 运输政策 */
.shipping-content h3 {
	color: #333;
	margin: 2rem 0 1rem;
	font-size: 1.3rem;
}

.shipping-content h3:first-child {
	margin-top: 0;
}

.shipping-list {
	list-style: none;
	padding: 0;
}

.shipping-list li {
	padding: 0.75rem 0;
	color: #666;
	line-height: 1.7;
	border-bottom: 1px dashed #e0e0e0;
}

.shipping-list li:last-child {
	border-bottom: none;
}

/* 相关产品 */
.related-products {
	padding: 4rem 2rem;
	background: #f5f5f5;
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.product-detail-grid {
		grid-template-columns: 1fr;
	}

	.product-media {
		position: static;
	}

	.main-media {
		height: 400px;
	}
}

@media (max-width: 768px) {
	.product-main,
	.product-details,
	.related-products {
		padding: 2rem 1rem;
	}

	.product-title {
		font-size: 1.6rem;
	}

	.price-value {
		font-size: 2rem;
	}

	.product-meta {
		flex-direction: column;
		gap: 0.75rem;
	}

	.main-media {
		height: 300px;
	}

	.product-actions {
		flex-direction: column;
	}

	.details-tabs {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.details-tab {
		padding: 0.75rem 1rem;
		font-size: 0.9rem;
		flex: 1;
		min-width: 120px;
	}

	.specs-table td {
		padding: 0.75rem 1rem;
	}

	.spec-label {
		width: 40%;
	}

	.applications-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.media-thumbnails {
		grid-template-columns: repeat(3, 1fr);
	}
}
