:root {
	--wd-text-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(56,77,45);
	--wd-text-font-size: 17px;
	--wd-title-font: "Noto Serif TC", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #24521A;
	--wd-entities-title-font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #24521A;
	--wd-entities-title-color-hover: #5A9B24;
	--wd-alternative-font: "Noto Serif TC", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Noto Serif TC", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #24521A;
	--wd-widget-title-font-size: 18px;
	--wd-header-el-font: "Noto Serif TC", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(36,82,26);
	--wd-alternative-color: rgb(105,151,59);
	--btn-default-font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--btn-default-font-weight: 500;
	--btn-default-font-size: 17px;
	--btn-default-bgcolor: #24521A;
	--btn-default-bgcolor-hover: rgb(105,151,59);
	--btn-accented-font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--btn-accented-font-weight: 500;
	--btn-accented-font-size: 17px;
	--btn-accented-bgcolor: #5A9B24;
	--btn-accented-bgcolor-hover: #2F6B16;
	--btn-font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
	--btn-font-weight: 500;
	--btn-transform: none;
	--btn-font-size: 17px;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #5A9B24;
	--notices-success-color: #FFFFFF;
	--notices-warning-bg: #F1D34A;
	--notices-warning-color: #24521A;
	--wd-link-color: #5A9B24;
	--wd-link-color-hover: #2F6B16;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #1F4B12;
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
	--wd-popup-padding: 15px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #173C0C;
	background-image: none;
}
html .wd-nav.wd-nav-main > li > a, html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a, html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a, html .wd-dropdown-my-account .wd-sub-menu li a, html .wd-nav-mobile > li > a, html .wd-nav-mobile .wd-sub-menu li a, html .wd-nav.wd-layout-drilldown > li > a, html .wd-nav.wd-layout-drilldown > li [class*="sub-menu"] > :is(.menu-item,.wd-drilldown-back) > a, html .wd-nav.wd-layout-drilldown .woocommerce-MyAccount-navigation-link > a {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;	font-weight: 500;
	font-size: 16px;
	line-height: 21px;
	text-transform: uppercase;
}
html .wd-product .wd-entities-title, html .wd-product.product-list-item .wd-entities-title, html .wd-product .wd-product-cats a {
	font-family: "Noto Serif TC", Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 20px;
}
html .wd-product .wd-entities-title a:hover, html .wd-product .wd-product-cats a:hover {
	color: #5A9B24;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "Noto Serif TC", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 50px;
	line-height: 66px;
}
html .product-image-summary-wrap .summary-inner > .price, html .wd-single-price .price {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;	font-size: 34px;
	text-transform: none;
}
.title-subtitle {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;	font-weight: 700;
}
h2,h3,h4,h5 {
	font-family: "Noto Serif TC", Arial, Helvetica, sans-serif;
	font-weight: 600;
}
:lang(en) .hc-gf-manrope-600 {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 600;
}
:lang(en) .hc-gf-manrope-700 {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 700;
}
:lang(en) .hc-gf-manrope-800 {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 800;
}
:lang(en) .hc-gf-roboto-400 {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-weight: 400;
}
:lang(en) .hc-gf-roboto-500 {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-weight: 500;
}
:lang(en) .hc-gf-roboto-700 {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-weight: 700;
}
:is(.page, .search-no-results, .error404) :is(.wd-page-content, .whb-header) {
	background-color: rgb(251,253,247);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(251,253,247);
	background-image: none;
}
.single-product :is(.wd-page-content, .whb-header) {
	background-color: rgb(251,253,247);
	background-image: none;
}
.woodmart-archive-blog :is(.wd-page-content, .whb-header) {
	background-color: rgb(251,253,247);
	background-image: none;
}
.single-post :is(.wd-page-content, .whb-header) {
	background-color: rgb(251,253,247);
	background-image: none;
}
.woodmart-archive-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(251,253,247);
	background-image: none;
}
.single-portfolio :is(.wd-page-content, .whb-header) {
	background-color: rgb(251,253,247);
	background-image: none;
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-brd-color: #C9DDB8;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
		font-size: 36px;
	line-height: 48px;
	}

}

@media (max-width: 768.98px) {
	html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
		font-size: 30px;
	line-height: 40px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #2F6B16;
}

/* =========================================================
   HEALTHCARE 520 — WoodMart 全站自訂 CSS（2027 版）
   貼在：WoodMart → 主題設定 → Custom CSS → Global
   ※ 響應式規則在「桌面／平板／Mobile Landscape／手機」分頁

   目錄
   00 設計變數            08 .yq-content 內容排版
   01 全站字體            09 頁尾與版權
   02 標題                10 結帳版面
   03 全站按鈕            11 表單欄位可視性
   04 頁首與選單          12 部落格、文章與雜項
   05 2027 元件           13 頁面底色：晨光草原
   06 產品頁              14 減少動態
   07 見證                15 宋體-繁（Songti TC）與手機標題字型
   ---------------------------------------------------------
   英文版（Polylang EN）補充：E0～E10

   2026-11 整理紀錄
   1. 檔案開頭沒有分節的規則，歸入 04、06、09、10、12 節
   2. 文章頁大標題：移除第 02 節沒有作用的 font-size:3.2em
      （實際生效的是第 12 節的 2.5em）
   3. 頁首工具列文字（帳號／購物車）：移除 !important，
      改用 body 開頭提高權重，中英文顯示結果不變
   4. 移除「國家改為 radio」規則（結帳頁國家欄位已是下拉選單）
   5. 第 10 節補上信任資訊「聯繫客服」的連結樣式
   6. 新增 --hc-link 變數（#00971A），結帳頁連結改用變數，顏色不變
   7. 第 15 節移到英文版之前，目錄同步更新
   ========================================================= */


/* ===== 00 設計變數 ====================================== */
:root{
  /* 主色票 */
  --hc-ink:#24521A;
  --hc-ink-soft:#384D2D;
  --hc-forest-deep:#002902;
  --hc-forest:#24521A;
  --hc-primary-text:#2B6411;
  --hc-primary:#69973B;
  --hc-grass:#AAC352;
  --hc-lime:#BFD368;
  --hc-gold:#24521A;
  --hc-link:#00971A;                 /* 結帳頁文字連結（隱私權、條款、聯繫客服） */

  /* 底色 */
  --hc-mint:#F4F8ED;
  --hc-mint-soft:#EDF2CF;
  --hc-cream:#F4F8ED;
  --hc-line:#DCE8CF;
  --hc-page:#FBFDF7;
  --hc-accent:#8DC63B;               /* 蘋果綠：焦點框 */

  /* 舊名稱別名（仍有規則引用） */
  --hc-maroon:var(--hc-primary-text);
  --hc-maroon-dark:var(--hc-forest);
  --hc-maroon-deep:var(--hc-forest-deep);
  --hc-gold-deep:var(--hc-primary-text);

  /* 字體 */
  --hc-sans:"PingFang TC","Heiti TC","Microsoft JhengHei","Noto Sans CJK TC","Noto Sans TC",sans-serif;
  --hc-serif:"Noto Serif TC","Songti TC","PingFang TC","Microsoft JhengHei",serif;

  --hc-title-ls:.08em;
  --hc-eyebrow-ls:.12em;

  /* 表單欄位 */
  --hc-field-bg:#FFFFFF;
  --hc-field-line:#8FAE7D;
  --hc-field-line-hover:var(--hc-grass);
  --hc-field-text:var(--hc-ink);
  --hc-field-ph:#5F704F;
  --hc-field-radius:5px;
}


/* ===== 01 全站字體 ===================================== */
html{ font-size:16px; }

body{
  font-family:var(--hc-sans);
  color:var(--hc-ink-soft);
  font-size:16px;
  line-height:1.8;
}

body, li, input, textarea, select, button{ letter-spacing:0; }

p{
  letter-spacing:.05em;
  line-height:1.8;
}

