@charset "utf-8";
/*---新版詳細頁---*/
/*----20150825有數量按鈕可增減----*/
.product_size_add{
        overflow:hidden;
        border-bottom:1px solid #eee;
        padding-bottom:10px;
        margin-bottom:10px;
        }
.product_size_add:last-child{
    padding-bottom:0px;
    margin-bottom:0px;
}        
.product_size_add div{
        float:left;
        margin-left:5px;
        }
.size_add_text{
    font-size:12px;
    height:38px;
    line-height:38px;
}
.size_add_number{
    width:120px;
    font-weight:bold;
}
.size_add_stock{
    font-size:12px;
    height:38px;
    line-height:38px;

}
.size_add_stock span{}
/*----20150825有數量按鈕可增減結束----*/

/*---20150825新增左邊分享區塊---*/
.product_share {
   overflow: hidden;
   display: flex;
}

.product_share_fb {
    padding: 4px 0px 0px 0px;
}

/*有開google評價的在.product_share 加上 .product_share--google*/
.product_share--google {
 justify-content: center;
}
.product_share--google .product_share_fb  {
   background: #f5f5f5;
   display: flex;
   align-items: center;
   height: 54px;
}
.product_share_item_number{
        float:right;
        }
/*----20150825新增左邊分享區塊結束----*/

.touchspin{
    text-align:center;
}
.product_detail_gap{
    height:15px;
}


.product_notice{
    font-size:12px;
    height:38px;
    -webkit-border-radius: 5;
    -moz-border-radius: 5;
    border-radius: 5px;
    font-family: Georgia;
    background: #cccccc;
    color: #ffffff;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}
.product_button{ 
   float:left;
   margin-top:10px;
   margin-right:10px;
}

/*---20181008新版明細頁css修改---*/
.sm-product-detail h4 {
    /* color: #333;
    font-weight: bold; 和style.css重複*/
    line-height: 1.5;
    margin-bottom: 2px;
    font-size: 19px;
}
.sm-product-detail {
    padding-bottom: 25px;
}
/*產品圖大圖*/
.product_detail_picture {
    position: relative;
    /* border: 0px solid #CCCCCC; */
    padding: 6px;
}
.product_detail_picture span {
    height: 100%;
    display: inline-block;
}
.product_detail_picture * {
    vertical-align: middle;
}
/*產品圖下方小圖*/
.product_spec_picture {
    padding-left: 0px;
    margin-top: 8px;
    overflow: hidden;
}
.product_spec_picture ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
.product_spec_picture ul li {
    display: block;
    float: left;
    padding: 0px 5px;
    margin: 0px;
}
.product_spec_picture ul li img {
    border: 1px solid #cccccc;
    padding: 2px;
    display: block;
    margin: 2px;
}
.product_spec_picture_280 ul li img {
    width: 50px;
}
.product_spec_picture_300 ul li img {
    width: 54px;
}
.product_spec_picture_400 ul li img {
    width: 72px;
}
/*---明細頁商品資訊 ---*/
/*3D區塊*/
#preview_3d {
    margin-bottom: 15px
}
#preview_3d iframe {
    width: 100%!important;
}
.preview_3d_title {
    color: #999999;
    font-size: 16px;
    line-height: 1;
}
.product_detail_content {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
/*左邊標題與備註*/
.product_detail_item_left {
}
.product_detail_item_right {
    text-align: right;
}
/*滿額可加購此商品的提示*/
.add_product_msg_show {
    color: #cc0000;
}
/*市價*/
.price {
    font-size: 18px;
    color: #666666;
    text-decoration: line-through;
}
/*會員價+限時特價*/
.product_detail_price, .product_detail_price_sale {
    color: #cc0000;
    font-family: 'Century Gothic', 'Verdana', sans-seri;
    letter-spacing: -1px;
    font-weight: bold;
    padding: 2px 0;
    line-height: 1;
    max-width: 170px;
}
.price_symbol {
    vertical-align: top;
    font-size: 14px;
    margin-right: 5px;
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
}
/*"限時"icon*/
.product_detail_price_sale .discount_icon {
    border-radius: 2px;
    background: #cc0000;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    vertical-align: top;
    padding: 2px;
    margin-top: 5px;
    margin-right: 5px;
    display: inline-block;
}
/*有限時特價時會員價加這個class*/
.price_del {
    color: #ff6600;
    text-decoration: line-through;
    font-size: 20px;
    font-weight: normal;
}
.price_del .price_symbol {
    display: none;
}
/*真正售價的數字*/
.product_detail_price #last_price , .product_detail_price_sale  {
    font-size: 44px;
}
.product_detail_price.price_del #last_price {
    font-size: 20px;
}
/*增加幣別位置 */
select#currency {
    display: block;
     float: right;
}
/*幣別下拉*/
select.select {
    margin: 5px 0 0 5px;
}

