html,body { height:auto;}/*原本為100%，背景漸層無法隨著螢幕長短變化*/

body {
	font-family:"BIZ UDPGothic","Noto Sans TC", sans-serif; /*微軟正黑體, "Arial"*/
	margin:0 auto;
	background-image: 
    url('../images/background1.png'),
    linear-gradient(to bottom, #dbdbff 0%, #ffdfda 20%, #ffdfda 100%);
	background-repeat: repeat-y, repeat-x;
	background-size: 100%, 100%;
	background-position: center, top;
	background-color: #ffdfda;
	}
a {
  background-color: transparent;
  text-decoration:none;
}
a:hover, a:visited, a:link, a:active {
	text-decoration: none;
	outline: 0;
	}

img {
  border: 0;
}
table {
  border-spacing: 0;
  border-collapse: collapse;
}
td,
tr {
  padding: 0;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/*篩選*/
.selectbox {
	width:748px;
	height:74px;
	margin:0 0 0 38px;
	padding:10px 0 0 40px;
	background-color:#ffffff;
	border-radius:10px;
	}
.selectbox label {
	margin:0 15px 0 0;
	color:#595757;
	font-size:16px;
	}
/*舊的瀏覽器字會變成灰色
.filter:checked {
	accent-color: #23BEF3;
	filter: brightness(100%);
        }*/
.productselect {
	display: none;
	margin: 10px 0;
	padding: 10px;
	}
.show {
	display: block;
	}
.filter_list {
	appearance: none; /* 隱藏原本的 checkbox */
    width: 25px; /* 調整大小 */
	height: 21px;
    background: url('../images/icon_dropdown.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    border: none;
	margin-top:18px;
	}
.filter_list:checked {
    background: url('../images/icon_itemclose.png') no-repeat center center;
    background-size: contain;
}


.floatbutton {
	position:relative;
	float:right;
	top:-60px;
	right:38px;
	height:80px;/*沒有設定往下滑會多一塊空白*/
	}

.download-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background-color: #fff;
      color: #595757;
	  font-size:20px;
	  line-height:24px;
	  height:46px;
	  width:185px;
      padding: 10px 0 10px 40px;
      border-radius: 10px;
      /*font-weight: bold;*/
      cursor: pointer;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .download-btn img {
      width: 48px;
      height: 48px;
      transition: all 0.2s ease;
    }

    /* Hover 狀態 */
    .download-btn:hover {
      background-color: #ffffff;
      color: #F56F6F;
    }

    .download-btn:hover img {
      content: url('../images/icon_download_2.png');
    }

    /* 點擊狀態 */
    .download-btn:active {
      background-color: #FFF2B2;
      color: #F56F6F;
    }

    .download-btn:active img {
      content: url('../images/icon_download_3.png');
    }

.download-btn2 {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background-color: #fff;
      color: #595757;
	  font-size:20px;
	  line-height:24px;
	  height:46px;
	  width:185px;
      padding: 10px 0 10px 40px;
	  margin-top:11px;
      border-radius: 10px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .download-btn2 img {
      width: 48px;
      height: 48px;
      transition: all 0.2s ease;
    }

    /* Hover 狀態 */
    .download-btn2:hover {
      background-color: #fff;
      color: #22AC38;
    }

    .download-btn2:hover img {
      content: url('../images/icon_line_2.png');
    }

    /* 點擊狀態 */
    .download-btn2:active {
      background-color: #22AC38;
      color: #fff;
    }

    .download-btn2:active img {
      content: url('../images/icon_line_3.png');
    }
		
	
.header {
	width:1440px; height:300px;
	margin:0 auto;
	}

.topimage {position:relative;}
.topimage img {
  position:absolute;
  /* CSS3淡出淡入效果,1秒 */
  -webkit-transition: opacity 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -o-transition: opacity 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
}
.topimage img:nth-of-type(2):hover{
  opacity:0; /*滑鼠滑入時，透明度變0*/
}


.countdown {
	text-align: center;
	font-size: 20px;
	color:#494641;
	font-weight: bold;
	background: #fff;
	padding: 20px;
	/*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
	}
.time {
	font-weight: bold;
	font-size: 20px;
	color:#2C2A27;
	}

.menu {
	width:788px;
	margin:0 20px 11px 38px;
	padding:20px 0 0 0;
	display:flex;
	flex-direction: row;
	justify-content:space-between;
	}
.menu .item {
	width:150px;
	text-align:center;
	float:left;
	background:#ffffff;
	font-size:20px;
	border-radius:10px;
	/*filter: drop-shadow(1px 3px 3px rgba(0, 0, 0, 0.4));*/
	}
.menu .item:hover{
	background:#FFF2B2;
	/*filter: drop-shadow(1px 3px 3px rgba(0, 0, 0, 0.4));*/
	}
.menu .item:active{
	background:#ffffff;
	}
.menu .item:hover a{
	color:#595757;
	}
.menu .itemhere{
	width:150px;
	font-size:20px;
	text-align:center;
	float:left;
	background:#FFF2B2;
	color:#F56F6F;
	border-radius:10px;
	/*box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.4);*/
	}
.menu .item a {
	color:#595757;
	}
.menu .item a:hover {
	color:#F56F6F;
	}
.menu .item a:active {
	color:#F56F6F;
	}



.title{
	width:1080px;
	height:65px;
	margin:50px auto 60px;
	font-size:20px;
	color:#2c2a27;
	text-align:left;
	}
.title .title_left {
	float:left;
	width:920px;
	height:63px;
	line-height:28px;
	padding:8px 8px 0 8px;
	background:#fff1d9;
	border-radius:4px;
	border-left:8px solid #ffa812;
	}
.title .title_left img {
	vertical-align:middle;
	}
	
	
.subtitle{
	width:994px;
	height:60px;
	line-height:60px;
	background-image:url(../images/bg_title.jpg);
	margin:20px auto 10px;
	padding:0 10px 0 20px;
	font-size:20px;
	color:#ffffff;
	text-align:left;
	clear:both;
	}

.product{
	width:1080px;
	margin:0 auto;
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	}
.content {
	font-family:微軟正黑體, "Arial";
	width:230px;
	float:left;
	/*border-radius:4px;*/
	/*box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);*/
	margin:10px 7px;
	border:4px solid #FFC0C1;
	position:relative;
	background-color:#DCDDDD;
	}
.content:hover {
	border:4px solid #7797E5;
	}

.content:active {
	border:4px solid #FFF2B2;

	}
	
.content table {
	width:100%;
	font-size:12px;
	background-color:#fff;
	color:#F2C2A27;
	}
.content img {
	width:100%;
	margin:0px 0 16px 0;
	}


/* 遮罩層 + 圖片連結 */
.hover-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.8); /* 80% 白色透明 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  text-decoration: none;
}

/* 滑鼠移入時顯示遮罩與圖片 */
.content:hover .hover-layer {
  opacity: 1;
}

.hover-layer img {
  width: 136px;
}
.hover-layer img:active {
  transform: scale(0.9);      /* 按下時縮小 10% */
  opacity: 0.7;               /* 同時淡出一點 */
  transition: transform 0.1s, opacity 0.1s;
}


.spec_name {
	width:25px;
	color:#595757;
	text-align:left;
	vertical-align:middle;
	border-right:1px solid #fff;
	padding:5px 10px;
	}
.spec_name02 {
	font-size:21px;
	line-height:24px;
	color:#000000;
	border-top:1px solid #DCDDDD;
	border-bottom:10px solid #DCDDDD;
	padding:10px;
	}
.spec_detail {
	padding:5px 10px;
	color:#3E3A39;
	}
	
.font_price {
	font-size:14px;
	color:#EA5514;
	border-top:1px solid #DCDDDD;
	border-bottom:10px solid #DCDDDD;
	padding:10px;
	}
	
.font_price2 {
	font-size:18px;
	color: #EA5514;
	font-weight:bold;
	margin-left:10px;
	}
	
.font_pricedelete {
	font-size:12px;
	color:#727171;
	text-decoration: line-through;
	margin-left:10px;
	}

.note {
	width:1004px;
	margin:0 auto;
	background:#ffffffCC;/*CC=80%透明*/
	color:#F06262;
	font-size:14px;
	line-height:26px;
	border-radius:0px;
	text-align:left;
	padding:20px 10px;
	}
	
.footer {
	width:1440px;
	height:140px;
	margin:15px auto 0;
	background-color:#708DE5;
	}
.copyright {
	width:1004px;
	color: #ffffff;
	font-size:14px;
	line-height:18px;
	text-align:left;
	margin:0 auto 0;
	padding:20px 10px 20px 10px;
	}
.copyright a {
	color:#fff;
	}
.copyright a:hover {
	color:#fff;
	}

/*浮動manu*/
.floatmenu{
	width:1440px;
	margin:0 auto;
	}

.sticky {
  width:1440px;
  position: fixed;
  top:0;
  background:#7797E5CC;
  padding:0 0 20px 0;
  z-index:10;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}



.content div.content_note {
	color:#ffffff;
	background:#EA5514;
	width:230px;
	height:40px;
	font-size:14px;
	display: flex;              /* 讓所有內容在一行 */
	align-items: center;        /* 垂直置中對齊圖片與文字 */
	justify-content: center;    /* 水平置中整行內容 */
	gap: 5px;                   /* 圖與字之間的間距 */
	z-index:1;
	position: relative; top:0px; left:0px;
	}

.content:hover div.content_note {
	z-index:1;
	position: relative; top:0px; left:0px;
	}

