.goods-type {
    padding: 60px 0;
    background: url(https://okki-shop.oss-cn-hangzhou.aliyuncs.com/category/82153/1831/682de890d0055f787f9bd0183de0af49/sky-183872_1280.jpg);background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.goods-type .index-tit {
    text-align: center;
}

.goods-type .index-tit em {
    font-size: 15px;
    color: #575756;
    letter-spacing: 9px;
    font-weight: 600;
    display: block;
    margin: 0 0 15px;
    text-transform: uppercase;
}

.goods-type .index-tit h3 {
    font-size:48px;
    line-height: 1;
    color: #000;
    font-weight:700;
    text-transform: uppercase;
}

.goods-type .index-tit h3 span {
    color: #93c01f;
}

.goods-type .index-tit p {
    font-size: 16px;
    line-height: 24px;
    color: #373737;
    margin: 20px auto 0;
}

.goods-type ul {
    margin: 30px 0 0 -2%;
    display: flex;
    flex-wrap: wrap;
}

.goods-type ul li {
    /* float: left; */
    width: 18%;
    margin: 25px 0 0 2%;
    box-sizing: border-box;
}

.goods-type ul li .pic {
    display: block;
    width: 100%;
    position: relative;
    box-shadow: 0 0 13px rgba(0, 0, 0, 0.13);
    overflow: hidden;
}

.goods-type ul li .pic::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(224, 1, 11, 0.41) url("../../images/i1.png") no-repeat center;
    display: block;
    transition: opacity 0.2s, transform 0.35s;
    opacity: 0;
    transform: scale(0);
}

.goods-type ul li:hover .pic::after {
    opacity: 1;
    transform: scale(1);
}

.goods-type ul li .pic img {
    width: 100%;
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
}

.goods-type ul li h5 {
    margin: 15px 0 0;
    color: #000;
    font-size: 26px;
    font-weight: 300;
    text-align: center;
    height: 80px;
}

.goods-type ul li h5 a:hover {
    color: var(--color-primary);
}

.goods-type ul li .more {
    width: 120px;
    height: 34px;
    line-height: 34px;
    background: var(--color-second);
    border-radius: 25px;
    margin: 10px auto 0;
    display: block;
    text-align: center;
    font-size: 15px;
    color: #fff;
    border-radius: var(--button-radius);
}

.goods-type ul li .more:hover {
    background: var(--btn-hover);
}

@media screen and (max-width: 1500px) {

    .goods-type ul li h5 {
        font-size: 20px;
        height: 60px;
    }
}

@media screen and (max-width:1441px) {
.goods-type .index-tit h3 {font-size:44px;}
}


@media screen and (max-width:1280px) {
.goods-type .index-tit h3 {font-size:40px;}
}

@media screen and (max-width: 1150px) {
    .goods-type ul li h5 {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .goods-type .index-tit em {
        letter-spacing: 5px;
    }

    .goods-type .index-tit h3 {
        font-size: 32px;
    }

    .goods-type .index-tit p {
        font-size: 15px;
        line-height: 22px;
        margin: 15px auto 0;
    }

    .goods-type {
        padding: 30px 0;
    }

    .goods-type ul {
        margin: 15px 0 0 -2%;
    }

    .goods-type ul li {
        width: 31.333333333%;
        margin: 20px 0 0 2%;
    }

    .goods-type ul li h5 {
        font-size: 18px;
        line-height: 22px;
        height: 44px;
    }

    .goods-type ul li .more {
        display: none;
    }
}

@media screen and (max-width: 560px) {
    .goods-type .index-tit h3 {
        font-size:28px;
    }

    .goods-type ul li {
        width: 48%;
    }
}



@media screen and (max-width: 480px) {
    .goods-type .index-tit h3 {
        font-size: 24px;
    }
.goods-type .index-tit p{font-size:14px;}
    .goods-type ul li h5 {
        font-size: 16px;
    }
}




#carousel {
    position: relative;
    width:100%;
    margin:30px auto 0;
}

#carousel .swiper {
    padding-top: 20px;
    padding-bottom: 40px;
}


#carousel .swiper-slide {
    width:calc(100% / 4);
    background: #fff;
    box-shadow: 0 8px 20px #ddd;


}

#carousel .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

#carousel .swiper-slide p {
    line-height: 58px;
    padding-top: 0;
    text-align: center;
    color: #000;
    margin: 0;
}

#carousel .swiper-pagination {
    width: 100%;font-size:0;
    bottom:0;
}

#carousel .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
    background-color: #e8f5ff;
    width: 20px;
    height: 10px;
    opacity: 1;
    border-radius: 5px;
}

#carousel .swiper-pagination-bullets .swiper-pagination-bullet-active {
    background-color: #3eb2f3;
    width: 35px;
}

#carousel .swiper-button-prev {
    left: -80px;
    width: 45px;
    height: 45px;
    background: #fff;
    background-position: 0 0;
    background-size: 100%;
}

#carousel .swiper-button-next {
    right: -80px;
    width: 45px;
    height: 45px;
    background: #fff;
    background-position: 0 -93px;
    background-size: 100%;
}

#carousel .swiper-button-prev::after,
#carousel .swiper-button-next::after {
    font-size: 20px;
}


@media screen and (max-width:1367px) {
#carousel .swiper-button-prev,#carousel .swiper-button-next{display:none;}
}


@media screen and (max-width:992px){
#carousel .swiper{padding-top:0;padding-bottom:40px;}

}

@media screen and (max-width:768px){
#carousel .swiper{padding-bottom:35px;}
}


@media screen and (max-width:576px){

#carousel{margin:25px auto 0;}

#carousel .swiper-slide p{line-height:35px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;padding:0 5px;}

#carousel .swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px;width:15px;height:8px;}
#carousel .swiper-pagination-bullets .swiper-pagination-bullet-active{width:25px;}

}