.sold_number_block {
    padding: 0px 4px;
    margin: 0px 0 5px 0;
    float: left;
}

@media (max-width: 991px){
/*增加幣別位置*/
select#currency {
    display: inline-block;
    float: none;
}
}
/*產品詳細頁-商品紅利*/
.product_detail_bonus {
    display: block;
    text-indent: 0px;
    margin: 8px 0;
    background: none;
}
.product_detail_bonus .text {
    background-image: url("images/cart_bonus.gif");
    background-position: left center;
    background-repeat: no-repeat;
    margin-left: 0px;
    padding-left: 30px;
}

/*產品詳細頁-各種優惠標示*/
.all_product_activity,.product_activity,.product_activity_event_tag {
    margin: 4px 0;
}
.all_product_activity .text,.product_activity .text ,.product_activity_event_tag .text{
    width: 100%;
    padding-left: 20px;
    line-height: 24px;
    color: var(--red);
    background-size: 18px;
    background-repeat:  no-repeat;
    background-position:  left center;
}

/*產品詳細頁-全館優惠*/
.all_product_activity .text {
    background-image: url(images/all_product_activity_icon.png);
}
/*產品詳細頁-促銷活動*/
.product_activity .text {
   background-image: url(images/product_activity_icon.png);
}
/*產品詳細頁-紅配綠活動*/
.product_activity_event_tag .text {
   background-image: url(images/product_activity_event_tag.png);
}


/*產品詳細頁-倒數計時*/
#product_countdown, .product_countdown {
    width: auto;
    height: auto;
    line-height: 1.5;
    text-align: left;
    background-color: transparent!important;
    margin-bottom: 0px;
    font-size: 1.4rem;
    color: #999;
}
/*===簡介===*/
.product_detail_main {
    margin: 0px 0;
    line-height: 2;
    border-bottom: 1px solid #e5e5e5;
}
.product_detail_main .row {
    padding: 8px 0;
}
/*===簡介限制高度+more===*/
.product_detail_main-more{
    position: relative;
    max-height: 160px;
    overflow: hidden;
}

/*more-區塊-預設不出現，外框有加.product_detail_main-more才出現*/
.read-more-btn{
display: none;   
position: absolute;
top:80px;
bottom:0;
width: 100%;
min-height: 60px;
}
.read-more-bg{
    width:100%;
    height:80px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1)15%, rgba(255, 255, 255, 0)100%); 
  }
.read-more-text{
    position: absolute;
    bottom:0;
    right: 0;
    color: var(--primary);
    background: transparent;
    border: 0;
 } 
 .read-more-text:hover{
    text-decoration: underline;
 }
 .read-more-text:focus{
     border: 0;
 } 
  /*有加product_detail_main-more More就會出現*/
 .product_detail_main-more .read-more-btn{
    display: block;  
 }
 @media (max-width: 767px){
    /*手機上 More拿掉*/
    .product_detail_main-more {
       max-height: inherit;
    }
    .product_detail_main-more .read-more-btn{
       display: none;  
    }
   
   }
