﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");

@import url(slick-theme.css);
@import url(slick.css);

/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcAption, fREigure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1; 
}
ol, ul, li{
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---reset.css--- */
a { text-decoration:none;}

html {	
	-webkit-text-size-adjust:none;
	scroll-behavior: smooth; 
	font-family:'Noto Sans TC', sans-serif;

}

body{
	background:url(images/bg.png) ;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}


 	@media screen and ( max-width: 768px ){
		*{
			box-sizing:border-box; /* 讓 padding 與 width 解除關係 */
		}
		html,body{
			-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
		}
	}

/* --電腦版型------------------------------------- */


#WRAPPER{
	width:100%; 
	min-width:1100px; 
	margin:0 auto; 
}

header{
	clear:both;
	width:100%;
	margin:0 auto;
	background-color:#727171;
	padding:5px 0;
	}	

header img{
	padding-left:15px;
	}	

	@media screen and ( max-width: 768px ){
	#WRAPPER{ min-width:100%;}
	header img{
	width:80%;
	padding-left:5px;
	}	
}
	
article{
	width:100%;
	margin:0 auto;
	}

.title{
	width:100%;
	height:317px;
	background:#80952a;
	}	
	
.title div{
	width:1200px;
	margin:0 auto;
	padding:0;
	text-align:center;
	}	
	
.title_m{
	display:none;
	}

 	@media screen and ( max-width: 768px ){

.title{
		display:none;
	}		

	.title_m{
		display:block;
		}

	.title_m img{
		width:100%;
		}


	}


nav{
	width:100%;
	height:auto;
	overflow:hidden;
	margin:0 auto;
	text-align:center;
	background: #c2c0b6;
	padding:10px 0;
}

nav div{
	width:850px;
	margin:0 auto;
	text-align:left;
	text-shadow: -1px -1px 0 #FFF,
              1px -1px 0 #FFF,
              -1px 1px 0 #FFF,
              1px 1px 0 #FFF;
     margin:0 auto 10px auto;
    font-size:1.55rem;
    font-weight:900;
    line-height:1.5;
	}	
	
nav div h1{
	width:140px;
     color:#a66c2c;
	float:left;
    text-align:right;
    font-size:1.75rem;
    line-height:1.5;
}
	
nav div span{
	width:700px;
	float:right;
     color:#b8364e;
}





section{
  width: 1200px;
 	height:auto;
	overflow:hidden;
  margin:0 auto 0 auto;
  text-align:center;
  padding:100px 0;
	}	

section div.product {
	margin:0 auto;
	text-align:center;
}



.product-list {
			list-style: none;
		padding: 0;
	margin:0 auto;
  text-align:center;
}



