@charset "utf-8";
/* ============================================================
 * 檔案:products_detail.css
 * 用途:產品內頁 / 單一商品頁(products_detail.php)
 * ------------------------------------------------------------
 * 【常見小修改速查】
 *   字體大小  → 搜尋  font-size      (例 font-size: 16px;)
 *   字型      → 搜尋  font-family    (全站預設字型設定在 public.css)
 *   文字顏色  → 搜尋  color
 *   背景顏色  → 搜尋  background  或  background-color
 *   外距(元素之間) → 搜尋  margin
 *   內距(框內留白) → 搜尋  padding
 *   粗體      → font-weight: bold;   置中 → text-align: center;
 * ============================================================ */
   
article{
    padding-top: 20px;
    padding-bottom: 50px;
}
article:after{
    content:".";
    height:0;
    visibility:hidden;
    display:block;
    clear:both;
}
#products_item_menu{
    width:100%;
    height: 50px;  
    margin-top: 50px;
}
#products_item_menu ul{
    width:780px;
    height: 30px;
    margin: 0px;
    padding: 0px;
    margin: 0 auto;
    list-style: none;        
}
#products_item_menu ul li{
    width:110px;
    height: 30px;
    border-radius: 15px;
    line-height: 26px;
    text-align: center;
    float: left;  
    background-color: #E8E8E8;
    font-size: 15px;
    margin-right: 10px;
    margin-left: 10px;
    letter-spacing: 2px;
    transition: 0.25s;
    cursor: pointer;
}  
#products_item_menu ul li a{
    color:#000;
}
#products_item_menu ul li:hover, #products_item_menu ul li:focus{
    text-decoration:none;
    color: #FFF;
    box-shadow: inset 180px 0 0 0 #666; 
}
#products_item_menu ul li a:hover{
    color:#fff;
}
#pro_chid_menu {
    width:360px;
    height: 20px;
    margin: 0 auto;
}
#pro_chid_menu ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
}
#pro_chid_menu ul li{
    width: 120px;
    height: 15px;
    line-height: 15px;
    float: left;
    text-align: center;     
    font-size: 15px;
    border-left: 2px solid #CCC;
    color: #C9CACA;
}
#pro_chid_menu ul li:first-child{
    border:none;
}
#pro_chid_menu ul li a{
    color: #C9CACA;
}
a:hover{
    text-decoration: none;
}
.item_active{
    background-color: #109363 !important;
    color:#FFF;

}
.item_active a{
    color: #FFF !important;
}
.chid_menu_active a{
    width: auto;
    height: 25px;
    display: block;
    color:#595757 !important;
    border-bottom: 1px solid #CCC;
}

