﻿.fp-auto-height {width: 82%; margin: 0 auto;padding-top: 1%;}
.container {
	width: 82%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	padding: 30px;
	margin-top: 20px;
}

/* 左侧图片区域 */
.product-images {
	flex: 1;
	min-width: 300px;
}

.main-image-container {
	width: 100%;
	height: 500px;
	overflow: hidden;
	border-radius: 10px;
	margin-bottom: 20px;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #eee;
}

.main-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.main-image:hover {
	transform: scale(1.02);
}

/* 小图轮播区域 */
.thumbnail-slider {
	position: relative;
	width: 100%;
}

.thumbnails-container {
	display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 27px;
    scrollbar-width: none;
}

.thumbnails-container::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Edge */
}

.thumbnail {
	min-width: 100px;
	height: 100px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	border: 2px solid transparent;
	background-color: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.thumbnail.active {
	border-color: #3498db;
}

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

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

.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.slider-btn {
	pointer-events: all;
	background-color: rgba(255, 255, 255, 0.8);
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
}

.slider-btn:hover {
	background-color: #fff;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.slider-btn.prev {
	margin-left: -16px;
}

.slider-btn.next {
	margin-right: -16px;
}

/* 右侧内容区域 */
.product-details {
	flex: 1;
	min-width: 300px;
}

.product-title {
	font-size: 30px;
	line-height: 30px;
	font-weight: 700;
	color: #d61518;
	font-style: oblique;
}

.product-features {
	margin-top: 5px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	opacity: .9;
}
.product-features p{
	line-height: 24px;
}
.features-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #2c3e50;
}

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

.features-list li {
	display: flex;
	align-items: flex-start;
	color: #444;
	font-size: 16px;
	line-height: 30px;
}

.features-list li strong{
	padding-right: 10px;
}
.product-specs {
	margin-top: 25px;
	padding: 20px;
	background-color: #f8f9fa;
	border-radius: 8px;
}

.specs-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	color: #2c3e50;
}

.specs-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.spec-item {
	display: flex;
	flex-direction: column;
}

.spec-label {
	font-size: 14px;
	color: #666;
	margin-bottom: 4px;
}

.spec-value {
	font-weight: 500;
	color: #333;
}
.cp-a4 {
    width: 100%;
    min-width: 1250px;
    max-width: 1920px;
}
/* 响应式设计 */

@media screen and (max-width: 1300px) {
	.cp-a4 {
		width: 82%;
		min-width: 1024px;
		max-width: 1920px;
	}
}

@media (max-width: 992px) {
	.container {
		gap: 30px;
		padding: 25px;
	}
	
	.main-image-container {
		height: 400px;
	}
}

@media (max-width: 768px) {
	.container {
		flex-direction: column;
		padding: 20px;
		gap: 25px;
	}
	
	.main-image-container {
		height: 350px;
	}
	
	.product-title {
		font-size: 24px;
	}
	
	.specs-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	body {
		padding: 10px;
	}
	
	.container {
		padding: 15px;
	}
	
	.main-image-container {
		height: 300px;
	}
	
	.thumbnail {
		min-width: 70px;
		height: 70px;
	}
	
	.product-title {
		font-size: 22px;
	}
}