﻿.products-box{
    width: 100%;
    display: block;
    position: relative;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 100px 0;
}
.products-all-box{
    width: 1560px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding-top: 150px;
}
.products-category-box{
    width: 260px;
    display: inline-block;
    vertical-align: top;
}
.products-category-title-box{
    width: 100%;
    display: block;
    margin-bottom: 95px;
}
.products-category-title{
    font-family: "IBM Plex Sans";
    font-size: 60px;
    letter-spacing: 0.06em;
    line-height: 1;
    color: #000;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 30px;
    transition: all .3s linear;
}
.products-category-close{
    display: none;
}
.products-category-info{
    box-sizing: border-box;
    padding: 0 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    transition: all .3s linear;
}
.products-category-info-name{
    width: 100%;
    display: block;
    cursor: pointer;
}
.products-category-info-name p{
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 20px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 1.4;
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 18px);
    margin-right: 10px;
}
.products-category-info-name p>a{
    width: 100%;
    display: block;
    transition: all .3s linear;
}
.products-category-info-name span{
    width: 8px;
    height: 2px;
    display: inline-block;
    vertical-align: middle;
    background-color: #e60012;
    position: relative;
    transition: all .3s linear;
}
.products-category-info-name span::before{
    content: "";
    width: 2px;
    height: 8px;
    display: block;
    position: absolute;
    top: -3px;
    left: 3px;
    background-color: #e60012;
    transition: all .3s linear;
}
.products-category-info.active .products-category-info-name span::before{
    transform: scaleY(0);
}
.products-right-box{
    width: calc(100% - 260px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 100px;
}
.products-info{
    width: 360px;
    display: inline-block;
    vertical-align: top;
    margin-right: 60px;
}
.products-info:nth-child(3n){
    margin-right: 0;
}
.products-info:nth-child(n + 4){
    margin-top: 60px;
}
.products-info-img{
    width: 100%;
    height: 360px;
    display: block;
    overflow: hidden;
    position: relative;
    transition: all .3s linear;
}
.products-info-text{
    font-family: 'IBM Plex Sans','Noto Sans TC';
    font-weight: 700;
    font-size: 16px;
    color: #000;
    letter-spacing: 0.01em;
    line-height: 1.4;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 20px;
}
.products-page-box{
    margin-top: 100px;
}




.products-category-path-box{
    display: inline-block;
    vertical-align: middle;
}
.products-category-path{
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-weight: 300;
    font-size: 14px;
    color: #666;
    letter-spacing: 0.06em;
    line-height: 14px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
a.products-category-path{
    color: #000;
    font-weight: 400;
}
a.products-category-path::after{
    content: "/";
    display: inline-block;
    vertical-align: top;
    font-family: "IBM Plex Sans";
    font-size: 14px;
    color: #333;
    line-height: 1;
    margin: 0 15px;
}
.products-pages-info-box{
    width: 100%;
    display: block;
    margin-top: 60px;
}

.products-pages-info-left{
    width: 700px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.products-pages-info-small-img-box{
    width: 80px;
    height: 460px;
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}
.products-pages-info-small-img-info{
    margin-bottom: 15px;
    box-sizing: border-box;
    cursor: pointer;
}
.products-pages-info-small-img{
    width: 100%;
    height: 78px;
    display: block;
    box-sizing: border-box;
    border: 1px solid #eee;
    transition: all .3s linear;
}
.products-pages-info-big-img-box{
    width: 600px;
    height: 460px;
    display: inline-block;
    vertical-align: top;
    border: 1px solid #eee;
    box-sizing: border-box;
}
.products-pages-info-big-img{
    width: 100%;
    height: 460px;
    display: block;
}
.products-pages-info-big-img .main-bg{
    background-size: contain;
}
.products-pages-info-right{
    width: calc(100% - 700px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 30px;
}
.products-pages-info-name{
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 36px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 1;
    display: block;
}
.products-pages-info-number{
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 20px;
    color: #e60012;
    letter-spacing: 0.06em;
    line-height: 30px;
    display: block;
    margin-top: 5px;
}
.products-pages-info-style-box{
    margin: 45px 0;
}
.products-pages-info-style{
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
}
.products-pages-info-style>p{
    display: inline-block;
    vertical-align: top;
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 18px;
    color: #000;
    letter-spacing: 0.01em;
    line-height: 30px;
    margin-right: 5px;
}
.products-pages-info-style>span{
    display: inline-block;
    vertical-align: top;
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 18px;
    color: #666;
    letter-spacing: 0.01em;
    line-height: 30px;
}
.products-pages-info-text-title{
    display: block;
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 18px;
    color: #000;
    letter-spacing: 0.06em;
}
.products-pages-info-text{
    margin-top: 5px;
}
.products-pages-info-text p{
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 18px;
    color: #666;
    letter-spacing: 0.01em;
    line-height: 30px;
}
.products-pages-edit-box{
    margin-top: 80px;
}
.products-pages-edit-category-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    position: relative;
}
.products-pages-edit-category{
    width: 240px;
    display: inline-block;
    vertical-align: bottom;
    box-sizing: border-box;
    border-bottom: 5px solid #000;
    position: relative;
    top: 1px;
    margin-left: 50px;
    text-align: center;
    cursor: pointer;
    transition: all .3s linear;
}
.products-pages-edit-category:hover,
.products-pages-edit-category.active{
    border-bottom-color: #e60012;
}
.products-pages-edit-category p{
    display: block;
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-weight: 700;
    font-size: 18px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 50px;
    transition: all .3s linear;
}
.products-pages-edit-category:hover p{
    color: #e60012;
}
.products-pages-edit-buyCart{
    width: 200px;
    display: block;
    position: absolute;
    right: 0;
    bottom: -1px;
    background-color: #000;
    text-align: center;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    cursor: pointer;
}
.products-pages-edit-buyCart i{
    font-size: 18px;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}
.products-pages-edit-buyCart p{
    display: inline-block;
    vertical-align: middle;
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 60px;
    margin-left: 10px;
}
.products-pages-edit-info-box{
    box-sizing: border-box;
    padding: 55px 0;
}
.products-pages-edit{
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 18px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 1.8;
    display: none;
}
.products-pages-edit.active{
    display: block;
}
.products-pages-other-box{
    margin-top: 120px;
}
.products-pages-other-title{
    font-family: "IBM Plex Sans",'Noto Sans TC';
    font-size: 36px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 1;
    display: block;
}
.products-pages-other-info-box{
    margin-top: 40px;
}
.products-pages-other-info-box .products-info:nth-child(n){
    margin-right: 40px;
    margin-top: 0;
}
.products-pages-other-info-box .products-info:nth-child(4n){
    margin-right: 0;
}

@media only screen and (max-width: 1600px){
    .products-all-box{
        width: 1400px;
        padding-top: 120px;
    }
    .products-info{
        width: 300px;
        margin-right: 50px;
    }
    .products-info:nth-child(n + 4) {
        margin-top: 50px;
    }
    .products-info-img{
        height: 300px;
    }

    .products-pages-other-info-box .products-info:nth-child(n) {
        margin-right: 66px;
    }
    .products-pages-other-info-box .products-info:nth-child(4n) {
        margin-right: 0;
    }
}
@media only screen and (max-width: 1400px){
    .products-all-box{
        width: 1200px;
        padding-top: 100px;
    }
    .products-right-box{
        padding-left: 80px;
    }
    .products-info{
        width: 260px;
        margin-right: 40px;
    }
    .products-info:nth-child(n + 4) {
        margin-top: 40px;
    }
    .products-info-img{
        height: 260px;
    }


    .products-pages-other-info-box .products-info:nth-child(n) {
        margin-right: 53px;
    }
    .products-pages-other-info-box .products-info:nth-child(4n) {
        margin-right: 0;
    }
}
@media only screen and (max-width: 1200px){
    .products-all-box{
        width: 1000px;
        padding-top: 80px;
    }
    .products-right-box{
        padding-left: 60px;
    }
    .products-info{
        width: 200px;
        margin-right: 40px;
    }
    .products-info:nth-child(n + 4) {
        margin-top: 40px;
    }
    .products-info-img{
        height: 200px;
    }

    .products-pages-info-left{
        width: 520px;
    }
    .products-pages-info-small-img-box {
        width: 60px;
        height: calc((460 / 600) * 450px);
        margin-right: 10px;
    }
    .products-pages-info-small-img-info{
        margin-bottom: 11.25px;
    }
    .products-pages-info-small-img{
        height: 58px;
    }
    .products-pages-info-big-img-box{
        width: 450px;
        height: calc((460 / 600) * 450px);
    }
    .products-pages-info-big-img{
        height: calc((460 / 600) * 450px);
    }

    .products-pages-info-right{
        width: calc(100% - 520px);
    }
    .products-pages-info-style-box {
        margin: 20px 0;
    }

    
    .products-pages-other-info-box .products-info:nth-child(n) {
        margin-right: 66px;
    }
    .products-pages-other-info-box .products-info:nth-child(4n) {
        margin-right: 0;
    }
}
@media only screen and (max-width: 1000px){
    .products-all-box{
        width: 750px;
        padding-top: 60px;
    }
    .products-category-title{
        font-size: 28px;
    }
    .products-category-box{
        width: 200px;
    }
    .products-category-info{
        padding: 10px;
    }
    .products-category-info-name p{
        font-size: 18px;
    }
    .products-right-box{
        width: calc(100% - 200px);
        padding-left: 40px;
    }
    .products-info:nth-child(n){
        width: 245px;
        margin-right: 20px;
        margin-top: 0px;
    }
    .products-info:nth-child(2n) {
        margin-right: 0px;
    }
    .products-info:nth-child(n + 3) {
        margin-top: 20px;
    }
    .products-info-img{
        height: 245px;
    }
    .products-info-text{
        margin-top: 10px;
    }
    
    .products-pages-info-left{
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }
    .products-pages-info-small-img-box{
        width: 100%;
        height: inherit;
        margin-top: 20px;
        margin-right: 0;
    }

    .products-pages-info-right{
        width: 100%;
        margin-top: 40px;
        padding-left: 0;
    }
    .products-pages-info-small-img-info{
        margin-bottom: 0;
        width: calc((750px - 80px) / 5);
        height: 134px;
        margin-right: 20px;
    }
    .products-pages-info-small-img{
        height: 100%;
    }
    .products-pages-info-big-img-box{
        width: 100%;
        height: initial;
    }
    .products-pages-info-big-img {
        height: calc((460 / 600) * 750px);
    }

    .products-pages-edit-category{
        width: 200px;
        margin-left: 30px;
    }

    .products-pages-other-box{
        margin-top: 80px;
    }

    
    .products-pages-other-info-box .products-info:nth-child(n) {
        width: 360px;
        margin-right: 30px;
    }
    .products-pages-other-info-box .products-info:nth-child(2n) {
        margin-right: 0;
    }
    .products-pages-other-info-box .products-info:nth-child(n + 3) {
        margin-top: 30px;
    }
    .products-pages-other-info-box .products-info-img{
        height: 360px;
    }
}
@media only screen and (max-width: 768px){
    .products-box{
        padding: 70px 0;
    }
    .products-all-box{
        width: 550px;
        padding-top: 40px;
    }
    .rwd-products-category{
        width: 100%;
        font-family: "IBM Plex Sans",'Noto Sans TC';
        font-size: 16px;
        color: #333;
        letter-spacing: 0.06em;
        line-height: 36px;
        border: 1px solid #333;
        text-align: center;
        display: block;
        position: relative;
        box-sizing: border-box;
    }
    .rwd-products-category:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 6px solid transparent;
        border-top: 8px solid #333;
        border-left: 6px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 4px);
        right: 10px;
        box-sizing: border-box;
    }
    .products-category-box{
        width: 100%;
        height: 100vh;
        display: none;
        align-items: center;
        -webkit-align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
        flex-direction: row;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
    }
    .products-category-box.active{
        display: inline-flex;
        display: -webkit-inline-flex;
    }
    .products-category-info-box{
        width: 550px;
        max-width: calc(100% - 40px);
        background-color: #fff;
        display: block;
        position: relative;
        z-index: 3;
        max-height: 80vh;
        overflow: auto;
    }
    .products-category-close{
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        color: #000;
        font-family: "Noto Sans TC";
        text-align: center;
        display: block;
        position: absolute;
        top: 0px;
        right: 0;
        background-color: #ddd;
        cursor: pointer;
        z-index: 3;
    }
    .products-category-mask{
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        right: 0;
        background-color: rgba(0, 0, 0, .7);
        cursor: pointer;
        z-index: 2;
    }
    .products-right-box{
        width: 100%;
        display: block;
        padding-left: 0;
        margin-top: 40px;
    }
    .products-info:nth-child(n){
        width: 265px;
    }
    .products-info-img{
        height: 265px;
    }
    .products-page-box{
        margin-top: 60px;
    }

    .products-category-path-box{
        display: none;
    }
    .products-pages-info-box{
        margin-top: 0;
    }
    .products-pages-info-big-img {
        height: calc((460 / 600) * 550px);
    }
    .products-pages-info-small-img-info {
        width: calc((550px - 80px) / 5);
        height: 94px;
    }
    .products-pages-edit-box{
        margin-top: 100px;
    }
    .products-pages-edit-category-box{
        padding-right: 30px;
    }
    .products-pages-edit-category{
        width: calc((100% - 60px) / 2);
        margin-left: 30px;
    }
    .products-pages-edit-buyCart{
        width: 160px;
        bottom: calc(100% + 20px);
        right: calc(50% - 80px);
        border-radius: 5px;
    }
    .products-pages-edit-info-box{
        padding: 30px 0;
    }
    .products-pages-other-box{
        margin-top: 40px;
    }
    .products-pages-other-title{
        font-size: 24px;
    }
    .products-pages-other-info-box{
        margin-top: 20px;
    }
    .products-pages-other-info-box .products-info:nth-child(n) {
        width: 260px;
        margin-right: 30px;
    }
    .products-pages-other-info-box .products-info:nth-child(2n) {
        margin-right: 0;
    }
    .products-pages-other-info-box .products-info:nth-child(n + 3) {
        margin-top: 30px;
    }
    .products-pages-other-info-box .products-info-img{
        height: 260px;
    }
}
@media only screen and (max-width: 550px){
    .products-box{
        padding-top: 50px;
        padding-bottom: 20px;
    }
    .products-all-box {
        width: calc(100% - 40px);
        padding-top: 20px;
    }
    .products-category-title-box{
        margin-bottom: 10px;
    }
    .products-category-title {
        font-size: 20px;
    }
    .rwd-products-category{
        line-height: 30px;
    }
    .products-right-box{
        margin-top: 20px;
    }
    .products-info:nth-child(n){
        width: calc((100vw - 40px - 10px) / 2);
        margin-right: 10px;
        margin-top: 0px;
    }
    .products-info:nth-child(2n) {
        margin-right: 0px;
    }
    .products-info:nth-child(n + 3) {
        margin-top: 10px;
    }
    .products-info-img{
        height: calc((100vw - 40px - 10px) / 2);
    }
    .products-info-text{
        font-size: 16px;
        margin-top: 5px;
    }
    .products-page-box{
        margin-top: 40px;
    }
    .page a{
        font-size: 16px;
        line-height: 20px;
        margin: 0 13px;
    }

    
    .products-pages-info-box{
        margin-top: 0;
    }
    .products-pages-info-big-img {
        height: calc((460 / 600) * (100vw - 40px));
    }
    .products-pages-info-small-img-box{
        margin-top: 10px;
    }
    .products-pages-info-small-img-info {
        width: calc(((100vw - 40px) - 40px) / 5);
        height: calc(((100vw - 40px) - 40px) / 5);;
        margin-right: 10px;
    }
    .products-pages-info-right{
        margin-top: 20px;
    }
    .products-pages-info-name{
        font-size: 20px;
    }
    .products-pages-info-number{
        font-size: 14px;
        line-height: 1.2;
    }
    .products-pages-info-style-box{
        margin-top: 10px;
    }
    .products-pages-info-style>p{
        font-size: 16px;
        line-height: 20px;
    }
    .products-pages-info-style>span{
        font-size: 16px;
        line-height: 20px;
    }
    .products-pages-info-text-title{
        font-size: 16px;
        line-height: 20px;
    }
    .products-pages-info-text p{
        font-size: 16px;
        line-height: 20px;
    }

    .products-pages-edit-box{
        margin-top: 70px;
    }
    .products-pages-edit-buyCart i{
        font-size: 16px;
    }
    .products-pages-edit-buyCart p{
        font-size: 16px;
        line-height: 40px;
        margin-left: 10px;
    }
    .products-pages-edit-category-box{
        padding-right: 0;
    }
    .products-pages-edit-category{
        width: calc(100% / 2);
        margin-left: 0;
        border-bottom-width: 3px;
    }
    .products-pages-edit-category p{
        font-size: 14px;
        line-height: 30px;
    }
    .products-pages-edit-info-box{
        padding: 15px 0;
    }
    .products-pages-edit{
        font-size: 16px;
    }
    .products-pages-other-box{
        margin-top: 20px;
    }
    .products-pages-other-title{
        font-size: 18px;
    }
    .products-pages-other-info-box .products-info:nth-child(n) {
        width: calc((100vw - 40px - 10px) / 2);
        margin-right: 10px;
    }
    .products-pages-other-info-box .products-info:nth-child(2n) {
        margin-right: 0;
    }
    .products-pages-other-info-box .products-info:nth-child(n + 3) {
        margin-top: 10px;
    }
    .products-pages-other-info-box .products-info-img{
        height: calc((100vw - 40px - 10px) / 2);
    }
}
@media only screen and (max-width: 350px){
    .products-pages-info-small-img-info {
        width: calc(((100vw - 40px) - 20px) / 3);
        height: calc(((100vw - 40px) - 20px) / 3);
        margin-right: 10px;
    }
    .products-info:nth-child(n),
    .products-pages-other-info-box .products-info:nth-child(n) {
        width: calc(100vw - 40px );
        margin-right: 0;
    }
    .products-info:nth-child(n + 2),
    .products-pages-other-info-box .products-info:nth-child(n + 2) {
        margin-top: 10px;
    }
    .products-info-img,
    .products-pages-other-info-box .products-info-img{
        height: calc(100vw - 40px );
    }
}

@media only screen and (min-width: 769px){
    .products-category-info:hover .products-category-info-name span,
    .products-category-info:hover .products-category-info-name span::before{
        background-color: #333;
    }
    .products-category-info-name p>a{
        transition: all .3s linear;
    }
    .products-info:hover .main-bg{
        transform: scale(1.1);
    }

    a.products-category-path:hover{
        color: #e60012;
    }
    .products-pages-info-small-img-info:hover .products-pages-info-small-img{
        box-shadow: 0 0 2px rgba(0, 0, 0, .35);
    }





    .products-category-title-box,
    .products-category-box,
    .products-info,
    .products-category-path-box,
    .products-pages-info-left,
    .products-pages-info-right,
    .products-pages-edit-category-box,
    .products-pages-edit-info-box,
    .products-pages-other-title{
        opacity: 0;
    }
    .products-category-title-box.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .products-category-box.anima{
        animation: fade 1s ease 0.4s 1 both;
    }
    .products-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .products-category-path-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .products-pages-info-left.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .products-pages-info-right.anima{
        animation: fadeInRight 1s ease .3s 1 both;
    }
    .products-pages-edit-category-box{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .products-pages-edit-info-box.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .products-pages-other-title.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
}
.slick-current .products-pages-info-small-img{
    border: 1px solid #e60012;
}
.products-category-info-name p>a:hover,
.products-category-list:hover{
    color: #e60012;
}
