﻿

html, body {
    margin: 0;
    width: 100%;
    min-width: 1400px;
    background: #fff;
    color: #181818;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",Arial,sans-serif
}

body {
    overflow-x: hidden
}

.page {
    width: 100%;
    min-width: 1400px;
    background: linear-gradient(180deg,#fff 0%,#fff 78%,#fafafa 100%)
}

.inner {
    width: 1400px;
    margin: 0 auto
}

.topbar {
    height: 46px;
    border-bottom: 1px solid #e9e9e9;
    background: #fff;
    font-size: 15px;
    color: #333
}

    .topbar .inner {
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: space-between
    }


.nav {
    height: 92px;
    background: #fff;
    border-bottom: 1px solid #ececec
}

    .nav .inner {
        height: 92px;
        display: flex;
        align-items: center;
        justify-content: space-between
    }


.navlinks {
    display: flex;
    align-items: center;
    gap: 78px;
    font-size: 18px;
    font-weight: 600
}

    .navlinks a {
        height: 92px;
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #181818;
        position: relative;
        white-space: nowrap
    }

        .navlinks a.active {
            color: var(--main-color)
        }

            .navlinks a.active:after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: 20px;
                width: 34px;
                height: 3px;
                border-radius: 3px;
                background: var(--main-color);
                transform: translateX(-50%)
            }

.hero {
    /*height: 724px !important;*/
    background: url("../assets/hero-bg.png") center top/1920px 600px no-repeat;
    position: relative;
    overflow: visible
}

    .hero:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 210px;
        background: linear-gradient(180deg,rgba(255,255,255,0) 0%,#fff 72%);
        pointer-events: none
    }

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 245px;
    text-align: center
}

.headline {
    font-size: 62px;
    line-height: 1.15;
    font-weight: 850;
    letter-spacing: 0;
    color: #111;
    margin: 0
}

    .headline span {
        color: var(--main-color)
    }

.subtitle {
    font-size: 28px;
    color: #666;
    margin: 20px 0 34px;
    letter-spacing: 3px
}

.search-card {
    width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    box-shadow: 0 24px 54px rgba(29,31,38,.14);
    padding: 0 28px 24px;
    text-align: left
}

.tabs {
    display: flex;
    align-items: center;
    height: 72px;
    border-bottom: 1px solid #eee;
    gap: 70px;
    padding: 0 34px;
    font-size: 20px;
    font-weight: 700
}
    .tabs span {
        cursor: pointer;
    }
    .tabs span.active,
    .tabs span:hover {
        color: var(--main-color);
        position: relative
    }
    .tabs span:hover:after,
    .tabs span.active:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -22px;
        height: 3px;
        background: var(--main-color);
        border-radius: 3px
    }

.search-row {
    height: 64px;
    margin-top: 22px;
    display: flex;
    grid-template-columns: 160px 1fr 54px 120px;
    border: 1px solid #dedede;
    border-radius: 10px;
    overflow: hidden;
    background: #fff
}

.search-input {
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
    font-size: 17px;
    color: #000;
    flex: 1;
    border: none;
}
    .search-input::placeholder {
        color: #aaa;
    }
    .camera {
        width: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-left: 1px solid #eee;
        cursor: pointer;
    }

    .camera img {
        width: 32px;
        height: 32px
    }

.search-btn {
    border: 0;
    background: var(--main-color);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    min-width: 120px;
    padding: 0 10px;
    cursor: pointer;
}

.process-row {
    position: relative;
    z-index: 2;
    width: 1100px;
    margin: 38px auto 0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px
}

.process-card {
    height: 106px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(29,31,38,.1);
    display: flex;
    align-items: center;
    padding: 0 28px;
    text-align: left
}

    .process-card img {
        width: 72px;
        height: 72px;
        margin-right: 22px
    }

    .process-card h3 {
        font-size: 20px;
        margin: 0 0 9px;
        font-weight: 800;
        color: #181818;
        line-height: 1;
    }

    .process-card p {
        font-size: 14px;
        margin: 0;
        color: #6c6c6c;
        line-height: 1.45
    }

.main {
    padding-top: 42px;
    padding-bottom: 92px;
    background: #fff
}

.product-layout {
    width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 34px;
    align-items: start
}

.sidebar {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(20,23,32,.06);
    overflow: hidden
}

.sidebar-title {
    height: 62px;
    background: var(--main-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 26px;
    font-size: 20px;
    font-weight: 800
}

.hamb {
    font-size: 26px;
    line-height: 1
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 8px 0
}

.sidebar li a {
    height: 58px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
    padding: 0 22px;
    font-size: 16px;
    color: #4b4b4b
}
    .sidebar li a:hover {
        color: var(--main-color);
        --alpha: 0.3;
        background-color: var(--main-color-003);
    }
    .sidebar li:last-child a {
        border-bottom: 0
    }

.cat-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    color: #7d828a;
    flex: 0 0 auto
}

