﻿.products-page-box{
    width: 100%;
    background-color: #f5f5f5;
    position: relative;
    margin-top: 118px;
    padding-top: 60px;
    padding-bottom: 50px;
}
.products-page-info-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0px auto;
    font-size: 0;
    position: relative;
}
.products-page-title-box{
    text-align: center;
    padding-bottom: 100px;
}
.products-page-title-en{
    display: inline-block;
    font-size: 40px;
    font-family: "comfortaa";
}
.products-page-title-x{
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    margin: 0 20px;
    color: #fb7444;
}
.products-page-title-ch{
    display: inline-block;
    font-size: 18px;
}
.products-page-info-top-box{
    display: block;
    position: relative;
}
.products-page-info-top-img{
    width: 220px;
    height: 46px;
    display: inline-block;
    overflow: hidden;
    border-bottom: 1px solid #fb7444;
}
.products-page-info-top-path-box{
    display: inline-block;
    float: right;
}
.products-page-info-top-path{
    display: inline-block;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-right: 10px;
    padding-left: 10px;
    line-height: 46px;
    cursor: pointer;
}
.products-page-info-top-path:after{
    content: '>';
    font-size: 14px;
    color: #555;
    position: absolute;
    top: 0;
    right: -5px;
}
.products-page-info-top-path:nth-child(3){
    padding-right: 0;
}
.products-page-info-top-path:nth-child(3):after{
    content: '';
}
.products-page-info-classification-box{
    width: 220px;
    max-width: 100%;
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 1px;
    display: inline-block;
    vertical-align: top;
}
.products-page-info-classification-list-box{
    display: block;
    width: 100%;
    height: 46px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
}
.products-page-info-classification-list-box>span{
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 46px;
}
.products-page-info-classification-list-box:nth-child(1){
    background-color: #fb7444;
    color: #fff;
}
.products-page-info-classification-list-box:hover>span{
    color: #fff;
}
.products-page-info-classification-list-box:hover{
    background-color: #fb7444;
}
.products-page-info-list-box{
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 220px);
    max-width: 100%;
}
.products-page-info-list-box{
    width: calc(100% - 250px);
    max-width: 100%;
    margin-left: 30px;
}
.products-page-info-list{
    width: 100%;
    background-color: #fff;
    border-top: 2px solid #fb7444;
    padding: 30px;
    box-sizing: border-box;
}
.products-page-info-list-left-box{
    width: 415px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.products-page-info-list-left-big{
    width: 100%;
    height: 400px;
    display: block;
}
.products-page-info-list-left-small-box{
    width: 100%;
    margin-top: 30px;
}
.products-page-info-list-left-small{
    width: 95px;
    height: 95px;
    display: inline-block;
    overflow: hidden;
    margin-left: 10px;
    background-image: url(../img/front/p1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.products-page-info-list-left-small-box .slick-prev,.products-page-info-list-left-small-box .slick-next{
    z-index: 2;
}

.products-page-info-list-left-small-box .slick-prev{
    padding-right: 8px;
}
.products-page-info-list-left-small-box .slick-prev:before{
    content: '\f104';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    width: 100%;
    text-align: right;
    font-size: 20px;
    color: #000;
    position: relative;
    right: -1px;
}
.products-page-info-list-left-small-box .slick-next{
    padding-left: 0px;
}
.products-page-info-list-left-small-box .slick-next:before{
    content: '\f105';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    width: 100%;
    text-align: left;
    font-size: 20px;
    color: #000;
    position: relative;
    left: -1px;
}
.products-page-info-list-right-box{
    display: inline-block;
    width: calc(100% - 445px);
    margin-left: 30px;
}
.products-page-info-list-right-title{
    width: 100%;
    font-size: 24px;
    color: #333;
    display: block;
    min-height: 65px;
}
.products-page-info-list-right-ingredient-box{
    display: block;
    width: 100%;
    min-height: 115px;
    margin-bottom: 20px;
}
.products-page-info-list-right-ingredient-top{
    width: 100%;
    display: block;
    font-size: 14px;
}
.products-page-info-list-right-ingredient-bottom{
    width: 100%;
    display: block;
    font-size: 14px;
    color: #888;
}
.products-page-info-list-right-taste-box,
.products-page-info-list-right-weight-box{
    width: 200px;
    max-width: 100%;
    position: relative;
    margin-bottom: 10px;
}
.products-page-info-list-right-taste-title,
.products-page-info-list-right-weight-title,
.products-page-info-list-right-quantity-title{
    font-size: 14px;
    color: #fb7444;
    line-height: 2;
}
.products-page-info-list-right-taste,
.products-page-info-list-right-weight{
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding-left: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    color: #555555;
    font-size: 16px;
    font-family: "微軟正黑體";
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-expand: none;
    cursor: pointer;
    position: relative;
    background-color: transparent;
}
.products-page-info-list-right-quantity{
    display: block;
    width: 198px;
    max-width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
}
.products-page-info-list-right-taste-box:before,
.products-page-info-list-right-weight-box:before{
    content: 'normal';
    font-size: 0;
    width: 30px;
    display: block;
    border-left: 1px solid #ccc;
    height: 30px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
}
.products-page-info-list-right-taste-box:after,
.products-page-info-list-right-weight-box:after{
    content: 'none';
    font-size: 0;
    width: 0px;
    height: 0px;
    border-right: 4.5px solid transparent;
    border-top: 9px solid #555555;
    border-left: 4.5px solid transparent;
    display: block;
    position: absolute;
    bottom: 9px;
    right: 11px;
    pointer-events: none;
}



.products-page-info-right-quantity-number input{
    border: none;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 0 5px;
    box-sizing: border-box;
    font-size: 12px;
    color: #555;
}
.products-page-info-right-quantity-minus{
    text-align: center;
    display: inline-block;
    width: 29px;
    height: 100%;
    font-size: 14px;
    color: #555;
    vertical-align: middle;
    cursor: pointer;
    line-height: 30px;
    cursor: pointer;
    transition: all .2s linear;
}
.products-page-info-right-quantity-number{
    vertical-align: top;
    width: 138px;
    display: inline-block;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    line-height: 30px;
    padding-top: 1px;
}
.products-page-info-right-quantity-plus{
    vertical-align: top;
    text-align: center;
    display: inline-block;
    width: 28px;
    height: 100%;
    line-height: 30px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all .2s linear;
}
.products-page-info-list-right-quantity-box,
.products-page-info-list-right-price-box{
    display: inline-block;
    width: 50%;
    vertical-align: bottom;
}
.products-page-info-list-right-price-box{
    text-align: right;
}
.products-page-info-list-right-price-original{
    display: inline-block;
    font-size: 18px;
    font-family: "anton";
    color: #888;
    text-decoration: line-through;
    margin-right: 30px;
}
.products-page-info-list-right-price-special{
    display: inline-block;
    font-size: 28px;
    font-family: "anton";
    color: #fb7444;
}
.products-page-info-list-right-joinbuycar-box{
    display: block;
    width: 100%;
    height: 95px;
    position: relative;
}
.products-page-info-list-right-joinbuycar{
    display: inline-block;
    width: 220px;
    max-width: 100%;
    height: 30px;
    background-color: #fb7444;
    border-radius: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all .2s linear;
}
.products-page-info-list-right-joinbuycar i{
    margin-right: 20px;
}
.products-page-info-introduction-edit-box{
    width: 100%;
    background-color: #fff;
    border-top: 2px solid #fb7444;
    padding: 30px;
    box-sizing: border-box;
    margin-top: 30px;
}
.products-page-info-introduction-edit-title{
    font-size: 24px;
    color: #fb7444;
    font-weight: bold;
    transform: skewX(-10deg);
}
.products-page-info-introduction-edit{
    font-size: 14px;
    font-weight: lighter;
    color: #555;
    line-height: 2;
    word-break: break-all;
}
.products-page-info-top-path:hover{
    color: #ccc;
}
.products-page-info-right-quantity-minus:hover,
.products-page-info-right-quantity-plus:hover{
    background-color: #fb7444;
    color: #fff;
}
.products-page-info-list-right-joinbuycar:hover{
    background-color: #7b0010;
}

#news-products-page .products-page-info-top-box{
    display: none;
}
#news-products-page .products-page-info-list-box{
    display: block;
    margin-left: 0;
    width: 100%;
}
#news-products-page .products-page-info-box{
    width: 950px;
}
@media only screen and (max-width: 1200px){
    .products-page-info-box{
        width: 1000px;
    }
    .products-page-info-list-right-quantity-box, 
    .products-page-info-list-right-price-box{
        display: block;
        width: 100%;
    }
    .products-page-info-list-right-joinbuycar-box{
        height: 50px;
    }
}
@media only screen and (max-width: 1000px){
    #news-products-page .products-page-info-box{
        width: 750px;
    }
    .products-page-box{
        margin-top: 60px;
    }
    .products-page-info-box{
        width: 800px;
    }

    .products-page-info-top-box{
        display: none;
    }
    .products-page-info-classification-box{
        display: block;
    }
    .products-page-info-list-box{
        display: block;
        width: 100%;
        margin: 0;
        margin-top: 30px;
    }
    #products-page .rwd-menu-class-list{
        display: block;
        background-color: #fb7444;
        color: #fff;
        border: none;
    }
    #products-page .rwd-menu-class-list:after{
        border-top-color: #fff;
    }
    .products-page-info-classification-box{
        width: 100%;
        position: absolute;
        z-index: 2;
        display: none;
        padding-top: 10px;
    }
    .products-page-info-classification-list-box:nth-child(1){
        background-color: #fff;
        color: #000;
    }
}
@media only screen and (max-width: 800px){
     #news-products-page .products-page-info-box{
        width: 550px;
    }
    .products-page-info-box{
        width: 550px;
    }
    .products-page-info-list-left-box{
        width: 100%;
        display: block;
    }
    .products-page-info-list-left-small-box{
        width: 415px;
        margin: 0 auto;
    }
    .products-page-info-list-right-box{
        display: block;
        width: 100%;
        margin: 0;
        margin-top: 20px;
    }
    .products-page-info-list-left-big{
        height: 472px;
    }
    .products-page-info-list-right-taste-box, 
    .products-page-info-list-right-weight-box{
        width: 100%;
    }

}
@media only screen and (max-width: 550px){
    
    .products-page-info-list-right-title{
        min-height: inherit;
        font-size: 20px;
    }
  
    #news-products-page .products-page-info-box{
        width: 340px;
    }
    .products-page-info-box{
        width: 300px;
    }
    .products-page-info-list-left-box{
        width: 100%;
        display: block;
    }
    .products-page-info-list-left-small-box{
        width: 245px;
        margin: 0 auto;
        margin-top: 20px;
    }
    .products-page-info-list-right-box{
        display: block;
        width: 100%;
        margin: 0;
        margin-top: 20px;
    }
    .products-page-info-list-left-big{
        height: 250px;
    }
    .products-page-info-list{
        padding: 20px;
    }
    .products-page-info-list-left-small{
        width: calc((245px - 15px) / 4);
        height: calc((245px - 15px) / 4);
        margin-left: 5px;
    }
    .products-page-info-list-right-joinbuycar{
        width: 155px;
    }
    .products-page-info-list-left-small-box .slick-next:before{
        left: 6px;
    }
    .products-page-info-list-right-quantity{
        width: 100%;
    }
    .products-page-info-right-quantity-number{
        width: calc(100% - 60px);
    }
}
@media only screen and (max-width: 340px){
   #news-products-page .products-page-info-box{
        width: 95%;
    }
}
/*<---------------------動畫------------------------>*/
@keyframes leftenter{
  0% {
    opacity: 0;
    transform:  translateX(-80px);
  }
  100% {
    opacity: 1;
  }
}
@keyframes upfedenter{
  0% {
    transform:  translateY(40px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes rightfedenter{
  0% {
    transform:  translateX(140px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes topenter{
  0% {
    transform:  translateY(-80px);
  }
  100% {
    opacity: 1;
  }
}
@media only screen and (min-width: 1001px){
    .products-page-info-top-path-box{
        opacity: 0;
        animation: rightfedenter 1s linear  both;
    }
    .products-page-info-classification-box,
    .products-page-info-top-img{
        opacity: 0;
        animation: leftenter 1s linear  both;
    }
    .products-page-info-list{
        opacity: 0;
        animation: upfedenter 1s linear both;
    }
    .products-page-info-introduction-edit-box{
        opacity: 0;
        animation: upfedenter 1s linear 0.5s both;
    }
}