﻿@charset "UTF-8";
/* 1. 全域 reset */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}

/* 2. HTML 基本設定（縮放 + 滑動） */
html {
  scroll-behavior: smooth;
  /* -webkit-text-size-adjust: 100%;  // 要用再打開 */
}

/* 4. 列表（如果你確定整站都不需要點點，就留） */
ol, ul {
  list-style: none;
}

/*LAYOUT*/

/*HEADER*/
header {
	width:100%;
	height:auto;
	overflow:hidden;
	margin:0 auto 0 auto;
	background:#727171;
}
img.logo{
	margin-left:20px;
}


#membercar ol {
    width: 100px;
    height: 60px;
    position: fixed;
    bottom: 0;
    right: 20px;
    background-color: #ff4f81;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
}

.shopcar {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.shopcar-content {
display: none;
    position: absolute;
    bottom: 50px; /* 貼齊底部按鈕 */
    right: 0;
    width: 250px; /* 寬度稍微加寬一點點比較好放按鈕 */
    background-color: white;
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px 8px 0 0;
    z-index: 10000;
    padding: 0; /* 讓邊距交給子層控制 */
    

    /* --- 核心佈局設定 --- */
    display: flex;           /* 設為 Flex 容器 */
    flex-direction: column;  /* 內容由上而下排列 */
    max-height: 250px;       /* 整體最高高度 */

}


.shopcar:not(:hover) .shopcar-content {
    display: none;
}


/* --- 商品捲動區 --- */
.shopcar-list {
    max-height: 250px; /* 超過這個高度才會出捲軸 */
    overflow-y: auto;
    padding: 5px ;
}

/* 讓捲軸美化一點（選配，僅限 Chrome/Edge/Safari） */
.shopcar-content::-webkit-scrollbar {
    width: 6px;
}
.shopcar-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

/* 只要滑鼠在 .shopcar 或 .shopcar-content 上，就保持顯示 */
.shopcar:hover .shopcar-content {
    display: block;
}

.shopcar-content li{
	width:95%;
	height:auto;
	overflow:hidden;
  margin:5px auto 5px auto ;
	padding:5px 0 5px 0;
}


.shopcar-content mark {
	width:15px;
	padding:5px 0;
  text-align:center;
	float:left;
	margin-right:5px;
}

.shopcar-content li a{
	width:auto;
	margin:0 auto;
	padding:0 ;
	float:right;
	background:#EEE;
}

.shopcar-content li img{
	width:25px;
	height:auto;
	margin:0 auto;
}

.shopcar-content p {
	width:80%;
	padding:0 0 3px 0;
	text-align:left;
}

.shopcar-content .qty{
	padding:0 3px 0 3px;
	}

/* --- 固定底部區 --- */
.shopcar-footer {

    padding: 10px;
    background-color: #f9f9f9;
    border-top: 1px dashed #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
}

/* 按鈕樣式微調 */
.btn-bg-secondary {
    padding: 5px 10px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

/* 滑鼠移入顯示整體 */
.shopcar:hover .shopcar-content {
    display: block;
}

/* -- sidemanu for pc -- */
.side-menu{
	position: fixed;
	width: 180px;
	top:70%;
	left:0;
	padding: 0;
	box-sizing: border-box;
	opacity:0.75; 
	display: flex;
	flex-direction: column;
	transform: translateX(0);
	transition: .3s;
	z-index:999999;
	font-size:1rem;
	text-align:center;
	background:#111;
}
label a{
	display: block;
	color: #FFF;
	text-decoration: none;
	font-weight: 550;
	letter-spacing: 2px;
	margin:5px 0;
	background:#e4002b;
	padding: 8px 3px ;
}

label ul.area2 li{ 
	margin:0 0 5px 0;
	color: #FFF;
}
label ul.area2 li div{ 
	margin:3px 0;
}
label ul.area2 li div a{ 
	letter-spacing: 1px;
	margin:3px 0;
	background:none;
	padding: 1px 0;
	display: inline-block;
	font-size:.9rem;
	font-weight: 450;
}

label ul.area2 li div a:hover{ 
	
}

label ul.area2 li div span{ 
	display:block;
	margin:5px 0;
}
label ul.area2 hr {
  display: block;
  margin-before: 0.5em;
  margin-after: 0.5em;
  margin-start: auto;
  margin-end: auto;
  border-style: inset;
  border-width: 1px;
}


.title{
	width:100%;
	text-align:center;
}

.title .title_pc{
	width:1100px;
}

.title .title_m {
	display:none;
}

	nav.menu {
		width:100%;
		height:40px;
		margin:20px auto 5px auto;
	}
	
	.menu-list {
	    width: 700px;
			height:auto;
			overflow:hidden;
	    padding: 0;
	    margin: 0 auto; 
	    display: flex; 
	    justify-content: space-between;
	    align-items: center;
	}
	
	.menu-list li{
			padding:10px 20px;
	}
	
	
	
article{
	width:100%;
	margin:0 auto;
	text-align:center;	
}

section{
	width:100%;
	height:auto;	
	margin:0 auto;
	overflow:hidden;
	text-align:center;
	}
	
section div{
width:1100px;
	height:auto;	
	overflow:hidden;
	margin:0 auto;
}	
.product-features {
width:800px;
  border-left: 5px solid #007bff; /* 左側裝飾線 */
  background: #f8f9fa;
  padding: 20px;
  font-size:1.105rem;
}

.product-features ul {
  list-style: none;
  padding: 0;
}

.product-features li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  text-align:left;
}

/* 自定義勾選符號 */
.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #007bff;
  font-weight: bold;
}
	
	
.shadow{
    font-size:1.925rem;
    font-weight:900;
	text-shadow: -1px -1px 0 #FFF,
              1px -1px 0 #FFF,
              -1px 1px 0 #FFF,
              1px 1px 0 #FFF;
     color:#b8364e;
	}	
	