.sidebar li b {
    margin-left: auto;
    font-size: 22px;
    color: #999;
    font-weight: 400
}

.products-panel {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(20,23,32,.06);
    padding: 26px 28px 34px
}

.section-head {
    height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 24px
}

    .section-head h2 {
        font-size: 28px;
        margin: 0;
        font-weight: 850;
        white-space: nowrap
    }

.filters {
    display: flex;
    gap: 14px;
    margin-left: auto;
    margin-right: 48px
}

    .filters button {
        min-width: 66px;
        height: 32px;
        border-radius: 18px;
        border: 1px solid #ddd;
        background: #fff;
        color: #555;
        font-size: 14px;
        cursor: pointer;
        padding: 0 6px;
    }

        .filters button.on,
        .filters button:hover {
            border-color: var(--main-color);
            color: var(--main-color);
            background: var(--main-color-003)
        }

.more {
    color: var(--main-color);
    font-size: 16px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap
}

.grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 32px 24px
}

.product-card {
    height: 322px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(26,28,34,.045);
    cursor: pointer;
}
    .product-card img {
        cursor: pointer;
    }
        .product-card img:hover {
            animation: scale-up-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        }
    .product-card img,
    .product-card .item-img {
        width: 100%;
        height: 178px;
        object-fit: cover;
        display: block;
        background: #f6f6f6
    }
    .product-card .item-img {
        display: flex;
        align-items: center;
        justify-content: center;
    }
        .product-card h3 {
            height: 54px;
            margin: 16px 16px 12px;
            font-size: 15px;
            line-height: 1.8;
            color: #333;
            font-weight: 500;
            overflow: hidden
        }

    .product-card .strong {
        display: block;
        margin: 0 16px;
        color: var(--main-color);
        font-size: 25px;
        line-height: 1;
        font-weight: 850
    }

        .product-card .strong span {
            font-size: 12px;
            margin-left: 5px;
            font-weight: 700
        }


.NewIndex1070 .hero {
    background-repeat: no-repeat; /* 禁用重复（关键） */
}


/*Banner轮播*/
/* 轮播容器基础样式（可自定义宽高） */
.carousel {
    position: relative;
    width: 100%; /* 可修改：轮播图宽度 */
    height: 600px; /* 可修改：轮播图高度 */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px; /* 可修改：圆角大小 */
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}

/* 轮播图列表（无缝滚动核心） */
.carousel-list {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% * 5); /* 5张图，需和图片数量一致 */
    height: 100%;
    display: flex;
    transition: left 0.5s ease; /* 可修改：动画时长/缓动效果 */
}

.carousel-item img {
    max-width: 100%;
    object-fit: cover; /* 可修改：图片适配方式（contain/cover等） */
}
/*Banner轮播 end*/

.filters .price {
    position: relative;
    cursor: pointer;
}

.filters .select-price {
    width: fit-content;
    color: #333;
    position: absolute;
    background-color: #fff;
    border-top: none;
    top: 100%;
    left: -50%;
    right: 0;
    z-index: 1;
    visibility: hidden;
    padding: 5px;
    opacity: 0;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
    transition: visibility 0s, opacity 0.5s linear;
}

.filters button:hover .select-price {
    visibility: visible;
    opacity: 1;
}
.filters .select-price div {
    white-space: nowrap;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    min-height: 34px;
    cursor: pointer;
    padding: 2px 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
    justify-content: flex-start;
}
    .filters .select-price div:hover {
        /*background-color: #f5f7fa;*/
        color: var(--main-color);
        background: var(--main-color-003);
    }

.product-box .product-card .load-animation {
    background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
    background-size: 400% 100%;
    animation: el-skeleton-loading 1.4s ease infinite;
}
.product-box .product-card .item-title {
    margin: 16px 16px 0;
}
.product-box .product-card .item-title span {
    display: block;
    width: 100%;
    height: 14px;
    background: linear-gradient(90deg, #f2f2f2 25%, #e6e6e6 37%, #f2f2f2 63%);
    background-size: 400% 100%;
    animation: el-skeleton-loading 1.4s ease infinite;
    margin-bottom: 12px;
    border-radius: 50px;
}

    .product-box .product-card .item-title span:nth-child(3) {
        width: 40%;
    }


    @keyframes el-skeleton-loading {
        0% {
        background-position: 100% 50%
    }

    to {
        background-position: 0 50%
    }
}

.product-layout ul li .hover {
    display: none;
}
.product-layout ul li:hover .hover {
    display: block !important;
}
.product-layout ul li:hover .no-hover {
    display: none !important;
}
.product-layout ul li:hover b {
    color: var(--main-color);
}