:root, [data-bs-theme="light"] {
	
	--bs-nav-link-font-size: 1rem; /*選單字flora2025*/
	--bs-desc-bgcolor:#fce1e0;/*內文td色flora2025*/	
}


body {
  font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
  font-weight: 400;
  color: #666;
  font-size: 12px;
  line-height: 20px;
  width: 100%;
}
h1, h2, h3, h4, h5, h6 {
  color: #444;
}
/* Override the bootstrap defaults */
h1 {
  font-size: 33px;
}
h2 {
  font-size: 27px;
}
h3 {
  font-size: 21px;
}
h4 {
  font-size: 15px;
}
footer h5 {
  font-size: 12px;
}
h6 {
  font-size: 10.2px;
}
a {
  /*color: #640d0d;*/
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
/* Chrome border line */
button:focus {
  outline: none !important;
}
legend {
  font-size: 18px;
  padding: 7px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
label {
  font-size: 12px;
  font-weight: normal;
}
.list-unstyled a {
  text-decoration: none;
}
.nav-tabs {
  margin-bottom: 15px;
}
div.required .col-form-label:before, div.required .form-label:before {
  content: "* ";
  color: #F00;
  font-weight: bold;
}
.form-switch-lg {
  font-size: 20px;
  min-height: 30px;
  line-height: 30px;
}
@media (min-width: 768px) {
  .col-form-label {
    text-align: right;
  }
}
#alert {
  z-index: 9999;
  pointer-events: all;
}
#alert .alert {
  min-width: 400px;
  position: relative;
  margin-bottom: 15px;
}
@media (min-width: 1300px) {
  #alert .alert {
    right: 50px;
  }
}
@media (min-width: 1400px) {
  #alert .alert {
    right: 0px;
  }
}
@media (min-width: 1600px) {
  #alert .alert {
    right: 100px;
  }
}
@media (min-width: 1800px) {
  #alert .alert {
    right: 200px;
  }
}
@media (min-width: 2000px) {
  #alert .alert {
    right: 300px;
  }
}
@media (min-width: 2200px) {
  #alert .alert {
    right: 400px;
  }
}
@media (min-width: 2400px) {
  #alert .alert {
    right: 500px;
  }
}
@media (min-width: 2600px) {
  #alert .alert {
    right: 600px;
  }
}
@media (min-width: 2800px) {
  #alert .alert {
    right: 700px;
  }
}
@media (min-width: 3000px) {
  #alert .alert {
    right: 800px;
  }
}
@media (min-width: 3200px) {
  #alert .alert {
    right: 900px;
  }
}
@media (min-width: 3400px) {
  #alert .alert {
    right: 1000px;
  }
}
@media (min-width: 3600px) {
  #alert .alert {
    right: 1100px;
  }
}
@media (min-width: 3800px) {
  #alert .alert {
    right: 1200px;
  }
}
@media (min-width: 4000px) {
  #alert .alert {
    right: 1300px;
  }
}
/* top */
#top {
  background-color: #EEEEEE;
  border-bottom: 1px solid #e2e2e2;
  padding: 10px 0;
  margin: 0 0 20px 0;
  min-height: 44px;
  position: relative;
}
#top .nav > .list-inline > .list-inline-item, #top .nav > .list-inline .list-inline-item > a, #top .nav > .list-inline .list-inline-item .dropdown > a {
  color: #888;
  text-shadow: 0 1px 0 #FFF;
}
#top .btn-link {
  color: #888;
  text-shadow: 0 1px 0 #FFF;
  text-decoration: none;
}
#top .btn-link:hover {
  color: #444;
}
#top a {
  font-size: 1.1em;
  text-decoration: none;
}
footer a {
  font-size: 1.1em;
  text-decoration: none;
}
/* logo */
#logo {
  margin: 0 0 10px 0;
}
#logo img {
  max-width: 200px;
}
/* search */
#search {
  margin-bottom: 10px;
}
#search .form-control-lg {
  height: 40px;
  font-size: 12px;
  line-height: 20px;
  padding: 0 10px;
}
#search .btn-lg {
  font-size: 15px;
  line-height: 18px;
  padding: 0.57rem 35px;
  text-shadow: 0 1px 0 #FFF;
}
/* cart */
#header-cart {
  margin-bottom: 10px;
}
#header-cart .btn-lg {
  color: #FFF;
  height: 40px;
  padding: 0 1rem;
}
#header-cart .btn:hover {
  color: #FFF;
}
#header-cart .dropdown-menu {
  background: #eee;
}
#header-cart .dropdown-menu li {
  min-width: 427px;
}
@media (max-width: 768px) {
  #header-cart .dropdown-menu li {
    min-width: 100%;
  }
}
/* menu */
#menu {
  /*background-color: #fc313d;*/
  background-image: linear-gradient(to bottom, #111827, #2b2b6e);
  background-repeat: repeat-x;
  /*border: 1px solid #1f90bb;*/
  /*border-color: #1f90bb #1f90bb #145e7a;*/
  min-height: 40px;
  /*border-radius: 4px;*/
  width: 100%;
}