#products_cover{   
    overflow: hidden;
}
#products_imgs{
    width:100%;
    height: 350px;
}
.products_img img{
max-width: 142px;
max-height: 230px;
}
#products_info{
    letter-spacing: 2px;
}
#title_map{
    font-size: 13px;
    margin-bottom: 20px;
}
#products_name{
    font-size: 24px;
    font-weight: bold;
}
.products_price{
    width: 100%;
    height: 50px;
    line-height: 50px;
}
#price1{
    font-size: 14px;
    color: #595757;
    text-decoration: line-through;   
    float: left;       
}
#price2{
    font-size: 22px;
    color:#B28247;
    float: left;
    padding-left: 30px;
    font-weight: bolder;
}
#products_dec{
    width: 420px;
    color:#898989;
    font-size: 13px;
    line-height: 25px;      
}
#products_number{
    width: 100%;
    height: 80px;
    padding-top: 20px;
}
#number_name{
    width: 60px;
    height: 40px;
    text-align: left;
    font-size: 16px;
    line-height: 40px;
    float: left;
}
#btn_num_lower{
    width: 35px;
    height: 40px;
    border: 1px solid #999;
    border-right: none;
    border-radius: 20px 0 0 20px;
    float: left;
    line-height: 35px;
    font-size: 28px;
    padding-left: 12px;
    cursor: pointer;

}
#btn_num_add{
    width: 35px;
    height: 40px;
    border: 1px solid #999;
    border-left: none;
    border-radius: 0 20px 20px 0;
    float: left;
    line-height: 35px;
    font-size: 20px;
    padding-left: 10px;
    cursor: pointer;
}
#number{
    width: 60px;
    height: 40px;
    font-size: 16px;
    border: 1px solid #999;
    float: left;
}
#btn_form{
    width: 100%;
    height: 70px;
    padding-bottom: 20px;
}
.btn_icon{
    margin-left: 30px;
    margin-right: 10px;
    margin-top: -2px;
    float: left;
}
#btn_add_buycar{
    width: 200px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    color: #FFF;
    background: #109363;
    font-size: 16px;
    font-weight: bold;
    float:left;
    margin-right: 20px;
    cursor: pointer;

}
#btn_buy{
    width: 200px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    color: #727171;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #727171;
    float:left;
    cursor: pointer;
}
#pro_item_form{
    padding-top: 50px;
    padding-bottom: 50px;
}
#content{        
    font-size: 14px;
}
#products_d1{
    width:100%;
    height: 150px;
    background: #FFF9E8;
    margin-top: 50px;
    padding-top: 40px;
}
.pro_txt{    
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
    float: left;    
    background: url(/images/products/line1.png) no-repeat center bottom;
}

#item_img{
    float: left;
}
#item_img img{
    width: 100%;
}
#item_info{
    width: 600px;
    float: left;

    padding-bottom: 50px;
    line-height: 25px;
    letter-spacing: 2px;
}
#item_title{
    width:100%;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;

}
#item_txt{     
    font-size: 14px;
    padding: 20px;
    padding-bottom: 0px;
}
#list_img{
    width: 100%;
    height: 500px;
    padding-top: 50px;
    padding-bottom: 50px; 
    background: #F9F5F4;       
}    
#list_img:after{
    content:".";
    height:0;
    visibility:hidden;
    display:block;
    clear:both;
}
#list_img_title{
    width:100%;
    height: 30px;
    line-height: 30px;
    margin-bottom: 50px;
    font-size: 22px; 
    text-align: center;
    font-weight: bold;
}
#img_show{
    padding-left: 50px;
    padding-right: 50px;
    margin-bottom: 50px;
}

.img_txt{
    width:100%;
    height: 70px;
    padding-top: 20px;
    font-size: 16px;
    text-align: center;
    font-weight: 500;

}

.pro_lr_button{
    width:100%;
    position: relative;
    margin-top: -270px;
}
.btn_pro_next{
    width:43px;
    height: 118px;
    background: url('/images/index/btn_news_next.png') no-repeat;
    float: right;
    cursor: pointer;
}
.btn_pro_prev{
    width:43px;
    height: 118px;
    background: url('/images/index/btn_news_prev.png') no-repeat;
    float: left;
    cursor: pointer;
}
/* index products Start */
#index_products{
    height:800px;
    padding-top: 100px;
}
#index_products_title{
    width:100%;
    height:60px;        
    text-align: center;
   margin-bottom: 50px;
}
#index_products_title_txt1{
    font-family: "細明體-ExtB";
    font-size: 28px;
    font-weight: bold;
    display: block;
}
#index_products_title_txt2{        
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 30px;
}
.index_products_list:after{
    clear : left;
    content : '.';
    display : block;
    height : 0;
    overflow : hidden;       
}
#index_products_img{
    margin-bottom: 50px;        
}
#index_products_img img{
    max-height:228px;     
}
.index_products_info{
    margin-top: 30px;
    text-align: center;
    margin-bottom: 20px;
}
.index_products_info:after{
    clear : left;
    content : '.';
    display : block;
    height : 0;
    overflow : hidden;       
}
.index_products_name{
    width:100%;  
    min-height:25px;
    font-size:15px;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 500;
}
.index_products_name_en{
    width:100%;
    min-height: 25px;
    font-family: 'Rasa', serif;
    font-size:12px;

}
.index_products_item{
    width:50%;      
    color: #6AA79B;
    float: left;
    font-size: 12px;
    line-height: 30px;
    text-align: right;
    padding-right: 10px;

}
.index_products_price{
    width:50%;    
    color:#6AA79B;
    float: right;
    text-align: left;
    font-size: 19px;  
    box-sizing: border-box;
    padding-left: 5px;
}
.btn_add_products{
    width:120px;
    height: 25px;
    line-height: 25px;
    border-radius: 15px;       
    background: #EBEBEB;
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
}
.pro1_lr_button{    
    height: 30px;
    position: relative;        
    margin: 0 auto;
    margin-bottom: 320px;   
    z-index: 1000;
}

