body {
	background-color: #F5F5F7;
	text-align: center;
}

.title h1 {
	font-size: 38px;
	line-height: 46px;
	padding-top: 135px;
	font-weight: normal;
}

.title span {
	font-size: 24px;
	line-height: 30px;
	margin-top: 20px;
	display: block;
}

.product-list {
    margin-top: 120px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    height: auto;
    padding: 0;
    display: flex;
}

.product-category {
    margin: 0;
    width: 340px;
    height: auto;
    flex-shrink: 0;
    text-align: left;
}

.product-category span {
    display: block;
    font-size: 24px;
    margin-bottom: 84px;
    position: relative;
    width: fit-content;
}

.product-category span:last-child {
    margin-bottom: 0;
}

.product-category a {
	color: #1a1918;
	text-decoration: none;
}

.product-category span.active {
    position: relative;
	font-weight: 600;
	color:#595957;
}

.product-category span.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ff6700;
}

.product-img {
    padding: 0;
    max-width: 860px;
    height: auto;
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.product-img-item {
    margin: 0;
    background-color: #FFF;
    width: calc(50% - 12.5px);
    height: 520px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    padding: 20px;
	cursor: pointer;
}

/* 图片居中 */
.product-img-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%; 		/* 限制图片最大宽度 */
    max-height: 60%; 		/* 限制图片最大高度 */
    object-fit: contain; 	/* 保持图片比例 */
}

/* 标题 - 左上角 */
.product-img-item > span {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 18px;
    z-index: 1; 			/* 确保文字在图片上方 */
}

/* 底部容器 */
.product-img-item > div {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1; 			/* 确保文字在图片上方 */
}

/* 描述文本 - 左下角 */
.product-img-item > div span:first-child {
    font-size: 12px;
    text-align: left;
    max-width: 60%; 		/* 限制描述文本宽度 */
	color: #4D4D4D;
}

/* 了解更多链接 - 右下角 */
.product-img-item > div span:last-child {
    font-size: 14px;
    text-align: right;
    cursor: pointer;
}

/* 保持原有的间隔样式 */
.product-img-item:nth-child(odd) {
    margin-right: 25px;
}

.product-img-item:nth-child(even) {
    margin-right: 0;
}

.product-img-item {
    margin-bottom: 25px;
}

.product-img-item:nth-last-child(-n+2) {
    margin-bottom: 0;
}

.product-img-item {
    transition: all 0.3s ease;
}

.product-img-item img {
    transition: all 0.3s ease;
}

.product-img-item:hover img {
    transform: translate(-50%, -50%) scale(1.05); /* 悬停时轻微放大 */
}

.product-img-item > div span:last-child {
    position: relative;
    padding-bottom: 2px;
}

.product-img-item > div span:last-child::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #ff6700;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.product-img-item:hover > div span:last-child::after {
    transform: scaleX(1);
    transform-origin: left;
}

.product-img-item a{
	color: #000;
	text-decoration: none;
}

.product-img-item a:hover {
	color: #ff6700;
}

/* ========== 分页样式 ========== */
.pagination {
	margin-top: 20px;
	display: flex;
	justify-content: left;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 14px;
	color: #555;
	background-color: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s;
	cursor: pointer;
}

.pagination a:hover {
	background-color: #ff6700;
	border-color: #ff6700;
	color: #fff;
}

.pagination .active {
	background-color: #ff6700;
	border-color: #ff6700;
	color: #fff;
	cursor: default;
}

.pagination .disabled {
	color: #ccc;
	cursor: not-allowed;
	pointer-events: none;
}

.pagination .ellipsis {
	border: none;
	cursor: default;
}
