@charset "utf-8";
@import url("reset.css");
@import url("loading.css");
@import url("fontawesome_all.css");
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------------------------------->>> Main <<<------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/



html {
    height: 100%
}

body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    -webkit-text-size-adjust: none;
    font-size: 15px;
    overflow-x: hidden;
    overflow-y: scroll
}

body,
td,
th {
    font-size: 16px;
    font-family: 'Roboto Condensed', sans-serif;
}

.iframe_ch {
    display: none
}

.w100 {
    width: 100%;
}

.middle {
    vertical-align: middle;
}

.container{ position:relative; width:100%; overflow: hidden;}
.container .wrap{position: relative;max-width: 1400px;overflow: hidden;margin: 0px auto;padding: 50px 10px;}

/*左右欄的頁面*/
.container .wrap .layout-left{width: 25%;float:left;box-sizing: border-box;padding: 0 30px 0 10px;margin: 0 0 50px 0;text-align: center;}
.container .wrap .layout-right{width: 75%;float:left;box-sizing: border-box;padding: 1px 10px;}
.container .wrap .layout-all{ width:100%; }
.container .wrap .layout-right .end{margin-bottom: 50px;}

.container .wrap .layout-flex{ display:flex; }
.container .wrap .layout-news{ flex:2; }
.container .wrap .layout-quicklink{ flex:1; }

/*左右欄頁面 - 購物車*/
.container .wrap .layout-cart-left{width: 60%;float:left;box-sizing: border-box;padding: 0 30px 0 10px;margin: 0 0 40px 0;text-align: left;}
.container .wrap .layout-cart-right{width: 40%;float:left;box-sizing: border-box;padding: 0px 10px;}

.jq-fixed {
  position: static; /* 預設為靜態定位 */
  width: 100%; /* 保持原本的寬度 */
  /*transition: all 0.3s ease;*/ /* 平滑過渡效果 */
}

.jq-fixed.fixed {
  position: fixed; /* 當滑動到指定位置時，改為固定定位 */
  top: 80px; /* 固定在視窗頂部 */
  left: auto; /* 保持原本的水平位置 */
  width: inherit; /* 繼承原本的寬度 */
  z-index: 10; /* 確保區塊在其他內容之上 */
  background-color: #fff; /* 可選：背景色，避免與其他內容重疊 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 可選：添加陰影 */
}

/*詳細頁*/
.layout-frame {
  background-color: #fff;
  border: 1px solid #e7d4b5;
  border-radius: 40px;
  width: 100%;
  padding: 5vw;
}


@media screen and (max-width : 1200px) {
	.container .wrap .layout-left{ width:30%; }
	.container .wrap .layout-right{ width:70%; }	

  .container .wrap .layout-cart-left{width: 100%;padding: 30px 0px 0 0px;}
  .container .wrap .layout-cart-right{width: 100%;padding: 0 0px;}
  
}
.mobile{display: none;}
@media screen and (max-width : 900px) {
  .container .wrap .layout-flex{ display:block; }
	.container .wrap .layout-left{ display:none; }
	.container .wrap .layout-right{ width:100%; }
    .mobile{display: block;}

}

@media screen and (max-width : 768px) {

}

/*左邊選單*/
.layout-left .caption{
    font-size: 22px;
    /* font-weight: bold; */
    text-align: center;
    /* background: #c7e0d8; */
    color: #5e4d31;
    border-radius: 20px;
    padding: 25px 10px 0px 10px;
    margin: 0 0 0px 0;
}
.layout-left .caption-en{
    font-size: 14px;
    color: #a58d64;
    margin: 20px 0 15px 0;
    letter-spacing: 1px;
}
.layout-left > ul{list-style:none;margin:0;/* background-color: #f9ede4; */background-image:url(../../images/left-menu-bg.png);background-position:bottom;background-repeat:no-repeat;padding: 10px 20px 10px 20px;border-radius: 20px;/* min-height: 500px; *//* border-top: 5px solid #bed38f; *//* border-bottom: 5px solid #bed38f; */}


/* 設定 <li> 的樣式 */
.layout-left > ul > li {
  width: 100%;
  font-size: 16px;
  background: #f5e9d9; /* 預設背景色 */
  text-align: left;
  margin: 10px 0;
  border-radius: 18px;
  padding: 7px; /* 增加內邊距，讓邊框與外框保持距離 */
  box-sizing: border-box; /* 確保邊框計算在內部 */
  /* border: 2px dashed #d6c4b2; */ /* 添加內部虛線邊框 */
  transition: all 0.3s ease; /* 平滑過渡效果 */
}

/* 設定 <a> 的樣式 */
.layout-left > ul > li > a {
  position: relative;
  color: #434242;
  /* font-weight: bold; */
  text-decoration: none;
  display: block;
  letter-spacing: 3px;
  padding: 7px 15px 7px 15px; /* 調整內邊距 */
  line-height: 1.3;
  min-height: 50px;
  transition: all 0.3s ease; /* 平滑過渡效果 */
  border: 2px dotted #d6c4b2;
  border-radius: 13px;
  display: flex;
  align-items:center;
  /* justify-content: center; */
}

/* 添加滑鼠移過的效果 */
.layout-left > ul > li:hover {
  background: #8c1b01; /* 滑鼠移過時的背景色 */
  border-color: #8c1b01; /* 滑鼠移過時的邊框顏色 */
  transition: all 0.3s ease; /* 平滑過渡效果 */
}

.layout-left > ul > li:hover > a {
  color: #e1cab0; /* 滑鼠移過時文字顏色變白 */
  transition: all 0.3s ease; /* 平滑過渡效果 */
}

.layout-left > ul > li > a img {
  margin-right: 5px;
  transition: all 0.3s ease;
}

.layout-left > ul > li:hover > a img {
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

/* 設定 <a> 的圖示樣式 */
.layout-left > ul > li > a:before {
  /*
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f002";
  padding-right: 5px;
  position: absolute;
  left: 15px;
  top: 13px;
  font-size: 20px;
  color: #544433;
  transition: all 0.3s ease;
  */
}

.layout-left > ul > li:hover > a:before {
  color: #e1cab0; /* 滑鼠移過時圖示顏色變白 */
  transition: all 0.3s ease; /* 平滑過渡效果 */
}

/*回上頁*/

/*麵包屑*/
#sitemap{width:100%;margin: 0 0 0px 0;padding:0 10px;box-sizing: border-box;letter-spacing:1px; background-image: url(../../images/news-bg.png); background-repeat: repeat;color: #737373;/*background: #faf9f6;*/text-align: left;}
#sitemap .wrap{width:100%;max-width: 1400px;overflow:hidden;margin: 0 auto;padding: 40px 0px;color: #a38a61;font-size: 14px;text-align: center;border-bottom: 1px dashed #b1b0af;letter-spacing: 2px;}
#sitemap .wrap img{ padding-right:5px; }
#sitemap .wrap a{color: #a38a61;text-decoration:none;}
#sitemap .wrap a{text-decoration: none;}


/*NAV*/
#fix-menu{position:fixed;bottom: 10%;right: 10px;z-index:9999;width: 60px;}
#fix-menu img{ padding:3px 0; }
	

.btn1 {
    display: inline-block;
    position: relative;
    color: #8c1b01;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
    letter-spacing: 2px;
    /* margin: 20px 0; */
    padding: 30px 0 30px 45px;
    transition: transform 0.3s ease; /* 添加平滑過渡效果 */
}

.btn1:hover {
    transform: translateX(10px); /* 滑鼠移過右移10px */
}

.btn1:before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    /* 垂直置中 */
    content: "";
    margin: 0 8px;
    display: inline-block;
    width: 70px;
    height: 70px;
    background-color: #e7d7bc;
    /* 圓圈背景顏色 */
    border-radius: 50%;
    /* 圓形背景 */
    z-index: -1;
    /* 確保背景在文字下方但仍可見 */
    pointer-events: none;
    /* 確保不影響點擊事件 */
}

.btn1:after {
    content: url(../../images/btn-icon-2.png);
    vertical-align: -0%;
    margin: 0 0 0 12px;
}

.btn1:hover {
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -ms-transition: all .4s ease
}

.btn2 {
    position: relative;
    color: #ffffff !important;
    font-size: 15px !important;
    width: auto !important;
    padding: 12px 60px 12px 20px;
    border: 1px solid #8c1b01;
    background: #8c1b01;
    cursor: hand;
    cursor: pointer;
    display: inline-block;
    margin: 5px 0;
    border-radius: 30px;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.btn2:hover {
    color: #ffffff !important;
    border: 1px solid #ac3318;
    background: #ac3318;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -ms-transition: all .4s ease
}
.btn2::before {
    position: absolute;
    content: url(../../images/btn-icon-2.png);
    filter: brightness(0) invert(1);
    right: 10px; /* 固定在右邊 */
    top: 50%; /* 垂直置中 */
    transform: translateY(-50%);
    vertical-align: middle;
}

.btn3 {
  position: relative;
  color: #ffffff !important;
  font-size: 15px !important;
  width: auto !important;
  padding: 10px 20px 10px 60px;
  border: 1px solid #8c1b01;
  background: #8c1b01;
  cursor: hand;
  cursor: pointer;
  margin: 5px 0;
  display: inline-block;
  border-radius: 25px;
  letter-spacing: 1px;
}

.btn3:hover {
  color: #ffffff !important;
  border: 1px solid #ac3318;
  background: #ac3318;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -o-transition: all .4s ease;
  transition: all .4s ease;
  -ms-transition: all .4s ease
}
.btn3::before {
  position: absolute;
  content: url(../../images/btn-icon-2.png);
  filter: brightness(0) invert(1);
  left: 10px; /* 固定在右邊 */
  top: 50%; /* 垂直置中 */
  transform: translateY(-50%) scaleX(-1); /* 水平翻轉 */
  vertical-align: middle;
}

input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
    -ms-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -webkit-appearance: none;
}

.p_btn {
    width: 100%;
    margin: 100px 0 35px 0;
    text-align: right;
}

/*首頁大標題*/
.b-title-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 30px auto 30px auto;
}

.justify-content-center {
    justify-content: center;
    /* 置中對齊 */
}

.flex-direction-column {
    flex-direction: column;
    /* 垂直排列 */
}

.b-title-image {
    flex: 0 0 auto;
    margin-right: 15px;
    /*min-height: 100px;*/
}

.b-title-image img {
    /* width: 50px; */
    /* 調整圖片大小 */
    height: auto;
    margin-bottom: 10px;
}

.b-title-text {
    position: relative;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
}

.b-title-text:before {
    position: absolute;
    top: -30px;
    right: -44px;
    content: url("../../images/title-bg-1.png");
    /* 使用圖片作為背景 */
}

.b-title-text2 {
    position: relative;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
}

.b-title-text2:before {
    position: absolute;
    top: 0px;
    right: -44px;
    content: url("../../images/title-bg-2.png");
    /* 使用圖片作為背景 */
}

.b-title-text2:after {
    position: absolute;
    top: -2px;
    left: -44px;
    content: url("../../images/title-bg-2.png");
    /* 使用圖片作為背景 */
    transform: rotate(180deg);
    /* 旋轉180度 */
}

.b-title-text3 {
    position: relative;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
}

.b-title-text4 {
    position: relative;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
}


.b-title-text4:before {
    position: absolute;
    top: -30px;
    left: -44px;
    content: url("../../images/title-bg-1.png");
    /* 使用圖片作為背景 */
    transform: rotate(280deg);
}

.b-title-text5 {
    position: relative;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
}


.b-title-text5:before {
    position: absolute;
    top: -30px;
    left: -44px;
    content: url("../../images/title-bg-1.png");
    /* 使用圖片作為背景 */
    transform: rotate(280deg);
}

.b-title-text5:after {
    position: absolute;
    top: -30px;
    right: -44px;
    content: url("../../images/title-bg-1.png");
    /* 使用圖片作為背景 */
}

.b-title-text6 {
    position: relative;
    /* flex: 1; */
    display: flex;
    flex-direction: column;
}

.b-title-text6:before {
    position: absolute;
    top: -5px;
    right: -100px;
    content: url("../../images/story-title-icon.png");
    /* 使用圖片作為背景 */
}

.b-title-text6:after {
    position: absolute;
    top: -5px;
    left: -95px;
    content: url("../../images/story-title-icon.png");
    /* 使用圖片作為背景 */
    transform: rotate(180deg);
    /* 旋轉180度 */
}
@media screen and (max-width: 1024px) {
    .b-title-text6:before {
        transform: scale(0.5); /* 縮小圖片比例 */
        transform-origin: center; /* 縮放的基準點設為中心 */
        top: -40px;
        right: -80px;        
    }
    .b-title-text6:after {
        transform: scale(0.5) rotate(180deg); /* 縮小圖片比例並保留旋轉 */
        transform-origin: center; /* 縮放的基準點設為中心 */
        top: -40px;
        left: -80px;            
    }
}

.b-title-main {
    font-size: 42px;
    /* 調整主標題字體大小 */
    color: #000;
    letter-spacing: 2px;
    margin: 10px auto 0 auto;
    font-weight: normal;
    display: flex;
    align-items: center;
    /* 使用 Flexbox 垂直置中 */
}

.b-title-main i {
    font-size: 25px;
    /* 調整 | 符號的大小 */
    color: #000000;
    /* background: #8d5e35; */
    /* border-radius: 50px; */
    /* padding: 6px 5px 6px 8px; */
    font-style: normal;
    margin: 0 15px;
    display: inline-block;
}

.b-title-sub {
    font-size: 20px;
    /* 調整副標題字體大小 */
    color: #b79272;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 0px;
}