h1,h2,h3,h4,h5,h6,
.wd-entities-title{
  font-family:var(--hc-serif);
  color:var(--hc-ink);
  letter-spacing:-.01em;
}

h1{ font-size:clamp(36px,4vw,48px); line-height:1.35; font-weight:600; }
h2{ font-size:clamp(30px,3vw,38px); line-height:1.4;  font-weight:600; }
h3{ font-size:clamp(20px,2vw,26px); line-height:1.45; font-weight:600; }


/* ===== 02 WoodMart 標題 ================================ */

/* 副標題（eyebrow） */
.subtitle-style-default{
  order:-1;
  margin:0 0 10px;
  font-family:"Noto Serif TC","Songti TC","PingFang TC",serif;
  font-size:1.2em;
  font-weight:500;
  font-style:normal;
  line-height:1.4;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-indent:.1em;
  color:var(--hc-primary);
}
.subtitle-style-default.subtitle-color-white{ color:#FFFFFF; }

/* 標題內 <u> 當重點色用 */
.woodmart-title-container u{ color:var(--hc-primary); text-decoration:none; }
.woodmart-title-container{ letter-spacing:var(--hc-title-ls); }
.wd-title-color-white .title{ color:#FFFFFF; }

/* 其他標題微調 */
.title-after_title{ margin-top:5px; }
.elementor-widget-container h3{ padding-bottom:3px; }
/* 文章頁大標題字距（字級在第 12 節） */
h1.wd-post-title{ letter-spacing:.04em; }


/* ===== 03 全站按鈕 ===================================== */

/* WoodMart 按鈕基本樣式（補回）：原本寫成 :is(.btn, .button, …)，
   WP Rocket「Remove Unused CSS」會把它漏掉，導致未登入訪客的按鈕變成一般文字連結。
   內容與 WoodMart base.css 相同，只改成一般選擇器。 */
.btn,
.button,
button,
[type="submit"],
[type="button"]{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  outline:none;
  border-radius:var(--btn-brd-radius, 0px);
  vertical-align:middle;
  text-align:center;
  text-shadow:none;
  line-height:1.2;
  cursor:pointer;
  transition:.25s;
  color:var(--btn-color, #3E3E3E);
  border:var(--btn-brd-width, 0px) var(--btn-brd-style, solid) var(--btn-brd-color, #E9E9E9);
  background-color:var(--btn-bgcolor, #F3F3F3);
  box-shadow:var(--btn-box-shadow, unset);
  text-transform:var(--btn-transform, uppercase);
  font-weight:var(--btn-font-weight, 600);
  font-family:var(--btn-font-family, inherit);
  font-style:var(--btn-font-style, unset);
  padding:var(--btn-padding, 5px 20px);
  min-height:var(--btn-height, 42px);
  font-size:var(--btn-font-size, 13px);
  text-decoration:none;
}
.btn:hover,
.button:hover,
button:hover,
[type="submit"]:hover,
[type="button"]:hover{
  color:var(--btn-color-hover, var(--btn-color, #3E3E3E));
  border-color:var(--btn-brd-color-hover, var(--btn-brd-color, #e0e0e0));
  background-color:var(--btn-bgcolor-hover, var(--btn-bgcolor, #e0e0e0));
  box-shadow:var(--btn-box-shadow-hover, var(--btn-box-shadow, unset));
}


a.btn, button.btn,
.woocommerce a.button, .woocommerce button.button,
.single_add_to_cart_button, .checkout-button{
  font-family:var(--hc-sans);
  font-weight:600;
  text-transform:none;
  letter-spacing:.02em;
  box-shadow:none;
  transition:background-color .25s ease,border-color .25s ease,color .25s ease,transform .25s ease;
}
a.btn:hover, button.btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover{
  transform:none;
  top:0;
}

/* 尺寸 */
.btn.btn-size-extra-large{ padding:16px 32px; font-size:16px; }
.btn.btn-size-small      { padding:10px 20px; font-size:14px; }

/* 主要按鈕 */
.btn.btn-color-primary,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.single_add_to_cart_button, .checkout-button{
  background:var(--hc-forest);
  border:1px solid var(--hc-forest);
  color:#FFFFFF;
  border-radius:999px;
}
.btn.btn-color-primary:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.single_add_to_cart_button:hover, .checkout-button:hover{
  background:var(--hc-forest-deep);
  border-color:var(--hc-forest-deep);
  color:#FFFFFF;
}

/* 次要（外框）按鈕 */
.btn.btn-style-bordered,
.woocommerce a.button:not(.alt), .woocommerce button.button:not(.alt){
  background:transparent;
  border:2px solid var(--hc-primary-text);
  color:var(--hc-primary-text);
  border-radius:999px;
}
.btn.btn-style-bordered:hover,
.woocommerce a.button:not(.alt):hover, .woocommerce button.button:not(.alt):hover{
  background:var(--hc-primary-text);
  border-color:var(--hc-primary-text);
  color:#FFFFFF;
}
/* 商品卡片的「加入購物車」維持 WoodMart 原本的實心按鈕，不套用外框 */
.woocommerce .wd-product .wd-add-btn > a.button{ border:0; }

/* 排除不該套用按鈕樣式的元件 */
.wd-skip-links, .wd-close-side, .quantity .btn, .wd-tools-element .btn{
  letter-spacing:normal;
  padding:initial;
}

/* WooCommerce 提示條（已加入購物車等）裡的按鈕：白底綠字，避免深綠字壓在綠底上 */
body .woocommerce-message a.button:not(.alt){
  display:inline-block;
  margin-inline-start:12px;
  padding:6px 18px;
  font-family:var(--hc-sans);
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:.02em;
  white-space:nowrap;
  background:#FFFFFF;
  border:1px solid #FFFFFF;
  color:var(--hc-forest);
  border-radius:999px;
}
body .woocommerce-message a.button:not(.alt):hover{
  background:var(--hc-mint);
  border-color:var(--hc-mint);
  color:var(--hc-forest-deep);
}


/* ===== 04 頁首與選單 =================================== */
.wd-nav-main > li > a.woodmart-nav-link{ letter-spacing:.08em; }

/* 外部連結選單項目（加外連圖示） */
.lang-item > a .nav-link-text{ font-size:.7em; }

/* 頁首工具列文字（我的帳戶、購物車等）：黑體、原字級、中等粗細
   用 body 開頭提高權重，蓋過 WoodMart header-base.css，不需要 !important
   英文版字級在 E9 */
body .wd-tools-element [class*="wd-tools-text"]{
  font-family:"PingFang TC","Heiti TC","Microsoft JhengHei","Noto Sans CJK TC",sans-serif;
  font-size:1em;
  font-weight:500;
}

/* 手機選單背景色 */
.mobile-nav.wd-side-hidden{
  background-color:#F2F9E8;
}

/* 手機底部工具列：「選購產品」做成綠底白字，讓客人一眼看出是購買入口 */
.wd-toolbar .wd-toolbar-shop{
  background-color:var(--hc-forest);
}
.wd-toolbar .wd-toolbar-shop > a,
.wd-toolbar .wd-toolbar-shop > a:hover,
.wd-toolbar .wd-toolbar-shop .wd-tools-icon,
.wd-toolbar .wd-toolbar-shop .wd-tools-icon::before,
.wd-toolbar .wd-toolbar-shop .wd-toolbar-label{
  color:#FFFFFF;
}
.wd-toolbar .wd-toolbar-shop .wd-toolbar-label{
  font-weight:700;
}

/* 手機版頁首「購買」按鈕：文字不換行、區塊不被壓縮，保持一行的圓角按鈕 */
.whb-header .whb-hidden-lg .wd-header-html,
.whb-header .whb-hidden-lg .wd-header-html .elementor-widget-wd_button{
  flex-shrink:0;
}
.whb-header .whb-hidden-lg .wd-header-html .btn{
  white-space:nowrap;
  padding:8px 18px;
  font-size:15px;
}

/* 桌面版主選單：隱藏語言項目（改由頁首右側的 [hc520_lang_switch] 顯示）
   手機側邊選單（.wd-nav-mobile）不受影響 */
.whb-header .wd-nav-main > li.lang-item{
  display:none;
}

/* 頁首右側語言切換：小膠囊連結 */
/* 頁首右側語言切換：小字連結（不加外框，避免擠壓主選單） */
.whb-header .wd-header-text:has(> .hc520-lang){
  padding-inline:4px;
}
.hc520-lang__link{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:2px 4px;
  font-size:13px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:0;
  white-space:nowrap;
  color:var(--hc-ink-soft);
  text-decoration:none;
  border-radius:4px;
  transition:color .2s ease, background-color .2s ease;
}

/* 頁首語言切換：外層改為 flex 置中，跟購物車、登入文字對齊 */
.hc520-lang{
  display:flex;
  align-items:center;
}

.hc520-lang__link:hover{
  color:var(--hc-forest);
  background-color:var(--hc-mint);
}

/* 手機側邊選單：語言項目加上分隔線和地球圖示，比較容易找到 */
.wd-nav-mobile > li.lang-item{
  border-top:1px solid var(--hc-line);
}
.wd-nav-mobile > li.lang-item > a::before{
  content:"";
  flex:0 0 18px;
  width:18px;
  height:18px;
  margin-inline-end:8px;
  background-color:currentColor;
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='2' y1='12' x2='22' y2='12'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>") center / contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='2' y1='12' x2='22' y2='12'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>") center / contain no-repeat;
}

/* ===== 05 2027 元件 ==================================== */

/* 數據卡 .hc27-stats（元件內自帶色值） */
.hc27-stats{
  --hc-forest:#2B6411;
  --hc-ink-soft:#56644F;
  --hc-line:#DCEBC6;
  --li-mb:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  width:100%;
  max-width:none;
  box-sizing:border-box;
  margin:0;
  padding:0;
  list-style:none;
  background:#FFFFFF;
  border:1px solid var(--hc-line);
  border-radius:18px;
  box-shadow:0 12px 32px -18px rgba(31,77,20,.25);
  font-family:var(--hc-sans);
}
.hc27-stats *{ box-sizing:border-box; }
.hc27-stats li{
  margin:0;
  padding:24px 16px;
  min-width:0;
  text-align:center;
  border-left:1px solid var(--hc-line);
}
.hc27-stats li::before{ content:none; }
.hc27-stats li:first-child{ border-left:0; }
.hc27-stats__num{
  display:block;
  font-family:"Noto Serif TC",serif;
  font-weight:900;
  font-size:clamp(26px,3.2vw,36px);
  line-height:1.2;
  color:var(--hc-forest);
}
.hc27-stats__num small{ font-size:.5em; font-weight:700; margin:0 2px; }
.hc27-stats__lbl{
  display:block;
  font-size:14px;
  line-height:1.6;
  color:var(--hc-ink-soft);
}

/* 光暈圓背景 .hc27-orb-bg */
.hc27-orb-bg{
  --orb-size:116%;
  --orb-shift:10px;
  --orb-deep:218,223,104;
  --orb-mid:241,242,184;
  --orb-opacity:1;
  position:relative;
  isolation:isolate;
}
.hc27-orb-bg::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:auto;
  left:50%;
  top:50%;
  width:var(--orb-size);
  height:auto;
  aspect-ratio:1 / 1;
  border-radius:50%;
  transform:translate(-50%, calc(-50% - var(--orb-shift)));
  opacity:var(--orb-opacity);
  pointer-events:none;
  background:linear-gradient(225deg,
    rgba(var(--orb-deep),1)   0%,
    rgba(var(--orb-mid),.8)  32%,
    rgba(var(--orb-mid),.35) 58%,
    rgba(var(--orb-mid),0)   84%);
}

/* 15年 研發實證 徽章（加在商品圖外層容器） */
.hc-badge-15y{ position:relative; }
.hc-badge-15y::after{
  content:"";
  position:absolute;
  right:6%;
  bottom:6%;
  z-index:5;
  width:clamp(120px,26%,290px);
  aspect-ratio:290 / 230;
  pointer-events:none;
  filter:drop-shadow(0 8px 18px rgba(13,58,14,.28));
  background:no-repeat center / contain url("data:image/svg+xml;charset=utf-8,\
%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 290 230'%3E\
%3Crect x='1.5' y='1.5' width='287' height='227' rx='26' fill='%23113410' stroke='%23ffffff' stroke-opacity='.35' stroke-width='2'/%3E\
%3Cg fill='%23ffffff' text-anchor='middle' font-family='Noto Sans TC, PingFang TC, Microsoft JhengHei, sans-serif'%3E\
%3Ctext x='145' y='98' font-size='80' font-weight='900'%3E15年%3C/text%3E\
%3Ctext x='145' y='152' font-size='38' font-weight='800' letter-spacing='3'%3E研發實證%3C/text%3E\
%3Ctext x='145' y='200' font-size='23' font-weight='500' letter-spacing='1'%3E科學 × 天然 × 效果%3C/text%3E\
%3C/g%3E%3C/svg%3E");
}

/* 圖片框副標 */
.img-sub-title u{
  text-decoration:none;
  font-size:.8em;
  color:#0B2A18;
  font-family:var(--hc-sans);
}
.img-sub-title .elementor-image-box-content{ padding:0 18px; }


/* ===== 06 產品頁 ======================================= */
.wd-grid-g .product-images{ --wd-col-lg:5; margin-top:10px; }
.wd-grid-g .entry-summary { --wd-col-lg:7; }
.product-grid-item{ --wd-col-lg:10; }
.wd-entities-title{ padding-bottom:0; margin-bottom:0; }
form.cart{ padding-bottom:20px; margin-bottom:30px; }
.product-labels{ inset-inline-end:15px; inset-inline-start:inherit; }
.shop-loop-head{ display:none; }

/* 文章內嵌商品（手機改不浮動，見 Mobile Landscape／手機分頁） */
#insert-post-product{ float:right; width:40%; }

.elementor-element svg.wd-icon{ margin-top:5px; }

/* 「相關商品」上方與分頁區、下方與頁尾（品牌理念）之間留空 */
.related-and-upsells{
  padding-top:50px;
  padding-bottom:60px;
}
/* 「相關商品」／「推薦商品」標題與下方輪播之間留空 */
.related-and-upsells .wd-products-element .wd-el-title{
  margin-bottom:40px;
}


/* ===== 07 見證 ========================================= */
cite{
  display:block;
  margin-top:16px;
  font-style:normal;
  font-size:.8em;
  letter-spacing:.16em;
  color:var(--hc-primary-text);
  text-align:right;
  text-decoration:none;
}
.yq-voice--focus cite{ color:#FFFFFF; }


/* ===== 08 .yq-content 內容排版 ========================= */
/* 文章排版：h5／blockquote 目前文章未用到，但保留給日後撰文 */
.yq-content h1,
.yq-content h2{ font-weight:700; color:var(--hc-maroon-dark); }
.yq-content h3{
  font-weight:700;
  color:var(--hc-maroon-dark);
  border-bottom:1px solid var(--hc-gold);
}
.yq-content h4{ font-weight:700; color:var(--hc-maroon);    padding-bottom:0; border-bottom:none; }
.yq-content h5{ font-weight:700; color:var(--hc-gold-deep); padding-bottom:0; border-bottom:none; }
.yq-content > h1:first-child,
.yq-content > h2:first-child,
.yq-content > h3:first-child{ margin-top:0; }

.yq-content li{ margin-bottom:8px; }

.yq-content blockquote{
  margin:32px 0;
  padding:20px 24px;
  background:var(--hc-cream);
  border-left:3px solid var(--hc-gold);
  color:var(--hc-ink);
}

/* 表格 */
.yq-content table{
  width:100%;
  margin:24px 0;
  border-collapse:collapse;
  table-layout:fixed;
}
.yq-content table th{
  padding:14px 16px;
  text-align:left;
  font-weight:700;
  color:var(--hc-maroon-dark);
  background:var(--hc-cream);
  border-bottom:1px solid var(--hc-line);
}
.yq-content table td{
  padding:12px 16px;
  color:var(--hc-ink-soft);
  border-bottom:1px solid var(--hc-line);
}
.yq-content table tbody tr:last-child td{ border-bottom:none; }


/* ===== 09 頁尾與版權 =================================== */
.copyrights-wrapper,
.wd-copyrights{
  background-color:var(--hc-maroon-deep);
  color:rgba(227,237,213,.72);
  line-height:1.8em;
  border-top:0;
  letter-spacing:.1em;
}
.wd-copyrights.wd-layout-centered{ font-size:13px; }

/* 隱藏空的預備頁尾（文章頁尾上方 40px 白邊） */
.website-wrapper .wd-prefooter{
  padding-bottom:0;
  background-color:transparent;
}


/* ===== 10 結帳版面（購物車有商品時才出現，保留） ======== */
.calculated_shipping .shop_table tr :is(td, th):first-child{ width:30%; }
.cart-item-image{ overflow:visible; padding:inherit; }

/* 國家下拉不顯示搜尋框 */
.select2-dropdown .select2-search,
select#billing_country + .select2-container .select2-search,
.country_to_state + .select2-container .select2-search,
.country_select + .select2-container .select2-search{ display:none; }

/* 姓／名／國家 三欄 */
.woocommerce-billing-fields .form-row-first,
.woocommerce-billing-fields .form-row-last,
.woocommerce-shipping-fields .form-row-first,
.woocommerce-shipping-fields .form-row-last{
  width:32%;
  float:left;
  margin-right:2%;
  clear:none;
}
.woocommerce-billing-fields #billing_country_field,
.woocommerce-shipping-fields #shipping_country_field{
  width:32%;
  float:left;
  clear:none;
  margin-right:0;
}
.woocommerce-billing-fields .form-row-first label,
.woocommerce-billing-fields .form-row-last label,
.woocommerce-billing-fields #billing_country_field label,
.woocommerce-shipping-fields .form-row-first label,
.woocommerce-shipping-fields .form-row-last label,
.woocommerce-shipping-fields #shipping_country_field label{
  display:block;
  margin-bottom:4px;
}
.woocommerce-billing-fields .form-row-first input,
.woocommerce-billing-fields .form-row-last input,
.woocommerce-billing-fields #billing_country_field select,
.woocommerce-shipping-fields .form-row-first input,
.woocommerce-shipping-fields .form-row-last input,
.woocommerce-shipping-fields #shipping_country_field select{
  width:100%;
  box-sizing:border-box;
}

/* 城市／區域 */
#billing_city_field, #billing_state_field,
#shipping_city_field, #shipping_state_field{
  display:inline-block;
  width:36%;
  margin-right:2%;
}
/* 郵遞區號 */
#billing_postcode_field, #shipping_postcode_field{
  display:inline-block;
  width:24%;
}
/* 街道地址／電話 */
#billing_address_1_field, #shipping_address_1_field,
#billing_phone_field, #shipping_phone_field{
  display:inline-block;
  width:48%;
  margin-right:2%;
}

/* 手機版結帳頁：移除「您的訂單」區塊的灰底、上下波浪邊與左右內距，讓卡片與上方欄位切齊 */
@media (max-width:767px){
  .woocommerce-checkout > .checkout-order-review:not(#hc520-none){
    background-color:transparent;
    padding-left:0;
    padding-right:0;
  }
  .woocommerce-checkout > .checkout-order-review:not(#hc520-none)::before,
  .woocommerce-checkout > .checkout-order-review:not(#hc520-none)::after{
    content:none;
  }
}

/* 金額後的 (美金)／(USD) 加註 */
.hc520-usd-suffix{
  font-size:.7em;
}
/* 總計金額與 (美金) 同一行：US$330 (美金)
   WoodMart 把總計的 <strong> 設成區塊元素，導致後面的加註換行 */
tr.order-total td strong{
  display:inline;
}
tr.order-total .hc520-usd-suffix{
  white-space:nowrap;
}

/* 訂單摘要下方的折價券：虛線框內直接放輸入框＋套用按鈕（方便長輩辨識） */
.hc520-coupon{
  margin:16px 0 20px;
}
.hc520-coupon__row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  background:var(--hc-mint-soft);
  border:2px dashed var(--hc-primary);
  border-radius:12px;
}
/* 左側標籤圖示 */
.hc520-coupon__row::before{
  content:"";
  flex:0 0 22px;
  height:22px;
  background-color:var(--hc-forest);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.59 13.41 13.42 20.58a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/><circle cx='7' cy='7' r='1.5'/></svg>") center / contain no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.59 13.41 13.42 20.58a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/><circle cx='7' cy='7' r='1.5'/></svg>") center / contain no-repeat;
}
.hc520-coupon__input{
  flex:1 1 auto;
  min-width:0;
  font-size:16px;
}

/* 套用按鈕：實心綠色（加強權重，避免被全站外框按鈕樣式蓋掉） */
body .hc520-coupon__row button.button.hc520-coupon__apply{
  flex:0 0 auto;
  min-height:var(--wd-form-height, 42px);
  padding:0 24px;
  font-size:16px;
  border-radius:var(--hc-field-radius);
  background:var(--hc-forest);
  border:1px solid var(--hc-forest);
  color:#FFFFFF;
  text-transform:none;
}
body .hc520-coupon__row button.button.hc520-coupon__apply:hover{
  background:var(--hc-forest-deep);
  border-color:var(--hc-forest-deep);
  color:#FFFFFF;
}

.hc520-coupon__msg:not(:empty){
  margin-top:10px;
  font-size:15px;
}

/* 付款方式：PayPal 標誌跟著文字排列，不靠右浮動，大小與其他付款標誌一致 */
#payment li.payment_method_ppcp label img{
  float:none;
  display:inline-block;
  vertical-align:middle;
  max-height:24px;
  max-width:none;
  width:auto;
}

/* 首購提醒（「下單購買」按鈕上方，淡黃色底；老客人不顯示） */
.woocommerce-checkout .hc520-first-order{
  margin:0 0 14px;
  padding:12px 16px;
  background-color:#fdf8e4;
  border:1px solid #efe2b0;
  border-left:4px solid #d4a72c;
  border-radius:8px;
}
.woocommerce-checkout .hc520-first-order__title{
  margin:0 0 4px;
  font-size:15px;
  font-weight:700;
  color:#7a5a10;
}
.woocommerce-checkout .hc520-first-order__text{
  margin:0;
  font-size:15px;
  line-height:1.7;
  color:#3d3d3d;
}

/* 按鈕上方小字（隱私權說明＋同意條款）合併成一段，灰色 14px，中間不分隔 */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text{
  margin:0 0 6px;
  padding:0;
  border-bottom:0;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .hc520-terms-notice{
  margin:0;
  font-size:14px;
  line-height:1.7;
  color:#6b6b6b;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .hc520-terms-notice{
  margin-bottom:16px;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a{
  color:var(--hc-link);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a:hover{
  color:var(--hc-ink-soft);
}

/* 「下單購買」按鈕下方的信任資訊 */
.hc520-trust{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:4px 8px;
  margin:12px 0 0;
  font-size:14px;
  line-height:1.6;
  letter-spacing:0;
  color:var(--hc-ink-soft);
  text-align:center;
}
.hc520-trust__icon{
  flex:0 0 auto;
  color:var(--hc-forest);
}
.hc520-trust__sep{
  color:var(--hc-line);
  font-weight:700;
}
.hc520-trust__item{
  white-space:nowrap;
}
/* 「有問題請聯繫客服」：點了打開右下角浮動客服選單，做成連結樣式 */
.hc520-trust label.hc520-trust__contact{
  display:inline;
  margin:0;
  padding:0;
  color:var(--hc-link);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
.hc520-trust label.hc520-trust__contact:hover{
  color:var(--hc-ink-soft);
}
.hc520-trust label.hc520-trust__contact:focus-visible{
  outline:2px solid var(--hc-ink-soft);
  outline-offset:2px;
  border-radius:2px;
}


/* ===== 11 表單欄位可視性（結帳／聯絡／登入通用） ========= */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.wd-checkout-form input.input-text,
.wd-checkout-form textarea,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple{
  background-color:var(--hc-field-bg);
  border:1px solid var(--hc-field-line);
  border-radius:var(--hc-field-radius);
  color:var(--hc-field-text);
  box-shadow:
    inset 0 1px 2px rgba(19,72,30,.04),
    0 1px 2px rgba(19,72,30,.05);
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

/* select2 內部文字與箭頭對齊 */
.select2-container--default .select2-selection--single{
  height:var(--wd-form-height,48px);
  display:flex;
  align-items:center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  color:var(--hc-field-text);
  line-height:normal;
  padding-left:14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
  height:100%;
  color:var(--hc-gold-deep);
}

/* placeholder */
.woocommerce form .form-row input.input-text::placeholder,
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder,
.wd-checkout-form input::placeholder{
  color:var(--hc-field-ph);
  opacity:1;
}

/* hover */
.woocommerce form .form-row input.input-text:hover,
.woocommerce form .form-row textarea:hover,
.woocommerce form .form-row select:hover,
.woocommerce-checkout input:hover,
.woocommerce-checkout textarea:hover,
.select2-container--default .select2-selection--single:hover{
  border-color:var(--hc-field-line-hover);
  background-color:rgba(255,255,255,.82);
}

/* focus */
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus,
.select2-container--default.select2-container--open .select2-selection--single{
  outline:0;
  border-color:var(--hc-accent);
  background-color:#FFFFFF;
  box-shadow:none;
}

/* 驗證狀態 */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid textarea{
  border-color:var(--hc-maroon);
  background-color:rgba(255,255,255,.85);
}
.woocommerce form .form-row.woocommerce-validated input.input-text{
  border-color:var(--hc-gold);
}

/* 標籤與必填星號 */
.woocommerce form .form-row label{
  margin-bottom:6px;
  font-weight:500;
  color:var(--hc-maroon-dark);
}
.woocommerce form .form-row .required{
  color:var(--hc-maroon);
  text-decoration:none;
}
.woocommerce form .form-row label .optional{ color:var(--hc-ink-soft); }

/* 核取方塊／radio */
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"]{
  accent-color:var(--hc-maroon);
  width:18px;
  height:18px;
  border:1px solid var(--hc-field-line);
  border-radius:3px;
}

/* select2 下拉面板 */
.select2-container--default .select2-dropdown{
  background:#FFFFFF;
  border:1px solid var(--hc-field-line);
  border-radius:var(--hc-field-radius);
  box-shadow:0 8px 24px rgba(19,72,30,.10);
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
  background-color:var(--hc-cream);
  color:var(--hc-maroon-dark);
}


/* ===== 12 部落格、文章與雜項 ============================ */
.yoast-breadcrumb span a{ margin:0 3px; }
.wd-post-image, .wd-post-image img{ width:100%; }
.wd-post-author,
body.single-post .wd-single-post-header .wd-post-meta{ display:none; }
.woodmart-recent-posts .wd-entities-title{ margin-top:-5px; }

/* 文章頁大標題 */
body.single-post .wd-single-post-header h1.wd-post-title{
  font-size:2.5em;
  line-height:1.4;
  font-weight:700;
}

/* 文章頁精選圖片 */
.single-post .wd-single-post-header .wd-post-image{
  aspect-ratio:auto;
  overflow:visible;
  border-radius:0;
}
.single-post .wd-single-post-header .wd-post-image img{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  border-radius:16px;
}

/* 精選圖片說明文字 */
.hc520-featured-caption{
  margin-top:10px;
  font-size:14px;
  line-height:1.6;
  color:#777;
  text-align:center;
}

/* 文章內嵌影片：滿版寬度、16:9 比例 */
body.single-post .wd-entry-content iframe[src*="youtube.com"],
body.single-post .wd-entry-content iframe[src*="youtube-nocookie.com"],
body.single-post .wd-entry-content iframe[src*="vimeo.com"]{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
}

/* 文章頁側邊欄（手機／平板滑出時）背景色 */
.wd-sidebar.wd-side-hidden{
  background-color:#FBFDF7;
}

/* 相關文章：不顯示摘要 */
.related-posts-slider .wd-entry-content,
.related-posts-slider .entry-content,
.wd-related-posts .wd-entry-content,
.wd-related-posts .entry-content{
  display:none;
}

/* 相關文章圖片 */
.related-posts-slider .wd-post-img{
  aspect-ratio:16 / 10;
  overflow:hidden;
  border-radius:16px;
}
.related-posts-slider .wd-post-img a{
  display:block;
  height:100%;
}
.related-posts-slider .wd-post-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* 部落格列表／分類頁圖片 */
.wd-blog-holder .wd-post-img{
  aspect-ratio:16 / 10;
  overflow:hidden;
  border-radius:16px;
}
.wd-blog-holder .wd-post-img a{
  display:block;
  height:100%;
}
.wd-blog-holder .wd-post-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* 文章卡片與側欄標題改用內文字型（文章頁大標題、商品名稱維持 Noto Serif TC） */
.wd-post .wd-post-title,
.woodmart-recent-posts .wd-entities-title{
  font-family:var(--hc-sans);
  font-weight:400;
}

/* 標籤列 */
body .wd-tags-list a::after{ content:none; }
.wd-tags-list a{ padding-inline:15px 13px; }

/* 社群登入按鈕（Nextend）：Google／Yahoo 兩顆並排、等寬；手機（≤480px）改回上下排列
   適用結帳頁、我的帳號登入／註冊等所有出現社群登入的地方 */
div.nsl-container.nsl-container-block div.nsl-container-buttons{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  width:100%;
  max-width:600px;
}
div.nsl-container.nsl-container-block div.nsl-container-buttons a{
  width:auto;
  max-width:none;
  margin:0;
}
div.nsl-container.nsl-container-block div.nsl-container-buttons .nsl-button-label-container{
  flex:1 1 auto;
  margin:0 12px 0 8px;
  font-size:14px;
  letter-spacing:0;
  text-align:center;
}
@media (max-width:480px){
  div.nsl-container.nsl-container-block div.nsl-container-buttons{
    grid-template-columns:1fr;
  }
}


/* ===== 13 頁面底色：晨光草原 ============================ */
/* :root body 提高權重，蓋過 WoodMart 主題設定輸出的白色頁面背景 */
:root body .wd-page-content{
  background-color:var(--hc-page);
  background-image:radial-gradient(circle at 14% 10%, rgba(141,198,59,.03) 0, transparent 50%);
  background-repeat:no-repeat;
  background-position:0 0;
  background-attachment:fixed;   /* iOS Safari 會退回 scroll */
  background-size:100vw 100vh;   /* 退回後仍只在首屏出現一次 */
}


/* ===== 14 減少動態 ===================================== */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{
    scroll-behavior:auto;
    transition:none;
    animation:none;
  }
}


/* ===== 15 宋體-繁（Songti TC）：Mac 用系統宋體，其他裝置用 Google Noto Serif TC ===== */
/* 沿用 "Noto Serif TC" 名稱：主題設定、Elementor、HTML 元件都不用改。
   Mac 有內建 Songti TC → 用宋體（放大 112%、全部用粗體）；
   Windows / Android / iPhone 沒有 → 自動改用 WoodMart 載入的 Google Noto Serif TC（不缺字，不需再更新字型檔）。
   要調整大小：改下面 5 行的 size-adjust（例如 115%）。 */
@font-face{font-family:"Noto Serif TC";font-style:normal;font-weight:400;font-display:swap;size-adjust:112%;src:local("Songti TC Bold"),local("STSongti-TC-Bold");}
@font-face{font-family:"Noto Serif TC";font-style:normal;font-weight:500;font-display:swap;size-adjust:112%;src:local("Songti TC Bold"),local("STSongti-TC-Bold");}
@font-face{font-family:"Noto Serif TC";font-style:normal;font-weight:600;font-display:swap;size-adjust:112%;src:local("Songti TC Bold"),local("STSongti-TC-Bold");}
@font-face{font-family:"Noto Serif TC";font-style:normal;font-weight:700;font-display:swap;size-adjust:112%;src:local("Songti TC Bold"),local("STSongti-TC-Bold");}
@font-face{font-family:"Noto Serif TC";font-style:normal;font-weight:900;font-display:swap;size-adjust:112%;src:local("Songti TC Bold"),local("STSongti-TC-Bold");}

/* Firefox 專用：讓 Firefox 用自己的模擬粗體加粗宋體-繁，效果接近 Chrome／Brave
   原理：把 Songti TC Bold 宣告成 400 字重，標題要求 700 時 Firefox 會自動加粗 */
@font-face{
  font-family:"HC Songti Synth";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  size-adjust:112%;
  src:local("Songti TC Bold"),local("STSongti-TC-Bold");
}

@-moz-document url-prefix() {
  :lang(zh) h1,
  :lang(zh) h2,
  :lang(zh) .woodmart-title-container {
    font-family:"HC Songti Synth","Noto Serif TC","Songti TC","PingFang TC",serif;
    font-synthesis:weight;
  }
}

/* 宋體-繁本機別名（不會下載任何字型檔）：給手機版標題字型組合使用
   Mac 視窗縮窄時仍顯示宋體粗體（放大 112%）；其他裝置找不到就改用下一個字型 */
@font-face{
  font-family:"HC Serif Local";
  font-style:normal;
  font-weight:400 900;
  font-display:swap;
  size-adjust:112%;
  src:local("Songti TC Bold"),local("STSongti-TC-Bold");
}

/* 手機版（≤767px）中文頁：標題不載入 Noto Serif TC 網路字型，改用裝置內建字型
   Android → 系統內建的 Noto Serif CJK（明體）；iPhone → 系統字型；Mac 窄視窗 → 宋體
   英文頁（:lang(en)）不受影響，桌面版也不受影響 */
@media (max-width:767px){
  :root:lang(zh){
    --hc-serif:"HC Serif Local","Noto Serif CJK TC","Source Han Serif TC",serif;
    --wd-title-font:"HC Serif Local","Noto Serif CJK TC","Source Han Serif TC",serif;
    --wd-entities-title-font:"HC Serif Local","Noto Serif CJK TC","Source Han Serif TC",serif;
    --wd-widget-title-font:"HC Serif Local","Noto Serif CJK TC","Source Han Serif TC",serif;
  }

  /* 頁面內嵌元件自帶的字型變數 */
  :lang(zh) .hc27{
    --hc-serif:"HC Serif Local","Noto Serif CJK TC","Source Han Serif TC",serif;
  }
  :lang(zh) .hc-eyecards{
    --ec-serif:"HC Serif Local","Noto Serif CJK TC","Source Han Serif TC",serif;
  }

  /* 直接寫死 "Noto Serif TC" 的規則 */
  :lang(zh) h1,
  :lang(zh) h2,
  :lang(zh) h3,
  :lang(zh) h4,
  :lang(zh) h5,
  :lang(zh) h6,
  :lang(zh) .wd-entities-title,
  :lang(zh) .subtitle-style-default,
  :lang(zh) .hc27-stats__num{
    font-family:"HC Serif Local","Noto Serif CJK TC","Source Han Serif TC",serif;
  }
}


/* =========================================================
   HEALTHCARE 520 — 英文版（Polylang EN）補充 CSS
   全部以 :lang(en) 作用域，只影響英文頁
   字型：Manrope（標題）＋ Roboto（內文）
   ========================================================= */


/* ===== E0 圖片框副標 ===================================== */
.img-sub-title u:lang(en){ line-height:1em; }


/* ===== E1 字型變數 ======================================= */
:root:lang(en){
  --hc-sans:"Roboto","Helvetica Neue",Arial,sans-serif;
  --hc-serif:"Manrope","Helvetica Neue",Arial,sans-serif;   /* 標題字型（沿用舊變數名） */
  --hc-title-ls:0;
  --hc-eyebrow-ls:.14em;

  --wd-text-font:"Roboto","Helvetica Neue",Arial,sans-serif;
  --wd-title-font:"Manrope","Helvetica Neue",Arial,sans-serif;
  --wd-entities-title-font:"Manrope","Helvetica Neue",Arial,sans-serif;
  --wd-widget-title-font:"Manrope","Helvetica Neue",Arial,sans-serif;
  --wd-alternative-font:"Manrope","Helvetica Neue",Arial,sans-serif;
  --wd-header-el-font:"Roboto","Helvetica Neue",Arial,sans-serif;
}

body:lang(en)[class*="elementor-kit-"]{
  --e-global-typography-primary-font-family:"Manrope";
  --e-global-typography-secondary-font-family:"Manrope";
  --e-global-typography-text-font-family:"Roboto";
  --e-global-typography-accent-font-family:"Roboto";
}


/* ===== E2 全站字體與標題 ================================= */
body:lang(en){
  font-family:var(--hc-sans);
  font-weight:400;
  line-height:1.7;
}

:lang(en) p{
  letter-spacing:0;
  line-height:1.7;
}

:lang(en) h1,
:lang(en) h2,
:lang(en) h3,
:lang(en) h4,
:lang(en) h5,
:lang(en) h6,
:lang(en) .wd-entities-title{
  font-family:var(--hc-serif);
  letter-spacing:-.01em;
}

/* Manrope x 高度大，字級回到與中文版相近 */
:lang(en) h1{ font-size:clamp(34px,3.8vw,46px); line-height:1.2;  font-weight:700; letter-spacing:-.02em; }
:lang(en) h2{ font-size:clamp(28px,2.9vw,36px); line-height:1.25; font-weight:700; letter-spacing:-.015em; }
:lang(en) h3{ font-size:clamp(20px,1.9vw,25px); line-height:1.3;  font-weight:700; }
:lang(en) h4{ line-height:1.35; font-weight:700; }
:lang(en) h5,
:lang(en) h6{ line-height:1.4; font-weight:700; }

:lang(en) h1.wd-post-title{ letter-spacing:-.02em; }

/* Manrope 沒有斜體：標題內 <em> 改用綠色強調 */
:lang(en) h1 em,
:lang(en) h2 em,
:lang(en) h3 em{ font-style:normal; color:var(--hc-primary); }


/* ===== E3 WoodMart 標題／副標 =========================== */
:lang(en) .subtitle-style-default{
  font-family:var(--hc-sans);
  font-size:.82em;
  font-weight:500;
  letter-spacing:var(--hc-eyebrow-ls);
  text-indent:0;
  text-transform:uppercase;
}

:lang(en) .woodmart-title-container{ letter-spacing:0; }

:lang(en) .title-after_title{
  font-family:var(--hc-sans);
  letter-spacing:0;
}


/* ===== E4 按鈕與選單 ===================================== */
:lang(en) a.btn,
:lang(en) button.btn,
:lang(en) .woocommerce a.button,
:lang(en) .woocommerce button.button,
:lang(en) .single_add_to_cart_button,
:lang(en) .checkout-button{
  font-family:var(--hc-sans);
  font-weight:500;
  letter-spacing:.03em;
}

:lang(en) .wd-nav-main > li > a.woodmart-nav-link{
  font-family:var(--hc-sans);
  letter-spacing:.02em;
}


/* ===== E5 2027 元件英文化 ================================ */
:lang(en) .hc27-stats{ font-family:var(--hc-sans); }
:lang(en) .hc27-stats__num{
  font-family:var(--hc-serif);
  font-weight:800;
  font-size:clamp(26px,3.2vw,36px);
  line-height:1.15;
  letter-spacing:-.02em;
}
:lang(en) .hc27-stats__num small{
  font-family:var(--hc-sans);
  font-size:.42em;
  font-weight:500;
  letter-spacing:.02em;
  margin-left:3px;
}
:lang(en) .hc27-stats__lbl{
  font-size:13.5px;
  line-height:1.5;
}

:lang(en) cite{
  font-family:var(--hc-sans);
  letter-spacing:.06em;
}

:lang(en) .img-sub-title u{ font-family:var(--hc-sans); }


/* ===== E6 15 年研發實證徽章：英文 SVG（Roboto） ========= */
.hc-badge-15y:lang(en)::after{
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 290 230'%3E%3Crect x='1.5' y='1.5' width='287' height='227' rx='26' fill='%23113410' stroke='%23ffffff' stroke-opacity='.35' stroke-width='2'/%3E%3Cg fill='%23ffffff' text-anchor='middle' font-family='Roboto, Helvetica Neue, Arial, sans-serif'%3E%3Ctext x='145' y='98' font-size='64' font-weight='700' textLength='230' lengthAdjust='spacingAndGlyphs'%3E15%2B Years%3C/text%3E%3Ctext x='145' y='148' font-size='22' font-weight='700' letter-spacing='2' textLength='240' lengthAdjust='spacingAndGlyphs'%3ERESEARCH-BACKED%3C/text%3E%3Ctext x='145' y='192' font-size='17' font-weight='400' textLength='226' lengthAdjust='spacingAndGlyphs'%3EScience %C3%97 Nature %C3%97 Results%3C/text%3E%3C/g%3E%3C/svg%3E");
}


/* ===== E7 頁面內嵌元件微調 =============================== */
:lang(en) .hc-eyecards .ec-card h3{ letter-spacing:0; }
:lang(en) .hc27-tl__sub,
:lang(en) .hc27-tl__prod small{ letter-spacing:.08em; }

:lang(en) .hcfm-badge{
  font-family:var(--hc-serif);
  font-weight:800;
  letter-spacing:.02em;
}


/* ===== E8 頁尾、雜項 ===================================== */
:lang(en) .copyrights-wrapper,
:lang(en) .wd-copyrights{
  font-family:var(--hc-sans);
  letter-spacing:.04em;
}
:lang(en) .woocommerce form .form-row label{ font-family:var(--hc-sans); }
:lang(en) .yoast-breadcrumb,
:lang(en) .wd-tags-list a{ font-family:var(--hc-sans); }


/* ===== E9 英文版頁首與選單 =============================== */
:lang(en) .whb-header .wd-nav-main > li > a{
  font-family:var(--hc-sans);
  font-size:.9em;
  font-weight:500;
  letter-spacing:.04em;
  text-transform:uppercase;           /* 不要全大寫就刪掉這行 */
}

/* 頁首工具列文字（My Account、Cart）：0.8em
   權重高於第 04 節的中文規則，不需要 !important */
/* 頁首工具列文字（Sign in、Cart）：英文字型、0.9em
   權重高於第 04 節的中文規則，不需要 !important */
body .wd-tools-element:lang(en) [class*="wd-tools-text"]{
  font-family:var(--hc-sans);
  font-size:.9em;
}

/* 頁首文字 */
:lang(en) .whb-header .wd-header-text{
  font-size:15px;
}
/* 手機側邊選單 */
:lang(en) .wd-nav-mobile > li > a{
  font-family:var(--hc-sans);
  font-size:.9em;
  font-weight:500;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* ≤1200px 選單字距收緊（跨桌面／平板，沒有對應分頁，留在 Global） */
@media (max-width:1200px){
  :lang(en) .whb-header .wd-nav-main > li > a{ letter-spacing:.03em; }
}


/* 英文選單：1440px 以下縮小字級與左右間距，避免最後一項（中文）被擠到第二行 */
@media (max-width:1440px){
  :lang(en) .whb-header .wd-nav-main{ --nav-pd:5px 9px; }
  :lang(en) .whb-header .wd-nav-main > li > a{ font-size:14px; letter-spacing:.02em; }
}
/* 1280px 以下再縮一點，並隱藏購物車旁的金額，讓出空間給選單 */
@media (max-width:1280px){
  :lang(en) .whb-header .wd-nav-main{ --nav-pd:5px 7px; }
  :lang(en) .whb-header .wd-nav-main > li > a{ font-size:13.5px; letter-spacing:.01em; }
  :lang(en) .whb-header .wd-cart-subtotal{ display:none; }
}

/* 英文版桌面頁首：不顯示購物車金額（保留圖示與數量），
   避免金額變長時把主選單擠到第二行 */
@media (min-width:1025px) and (max-width:1440px){
  :lang(en) .whb-general-header .wd-header-cart .wd-tools-text{
    display:none;
  }
}


/* ===== E10 英文商品頁：商品標題（Manrope） =============== */
html:lang(en) body.single-product .product_title.entry-title{
  font-family:"Manrope","Helvetica Neue",Arial,sans-serif;
  font-weight:700;
  letter-spacing:-.015em;
  line-height:1.2;
}

html:lang(en) body .product-grid-item .wd-entities-title,
html:lang(en) body .product-grid-item .wd-entities-title a{
  font-family:"Manrope","Helvetica Neue",Arial,sans-serif;
  font-weight:600;
  letter-spacing:-.01em;
}
@media (min-width: 1025px) {
	/* =========================================================
   桌面（≥1025px）
   ========================================================= */

body.woodmart-archive-blog .wd-post.blog-design-list .wd-post-title {
  font-size: 1.75em;
  line-height: 1.45;
}

/* .yq-content 標題 */
.yq-content h1 { font-size: 64px; line-height: 1.25em; margin: 0 0 24px; }
.yq-content h2 { font-size: 40px; line-height: 1.3em;  margin: 72px 0 24px; }
.yq-content h3 { font-size: 30px; line-height: 1.4em;  margin: 56px 0 24px; padding-bottom: 12px; }
.yq-content h4 { font-size: 22px; line-height: 1.5em;  margin: 52px 0 12px; }
.yq-content h5 { font-size: 18px; line-height: 1.6em;  margin: 32px 0 10px; }

.yq-content h3 + h4,
.yq-content h4 + h5 { margin-top: 24px; }

/* .yq-content 內文 */
.yq-content   { font-size: 17px; line-height: 1.9em; }
.yq-content p { line-height: 1.9em; }
.yq-content ul,
.yq-content ol { line-height: 2em; }
.yq-content blockquote { font-size: 17px; line-height: 1.9em; }
.yq-content table th,
.yq-content table td { font-size: 15px; line-height: 1.7em; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	/* =========================================================
   平板（768–1024px）
   ========================================================= */
body.single-post .wd-single-post-header h1.wd-post-title {
  font-size: 2.0em;
  line-height: 1.4;
}

body.woodmart-archive-blog .wd-post.blog-design-list .wd-post-title {
  font-size: 1.5em;
  line-height: 1.45;
}

/* .yq-content 標題 */
.yq-content h1 { font-size: 48px; line-height: 1.28em; margin: 0 0 20px; }
.yq-content h2 { font-size: 34px; line-height: 1.32em; margin: 60px 0 20px; }
.yq-content h3 { font-size: 27px; line-height: 1.42em; margin: 48px 0 20px; padding-bottom: 11px; }
.yq-content h4 { font-size: 21px; line-height: 1.52em; margin: 48px 0 12px; }
.yq-content h5 { font-size: 18px; line-height: 1.6em;  margin: 28px 0 10px; }

.yq-content h3 + h4,
.yq-content h4 + h5 { margin-top: 22px; }
}

@media (min-width: 577px) and (max-width: 767px) {
	/* =========================================================
   Mobile Landscape（577–767px）
   ========================================================= */

/* 全站標題 */
h1{ font-size:32px; }
h2{ font-size:28px; }
h3{ font-size:21px; }

/* 按鈕 */
.btn.btn-size-extra-large{ padding:14px 30px !important; font-size:15px !important; }

/* 數據卡：4 欄 → 2 欄 */
.hc27-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.hc27-stats li:nth-child(odd){ border-left:0; }
.hc27-stats li:nth-child(n+3){ border-top:1px solid var(--hc-line); }

/* 比較表 */
.hc-cmp{ padding:32px 12px; }
.hc-cmp .hc-wrap{ border-radius:16px; }
.hc-cmp th,.hc-cmp td{ padding:16px 6px; font-size:14px; }
.hc-cmp thead th{ font-size:13px; }
.hc-cmp th:first-child,.hc-cmp td:first-child{ padding-left:14px; width:34%; }
.hc-cmp .hc-ck{ width:32px; height:32px; }
.hc-cmp .hc-ck.y::after,.hc-cmp .hc-ck.g::after{ width:10px; height:5px; border-left-width:2px; border-bottom-width:2px; }

/* 文章內嵌商品不浮動 */
#insert-post-product{ float:none; width:100%; margin:0 0 20px; }

/* .yq-content 標題 */
.yq-content h1 { font-size: 40px; line-height: 1.3em;  margin: 0 0 18px; }
.yq-content h2 { font-size: 30px; line-height: 1.34em; margin: 52px 0 18px; }
.yq-content h3 { font-size: 25px; line-height: 1.44em; margin: 44px 0 18px; padding-bottom: 10px; }
.yq-content h4 { font-size: 20px; line-height: 1.55em; margin: 40px 0 11px; }
.yq-content h5 { font-size: 17px; line-height: 1.6em;  margin: 26px 0 9px; }

.yq-content h3 + h4,
.yq-content h4 + h5 { margin-top: 20px; }

/* 結帳欄位：單欄 */
.woocommerce-billing-fields .form-row-first,
.woocommerce-billing-fields .form-row-last,
.woocommerce-shipping-fields .form-row-first,
.woocommerce-shipping-fields .form-row-last,
.woocommerce-billing-fields #billing_country_field,
.woocommerce-shipping-fields #shipping_country_field,
#billing_city_field, #billing_state_field, #billing_postcode_field,
#shipping_city_field, #shipping_state_field, #shipping_postcode_field,
#billing_address_1_field, #shipping_address_1_field,
#billing_phone_field, #shipping_phone_field{
  display:block;
  float:none;
  width:100%;
  margin-right:0;
}

/* 英文版 */
:lang(en) h1{ font-size:30px; line-height:1.2; }
:lang(en) h2{ font-size:26px; line-height:1.25; }
:lang(en) h3{ font-size:20px; line-height:1.3; }
}

@media (max-width: 576px) {
	/* =========================================================
   手機（≤576px）
   ========================================================= */

body.single-post .wd-single-post-header h1.wd-post-title {
  font-size: 2.0em;
  line-height: 1.4;
}

body.woodmart-archive-blog .wd-post.blog-design-list .wd-post-title {
  font-size: 1.5em;
  line-height: 1.45; 
}

/* 全站標題 */
h1{ font-size:32px; }
h2{ font-size:28px; }
h3{ font-size:21px; }

/* 文章頁主標題 */
.wd-single-post-header .title{
  font-size:28px !important;
  line-height:38px !important;
}

.title-subtitle{ font-size:.9em; }
.wd-entities-title{ font-weight:400 !important; }

/* 數據卡：4 欄 → 2 欄 */
.hc27-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.hc27-stats li:nth-child(odd){ border-left:0; }
.hc27-stats li:nth-child(n+3){ border-top:1px solid var(--hc-line); }

/* 時間軸 .hc27-tl */
.hc27-tl{ padding:56px 16px 72px; font-size:16px; }
.hc27-tl__launch{ grid-template-columns:1fr; grid-template-areas:"prod" "photo" "text"; row-gap:16px; }
.hc27-tl__photo img{ max-width:220px; }
.hc27-tl__list::before{ left:9px; }
.hc27-tl__item{ grid-template-columns:1fr; padding-left:40px; margin-bottom:32px; }
.hc27-tl__when{ text-align:left; padding-top:0; margin-bottom:12px; }
.hc27-tl__when::after{ top:10px; right:auto; left:-40px; }
.hc27-tl__year{ font-size:28px; }
.hc27-tl__phase{ margin:0 0 0 10px; vertical-align:middle; }
.hc27-tl__year,.hc27-tl__phase{ display:inline-block; }
.hc27-tl__card{ padding:22px 20px; }
.hc27-tl__card h3{ font-size:20px; }
.hc27-pillars{ grid-template-columns:1fr; }

/* 比較表 */
.hc-cmp th,.hc-cmp td{ padding:14px 4px; font-size:13px; }
.hc-cmp thead th{ font-size:12px; }
.hc-cmp th:first-child,.hc-cmp td:first-child{ padding-left:10px; }
.hc-cmp .hc-ck{ width:28px; height:28px; }

/* 15年 研發實證 徽章 */
.hc-badge-15y::after{
  width:clamp(100px,34%,200px);
  right:4%;
  bottom:4%;
}

/* 產品頁 */
.wd-grid-g{ --wd-col-sm:1 !important; }

.woocommerce-product-gallery .wd-gallery-images,
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper{ padding:6px; }
.woocommerce-product-gallery .wd-gallery-thumb .wd-carousel{ gap:8px; }

.product-labels.labels-rounded .product-label{
  min-height:50px !important;
  font-size:15px !important;
}

/* 文章內嵌商品不浮動 */
#insert-post-product{ float:none; width:100% !important; margin:0 0 20px; }

/* .yq-content 標題 */
.yq-content h1 { font-size: 40px; line-height: 1.3em;  margin: 0 0 18px; }
.yq-content h2 { font-size: 30px; line-height: 1.34em; margin: 52px 0 18px; }
.yq-content h3 { font-size: 25px; line-height: 1.44em; margin: 44px 0 18px; padding-bottom: 10px; }
.yq-content h4 { font-size: 20px; line-height: 1.55em; margin: 40px 0 11px; }
.yq-content h5 { font-size: 17px; line-height: 1.6em;  margin: 26px 0 9px; }

.yq-content h3 + h4,
.yq-content h4 + h5 { margin-top: 20px; }

/* 結帳欄位：單欄 */
.woocommerce-billing-fields .form-row-first,
.woocommerce-billing-fields .form-row-last,
.woocommerce-shipping-fields .form-row-first,
.woocommerce-shipping-fields .form-row-last,
.woocommerce-billing-fields #billing_country_field,
.woocommerce-shipping-fields #shipping_country_field,
#billing_city_field, #billing_state_field, #billing_postcode_field,
#shipping_city_field, #shipping_state_field, #shipping_postcode_field,
#billing_address_1_field, #shipping_address_1_field,
#billing_phone_field, #shipping_phone_field{
  display:block;
  float:none;
  width:100%;
  margin-right:0;
}

/* 英文版 */
:lang(en) h1{ font-size:30px; line-height:1.2; }
:lang(en) h2{ font-size:26px; line-height:1.25; }
:lang(en) h3{ font-size:20px; line-height:1.3; }
:lang(en) .subtitle-style-default{ font-size:.75em; }
}