/*修復手機出現橫軸左右移的問題*/
@media (max-width: 767px) {
    /* 重置 body 和 html */
    html, body {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
        position: relative;
        left: 0;
    }
    
    /* 針對 OpenCart 結構 */
    #common-home {
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0;
        left: 0;
    }
    
    /* 修復容器 */
    .container, .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* 特別處理 Header - 取消左右 padding，獨立在外 */
    header, 
    .header, 
    #header,
    header .container,
    header .container-fluid,
    .header .container,
    .header .container-fluid,
    #header .container,
    #header .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* 確保 header 內部內容有適當間距 */
    header > div,
    .header > div,
    #header > div {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* 強制所有區塊居中 */
    div[class*="col-"], section, main, aside {
        float: none !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
}

.menu-no-gutter {
    --bs-gutter-x: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

#menu.navbar {
  padding: 0.5rem 1rem;
  margin-bottom: 20px;
}

#menu .dropdown-menu {
  padding-bottom: 0;
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
#menu .dropdown-inner {
  display: table;
}
#menu .dropdown-inner ul {
  display: table-cell;
}
#menu .dropdown-inner ul li a:hover {
  color: #ffffff;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
}
#menu .dropdown-inner a {
  min-width: 160px;
  display: block;
  padding: 3px 20px;
  clear: both;
  line-height: 20px;
  color: #333333;
  font-size: 12px;
}
#menu .see-all {
  display: block;
  margin-top: 0.5em;
  border-top: 1px solid #DDD;
  padding: 3px 20px;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  border-radius: 0 0 3px 3px;
  font-size: 12px;
}
#menu .see-all:hover, #menu .see-all:focus {
  text-decoration: none;
  color: #ffffff;
  background-color: #229ac8;
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
}
#menu #category {
  float: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .navbar-toggler i {
  color: #fff;
  border-color: #fff;
  font-size: 0.9em;
}
#menu .navbar-nav > li > a {
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  padding: 10px 15px 10px 15px;
  min-height: 15px;
  background-color: transparent;
}
#menu .navbar-nav > li > a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  #menu .dropdown:hover .dropdown-menu {
    display: block;
  }
}
@media (max-width: 767px) {
  #menu {
    border-radius: 4px;
  }
  #menu div.dropdown-inner > ul .list-unstyled {
    display: block;
  }
  #menu div.dropdown-menu {
    margin-left: 0 !important;
    padding-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.1);
  }
  #menu .dropdown-inner {
    display: block;
  }
  #menu .dropdown-inner a {
    width: 100%;
    color: #fff;
  }
  #menu .dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.1);
  }
  #menu .dropdown-menu ul li a :hover {
    background: rgba(0, 0, 0, 0.1);
  }
  #menu .see-all {
    margin-top: 0;
    border: none;
    border-radius: 0;
    color: #fff;
  }
}
/* content */
#content {
  min-height: 600px;
}
/* footer */
footer {
  /*margin-top: 30px;*/
  padding-top: 19px;
  padding-bottom: 1px;
  background-color: #222323;
  border-top: 1px solid #ddd;
  color: #888888;
}
footer hr {
  border-top: none;
  border-bottom: 1px solid #666;
}
footer a {
  color: #ccc;
}
footer a:hover {
  color: #fff;
}
footer h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}
/* breadcrumb */
.breadcrumb {
  margin: 0 0 20px 0;
  padding: 8px 0;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
}
.breadcrumb i {
  font-size: 15px;
}
.breadcrumb > li.breadcrumb-item {
  text-shadow: 0 1px 0 #FFF;
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
}
.breadcrumb > li.breadcrumb-item > a {
  text-decoration: none;
}
.breadcrumb > li.breadcrumb-item:after {
  content: "";
  display: block;
  position: absolute;
  top: -3px;
  right: -5px;
  width: 26px;
  height: 26px;
  border-right: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.breadcrumb > li.breadcrumb-item + li:before {
  content: "";
  padding: 0;
}
.pagination {
  margin: 0;
}
/* buttons */
.btn-light {
  color: #777;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-image: linear-gradient(to bottom, #eeeeee, #dddddd);
  background-repeat: repeat-x;
  border-color: #dddddd #dddddd #b3b3b3 #b7b7b7;
}
.btn-light:hover, .btn-light:focus, .btn-light:active, .btn-light.active, .btn-light.disabled, .btn-light[disabled] {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
  background-position: 0;
}
.btn-primary {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #23a1d1, #1f90bb);
  background-repeat: repeat-x;
  border-color: #1f90bb #1f90bb #145e7a;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
  background-position: 0;
}
.btn-warning {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #fbb450, #f89406);
  background-repeat: repeat-x;
  border-color: #f89406 #f89406 #ad6704;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-danger {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
  background-repeat: repeat-x;
  border-color: #bd362f #bd362f #802420;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-success {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  background-repeat: repeat-x;
  border-color: #51a351 #51a351 #387038;
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
  box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-info {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-image: linear-gradient(to bottom, #e06342, #dc512c);
  background-repeat: repeat-x;
  border-color: #dc512c #dc512c #a2371a;
}
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
  background-image: none;
  background-color: #df5c39;
}
.btn-link {
  border-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  color: #23A1D1;
  border-radius: 0;
}
.btn-link, .btn-link:active, .btn-link[disabled] {
  background-color: rgba(0, 0, 0, 0);
  background-image: none;
  box-shadow: none;
}
.btn-inverse {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #363636;
  background-image: linear-gradient(to bottom, #444444, #222222);
  background-repeat: repeat-x;
  border-color: #222222 #222222 #000000;
}
.btn-inverse:hover, .btn-inverse:focus, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
  background-color: #222222;
  background-image: linear-gradient(to bottom, #333333, #111111);
}
.product-thumb {
  border: 1px solid #ddd;
  margin-bottom: 15px;
}
.product-thumb h4 {
  font-weight: bold;
}
.product-thumb .image {
  text-align: center;
  margin-bottom: 15px;
}
.product-thumb .image a:hover {
  opacity: 0.8;
}
.product-thumb .description {
  padding: 15px;
}
.product-thumb .button-group {
  display: flex;
  border-top: 1px solid #ddd;
  background-color: #eee;
}
.product-thumb .button-group button {
  flex: 33%;
  border-radius: 0;
  display: inline-block;
  border: none;
  background-color: #eee;
  color: #888;
  line-height: 38px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}
.product-thumb .button-group button:hover {
  color: #444;
  background-color: #ddd;
  text-decoration: none;
  cursor: pointer;
}
.product-thumb .button-group button + button {
  border-left: 1px solid #ddd;
}
@media (min-width: 960px) {
  .product-list .product-thumb {
    display: flex;
  }
  .product-list .product-thumb .image {
    flex-direction: column;
    margin-bottom: 0px;
  }
  .product-list .product-thumb .content {
    flex-direction: column;
    flex: 75%;
    position: relative;
  }
  .product-list .product-thumb .button-group {
    position: absolute;
    bottom: 0px;
    width: 100%;
    border-left: 1px solid #ddd;
  }
}
.rating {
  padding-bottom: 10px;
}
.rating .fa-stack {
  width: 20px;
}
.rating.fa-star {
  color: #999;
  font-size: 15px;
}
.rating .fa-star {
  color: #FC0;
  font-size: 15px;
}
.rating .fa-star + .fa-star {
  color: #E69500;
}
/* product list */
.price {
  color: #444;
}
.price-new {
  font-weight: 600;
}
.price-old {
  color: #dc512c;
  text-decoration: line-through;
}
.price-tax {
  color: #999;
  font-size: 12px;
  display: block;
}
/* BS4 Changes */
.navbar-light .navbar-toggler {
  font-size: 15px;
  font-stretch: expanded;
  color: #FFF;
  padding: 6px 12px;
  background-color: #fdd000;
  background-image: linear-gradient(to bottom, #fdd000, #bb8c1fad);
  background-repeat: repeat-x;
  /*border-color: #1f90bb #1f90bb #145e7a;*/
}
.form-check .form-check-input {
  margin-top: 0.25rem;
}
/* Theme Custom CSS */
#display-control #compare-total.a {
  margin-top: -2px;
  padding: 0.35rem 0.565rem;
}
#product-product h1 {
  margin-top: 20px;
  margin-bottom: 10px;
}
#information-contact .card {
  margin-bottom: 20px;
}
#cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 9999;
  opacity: 0.95;
  color: #ecf0f1;
  background: #343a40;
}
#cookie div {
  font-size: 16px;
  color: #FFFFFF;
}