.common-title{/* text-align: center; */font-size: 40px;color: #1c3464;/* font-weight:bold; */letter-spacing: 1px;line-height: 30px;padding: 0vw 0px 2.5vw 0vw;margin: 0 0 0 0;}
.common-title span{position: relative;display: inline-block;line-height: 30px;text-transform: uppercase;font-size: 20px;padding-bottom: 15px;margin: 0px 0px;color: #ad9b6d;/* font-weight: bold; */letter-spacing: 1px;font-family: 'Noto Sans TC', sans-serif;}
.common-title span i{ position: relative;font-size: 36px;color: #000000;display: block;font-style: normal;padding: 20px 0px;/* border-bottom: 1px solid #000000; */}
.common-title span i:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 7px;
    width: 23px;
    height: 1px;
    background-color: black;
}
.common-title > .line{background: #c8bfb0;width: 250px;height: 1px;margin: 20px auto 20px auto;animation:1s ease-in-out 0.8s 1 widthGroup-1;}


.common-title > .line{background: #c8bfb0;width: 250px;height: 1px;margin: 20px auto 20px auto;animation:1s ease-in-out 0.8s 1 widthGroup-1;}

.common-title2 {
    width: 100%;
    text-align: center;
    font-size: 30px;
    color: #8d6013;
    font-weight: bold;
    letter-spacing: 10px;
    line-height: 30px;
    padding: 2vw 10px 2vw 10px;
    margin: 0 auto 0 auto;
}

.common-title2 span {
    display: block;
    line-height: 30px;
    text-transform: uppercase;
    font-size: 30px;
    padding-bottom: 15px;
    color: #dcbc8a;
    /* font-weight: bold; */
    letter-spacing: 3px;
    font-family: 'Noto Sans TC', sans-serif;
}

.sub-title{
    position: relative;
    font-size: 29px;
    color: #5e4d31;
    letter-spacing: 3px;
    margin: 0px 0 20px 0;
    padding: 0 0 0 30px;
    z-index: 1;
}

.sub-title:before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  /* 垂直置中 */
  content: "";
  margin: 0 8px;
  display: inline-block;
  width: 70px;
  height: 70px;
  background-color: #e7d7bc;
  /* 圓圈背景顏色 */
  border-radius: 50%;
  /* 圓形背景 */
  z-index: -1;
  /* 確保背景在文字下方但仍可見 */
  pointer-events: none;
  /* 確保不影響點擊事件 */
}

.line-bg{width: 100%; height:35px; background:url(../../images/product-line.png) repeat-x; margin-bottom:30px}

.sub-title img{
    margin-right: 15px;
}

.pager {
    width: 100%;
    margin: 50px auto;
    text-align: center;
    font-size: 16px;
}

.editor {
    overflow: hidden;
    padding: 20px 0px;
    line-height: 30px;
    font-size: 16px;
    width: 100%;
    letter-spacing: 1px;
}



.text-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-fit {
    width: 100%;
    /* 確保圖片寬度填滿容器 */
    height: auto;
    /* 高度自動調整以保持比例 */
    object-fit: cover;
    /* 使圖片充滿容器並裁剪以保持比例 */
    object-position: center;
    /* 將圖片居中顯示 */
}

@media screen and (max-width: 1024px) {
    .bx-wrapper{ margin:-20px auto 0px !important; }
  .b-title-container {
    margin: 20px auto 40px auto; /* 調整外邊距 */
  }

  .b-title-image {
    margin-right: 10px; /* 減少圖片與文字的間距 */
  }

  .b-title-image img {
    width: 100%; /* 確保圖片自適應容器 */
    height: auto;
  }

  .b-title-text {
    font-size: 14px; /* 縮小文字大小 */
  }

  .b-title-main {
    font-size: 24px; /* 主標題字體大小 */
    letter-spacing: 1px; /* 減少字距 */
  }

  .b-title-main i {
    font-size: 16px; /* 縮小分隔符號大小 */
    margin: 0 10px; /* 減少分隔符號的間距 */
  }

  .b-title-sub {
    font-size: 14px; /* 副標題字體大小 */
    margin-top: 10px; /* 減少與主標題的間距 */
  }
}

@media screen and (max-width: 768px) {
  .b-title-container {
    /* flex-direction: column; */ /* 改為垂直排列 */
    align-items: center; /* 置中對齊 */
    text-align: center; /* 文字置中 */
    margin: 30px auto 4vw auto;
  }

  .b-title-image {
    width: 90px; /* 再次縮小圖片寬度 */
    margin: 0 0 0px 0; /* 調整圖片與文字的間距 */
  }
  .common-title span i{ display: inline-block;}
  .vertical-title .en{ position:static !important;}
  .common-title span i:after{ background: transparent;}
  #index-product .b-title-image {
    width: 300px; /* 設定最小寬度 */
    margin: 0 auto; /* 置中對齊 */
  }  

  .b-title-main {
    font-size: 22px; /* 主標題字體大小 */
  }

  .b-title-main i {
    font-size: 14px; /* 縮小分隔符號大小 */
  }

  .b-title-sub {
    font-size: 14px; /* 副標題字體大小 */
  }

  .sub-title{
    font-size: 20px;
}  
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> Common <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#wrapper {
    width: 100%;
    margin: 0 auto;
}

#wrapper .common_wrap {
    max-width: 1400px;
    min-height: 800px;
    margin: 0px auto 0 auto;
}

/*子選單*/
.submenu1 {
    font-size: 18px !important;
    overflow: hidden;
    background-color: rgba(232, 220, 208, 0.7);
    /* border:1px solid #EBEBEB; */
    position: absolute;
    margin-left: -25px;
    width: 130px;
    top: 130px;
    box-shadow: 2px 2px 8px rgba(15%, 15%, 40%, 0.1);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.submenu1 a {
    font-size: 18px !important;
    color: #776e64 !important;
    font-weight: normal !important;
    display: block !important;
    /* border-bottom:1px solid #dedede; */
    padding: 11px 25px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -ms-transition: all .4s ease;
}

.submenu1 a:hover {
    color: #a98579 !important;
    /*background:#d3474d !important;*/
}

nav {
    -webkit-transition: all .4s ease;

    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -ms-transition: all .4s ease
}

.header_box {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 0;
    width: 100%;
    /* background-color: #fff; */
}

.header_box_main {
    max-width: 1400px;
    position: relative;
    /* overflow: hidden; */
    margin-right: 70px;
    margin-left: 70px;
    margin: 0px auto 0px auto;
}

.header_box_line {
    /*padding-bottom: 20px;*/
    /*border-bottom: 2px solid #fff;*/
}

.header_box .header_box_main .logo_box {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    -ms-transition: all .3s ease;
}

.header_box .header_box_main .menu {
    margin-top: 10px;
    margin-bottom: 0px;
    height: 100%;
    line-height: 25px;
    /*text-transform: uppercase;*/
    font-weight: 700;
    font-size: 14px;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -ms-transition: all .4s ease;
}

.header_box .header_box_main .menu {
    animation: 1s ease-out 0s 1 transiTop20;
    float: right !important;
}

.header_box .header_box_main .menu li {
    float: left;
    list-style: none;
    padding: 0 2vw 15px;
}

.header_box .header_box_main .menu li img {
    padding: 0 3px;
}

.header_box .header_box_main .menu li a {
    position: relative;
    text-decoration: none;
}

.header_box .header_box_main .menu li a::before,
.header_box .header_box_main .menu li a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: white;
    transform: scaleX(0);
    /*transform-origin: left;*/
    transition: transform 0.3s ease;
}

.header_box .header_box_main .menu li a::before {
    top: -10px;
}

.header_box .header_box_main .menu li a::after {
    bottom: -10px;
}

.header_box .header_box_main .menu li a:hover::before,
.header_box .header_box_main .menu li a:hover::after {
    transform: scaleX(1);
}

/*原始選單*/
.header_box_scroll1 {
    /* background-color:#e8dcd0; */
    top: -20px;
}

.header_box_scroll1 .menu {
    margin-top: 35px;
    margin-bottom: 10px
}

.header_box_scroll1 .menu li a {
    color: #ffffff;
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 1px;
    text-decoration: none;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}

.header_box_scroll1 .logo-big {
    display: none;
    position: absolute;
    margin-top: 30px;
    max-width: 558px;
    opacity: 1;
    /*
 -webkit-transition: all .4s ease;
 -moz-transition: all .4s ease;
 -o-transition: all .4s ease;
 transition: all .4s ease;
 -ms-transition: all .4s ease;
 */
}

.header_box_scroll1 .logo-mid {
    position: absolute;
    margin-top: 40px;
    margin-left: 5px;
    max-width: 558px;
    opacity: 1;
    /*
 -webkit-transition: all .4s ease;
 -moz-transition: all .4s ease;
 -o-transition: all .4s ease;
 transition: all .4s ease;
 -ms-transition: all .4s ease;
 */
}

.header_box_scroll1 .logo-small {
    opacity: 0;
    /*
 -webkit-transition: all .4s ease;
 -moz-transition: all .4s ease;
 -o-transition: all .4s ease;
 transition: all .4s ease;
 -ms-transition: all .4s ease
 */
}

/*捲軸往下的變換選單*/
.header_box_scroll2 {
    padding: 0px 0;
    height: 75px;
    background: #bba073;
    /* -webkit-box-shadow: 0 1px 4px rgba(211, 71, 77, .15); */
    -moz-box-shadow: 0 1px 4px rgba(211, 71, 77, .15);
    /* box-shadow: 0 1px 4px rgba(211, 71, 77, .15); */
    z-index: 999;
}

.header_box_scroll2 .menu {
    margin-top: 0;
    margin-bottom: 0;
    height: 100%
}

.header_box_scroll2 .menu>li>a {
    /* color: #fff; */
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out
}

.header_box_scroll2 .logo-big,
.header_box_scroll2 .logo-mid {
    opacity: 0;
    display: none;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -ms-transition: all .4s ease
}

.header_box_scroll2 .logo-small {
    position: absolute;
    margin-top: -7px;
    margin-left: 10px;
    width: 290px;
    opacity: 1;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -ms-transition: all .4s ease;
}


/*語系切換*/
#nav {
    position: absolute;
    right: 0px;
    top: 30px;
    z-index: 9999;
    color: #ffffff;
    font-size: 15px;
    /* background: #AD9B6D; */
    min-width: 440px;
    /*-webkit-transition: all .4s ease;-moz-transition: all .4s ease;-o-transition: all .4s ease;transition: all .4s ease;-ms-transition: all .4s ease;*/
}

#nav span {
    padding: 5px 5px;
    display: inline-block;
}

#nav a {
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
}

#nav a:hover {
    text-decoration: underline;
}

.search_input-container {
    position: relative;
    display: inline-block;
    /* width: 100%; */
    /* 根據需求調整寬度 */
}

.search_input-container img {
    position: absolute;
    left: 10px;
    /* 調整圖片與輸入框的間距 */
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    /* 調整圖片大小 */
    height: 20px;
}

.search_input {
    padding-left: 40px;
    /* 確保文字不會被圖片遮擋 */
    width: 130px;
    /* 根據需求調整寬度 */
    box-sizing: border-box;
    border-radius: 30px;
    border: 0;
    color: #8c1b01;
    letter-spacing: 1px;
}

.overlay1 {
    /*margin-top:80px;*/
    height: 100%;
    width: 0%;
    position: fixed;
    overflow: auto;
    top: 0;
    right: 0;
    background-color: rgba(173, 155, 109, 0.9);
    overflow: auto;
    transition: 0.5s;
    z-index: 4;
}

.overlay1-content {
    position: relative;
    top: 0%;
    width: 100%;
    text-align: center;
}

.overlay1 a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay1 a:hover,
.overlay1 a:focus {
    color: #f1f1f1;
}

.overlay1-title {
    width: 100%;
    height: 50px;
    margin-top: 80px;
}

.overlay1-title span {
    color: #FFF;
    border-bottom: 2px solid #FFF;
    font-size: 20px;
    letter-spacing: 1px;
}

.overlay1_options {
    width: 80%;
    margin: 0 auto;
}

.overlay1_item {
    position: relative;
    text-align: left;
    padding: 15px 5px;
    color: #EAEAE8;
    letter-spacing: 1px;
    border-bottom: 1px solid #d2d2d2;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: hand;
    cursor: pointer;
}

.overlay1_item a {
    font-size: 16px;
    color: #fff;
    /* font-weight: bold; */
    letter-spacing: 3px;
}

.overlay1_item a:hover {
    color: #e8dcd0;
}

.overlay1_item span {
    position: absolute;
    right: 0;
    top: 2px;
    padding: 20px 20px;
    font-size: 18px;
}

/*.overlay1_item:hover{ background:#000; -webkit-transition:.6s;-ms-transition:.6s;-moz-transition:.6s; }*/
.overlay1_event {
    width: 100%;
    display: none;
    text-align: left;
    padding: 20px 5px;
    box-sizing: border-box;
    letter-spacing: 1px;
}

.overlay1_event a {
    display: block;
    font-size: 15px;
    color: #fff;
}

.overlay1_event a:hover {
    color: #e8dcd0;
    text-decoration: none;
}

.show-1,
.show-2,
.show-3 {
    opacity: 0;
}

/* 手機版選單搜尋框樣式 */
@media screen and (max-width: 1024px) {
    .overlay1 .search_input-container {
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 15px 0;
        /* 與其他選單項目保持間距 */
        padding: 0 0px;
    }

    .overlay1 .search_input-container img {
        width: 20px;
        /* 縮小搜尋按鈕圖示 */
        height: 20px;
        margin: 0 10px;
    }

    .overlay1 .search_input-container .search_input {
        flex: 1;
        padding: 10px 40px;
        font-size: 15px;
        border: 1px solid #ccc;
        border-radius: 20px;
        outline: none;
        box-sizing: border-box;
    }

    .overlay1 .search_input-container .search_button {
        padding: 10px 20px;
        font-size: 14px;
        color: #fff;
        background-color: #ad9b6d;
        /* 按鈕背景色 */
        border: none;
        border-radius: 20px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .overlay1 .search_input-container .search_button:hover {
        background-color: #9d8a6e;
        /* 按鈕 hover 效果 */
    }
}


.common_title {
    border-right: 10px solid #d3474d;
    padding: 0 20px;
    color: #d3474d;
    font-size: 40px;
    line-height: 50px;
    font-weight: bold;
    text-align: right;
    letter-spacing: 3px;
}

.common_title_s {
    float: right;
    color: #80a9b8;
    font-size: 16px;
    letter-spacing: 2px;
    max-width: 570px;
    text-align: right;
    line-height: 30px;
    padding: 20px 0;
}

.inner_title {
    color: #252F31;
    font-size: 30px;
    letter-spacing: 2px;
    text-align: center;
    margin: 50px 0 100px 0;
}

.sitemap {
    text-align: right;
    line-height: 25px;
    padding: 10px 10px;
}

.sitemap a {
    color: #797979;
}


.mark_product {
    padding-top: 90px;
}

@media screen and (max-width: 1400px) {
    .common_title {
        text-align: left;
        border-right: 0;
        border-left: 10px solid #252F31;
    }

    .common_title_s {
        text-align: left;
        float: left;
    }

    .none1400 {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .header_box_scroll1 .logo-mid {
        width: 50%;
        min-width: 330px;
    }
}

@media screen and (max-width: 768px) {

    .header_box_scroll1 .logo-big,
    .header_box_scroll1 .logo-mid {
        margin-top: 50px;
        /* margin-left: 5px; */
    }

    .header_box_scroll1 .logo-big {
        display: none;
    }

    .inner_title {
        margin: 0 0 30px 0;
    }

    .mark_product {
        padding-top: 30px;
    }
}

@media screen and (max-width: 480px) {

    #wrapper {
        /* padding-top:150px; */
    }

    .common_title {
        font-size: 30px;
    }

    .p_btn {
        margin-top: 30px;
    }
}

/*內頁banner*/
#banner-box{width:100%;/*max-width: 1200px;*/margin: 0 auto 0 auto;overflow:hidden;background:#f1f1f1;}
#banner-inner {
  position: relative;
  height: 540px;
  background-size: cover;  
}
#banner-inner .overlay{display:flex;align-items:center;justify-content: center;width:100%;/* max-width: 1400px; */margin: 0px auto 0 auto;padding: 100px 1vw 0 5vw;height: 100%;background-color: rgba(0, 0, 0, 0.2);}
#banner-inner .title{opacity:0;text-align:center;color:#ffffff;font-size: 30px;font-weight: bold;letter-spacing: 5px;padding: 0 0 10px 0;text-shadow: 2px 2px 2px #101010;}
#banner-inner .common-title{color: #ffffff;text-align: center;/* text-shadow: 2px 2px 2px #999999; */font-size: 16px;text-shadow: 1px 1px 1px #000000;}
#banner-inner .common-title span{
    display: block;
    color: #ffffff;
    /* text-shadow: 2px 2px 2px #999999; */
    font-size: 36px;
    letter-spacing: 20px;
    padding: 0 0 10px 20px;
    /* text-shadow: 1px 1px 1px #CCCCCC; */
}
#banner-inner .common-title span:before{filter: brightness(0) invert(1);}
#banner-inner .common-title span:after{
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 768px) {
  #banner-inner {
    height: 400px;
  }
  
}


/* Footer 主體樣式 */
#site-footer {
    background-image: url(../../images/footer-top2.png);
    position: relative;
    background-repeat: no-repeat;
    background-position: center top;
    color: #5a4636;
    font-family: Arial, sans-serif;
    padding: 80px 0px 0px 0px;
    letter-spacing: 1px;
    /* border-top-left-radius: 50% 100px; */ /* 圓弧效果 */
    /* border-top-right-radius: 50% 100px; */ /* 圓弧效果 */
}

.footer-outer{
  position: relative;
  /* max-width: 1300px; */
  margin: 0 auto;
  flex-wrap: wrap; /* 支援 RWD */
  gap: 20px;
  background: #e7d7bc;
}

.footer-container {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;  
}

.footer-bg {
    position: absolute;
    right: 0;
    top: -130px;
}

