﻿
.sub-cate-2 {
    margin-top: 80px;
    font-size: 3.2em;
    color: #101010;
}
    .sub-cate-2 > a {
        color: #101010;
    }
    #sub-cate-3 {
        margin: 70px 0 70px 0;
        display: flex;
        justify-content: space-between;
    }
    #sub-cate-3 li {
        height: 30px;
        line-height: 30px;
        margin-left:10px;
        
    }
        #sub-cate-3 li a {
            white-space: nowrap;
            color: #101010;
            font-size: 1.1em;
            border: 1px solid #494949;
            border-radius: 20px;
            padding: 5px 20px;
        }
            #sub-cate-3 li a:hover, .sub-cate-selected {
                background: #00489A;
                color: #fff;
                border: 1px solid #00489A;
            }
.sub-cate-fix{
    display:inline-block;
    width:100px;
}

#product-list {
    text-align: center;
    min-height: 350px;
}
#product-list ul {
    margin-top: 40px;
    /*display:flex;justify-content:space-between;flex-wrap:wrap;*/
    /*&::after{flex:auto;content:"";}*/
}
    #product-list ul:after {
        content: "";
        display: table;
        clear: both;
    }
    #product-list ul li {
        width: 24%;
        /*height:275px;*/
        height: 380px;
        text-align: center;
        /*background: #F5F5F5;*/
        border-radius: 10px;
        /*padding: 30px 0 30px 0;*/
        margin-bottom: 30px;
        float: left;
        margin-left: 1%;
        position: relative;
        background: #F6F7FB;
        border-radius: 20px;
    }

        /*#product-list ul li a:hover{
        position:relative;
        top:1px;
        left:1px;
    }*/

        #product-list ul li a.imagel {
            display: flex;
            align-items: center; /* 垂直居中 */
            justify-content: center; /* 水平居中 */
            height: 310px; /* 容器的高度 */
            
        }
        #product-list ul li a.imageh {
            position: absolute;
            width: 100%;
            bottom: 40px;
            left: 0;
        }
        #product-list ul li h4 {
            color: #101010;
            /*margin-bottom: 13px;*/
        }

        #product-list ul li img {
            max-width: 96%;
            height: auto;
            max-height: 250px;
            transition: transform 0.3s ease; /* 平滑的过渡效果 */
        }
            #product-list ul li img:hover {
                transform: scale(1.2); /* 鼠标移入时放大1.2倍 */
            }

@media (max-width: 1600px) {
    #product-list ul li {
        height: 350px;
    }

        #product-list ul li a.imagel {
            display: flex;
            align-items: center; /* 垂直居中 */
            justify-content: center; /* 水平居中 */
            height: 310px; /* 容器的高度 */
        }
        #product-list ul li a.imageh {
            bottom: 20px;
        }
}

@media (max-width: 1368px) {
    #product-list ul li {
        height: 300px;
    }

        #product-list ul li a.imagel {
            display: flex;
            align-items: center; /* 垂直居中 */
            justify-content: center; /* 水平居中 */
            height: 250px; /* 容器的高度 */
        }

        #product-list ul li a.imageh {
            bottom: 20px;
        }
}