/*flora2025*/
/*for 首頁*/
.f25top-pt30{
	padding-top: 30px;
}
/*for 首頁 右邊連結*/
.snav-box {
    font-size: 15px;
    font-family: "微軟正黑體";
    font-weight: 400;
    margin-bottom: 20px;
	margin-top: 7px;
}

/*a.snav 在各螢幕尺寸*/

a.snav:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 0;
    background-color: #229ac8;
    transition: all 0.3s ease-in-out;
}

a.snav:hover {
    color: #959494;

}

a.snav:hover:before {
    width: 100%;
}
/*線上購物*/
.gradient-bg-title {
    font-weight: 900;
    color: #2b2b6e;
    text-shadow: 2px 2px 5px #d9ddff;
    position: relative;
    text-align: center;
    padding: 12px 60px;
    font-size: 20px;
    margin: 30px 0 60px;
    letter-spacing: 1px;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    
    /* 更柔和的背景漸層 */
    background: linear-gradient(to right, 
        transparent 0%, 
        rgb(0 253 244 / 20%) 15%, 
        rgb(169 221 204 / 40%) 50%,
        rgb(141 202 233 / 20%) 85%, 
        transparent 100%);
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

.gradient-bg-title i {
    margin: 0 12px;
    color: #2b2b6e;
    font-size: 24px;
}

/*最新商品*/
.latest-h3{
    font-weight: 900;
    color: #2b2b6e;
    text-shadow: 2px 2px 5px #d9ddff;
    position: relative;
	margin: 60px 0;
}

.latest-h3:before{
    content: "\f02b";
    font-family: 'FontAwesome';
    font-weight: normal;
    font-size: 15px;
    vertical-align: middle;
    padding-right: 6px;
    color: #2b2b6e;
}

/* 隱藏評分、操作按鈕和稅金信息 */
.product-thumb .rating,
.product-thumb form,
.product-thumb .price-tax {
  display: none !important;
}


/*背景圖*/
.indexbg {
    background-image: url("/image/catalog/bg/indexbg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    /*background-position: center center;*/
    /* 默认给桌面设备使用 fixed */
    background-attachment: fixed;
}

/* 平板设备 */
@media (max-width: 1024px) {
    .indexbg {
		background-image:none;
    }
	
}

/* 手机设备 */
@media (max-width: 768px) {
    .indexbg {
		background-image:none;
    }
}

/* 小手机设备 */
@media (max-width: 480px) {
    .indexbg {
		background-image:none;
    }
}

/*背景圖end*/

/*for 不同螢幕的右上選單和search*/
/*最小*/
/*iphon手機直*/
@media (max-width: 375px) {
	a.snav {
		margin: 7px 5px;
	}
}


@media (min-width: 376px) and (max-width: 767px) { 
  a.snav {
	  display: inline-block;
	  margin: 7px 5px;
	  padding: 10px 0 6px;
	  position: relative;
  }
}
@media (min-width: 768px) and (max-width: 819.98px) {
	a.snav {
		display: inline-block;
		margin: 7px 10px;
		padding: 10px 0 6px;
		position: relative;
	}
}

@media (min-width: 820px) and (max-width: 991.98px) {
    a.snav {
        display: inline-block;
        margin: 7px 10px;
        padding: 10px 0 6px;
        position: relative;
    }
}

@media (min-width: 992px) and (max-width: 1023.98px) {
	a.snav {
		display: inline-block;
		margin: 7px 10px;
		padding: 10px 5px 6px;
		position: relative;
	}
}

/*ipad橫向*/
@media (min-width: 1024px) and (max-width: 1366px) {
	a.snav {
		display: inline-block;
		margin: 7px 5px;
		padding: 10px 0 6px;
		position: relative;
	}
}


@media (min-width: 1200px) {
	a.snav {
		display: inline-block;
		margin: 7px 10px;
		padding: 10px 10px 6px;
		position: relative;
	}
}
.border-prdes-top{ /*內文用*/
	border-top: solid 2px #fce1e0;
}

/* YouTube 響應式自適應樣式 - 編輯器內樣式 */
.youtube-embed-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 15px 0;
    border-radius: 8px;
    background: #000;
}

/* 固定尺寸的 YouTube 容器 - 編輯器內樣式 */
.youtube-fixed-container {
    position: relative;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

/* 共用樣式 */
.youtube-embed-wrapper .youtube-placeholder,
.youtube-fixed-container .youtube-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

/* 預覽圖像樣式 */
.youtube-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 播放按鈕樣式 */
.youtube-placeholder > div:first-of-type {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,0,0,0.8);
    width: 68px;
    height: 48px;
    border-radius: 10%;
    transition: all 0.2s ease;
}

.youtube-placeholder:hover > div:first-of-type {
    background: rgba(255,0,0,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-placeholder > div:first-of-type > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white;
}

/* iframe 樣式 */
.youtube-embed-wrapper iframe,
.youtube-fixed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 移動設備適配 - 簡化版 */
@media (max-width: 768px) {
    .youtube-embed-wrapper {
        margin: 10px 0;
    }
    
    /* 固定尺寸模式在移動設備上變為響應式 */
    .youtube-fixed-container {
        width: 100% !important;
        height: 0 !important;
        padding-bottom: 56.25%;
    }
}

/*2026*/
.stimg{
	margin-top:-19px;
}

<!--商品內頁說明--->

/* 前三個補在 stylesheet.css 中 (僅針對模板作用，不影響全域) */
.product-template .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.product-template .col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
}

/* 若手機版要維持堆疊，加上 RWD */
@media (max-width: 768px) {
    .product-template .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

    .product-template {
        color: #3D2C1F;
        font-family: 'Helvetica Neue', 'PingFang TC', 'Microsoft YaHei', 'Noto Sans TC', sans-serif;
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 20px 40px;
        background: #ffffff;
        line-height: 1.7;
    }

    /* ---- 產品主標題 ---- */
    .product-template .product-title {
        font-size: 2.2rem;
        font-weight: 300;
        color: #3D2C1F;
        letter-spacing: 4px;
        text-align: center;
        margin: 0 0 8px 0;
        padding-top: 10px;
    }
    .product-template .product-title span {
        font-weight: 400;
        color: #C9A89B;
    }

    /* ---- 副標題 ---- */
    .product-template .product-subtitle {
        font-size: 1.5rem;
        font-weight: 300;
        color: #c15023;
        text-align: center;
        letter-spacing: 2px;
        margin: 0 0 18px 0;
    }

    /* ---- 規格標籤 ---- */
    .product-template .product-spec-tag {
        display: inline-block;
        background: #C9A89B;
        color: #ffffff;
        font-size: 0.85rem;
        font-weight: 400;
        letter-spacing: 2px;
        padding: 4px 24px;
        border-radius: 30px;
        margin: 0 auto 28px auto;
        text-align: center;
    }
    .product-template .spec-tag-wrap {
        text-align: center;
    }

    /* ---- 產品敘述 ---- */
    .product-template .product-desc {
        font-size: 1rem;
        color: #3D2C1F;
        text-align: justify;
        margin: 0 0 32px 0;
        padding: 0 4px;
        line-height: 1.9;
    }

    /* ---- 功效亮點卡片 ---- */
    .product-template .benefit-card {
        background: #F8F2ED;
        border-radius: 12px;
        padding: 22px 20px 20px;
        height: 100%;
        transition: all 0.2s ease;
        border-left: 3px solid #C9A89B;
        text-align: center;
    }
    .product-template .benefit-card .benefit-icon {
        font-size: 1.6rem;
        color: #C9A89B;
        display: block;
        margin-bottom: 6px;
        letter-spacing: 2px;
    }
    .product-template .benefit-card .benefit-title {
        font-size: 1.05rem;
        font-weight: 600;
        color: #3D2C1F;
        margin: 0 0 4px 0;
        letter-spacing: 1px;
    }
    .product-template .benefit-card .benefit-desc {
        font-size: 0.92rem;
        color: #5A4A3A;
        margin: 0;
        line-height: 1.6;
    }

    /* ---- 使用方法 ---- */
    .product-template .usage-title {
        font-size: 1.05rem;
        font-weight: 600;
        color: #3D2C1F;
        margin: 32px 0 6px 0;
        letter-spacing: 1px;
    }
    .product-template .usage-text {
        font-size: 1rem;
        color: #3D2C1F;
        margin: 0 0 12px 0;
        line-height: 1.8;
        text-align: justify;
    }

    /* ---- Slogan ---- */
    .product-template .product-slogan {
        font-size: 1.25rem;
        font-weight: 300;
        color: #C9A89B;
        text-align: center;
        letter-spacing: 4px;
        margin: 28px 0 16px 0;
        padding: 12px 0;
        border-top: 1px solid #EFE4DC;
        border-bottom: 1px solid #EFE4DC;
        font-style: italic;
    }

    /* ---- 分隔線 ---- */
    .product-template .divider {
        border: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, #C9A89B, transparent);
        margin: 36px 0 34px 0;
        opacity: 0.5;
    }

    /* ---- 規格說明標題 ---- */
    .product-template .section-title {
        font-size: 1.4rem;
        font-weight: 300;
        color: #3D2C1F;
        letter-spacing: 3px;
        margin: 0 0 18px 0;
        padding-bottom: 8px;
        border-bottom: 2px solid #C9A89B;
        display: inline-block;
    }
    .product-template .section-title-wrap {
        text-align: center;
        margin-bottom: 8px;
    }

    /* ---- 規格說明列表 (全成分等) ---- */
    .product-template .spec-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .product-template .spec-list li {
        display: flex;
        padding: 6px 0;
        border-bottom: 1px dashed #EFE4DC;
        font-size: 0.92rem;
        line-height: 1.7;
        color: #3D2C1F;
    }
    .product-template .spec-list li:last-child {
        border-bottom: none;
    }
    .product-template .spec-list .spec-label {
        flex: 0 0 120px;
        font-weight: 600;
        color: #3D2C1F;
        letter-spacing: 0.5px;
    }
    .product-template .spec-list .spec-value {
        flex: 1;
        color: #4A3A2B;
    }
    .product-template .spec-list .spec-value.ingredients {
        font-size: 0.82rem;
        line-height: 1.8;
        color: #5A4A3A;
    }

    /* ---- 全成分特殊區塊 ---- */
    .product-template .ingredients-block {
        background: #F8F2ED;
        border-radius: 10px;
        padding: 16px 20px;
        margin: 6px 0 4px 0;
        font-size: 0.82rem;
        line-height: 1.9;
        color: #4A3A2B;
        word-break: break-word;
    }
    .product-template .ingredients-block strong {
        color: #3D2C1F;
        font-weight: 600;
        display: inline-block;
        min-width: 70px;
    }

    /* ---- 運送方式 ---- */
    .product-template .shipping-list {
        margin: 6px 0 0 0;
        padding: 0 0 0 18px;
        color: #3D2C1F;
        font-size: 0.95rem;
        line-height: 1.9;
    }
    .product-template .shipping-list li {
        margin-bottom: 4px;
    }
    .product-template .shipping-list li::marker {
        color: #C9A89B;
    }

    /* ---- 響應式微調 ---- */
    @media (max-width: 768px) {
        .product-template .product-title {
            font-size: 1.6rem;
            letter-spacing: 2px;
        }
        .product-template .product-subtitle {
            font-size: 1rem;
        }
        .product-template .benefit-card {
            padding: 18px 14px;
        }
        .product-template .spec-list li {
            flex-direction: column;
            padding: 8px 0;
        }
        .product-template .spec-list .spec-label {
            flex: unset;
            margin-bottom: 2px;
        }
        .product-template .section-title {
            font-size: 1.2rem;
        }
        .product-template .product-slogan {
            font-size: 1.05rem;
            letter-spacing: 2px;
        }
    }
    @media (max-width: 576px) {
        .product-template .product-title {
            font-size: 1.3rem;
        }
        .product-template .benefit-card .benefit-title {
            font-size: 0.95rem;
        }
        .product-template .spec-list .spec-value.ingredients {
            font-size: 0.75rem;
        }
        .product-template .ingredients-block {
            font-size: 0.75rem;
            padding: 12px 14px;
        }
    }

<!-- ===== blog ===== -->

/* ===== Blog 極簡時尚風格 ===== */

/* 裝飾標題線 */
.blog-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.blog-header-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: #d4dce4;
}
.blog-header-title {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 4px;
  color: #4a5d7a;
  margin: 0;
  text-transform: uppercase;
}

/* 文章項目 */
.blog-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 圖片 */
.blog-image-link {
  display: block;
  overflow: hidden;
  margin-bottom: 16px;
}
.blog-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-image:hover {
  transform: scale(1.03);
}
.blog-image-placeholder {
  width: 100%;
  height: 260px;
  background: #f5f7fa;
}

/* 作者與日期 */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: #a0aab5;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.blog-meta i {
  margin-right: 3px;
  font-size: 0.7rem;
}
.blog-author,
.blog-date {
  display: inline-flex;
  align-items: center;
}

