/* 工厂照片模块样式 */
.factory-gallery {
	padding: 80px 0;
	background: #f8f9fa;
}

.factory-gallery-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 标题样式 */
.factory-gallery-title {
	text-align: center;
	margin-bottom: 50px;
}

.factory-gallery-title h3 {
	font-size: 36px;
	color: #333;
	font-weight: 600;
	margin-bottom: 15px;
}

.factory-gallery-title p {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* Swiper容器包装器 */
.factory-swiper-container {
	position: relative;
	padding: 0 60px;
}

/* Swiper容器 */
.factory-swiper {
	padding: 20px 0 20px;
	position: relative;
	overflow: hidden;
}

/* 图片卡片样式 */
.factory-slide {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	height: auto;
}

.factory-slide:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.factory-slide-img {
	width: 100%;
	height: 280px;
	overflow: hidden;
	position: relative;
	background: #f5f5f5;
}

.factory-slide-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.factory-slide:hover .factory-slide-img img {
	transform: scale(1.1);
}

.factory-slide-info {
	padding: 20px;
	text-align: center;
}

.factory-slide-title {
	font-size: 16px;
	color: #333;
	font-weight: 500;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Swiper按钮样式 */
.factory-swiper-button-prev,
.factory-swiper-button-next {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.factory-swiper-button-prev i,
.factory-swiper-button-next i {
	font-size: 24px;
	color: #333;
	transition: color 0.3s ease;
}

.factory-swiper-button-prev:hover,
.factory-swiper-button-next:hover {
	background: var(--color, #0066cc);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.factory-swiper-button-prev:hover i,
.factory-swiper-button-next:hover i {
	color: #fff;
}

.factory-swiper-button-prev {
	left: 0;
}

.factory-swiper-button-next {
	right: 0;
}

/* Swiper分页器样式 */
.factory-swiper-pagination {
	bottom: 20px !important;
}

.factory-swiper-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #ccc;
	opacity: 1;
	transition: all 0.3s ease;
}

.factory-swiper-pagination .swiper-pagination-bullet-active {
	width: 30px;
	border-radius: 5px;
	background: var(--color, #0066cc);
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.factory-gallery {
		padding: 60px 0;
	}
	
	.factory-gallery-title h3 {
		font-size: 30px;
	}
	
	.factory-swiper-container {
		padding: 0 50px;
	}
	
	.factory-slide-img {
		height: 240px;
	}
	
	.factory-swiper-button-prev,
	.factory-swiper-button-next {
		width: 45px;
		height: 45px;
	}
	
	.factory-swiper-button-prev i,
	.factory-swiper-button-next i {
		font-size: 22px;
	}
}

@media (max-width: 768px) {
	.factory-gallery {
		padding: 50px 0;
	}
	
	.factory-gallery-title {
		margin-bottom: 30px;
	}
	
	.factory-gallery-title h3 {
		font-size: 26px;
		margin-bottom: 10px;
	}
	
	.factory-gallery-title p {
		font-size: 14px;
	}
	
	.factory-swiper-container {
		padding: 0 45px;
	}
	
	.factory-swiper {
		padding: 15px 0 50px;
	}
	
	.factory-slide-img {
		height: 200px;
	}
	
	.factory-slide-info {
		padding: 15px;
	}
	
	.factory-slide-title {
		font-size: 14px;
	}
	
	.factory-swiper-button-prev,
	.factory-swiper-button-next {
		width: 40px;
		height: 40px;
	}
	
	.factory-swiper-button-prev i,
	.factory-swiper-button-next i {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.factory-gallery {
		padding: 40px 0;
	}
	
	.factory-gallery-title h3 {
		font-size: 22px;
	}
	
	.factory-swiper-container {
		padding: 0 40px;
	}
	
	.factory-slide-img {
		height: 180px;
	}
	
	.factory-slide-info {
		padding: 12px;
	}
	
	.factory-swiper-button-prev,
	.factory-swiper-button-next {
		width: 36px;
		height: 36px;
	}
	
	.factory-swiper-button-prev i,
	.factory-swiper-button-next i {
		font-size: 18px;
	}
}

