﻿.products-box{
    width: 100%;
    display: block;
    position: relative;
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    overflow: hidden;
}
.products-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 60px 0;
}
.products-order-box{
    margin-top: 40px;
}
.brand-class-box{
    margin: 50px 0;
    position: relative;
}
.brand-class{
    width: 165px;
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    color: #234a35;
    background-color: #eee;
    letter-spacing: 0.01em;
    text-align: center;
    line-height: 50px;
    margin-right: 20px;
    transition: all .3s linear;
}
.brand-class:nth-child(7n){
    margin-right: 0;
}
.brand-class:nth-child(n + 8){
    margin-top: 20px;
}
.brand-class.active,
.brand-class:hover{
    background-color: #234a35;
    color: #fff;
}
.products-order{
    margin-top: 60px;
}
.products-order:nth-child(n + 3){
    margin-top: 120px;
}
.products-title-box h2{
    font-size: 24px;
    letter-spacing: 0.06em;
    /* font-family: 'Noto Serif TC'; */
    font-weight: 500;
    color: #000;
    text-align: center;
}
.products-order-img{
    width: 50%;
    height: calc((320 / 640) * 640px);
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.products-order-img span{
    position: absolute;
}
.products-order-info-box{
    width: 50%;
    display: inline-block;
    vertical-align: top;
    margin-top: 50px;
    background-color: #234a35;
    box-sizing: border-box;
    padding: 70px 50px;
    position: relative;
}
.products-order-info{
    margin-bottom: 30px;
}
.products-order-info-title{
    font-size: 24px;
    color: #fff;
    letter-spacing: 0.01em;
    font-weight: bold;
}
.products-order-info-name{
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.01em;
}
.products-order-info-text {
    font-size: 16px;
    color: #fff;
    letter-spacing: 0.06em;
    margin-top: 10px;
}
.products-order-info-text p{
    display: inline-block;
    vertical-align: top;
}
.products-order-info-text span{
    display: inline-block;
    vertical-align: top;
    color: #ccc;
}
.products-order-price{
    font-size: 24px;
    letter-spacing: 0.06em;
    display: block;
    color: #ea6e37;
}
.products-order-price p{
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
}
.products-order-price span{
    display: inline-block;
    vertical-align: middle;
    font-family: 'roboto';
}
.products-special-price{
    font-size: 16px;
    letter-spacing: 0.06em;
    display: inline-block;
    color: #666;
    position: relative;
}
.products-special-price::after{
    content: '';
    width: 100%;
    height: 1px;
    background-color: #666;
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    display: block;
}
.products-order-more-box{
    width: 200px;
    display: block;
    position: absolute;
    text-align: center;
    background-color: #ccc;
    bottom: -25px;
    right: 0;
    transition: all .3s linear;
}
.products-order-more-box p{
    display: inline-block;
    vertical-align: middle;
    font-family: 'roboto';
    font-weight: 500;
    font-size: 20px;
    color: #234a35;
    line-height: 50px;
    letter-spacing: 0.06em;
    transition: all .3s linear;
}
.products-order-more-box i{
    font-size: 20px;
    margin-left: 20px;
    line-height: 50px;
    display: inline-block;
    vertical-align: middle;
    color: #234a35;
    transition: all .3s linear;
}

.products-certification-box{
    width: 650px;
    max-width: 100%;
    display: block;
    margin:  0 auto;
    box-sizing: border-box;
    padding: 150px 0;
}
.products-certification-box .products-title-box{
    text-align: center;
}
.products-certification-info-box{
    margin-top: 50px;
    position: relative;
}
.products-certification-info-img{
    width: 100%;
    height: 900px;
    display: block;
    box-shadow: 0 0 10px 3px rgba(196, 171, 62, 0.35);
}
.products-certification-info-text-box{
    margin-top: 70px;
}
.products-certification-info-text{
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.06em;
    color: #fff;
    width: 100%;
    text-align: center;
}
.products-certification-info-img-box .slick-prev, 
.products-certification-info-img-box .slick-next{
    width: 50px;
    height: 50px;
    display: block;
    background-color: #ccc;
    z-index: 2;
    top: initial;
    bottom: -50px;
    transition: all .3s linear;
}
.products-certification-info-img-box .slick-prev{
    left: calc(50% - 50px);
}
.products-certification-info-img-box .slick-next{
    right: calc(50% - 50px);
}
.products-certification-info-img-box .slick-prev:before, 
.products-certification-info-img-box .slick-next:before{
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    color: #1d4d60;
    opacity: 1;
    transition: all .3s linear;
}
.products-certification-info-img-box .slick-prev:before{
    content: '\f104';
} 
.products-certification-info-img-box .slick-next:before{
    content: '\f105';
}
.products-certification-info-img-box .slick-prev:hover, 
.products-certification-info-img-box .slick-next:hover{
    background-color: #1d4d60;
}
.products-certification-info-img-box .slick-prev:hover:before, 
.products-certification-info-img-box .slick-next:hover:before{
    color: #fff;
}

.products-certification-info-box::before{
    content: '';
    display: block;
    width: 1000px;
    height: 1000px;
    opacity: 0.8;
    border-radius: 50%;
    background: -moz-radial-gradient(ellipse at center,  rgba(0,255,255,0.08) 0%,rgba(0, 255, 252, 0.1) 30%,rgba(0,255,255,0) 70%,rgba(0,0,0,0) 100%);
    background: -webkit-radial-gradient(ellipse at center,  rgba(0,255,255,0.08) 0%,rgba(0, 255, 252, 0.1) 30%,rgba(0,255,255,0) 70%,rgba(0,0,0,0) 100%);
    background: radial-gradient(ellipse at center,  rgba(0,255,255,0.08) 0%,rgba(0, 255, 252, 0.1) 30%,rgba(0,255,255,0) 70%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d00ffff', endColorstr='#00000000',GradientType=1 );
    position: absolute;
    top: -200px;
    right: -400px;
    z-index: 0;
}
.products-certification-info-box::after{
    content: '';
    display: block;
    width: 1000px;
    height: 1000px;
    opacity: 0.8;
    border-radius: 50%;
    background: -moz-radial-gradient(ellipse at center,  rgba(0,255,255,0.08) 0%,rgba(0, 255, 252, 0.1) 30%,rgba(0,255,255,0) 70%,rgba(0,0,0,0) 100%);
    background: -webkit-radial-gradient(ellipse at center,  rgba(0,255,255,0.08) 0%,rgba(0, 255, 252, 0.1) 30%,rgba(0,255,255,0) 70%,rgba(0,0,0,0) 100%);
    background: radial-gradient(ellipse at center,  rgba(0,255,255,0.08) 0%,rgba(0, 255, 252, 0.1) 30%,rgba(0,255,255,0) 70%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0d00ffff', endColorstr='#00000000',GradientType=1 );
    position: absolute;
    bottom: -500px;
    left: -500px;
    z-index: 0;
}


.products-platform-box{
    margin-bottom: 100px;
}
.products-platform-info-box{
    margin-top: 40px;
}
.products-platform-info{
   width: calc((100% - 80px) / 3 );
   max-width: 100%;
   display: inline-block; 
   vertical-align: top;
   margin-right: 40px;
}
.products-platform-info:nth-child(3n){
    margin-right: 0;
}
.products-platform-info:nth-child(n + 4){
    margin-top: 40px;
}
.products-platform-info-img{
    width: 100%;
    height: 300px;
    display: block;
    position: relative;
}
.products-platform-info-mask{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(29, 77, 96, 0.8);
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: all .3s linear;
}
.products-platform-info:hover .products-platform-info-mask{
    opacity: 1;
}
.products-order-more-box:hover{
    background-color: #ea6e37;
}
.products-order-more-box:hover i,
.products-order-more-box:hover p{
    color: #fff;
}


/* pages */
.products-pages-info-box{
    width: 100%;
    margin-top: 60px;
}
.products-pages-info-left-box{
    width: 500px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.products-pages-info-left-box .slick-dots{
    text-align: right;
}
.products-pages-info-left-img{
    padding-bottom: calc((640 / 640) * 100%);
}
.products-pages-info-left-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.products-pages-info-right-box{
    width: calc(100% - 500px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 150px;
}
.products-pages-info-right-title{
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #000;
    margin-bottom: 20px;
}
.products-pages-info-right-name{
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #000;
    line-height: 1.6;
    font-weight: 700;
}
.products-pages-info-right-text{
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #666;
    min-height: 240px;
    line-height: 1.6;
    margin-top: 20px;
}
.products-pages-info-menu-box {
    width: 100%;
    display: block;
    text-align: right;
    margin-top: 80px;
}
.products-pages-info-quantity-box{
    width: 200px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #d1d1d1;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    text-align: center;
}
.products-pages-info-quantity-name{
    width: 60px;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #666;
    background-color: #fafafa;
    box-sizing: border-box;
    border-right: 1px solid #d1d1d1;
}
.products-pages-info-quantity{
    width: calc(100% - 60px);
    height: 40px;
    display: inline-block;
    vertical-align: middle;
    border: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-align: center;
    text-align-last: center;
    font-size: 14px;
    font-family: "Noto Sans TC";
    letter-spacing: 0.1em;
    color: #666;
    cursor: pointer;
}
.products-pages-info-quantity::-webkit-textfield-decoration-container{
    height: 100%;
    line-height: 40px;
}
.products-pages-info-quantity::-webkit-inner-spin-button {
    opacity: 1;
    pointer-events: auto;
    flex: 0 0 30px;
    border-left: 1px solid #d1d1d1;
    box-sizing: border-box;
}
.products-pages-info-add {
    width: 200px;
    display: inline-block;
    vertical-align: middle;
    background-color: #ea6e37;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 40px;
    margin-left: 25px;
    cursor: pointer;
    border: none;
    transition: all .3s linear;
}



@media only screen and (max-width: 1280px){
    .products-all-box{
        width: 1000px;
    }
    .products-order-img{
        height: calc((320 / 640) * 500px);
    }
    .products-platform-info-img{
        height: calc(300 / (1200 / 3) * (920px / 3 ));
    }
    .products-pages-info-left-box{
        width: 400px;
    }
    .products-pages-info-right-box{
        width: calc(100% - 400px);
        padding-left: 80px;
    }
    .products-pages-info-right-text {
        min-height: 210px;
    }
}
@media only screen and (max-width: 1000px){
    .products-all-box{
        width: 750px;
    }
    .products-order-img{
        width: 100%;
        height: calc((320 / 640) * 750px);
    }
    .products-order-info-box{
        width: 100%;
        margin-top: 0;
    }
    .products-certification-info-box::before,
    .products-certification-info-box::after{
        display: none;
    }
    .products-platform-info-img{
        height: calc(300 / (1200 / 3) * (670px / 3 ));
    }
    .rwd-brand-class{
        width: 100%;
        color: #fff;
        height: 46px;
        border: 1px solid #1c4c5e;
        background-color: #5f8888;;
        font-size: 16px;
        letter-spacing: 1px;
        text-align: center;
        line-height: 46px;
        position: relative;
        box-sizing: border-box;
        display: block;
        cursor: pointer;
    }
    .rwd-brand-class:after {
        content: '\f078';
        font-weight: bold;
        font-family: "Font Awesome 5 Free";
        font-size: 14px;
        color: #eac369;
        display: block;
        position: absolute;
        right: 10px;
        top: 0;
        pointer-events: none;
    }
    .brand-class-all-box{
        width: 100%;
        display: none;
        position: absolute;
        z-index: 3;
        box-sizing: border-box;
        background-color: #fff;
        border: 1px solid #436e73;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.6);
    }
    .brand-class{
        width: 100%;
        display: block;
        margin-right: 0;
    }

    .products-pages-info-left-box{
        width: 300px;
    }
    .products-pages-info-right-box{
        width: calc(100% - 300px);
        padding-left: 40px;
    }
    .products-pages-info-right-title{
        font-size: 20px;
    }
    .products-pages-info-right-name{
        font-size: 18px;
    }
    .products-pages-info-right-text {
        min-height: 130px;
        font-size: 14px;
    }
    .products-pages-info-menu-box{
        margin-top: 30px;
    }
    .products-pages-info-quantity-box {
        width: 160px;
    }
    .products-pages-info-quantity-name {
        width: 50px;
    }
    .products-pages-info-quantity {
        width: calc(100% - 50px);
    }
    .products-pages-info-add {
        width: 160px;
    }

}
@media only screen and (max-width: 750px){
    .products-all-box{
        width: 95vw;
        padding: 40px 0;
    }
    .products-order-img{
        height: calc((320 / 640) * 95vw);
    }
    .products-platform-info-img{
        height: calc(300 / (1200 / 3) * (670px / 3 ));
    }
    .products-order-info-box{
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }
    .products-platform-info:nth-child(n) {
        width: calc((100% - 20px) / 2 );
        margin-right: 20px;
    }
    .products-platform-info:nth-child(2n){
        margin-right: 0;
    }
    .products-platform-info:nth-child(n + 3){
        margin-top: 20px;
    }
    .products-platform-box{
        margin-bottom: 50px;
    }
    .products-pages-info-box{
        margin-top: 40px;
    }
    .products-pages-info-left-box{
        width: 100%;
        max-width: 400px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .products-pages-info-right-box{
        width: 100%;
        max-width: 400px;
        display: block;
        margin: 0 auto;
        padding-left: 0;
    }
    .products-pages-info-right-text{
        min-height: initial;
    }
}
@media only screen and (max-width: 650px){
    .products-certification-info-img{
        height: calc((900 / 650) * 95vw);
    }
}
@media only screen and (max-width: 550px){
    .products-all-box{
        padding: 20px 0;
    }
    .products-order-box{
        margin-top: 20px;
    }
    .products-title-box h2{
        font-size: 18px;
    }
    .products-order{
        margin-top: 30px;
    }
    .products-order-info-box{
        padding: 20px 10px;
    }
    .products-order-info{
        margin-bottom: 20px;
    }
    .products-order-info-title{
        font-size: 18px;
    }
    .products-order-info-name{
        font-size: 14px;
    }
    .products-order-info-text{
        font-size: 12px;
        margin-top: 5px;
    }
    .products-order-price{
        font-size: 18px;
    }
    .products-special-price{
        font-size: 12px;
    }
    .products-order-more-box{
        width: 150px;
        bottom: -20px;
    }
    .products-order-more-box p{
        font-size: 16px;
        line-height: 40px;
    }
    .products-order-more-box i{
        font-size: 14px;
        line-height: 40px;
        margin-left: 10px;
    }
    .products-order:nth-child(n + 3){
        margin-top: 40px;
    }
    .products-certification-box{
        padding: 50px 0;
    }
    .products-certification-info-box{
        margin-top: 20px;
    }
    .products-certification-info-text-box{
        margin-top: 40px;
    }
    .products-certification-info-text{
        font-size: 14px;
    }
    .products-platform-info-box{
        margin-top: 20px;
    }
    .products-platform-info:nth-child(n) {
        width: 100%;
        margin-right: 0;
    }
    .products-platform-info:nth-child(n + 2) {
        margin-top: 10px;
    }
    .products-platform-box:last-child{
        margin-bottom: 0;
    }
    .brand-class-box{
        margin: 20px 0;
    }
    .rwd-brand-class{
        font-size: 14px;
        line-height: 40px;
        height: 40px;
    }
    .brand-class{
        font-size: 14px;
    }
    .products-pages-info-box{
        margin-top: 20px;
    }
    .products-pages-info-menu-box {
        margin-top: 20px;
    }
    .products-pages-info-quantity-box {
        width: calc(50% - 10px);
    }
    .products-pages-info-quantity-name {
        font-size: 12px;
        width: 40px;
        line-height: 30px;
    }
    .products-pages-info-quantity {
        width: calc(100% - 40px);
        height: 30px;
        font-size: 12px;
    }
    .products-pages-info-add {
        font-size: 12px;
        line-height: 30px;
        width: calc(50% - 10px);
        margin-left: 20px;
    }
}




/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .products-title-box h2,
    .products-order-img,
    .products-order-info-box,
    .products-order-more-box,
    .products-certification-info-box,
    .products-platform-info{
        opacity: 0;
    }
    .products-title-box.anima h2{
        animation: fade 1s ease 0s 1 both;
    }
    .products-order.anima .products-order-img{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .products-order.anima .products-order-info-box{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .products-order.anima .products-order-more-box{
        animation: fadeInLeft 1s ease 0.4s 1 both;
    }
    .products-certification-info-box.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .products-platform-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .brand-class-box{
        opacity: 0;
    }
    .brand-class-box{
        animation: fadeInDown 1s ease 0s 1 both;
    }
}