/* 左側 LOGO 區塊 */
.footer-left {
    flex: 1.2;
    min-width: 250px;
}

.footer-logo {
    padding: 0px 10px;
}

.footer-logo img {
    /* width: 80px; */
    height: auto;
    margin-bottom: 10px;
    max-width: 100%;
}

.footer-logo p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* 中間選單區塊 */
.footer-middle {
    /* flex: 1; */
    min-width: 150px;
    margin: 10px 20px 0 20px;
}
  
.footer-middle ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 兩欄排版 */
    gap: 10px;
    list-style: disc; /* 使用黑色小點點 */
    padding-left: 20px; /* 調整內邊距以顯示小點點 */
    margin: 0;
    padding: 0;
}

.footer-middle li {
    margin-bottom: 10px;
    list-style: disc; /* 使用小點點 */
    list-style-position: inside; /* 小點點在內側 */
    color: #8c1b01; /* 設定小點點為綠色 */
    min-width: 115px;
}

.footer-middle a {
    text-decoration: none;
    color: #5e4d31;
    font-size: 16px;
}

.footer-middle a:hover {
    text-decoration: underline;
}
  /* 右側社群與聯絡資訊 */
  .footer-right {
    flex: 1.5;
    min-width: 260px;
    padding: 0 0px 0 40px;
  }
  
  .social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .social-icons a img {
    /* width: 30px; */
    height: auto;
  }
  
  .contact-info {
    font-size: 14px;
  }
  
  .contact-row {
    display: flex;
    /* justify-content: space-between; */ /* 兩欄排版 */
    padding-bottom: 20px;
  }
  
  .contact-row span:first-child {
    /* font-weight: bold; */
    min-width: 85px;
    color: #5a4636;
    font-size: 16px;
  }
  
  .contact-row span:last-child {
    text-align: left;
    color: #5e4d31;
    font-size: 16px;
    max-width: 400px;
    line-height: 1.3;
  }
  
  /* 最下方版權聲明 */
  .footer-copyright {
    text-align: center;
    font-size: 14px;
    color: #5e4d31;
    /* margin-top: 30px; */
    padding: 20px;
    line-height: 1.3;
    border-top: 1px solid #bcad94;
    letter-spacing: 1px;
    background: #e7d7bc;
  }


  .footer-bg {
      animation: floatEffect 2s ease-in-out infinite; /* 添加上下跳動動畫 */
      transition: all 0.5s ease; /* 添加過渡效果 */
  }
  

  /* RWD 支援 */
  @media (max-width: 1024px) {  

    .footer-container {
      display: block;
    }

    .footer-middle {
        /* display: none; */
        padding: 30px 20px 25px 20px;
        margin: 0;
    }
}

  @media (max-width: 768px) {
    .footer-logo {
        padding: 0px 0px;
    }    
    .footer-container {
      flex-direction: column;
      align-items: center;
      /* text-align: center; */
    }
  
    .footer-left,
    .footer-middle,
    .footer-right {
      min-width: 100%;
      padding: 20px 20px 5px 20px;
    }
  
    .footer-middle ul {
      grid-template-columns: 1fr; /* 小螢幕改為單欄 */
    }
  
    .contact-row {
      /* flex-direction: column; */ /* 小螢幕改為垂直排列 */
      text-align: left;
    }
  }

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> Index <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

/*活動&影音*/
.bullet-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px auto;
    max-width: 100%;
}

/* 左邊 YouTube 區塊 */
.video-section {
    width: 49%;
    /* 讓左右區域有一樣的寬度 */
}

.video-section .b-title {
    height: auto;
    margin: 30px 0vw 30px 0vw;
    display: block;
    text-align: left;
}

.video-section .b-title span {
    text-align: left;
}

.video-section .b-title .line {}

.video-section-wrap {
    width: 100%;
    position: relative;
    padding-bottom: 76.25%;
    /* 16:9比例，確保高度保持一致 */
    height: 0;
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
    border-radius: 30px;
    /* 圓角效果 */
}

.video-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 520px;
    border-radius: 30px;
    /* 影片區域的圓角效果 */
}

/* 右邊 bxSlider 區塊 */
.carousel-section {
    overflow: visible;
    width: 49%;
    /* 讓左右區域有一樣的寬度 */
    margin-bottom: 20px;
    /* margin-top: -10px; */
    border-radius: 30px;
    /* 圓角效果 */
    /* overflow: hidden; */
    /* 確保內容不超出圓角 */
}

.carousel-section .b-title {
    height: auto;
    margin: 30px 0vw 10px 0vw;
    display: block;
    text-align: left;
}

.carousel-section .b-title span {
    text-align: left;
}

.carousel-section .line {}

.bxslider-bullet ul {
    list-style: none;
}

.bxslider-bullet li {
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 550px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #c7e0d8;
}

.bxslider-bullet img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* 確保圖片填滿容器並保持比例 */
    border-radius: 30px;
    /* 圓角效果 */
}

/* RWD 支援 */
@media (max-width: 1200px) {

    .video-section-wrap {
        border-radius: 0;
        padding-bottom: 75.25%;
        /* 16:9比例，確保高度保持一致 */
    }

    .carousel-section {
        border-radius: 0px;
    }

    .bxslider-bullet img {
        border-radius: 0;
    }

    .bxslider-bullet li {
        height: auto;
    }
}

@media (max-width: 768px) {
    .video-section {
        width: 100%;
        /* 讓左右區域有一樣的寬度 */
    }

    .video-section-wrap {
        width: 100%;
        min-height: 300px;
        border-radius: 0;
    }

    .carousel-section {
        width: 100%;
        border-radius: 30px;
    }

    .bullet-container {
        flex-direction: column;
        align-items: center;
        width: 96%;
    }

}


/*News*/
#index-activity {
    width: 100%;
    padding: 40px 20px 40px 20px;
    background-color: #ffffff;
}

#index-activity .wrap {
    /*display:flex;flex-wrap: wrap;*/
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

#activity-list {
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding-bottom: 0vw;
    /* border-bottom: 1px dashed #878787; */
}

#activity-list .items {
    display: inline-block;
    vertical-align: top;
    flex: 0 31%;
    margin: 10px 1% 30px 1%;
    box-sizing: border-box;
    text-align: center;
    /* background:#ffffff; */
}

#activity-list .items .date {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
    background: linear-gradient(to bottom, #ccbaa1, #a68e6e);
    padding: 28px 18px;
}

#activity-list .items .date span {
    display: block;
    font-size: 35px;
    /* font-weight: normal; */
}

.activity-detail-title {
    color: #bc8e8e;
    font-size: 18px;
    border-bottom: 1px solid #bc8e8e;
    margin: 30px 0;
    padding: 0 0 10px 0;
}

#activity-list .photo-mask-content span {
    display: block;
    color: #ffffff;
    font-size: 16px;
    line-height: 22px;
}

#activity-list .photo-mask-content img {
    filter: brightness(200%);
}

#activity-list .photo-mask-content span i {
    font-size: 30px;
}

#activity-list .items .title {
    font-size: 16px;
    /* font-weight: bold; */
    text-align: center;
    padding: 15px 0 15px 0;
    margin: 15px 0;
    line-height: 25px;
    max-height: 65px;
    /* border-bottom: 1px solid #d3af78; */
}

#activity-list .items .title a {
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    letter-spacing: 1px;
}

#activity-list .items .content {
    font-size: 15px;
    text-align: left;
    line-height: 20px;
    color: #606060;
}

#index-activity .btn-3 {
    margin: 10px auto;
}

#index-activity .pager {
    text-align: right;
    padding: 0 2%;
}




@media screen and (max-width:800px) {
    #index-activity {
        padding: 0px 0px 0px 0px;
    }

    #activity-list .items {
        flex: 0 46%;
        margin: 20px 1.5%;
    }
}

@media screen and (max-width:480px) {
    #activity-list .items {
        flex: 0 100%;
        margin: 20px 0 0 0%;
    }
}


/*主打商品*/
#index-product {
    position: relative;
    width: 100%;
    padding: 40px 20px 100px 20px;
    background: #f4efe7;
    background-image: url(../../images/product-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
}

#index-product .wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

#index-product .b-title-container{margin: 50px auto 50px auto;}

.product-item {
    display: flex;
    /* align-items: center; */
    margin-top: 50px;
    margin-bottom: 20px;
}

.product-item.image-left .product-image {
    order: 1;
    padding: 0 20px;
}

.product-item.image-left .product-content {
    order: 2;
}

.product-item.image-right .product-image {
    order: 2;
}

.product-item.image-right .product-content {
    order: 1;
}

#index-product.inner .product-image {
    flex: 1;
    max-width: 50%;
    /* padding: 0 10px; */
    margin: 0 auto;
}


.product-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-image a img {
    transition: transform 0.3s ease-in-out; /* 平滑過渡效果 */
    max-width: 650px;
  }
  
  .product-image a:hover img {
    transform: scale(1.05); /* 放大 1.1 倍 */
  }

.product-content {
    flex: 1;
    /* max-width: 50%; */
    padding: 20px;
}

.product-title {
    font-size: clamp(20px, 2vw, 36px);
    font-weight: normal;
    color: #5e4d31;
    margin-bottom: 10px;
}

.product-slogan {
    display: flex;
    align-items: center;
    gap: 15px;
    /* 圖片與文字的間距 */
    margin-bottom: 15px;
}

.slogan-image {
    flex: 0 0 auto;
    /* 固定圖片大小 */
}

.slogan-image img {
    /* width: 50px; */
    height: auto;
}

.slogan-text {
    flex: 1;
    /* 讓文字區域自適應寬度 */
}

.product-title {
    font-size: clamp(20px, 2vw, 36px);
    /* font-weight: bold; */
    color: #5e4d31;
    margin: 0 0 5px 0;
    /* 與 slogan 的間距 */
}

.slogan-text span {
    font-size: clamp(16px, 2vw, 24px);
    color: #5e4d31;
}

.product-description {
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 40px;
}

.product-link {
    font-size: 16px;
    color: #d3474d;
    text-decoration: none;
    font-weight: bold;
}

.product-link:hover {
    text-decoration: underline;
}


/* 響應式設計 */
@media (max-width: 1300px) {

    .slogan-image img {
        max-width: 80px;
    }
    .product-description {
        margin-top: 10px;
        margin-bottom: 10px;
    }    
}


@media (max-width: 1024px) {
    .product-item {
      display: block;
      margin: 40px 0 0px 0;
      border-bottom: 1px dashed #e7d7bc;
    }

    .product-item:last-child {
      border-bottom: none;
    }
    .product-image{ max-width: 100%; padding: 0 0; display:flex; align-items:center; justify-content: center;}

    .product-image img {
        max-width: 400px;
    }    
    .product-content{max-width: 100%;padding: 15px 0 30px 0px;}

}

@media (max-width: 768px) {
    #index-product {
        padding: 40px 20px 20px 20px;
    }  
    #index-product .product-line{ display: none;}

    #index-product.inner .product-image {
        max-width: 100%;
    }  
    .product-item.image-left .product-image {
        padding: 0 0px;
    } 
    .product-image{display: none !important;} 
}

/* 熱賣推薦區塊 */
#index-recommend {
    width: 100%;
    padding: 50px 20px;
    background-color: #f4efe7;
    background-image: url(../../images/recommend-bg.png);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  #index-recommend .wrap {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .recommend-carousel {
    position: relative;
    margin-top: 20px;
  }
  
  .recommend-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    text-align: center;
  }
  
  .recommend-item .item-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .recommend-item .item-content h3 {
    font-size: 18px;
    color: #191919;
    margin: 10px 0;
    font-weight: normal;
    text-align: center;
  }
  
  .recommend-item .item-content p {
    font-size: 15px;
    color: #8d5e35;
    line-height: 25px;
    margin: 10px 0 20px 0;
    text-align: left;
    min-height: 50px;
  }
  
  .recommend-item .btn-more {
    display: inline-block;
    font-size: 14px;
    color: #d3474d;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
  }
  
  .recommend-item .btn-more:hover {
    text-decoration: underline;
  }
  
  /* 輪播控制按鈕 */
  .carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .carousel-controls button {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 3px;
  }
  
  .carousel-controls button img {
    /* width: 30px; */
    height: auto;
  }
  
  /* 更多商品按鈕 */
  .more-products {
    text-align: right;
    margin-top: 20px;
  }
  
  /* RWD 支援 */
  @media (max-width: 768px) {
    .recommend-item {
      padding: 15px;
    }
  
    .recommend-item .item-content h3 {
      font-size: 16px;
    }
  
    .recommend-item .item-content p {
      font-size: 12px;
    }
  
    .carousel-controls button img {
      /* width: 24px; */
    }
  
    .more-products {
      text-align: center;
    }
  }

/*owl*/
#index-recommend .owl-left{cursor:hand;cursor:pointer;display:flex;align-items:center;justify-content: center;width: 5%;float:left;}
#index-recommend .owl-center{width: 90%;float:left;padding: 0 1vw;}
#index-recommend .owl-right{cursor:hand;cursor:pointer;display:flex;align-items:center;justify-content: center;width: 5%;text-align: right;float:left;}
#index-recommend .contain{ text-align:center; font-size:22px; }
#index-recommend .contain a{display: inline-block;padding: 8px 20px 8px 20px;min-width: 215px;font-size: 20px;letter-spacing: 1px;color: #faf5ed;background: #906928;text-decoration:none;margin-top: -50%;}
#index-recommend .contain a:hover{ text-decoration:none; }
#index-recommend .contain a span{display: block;font-size: 16px;padding: 5px;color: #c4b196;}
#index-recommend .item{margin: 0 auto;padding: 10px 0vw;width: 95%;height: 350px;overflow:hidden;display:flex;align-items:center;justify-content: center;/* border-right: 1px solid #ebebeb; *//* border-left: 1px solid #ebebeb; *//*background:#ffffff;*/}
#index-recommend .item img{width: 100%;/* height: 90%; */cursor:pointer;}

.owl-carousel .owl-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* 平滑過渡效果 */
  }
  
  .owl-carousel .owl-item:hover {
    transform: translateY(-5px); /* 卡牌往上移動 10px */
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);*/
  }

/*Story*/
#index_story {
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    background: url(../../images/about-bg.png) no-repeat bottom center;
    background-size: cover;
    background-attachment: fixed;
    /* background-size: cover; */
    /* background-position: center; */
    background-repeat: no-repeat;
    min-height: 635px;
    padding: 0px 0;
}

#index_story .vertical-text {
    /* transform: rotate(90deg); */ /* 文字向左旋轉90度 */
    font-size: 1.5rem;
    color: #27384b; /* 文字顏色 */
    /* font-weight: 700; */
    text-align: left;
    transform-origin: left top; /* 調整旋轉的基準點 */
    white-space: nowrap; /* 防止文字自動換行 */
}

/* 內部容器設定 */
#index_story .index_story_contain {
    display: flex;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
    min-height: 600px;
    position: relative;
}

/* 左邊區塊設定 */
#index_story .left-block {
    width: 10%; /* 左邊區塊的寬度 */
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: transparent; /* 如果需要可以調整背景色 */
}

/* 垂直文字設定 */
#index_story .vertical-text {
     /* 文字向左旋轉90度 */
     font-size: 1.5rem;
     color: #27384b; /* 文字顏色 */
     /* font-weight: 700; */
     text-align: left;
     transform-origin: left top; /* 調整旋轉的基準點 */
     white-space: nowrap; /* 防止文字自動換行 */
     padding: 30px 0 0 0;
}

/* 垂直標題樣式 */
.vertical-title {

}

.vertical-title .en {
  position: absolute;
  top: 30%;
  right: -55px;
  font-size: 16px;
  color: #8c1b01;
  letter-spacing: 0px;
  writing-mode: vertical-rl; /* 英文垂直書寫 */
  text-orientation: mixed; /* 英文字母直立 */
}