.btn_pro1_prev{
    display: block;
    height: 30px;
    width: 30px;
    float: left;
    cursor: pointer;
    background: url('/images/index/btn_news_prev.png') no-repeat;
}
.btn_pro1_next{
    display: block;
    height: 30px;
    width: 30px;
    background: url('/images/index/btn_news_next.png') no-repeat;
    float: right;   
    cursor: pointer;
}
/* products END */    
#btn_back{
    width:350px;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    font-weight: bolder;
    border: 1px solid #666666;
    display: block;
    margin: 0 auto;
    text-align: center;
    margin-top: 50px;
    color:#666;
    transition: all 0.2s ease;
}
#btn_back:hover{
    border-radius: 30px;
    overflow: hidden;
    color:#FFF;
    background: #666666;
}
a:hover{
    text-decoration: none;
}
#footer{
border-top: 1px solid #9FA0A0;
}
.rep{
    font-size: 16px;

    font-weight: 300;
}
.m_rep{
    width: 100%;
    line-height: 40px;
    text-align: center;
    font-size: 16px;

    font-weight: 300;
}
.replenishment{
        width: 150px;
        height: 30px;
        line-height: 30px;

        text-align: center;
        margin: 0 auto;
        border-radius: 15px;
    }   
.pro_more{
        width:200px;
        height: 251px;
        padding-top: 50px;
        background: rgba(255,255,255,0.7);
        position: absolute;
        text-align: center;  
        display: none;
    }
.img_form{

    cursor: pointer;
}  
    #food_form{
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 110000;
        background: rgba(0,0,0,0.65);
        display: none;
    }
    #food{
        width: 350px;
        height: 460px;
        background: #FFF;
        position: fixed;
        left: 50%;
        top: 50%;
        margin-left: -175px;
        margin-top: -230px;
        z-index: 211000;
    }
    #food_title{
        width: 100%;
        height: 40px;
        line-height: 40px;
        padding-top: 10px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        font-family: "微軟正黑體";
        letter-spacing: 2px;
        color: #999;
    }
    #food_bar{
        width: 350px;
        height: 370px;
        overflow: hidden;
        overflow-y: auto;
    }
    #food_img{
        width: 350px;      
        overflow: hidden;
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 20px;
        margin-bottom: 20px;
    }
    #food_img img{
        max-width:  300px;        
    }
    #food_content{        
        width: 290px;
        height: 110px;  
        line-height: 25px;
        letter-spacing: 2px;
        font-size: 13px;
        margin: 0 auto;
    }
    #btn_food_close{
        width: 350px;
        height: 40px;
        line-height: 40px;
        letter-spacing: 3px;
        text-align: center;
        color: #FFF;
        background: #178b60;
        margin-top: 20px;
        cursor: pointer;
    }
