html {
    scroll-behavior: smooth;
}

.pro1 {
    position: relative;
    width: 100%;
}

.pro1Info {
    position: absolute;
    top: 60%;
    left: 12%;
}

.pro1Info>h1 {
    color: #fff;
    font-size: max(42px, 2.1vw);
    letter-spacing: 2px;
}

.pro2 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 5% 12%;
    box-sizing: border-box;
    position: relative;
}

.pro2>div:nth-child(1) {
    width: 24%;
}

.pro2>div:nth-child(1)>div {
    position: sticky;
    top: 10%;
}

.pro2>div:nth-child(1)>div>div:nth-child(1) {
    display: flex;
    align-items: center;
    margin-bottom: 10%;
}

.pro2>div:nth-child(1)>div>div:nth-child(1)>div {
    width: 7px;
    height: 31px;
    background: #FFD160;
    margin-right: 10px;
}

.pro2>div:nth-child(1)>div>div:nth-child(1)>h2 {
    font-size: max(28px, 1.46vw);
    letter-spacing: 2px;
}

.TwoLevel {
    position: relative;
    margin-bottom: 4%;
}

.TwoLevel>div {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.TwoLevel>a {
    font-family: Kanit-SemiBold;
    margin-left: 5%;
    font-size: max(16px, 0.84vw);
    letter-spacing: 1px;

}

.TwoLevel>div:nth-child(1):before {
    content: '';
    width: 8px;
    height: 2px;
    position: absolute;
    top: 12px;
    left: 0%;
    background-color: #333;
}

.TwoLevel>div:nth-child(1)::after {
    content: '';
    width: 8px;
    height: 2px;
    position: absolute;
    top: 12px;
    left: 0%;
    background-color: #333;
    transform: rotate(90deg);
    transition: all .3s ease;
}

.TwoLevel.active>div::after {
    transform: rotate(0deg);
    background-color: #d3913f !important;
}

.active>a {
    color: #d3913f !important;
}

.active>.ThreeLevel {
    margin: 2% 0;
}

.ThreeLevel {
    height: 0px;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}

.ThreeLevel>a {
    font-family: PingFang Regular;
    font-size: max(12px, 0.63vw);
    font-weight: 600;
    letter-spacing: 2px;
    margin-left: 10%;
    margin-bottom: 2%;
    transition: all .3s ease;
}

.thrActive,
.ThreeLevel>a:hover {
    color: #d3913f !important;

}

/* .ThreeLevel>a::before {
    content: '';
    width: 8px;
    height: 2px;
    position: absolute;
    top: 12px;
    left: 5%;
    background-color: #333;
}

.ThreeLevel>a::after {
    content: '';
    width: 8px;
    height: 2px;
    position: absolute;
    top: 12px;
    left: 5%;
    background-color: #333;
    transform: rotate(90deg);
    transition: all .3s ease;
}

.thrActive::after {
    transform: rotate(0deg) !important;
} */

.pro2>div:nth-child(2) {
    width: 75%;
}

.productList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
}

.product>div {
    width: 100%;
    overflow: hidden;
}

.product>div>img {
    height: auto;
    transition: all .8s ease;
}

.product>p {
    font-family: PingFang Regular;
    color: #333333;
    font-size: max(16px, 0.84vw);
    margin: 5% 10px;
    transition: all .3s ease;
}

.product:hover>p {
    color: #d3913f !important;
}

.product:hover>div>img {
    transform: scale(1.1);
}

/* 详情 */
.proInfo {
    width: 75%;
    position: relative;
}

.proInfo>div {
    margin-bottom: 5%;
}

.proTitle {
    display: flex;
}

.proInfoSwiper {
    width: 40%;
    margin: 0 5% 0 0 !important;
    border: 1px solid #c6c6c6;
}

/* .proInfoSlide>img:nth-child(1){
    width: auto;
    height: auto;
} */