/* 右邊區塊設定 */
#index_story .right-block {
    width: 90%; /* 右邊區塊的寬度 */
    position: relative;
    display: flex;
    align-items: self-start;
    justify-content: center;
     /* 替換為實際圖片路徑 */
    padding: 3vw 0 0 3vw;
}

/* 內容設定 */
#index_story .right-block .content {
    font-size: 18px;
    padding: 20px;
    /* background-color: rgba(255, 255, 255, 0.8); */ /* 半透明背景，確保文字可讀性 */
    max-width: 900px; /* 最大寬度 */
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
}

#index_story .right-block .content h2 {
    display: inline-block;
    font-size: 24px;
    color: #8c1b01;
    margin-bottom: 40px;
    padding-bottom: 5px;
    line-height: 1.3;
    letter-spacing: 3px;
    font-weight: normal;
    border-bottom: 3px solid #d2af8c;
}

#index_story .right-block .content p {
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
    line-height: 2.0;
}

#index_story .right-block .content .read-more {
    font-size: 1rem;
    color: #82b400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

#index_story .right-block .content .read-more::after {
    content: ' →';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

#index_story .right-block .content .read-more:hover::after {
    margin-left: 10px;
}

#index_story .pager{text-align: right;}

/* 響應式設計 */
@media (max-width: 768px) {
    #index_story .index_story_contain {
        flex-direction: column; /* 讓內容堆疊 */
    }

    #index_story .left-block,
    #index_story .right-block {
        width: 100%;
    }

    #index_story .left-block {
        justify-content: center; /* 讓標題位於上方中央 */
        align-items: center; /* 垂直居中 */
        padding: 20px 0; /* 上下增加間距 */
    }

    .vertical-title .en{writing-mode:initial;}

    #index_story .vertical-text {
        text-align: center; /* 讓文字在小螢幕上居中 */
        writing-mode: horizontal-tb; /* 垂直文字轉為水平排列 */
        transform: none; /* 取消旋轉 */
        font-size: 1.5rem; /* 根據需要調整字體大小 */
    }

    #index_story .right-block {
        padding: 20px; /* 為右邊區塊增加適當的內邊距 */
        align-items: flex-start; /* 讓內容從頂部開始 */
    }

    #index_story .right-block .content {
        max-width: 100%; /* 讓內容區塊全寬 */
        padding: 0; /* 移除內邊距，以便內容更貼合螢幕 */
    }
}

/* 我們的堅持區塊 */
#index-advantages {
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  
  #index-advantages .wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  
  .advantages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
  }
  
  .advantage-item {
    flex: 1 1 calc(25% - 20px); /* 每個項目占 25% 寬度，減去間距 */
    max-width: calc(25% - 20px);
    text-align: center;
    /* background-color: #fff; */
    border-radius: 10px;
    padding: 20px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .advantage-item img {
    /* width: 80px; */
    height: 80px;
    margin-bottom: 15px;
  }
  
  .advantage-item p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
  }
  
  /* RWD 支援 */
  @media (max-width: 1024px) {
    .advantage-item {
      flex: 1 1 calc(50% - 20px); /* 中等螢幕每行顯示 2 個項目 */
      max-width: calc(50% - 20px);
    }
  }
  
  @media (max-width: 768px) {
    .advantage-item {
      flex: 1 1 100%; /* 小螢幕每行顯示 1 個項目 */
      max-width: 100%;
    }
  }


/* Slogan 區塊樣式 */
#slogan-section {
    position: relative;
    width: 100%;
    height: 550px; /* 可根據需求調整高度 */
    background: url('../../images/slogan-bg.png') no-repeat center center/cover; /* 背景圖片 */
    background-attachment: fixed;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .slogan-content {
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 10px;
  }
  
  .slogan-title,
  .slogan-subtitle {
    font-family: 'Noto Sans TC', sans-serif;
    /* white-space: nowrap; */ /* 防止文字換行 */
    overflow: hidden;
    display: block;
    letter-spacing: 1px;
    line-height: 1.2;
    /*border-right: 2px solid rgba(255, 255, 255, 0.75);*/ /* 打字機光標效果 */
    /*animation: typingEffect 2s steps(7, end), blinkCursor 0.7s step-end infinite;*/
  }
  
  .slogan-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: normal !important;
    margin: 30px 0;
    animation-delay: 0s; /* 主標題立即開始打字 */
  }
  
  .slogan-subtitle {
    font-size: 18px;
    margin-top: 10px;
    /*opacity: 0; /* 一開始隱藏 */
    /*animation: typingEffect 2s steps(10, end), blinkCursor 0.7s step-end infinite;*/
  }
  
  /* 打字機效果 */
  @keyframes typingEffect {
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
  }
  
  /* 光標閃爍效果 */
  @keyframes blinkCursor {
    from {
      border-right-color: rgba(255, 255, 255, 0.75);
    }
    to {
      border-right-color: transparent;
    }
  }
  
  /* 淡入效果 */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  /* 隱藏光標 */
  .slogan-title.done,
  .slogan-subtitle.done {
    border-right: none; /* 移除光標 */
  }

/*網友好評推薦*/
#index-acclaimed {
    width: 100%;
    padding: 50px 20px;
    background-color: #f4efe7;
    background-image: url(../../images/acclaim-bg.png);
    background-position: top 100px center;
    background-repeat: no-repeat;
  }
  
  #index-acclaimed .wrap {
    max-width: 1400px;
    margin: 0 auto;
  } 
  
  @media screen and (max-width: 768px) {
    #slogan-section {
        background-attachment:inherit;
      }
  }


/*網友好評推薦輪播*/
#index-acclaimed .owl-left{cursor:hand;cursor:pointer;display:flex;align-items:center;justify-content: center;width: 5%;float:left;}
#index-acclaimed .owl-center{width: 90%;float:left;padding: 0 1vw;}
#index-acclaimed .owl-right{cursor:hand;cursor:pointer;display:flex;align-items:center;justify-content: center;width: 5%;text-align: right;float:left;}
#index-acclaimed .contain{text-align:center;font-size:22px;background: #ffffff;margin: 10px;border: 1px solid #ebebeb;border-radius: 40px;}
#index-acclaimed .contain a{display: inline-block;padding: 8px 20px 8px 20px;min-width: 215px;font-size: 20px;letter-spacing: 1px;color: #faf5ed;background: #906928;text-decoration:none;margin-top: -50%;}
#index-acclaimed .contain a:hover{ text-decoration:none; }
#index-acclaimed .contain a span{display: block;font-size: 16px;padding: 5px;color: #c4b196;}
#index-acclaimed .item{margin: 0 auto;padding: 10px 0vw;width: 95%;/* height: 350px; */overflow:hidden;display:flex;align-items:center;justify-content: center;/* border-right: 1px solid #ebebeb; *//* border-left: 1px solid #ebebeb; *//*background:#ffffff;*/}
#index-acclaimed .item img{width: 100%;/* height: 90%; */cursor:pointer;border-radius: 40px;}

#index-acclaimed .contain.contain_list{ width: calc(33% - 18px);}
@media (max-width: 655px) {
    #index-acclaimed .contain.contain_list{ width: calc(50% - 20px);}
}
@media (max-width: 500px) {
    #index-acclaimed .contain.contain_list{ width: calc(100% );}
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 品牌故事 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
  
#story-history {
  width: 100%;
  padding: 2vw 20px;
  /* background-color: #faf9f6; */
  background-image: url("../../images/story-bg.png"), url("../../images/news-bg.png");
  background-position: top 180px center, center;
  background-repeat: no-repeat, repeat;
  /* background-size: cover; */
  min-height: 500px;
}

#story-history .wrap {
  max-width: 1400px;
  margin: 0 auto;
}

#story-history .b-title-main {

display: block;

color: #8d5e35;

text-align: center;

line-height: 1.3;
}

#story-history .b-title-main i {
    font-size: 25px;
    /* 調整 | 符號的大小 */
    color: #ffffff;
    background: #8d5e35;
    border-radius: 50px;
    padding: 4px 6px 4px 9px;
    font-style: normal;
    margin: 0 15px;
    display: inline-block;
}

  #story-history .b-title-sub{
    
  }

  .story-section {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    margin: 50px 0;
    max-width: 1100px;
    margin: 1vw auto;
  }
  
  .story-section.section-left .story-image {
    order: 2;
  }
  
  .story-section.section-left .story-content {
    order: 1;
  }
  
  .story-section.section-right .story-image {
    order: 1;
  }
  
  .story-section.section-right .story-content {
    order: 2;
  }
  
  .story-image {
    flex: 1;
    max-width: 50%;
    padding: 0 2vw;
    display: flex;
    align-items:center;
    justify-content: end;
  }
  
  .story-image img {
    /* width: 100%; */
    height: auto;
    /* border-radius: 30px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  }
  
  .story-content {
    flex: 2;
    /* max-width: 50%; */
    padding: 20px;
  }
  
  .story-title {
    position: relative;
    font-size: 24px;
    font-weight: normal;
    color: #5e4d31;
    margin-bottom: 30px;
    padding: 0px 30px;
    letter-spacing: 5px;
    z-index: 1;
  }
  .story-title:before {
    position: absolute;
    top: 40%;
    left: 0;
    transform: translateY(-50%);
    /* 垂直置中 */
    content: "";
    margin: 0 8px;
    display: inline-block;
    width: 70px;
    height: 70px;
    background-color: #e7d7bc;
    /* 圓圈背景顏色 */
    border-radius: 50%;
    /* 圓形背景 */
    z-index: -1;
    /* 確保背景在文字下方但仍可見 */
    pointer-events: none;
    /* 確保不影響點擊事件 */
}  
  
  .story-description {
    font-size: 18px;
    line-height: 1.8;
    margin: 20px 0;
    color: #000000;
    font-weight: 500;
  }


/* 浮動效果樣式 */
.story-img-animation {
    display: block;
    margin: 20px auto; /* 置中 */
    animation: floatEffect 2s ease-in-out infinite; /* 添加上下浮動動畫 */
    transition: opacity 0.3s ease; /* 平滑過渡效果 */
}

.story-img-animation:hover {
    opacity: 0.8; /* 略微透明 */
}

/* 定義上下浮動的動畫 */
@keyframes floatEffect {
    0%, 100% {
        transform: translateY(0); /* 初始位置 */
    }
    50% {
        transform: translateY(-10px); /* 向上移動 10px */
    }
}

  /* RWD 調整：視窗寬度小於 768px */
@media (max-width: 768px) {

    #story-history .product-line{ display: none;}

    .story-section {
      flex-direction: column; /* 改為垂直排列 */
      /* text-align: center; */ /* 文字置中 */
      border-bottom: 1px dashed #e7d7bc;
    }

    #story-history .story-section:last-child {
      border-bottom: none; /* 最後一個區塊不顯示底線 */
    }
  
    .story-image {
      max-width: 100%; /* 圖片寬度改為 100% */
      padding: 0;
      margin-top: 20px; /* 增加圖片與文字的間距 */
    }
  
    .story-content {
      max-width: 100%; /* 文字寬度改為 100% */
      padding: 0 10px;
    }
  
    .story-title {
      font-size: 20px; /* 縮小標題字體 */
    }
  
    .story-description {
      font-size: 14px; /* 縮小描述字體 */
    }

    .story-section.section-left .story-image {
        order: 1;
      }
      
      .story-section.section-left .story-content {
        order: 2;
      }
      
      .story-section.section-right .story-image {
        order: 1;
      }
      
      .story-section.section-right .story-content {
        order: 2;
      }

  }

  
  /* RWD 調整：視窗寬度小於 480px */
  @media (max-width: 480px) {
    .story-title {
      font-size: 18px; /* 再次縮小標題字體 */
    }
  
    .story-description {
      font-size: 16px; /* 再次縮小描述字體 */
    }
  
    .story-image img {
      border-radius: 20px; /* 減少圖片圓角 */
      max-width: 220px;
    }
  }

/* 安心宣告區塊樣式 */
#story-declare {
    padding: 50px 20px;
    background-color: #ffffff;
  }
  
  #story-declare .wrap {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .declare-grid {
    display: flex;
    justify-content: center; /* 水平置中 */
    flex-wrap: wrap; /* 允許換行 */
    gap: 20px; /* 區塊之間的間距 */
    margin: 0 auto; /* 讓整個區塊水平置中 */
  }
  
  .declare-item {
    position: relative;
    text-align: center;
    flex: 1 1 calc(20% - 20px); /* 預設每行顯示 5 個 */
    text-align: center;
  }
  
  .declare-item img {
    /* width: 100%; */
    /* max-width: 150px; */
    height: auto;
    border-radius: 50%;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    margin-top: 40px;
  }
  
.declare-bubble {
    position: relative; /* 改為 relative */
    display: inline-block; /* 確保內容不會換行 */
    max-width: 220px;
    background-color: #f4efe7;
    color: #764519;
    padding: 20px 20px;
    border-radius: 10px;
    line-height: 1.5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    /* white-space: nowrap; */
    transition: transform 0.3s ease, opacity 0.3s ease; /* 增加浮動效果 */
    animation: floatEffect 2s ease-in-out infinite;
}

@keyframes floatEffect {
    0%, 100% {
        transform: translateY(0); /* 初始位置 */
    }
    50% {
        transform: translateY(-10px); /* 向上移動 10px */
    }
}

/* 使用不同的時間差 */
.declare-item:nth-child(1) .declare-bubble {
    animation-delay: 0s;
  }
  
  .declare-item:nth-child(2) .declare-bubble {
    animation-delay: 0.5s;
  }
  
  .declare-item:nth-child(3) .declare-bubble {
    animation-delay: 1s;
  }
  
  .declare-item:nth-child(4) .declare-bubble {
    animation-delay: 1.5s;
  }
  
  .declare-item:nth-child(5) .declare-bubble {
    animation-delay: 2s;
  }

  /* 添加倒三角 */
  .declare-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px; /* 倒三角的位置 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #f4efe7; /* 倒三角的顏色與背景一致 */
  }  
  
  /* 高低參差效果 */
  .item-high {
    margin-top: 0;
  }
  
  .item-medium {
    margin-top: 30px;
  }
  
  .item-low {
    margin-top: 60px;
  }
  

/* 1024px 以下：每行顯示 1 個 */
@media (max-width: 1024px) {
    .declare-item {
        flex: 1 1 25%; /* 每行顯示 1 個 */
        max-width: 200px;
    }

    .item-high {
        margin-top: 0px;
        margin-bottom: 70px;
      }
      
      .item-medium {
        margin-top: 0px;
      }
      
      .item-low {
        margin-top: 0px;
      }    
}

/* 480px 以下：每行顯示 1 個，並調整間距 */
@media (max-width: 480px) {
    .declare-grid {
        gap: 10px; /* 減少間距 */
    }
    .declare-item {
        flex: 1 1 100%; /* 每行顯示 1 個 */
        max-width: 190px;
        margin: 0 0 40px 0;
    }
    .declare-item img {margin-top: 10px;}

    #story-declare {
      padding: 50px 20px 0 20px;
    }

    #story-declare .b-title-container{
      margin: 0px auto 60px auto;
    }

}

@media (max-width: 460px) {

}