section div.product {
	background:#FFF;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
	border-radius: 10px;
  padding:10px 0 0 0;
  height:auto;
  overflow:hidden;
  text-align:center;
	margin:20px auto 30px auto;
	    display: flex; 
	    justify-content: space-between;
	    align-items: center;
}

.product h1 {
	display:inline-block;
	font-size:1.35rem;
	font-weight:bold;
	margin:10px auto ;
	LETTER-SPACING:3px;
	color:#FFF;
	padding:5px 15px; 
	text-align:center;
	background:#ea6283;
}

h2 {
	font-size:1.1rem;
	font-weight:550;
	margin:10px auto ;
	LETTER-SPACING:2px;
	color:#111;
	padding:5px 15px; 
	text-align:center;
}

.product-item {
    display: flex;
    flex-direction: column; /* 讓子元素垂直排列 */
    align-items: center; /* 置中對齊 */
    gap: 10px; /* 設定間距 */
    padding: 10px 5px;
		margin: 5px auto; 
}

.product-list{
	margin:0 auto;
	
		display: grid; /* 預設區塊模式 */
		grid-template-columns: repeat(3,1fr);
		gap: 12px; /* 間距 */
}


.product-image  {
	width:auto;
	height:195px;
	margin:0 auto;
	border: 1px solid #f0f0f0;
}

.product-image a img {
	width:100%;
	height:195px;
	object-fit:contain;
	text-align:center;
}

.product-title {	
	width:85%;
	overflow:hidden;
	font-weight: 450;   
	height:45px;
  align-content: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	text-overflow: ellipsis;
	margin:5px auto 5px auto;
	line-height:1.5;
}

.product-price {
		width:85%;
		height:auto;
	overflow:hidden;
		margin:0 auto 0 auto  ;
		line-height:1.5;
}

.product-price .price{
		padding:8px 0 8px 0;
		text-decoration: line-through;
		display:block;
}

.product-button {
    /* display: flex; 讓兩個按鈕排成同一行 */
    gap: 15px; /* 按鈕之間的間距 */
    margin:0 auto 10px auto;
    text-align:center;
}

.product-button a{
		padding:8px 10px;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    flex: 1;
    transition: 0.3s;
    cursor: pointer;
    margin:0 3px;
		font-size: 0.875rem;
}