.proTitle>div:nth-child(2) {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.proTitle>div:nth-child(2)>h2 {
    font-family: Kanit-Regular;
    font-size: max(32px, 2.2vw);
    font-weight: 400;
    margin-bottom: 5%;
}

.prod_info_slide {
    display: flex;
}

.prod_info_left {
    width: 50%;
    font-family: Kanit-Regular;
    color: #B1B1B1;
    font-size: max(16px, 0.84vw);
    font-weight: 400;
    letter-spacing: 1px;
}

.prod_info_right {
    width: 50%;
    font-family: Kanit-Regular;
    color: #333333;
    font-size: max(16px, 0.84vw);
    font-weight: 400;
}

.proTabNav {
    display: flex;
}

.proTabNav>h2 {
    font-family: Kanit-SemiBold;
    margin-right: 5%;
    cursor: pointer;
    font-weight: 600;
    font-size: max(24px, 1.67vw);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all .3s ease;
}

.detail * {
    font-family: Kanit-Regular;
    color: #333;
}

.detail p {
    font-size: max(14px, 0.73vw);
}

.detail>h3 {
    font-size: max(16px, 0.94vw);
    font-weight: 400;
    color: #333;
    margin: 2% 0;
}

.detail table {
    letter-spacing: 1px;
}

.detail table tr th,
.detail table tr td {
    border: 1px solid #fff;
    font-size: max(14px, 0.73vw);
}

.detail table tr td {
    background-color: #f4f3f3;
    padding: 3% 5%;
}

.detail table tr td:nth-child(1) {
    width: 30%;
}

.tabActive {
    color: #8D6A40;
}

.proTabNav>h2::before {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 0%;
    height: 2px;
    transition: all .6s ease;
    z-index: 50;
    background-color: #8D6A40;
}

.tabActive::before {
    width: 100% !important;
}

.illustrate {
    display: none;
}

.ButtonBox {
    display: flex;
    margin-top: 5%;
}

.ButtonBox>a {
    font-family: Kanit-SemiBold;
    background-color: #8D6A40;
    padding: 2% 10%;
    border: 1px solid #8D6A40;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: max(18px, 1.25vw);
    border-radius: 5px;
    cursor: pointer;
    transition: all .6s ease;
}

.ButtonBox>a>svg {
    margin-right: 15px;
}

.ButtonBox>a:hover {
    background-color: transparent;
    color: #8D6A40;
}

.ButtonBox>a:hover>svg>path {
    fill: #8D6A40;
    transition: all .6s ease;
}


.pro_fx {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 5%;
}

.pro_fx span {
    display: inline-flex;
    align-items: center;
    color: #333;
    cursor: pointer;
}

.pro_fx svg.icon {
    fill: #828282;
    width: 22px;
    margin-right: 10px;
}

.pro_fx p {
    position: absolute;
    left: 0;
    top: 0;
    transition: all .5s ease;
    opacity: 0;
    display: flex;
    margin: 0;
}

.pro_fx:hover p {
    opacity: 1;
    left: 120px;
}

.pro_fx p svg:hover {
    fill: #0057b8;
}

.relPro>div:nth-child(1) {
    display: flex;
    align-items: center;
    margin-bottom: 3%;
}

.relPro>div:nth-child(1)>div {
    width: 8px;
    height: 45px;
    background: #8D6A40;
    margin-right: 20px;
}

.relPro>div:nth-child(1)>h2 {
    font-family: Kanit-SemiBold;
    font-size: max(32px, 2.2vw);
    color: #333333;
    font-weight: 600;
}

.swiper-pagination {
    top: auto !important;
    bottom: 0 !important;
    height: 1px !important;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background-color: #8d6a40 !important;
}


.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination li {
    margin: 0 10px;
}

.pagination li:first-child {
    transform: rotate(180deg);
}

.pagination li span,
.pagination li a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #9F9F9F;
}

.pagination li svg path {
    fill: #fff
}

.pagination li:first-child,
.pagination li:last-child {
    width: 36px;
    height: 36px;
    background-color: #8D6A40;
    color: #fff;
}

.pagination .active span {
    color: #8D6A40;
    font-weight: 600;
}

@media (max-width:1200px) {
    .pro2 {
        padding: 5%;
    }

    .pro_fx:hover p {
        opacity: 1;
        left: 100px;
    }

    .proInfoSlide {
        object-fit: contain;
    }
}

@media(max-width:768px) {
    .pro2>div:nth-child(1) {
        width: 100%;
        margin-bottom: 5%;
    }

    .pro2>div:nth-child(2) {
        width: 100%;
    }

    .pro1>img {
        height: 30vh;
    }

    .pro2>div:nth-child(1)>div>div:nth-child(1) {
        margin-bottom: 5%;
    }

    .ButtonBox {
        flex-wrap: wrap;
    }

    .pro_fx {
        width: 100%;
        margin-left: 0%;
    }

    .proTitle {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }

    .proTitle>div {
        width: 100% !important;
    }

    .pro_fx {
        width: auto;
        margin-left: 5%;
    }

    .ButtonBox {
        margin-bottom: 4%;
    }
}

@media (max-width:480px) {
    .productList {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:300px) {
    .productList {
        grid-template-columns: repeat(1, 1fr);
    }
}