@keyframes floatEffect {
    0%, 100% {
      transform: translateY(0); /* 初始位置 */
    }
    50% {
      transform: translateY(-10px); /* 向上移動 10px */
    }
  }

  /*安心檢驗區塊*/
  #index-certificate {
    position: relative;
    width: 100%;
    padding: 50px 20px;
    background-color: #ffffff;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  #index-certificate .wrap {
    max-width: 1400px;
    margin: 0 auto;
  }


  .certificate-carousel {
    position: relative;
    margin-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .certificate-item {
    background: #f7f3ee;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    padding: 40px 0px;
    margin: 5px;
    text-align: center;
    border-radius: 5%;
  }
  .certificate-item .item-image{
    position: relative;
    display: inline-block;
}  
.certificate-item .add-icon{
    position: absolute;
    bottom: -15px;
    right: -15px;
}
  
  .certificate-item .item-image img {
    /*width: 100%;*/
    max-width: 180px;
    height: auto;
    border-radius: 10px;
  }
  
  .certificate-item .item-content h3 {
    font-size: 18px;
    color: #191919;
    margin: 30px 0;
    font-weight: normal;
    text-align: center;
  }
  
  .certificate-item .item-content p {
    font-size: 15px;
    color: #8d5e35;
    line-height: 25px;
    margin: 10px 0 20px 0;
    text-align: left;
  }

  .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 40px auto 5vw auto;
  }
  
  .section-title .line {
    flex: 1;
    height: 1px;
    /* background: #b2b2b2; */ /* 虛線顏色 */
    border-top: 1px dashed #b2b2b2; /* 虛線樣式 */
  }
  
  .section-title .title-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px; /* 左右間距 */
  }
  
  .section-title .circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px; /* 圓形直徑 */
    height: 55px;
    margin: 0 3px; /* 圓形之間的間距 */
    background-color: #8c1b01; /* 圓形背景色 */
    color: #e7d7bc; /* 字體顏色 */
    font-size: 26px;
    /* font-weight: bold; */
    border-radius: 50%; /* 圓形 */
    text-align: center;
  }


  /*門市據點*/
  #story-store {
    position: relative;
    width: 100%;
    padding: 50px 10px;
    background-color: #f4efe7;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  
  #story-store .wrap {
    max-width: 1400px;
    margin: 0 auto;
  }

  #store-locations {
    padding: 20px 10px 50px 10px;
    /* background-color: #f7f3ee; */
    max-width: 1200px;
    margin: 0 auto;
  }
  
  #store-locations .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }
  
  .store-item {
    /*flex: 1 1 calc(50% - 20px);  每行顯示兩個，間距 20px */
    width:calc(50% - 10px);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .store-item:hover {
    transform: translateY(-5px); /* 滑鼠移過時微微上移 */
  }
  
  .store-image {
    display: block;
    overflow: hidden;
  }
  
  .store-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease; /* 放大效果 */
  }
  
  .store-image:hover img {
    transform: scale(1.1); /* 滑鼠移過時放大 */
  }
  
  .store-info {
    padding: 20px;
    text-align: center;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column; /* 預設為垂直排列 */
    /* gap: 10px; */ /* 區塊間距 */
  }
  
  .store-info h3 {
    font-size: 20px;
    color: #764519;
    margin-bottom: 10px;
    font-weight: normal;
    border-bottom: 1px dashed #aaa7a1;
    padding: 0 0 10px 0;
    margin: 0px 0 20px 0;
  }
  
  /* 地址與營業時間樣式 */
  .store-info p span {
    flex: 0 0 auto; /* 固定寬度 */
    margin-right: 10px; /* 與文字間距 */
    white-space: nowrap; /* 防止換行 */
    display: inline-block;
    background-color: #d5bf9c; /* 背景色 */
    color: #3a291a; /* 字體顏色 */
    padding: 5px 10px; /* 內距 */
    border-radius: 20px; /* 圓角 */
    font-size: 14px; /* 字體大小 */
    margin-right: 10px; /* 與文字的間距 */
  }
  
  .store-info p {
    display: flex;
    /* flex-wrap: wrap; */ /* 允許換行 */
    align-items: center; /* 垂直置中 */
    font-size: 16px;
    color: #333;
    margin: 10px 0;
    text-align: left;
    line-height: 1.3;
    flex: 1; /* 讓文字部分自適應寬度 */
  }
  
  /* RWD 支援：小於768px時，每行顯示一個 */
  @media (max-width: 768px) {

  #index-certificate {
    padding: 0px 20px 50px 20px;
  }

    .section-title .circle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px; /* 圓形直徑 */
      height: 40px;
      margin: 0 1px; /* 圓形之間的間距 */
      background-color: #8c1b01; /* 圓形背景色 */
      color: #e7d7bc; /* 字體顏色 */
      font-size: 18px;
      /* font-weight: bold; */
      border-radius: 50%; /* 圓形 */
      text-align: center;
    }

    .store-info {
        /* flex-direction: row; */ /* 改為水平排列 */
        /* flex-wrap: wrap; */ /* 允許換行 */
        /* justify-content: space-between; */ /* 左右對齊 */
      }
    
      .store-info p {
        /* flex: 0 0 48%; */ /* 每個區塊占 50% 空間 */
      }    
    .store-item {
      flex: 1 1 100%; /* 每行顯示一個 */
    }
  }

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 最新消息 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.website-bg1{background-image: url("../../images/news-bg.png");}

  #inner-news {
    width: 100%;
    padding: 40px 15px 40px 15px;
}