/*規格和尺寸外框*/
.product_detail_format {
    padding: 15px 0 0 0;
    position: relative;
}
/*===顏色和尺寸表外框===*/
.product_color_block {
    display: flex;
    justify-content: space-between;
}
/*===顏色===*/
.product_color {
   padding: 10px 0 15px 10px;
}
.sm-product-detail .dl-horizontal {
    border-bottom: 0px;
    margin: 0;
    padding: 12px 0;
}
/*===數量選擇每列===*/
/*數量欄外框*/
.product_size_block {

}
.product_size_add {
    border-bottom: 0px solid #eee;
}
/*數量可以增減的欄位*/
/* .product_quantity_left .input-group.bootstrap-touchspin {
    width: 110px;
    font-weight: normal;
    margin-right: 5px;
} */
/*加減的按鈕大小*/
/* .product_quantity_left .btn {
    padding: 1px 10px;
    background-color: #eee;
} */
/*數量欄的高度*/
/* .product_quantity_left .form-control {
    height: 28px;
    text-align: center;
} */
/*===尺寸表===*/
.product_try {
    /*float: right;
    text-align: right;
    margin-top: -30px;*/
}
.product_try:before {
    content: " ";
    background: url('images/product_size_icon.png') no-repeat left;
    padding-left: 36px;
}
.product_try ul {
    display: inline-block;
}
/*一般尺寸表*/
.product_try.product_try_default {
    margin: 0;
    float: none;
    text-align: right;
}
/*一般數量*/
.product_quantity_left {
float: left;
padding: 0px 0 0 10px;
}
/*===加購商品===*/
.add_product{
    margin-top: 15px;
    padding: 3px 10px 2px 10px;
    background: #f1f1f1;
}
.add_product_title {
    font-size: 16px;
    font-weight: bold;
}
.add_product_title:before {
    content: "✚";
    color: #999;
    margin-right: 4px;
}
/*加購商品下拉*/
.add_product li {
    margin: 5px 0;
}
.add_product .spec_select {
    padding-left: 20px;
}
.add_product .add_price {
    color: #cc0000;
}
.add_product .plus_size {
    width: auto;
    margin-bottom: 3px;
    display: inline-block;
}
.add_product .plus_amount {
    width: auto;
    display: inline-block;
    float: none;
}
/*購物車按鈕*/
.col-centered {
   text-align: center;
   margin: 15px 0;
   overflow: hidden;
   width: 100%; /*新增*/
}
/*放入購物車按鈕*/
.col-centered {
    margin: 24px auto;
  }
.col-centered .btn-primary {
    color: #fff;
    background-color: var(--accent);
    border-color: var(--accent);
  }
.col-centered .btn-primary:hover {
    color: #fff;
    background-color: var(--accent);
    border-color: var(--accent);
    opacity: 0.8;
  }
.col-centered .btn-primary:not(:disabled):not(.disabled):active, .col-centered .btn-primary:not(:disabled):not(.disabled).active, .col-centered .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: var(--accent);
    border-color: var(--accent);
    opacity: 0.8;
  }
@media (max-width: 991px){
.col-centered {
    text-align: left;
}
}
.format-header {
    display: none;
}
/*手機版才會出現的頁尾選單.先隱藏*/
#product_cart_bottom {
    display: none;
}

@media (max-width: 1200px) {
.nbs-flexisel-item img {
    width: 100%;
    cursor: pointer;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 180px;
    max-height: 180px;
}
}

@media (max-width: 990px) {
.nbs-flexisel-item img {
    max-width: 140px;
    max-height: 140px;
}
}

/*---推薦商品的css結束---*/
@media (max-width: 1200px) {
.product_detail_content {
    flex-wrap: wrap;
}
.product_detail_item_left {
    width: 100%;
    margin-bottom: 10px;
}
.product_detail_item_right {
    width: 100%;
}
.product_detail_price, .product_detail_price_sale{
    max-width: 100%;
}
#product_countdown, .product_countdown {
    text-align: left;
}
.product_detail_format {
    margin-right: 0px;
    padding: 10px 0 0 0;
}
.product_try {
    float: none;
    background: none;
    text-align: right;
    margin-top: 5px;
    margin-bottom: 5px;
}

}

@media (max-width: 991px) {
.product_detail_item_right {
    text-align: left;
}
.col-centered {
    text-align: left;
}
.price {
    font-size: 14px;
    display: inline-block;
}
.price_del {
    font-size: 14px;
    display: inline-block;
}
.product_detail_bonus {
    display: inline-block;
}
.select.select {
    margin: 0px;
}
}

@media (max-width: 767px) {
.product_detail_price, .product_detail_price_sale {
   /* font-size: 14px;*/
    margin-left: 0px;
}
.product_detail_price.price_del #last_price ,.product_detail_format  .product_detail_price_sale{
    font-size: 14px;
}

/*規格區塊*/
.product_detail_format {
    display: none;
}
.product_color {
    padding: 5px 0 10px 10px;
}