.product-buttons a:hover{
  text-decoration: none;
}
	
button {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  background-color: #D25353;
  border: 1px solid #d32f2f;
  color: #FFF;
	border-radius: 5px;
}
	
	
/*FOOTER*/

#TOP{
	width:40px;
	height:40px;
	border-radius:10px;
	position:fixed; /*固定位置定位*/
  bottom:100px; 
  right:10px;
	text-align:center;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
	opacity: 0.65;
	transition: opacity 0.5s ease;
 	z-index: 9;
 	display: none; 
}	

footer {
	padding: 5px 15px ;
	text-align: center;
	letter-spacing: 0.065rem;
}


@media screen and ( max-width: 768px ){
.title .title_pc{
	display:none;
}

.title .title_m {
	display:block;
	width:100%;
}

img.logo{
	margin-left:5px;
}

.side-menu{
display:none;
}

	nav.menu {
		height:auto;
		margin:5px auto 5px auto;
	}
	
	.menu-list {
	    width: 98%;

	}
	.title-3{
		font-size:1rem;
	}
	

section{
	width:100%;
	height:auto;	
	margin:0 auto;
	overflow:hidden;
	text-align:center;
	}
	
section div{
	width:98%;
	height:auto;	
	overflow:hidden;
	margin:0 auto;
}	
	


/*FOOTER*/

 footer BR{
	display:none;
}

.product-features {
width:98%;
  padding: 10px;
  font-size:1rem;
}

.product-features li {
  margin: 5px 0;
  line-height:1.5;
}

.product-list{
	margin:0 auto;
	
		display: grid; /* 預設區塊模式 */
		grid-template-columns: repeat(2,1fr);
		gap: 12px; /* 間距 */
}


	}
	
	
	


/* 表格卡片化 */
table{
  width: auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  font-weight: 500;
  margin:10px 0;
}

/* 表頭 */

table tbody tr:first-child {
  background:#eaf1ff;
  color: #1f2937;
  text-align: left;
  font-size: 15px;
  letter-spacing: .2px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align:center;
}

/* 優雅的第一欄（書名） */
table tbody td:first-child{
  color: #1f2937;
}

/* 內容儲存格 */
table td{
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
  white-space: nowrap;
  text-align:center;
}

/* 斑馬紋 */
table tbody tr:nth-child(odd){
  background: #fafafa;
}

/* 滑過行高亮 */
table tbody tr{
  transition: background .2s ease, transform .05s ease;
}
table tbody tr:hover{
  background: color-mix(in oklab, #eaf1ff 55%, transparent);
}

/* 圓角只套在上下邊緣 */
table tbody tr:last-child td:first-child{ border-bottom-left-radius:16px; }
table tbody tr:last-child td:last-child{ border-bottom-right-radius:16px; }



/* 主要版型 */
.page-layout {
  display: flex;
  gap: 10px;
  padding:20px;
	width:1100px;
  border-left: 0; /* 左側裝飾線 */
  background: #f8f9fa;
  font-size:1.15rem;
	line-height:1.5;
	background:#FFF;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
	border-radius: 10px;
}

/* 左側 */
aside {
  width: 280px;
   flex-shrink: 0;
}

/* 右側 */
main {
	flex: 1;
  width: 600px;
	margin:0 auto;
	line-height:1.5;
}

aside span{
	color:#0268b8;
	padding:0 5px;
	display:inline-block;
  font-size:25px;
}


main span{
	font-size:25px;
	color:#FFF;
	font-weight:bold;
	line-height:1.5;
	background-color:#ec4b17; border-radius:15%; 
	margin:5px;
	padding:3px 5px 3px 5px;
}


main ul{
		text-align: center;
		display: grid; /* 預設區塊模式 */
		grid-template-columns: repeat(4,1fr);
		gap: 12px; /* 間距 */
	}

main ul li {
		text-align: center;
		border: 1px solid #CEC;
		line-height:0;
		padding:0;
		}	
		
main ul li a img {
		width: 100%;
		height:auto;
		}


.highlight{
	color:#ce181e;
	font-size:1.15rem;
}