#inner-news .wrap {
    /*display:flex;flex-wrap: wrap;*/
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.news-frame .news-title span, .news-frame .news-date span{ color: #000000; margin-right: 20px;}
.news-frame .news-title > div, .news-frame .news-date > div{ display: inline-block;}
#inner-news .editor{border-top:1px dashed #b2b2b2;border-bottom:1px dashed #b2b2b2;margin: 0 0 40px 0;padding: 40px 0;}

.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.news-item {
  background-color: #fff;
  border: 1px solid #e7d4b5;
  border-radius: 40px;
  overflow: hidden;
  width: calc(50% - 10px); /* 每行兩個 */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
  display: flex;
  /* gap: 20px; */ /* 左右區塊間距 */
  margin-bottom: 20px; /* 每個新聞項目間距 */
}

/* 左邊圖片區域 */
.news-image {
  flex: 3; /* 左邊區域占 1 */
}

.news-image img {
  width: 100%; /* 圖片寬度填滿父容器 */
  height: auto; /* 保持圖片比例 */
  max-height: 280px; /* 固定圖片高度 */
  object-fit: cover; /* 確保圖片不變形 */
  border-radius: 40px; /* 圓角 */
  padding: 20px 20px; /* 與框框的間距 */
}

.news-content {
  flex: 3; /* 右邊區域占 2 */
  padding: 50px 1vw 20px 1vw;
  text-align: right;
}

.news-date {
  font-size: clamp(18px, 1.5vw, 24px);
  color: #cb9a69;
  margin-bottom: 10px;
  text-align: left;
}

.news-title span, .news-date span{font-size: 16px;margin: 0 5px 0 0;color: #cb9a69;}
.news-title  img,.news-date  img{ margin: 0 5px 0 0;}

.news-date span{/* font-size: 18px; */}

.news-title {
  font-size: clamp(20px, 1.5vw, 24px);
  color: #191919;
  margin: 20px 0;
  font-weight: normal;
  text-align: left;
}

.news-title a:hover{ text-decoration: underline;}

.news-description {
  font-size: 16px;
  color: #8d5e35;
  margin-bottom: 15px;
  line-height: 1.5;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 限制顯示兩行 */
  overflow: hidden; /* 隱藏超出部分 */
  text-overflow: ellipsis; /* 添加省略號 */  
}

/* RWD 支援 */

@media screen and (max-width: 1024px) {
  .news-item {
    display: block;
  }
  .news-title{margin:10px 0;}
  .news-content{padding: 0px 20px 20px 20px;}
  
}

@media (max-width: 768px) {
  .news-item {
    width: 100%; /* 每行一個 */
  }
  .news-frame .news-title > div{ display: block;}
}

/*詳細頁*/
.product-frame {
  background-color: #fff;
  border: 1px solid #e7d4b5;
  border-radius: 40px;
  width: 100%;
  padding: 30px 20px;
  margin-bottom: 50px;
  line-height: 1.7;
  min-height: 200px;
  letter-spacing: 1px;
}

.news-frame {
  background-color: #fff;
  border: 1px solid #e7d4b5;
  border-radius: 40px;
  width: 100%;
  padding: 5vw;
  line-height: 1.7;
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------------------------------->>> 常見Q&A <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#faq-list{ padding-top:0; margin:50px 0 0 0; }
.news-items{width:100%;overflow:hidden;margin: 0 0 15px 0;}
.faq-items:not(:first-child){/* border-top: 1px dotted #adadad; */}
.faq-items .faq-title{/* display:flex; */padding: 30px 25px;margin: 0px 0 20px 0;font-size: 16px;border: 1px solid #e7d4b5;background: #ffffff;border-radius: 20px;}
.faq-items .faq-title.change{ border-bottom:0 !important; }
.faq-items .faq-title:hover{ /*background:#f4f4f4;*/ }
.faq-items .faq-title .left{/*flex:1;*/color: #737373;font-size: 14px;}
.faq-items .faq-title .left span{color: #C9B27E;font-size:30px;font-weight:bold;/* padding-left:15px; */}
.faq-items .faq-title .right{cursor:pointer; position:relative;flex:4;color: #191919;padding: 0 0px 0 55px;font-size: 20px;/* font-weight: bold; */line-height: 22px;display: flex;align-items:center;/* font-weight: bold; */}
.faq-items .faq-title .right span{position:absolute;top: -7px;width: 35px;height: 35px;font-size: 30px;left: 0px;color: #ffffff;background: #8c1b01;padding: 6px 1px 6px 0px;border-radius: 50px;/* border: 1px solid #6b6b6b; */display: flex;align-items: center;justify-content: center;}
.faq-items .faq-title .right span:after{ content:url(../../images/certificate-add.png); }
.faq-items .faq-title .right span.change:after{ content:url(../../images/certificate-minus.png); }

.faq-items .faq-title a{ color:#343434; text-decoration:none; }
.faq-items .faq-content{/* background:#f3f3f3; */font-size:15px;padding: 20px 0px;margin: 30px 0 0 0;line-height:23px;border-top: 0;display: flex;border-top: 1px dashed #b2b2b2;}
.faq-items .faq-content .editor{padding: 0px 20px;}
.faq-items .faq-content .youtube{ width:100%; max-width:600px; overflow:hidden; margin:0 auto; }

@media screen and (max-width : 480px) {
  .faq-items .faq-title{/* display:block; */padding: 30px 15px;}
	.faq-items .faq-title .right{padding: 0px 0px 0px 50px;}	
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 訂購紀錄 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/


.order-table {
  width: 100%;
  /* margin: 20px 0; */
  border-collapse: collapse;
}

.order-table table {
  width: 100%;
  border-collapse: collapse;
  /* border: 1px solid #ddd; */
}

.order-table a{ text-decoration: underline;}

.order-table th, .order-table td {
  padding: 10px;
  text-align: center;
}

.order-table thead th {
  background-color: #e7d7bc;
  color: #3a291a;
  /* font-weight: bold; */
}

.order-table td {
  border-bottom: 1px dashed #ddd;
}

.order-table thead th:first-child {
  border-top-left-radius: 20px; /* 左上圓角 */
  border-bottom-left-radius: 20px; /* 左下圓角 */
}

.order-table thead th:last-child {
  border-top-right-radius: 20px; /* 右上圓角 */
  border-bottom-right-radius: 20px; /* 右下圓角 */
}

.order-table tbody tr:nth-child(even) {
  background-color: #f8f3eb;
}

.order-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.order-table tbody td {
  color: #3a291a;
}

.order-table .status-processing {
  color: #8c1b01;
  font-weight: bold;
}

.order-table .status-completed {
  color: #3a291a; /* 金色 */
  font-weight: bold;
}

.order-table .status-cancelled {
  color: #b38143; /* 橙色 */
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .order-table th:nth-child(2),
  .order-table th:nth-child(3),
  .order-table th:nth-child(4),
  .order-table td:nth-child(2),
  .order-table td:nth-child(3),
  .order-table td:nth-child(4) {
    display: none; 
  }
}


@media screen and (max-width: 480px) {
  .order-table th:nth-child(2),
  .order-table th:nth-child(3),
  .order-table th:nth-child(4),
  .order-table th:nth-child(5),
  .order-table td:nth-child(2),
  .order-table td:nth-child(3),
  .order-table td:nth-child(4),
  .order-table td:nth-child(5) {
    display: none;
  }
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 會員登入 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.layout-flex2 { display: flex; flex-wrap: wrap; margin: 30px 0 30px 0; max-width: 1200px; }
.layout-flex2 .flex-item-1,
.layout-flex2 .flex-item-2{width:28%;padding: 0 0 0 5px;}
.layout-flex2 .flex-item-3{ width:72%;}
.layout-flex2 .flex-item-5{ width:50%;}

.login-area{width:100%;margin:0 auto;text-align: center;}
.mw-340{max-width: 340px !important;}
.login-area img{margin: 0 0 0px 0;/* width:100%; */max-width: 100%;}
.login-area img:hover{ opacity:.8; }
.login-area input{
    border: 1px solid #e7d4b5;
    padding: 15px 15px;
    box-sizing: border-box;
    margin: 10px 0;
    font-size: 16px;
    width: 85%;
    border-radius: 10px;
    color: #b3a48a;
    letter-spacing: 1px;
}
.login-area .caption{ font-size: 16px; font-weight: bold; margin: 0 0 10px 0; }
.login-area .note{font-size: 16px;/* font-weight: bold; */margin: 10px 0 5px 0;line-height: 20px;color: #5e4d31;}
.login-area .tips{font-size: 15px; margin: 0 0 5px 0;line-height: 20px; color:#4b4b4b; }
.login-area .note a:not(.btn-1){/* text-decoration:underline; */}
.login-area .note.align-center{ text-align:center !important; }
.login-area .note.margin-10{ margin:20px 0 !important; }
.login-area .btn-area{display:flex;align-items:center;justify-content: space-between;flex-direction:row-reverse;}
.login-area .btn-area span{ width:48% !important; padding:8px 0px; text-align:center; border-radius:3px; }

.login-area .links a{text-decoration: none !important; border-left:1px solid #dbdbdb;padding:0 9px;}

.login-area .links a:first-child{border-left:none; padding-left:0;}
#mem_login{width: 85%;margin: 0 auto 0;padding: 5%;display: flex;flex-direction: row;flex-wrap: wrap;letter-spacing: 1px;}
#mem_login > .page-title{margin-bottom: 20px;font-size: 20px;padding-bottom: 32px;}
#mem_login > .page-title h2{font-size: 20px;font-weight: normal;letter-spacing: 1px;color: #5e4d31;}
#mem_login .flex-item{padding: 15px 50px;}
.third-login{border-right: 1px dashed #b1b0af;}
.third-login img{ margin-bottom: 20px;}
.login-area .title{margin-bottom: 25px;padding-bottom: 10px;}
.login-area .title img{display: block;margin: 0 auto 20px auto;}
.m-title.page-title{ width:100%; }

.policy {font-size:0.86rem !important;color: #5e4d31;}
.policy a {color: #8c1b01;cursor: pointer;border-bottom: 4px solid #e7d7bc;padding: 0 0 5px 0;display: inline-block;}
.a.policy{ display:inline-block; color:#8c1b01;cursor: pointer;border-bottom: 4px solid #e7d7bc;padding: 0 0 5px 0;}

.input{display: inline-flex; width:100%;align-items: center;}
.input span{width: 110px;display: inline;}

.margin-top-bottom-30{margin: 35px auto 30px auto !important;}
.center{text-align: center;}

#inner-signup input::placeholder, #mem_login .input input::placeholder, textarea::placeholder {
    color: #b3a48a; /* 設定 placeholder 顏色 */
    font-size: 16px; /* 設定字體大小 */
    letter-spacing: 1px; /* 設定字母間距 */
    font-family: 'Noto Sans TC', sans-serif; /* 設定字體 */
  color: #b3a48a; /* 設定 placeholder 顏色 */
}

.m-0{margin:0px !important;}
.mt-0{margin-top:0 !important;}
.mt-35{margin-top:35px !important;}
.mt-30{margin-top:30px !important;}

.mt-10{margin-top:10px !important;}
.mb-10{margin-bottom:10px !important;}
.mb-30{margin-bottom:30px !important;}
.mt30-mb50{margin-top:30px !important;margin-bottom:50px !important;}
.mh-30{min-height: 30px;}
.pl-15{padding-left:15px !important;}
.pr-15{padding-right:15px !important;}
.p-50{padding:50px !important;}
.pl-22{padding-left:22px !important;}
.pt-10{padding-top:10px !important;}

.line-through{text-decoration: line-through;}
.border-0{border:0 !important;}
.btn-1.line{background: #01b901 !important; }
.btn-1.fb{background:  #0051c6  !important; }
.btn-1.google{background:  #ec402b  !important; }

.btn-1.btn-login{border-radius: 10px; margin: 20px auto; width:95%;height: 55px;display: flex;align-items: center;max-width: 300px;}
.btn-1.btn-login:before{border-left: 1px solid #dFdFdF; top:unset;}


@media screen and (max-width : 900px) {
	#mem_login{width:100%;}
	#mem_login .flex-item{ padding: 15px 0;}
	.third-login{border-right: none;}
	.flex-item{flex: 100%;}
	.note.center.mb-20p{padding:0;}
  .login-area .title{margin-bottom: 10px;}
  .login-area .btn-area{display:block;}
  .login-area .btn-area .links{ margin:20px 0;}
  #mem_login > .page-title{ padding-bottom: 0; }
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 會員註冊 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#inner-signup{}
#inner-signup .caption{font-size: 16px;color: #6a6a6a;line-height:25px;font-family: 'Noto Sans TC', sans-serif;margin-bottom:50px;text-align: center;}
#inner-signup .caption span{ color:#ae0101; font-size:14px; }
#inner-signup .flex-table{display:flex;max-width:870px;width:100%;margin:0 auto;padding:0 10px;/* border-bottom:1px dashed #e1e1e1; */}
#inner-signup .flex-table.line{border-bottom:1px dashed #b2b2b2;}
#inner-signup .flex-table .flex-th{width:120px;text-align:left;display:flex;align-items:center;font-size: 16px;color: #3a291a;/* border-top:1px solid #c9c9c9; *//* border-right: 1px solid #c9c9c9; */}
#inner-signup .flex-table .flex-th font{color:#8c1b01;margin-right: 5px;}
#inner-signup .flex-table .flex-th i{ display:inline-block; width:10px; font-style:inherit; color:#F00; padding-right:5px; }
#inner-signup .flex-table .flex-th span{ display:inline-block; color:#067d97; font-size:12px; }
#inner-signup .flex-table .flex-td span :not(.checkmark2){ display:inline-block; color:#aa7827; font-size:12px; }
#inner-signup .flex-table .flex-td span.checkmark2{  color:#aa7827; font-size:12px; }
#inner-signup .flex-table .flex-td{flex:4;padding: 5px 10px;text-align:left;/* border-top:1px solid #c9c9c9; */min-height: 50px;font-size: 15px;/* display: flex; */align-items:center;}
#inner-signup .flex-table .middle{ display:flex; align-items:center; }

#inner-signup .flex-table input[type='text'],
#inner-signup .flex-table input[type='file'],
#inner-signup .flex-table input[type='password'],
#inner-signup .flex-table select{

outline:0;

width:100%;

background: #ffffff;

border: 1px solid #bfbfbf;

color:#333333;

font-size:15px;

padding: 12px 20px;

margin: 5px 0;

box-sizing: border-box;

border-radius: 15px;

border: 1px solid #e7d4b5;

padding: 15px 15px;

box-sizing: border-box;

margin: 0 0 10px 0;

font-size: 16px;

width: 100%;

border-radius: 10px;

color: #706148;

letter-spacing: 1px;
}

#inner-signup .flex-table textarea{min-height: 100px;outline:0;width:100%;background: #ffffff;border: 1px solid #e7d4b5;color: #706148;font-size:15px;padding: 15px 15px;margin: 5px 0;box-sizing: border-box;border-radius: 15px;}
#inner-signup .flex-area{display:flex;}

#inner-signup .flex-area .flex-column{flex: 1;padding: 0 5px; font-size:15px; }
#inner-signup .flex-area .flex-column2{flex: 2;padding: 0 5px;}
#inner-signup .flex-area .flex-column5{flex: 5;padding: 0 5px;}
#inner-signup .flex-table .zipcode{ font-size:15px; color:#787878; }
#inner-signup .flex-table .zipcode span{ font-size:13px; color:#00629f; padding:0 10px; }
#inner-signup span.btn{display: inline-block;border: 1px solid #cf6b00;color: #cf6b00;cursor:pointer;margin: 5px 3px;text-decoration: none;padding: 10px 20px;-webkit-border-radius: 20px;-moz-border-radius: 20px;border-radius: 20px;}

#fancy-frame{ width:100%; padding:40px 5%; }
#fancy-frame .bottom{ width:100%; padding:30px 30px; text-align:center; }


@media screen and (max-width : 768px) {
  	#inner-signup .flex-area{/* display:block; */}
  	#inner-signup .flex-area .flex-column{ padding:5px; }
}

@media screen and (max-width : 480px) {
	#inner-signup .flex-table .flex-th{ border:0; padding:15px 0 0 0; font-weight:bold; }
	#inner-signup .flex-table{ display:block; }
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 產品列表 <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#product-list {
  display: flex;
  flex-wrap: wrap;
  /* gap: 10px; */
  margin: 0 0 50px 0;
   /* 每個項目之間的間距 */
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 每個項目之間的間距 */
  justify-content: flex-start; /* 項目靠左對齊 */
}

#product-list .recommend-item {
  flex: 0 1 calc(32.333% - 20px); /* 三欄佈局，每欄占 1/3 寬度，減去間距 */
  box-sizing: border-box; /* 確保 padding 不影響寬度計算 */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 10px;
  text-align: center;
  border: 1px solid #e7d4b5;
}

#product-list .recommend-item {
  flex: 0 1 calc(30.333% - 0px); /* 三欄佈局，每欄占 1/3 寬度，減去間距 */
  box-sizing: border-box; /* 確保 padding 不影響寬度計算 */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  /* margin: 10px; */
  text-align: center;
}

#product-list .recommend-item .item-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

#product-list .recommend-item .item-content h3 {
  font-size: 18px;
  color: #191919;
  margin: 10px 0;
  font-weight: normal;
  text-align: center;
}

#product-list .recommend-item .item-content p {
  font-size: 15px;
  color: #8d5e35;
  line-height: 25px;
  margin: 10px 0 10px 0;
  text-align: left;
  min-height: 50px;
}

#product-list .recommend-item .btn-more {
  display: inline-block;
  font-size: 14px;
  color: #d3474d;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

#product-list .recommend-item .btn-more:hover {
  text-decoration: underline;
}


@media (max-width: 768px) {
  #product-list .recommend-item {
     padding: 20px 20px;
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  #product-list .recommend-item {
    flex: 1 1 45%;
  }
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 商品詳細內頁 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

#product-detail{width:100%;overflow:hidden;margin: 0px;padding: 25px 0 25px 0;/* background: #ffffff; */display: flex;/* align-items:center; *//* box-shadow: 1px 1px 6px #cccccc; *//* justify-content: center; */}
#product-detail .left{float:left;width:50%;text-align: center;color:#e1e1e1;letter-spacing:2px;}
#product-detail-detail .left .editor{ padding-bottom:10px !important; }
#product-detail img{ border-radius: 20px;}
#product-detail .bimg{ width: 100%; }
#product-detail .btn-cart{ width:140px; }

/*owl*/
#product-detail .owl-left{cursor:hand;cursor:pointer;display:flex;align-items:center;justify-content: center;width: 10%;float:left;}
#product-detail .owl-center{width: 80.5%;float:left;}
#product-detail .owl-right{cursor:hand;cursor:pointer;display:flex;align-items:center;justify-content: center;width: 10%;text-align: right;float:left;}

#owl-photography2 .item{margin: 5px 5px;padding: 0px 3px;/*height:140px;*//*overflow:hidden;*//* display:flex; *//* align-items:center; *//* justify-content: center; */width:98%;/* background:#ffffff; *//* border: 1px solid #d2bb8b; */}
#owl-photography2 .item img{width:100%;/*margin:5px; box-shadow:2px 2px 8px rgba(15%,15%,40%,0.1);*/margin: 0 0px;display: block;}


#product-detail .right{float:left;width: 50%;box-sizing:border-box;letter-spacing: 2px;padding: 0px 30px;}
#product-detail .right > .title{font-size: 30px;color: #906928;font-family: "Noto Serif HK", serif;font-optical-sizing: auto;font-weight: bold;font-style: normal;}
#product-detail .right .number{color: #3a291a;font-size: 16px;line-height: 32px;padding: 20px 0 30px 0;}
#product-detail .right .number span{ margin-left:5px; }
#product-detail .right .spec{color: #906928;font-size: 18px;line-height: 32px;padding: 30px 0 30px 0;}
#product-detail .right .spec span{
    display: inline-block;
    text-align: center;
    border: 1px solid #906928;
    padding: 0px 15px;
    min-width: 100px;
    cursor: pointer;
}
#product-detail .right .spec span:hover, #product-detail .right .spec span.active { 
  border: 1px solid #ed931f; 
  color: #ed931f; 
}
#product-detail .right .price{color: #8c1b01;font-size: 16px;padding: 0px 0 20px 0;}
#product-detail .right .price span{font-size: 24px;color: #8c1b01;padding-right:10px;font-family: "Noto Serif HK", serif;font-optical-sizing: auto;font-weight: bold;font-style: normal;}
#product-detail .right #css_table .css_td{letter-spacing:1px;line-height: 26px;padding: 0 0 15px 0;}
#product-detail .right #css_table .title{ width:90px; vertical-align:top; }
#product-detail .right #css_table .title span{ display:inline-block; width:75px; border-right:1px solid #906928; text-align:justify; }

#product-detail .massOrder{display:inline-block;color: #ffffff!important;font-size:15px !important;width: 145px;padding: 5px 0px 5px 0;margin: 5px 0;line-height: 30px;text-decoration:none;letter-spacing:2px;border-radius: 30px;border: 1px solid #ed931f;background: #ed931f;cursor:hand;cursor:pointer;}
#product-detail .massOrder img{ vertical-align:-20%;}
#product-detail .massOrder:hover{
 background: #dd8514;
 color:#ffffff !important;
 border: 1px solid #dd8514;
 -webkit-transition: all .4s ease;
 -moz-transition: all .4s ease;
 -o-transition: all .4s ease;
 transition: all .4s ease;
 -ms-transition: all .4s ease;
 }
 #product-detail .massOrder:hover img{ filter: brightness(0) invert(1); }
 #product-detail .massOrder.on{ background:#dd8514; color:#ffffff !important; border: 1px solid #dd8514; }

 #product-detail .price {
  font-size: 24px;
  color: #8c1b01;
  margin-bottom: 20px;
}

#product-detail .promotion {
  margin-bottom: 20px;
}

#product-detail .promo-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 16px;
  color: #3e3e3e;
  line-height: 1.5;
}

#product-detail .promo-label {
  /* font-weight: bold; */
  color: #8c1b01;
  margin-right: 10px;
  font-size: 16px;
  padding: 5px 10px;
  border: 1px solid #8c1b01;
  border-radius: 10px;
  min-width: 95px;
  text-align: center;
}

#product-detail .promo-desc {
  color: #5e4d31;
  line-height: 1.5;
}

#product-detail .css_tr {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#product-detail .css_td.title {
  font-size: 16px;
  color: #333333;
  max-width: 115px;
}

#product-detail .css_td {
  flex: 1;
}

#product-detail .product-select {
  width: 100%;
  max-width: 250px;
  padding: 10px;
  border: 1px solid #e7d4b5;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.btn-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* width: 140px; */ /* 整個框的寬度 */
  height: 40px; /* 整個框的高度 */
  border: 1px solid #e7d4b5;
  border-radius: 10px; /* 圓角 */
  overflow: hidden;
  background-color: #fff; /* 背景色 */
}

.btn-cart .product_input {
  flex: 1;
  text-align: center;
  border: none;
  outline: none;
  height: 100%;
  font-size: 16px;
  background-color: transparent; /* 背景透明 */
}

.btn-cart .jq_decrease,
.btn-cart .jq_increase {
  width: 22px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: #8c1b01; */ /* 按鈕背景色 */
  color: #fff; /* 按鈕文字顏色 */
  font-size: 18px;
  cursor: pointer;
}

.btn-cart .jq_decrease {
  position: absolute;
  /* top: 8px; */
  left: 6px;
  /* border-right: 1px solid #e7d4b5; */ /* 左按鈕右邊框 */
}

.btn-cart .jq_increase {
  position: absolute;
  right: 5px;
  /* border-left: 1px solid #e7d4b5; */ /* 右按鈕左邊框 */
}

.btn-cart .product_input {
  width: 70px;
  text-align: center;
  /* margin: 0 10px; */
  border: 1px solid #e7d4b5;
  border-radius: 5px;
}

#product-detail .gift-selection:first-of-type {
  border-top: 1px dashed #a7a5a3;
}

#product-detail .gift-selection {
 /* margin: 20px 0;*/
  padding: 0px 0 0 0;
  border-bottom: 1px dashed #a7a5a3;
  font-size: 16px;
}

#product-detail .gift-selection span {
  position: relative;
  font-size: 16px;
  /* font-weight: bold; */
  color: #5e4d31;
  margin: 20px 0;
  display: inline-block;
  border-right: 1px solid #999999;
  /*margin: 20px 10px 10px 0px;*/
  margin: 0px 10px 10px 0px;
  padding: 0 10px 0 10px;
}

#product-detail .gift-selection .promotion span.promo-desc {border:0;}
#product-detail .gift-selection .promotion {margin-top:20px;margin-bottom:10px;}
#product-detail .gift-selection .promotion span.promo-label {padding:5px 10px;}
#product-detail .gift-selection .promo-item {margin-bottom: 0;}

#product-detail .gift-selection .title{margin: 10px 10px 10px 0px;padding: 0 0 0 15px;color: #3e3e3e;border: 0;line-height: 1.5;}

#product-detail .gift-selection ul {
  list-style: none;
  padding: 0;
}

#product-detail .gift-selection li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

#product-detail .gift-selection input[type="radio"] {
  margin-right: 10px;
}

@media screen and (max-width:1400px) {
	#product-detail .right{padding: 0px 20px 0 20px;}
}
@media screen and (max-width:1000px) {
	#product-detail{ display:inherit; }
	#product-detail .left{width: 100%;float:none;margin: 30px auto;}
	#product-detail .right{width: 100%;float:none;margin: 0 auto;}
}
@media screen and (max-width:650px) {
  #product-detail{ padding:0px 0 25px 0;}
	#product-detail .left{width: 90%; margin:0 auto 10px auto; }
	#product-detail .right{width: 100%;padding:40px 0px 0 0px;}
}


.add-on-products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* 每個商品之間的間距 */
  /* justify-content: space-between; */
}

.add-on-products .addon-product-item {
  width: calc(20% - 20px); /* 一欄 5 個，減去間距 */
  box-sizing: border-box;
  text-align: center;
  border-radius: 10px;
  /* padding: 15px; */
  background-color: #fff;
}

.add-on-products .addon-product-item .product-image {
  width: 160px;
  height: 160px;
  object-fit: cover; /* 確保圖片填滿容器並保持比例 */
  border-radius: 10px;
  margin: 0 auto 10px auto; /* 置中並增加下方間距 */
  display: block;
  border: 1px solid #e7d4b5; /* 添加邊框 */
}

.add-on-products .addon-product-item .product-title {
  font-size: 16px;
  color: #333;
  margin: 10px 0;
}

