html, body {
    margin: 0;
}
body {
    font-family: 'huiwen', 'Microsoft YaHei', sans-serif;
    max-width: 2560px;
    margin: 0 auto;
}
ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: #000;
}
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-50 {
    margin-top: 50px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-50 {
    margin-bottom: 50px;
}
.pt-10 {
    padding-top: 10px;
}
.pt-20 {
    padding-top: 20px;
}
.pt-50 {
    padding-top: 50px;
}
.pb-10 {
    padding-bottom: 10px;
}
.pb-20 {
    padding-bottom: 20px;
}
.pb-30 {
    padding-bottom: 30px;
}
.pb-50 {
    padding-bottom: 50px;
}
.wrapper {
    width: 1080px;
    margin: 0 auto;
}
.site-header{
    position: relative;
}
.site-header-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.site-header .pc-products-nav{
    position: absolute;
    width: 100%;
    background: white;
    z-index: 999;
}

.pc-products-nav{
    display: none;
    box-shadow: 0 5px 10px -5px rgba(0,0,0,0.7);
}

.pc-products-nav .close{
    display: none;
}

.pc-products-nav .wrapper{
    display: flex;
    gap: 30px;
}
.pc-products-nav .left{
    width: 70%;
}
.pc-products-nav .right{
    width: 30%;
}

.pc-products-nav .title{
    font-size: 24px;
    padding: 10px 0;
    border-bottom: 1px solid black;
    margin-bottom: 10px;
}
.pc-products-nav .content ul{
    display: flex;
    flex-wrap: wrap;

    justify-content: flex-start;

}

.pc-products-nav .left .content ul li{
    flex: 0 0 calc(25% - 10px * 3 / 4);
    box-sizing: border-box; /* 确保边框和padding不影响宽度计算 */
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.pc-products-nav .right .content ul li{
    flex: 0 0 calc(50% - 10px * 3 / 4);
    box-sizing: border-box; /* 确保边框和padding不影响宽度计算 */
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.pc-products-nav .content ul li img{
    width: 80px;

}
.pc-products-nav .content ul li a{

}


.logo {
    width: 200px;
    margin-right: 36px;
}
.logo a {
    width: 200px;
    display: block;
}
.logo img {
    width: 100%;
}
.menu {
    flex: 1;
    width: 100%;
}
.menu ul {
    display: flex;
}
.menu ul li {

    height: 100px;
    line-height: 100px;
    margin-right: 36px;
}
.menu ul li a {
    font-size: 24px;
    display: block;
    height: 100%;
}
.banner-inner img {
    width: 100%;
}

.compact-header .menu{
    padding-top: 15px;
    padding-bottom: 15px;
}
.compact-header .menu ul{
    justify-content: space-between;
}

.section1-title {
    font-size: 32px;
    text-align: center;
    line-height: 1.8;
}
.section1-img img {
    width: 100%;
}
.section2-title {
    font-size: 60px;
    text-align: center;
}
.section2-title2 {
    text-align: center;
    font-size: 24px;
    font-weight: 100;
    font-family: 'Microsoft YaHei', sans-serif;
}
/* .section2-lists{
    display: flex;
     flex-wrap: wrap;
}*/
.section2-lists {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}
.section2-lists .section2-item {
    /* border: 1px solid red; */
    width: 400px;
    height: 600px;
}
.section2-item-img {
    text-align: center;
}
.section2-item-img img{
    width: 100%;
}
.section2-item-title {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.8;
    text-align: center;
}
/* position outside */
.flickity-prev-next-button.previous {
    left: -50px;
}
.flickity-prev-next-button.next {
    right: -50px;
}
.section3-img {
    margin: 0 auto;
}
.section3-img img {
    width: 100%;
    display: block;
}
.footer {
    background-color: #D5D5D5;
    padding: 120px 0;
}
.footer-nav a, .footer-copyright a, .footer-copyright {
    color: white;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #fff;
}
.footer-nav {
    padding-top: 20px;
}
.footer-nav ul {
    display: flex;
}
.footer-nav ul li {
    margin-right: 20px;
}
.footer-contact .weixin i {
    font-size: 40px;
    color: #777;
}
/*作品*/
.goods-section {
    width: 98%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab; /* 默认光标样式 */
    margin-right: auto;
    margin-left: auto;
}
.pl-400 {
    padding-left: 400px;
}
/* 横向列表样式 */
.goods-lists {
    display: inline-flex;
    margin: 0;
    list-style: none;
    transition: transform 0.3s ease; /* 添加过渡效果 */
}
.goods-lists li {
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    user-select: none; /* 防止文字被选中 */
}
/* 拖动时的光标样式 */
.goods-section.grabbing {
    cursor: grabbing;
}
.goods-section-title {
    font-size: 26px;
    padding-top: 80px;
    padding-bottom: 30px;
    padding-left: 30px;
}
/* .goods-lists{
    display: flex;
    width: 98%;
    overflow-y: auto;
    padding-left: 400px;
    margin: 0 auto;
} */
.goods-lists .goods-item {
    padding-left: 100px;
    padding-right: 100px;
}
.goods-lists .goods-item .thumb a {
    display: block;
    pointer-events: auto;
    text-align: center;
}
.goods-lists .goods-item .thumb img {
    pointer-events: none; /* 禁止图片的默认拖动行为 */
    width: 320px;
}
.goods-lists .goods-item .intro {
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
    font-weight: 400;
}
/*横向滚动条*/
.goods-section::-moz-selection {
    background: #000000;
    color: #FFF
}
.goods-section::selection {
    background: #159b76;
    color: #FFF
}
.goods-section::-webkit-scrollbar {
    width: 6px;
    height: 3px
}
.goods-section::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #000000;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3)
}
.goods-buy-section {
    display: flex;
    margin-top: 180px;
    margin-bottom: 180px;
}
.goods-buy-section .left {
    width: 60%;
}
.goods-buy-section .left img {
    width: 100%;
}
.goods-buy-section .right {
    width: 40%;
    padding-left: 50px;
}
.goods-buy-section .right .title1 {
    font-size: 32px;
    margin-bottom: 20px;
}
.goods-buy-section .right .title2 {
    font-size: 20px;
    margin-bottom: 60px;
}
.goods-buy-section .right .buy {
    font-family: "Microsoft YaHei", "微软雅黑", "STXihei";
    border: 1px solid #6b6b6b;
    padding: 15px;
    width: 240px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;

}
.goods-bottom-section {
    margin-top: 150px;
    margin-bottom: 150px;
}
.goods-bottom-section .row1 {
    display: flex;
    margin-bottom: 80px;
}
.goods-bottom-section .row1 .left {
    width: 60%;
}
.goods-bottom-section .row1 .right {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.goods-bottom-section .row1 .right .title {
    font-size: 24px;
}
.goods-bottom-section .row2 {
    display: flex;
}
.goods-bottom-section .row2 .left {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.goods-bottom-section .row2 .left .title {
    font-size: 24px;
    line-height: 1.5;
}
.goods-bottom-section .row2 .right {
    width: 60%;
}
.goods-bottom-section img {
    width: 100%;
}
/*关于*/
.about1 {
    height: 600px;
    background: url(../img/bg-about.jpg);
    background-color: #000;
    background-repeat: no-repeat;
}
.about1 .about1-inner {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.about1 .about1-inner .title1 {
    font-size: 32px;
    margin-bottom: 70px;
}
.about1 .about1-inner .content {
    font-size: 20px;
    line-height: 30px;
}
.about2 {
    text-align: center;
    padding-bottom: 80px;
    padding-top: 80px;
}
.about2 .title1 {
    margin-top: 30px;
    font-size: 32px;
    line-height: 1.5;
}
.about2 .content {
    font-size: 20px;
    line-height: 1.5;
}
.about3 img {
    width: 100%;
}
.about4 {
    position: relative;
}
.about4 {
    height: 150vh;
    background: url(../img/bg-about-bottom.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}
.about4 img {
    width: 100%;
}
.about4 .intro {
    text-align: center;
    font-size: 24px;
    line-height: 1.8;
    position: absolute;
    top: 200px;
    width: 500px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 100px;
}
.about4 .intro h2 {
    font-size: 32px;
    margin: 0;
    padding: 0;
}
/*商品详情*/
.goods-intro-section {
    margin-bottom: 50px;
}
.goods-intro-section .row1 {
    display: flex;
}
.goods-intro-section .row1 .left {
    width: 50%;
}
.goods-intro-section .row1 .right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.goods-intro-section .row1 .right .title {
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
}
.goods-intro-section .row2 {
    display: flex;
}
.goods-intro-section .row2 .left {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.goods-intro-section .row2 .left .title {
    font-size: 24px;
    line-height: 1.5;
    text-align: center;
}
.goods-intro-section .row2 .left .yuancai img{
}
.goods-intro-section .row2 .right {
    width: 50%;
}
.goods-intro-section img {
    width: 100%;
}
/*适配手机端*/
@media (max-width: 768px) {


    .pc-products-nav .close{
        display: block;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        background-color: #f5f5f5;



    }



    .pc-products-nav .wrapper{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .pc-products-nav .left{
        width: 90%;
        margin: 0 auto;
    }
    .pc-products-nav .right{
        width: 90%;
        margin: 0 auto;
    }

    .pc-products-nav .left .content ul li{
        flex: 0 0 calc(50% - 10px * 3 / 4);
        box-sizing: border-box; /* 确保边框和padding不影响宽度计算 */
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .pc-products-nav .right .content ul li{
        flex: 0 0 calc(50% - 10px * 3 / 4);
        box-sizing: border-box; /* 确保边框和padding不影响宽度计算 */
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }




    .about4 .intro{
        top: 100px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
    }


    .footer-nav{
        margin-bottom: 30px;
    }

    .about2 {
        text-align: center;
        padding-bottom: 80px;
        padding-top: 10px;
    }
    .about2 .title1 {
        margin-top: 30px;
        font-size: 24px;
        line-height: 1.5;
    }

    .compact-header .menu{
        padding-top: 0;
        padding-bottom: 0;
    }
    .goods-intro-section .row2 .left .yuancai img{
        width: 100%;
    }
    .goods-lists .goods-item{
        padding-left: 50px;
        padding-right: 50px;
    }
    .about4 {
        height: 100vh;
        background: url(../img/bg-about-bottom-m.jpg);
    }
    .wrapper {
        width: 100%;
    }
    /* 根据需要调整断点 */
    .site-header-inner {
        flex-direction: column; /* 在手机端变成上下排列 */
    }

    .logo, .menu {
        flex: none; /* 防止内容被挤压 */
    }
    .logo {
        margin-right: 0;
    }
    .logo a {
        margin: 0 auto;
    }
    .menu ul {
        justify-content: center; /* 或者保持居中等其他样式 */
        flex-direction: row; /* 确保菜单项仍然在同一行 */
    }
    .menu ul li {
        margin: 15px 5px; /* 给菜单项之间添加一些间距 */

    }
    .section1-title {
        font-size: 24px;
    }
    .section2-lists {
        width: 100%;
        margin: 0 auto;
    }
    .flickity-prev-next-button.previous {
        display: none;
    }
    .flickity-prev-next-button.next {
        display: none;
    }
    .pl-400 {
        padding-left: 0;
    }
    .goods-lists li {
        margin: 0;
    }
    .goods-buy-section {
        flex-direction: column;
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .goods-buy-section .left {
        width: 100%;
    }
    .goods-buy-section .right {
        text-align: center;
        width: 100%;
        padding-left: 0;
    }
    .goods-buy-section .right .buy {
        margin: 0 auto;
    }
    .goods-buy-section .right .title1 {
        margin-top: 30px;
    }
    .goods-bottom-section {
        margin-top: 50px;
        margin-bottom: 0px;
    }
    .goods-bottom-section .row1 {
        flex-direction: column;
        margin-bottom: 0;
    }
    .goods-bottom-section .row2 {
        flex-direction: column;
    }
    .goods-bottom-section .row1 .left {
        width: 100%;
    }
    .goods-bottom-section .row1 .right {
        width: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .goods-bottom-section .row2 .left {
        width: 100%;
        order: 3;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .goods-bottom-section .row2 .right {
        width: 100%;
        order: 2;
    }
    .about2 img {
        width: 100%;
    }
    .about4 .intro {
        width: 100% !important;
        font-size: 20px;
        margin-left: 0;
    }
    .footer {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 40px;
        padding-bottom: 120px;
    }
    .about1 .about1-inner {
        text-align: center;
    }
    .about1 .about1-inner .title1 {
        font-size: 20px;
    }
    .about1 .about1-inner .content {
        font-size: 16px;
        padding: 0 10px;
    }
    .goods-intro-section {
        margin-top: 50px;
        margin-bottom: 0px;
    }
    .goods-intro-section .row1 {
        flex-direction: column;
        margin-bottom: 0;
    }
    .goods-intro-section .row2 {
        flex-direction: column;
    }
    .goods-intro-section .row1 .left {
        width: 100%;
    }
    .goods-intro-section .row1 .right {
        width: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .goods-intro-section .row2 .left {
        width: 100%;
        order: 3;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .goods-intro-section .row2 .right {
        width: 100%;
        order: 2;
    }
    .views-box .thumb img {
        width: 90%;
    }
}