/* 標題 */
.blog-title {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #3D2C1F;
  margin-bottom: 6px;
  line-height: 1.5;
}
.blog-title a {
  color: #3D2C1F;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-title a:hover {
  color: #5a7da8;
}

/* 摘要 */
.blog-description {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #7a8a9a;
  margin-bottom: 12px;
  flex: 1;
}

/* 按鈕 - 極簡細線框 */
.blog-btn {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #5a7da8;
  border: 1px solid #d4dce4;
  border-radius: 30px;
  padding: 6px 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  background: transparent;
}
.blog-btn:hover {
  color: #ffffff;
  background: #5a7da8;
  border-color: #5a7da8;
}

/* 文章分隔線 */
.blog-divider {
  margin: 30px 0 0 0;
  border: 0;
  border-top: 1px solid #eaeef3;
  opacity: 0.6;
}

/* 最後一篇不留分隔線（由 loop.last 控制） */




<!-- ===== 首頁slider下html ===== -->
/* 全域重置與字型設定 */
.noa-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 50px 20px;
  background-color: #FDFBF7; /* 暖白主色 */
  font-family: 'Helvetica Neue', 'PingFang TC', 'Microsoft YaHei', sans-serif;
  color: #3E3A39;
  box-sizing: border-box;
}

/* ---------- 頂端標題區 ---------- */
.noa-header {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: 2px solid #F0EBE3;
  padding-bottom: 25px;
}

