﻿
.index-products-info-name-search{
    width: 100%;
    display: block;
    text-align: center;
    font-size: 30px;
    line-height: 30px;
    color: #000;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans TC';
    box-sizing: border-box;
    padding: 20px 5px;
}

.products-pages-box{
    width: 100%;
    display: block;
    position: relative;
    min-height: calc(100vh - 120px);
}
.products-pages-all-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    position: relative;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 65px 0;
}
.products-pages-box .main-path-box{
    padding: 0;
}
.products-pages-info-box{
    margin-top: 25px;
}
.products-pages-img-box{
    width: 500px;
    display: inline-block;
    vertical-align: top;
}
.products-pages-img-b-box{
    width: 100%;
    display: block;
    background-color: rgba(0, 0, 0, 0.1);
}
.products-pages-img-b{
    height: calc((540 / 500) * 500px);
    overflow: hidden;
    position: relative;
}
.products-pages-img-s-box{
    width: calc(100% - 90px);
    display: block;
    margin: 0 auto;
    margin-top: 30px;
}
.products-pages-img-s{
    width: 80px;
    height: 80px;
    overflow: hidden;
    position: relative;
    margin-right: 30px;
    cursor: pointer;
}

.products-pages-img-s-box .slick-prev{
    left: -50px;
    width: initial;
    height: initial;
    z-index: 1;
}
.products-pages-img-s-box .slick-next{
    right: -50px;
    width: initial;
    height: initial;
    z-index: 1;
}
.products-pages-img-s-box .slick-prev::before{
    content: '\f191';
    font-family: 'font Awesome 5 free';
    font-weight: 700;
    display: block;
    color: #007efc;
}
.products-pages-img-s-box .slick-next::before{
    content: '\f152';
    font-family: 'font Awesome 5 free';
    font-weight: 700;
    display: block;
    color: #007efc;
}
.products-pages-info{
    width: calc(100% - 500px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 15px 0;
    padding-left: 50px;
}
.products-pages-info-name{
    font-family: "Noto Sans TC";
    font-weight: 300;
    font-size: 26px;
    line-height: 40px;
    letter-spacing: 0.1em;
    color: #000;
}
.products-pages-info-price{
    margin: 50px 0;
}
.products-pages-info-price span{
    font-size: 22px;
    font-family: "Roboto";
    color: #007efc;
    letter-spacing: 0.1em;
    display: inline-block;
    vertical-align: top;
    line-height: 1;
}
.products-pages-info-price p{
    font-size: 54px;
    font-family: "Roboto";
    color: #007efc;
    letter-spacing: 0.1em;
    display: inline-block;
    vertical-align: top;
    line-height: 40px;
}
.products-pages-info-off-box{
    width: 100%;
    display: block;
}
.products-pages-info-title{
    font-size: 18px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 40px;
    display: inline-block;
    vertical-align: middle;
    color: #666;
}
.products-pages-info-off-text{
    display: inline-block;
    vertical-align: middle;
}
.products-pages-info-off-text p{
    font-size: 18px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 40px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
}
.products-pages-info-off-text p>span{
    font-weight: 300;
}
.products-pages-info-off-more{
    width: 100px;
    display: inline-block;
    vertical-align: middle;
    line-height: 30px;
    text-align: center;
    font-size: 16;
    color: #007efc;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    border: 1px solid #007efc;
    cursor: pointer;
    transition: all .3s linear;
}
.products-pages-info-check-box{
    width: 100%;
    display: block;
    margin-top: 40px;
}
.products-pages-info-check-all-box{
    width: 100%;
    display: block;
}
.products-pages-info-check{
    width: 120px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    margin-top: 10px;
}
.products-pages-info-check>input{
    position: absolute;
    pointer-events: none;
    opacity: 0;
}
.products-pages-info-check p{
    width: 100%;
    display: block;
    text-align: center;
    font-size: 16px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 40px;
    border: 1px solid #d1d1d1;
    cursor: pointer;
    color: #000;
    background-color: #fafafa;
}
.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;
    border-radius: 5px;
    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-quantity-arrow{
    width: 40px;
    display: block;
    line-height: 40px;
    font-size: 14px;
    color: #666;
    position: absolute;
    top: 0;
    right: 0;
    border-left: 1px solid #d1d1d1;
    box-sizing: border-box;
    background-color: #fafafa;
    pointer-events: none;
}
.products-pages-info-add{
    width: 200px;
    display: inline-block;
    vertical-align: middle;
    background-color: #007efc;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
    border-radius: 5px;
    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;
}
.products-pages-edit-box{
    margin-top: 50px;
    display: block;
    box-sizing: border-box;
    padding: 50px 55px;
    background-color: #fafafa;
}
.products-pages-edit{
    font-size: 16px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 40px;
    color: #000;
}
.rwd-index-products-info-name-search{
    display: none;
}


.products-pages-other-box{
    margin-top: 80px;
}
.products-pages-other-title-box{
    margin-bottom: 40px;
}
.products-pages-other-title{
    width: 200px;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
    box-sizing: border-box;
    text-align: center;
    background-color: #007efc;
    border: none;
    color: #fff;
    font-size: 20px;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all .3s linear;
}
.products-pages-other-arrow-box{
    width: calc(100% - 200px);
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    border-bottom: 1px solid #d1d1d1;
    text-align: right;
}
.products-pages-other-arrow-box .slick-prev, 
.products-pages-other-arrow-box .slick-next{
    position: static;
    display: inline-block;
    vertical-align: middle;
    transform: none;
    width: 30px;
    height: 40px;
}
.products-pages-other-arrow-box .slick-prev::before{
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    color: #000;
    font-size: 22px;
    line-height: 1;
} 
.products-pages-other-arrow-box .slick-next::before{
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    color: #000;
    font-size: 22px;
    line-height: 1;
}

.products-pages-other-box .index-products-info:nth-child(n) {
    box-sizing: border-box;
    border: 1px solid transparent;
    margin-top: 0;
}
.products-pages-other-box .index-products-info:hover{
    box-shadow: none;
    border: 1px solid #d1d1d1;
}








@media only screen and (max-width: 1480px){
    .products-pages-all-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1280px){
    .products-pages-all-box{
        width: 920px;
    }
    .products-pages-img-box{
        width: 400px;
    }
    .products-pages-img-b{
        height: calc((540 / 500) * 400px);
    }
    .products-pages-img-s-box{
        width: calc(100% - 50px);
    }
    .products-pages-img-s-box .slick-prev{
        left: -30px;
    }
    .products-pages-img-s-box .slick-next{
        right: -30px;
    }
    .products-pages-img-s{
        margin-right: 10px;
    }
    .products-pages-info {
        width: calc(100% - 400px);
        padding-left: 30px;
    }
    .products-pages-info-price{
        margin: 30px 0;
    }
}
@media only screen and (max-width: 1200px){
    .products-pages-all-box{
        width: 720px;
    }
    .products-pages-img-box{
        width: 300px;
    }
    .products-pages-img-b{
        height: calc((540 / 500) * 300px);
    }
    .products-pages-img-s-box{
        margin-top: 20px;
    }
    .products-pages-img-s{
        width: 70px;
        height: 70px;
        margin-right: 20px;
    }
    .products-pages-info {
        width: calc(100% - 300px);
        padding: 10px 0;
        padding-left: 20px;
    }
    .products-pages-info-name{
        font-size: 20px;
        line-height: 30px;
    }
    .products-pages-info-price{
        margin: 20px 0;
    }
    .products-pages-info-price span{
        font-size: 16px;
    }
    .products-pages-info-price p{
        font-size: 36px;
        line-height: 30px;
    }
    .products-pages-info-title{
        font-size: 14px;
        line-height: 26px;
    }
    .products-pages-info-off-text p{
        font-size: 14px;
        line-height: 30px;
        margin: 0 10px;
        letter-spacing: 0.06em;
    }
    .products-pages-info-menu-box{
        margin-top: 40px;
    }
    .products-pages-info-quantity-box{
        width: 160px;
    }
    .products-pages-info-add{
        width: 160px;
    }
}
@media only screen and (max-width: 1000px){
    .index-products-info-name-search{
        font-size: 20px;
    }
    .products-pages-all-box{
        width: 520px;
        padding: 60px 0;
    }
    .products-pages-img-box{
        width: 100%;
    }
    .products-pages-img-b {
        height: calc((540 / 500) * 520px);
    }
    .products-pages-img-s-box {
        width: calc(100% - 70px);
    }
    .products-pages-img-s{
        width: 70px;
        height: 70px;
        margin-right: 25px;
    }
    .products-pages-info{
        width: 100%;
        padding-left: 0;
    }
    .products-pages-img-s-box .slick-prev {
        left: -35px;
    }
    .products-pages-img-s-box .slick-next {
        right: -35px;
    }
    .products-pages-info-check {
        width: 110px;
    }
    .products-pages-info-check-box{
        margin-top: 20px;
    }

    .products-pages-edit-box{
        margin-top: 30px;
        padding: 30px 35px;
    }
    .products-pages-info-quantity-name{
        width: 50px;
    }
    .products-pages-info-quantity{
        width: calc(100% - 50px);
    }
    .rwd-index-products-info-name-search{
        display: block;
    }
}
@media only screen and (max-width: 768px){
    .products-pages-all-box {
        padding: 20px 0;
    }
    .products-pages-other-box {
        margin-top: 40px;
    }
    .products-pages-other-title-box {
        margin-bottom: 20px;
    }
}
@media only screen and (max-width: 550px){
    .index-products-info-name-search{
        font-size: 16px;
        padding-top: 0;
    }
    .products-pages-all-box {
        width: 95vw;
        padding: 10px 0;
    }
    .products-pages-info-box {
        margin-top: 10px;
    }
    .products-pages-img-b {
        height: calc((540 / 500) * 95vw);
    }
    .products-pages-img-s-box{
        margin-top: 10px;
    }
    .products-pages-img-s{
        width: calc((95vw - 70px - 10px) / 3);
        height: calc((95vw - 70px - 10px) / 3);
        margin-right: 5px;
    }
    .products-pages-info-name{
        font-size: 16px;
        line-height: 26px;
    }
    .products-pages-info-price{
        margin: 15px 0;
    }
    .products-pages-info-price span{
        font-size: 12px;
    }
    .products-pages-info-price p{
        font-size: 26px;
        line-height: 20px;
    }
    .products-pages-info-title {
        font-size: 12px;
        line-height: 20px;
    }
    .products-pages-info-off-text{
        display: block;
    }
    .products-pages-info-off-text p{
        font-size: 12px;
        line-height: 22px;
        margin: 0;
    }
    .products-pages-info-off-more{
        font-size: 12px;
        margin-top: 10px;
        display: block;
    }
    .products-pages-info-check{
        width: calc((100% - 10px) / 3);
        margin-right: 5px;
        margin-top: 5px;
    }
    .products-pages-info-check:nth-child(3n){
        margin-right: 0;
    }
    .products-pages-info-check p{
        font-size: 14px;
        line-height: 30px;
    }
    .products-pages-info-menu-box {
        margin-top: 20px;
    }
    .products-pages-info-quantity-box{
        width: calc(50% - 10px);
    }
    .products-pages-info-add{
        width: calc(50% - 10px);
        margin-left: 20px;
    }
    .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-quantity::-webkit-textfield-decoration-container{
        line-height: 30px;
    }
    .products-pages-info-quantity-arrow{
        width: 30px;
        line-height: 30px;
        font-size: 12px;
    }
    .products-pages-info-add{
        font-size: 12px;
        line-height: 30px;
    }
    .products-pages-edit-box{
        margin-top: 20px;
        padding: 10px 15px;
    }
    .products-pages-edit{
        font-size: 12px;
        line-height: 30px;
    }
    .products-pages-other-title{
        font-size: 16px;
        width: 140px;
    }
    .products-pages-other-arrow-box {
        width: calc(100% - 140px);
    }
    .products-pages-other-box {
        margin-top: 20px;
    }
    .products-pages-other-title-box {
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 400px){
    .products-pages-other-box .index-products-info:nth-child(n){
        width: calc((95vw - 10px) / 2);
    }
}
.products-pages-info-check>input:checked + p{
    color: #fff;
    background-color: #007efc;
}
@media only screen and (min-width: 1001px){
    .products-pages-info-off-more:hover{
        color: #fff;
        background-color: #007efc;
    }
    .products-pages-info-add:hover{
        background-color: #004488;
        color: #fff;
    }
    .products-pages-info-check p

    .products-pages-img-box,
    .products-pages-info-name,
    .products-pages-info-price,
    .products-pages-info-off-box,
    .products-pages-info-check-box,
    .products-pages-info-menu-box,
    .products-pages-edit{
        opacity: 0;
    }
    .products-pages-img-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .products-pages-info.anima .products-pages-info-name{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .products-pages-info.anima .products-pages-info-price{
        animation: fadeInUp 1s ease 0.1s 1 both;
    }
    .products-pages-info.anima .products-pages-info-off-box{
        animation: fadeInUp 1s ease 0.2s 1 both;
    }
    .products-pages-info.anima .products-pages-info-check-box{
        animation: fadeInUp 1s ease 0.3s 1 both;
    }
    .products-pages-info.anima .products-pages-info-menu-box{
        animation: fadeInUp 1s ease 0.4s 1 both;
    }
    .products-pages-edit.anima{
        animation: fade 1s ease 0s 1 both;
    }
}