/* mobile*/
@media screen and (min-width:1200px){
    /* products */
    .pro1_lr_button{
        width: 1200px;
        margin-top: -480px;     

    }
    .img_form{
        width:250px;
        height: 250px;
        border-radius: 125px;
        overflow: hidden;
        margin: 0 auto;
        background-position: center center;     
    }  
}
@media screen and (max-width:1200px) and (min-width:992px){
    #img_show div img{
        width: 100%;
    }
    /* products*/
    #index_products_img{
        width: calc(100% - 80px);

    }
    .pro1_lr_button{
        width: calc(100% - 20px);
        margin-top: -480px;
        margin-bottom: 320px;
    }
    #products_info{
        width: 500px;
    }
    .img_form{
        width:200px;
        height: 200px;
        border-radius: 125px;
        overflow: hidden;
        margin: 0 auto;
        background-position: center center;
    }  
}

@media screen and (min-width:992px){
    article{
        width: calc(100% - 150px);
        margin-left: 150px;
    }
    #products_menu{
        width: 842px;
        margin: 0 auto;
        margin-bottom: 50px;
    }
    #content{
        width:560px;
    }
    #products_price_mobil{
        display: none;
    }
    #mobile_add, #mobile_buy_form{
        display: none;
    }
 
}
@media screen and (max-width:576px){
    #btn_back{
        width: calc(100% - 20px);
    }   
    
}
@media screen and (max-width:390px){
     #food{
        width: calc(100% - 40px);
        height: 460px;
        background: #FFF;
        position: fixed;
        left:0px;
        top: 50%;
        margin-left: 20px;
        margin-top: -230px;
        z-index: 211000;
    }
    #food_title{
        width: 100%;
        height: 40px;
        line-height: 40px;
        padding-top: 10px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        font-family: "微軟正黑體";
        letter-spacing: 2px;
        color: #999;
    }
    #food_bar{
        width: 100%;
        height: 370px;
        overflow: hidden;
        overflow-y: auto;
    }
    #food_img{
        width: 100%;
        height: auto;
        overflow: hidden;
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 20px;
        margin-bottom: 20px;
    }
    #food_img img{
        max-width: 100%;        
    }
    #food_content{        
        width: calc(100% - 55px);
        height: 110px;  
        line-height: 25px;
        letter-spacing: 2px;
        font-size: 13px;
        margin: 0 auto;
        
    }
    #btn_food_close{
        width: 100%;
        height: 40px;
        line-height: 40px;
        letter-spacing: 3px;
        text-align: center;
        color: #FFF;
        background: #178b60;
        margin-top: 20px;
        cursor: pointer;
    }
}
@media screen and (max-width:992px){
    #pro_chid_menu{
        margin-bottom: 30px;
    }
    #products_cover, #products_info{
        width: 100%;    
      
    }
    #products_cover{

    }
    #products_item_menu, #products_number{
        display: none;
    }

    #title_map{
        display: none;
    }
    #products_price{
        display: none;
    }
    #products_name{
        width:100%;
        text-align: center;
        margin-top: 30px;        
    }
    .products_price{
        width: 100%;
        height: auto;
        line-height: 25px;
        border-top: 1px solid #999;
        padding-top: 30px;
    }
    #products_dec{
        width:100%;
        padding: 20px;
        padding-bottom: 30px;
        font-size: 16px;
    }
    #price1,#price2{
        float: none;
        text-align: center;
    }
    #number_name{
        display: none;
    }
    #products_number{
        width:130px;
        height: 60px;
        margin: 0 auto;        
    }
    #btn_form{
       display: none;
    }
    #btn_add_buycar{
        float: none;
        margin: 0 auto;  
        margin-bottom: 20px;
    }
    #btn_buy{
        float: none;
        margin: 0 auto;
    }
    #content{
        padding: 20px;
    }
    #pro_item_form{ 
        padding-top: 0px ;
        padding-bottom: 0px;
    }
    #item_info{
        width: 100%;
        padding-top: 30px;  
        padding-bottom: 30px;
        line-height: 25px;
        letter-spacing: 2px;
    }
    #products_d1{
        padding-top: 20px;
        height: auto;
        padding-bottom: 30px;
    }
    .pro_txt{
        margin-bottom: 20px;
    }
    #item_title{
        font-size: 20px;
    }
    #item_txt{
        font-size: 13px;
    }
    #item_info{
        width:100%;
    }
    .pro_lr_button{
        display: none;
    }
    #img_show  img{
        width: 100%;
        max-width: 260px;
    }
    #img_show{
        width: 100%;
        padding: 0px;
        margin: 0px;
    }
    #index_products{
        height:630px;
        padding-top: 100px;
    }
    .pro1_lr_button{
        width: calc(100% - 20px);
        margin-top: -320px;
        margin-bottom: 300px;
    }
    .img_form{
        width:250px;
        height: 250px;
        border-radius: 125px;
        overflow: hidden;
        margin: 0 auto;
        background-position: center center;
    }
    #mobile_buy_form{
        width: 100%;
        height: 45px;
        position: fixed;
        bottom: 0px;
        left: 0px;
        background: #FFF;
        box-shadow: 0px -3px 5px #aaa;
        z-index: 10000;
    }
    #m_price{
        width: 40%;
        height: 45px; 
        border-right: 1px solid #CCC;
        float: left;
    }
    #m_buy{
        width: 30%;
        height: 45px; 
        border-right: 1px solid #CCC;
        float: left;
        text-align: center;
        padding-top: 3px;
        font-size: 12px;
        cursor: pointer;
    }
    #m_buy_car{
        width: 30%;
        height: 45px; 
        border-right: 1px solid #CCC;
        float: left;
        text-align: center;
        background: #109363;
        padding-top: 3px;
        color: #FFF;
        cursor: pointer;
    }
    
    #m_price1{
        font-size: 18px;
        line-height: 45px;
        color: #B28247;
        font-weight: bold;
        float: right;
        padding-right: 10px;
    }
    #m_price2{
        font-size: 12px;
        line-height: 45px;
        color: #595757;
        font-weight: bold;
        float: right;
        padding-right: 20px;
       
         text-decoration: line-through;        
    }
    .m_buy_icon{
        width: 100%;
    }
    #mobile_add_buy_form{
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0px;
        bottom: 0px;
        z-index: 20000;
        background: rgba(0,0,0,0.58);
        display: none;
    }
    #mobile_add{
        width: 100%;
        height: 150px;
        position:fixed;
        bottom: -150px;
        background: #FFF;
        z-index: 22000;
    
    }
    #mobile_add_buy_title{
        width: 100%;
        height: 50px;      
    }
    #mobile_add_title_name{
        font-size: 14px;
        color: #B28247;
        float: left;  
        padding-top: 30px; 
        padding-left: 20px;
        font-weight: bold;
    }
    #mobile_number{
        width: 100%;
        height: 45px;
        line-height: 45px;
        border-top: 1px solid #CCC;
        position: absolute;
        bottom: 45px;
        padding-left: 20px;
        padding-right: 30px;
    }
    
    #mobile_add_title_price{
        padding-top: 20px; 
        float: right;
    }
    #btn_add_car{
        width: 100%;
        height: 45px;
        line-height: 45px;
        color: #FFF;
        text-align: center;
        font-size: 14px;
        background: #109363;
        position: absolute;
        bottom: 0px;
    }
    #m_number_name{
        float: left;
    }
    #btn_m_num_lower, #btn_m_num_add{
        width:30px;
        height: 30px;
        line-height: 24px;
        margin-top: 7px;
        border: 1px solid #CCC;
        float: right;
        font-size: 24px;
        text-align: center;
        cursor: pointer;
    }
    #number_val{
        width: 40px;
        height:30px;       
        float: right;
        text-align: center;        
        font-size: 20px;
    }
    #btn_m_exit{
        width: 15px;
        height: 15px;
        background: url(/images/products/btn_close.png) no-repeat;
        position: absolute;
        right: 10px;
        margin-top: 10px;
        cursor: pointer;
    }
}