@charset "utf-8";
/* CSS Document */

.sp-page-blcok{ width:956px;}

.sp-bn{ width:100%; height:264;}

.sp-bn img{ width:100%;}

.sp-caption{
	width:calc(100% - 10px);
	margin:10px 0 10px 0;
	padding:5px;
	border-bottom:#999 solid 1px;
	}
	
.sp-caption img{ width:100%;}
	
.sp-caption em{
	display:block;
	width:100%;
	font-weight:bold;
	border-bottom:#000 solid 1px;
	padding:3px 0 10px 0;
	margin-bottom:10px;
	}
	
.sp-caption p{ line-height:23px;}
	
/*已選購商品區 左邊*/
	
.sp-product-chosen{
	width:calc(100% - 20px);
	height:190px;
	background-color:#f1f1f1;
	padding:10px
	}
	
.sp-product-chosen div{ display:inline-block;}

.sp-pc-product{ height:100%; width:740px;}	
.sp-pc-product li{ color:#777;}

.sp-pc-prev,.sp-pc-next{
	display:inline-block;
	background-image:url(../images/icon/prev-next.png);
	height:100%;
	width:20px;}
	
.sp-pc-prev{ background-position:left center; float:left; margin-right:8px;}
.sp-pc-next{ background-position:right center; float:right;}
	

/*已選商品樣式*/
.sp-pc-choose{ width:110px; height:110px; overflow:hidden;}
.sp-pc-choose img{ width:100%;}	

.sp-chosen-price{ margin-top:10px;}

.sp-chosen-price p{
	width:110px;
	height:32px;
	overflow:hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	margin-bottom:5px;
	color:#777;
	text-align:left;
	}
	
.sp-chosen-price b{
	float:left;
    font-weight: bold;
    font-size: 21px;
    color: #FF9800;
	}
	
.sp-chosen-price small{
    float: right;
    font-size: 16px;
    color: #666;
    padding-top: 5px;
	}
	
.sp-pc-product ul{
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    height: 100%;
    margin-left: 15px;
	}
	
.sp-pc-between{
	height: 55%;
    padding-top: 0;
    font-size: 12px;
    font-weight: bold;
    margin: 0 2px;
    color: #777;
	}
	
.sp-pc-none{
	width: 106px;
    height: 60px;
    border: 2px #777 dotted;
    padding-top: 45px;
	}

.sp-pc-delete{
	display:inline-block;
	width:100%;
	height:20px;
	background-color:rgba(0 , 0 , 0 , 0.7);
	padding-top:5px;
	font-size:16px;
	cursor:pointer;
	color:#FFF;
	transition:margin-top 0.3s;
	}

.sp-pc-choose:hover .sp-pc-delete{
	margin-top:-40px;
	transition:margin-top 0.2s;
	}

/*已選購商品區 右邊*/
	
.sp-pc-price{
	float:right;
	height:100%;
	width:180px;
	padding-left:10px;
	margin-left:5px;
	border-left:1px #777 solid;
	color:#777;
	font-size:16px;
	}
.sp-pc-count{ margin:10px 0 30px 0;}

.sp-pc-price>ul>li:first-child b,.sp-pc-price>ul>li:nth-child(4) b{
	color:#FF9800;
	}

.sp-pc-count b,.sp-pc-total b{
	font-weight:bold;
	font-size:23px;
    vertical-align: bottom;
	}

.sp-pc-total{
	line-height:7px;
	}	
.sp-pc-total b{ float:right;}

.sp-add-cart{
    width: 100%;
    height: 45px;
    position: relative;
    top: 10px;
	margin:0;
	}
	
.sp-add-cart>div{
    text-align: center;
    width: 140px;
    padding: 8px 0 4px 30px;
	margin:7px 0 0 10px ;
    background-size: 30px;
    background-image: url(../images/icon/sp_icon.png);
	background-repeat:no-repeat;
	}

.sp-add-cart_off{
	background-color: #bbb;
    color: #FFF;
	}
	
.sp-add-cart_off>div{
    background-position: top left;
	}
	
/*選擇商品達到優惠數量後 加入購物車樣式*/

.sp-add-cart_on{
	background-color:#fc0;
	cursor:pointer;
	color:#000;
	}
	
.sp-add-cart_on>div{
    background-position: top -24px left;
	}
	
.sp-add-cart_on:hover{
	background-color:#ffde59;
	}
	
.sp-add-cart_on:active{
	background-color:#ff9800;
	}

/*選擇商品達到優惠數量後 結束*/

	
/*商品列表樣式*/

.sp-list-original{
	text-align:right;
	color:#999;
	font-weight:bold;}

.sp-choose-block{ width:100%; height:40px; margin-top:15px; display:block;}
.sp-choose-block label,.sp-choose-block div,.sp-choose-block input{ display:inline-block;}

.sp-choose-block input{ width:35px; text-align:center;}

.sp-choose-amount{ border:1px #999 solid;}

.sp-choose-amount div{
	width:25px;
	height:20px;
	float:left;
	background-color:#ddd;
	background-image:url(../images/icon/plus_less.png);
	background-size:12px auto;
	background-repeat:no-repeat;
	text-align:center;
	padding-top:5px;
	font-weight:bold;
	cursor:pointer;}
	
.sp-amount-less{ background-position:center bottom 7px;}
.sp-amount-plus{ background-position:center top 7px;}

.sp-choose-amount input{
	height:25px;
	padding:0;
	float:left;
	border-top:none;
	border-bottom:none;
	border-left:1px #999 solid;
	border-right:1px #999 solid;}
	
.sp-choose-block input[type="button"]{
	float:right;
	width:120px;
	height:27px;
	text-align:center;
	background-color:#ffcc00;
	border:none;
	cursor:pointer;
	color:#000;
	font-size:16px;
	letter-spacing:5px;}
	
.sp-choose-block input[type="button"]:hover{
	background-color:#ffde59;}
	
.sp-choose-block input[type="button"]:active{
	background-color:#ff9800;}
	
/*套餐樣式開始*/

.st-pc-choose{
	width:115px;
	height:115px;
	}
	
.st-pc-product ul:first-child{
	margin-left:18px;
	}
	
.st-chosen-price{
	margin-top:5px;
	}

.st-pc-none{
    font-size: 38px;
    font-weight: bold;
    padding-top: 37px;
    height: 73px;
	width:111px;
	}

.st-product-list>div:nth-child(even){
	background-color:#f1f1f1;
	}

.st-product-block{
	width:950px;
	height:350px;
	padding:15px 3px 20px 3px;
	position:relative;
	}
	
.st-product-block>span{
	color:#ff9800;
	font-size:21px;
	font-weight:bold;
	display:inline-block;
	margin-bottom:5px;
	}
	
.st-product-block>span>b{
	font-size:36px;
    vertical-align: baseline;
	}
	
.st-product-block>p{
	position:absolute;
	border-bottom:1px #000 solid;
	top:43px;
	left:70px;
	right:5px;
	}
	
.st-product-block>ul{
	overflow-y:hidden;
	overflow-x:scroll;
	white-space:nowrap;
	padding-bottom:5px;
	position:relative;
	}
	
.sp-lbutton,.sp-rbutton{
	position:absolute;
	background-color:#FFF;
	height:50px;
	width:30px;
	top:150px;
	cursor:pointer;
	}
	
.sp-lbutton{
	box-shadow:1px 0px 3px #000;
	left:0;
    z-index: 2;
	}
	
.sp-lbutton::before{
	content:"";
	position:absolute;
	left:-17px;
	top:5px;
	border-width:20px;
	border-style:solid;
	border-color:transparent #777 transparent transparent;
	}
	
.sp-lbutton::after{
	content:"";
	position:absolute;
	left:-15px;
	top:5px;
	border-width:20px;
	border-style:solid;
	border-color:transparent #fff transparent transparent;
	}
	
.sp-rbutton{
	box-shadow:-1px 0px 3px #000;
	right:0;
	}
	
.sp-rbutton::before{
	content:"";
	position:absolute;
	right:-17px;
	top:5px;
	border-width:20px;
	border-style:solid;
	border-color:transparent transparent transparent #777;
	}
	
.sp-rbutton::after{
	content:"";
	position:absolute;
	right:-15px;
	top:5px;
	border-width:20px;
	border-style:solid;
	border-color:transparent transparent transparent #fff;
	}
	
/*scrollBar樣式*/
.st-product-block>ul::-webkit-scrollbar {
  width: 2px;
  height: 10px;
}
.st-product-block>ul::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
.st-product-block>ul::-webkit-scrollbar-thumb {
  background: #ddd;
  border: 0px none #ffffff;
  border-radius: 50px;
}
.st-product-block>ul::-webkit-scrollbar-thumb:hover {
  background: #777;
}
.st-product-block>ul::-webkit-scrollbar-thumb:active {
  background: #aaa;
}
.st-product-block>ul::-webkit-scrollbar-track {
  background: transparent;
  border: 0px none #ffffff;
  border-radius: 50px;
}
.st-product-block>ul::-webkit-scrollbar-track:hover {
  background: #f1f1f1;
}
.st-product-block>ul::-webkit-scrollbar-track:active {
  background: #ddd;
}
.st-product-block>ul::-webkit-scrollbar-corner {
  background: transparent;
}
/*scrollBar結束*/

.st-product-item{
	position:relative;
	display:inline-block;
	width:180px;
	height:290px;
	background-color:#FFF;
	border:1px #777 solid;
	padding:5px;
	color:#777;
	}

.st-product-item img{
	width:100%;
	max-height: 100%;
	margin-bottom:5px;
	display:block;
	position:relative;
	cursor:pointer;
	}
	
.st-product-item_div{
	width: 180px;
	height: 180px;
	margin-bottom: 5px;
	cursor: pointer;
}

.st-product-item_div::after{
	background-image: url(../images/groupicon/sp_icon.png);
	background-repeat:no-repeat;
	content: "";
    background-position: top -23px center;
    background-size: 90% auto;
    width: 30px;
    height: 30px;
    position: absolute;
    padding: 2px;
    top: 151px;
    left: 151px;
    border-radius: 15px 0 0;
    box-shadow: -1px -1px 5px rgba(0,0,0,0.5);
    background-color: rgba(255,255,255,0.9);
	}
	
.st-product-item p{
    width: 100%;
    height: 38px;
    margin-bottom: 5px;
    line-height: 20px;
	font-size:16px;
	overflow:hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	white-space:normal;
	}

	
.st-product-item b{
	font-weight:bold;
	font-size:28px;
	color:#df6280;
	}
	
.st-product-item span{
	display:block;
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	height:28px;
	text-align:center;
	padding-top:8px;
	font-size:21px;
	}
	
.st-product-open{
	background-color:#df6280;
	color:#FFF;
	cursor:pointer;
	}
	
.st-product-open:hover{
	background-color:#f27ba8;
	}
	
.st-product-close{
	background-color:#ddd;
	color:#777;
	}
	
/*點選照片後顯示*/

.sp-product-zoom{
	display:none;
	position:fixed;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.3);
	top:0;
	left:0;
    z-index: 3;
	}
	
.sp-zoom-outer{
    width: 1000px;
    height: 80%;
    padding: 20px;
    position: relative;
    margin: 0 auto;
    top: 5%;
	}

.sp-zoom-block{
	width:calc(100% - 20px);
	height:100%;
	display:block;
	position:absolute;
	overflow-y:scroll;
	overflow-x:hidden;
	background-color:#FFF;
	}
	
.sp-zoom-close{
	width:29px;
	height:30px;
	border-radius:30px;
	background-color:#FFF;
	border:1px solid #777;
	position:absolute;
	top:0px;
    right: -10px;
	z-index:99;
	cursor:pointer;
	}
	
.sp-zoom-close::before{
    content: "";
    background-image: url(../images/groupicon/prev-next.png);
    width: 15px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 30px auto;
    background-position: center right;
    position: absolute;
    left: 3px;
    top: 4px;
	}
	
.sp-zoom-close::after{
    content: "";
    background-image: url(../images/groupicon/prev-next.png);
    width: 15px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 30px auto;
    background-position: center left;
    position: absolute;
    left: 11px;
    top: 4px;
	}

/*scrollBar樣式*/
.sp-zoom-block::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.sp-zoom-block::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
.sp-zoom-block::-webkit-scrollbar-thumb {
  background: #ddd;
  border: 0px none #ffffff;
  border-radius: 0;
}

.sp-zoom-block::-webkit-scrollbar-thumb:hover {
  background: #777;
}
.sp-zoom-block::-webkit-scrollbar-thumb:active {
  background: #aaa;
}
.sp-zoom-block::-webkit-scrollbar-track {
  background: #f1f1f1;
  border: 0px none #ffffff;
  border-radius: 0;
}
.sp-zoom-block::-webkit-scrollbar-track:hover {
  background: #f1f1f1;
}
.sp-zoom-block::-webkit-scrollbar-track:active {
  background: #ddd;
}
.sp-zoom-block::-webkit-scrollbar-corner {
  background: transparent;
}
/*scrollBar結束*/