.add-on-products .addon-product-item .product-price {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.add-on-products .addon-product-item .product-price .original-price {
  text-decoration: line-through;
  margin-right: 5px;
}

.add-on-products .addon-product-item .product-price .addon-price {
  color: #8c1b01;
  font-weight: bold;
}

.add-on-products .addon-product-item .product-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.add-on-products .addon-product-item .product-checkbox {
  display: none;
}

.add-on-products .addon-product-item .product-checkbox + label {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #e7d4b5;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
}

.add-on-products .addon-product-item .product-checkbox:checked + label {
  background-color: #8c1b01;
  border-color: #8c1b01;
}

.add-on-products .addon-product-item .btn-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* width: 110px; */
  height: 40px;
  border: 1px solid #e7d4b5;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}

.add-on-products .addon-product-item .btn-cart .product_input {
  width: 90px;
  flex: 1;
  text-align: center;
  border: none;
  outline: none;
  height: 100%;
  font-size: 14px;
  background-color: transparent;
}

.add-on-products .addon-product-item .btn-cart .jq_decrease{
  width: 25px;
  height: 25px;
  position: absolute;
  left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #8c1b01;
  border-radius: 40px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.add-on-products .addon-product-item .btn-cart .jq_increase {
  width: 25px;
  height: 25px;
  position: absolute;
  right: 3px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #8c1b01;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.add-on-products .product-checkbox {
  display: none; /* 隱藏原生核取方塊 */
}

.add-on-products .product-checkbox + label {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #e7d4b5;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  position: relative;
}

.add-on-products .product-checkbox:checked + label {
  background-color: #8c1b01;
  border-color: #8c1b01;
}

.add-on-products .product-checkbox:checked + label::after {
  content: "✔"; /* 顯示打勾符號 */
  color: #fff;
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 響應式設計 */
@media (max-width: 1024px) {
  .add-on-products .addon-product-item {
    width: calc(33.333% - 20px); /* 每行顯示 3 個商品 */
  }
}

@media (max-width: 768px) {
  .add-on-products .addon-product-item {
    width: calc(50% - 20px); /* 每行顯示 2 個商品 */
  }
}

@media (max-width: 480px) {
  .add-on-products .addon-product-item {
    width: 100%; /* 每行顯示 1 個商品 */
  }
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 購物車-確認購物車 <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/


.cart-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 16px;
  color: #3a291a;
}

.cart-table table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 15px 10px;
  text-align: center;
}

.cart-table td {
  padding: 10px 10px;
  text-align: center;
  border-top: 1px dotted #e8e8e8;
}

.cart-table tr.noline td {
  border-top: none; /* 移除底部邊框 */
}


.cart-table tr.line td {
  border-top: 1px dashed #b2b2b2;
}

.cart-table th {
  background-color: #e7d7bc;
  font-weight: bold;
  color: #5e4d31;
}

.cart-table th:first-child {
  border-top-left-radius: 20px; /* 左上圓角 */
  border-bottom-left-radius: 20px;
}

.cart-table th:last-child {
  border-top-right-radius: 20px; /* 右上圓角 */
  border-bottom-right-radius: 20px;
}

.cart-table .product-info {
  display: flex;
  align-items: center;
}

.cart-table .product-index {
  /* font-weight: bold; */
  margin-right: 10px;
  font-size: 16px;
}

.cart-table .product-image {
  width: 100px !important; /* 固定寬度 */
  height: 100px !important; /* 固定高度 */
  object-fit: cover; /* 確保圖片填滿容器並保持比例 */
  border: 1px solid #e7d4b5; /* 添加邊框 */
  border-radius: 5px; /* 圓角 */
  margin: 10px; /* 與文字的間距 */
}

.cart-table .product-details {
  /* display: flex; */
  flex-direction: column;
  font-size: 16px;
  text-align: left;
}

.cart-table .product-title {
  /* font-weight: bold; */
  color: #333333;
  font-size: 18px;
}

.cart-table .product-spec {
  font-size: 16px;
  color: #3a291a;
  text-align: left;
  padding: 0 10px 10px 10px;
}

.cart-table .product-gift {
  font-size: 16px;
  color: #8c1b01;
  text-align: left;
  padding: 5px 10px;
  margin: 0 10px;
  border: 1px solid #8c1b01;
  border-radius: 10px;
}


.cart-table .quantity-control {
  display: flex;
  align-items: center;
}

.cart-table .quantity-control button {
  width: 30px;
  height: 30px;
  background-color: #8c1b01;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}

.cart-table .quantity-control input {
  width: 50px;
  text-align: center;
  border: 1px solid #e7d4b5;
  border-radius: 5px;
  margin: 0 5px;
}

.cart-table .delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #8c1b01;
}

.cart-table .gift-title {
  /* background-color: #f9f5f0; */
  /* font-weight: bold; */
  font-size: 18px;
  padding: 50px 0 10px 0;
  text-align: left;
  color: #3a291a;
}

.cart-table .gift-label {
  display: inline-block;
  background-color: #f9e8e3;
  color: #8c1b01;
  font-size: 12px;
  padding: 2px 5px;
  border-radius: 5px;
  margin-top: 5px;
}

.cart-table tr.gift-row {
  background-color: #f9f5f0; /* 背景顏色 */
}

.cart-table tr.gift-row td {
  /* border-bottom: 1px dashed #b2b2b2; */ /* 可選：分隔線樣式 */
}

@media screen and (max-width: 768px) {
  .cart-table table,
  .cart-table thead,
  .cart-table tbody,
  .cart-table th,
  .cart-table td,
  .cart-table tr {
    display: block; /* 將表格轉為區塊顯示 */
  }

  .cart-table tr {
    margin-bottom: 15px; /* 每個商品之間的間距 */
   /* border-bottom: 1px dashed #b2b2b2;*/
  }

  .cart-table td {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    border-bottom: 0;
  }

  .cart-table td:not(:first-child)::before {
    content: attr(data-label); /* 使用 data-label 顯示欄位名稱 */
    font-weight: bold;
    color: #5e4d31;
    display: flex;
    align-items: center;
  }

  .cart-table th {
    display: none; /* 隱藏表頭 */
  }

  

  .cart-table .product-index {
    display: none;
  }

  /* 第一個 td：保留原本 border-top */
  .cart-table tr:not(.noline) td:first-child {
    padding-top:30px;
  
  }

  /* 其他 td：設定為不同樣式（例如透明、不同顏色或粗細） */
  .cart-table tr td:not(:first-child) {
    border-top: 0;
  }

  .cart-table .product-spec{
    padding:0;
    padding-bottom:10px;
  }

  .cart-table .product-gift{
    margin-left: 0;
  }
  
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 購物車-填寫資料 <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.cart-title{color:#3a291a;font-size: 18px;border-bottom: 1px dashed #b2b2b2;padding: 0 10px 10px 10px;margin: 0 0 30px 0;}

.layout-cart-right .order-summary .summary-item {
  display: flex;
  justify-content: space-between; /* 左右對齊 */
  margin-bottom: 10px; /* 每行間距 */
}

.layout-cart-right .order-summary .summary-item:last-child {
  margin-bottom: 0; /* 最後一行無間距 */
}

.layout-cart-right .order-summary .summary-item .label {
  font-size: 16px; /* 標籤字體大小 */
  color: #191919; /* 標籤顏色 */
}

.layout-cart-right .order-summary .summary-item .value {
  font-size: 16px; /* 數值字體大小 */
  color: #191919; /* 數值顏色 */
  /* font-weight: bold; */ /* 加粗 */
}

.layout-cart-right .order-summary .total {
  border-top: 1px dashed #b2b2b2; /* 總計上方虛線 */
  padding-top: 15px; /* 與上方內容的間距 */
  margin-top: 15px; /* 與上方內容的間距 */
  font-size: 18px; /* 總計字體大小 */
  font-weight: bold; /* 總計加粗 */
  color: #8c1b01; /* 總計顏色 */
}

.layout-cart-right .order-summary .buttons {
  display: flex;
  justify-content: space-between; /* 左右對齊 */
  margin-top: 25px; /* 與總計的間距 */
}

.layout-cart-right .order-summary .buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px; /* 按鈕內部間距 */
  font-size: 16px; /* 按鈕字體大小 */
  color: #fff; /* 按鈕文字顏色 */
  background-color: #8c1b01; /* 按鈕背景色 */
  border: none; /* 移除邊框 */
  border-radius: 30px; /* 圓角 */
  cursor: pointer; /* 滑鼠指標 */
  text-decoration: none; /* 移除文字裝飾 */
  transition: background-color 0.3s ease; /* 背景色過渡效果 */
}

.layout-cart-right .order-summary .buttons .btn:hover {
  background-color: #ac3318; /* 滑鼠懸停背景色 */
}

.layout-cart-right .order-summary .buttons .btn.return {
  background-color: #5e4d31; /* 返回購物按鈕背景色 */
}

.layout-cart-right .order-summary .buttons .btn.return:hover {
  background-color: #4b3a26; /* 返回購物按鈕懸停背景色 */
}


@media screen and (max-width: 768px) {
  
  .cart-title{margin: 0 0 10px 0;}
  
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 購物車-完成訂購 <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.cart-tips-area {
  display: flex;
  flex-direction: column; /* 垂直排列 */
  align-items: center; /* 水平置中 */
  justify-content: center; /* 垂直置中 */
  text-align: center; /* 文字置中 */
  gap: 20px; /* 行與行之間的間距 */
  padding: 20px; /* 區塊內部間距 */
  background-color: #f9f9f9; /* 可選：背景色 */
  border-radius: 10px; /* 可選：圓角 */
  color: #3a291a;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 可選：陰影 */
}

.cart-tips-area img{
    margin: 15px 0;
}

.cart-tips-area .policy{
  margin:0 0 50px 0;
}

.cart-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 步驟之間的間距 */
  max-width: 500px;
  margin: 20px auto 70px auto;
  color: #3a291a;
}

.cart-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cart-steps .circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e7d7bc; /* 預設圓圈背景色 */
  color: #3a291a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  /* font-weight: bold; */
  border: 1px solid #e7d7bc; /* 圓圈邊框 */
}

.cart-steps .step.active .circle {
  background-color: #8c1b01; /* 當前步驟的紅色背景 */
  color: #fff; /* 白色文字 */
  border-color: #8c1b01;
}

.cart-steps .label {
  margin-top: 20px;
  font-size: 16px;
  letter-spacing: 2px;
  color: #333;
}

.cart-steps .line {
  flex: 1;
  height: 1px;
  background-color: #e7d4b5; /* 線條顏色 */
  margin-top: -30px;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> checkbox/radio template <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/


/* The container */
.container-item {
  position: relative;
  color: #474747;
  letter-spacing: 2px;
  padding-left: 25px;
  padding-right: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.container-item.tips{ color:#8c1b01;}
.container-item.normal{ color:#191919;}

/* Hide the browser's default checkbox */
.container-item input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 3px;
  left: 0px;
  height: 22px;
  width: 22px;
  background-color: #fff;
  border: 1px solid #e7d4b5;
  border-radius: 5px;
}

/* On mouse-over, add a grey background color 
.container-item:hover input ~ .checkmark {
  background-color: #ccc;
}*/

.container-item:hover input:not(:disabled) ~ .checkmark {
  /* 你的 hover 效果，例如背景變色 */
  background-color: #ccc;
}
input:disabled ~ .checkmark {
  background-color: #e0e0e0;  /* 灰色底 */
  cursor: not-allowed;        /* 禁止滑鼠樣式 */
  opacity: 0.6;               /* 透明度降低看起來更淡 */
}

/* When the checkbox is checked, add a red background and a checkmark */
.container-item input:checked ~ .checkmark {
  background-color: #8c1b01; /* 背景變紅色 */
  border-color: #8c1b01; /* 邊框變紅色 */
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "✔"; /* 顯示打勾符號 */
  position: absolute;
  display: none;
  color: #fff; /* 打勾符號顏色 */
  font-size: 15px;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}

/* Show the checkmark when checked */
.container-item input:checked ~ .checkmark:after {
  display: block;
}

/* Create a custom checkbox */
.checkmark2 {
  height: 22px;
  width: 100px;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
 
  align-items: center ;
  display:none; 
}


/* Create the checkmark/indicator (hidden when not checked) */
.checkmark-ok:before {
  content: "✔"; /* 顯示打勾符號 */
  display: block;
  color: #4caf50; /* 打勾符號顏色 */
  font-size: 23px;
 
}


/* Create the checkmark/indicator (hidden when not checked) */
.checkmark-no:before {
  content: "✘"; /* 顯示打勾符號 */
  display: block;
  color: #d53814; /* 打勾符號顏色 */
  font-size: 23px;
}

.checkmark-cancel{
    display: block;
    background: #8c1b01;
    width: 40px;
    height: 40px;
    border-radius: 30px;
}
.checkmark-cancel:before {
  content: "✖"; /* 顯示打勾符號 */
  display: block;
  color: #fff; /* 打勾符號顏色 */
  font-size: 23px;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> Cookie <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.cookie-notice {
    position: fixed;
    max-width: 1100px;
    font-size: 14px;
    margin: 0 auto;
    bottom: 30px;
    left: 10px;
    right: 10px;
    background-color: #AD9B6D;
    color: #fff;
    line-height: 22px;
    padding: 15px 20px;
    text-align: left;
    display: none;
    /* 預設隱藏 */
    border-radius: 10px;
    z-index: 99;
}

div#cookieNotice {}

div#cookieNotice {}

.cookie-notice button {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 5px 20px;
    margin-top: 10px;
    cursor: pointer;
    display: block;
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> RWD表格 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.rwd-table {
    display: flex;
    flex-wrap: wrap;
}

.rwd-table__item {
    flex: 0 0 50%;
    /* 默认每项占据50%的宽度 */
    box-sizing: border-box;
    padding: 0 10px;
    /* 适当的内边距 */
}

.rwd-table__item--full {
    flex: 0 0 100%;
    /* 第三行的项占据100%的宽度 */
}

@media (max-width: 600px) {

    .rwd-table__item,
    .rwd-table__item--full {
        flex: 0 0 100%;
        /* 在小屏幕上每项都占据100%的宽度 */
    }
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 區塊跳動效果 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.bannerArea {
    z-index: 999999;
}

.bannerArea a.scrollDown {
    display: block;
    color: #000;
    text-align: center;
    width: 80px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -40px;
    z-index: 999;
}

.bannerArea a.scrollDown i {
    display: inline-block;
    text-align: center;
    font-size: 25px;
    color: #FFF;
    text-align: center;
}

.index_story a.scrollDown {
    display: block;
    color: #000;
    text-align: center;
    width: 80px;
    position: absolute;
    bottom: -120px;
    left: 50%;
    margin-left: -40px;
    z-index: 999;
}

.index_story a.scrollDown i {
    display: inline-block;
    text-align: center;
    font-size: 25px;
    color: #FFF;
    text-align: center;
}

/* 品牌故事浮動圖片樣式 */
.story-float-img-1,
.story-float-img-2 {
  position: absolute;
  bottom: -100px;
  width: auto;
  max-width: 300px; /* 設置圖片最大寬度 */
  animation: floatEffect 2s ease-in-out infinite; /* 添加上下跳動動畫 */
  transition: all 0.5s ease; /* 添加過渡效果 */
}

.story-float-img-1 {
  left: 8%;
  animation-delay: 0s; /* 第一張圖片的動畫延遲 */
}

.story-float-img-2 {
  right: 8%;
  animation-delay: 0.5s; /* 第二張圖片的動畫延遲 */
}

/* 定義上下跳動的動畫 */
@keyframes floatEffect {
  0%, 100% {
    transform: translateY(0); /* 初始位置 */
  }
  50% {
    transform: translateY(-10px); /* 向上移動 10px */
  }
}

@media (max-width: 1024px) {
    .story-float-img-1 {
        max-width: 200px;
        left: 4%;
        bottom: -50px;
      }
      
      .story-float-img-2 {
        max-width: 200px;
        right: 4%;
        bottom: -50px;
      }
}

/* 手機板時隱藏圖片並飛出視窗 */
@media (max-width: 768px) {
  .story-float-img-1,
  .story-float-img-2 {
    transform: translateY(200%); /* 動態飛出視窗 */
    opacity: 0; /* 淡出效果 */
    pointer-events: none; /* 禁止點擊 */
  }
}

/*------css3動畫--------*/
@-webkit-keyframes upDown {
    0% {
        bottom: 20px;
        opacity: 1;
    }

    50% {
        bottom: 28px;
        opacity: 0.5;
    }

    100% {
        bottom: 20px;
        opacity: 1;
    }

}

@-moz-keyframes upDown {
    0% {
        bottom: 20px;
        opacity: 1;
    }

    50% {
        bottom: 28px;
        opacity: 0.5;
    }

    100% {
        bottom: 20px;
        opacity: 1;
    }
}

@keyframes upDown {
    from {
        bottom: 20px;
        opacity: 1;
    }

    50% {
        bottom: 28px;
        opacity: 0.5;
    }

    to {
        bottom: 20px;
        opacity: 1;
    }
}

.upDown {
    -webkit-animation: upDown ease-out 1s infinite;
    -moz-animation: upDown ease-out 1s infinite;

    -o-animation: upDown ease-out 1s infinite;
    animation: upDown ease-out 1s infinite;
}

/*scaleZoom*/
.scaleZoom {
    -webkit-animation: scaleZoom 2s ease both;
    animation: scaleZoom 2s ease both;
}

@-webkit-keyframes scaleZoom {
    from {
        opacity: 0;
        -webkit-transform: scale(1.2);
    }
}

@keyframes scaleZoom {
    from {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}



/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> Swiper Slider <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

html,
body {
    position: relative;
    height: 100%;
}

.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 48px;
    color: #fff;
    letter-spacing: 1px;
    background-size: cover;
    background-position: center;
}

.swiper-word {
    display: none;
    width: 100%;
    max-width: 1200px;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    font-size: 2.75vw;
    bottom: 30%;
    text-align: right;
    padding-right: 4%;
    box-sizing: border-box;
}

.swiper-word span {
    font-size: 16px;
}


/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> Transition Effect <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.infinite_effect {
    animation: nudge 5s linear infinite alternate;
}

@keyframes nudge {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15px, 0);
    }

    50% {
        transform: translate(-15px, 0);
    }
}


@keyframes rotate-btn {

    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes transiTop20 {
    0% {
        transform: translateY(-20%);

    }

    100% {
        transform: translateY(0);
    }
}

/*image mask*/
.photo-mask {
    opacity: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    color: #ffffff;
    width: 100%;
    height: 100%;
    background-color: rgba(208, 186, 143, 0.8);
    letter-spacing: 1px;
    text-align: center;
    padding: 4vw;
    box-sizing: border-box;
    line-height: 22px;
    -webkit-transition: .2s;
    -ms-transition: .2s;
    -moz-transition: .2s;
}

.photo-mask-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.photo-mask .line {
    border: 1px solid #FFFFFF;
}

.gallery {
    position: relative;
}

.gallery .photo-mask {
    opacity: 0;
    cursor: pointer;
}

.gallery:hover .photo-mask {
    opacity: 1;
}

.gallery:hover .title {
    opacity: 0;
}

/*image zoom*/
.photo-zoom {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.photo-zoom img {
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.photo-zoom:hover img {

    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> Loadaction <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.Loadaction_Box {
    position: relative;
    height: 100%;
    width: 0%;
    position: fixed;
    overflow: auto;
    top: 0;
    left: 0;
    overflow: auto;
    background-color: rgba(232, 220, 208, 0.7);
    z-index: 100000000
}

.Loadaction {
    width: 220px;
    height: 90px;
    line-height: 18px;
    top: 42%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(232, 220, 208, 0.9);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.Actionupload_Text {
    font-size: 13px;
    color: #FFFFFF;
    /* height:25px; */
    padding: 8px 0;
    letter-spacing: 2px;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------------------------------->>> pagelink <<<--------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

.pageselect {
    border: 1px solid #CCCCCC;
    padding: 4px 5px;
    font-size: 16px;
}

.pageselect:hover {
    background: #ebebeb;
}

a.pagelink_no {
    font-size: 16px;
    color: #333333;
    text-decoration: none;
    border: 1px solid #cccccc;
    padding: 7px 8px;
    display: inline-block;
    margin: 5px 0;
}

a.pagelink_no:hover {
    background: #ebebeb;
}

a.pagelink {
    font-size: 16px;
    color: #333333;
    text-decoration: none;
    border: 1px solid #CCCCCC;
    padding: 5px 10px;
}

a.pagelink:hover {
    background: #ebebeb;
}

a.pagelink_ch {
    font-size: 16px;
    color: #333333;
    padding: 5px 10px;
    border: 1px solid #cccccc;
    background: #ebebeb;
    text-decoration: none;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 動畫效果 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

/*------Zoom--------*/

.scaleZoom {
    -webkit-animation: scaleZoom 2s ease both;
    animation: scaleZoom 2s ease both;
}

@-webkit-keyframes scaleZoom {
    from {
        opacity: 0;
        -webkit-transform: scale(1.2);
    }
}

@keyframes scaleZoom {
    from {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }
}

/*------區塊跳動效果--------*/
.swiper-scroll {
    z-index: 999999;
}

.swiper-scroll a.scrollDown {
    display: block;
    color: #000;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0%;
    z-index: 999;
}

.swiper-scroll a.scrollDown i {
    display: inline-block;
    text-align: center;
    font-size: 25px;
    color: #FFF;
    text-align: center;
}

.line-through {
    text-decoration: line-through;
}
#product-detail .right .price span.line-through {
    color:#9e9e9e;
    font-size: 1em;
    margin-bottom: 10px;
}

#product-detail .right .price3{position:relative;width:100%;overflow:hidden;min-height: 170px;}
#product-detail .right .price3 .circle1{position:absolute;left: 50px;background:#8c1b01;color:#ffffff;padding: 45px 30px;border-radius: 100px;text-align: center;z-index: 2;}
#product-detail .right .price3 .circle2{text-align: center;line-height: 20px;position:absolute;left: 195px;top: 20px;padding: 20px;background:#bababa;color:#ffffff;padding: 15px 35px;border-radius: 100px;z-index: 1;}
.margin-bottom-10px{margin-bottom: 10px;}



.btn4 {
    display: inline-block;
    position: relative;
    color: #8c1b01;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
    letter-spacing: 2px;
    /* margin: 20px 0; */
    padding: 30px 0 30px 45px;
    transition: transform 0.3s ease; /* 添加平滑過渡效果 */
}


.btn4:before {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    /* 垂直置中 */
    content: "";
    margin: 0 8px;
    display: inline-block;
    width: 70px;
    height: 70px;
    background-color: #e7d7bc;
    /* 圓圈背景顏色 */
    border-radius: 50%;
    /* 圓形背景 */
    z-index: -1;
    /* 確保背景在文字下方但仍可見 */
    pointer-events: none;
    /* 確保不影響點擊事件 */
}

.no-border{
    border:0 !important;
} 

/*提示文字內容*/
#tip_box {font-size: 13px; position: fixed; line-height:22px; background-image:url(../../images/bg.png); color: #FFF; padding-left:10px; padding-right:10px; padding-top:5px; padding-bottom:5px; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; margin-left:10px; }

.mult-ellipsis { 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.line-through{text-decoration: line-through;}



/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 表格 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/


/*列表頁*/
.zebra tbody:before {
    content:" ";
    display:block;
    line-height:10px;
    text-indent:-99999px;
    height: 0.5em;
    background: #fff;
    width: 100%;
}
.zebra td, .zebra th {
  padding: 20px;
  font-size: 16px;
    color: #3a291a;
  text-align: center;
  line-height: 180%;
  position: relative;
  /*border-bottom: 1px solid #f2f2f2;*/
}

.zebra tbody tr{
    position: relative;
}


.zebra tbody tr:not(.border-0):after{
    content:" ";
    display:block;
    border-bottom:1px dashed #b9b9b9;
    line-height:10px;
    text-indent:-99999px;
    position: absolute;
    display: flex;
    width: 94%;
    left: 3%;
    bottom: 0;
}
.zebra.zebra2-2 tbody tr:not(.border-0):after{
    content:" ";
    display:block;
    border-bottom:1px dashed #b9b9b9;
    line-height:10px;
    text-indent:-99999px;
    position: absolute;
    display: flex;
    width: 94%;
    left: 3%;
    top: 0;
     bottom: unset;
}

.zebra a{ text-decoration:none; line-height: 170%;color:#a85841; }/* */
.zebra a:hover{ text-decoration:underline; }
/*使用:nth-child(even)给表格的奇数行添加背景和阴影效果*/
.zebra .alternate,

.zebra tbody tr:last-child:after { border-bottom:none; }
.zebra th {
    text-align: center;

    /* text-shadow: 0 1px 0 rgba(255,255,255,.5); */
    /*border-bottom: 1px solid #ccc;*/  
    font-weight:normal;
    /* color: #974e4e; */
    color: #000;

    background:#fff;
    font-size: 0.95rem;
    font-weight: bold; 
    padding: 10px;
}
.zebra th.left {
    text-align: left !important;
    padding-left: 0px;
}
/*使用 :first-child设置表格表头第一个单元格左上角为圆角*/
.zebra th:first-child {
  border-radius: 6px 0 0 0;

}
/*使用 :last-child设置表格表头最后一个单元格右上角为圆角*/
.zebra th:last-child {
  border-radius: 0 6px 0 0;
}

/*詳細內頁*/
.zebra2 td{ padding: 15px 35px; text-align: left;}
.zebra2 td:first-child{  text-align: left;   position: relative; text-wrap:nowrap;}
.zebra2 td:first-child:after{   content: "";    position: absolute; display: inline-block;  /*border-right:1.5px solid #d6d6d6; */  right: 0;   width: 1px; height: 15px; top: 38%; }

.zebra2-1 td{ padding: 15px 35px;}
.zebra2-1 td:first-child{   padding: 15px 35px; position: relative;}
.zebra2-1 td:first-child:after{ content: "";    position: absolute; display: inline-block;/*  border-right:1.5px solid #d6d6d6; */  right: 0;   width: 1px; height: 15px; }

/*收件資訊*/
.zebra3 td, 
.zebra3 th {
  padding: 20px;
  box-sizing:border-box;
  font-size: 14px;
  color: #121212;
  text-align: left;

  letter-spacing: 1px;
  /*border-bottom: 1px solid #f2f2f2;*/
}
.zebra3 td{ background:#f6f0ee; }
.zebra3 td:first-child{width:200px;border-right: 1px solid #bdbdbd;}
.zebra3 a{ color:#a85841; text-decoration:none; }
.zebra3 a:hover{ text-decoration:underline; }
.zebra3 p{ font-weight:bold; color:#945b5b; line-height:28px; letter-spacing:1px; }
/*使用:nth-child(even)给表格的奇数行添加背景和阴影效果*/
.zebra3 .alternate,
.zebra3 tr:not(:last-child) td{ border-bottom:1px solid #bdbdbd; }
.zebra3 tr:last-child td{ /*border-bottom:1px solid #c69f9f;*/ }
.zebra3 th {
  text-align: left;
  font-size: 14px;
  /* text-shadow: 0 1px 0 rgba(255,255,255,.5); */
  /*border-bottom: 1px solid #ccc;*/
  font-weight:normal;
  color: #ffffff;
  background: #ada59f;
  }
/*使用 :first-child设置表格表头第一个单元格左上角为圆角*/
.zebra3 th:first-child {
  /*border-radius: 6px 0 0 0;*/
}
/*使用 :last-child设置表格表头最后一个单元格右上角为圆角*/
.zebra3 th:last-child {
  /* border-radius: 0 6px 0 0; */
  font-weight: bold;
  letter-spacing: 3px;
  font-size: 16px;
}

.rowBG tr:nth-child(odd) {
  background: #f5f5f5;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}


@media screen and (max-width : 1024px) {
    .visible-no-b{ display:none; }  
}
@media screen and (max-width : 768px) {
    .visible-no-m{ display:none; }
    .zebra3 td{ padding:10px; }
    .zebra3 td:first-child{ width:130px; padding:10px; }
    .noneM{ display:none; }
}
@media screen and (max-width : 480px) {
    .zebra2 td, .zebra2 th{ padding:20px 15px;}
    .visible-no-s{ display:none; }
    .noneS{ display:none; } 
}

.inline-flex{display: inline-flex;}
.mw-30{min-width:30px !important;}
.mw-60{min-width:60px !important;}
.flex-direction-column{flex-direction: column;}
.align-items-flex-end{align-items: flex-end !important;}
.size-normal{font-weight: normal;}
.align-items-center{align-items:center;}
.justify-flex-end{justify-content: flex-end !important;text-align: right;font-weight:400; font-size:16px}



/* ----------------------------------------------------------------------------------------------------------------*/
/* ------------------------------>>> 訂購紀錄 <<<----------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/


.order-d-table {
  width: 100%;
  /* margin: 20px 0; */
  border-collapse: collapse;
}

.order-d-table table {
  width: 100%;
  border-collapse: collapse;
  /* border: 1px solid #ddd; */
}


.order-d-table th, .order-d-table td {
  padding: 10px;
  text-align: center;
}

.order-d-table thead th {
  background-color: #e7d7bc;
  color: #3a291a;
  /* font-weight: bold; */
}

.order-d-table td {
  border-bottom: 1px dashed #ddd;
}

.order-d-table thead th:first-child {
  border-top-left-radius: 20px; /* 左上圓角 */
  border-bottom-left-radius: 20px; /* 左下圓角 */
}

.order-d-table thead th:last-child {
  border-top-right-radius: 20px; /* 右上圓角 */
  border-bottom-right-radius: 20px; /* 右下圓角 */
}

.order-d-table tbody tr:nth-child(even) {
  background-color: #f8f3eb;
}

.order-d-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.order-d-table tbody td {
  color: #3a291a;
  line-height: 2em;
}

.order-d-table .status-processing {
  color: #8c1b01;
  font-weight: bold;
}

.order-d-table .status-completed {
  color: #3a291a; /* 金色 */
  font-weight: bold;
}

.order-d-table .status-cancelled {
  color: #b38143; /* 橙色 */
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .order-d-table th.visible-no-m,
  .order-d-table td.visible-no-m
  {
    display: none; 
  }
   .cart-table th.visible-no-m,
  .cart-table td.visible-no-m
  {
    display: none; 
  }
}


@media screen and (max-width: 480px) {
  .order-d-table th.visible-no-s,
  .order-d-table td.visible-no-s
  {
    display: none; 
  }
  .cart-table th.visible-no-s,
  .cart-table td.visible-no-s
  {
    display: none; 
  }
}

#useCoupon_state{display: none;}
#useCoupon_state.active{display: inline-flex !important;}

#product-list .recommend-item .item-content p.price ,.recommend-item .item-content p.price {
    color:#8c1b01;
    font-size:1em;
    font-weight:bold;
    text-align: center;
    min-height: 25px;
}

.act-delCart{cursor: pointer;}
.pointer{cursor: pointer;}
.text-right{text-align: right !important;}

.editor-area img{max-width: 100%;}

.w-200{width:200px !important;}
.w-100{width:100px !important;}

.circle{
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 20px;
    color: #fff;
    margin-bottom: 5px;
    background: #8f5f23;
}

.mt-40{
    margin-top: 40px !important;
}
.m-left-10{
    margin-left: 10px !important;
}


.searchbox{    display: flex; align-items: center;justify-content: space-between;}
.searbox{    display: flex; top: -10px;align-items: flex-start;}

@media screen and (max-width: 900px) {
    .searchbox{   align-items: flex-start;justify-content: space-between; flex-direction: column-reverse;}
    .searchbox div{ width: 100%;margin-bottom: 50px;}
    .searchbox form,.search_input{width:95%;}

.m-clear-mb {
    margin-bottom: 20px !important;
}

}