/*------------ products ------------*/
.products-list {
    margin: 0 -10px;
}
.products-list .item {
    position: relative;
    box-sizing: border-box;
    width: calc(100% / 4);
    padding: 0 10px;
    margin-bottom: 40px;
}
.products-list .item:nth-child(4n+1) {
    clear: left;
}
.products-list .box {
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
}
.products-list .item a.cover {
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}
.products-list .pic-box {
    position: relative;
    overflow: hidden;
}
.products-list .pic-box img{
    width: 100%;
}
.products-list .pic {
    display: block;
    position: relative;
    overflow: hidden;
}
.products-list .txt {
    position: relative;
    box-sizing: border-box;
    text-align: center;
    padding: 15px 13px 0;
}
.products-list .name {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 10px;
    color: #333333;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    height: 28px;
    line-height: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Noto Serif TC', serif;
    transition: all .5s ease;
}
.products-list .name span {
    position: relative;
}
.products-list .name span + span {
    padding: 0 0 0 10px;
    margin: 0 0 0 10px;
}
.products-list .name span + span::before {
    content: '';
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    left: 0;
    width: 1px;
    height: 15px;
    background: #AAAAAA;
}
.products-list .description {
    position: relative;
    box-sizing: border-box;
    color: #878787;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 24px;
}
/*------------ /products ------------*/
/*------------ content ------------*/
.products-header {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 50px;
}
.products-header .title {
    position: relative;
    box-sizing: border-box;
    text-align: center;
    margin: 0 0 20px;
    padding-bottom: 20px;
    color: #333333;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.4;
    font-family: 'Noto Serif TC', serif;
}
.products-header .title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 50px;
    height: 1px;
    background: #CCCCCC;
}
.products-header .city {
    position: relative;
    box-sizing: border-box;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1.4;
    font-family: 'Noto Serif TC', serif;
}
/*圖片*/
.products-intro {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.gallery {
    position: relative;
    box-sizing: border-box;
    width: 1300px;
    max-width: 1300px;
}
/*/圖片*/
.products-detail {
    box-sizing: border-box;
    padding: 55px 0 0;
}
/*------------ /content ------------*/
/*------------ rwd ------------*/
@media screen and (max-width: 1280px) {
    .products-list .item {
        width: calc(100% / 3);
    }
    .products-list .item:nth-child(4n+1) {
        clear: none;
    }
    .products-list .item:nth-child(3n+1) {
        clear: left;
    }
    .products-list .name {
        font-size: 18px;
    }
}
@media screen and (max-width: 1000px) {
    .products-list .item {
        width: calc(100% / 2);
        margin-bottom: 30px;
    }
    .products-list .item:nth-child(3n+1) {
        clear: none;
    }
    .products-list .item:nth-child(2n+1) {
        clear: left;
    }
    .products-list .name {
        font-size: 16px;
        height: 24px;
        line-height: 24px;
        margin: 0 0 5px;
    }
    .products-list .name span + span {
        padding: 0 0 0 5px;
        margin: 0 0 0 5px;
    }
    .products-list .description {
        font-size: 15px;
    }
    .products-header .title {
        font-size: 20px;
        margin: 0 0 15px;
        padding-bottom: 20px;
    }
    .products-header .city {
        font-size: 16px;
    }
    .products-header {
        margin: 0 0 30px;
    }
    .products-detail {
        padding: 35px 0 0;
    }
}
@media screen and (max-width: 600px) {
    .products-list .item {
        width: 100%;
    }
    .products-list .item:nth-child(2n+1) {
        clear: none;
    }
    .products-list .item:nth-child(n+1) {
        clear: left;
    }
}