.product-item {
	width:255px;
	height:auto;
	overflow: hidden;
	float:left;
    padding: 30px 0 15px 0;
		margin:0 22px 25px 22px ; 
	background: radial-gradient(ellipse at center, #a98d65 0%,#c1ab8c 38%,#bca17f 59%,#ad9671 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;

}
.product-item:nth-child(4n+1){
	background:#aadcf7;
}
.product-item:nth-child(4n+2){
	background:#d2eae5;
}
.product-item:nth-child(4n+3){
	background:#d2d3ea;
}
.product-item:nth-child(4n+4){
	background:#f9d4d8;
}

.product-item h1 {
	width:30px;
	height:38px;
	position: absolute;
	text-indent: -9999px;
	margin-top:-28px;
}

.product-item:nth-child(4n+1) h1 {
	background:url(images/icon1.png) no-repeat ;
	margin-left:10px;
}

.product-item:nth-child(4n+2) h1 {
	background:url(images/icon2.png) no-repeat ;
	margin-left:110px;
}

.product-item:nth-child(4n+3) h1 {
	background:url(images/icon3.png) no-repeat ;
	margin-left:160px;
}

.product-item:nth-child(4n+4) h1 {
	background:url(images/icon4.png) no-repeat ;
	margin-left:220px;
}


.product-item h1 img{
	position: absolute;
}


.product-image  {
	width:100%;
	height:180px;
	margin:0 auto;
	text-align:center;
	object-fit:contain;
}

.product-image a img {
	width:100%;
	height:180px;
	object-fit:contain;
	text-align:center;
}

.product-title {	
	overflow:hidden;
	margin:0 auto;
	font-size: 1.105rem;
	font-weight: 500;   
	height:60px;
  align-content: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	line-height:1.35;
}
.product-item:nth-child(4n+1) .product-title{
	background:#9ad2f4;
}
.product-item:nth-child(4n+2) .product-title{
	background:#c2e1da;
}
.product-item:nth-child(4n+3) .product-title{
	background:#cecee7;
}
.product-item:nth-child(4n+4) .product-title{
	background:#f7c9cd;
}

.product-title a{	
	color:#333;
}

.product-price {
    font-size:1rem;
}
.highlight{
	color:#e50061;
		font-size:1.725rem;
		font-weight:700;
		text-shadow: -2px -2px 0 #FFF,
              2px -2px 0 #FFF,
              -2px 2px 0 #FFF,
              2px 2px 0 #FFF;

}
	
.product-button button {
    padding: 8px 10px;
    background: #d32f2f;
    color: #FFF;
    border: 1px solid #d32f2f;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    margin:15px 3px 0px 3px;
}

.product-button button:hover {
    background: #FFF;
    color:#d32f2f;
}

footer{
	clear:both;
	width:100%;
	margin:0 auto;
	background:#4B3100;
	color:#FFF;
	padding:8px 0;
	text-align:center;
	font-size:0.85rem;
	line-height:1.5;
}


  @keyframes scaleDraw {  /*定義關鍵幀、scaleDrew是需要繫結到選擇器的關鍵幀名稱*/
            0%{
                transform: scale(1);  /*開始為原始大小*/
            }
            25%{
                transform: scale(1.2); /*放大1.1倍*/
            }
            50%{
                transform: scale(1);
            }
            75%{
                transform: scale(1.2);
            }
        }
        
    .ballon{
            width: 164px;
            height:152px;
            margin-top:-70px;
            margin-left:700px;
            position: absolute;
            z-index:9;
            background: url("images/q.png") ;
            background-size: 164px 152px;
            -webkit-animation-name: scaleDraw; /*關鍵幀名稱*/
            -webkit-animation-timing-function: ease-in-out; /*動畫的速度曲線*/
            -webkit-animation-iteration-count: infinite;  /*動畫播放的次數*/
            -webkit-animation-duration: 5s; /*動畫所花費的時間*/
        
	cursor: pointer;

        }        
        
        
	@media screen and ( max-width: 768px ){

section{
  width: 100%;
  padding: 0 5px 10px 5px;
  margin:0 auto 10px auto;
	}	
	
section div.product {
	margin:30px auto;

}

.product .icon{
	width:50px;
	height:auto;
	margin-left:-50px;
	margin-top:5px;
}

.product h1 {
	font-size:1.5rem;
}


.product-list {
  	margin-top:10px;
}



.product-item {
	width:45%;

		margin:0 3% 25px 2%; 

    padding: 5px 0;
}

.product-item h1 {
	display:none;
}


.product-title {	
	font-size:0.985rem;
	height:45px;
}


.product-price {
    font-size:1rem;
    line-height:1.5;
}

.highlight{
		font-size:1.25rem;
}
	
.product-button button {
    margin:10px 3px 0px 3px;
}

.product-button button:hover {
    background: #FFF;
    color:#d32f2f;
}
	
footer{
	font-size:0.75rem;
	line-height:1.5;
}

footer span{
	display:block;
}

	nav{
		width:100%;
		margin:0 auto 0 auto;
	padding:0 0;
	}
	
nav div{
	width:98%;
	padding:5px 0;
    font-size:1.1rem;
    font-weight:700;
    line-height:1.5;
    margin:0 auto 0 auto;
	}	
nav div h1{
	float:none;
    text-align:left;
    font-size:1.15rem;
    line-height:1.5;

}

nav div span{
	width:100%;
	display:block;
	float:none;
}

 .ballon{
 display:none;
 
 }

}
  
        
	
/* -- sidemanu for pc -- */
.side-menu{
	position: fixed;
	width: 50px;
	top:30%;
	left:0;
	padding: 0;
	box-sizing: border-box;
	opacity:0.8; 
	display: flex;
	flex-direction: column;
	transform: translateX(0);
	transition: .3s;
	z-index:999999;
	font-size:1.05rem;
	text-align:center;
}

.side-menu img{
position: absolute;
	width:55px;
	margin-top:-45px;
	margin-left:-15px;
}

.side-menu button{
	background:#fff;
	color:#333;
	font-size:1.25rem;
	font-weight:bold;
	padding:40px 8px 3px 8px;
	cursor: pointer; 
	border:none;
}




@media screen and ( max-width: 768px ){	

	
/* -- sidemanu for pc -- */
.side-menu{
	width: 50px;
	top:20%;
	padding:3px;
	font-size:0.955rem;
}


.side-menu img{
position: absolute;
	width:40px;
	margin-top:-35px;
	margin-left:-15px;
}

.side-menu button{
	background:#fff;
	color:#333;
	font-size:0.955rem;
	font-weight:bold;
	padding:30px 8px 3px 8px;
	cursor: pointer; 
	border:none;
}


}


#car{ /* 購物車 */
	width:145px;
  position:fixed;
  z-index:999999;
}

