/* Feature Products Carousel Styles */
#featureProducts {
	padding: 10px 0 20px 0;
	background-color: #f8f9fa;
	overflow: hidden;
	position: relative;
}

#featureProducts .container {
	margin-bottom: 30px;
}

#featureProducts h3 {
	text-align: center;
}

.feature-products-carousel-wrapper {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	box-sizing: border-box;
}

.feature-products-carousel {
	display: flex;
 	transition: transform 0.6s ease-in-out;
 	will-change: transform;
 	width: 100%;
 	box-sizing: border-box;
 	margin: 0 -7.5px;
}

.feature-products-slide {
 	flex: 0 0 25%;
 	min-width: 25%;
 	padding: 0 7.5px;
 	box-sizing: border-box;
 	transition: transform 0.3s ease;
 	overflow: hidden;
}

.feature-products-slide.clone {
	/* 克隆的图片保持相同的样式 */
}

.feature-products-link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.feature-products-image-wrapper {
	position: relative;
	width: 100%;
	height: auto;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: transform 0.3s ease;
}

.feature-products-image-wrapper:hover {
	transform: scale(1.02);
	z-index: 10;
	overflow: hidden;
}

.feature-products-image-wrapper img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

/* 便携机产品图片容器：设置固定高度，保持容器大小不变 */
.feature-products-image-wrapper.portable-product {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	background-color: #fff;
}

/* 便携机产品图片按实际比例显示，容器不变 */
.feature-products-image-wrapper.portable-product img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
}

/* Kiosk产品图片容器：设置固定高度，保持容器大小不变 */
.feature-products-image-wrapper.kiosk-product {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	background-color: #fff;
}

/* Kiosk产品图片按红框大小显示，容器不变 */
.feature-products-image-wrapper.kiosk-product img {
	width: 300px;
	height: 300px;
	object-fit: contain;
	object-position: center;
}

.feature-products-image-wrapper:hover img {
	transform: scale(1.1);
}

.feature-products-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 30px;
	box-sizing: border-box;
}

.feature-products-image-wrapper:hover .feature-products-overlay {
	opacity: 1;
}

.feature-products-text {
	color: #ffffff;
	text-align: center;
	transform: translateY(20px);
	transition: transform 0.3s ease;
}

.feature-products-image-wrapper:hover .feature-products-text {
	transform: translateY(0);
}

.feature-products-text h3 {
	font-size: 28px;
	font-weight: bold;
	margin: 0 0 10px 0;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.feature-products-text p {
	font-size: 16px;
	margin: 0;
	line-height: 1.5;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation Buttons */
.feature-products-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 30px;
	color: #333;
	cursor: pointer;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.feature-products-nav:hover {
	background: rgba(255, 255, 255, 1);
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feature-products-prev {
	left: 20px;
}

.feature-products-next {
	right: 20px;
}


/* Responsive Design */
@media (max-width: 1200px) {
	.feature-products-slide {
		flex: 0 0 33.333%;
		min-width: 33.333%;
		padding: 0 7.5px;
	}
}

@media (max-width: 992px) {
	.feature-products-slide {
		flex: 0 0 50%;
		min-width: 50%;
		padding: 0 7.5px;
	}
	.feature-products-image-wrapper.portable-product,
	.feature-products-image-wrapper.kiosk-product {
		min-height: 250px;
	}
	.feature-products-image-wrapper.kiosk-product img {
		width: 260px;
		height: 260px;
	}
	.feature-products-text h3 {
		font-size: 24px;
	}
	.feature-products-text p {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	#featureProducts {
		padding: 40px 0;
	}
	.feature-products-carousel-wrapper {
		padding: 0 15px;
		box-sizing: border-box;
	}
	.feature-products-slide {
		flex: 0 0 100%;
		min-width: 100%;
		margin: 0;
	}
	.feature-products-image-wrapper.portable-product,
	.feature-products-image-wrapper.kiosk-product {
		min-height: 200px;
	}
	.feature-products-image-wrapper.kiosk-product img {
		width: 200px;
		height: 200px;
	}
	.feature-products-nav {
		width: 40px;
		height: 40px;
		font-size: 24px;
	}
	.feature-products-prev {
		left: 10px;
	}
	.feature-products-next {
		right: 10px;
	}
	.feature-products-text h3 {
		font-size: 20px;
	}
	.feature-products-text p {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.feature-products-nav {
		width: 35px;
		height: 35px;
		font-size: 20px;
	}
}