.noa-header h1 {
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 6px;
  color: #3E3A39;
  margin: 0 0 8px 0;
}

.noa-header h1 span {
  color: #C9A96E; /* 香檳金點綴 N.O.A. */
  font-weight: 400;
}

.noa-header .sub-title {
  font-size: 1rem;
  letter-spacing: 6px;
  color: #C9A96E;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- 三欄核心區 (N / O / A) ---------- */
.noa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.noa-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(240, 235, 227, 0.3); /* 極淡燕麥底 */
  border-radius: 20px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.noa-item:hover {
  background: #ffffff;
  border-color: #F0EBE3;
  box-shadow: 0 8px 25px rgba(60, 60, 60, 0.04);
}

/* 大寫英文字母 (N/O/A) */
.noa-letter {
  font-size: 4.5rem;
  font-weight: 200;
  color: #C9A96E;
  line-height: 1;
  margin-bottom: 5px;
  display: block;
  letter-spacing: 2px;
}

/* 英文副標 (Nature / Origin / Awakening) */
.noa-en-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #3E3A39;
  letter-spacing: 3px;
  margin: 5px 0 12px 0;
  display: block;
}

/* 中文小標 (自然 / 起源 / 喚醒) - 優雅點綴 */
.noa-cn-sub {
  font-size: 0.9rem;
  font-weight: 300;
  color: #C9A96E;
  letter-spacing: 4px;
  margin-bottom: 15px;
  display: block;
}