#car a{ /* 購物車 */
width:25px;
  height:auto;
	margin:0 auto;
	border-radius: 15px;
	background: #ff4f81;
  color:#FFF;
  font-size:1.15rem;
  text-align:center;
  padding:5px 3px;
  position:fixed;
	display:inline-block;
  top:42px;
	right:5px;
	box-shadow: 0 5px 15px #193047;
  border:1px solid #EEE;
  font-weight:800;
  line-height:1.2;
}


iframe{ /* 購物車 */
width:140px;
  position:fixed;
  right:40px;
  top:42px;
  height:180px;
  overflow:hidden;
}  

@media screen and ( max-width: 768px ){	

	#car{ /* 購物車 */
		width:auto;
	}
	
	#car a{ /* 購物車 */
	width:35px;
	  height:auto;
		margin:0 auto;
		border-radius: 5px;
	  font-size:1.15rem;
	  top:80%;
	  line-height:1.5;
	}

	iframe{
	display:none;
	}
}


/* 彈跳視窗背景 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* 彈跳視窗內容 */
.modal-content {
    padding: 10px;
    border-radius: 10px;
    width: 550px;
    margin: 5% auto 5% auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    
background: radial-gradient(#fff 2px, transparent 2px) 15px 15px,
            #fff57b ;
background-size: 25px 25px;

    
}


/* 標題 */
.modal-content h1 {
 		width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1.25rem;
    margin: 0;
   letter-spacing: 0.05rem;
   line-height:1.3;
}

.modal-content ul {
	width:50%;
		margin:0 auto 0 auto;

}
.modal-content ul.choose {
	width:auto;
	margin:0 auto;
	text-align:center;
}

.modal-content li {
  font-size: 1.25rem;
  margin:10px 0;
  color:#d90a2a;
  padding-bottom:3px;
  
}
.modal-content li span {
  background:#8173b3;
  color: #FFF;
  margin: 0 5px;
  padding: 0 5px;
}
.modal-content li span:last-child {
  background:none;
  color: #d90a2a;
}

.modal-content div {
    text-align:center;
		margin:25px auto;
		font-size:1rem;
}

.modal-content div span{
		color:#e6107f;
		font-weight:bold;
		font-size:1.2rem;
		padding-left:5px;
}

.modal-content div span:before,
.modal-content div span:after {
    content: "";
    position: absolute;
    top: 33.5%;
    background: #111;
    width: 40px;  /* 固定寬度 */
    height: 1px;
}

.modal-content div span:before { left: 31%; }  /* 左橫線位置 */
.modal-content div span:after  { right: 31%; } /* 右橫線位置 */


input[type="submit"] {
  background: #ea545d;
  color: #fff;
  padding: 5px 20px;
	font-size:1.125rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 0 auto;
	border:1px solid #ea545d;
}

input[type="radio"] {
  display: none;
}

/* 按鈕外觀 */
.radio-button {
  display: inline-block;
  padding: 8px 15px;
  margin: 5px 15px 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f9f9f9;
  color: #333;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

/* hover 效果 */
.radio-button:hover {
  background: #e6e6e6;
}

input[type="radio"]:checked + .radio-button {
  background: #6CA6CD;
  border: 1px solid #6CA6CD;
  color: #FFF;
}

/* 折扣碼區塊 */
.discount-box { 
margin:0; 
padding:0; 
text-align:center; 
}

.discount-box label {
    color: #134096;
    font-size: 1.25rem;  
margin:-25px 0 10px 0 ; 
padding:0 ;  
display:block;
    font-weight: bold;  
}


.discount-box h2 {
    color: #2E8BCE;
    font-size: 1.25rem;  
padding:10px 0 10px 0 ; 
margin:0 ; 
}

.discount-box p {
padding:10px 0 10px 0 ; 
}

.discount-box .discount-code {
    font-size: 1.5rem; 
    font-weight: bold;  
    color:#e6107f;
margin:10px 0 10px 0 ; 
padding:0; 
}

.copy-btn { 
display:inline-block; 
padding:8px 12px; 
background:#6CA6CD; 
color:#fff; 
border:none; 
border-radius:5px; 
cursor:pointer; 
transition:0.3s; 
    font-size: 1.025rem; 
    margin:5px auto;
}
.copy-btn:hover { 
background:#5A9AC9; 
}
.discount-note {
 color:#333; 
    font-size: 0.85rem; 
 }



/* 關閉按鈕 */
.close {
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

	@media screen and ( max-width: 768px ){
	
	
/* 彈跳視窗內容 */
.modal-content {
    width:90%;
    z-index:99999;
    
}

.modal-content h1 {
    font-size: 1rem;
}

.modal-content ul {
	width:90%;

}
.modal-content li {
  font-size: 1.1rem;
  
}


.modal-content div span:before,
.modal-content div span:after {
display:none;

}
	
	}