.format-open {
    display: block;
    position: fixed;
    z-index: 99;
    bottom: 0;
    left: 0;
    margin: 0;
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    padding: 10px 10px 0 10px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,.6);
    max-height: 96vh;
  /*  overflow-y: auto;*/
}
.format-open .product_size_add {
    padding-bottom: 0px;
    margin-bottom: 0px;
}
/*背景顏色變暗*/
.format-open-body{
    overflow: hidden;
}
.format-open-bg{
    position: fixed;
    width: 100vh;
    height: 100vh;
    display: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    background-color: rgba(0, 0, 0, 0.5); 
    }
 /*規格頭部*/   
.format-header {
    padding: 8px 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-wrap: nowrap;
}
.format-header-img {
}
.format-header-title {
    margin-left: 5px;
}
.close.format-close {
    position: absolute;
    right: 8px;
    top: 5px;
}
.format-header .product_detail_price_sale {
    font-size: 16px;
    margin-left: 8px;
}

/*中間區塊*/
.format-body{
overflow-y: auto;
max-height: 50vh;
min-height: 80px;
margin-bottom: 16px;
padding-bottom: 56px;
}

/*購物車按鈕*/
.format-open .col-centered {
    margin: 8px -10px 0 -10px;
    float: none;
    width: 100vw; /*新增*/
    position: fixed;/*20200720-改浮動*/
    bottom: 0;
}
.format-open .col-centered #buy_button a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    border-radius: 0;
}
/*已售完的按鈕間距*/
a.get_guestbook {
    margin-bottom: 16px;
    display: block;
}
/*手機版才會出現的頁尾選單*/
#product_cart_bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9;
    text-align: right;
    background: #bfbfbf;
    display: flex;
    box-shadow: 0 0 3px #999;
}
#product_cart_bottom button {
   width: 50%;
    padding: 12px 0;
    border: 0;
    font-size: 18px;
}
.bottom_cart {
    color: #fff;
    background: #bfbfbf;
}
.bottom_cart_icon {
    background: url("images/cart.png") no-repeat left;
    padding-left: 25px;
    padding-top: 4px;
}
.bottom_cart_num {
    color: #fff;
    background: #ff6666;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
}
.bottom_cart_size {
    margin: 0;
}
/*手機版才會出現的頁尾選單結束*/ 
}

/*手機版上才出現的尺寸表*/
.product_detail_item_right .product_try {
    display:none;
}
@media (max-width: 767px){
/*跳出視窗裡的尺寸表*/
.product_detail_format .product_try {
    padding-left: 10px;
  /*margin-bottom: 15px;*/
    }
/*手機版上才出現的尺寸表*/
.product_detail_item_right .product_try {
    display:block;
    float: right;
    margin: -23px 0 0 0;
    padding: 0;
}
.product_detail_item_right .product_try:before {
    content: " ";
    background: none;
    padding-left: 0px;
}
}

/*----20191113雙規格 尺寸區塊微調  ---*/
.format-body .product_size {
    padding: 0px 0 15px 10px;
}
.format-body  .product_size ul li a{
    min-width: 30px;
    text-align: center;
}

/*---右側為紅利兌換商品---*/
/*標題*/
.bonus-title{
background: #cc0000;
display: table;
margin-left: auto;
margin-top: 8px;
color: #ffffff;
border-radius: 4px;
padding: 2px 8px;
font-size: 17px;
font-weight: bold;
}
/*包住價格和點數*/
.bonus-block{
display: flex;
justify-content: flex-end;
color: #666666;
margin:12px 0 8px 0;
word-break: keep-all;
line-height: 1;
}

.bonus-price:after{
    content: "+";
    font-size: 32px;
    margin: 0 8px;
}
/*兌換點數或價格的數字*/
.bonus-number{
    font-size:32px;
    color: #ff6600;
}

/*兌換金額+點數*/
.bonus-price, .bonus-price-point{
    display: flex;
    align-items: center;
}

@media (max-width:767px){
    .bonus-title{
        margin-left: 0;
    }
    .bonus-block{
        display: flex;
        justify-content: flex-start;
    }
}
/*---分台購物車-狀態---*/
.product_separate-tag {
    position: absolute;
    bottom: 6px;
    right: 6px;
}
.product_separate-tag span{
    color: #fff;
    background: #B00020;
    /* border-radius: 4px; */
    padding: 3px 8px;
    line-height: 1.4;
    text-align: center;
    font-size: 1.125rem;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}