/* 內文敘述 */
.noa-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #7A7472;
  font-weight: 300;
  margin: 0;
  padding: 0 5px;
}

.noa-desc br {
  display: block; /* 確保換行有效 */
}

/* ---------- 底部醒目結語 ---------- */
.noa-footer {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(135deg, #FDFBF7 0%, #F7F3EC 100%);
  border-radius: 60px 60px 20px 20px;
  border-left: 8px solid #C9A96E;
  border-right: 8px solid #C9A96E;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

.noa-footer p {
  font-size: 1.2rem;
  font-weight: 350;
  letter-spacing: 3px;
  color: #3E3A39;
  margin: 0;
}

.noa-footer strong {
  font-weight: 600;
  color: #C9A96E;
  letter-spacing: 2px;
}

.noa-footer .highlight-star {
  color: #C9A96E;
  margin: 0 8px;
}

/* ---------- 響應式 (手機變單欄) ---------- */
@media (max-width: 768px) {
  .noa-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .noa-header h1 {
    font-size: 2.4rem;
  }
  
  .noa-letter {
    font-size: 3.5rem;
  }
  
  .noa-footer p {
    font-size: 1rem;
    letter-spacing: 2px;
  }
  
  .noa-footer {
    border-left-width: 4px;
    border-right-width: 4px;
    border-radius: 30px;
  }
}

<!-- ===== line加入好友 ===== -->

/* ========================================
   LINE 好友按鈕（搭配深色背景 #111827）
   ======================================== */

/* 第三列本身變成 Flex 容器 */
.snav-box {
  gap: 10px;  /* 導航連結與按鈕之間的間距 */
  flex-wrap: nowrap; /* 強制同一行，不換行 */
}

/* 導航連結群組（原本的 snav 們） */
.snav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* LINE 按鈕樣式 */
.btn-line-friend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #06c755;        /* LINE 官方綠色 */
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: 'Noto Sans TC', sans-serif;
  letter-spacing: 0.5px;
}

.btn-line-friend:hover {
  background: #05b04a;
  color: #ffffff;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.btn-line-friend i {
  font-size: 1.1rem;
}

/* 📱 手機響應式：按鈕可稍微縮小 */
@media (max-width: 768px) {
  .btn-line-friend {
    font-size: 0.7rem;
    padding: 4px 12px;
    gap: 4px;
  }
  .btn-line-friend i {
    font-size: 0.9rem;
  }
  .snav-links {
    gap: 6px;
  }
  .snav-links .snav {
    font-size: 0.7rem;
  }
}

/* 如果原本的 .snav 有樣式，請確保它們與 .snav-links 搭配正常 */
.snav {
  color: #ffffff;      /* 假設原本是白色 */
  text-decoration: none;
  /* 保留您原有的樣式 */
}

/* 強制三欄在同一行，且不爆版 */
.snav-box {
  overflow: hidden;
}

.snav-links {
  overflow: hidden;
  flex-shrink: 1;  /* 允許導航連結在空間不足時縮小 */
}

.snav-links .snav {
  flex-shrink: 0;  /* 每個連結不縮小，避免文字被切 */
  font-size: 0.85rem;
}

.btn-line-friend {
  flex-shrink: 0;  /* 按鈕永遠不縮小 */
}

/* 手機上導航連結縮小字體 */
@media (max-width: 768px) {
  .snav-links .snav {
    font-size: 0.65rem;
  }
  .btn-line-friend {
    font-size: 0.65rem;
    padding: 2px 10px;
  }
  .btn-line-friend i {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .snav-links .snav {
    font-size: 0.55rem;
  }
}

/* LINE 按鈕 hover 效果 */
.btn-line-friend:hover {
  background: #05b04a;
  color: #ffffff;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

/* 手機響應式調整 */
@media (max-width: 768px) {
  .snav-links .snav {
    font-size: 0.65rem;
  }
  .btn-line-friend {
    font-size: 0.65rem;
    padding: 2px 10px;
  }
  .btn-line-friend i {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .snav-links .snav {
    font-size: 0.55rem;
  }
}

/* ---- Q&A 區塊專用樣式 ---- */
.product-template .qa-list {
    margin-top: 8px;
}

.product-template .qa-item {
    background: #F8F2ED;
    border-radius: 10px;
    padding: 14px 22px;
    margin-bottom: 12px;
    border-left: 4px solid #C9A89B;
    transition: background 0.2s;
}

.product-template .qa-item:hover {
    background: #F3EAE2;
}

.product-template .qa-question {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: 1rem;
    color: #3D2C1F;
    font-weight: 500;
}

.product-template .qa-number {
    color: #C9A89B;
    font-weight: 600;
    margin-right: 4px;
}

/* ---- 問題文字連結（純文字樣式，不像按鈕） ---- */
.product-template .qa-question-link {
    color: #3D2C1F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease;
    /* 確保不會有邊框、背景、內距，保持文字原貌 */
    background: transparent;
    border: none;
    padding: 0;
    display: inline;
}

.product-template .qa-question-link:hover {
    color: #C9A89B;          /* 懸停時變玫瑰金，暗示可點擊 */
    text-decoration: underline;  /* 加上底線更明確 */
}

/* ---- 按鈕連結（保留原本樣式） ---- */
.product-template .qa-btn-link {
    margin-left: auto;
    background: transparent;
    border: 1.5px solid #C9A89B;
    color: #C9A89B;
    padding: 2px 22px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
}

.product-template .qa-btn-link:hover {
    background: #C9A89B;
    color: #ffffff;
    text-decoration: none;
}

/* 手機版調整 */
@media (max-width: 576px) {
    .product-template .qa-item {
        padding: 12px 16px;
    }
    .product-template .qa-question {
        font-size: 0.92rem;
    }
    .product-template .qa-btn-link {
        margin-left: 0;
        width: 100%;
        text-align: center;
        padding: 8px 10px;
        margin-top: 6px;
    }
    .product-template .qa-question-link {
        font-size: 0.92rem;
    }
}

/* ============================================================
   購買與洽詢 區塊樣式
   ============================================================ */

/* ---- 主要行動區（按鈕 + 電話） ---- */
.product-template .purchase-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 20px;
    background: #F8F2ED;
    border-radius: 12px;
    padding: 20px 28px;
    margin: 6px 0 18px 0;
    border-left: 4px solid #C9A89B;
}

/* ---- 購物網按鈕 ---- */
.product-template .purchase-btn {
    display: inline-block;
    background: #C9A89B;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #C9A89B;
    white-space: nowrap;
}

.product-template .purchase-btn:hover {
    background: transparent;
    color: #C9A89B;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(201, 168, 155, 0.35);
}

/* ---- 客服電話 ---- */
.product-template .purchase-phone {
    font-size: 1rem;
    color: #3D2C1F;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.product-template .purchase-phone strong {
    color: #C9A89B;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ---- 實體通路資訊卡片 ---- */
.product-template .purchase-store-info {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 24px;
    border: 1px solid #EFE4DC;
    margin-top: 4px;
}

.product-template .store-text {
    font-size: 1rem;
    color: #3D2C1F;
    margin: 0;
    line-height: 1.8;
    text-align: center;
}

.product-template .store-highlight {
    color: #C9A89B;
    font-weight: 600;
}

.product-template .store-link {
    color: #C9A89B;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.25s ease;
}

.product-template .store-link:hover {
    color: #b38b7a;
    text-decoration: none;
}

/* ---- 手機版調整 ---- */
@media (max-width: 768px) {
    .product-template .purchase-action {
        flex-direction: column;
        padding: 18px 16px;
        gap: 12px;
    }

    .product-template .purchase-btn {
        width: 100%;
        text-align: center;
        white-space: normal;
        font-size: 0.95rem;
        padding: 12px 20px;
    }

    .product-template .purchase-phone {
        font-size: 0.95rem;
        text-align: center;
    }

    .product-template .purchase-phone strong {
        font-size: 1rem;
    }

    .product-template .purchase-store-info {
        padding: 14px 16px;
    }

    .product-template .store-text {
        font-size: 0.92rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .product-template .purchase-action {
        padding: 14px 12px;
        gap: 10px;
    }

    .product-template .purchase-btn {
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .product-template .purchase-phone {
        font-size: 0.85rem;
    }

    .product-template .purchase-phone strong {
        font-size: 0.9rem;
    }

    .product-template .store-text {
        font-size: 0.85rem;
    }
}