@charset "UTF-8";
/* ==========================================================================
   果吉思公版網站 2.0 - 精品級視覺樣式表 (Modern Redesign 2.0 Edition)
   配合全新優化的 HTML/PHP DOM 結構，打造頂級品牌 SaaS / 精品電商體驗。
   關聯設定檔：css/colorSet.css (:root 變數)
   ========================================================================== */

:root {
  /* ========================================================================
     現代 UI 陰影與圓角系統設定 (Modern UI Design Tokens)
     ======================================================================== */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 16px 36px rgba(61, 75, 91, 0.18);
}

/* ==========================================================================
   1. 全域共用工具與基礎排版 (Global Utilities & Layout)
   ========================================================================== */
#wrap, #warp {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  background: var(--bg-main, #f8fafc);
  color: var(--text-main, #1e293b);
  font-family: "Inter", "Outfit", "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
}

.mob {
  display: none !important;
}

.mob-hide {
  display: flex !important;
}

.Dividers {
  margin: 30px auto;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color, #e2e8f0), transparent);
}

/* ==========================================================================
   2. 頁首導覽與懸浮毛玻璃 Navbar (Modern Header & Floating Navbar)
   ========================================================================== */
header, .ModernHeader {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg, rgba(255, 255, 255, 0.88));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  width: 92%;
  max-width: 1320px;
  height: 84px;
}

/* 品牌 Logo */
.Logo a {
  display: flex;
  align-items: center;
}

.Logo img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.Logo a:hover img {
  transform: scale(1.05);
}

/* PC 端導覽列容器與選單 (#Menu) */
.MenuBk {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

#Menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius-full, 9999px);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

#Menu ul li {
  position: relative;
}

#Menu ul li a {
  display: block;
  padding: 10px 22px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main, #334155);
  border-radius: var(--radius-full, 9999px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#Menu ul li a:hover,
#Menu ul li.active a {
  color: #ffffff;
  background: var(--primary-color, #3D4B5B);
  box-shadow: 0 4px 12px rgba(61, 75, 91, 0.25);
}

/* 下拉子選單 (Submenu) */
#Menu ul li ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 210px;
  background: #ffffff;
  border-radius: var(--radius-md, 14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  border: 1px solid var(--border-color, #e2e8f0);
}

#Menu ul li:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

#Menu ul li ul li a {
  padding: 10px 16px;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.95rem;
  color: var(--text-main, #334155);
}

#Menu ul li ul li a:hover {
  background: var(--accent-light, #FFF8EE);
  color: var(--accent-color, #e78d09);
  box-shadow: none;
  padding-left: 20px;
}

/* 右側功能列 Action Group */
.NavActions {
  display: flex;
  align-items: center;
  gap: 16px;
}

#community ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

#community ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-section, #f1f5f9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#community ul li a svg {
  width: 24px;
  height: 24px;
}

#community ul li a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.icon-fbbg { fill: #1877F2; }
.icon-igbg { fill: url(#igBg); }
.icon-twbg { fill: #1DA1F2; }
.icon-linebg { fill: #06C755; }
.icon-ytbg { fill: #FF0000; }
.iconColor { fill: #ffffff; }

/* 搜尋按鈕 */
.WebSearch a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-section, #f1f5f9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.WebSearch a svg.icon-search {
  width: 20px;
  height: 20px;
  fill: var(--primary-color, #3D4B5B);
  transition: fill 0.3s ease;
}

.WebSearch a:hover {
  background: var(--accent-color, #e78d09);
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(231, 141, 9, 0.3);
}

.WebSearch a:hover svg.icon-search {
  fill: #ffffff;
}

/* 語系選擇按鈕 */
.WebLang a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-section, #f1f5f9);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.WebLang a svg.icon-lang {
  width: 20px;
  height: 20px;
  stroke: var(--primary-color, #3D4B5B);
  transition: stroke 0.3s ease;
}

.WebLang a:hover {
  background: var(--accent-color, #e78d09);
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(231, 141, 9, 0.3);
}

.WebLang a:hover svg.icon-lang {
  stroke: #ffffff;
}

/* 搜尋彈窗 (#SearchToolBk) */
#SearchToolBk {
  display: none;
  position: fixed;
  top: 90px;
  right: 5%;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md, 16px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color, #e2e8f0);
  z-index: 101;
}

.SearchTool {
  display: flex;
  gap: 10px;
}

.SearchTool input[type="search"] {
  padding: 12px 18px;
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
  font-size: 1rem;
  width: 260px;
  outline: none;
  transition: border-color 0.3s ease;
}

.SearchTool input[type="search"]:focus {
  border-color: var(--accent-color, #e78d09);
}

.SearchTool input[type="button"] {
  padding: 12px 24px;
  background: var(--primary-color, #3D4B5B);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm, 8px);
  cursor: pointer;
  transition: background 0.3s ease;
}

.SearchTool input[type="button"]:hover {
  background: var(--accent-color, #e78d09);
}

/* 手機版選單觸發鈕 */
.MobileMenu {
  display: none;
}

.MobileMenu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-section, #f1f5f9);
  border-radius: var(--radius-sm, 8px);
}

.MobileMenu a span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--primary-color, #3D4B5B);
  border-radius: 2px;
}

/* ==========================================================================
   3. 首頁大圖輪播與英雄遮罩區塊 (#indexBanner & .HeroOverlay)
   ========================================================================== */
#indexBanner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#indexBanner ul {
  margin: 0;
}

.HeroSlide a {
  display: block;
  position: relative;
}

.BannerW {
  position: relative;
  width: 100%;
  padding-top: 49.5%;
  height: auto !important;
  background-size: cover !important;
  background-position: center !important;
}

.BannerM {
  display: none;
  position: relative;
  width: 100%;
  padding-top: 100%;
  height: auto !important;
  background-size: cover !important;
  background-position: center !important;
}

.HeroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15,23,42,0.45) 100%);
  display: flex;
  align-items: flex-end;
  padding: 60px 8%;
}

.HeroContent {
  color: #fff;
  max-width: 700px;
  animation: fadeInUp 0.8s ease forwards;
}

.HeroBadge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--accent-color, #e78d09);
  color: #fff;
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(231, 141, 9, 0.4);
}

.HeroTitle {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Slick 指示點 */
#indexBanner .slick-dots {
  bottom: 30px;
  z-index: 10;
}

#indexBanner .slick-dots li button::before {
  font-size: 14px;
  color: #ffffff;
  opacity: 0.6;
}

#indexBanner .slick-dots li.slick-active button::before {
  color: var(--accent-color, #e78d09);
  opacity: 1;
}

/* ==========================================================================
   4. 雙層雙語現代標題標籤 (Modern Section Headers)
   ========================================================================== */
.SectionHeader {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
  position: relative;
}

.SectionHeader.center {
  align-items: center;
  text-align: center;
}

.Bktitle {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color, #3D4B5B);
  letter-spacing: 1px;
  margin: 0;
  position: relative;
  padding-left: 20px;
}

.SectionHeader:not(.center) .Bktitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 80%;
  background: var(--accent-color, #e78d09);
  border-radius: 4px;
}

.SectionHeader.center .Bktitle {
  padding-left: 0;
  padding-bottom: 16px;
}

.SectionHeader.center .Bktitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--accent-color, #e78d09);
  border-radius: 2px;
}

/* ==========================================================================
   5. 首頁最新消息精品互動卡片清單 (.IndexNewsBk & .NewsCardItem)
   ========================================================================== */
.IndexNewsBk {
  max-width: 1320px;
  margin: 80px auto;
  padding: 0 4%;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.indexNews {
  flex: 1;
  min-width: 0;
}

.articleList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.NewsCardItem a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 24px;
  background: #ffffff;
  border-radius: var(--radius-md, 16px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.NewsCardItem a:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(231, 141, 9, 0.4);
}

.NewsCardHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.articleType {
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color, #3D4B5B);
  border-radius: var(--radius-full, 9999px);
}

.NewsCardItem a:hover .articleType {
  background: var(--accent-color, #e78d09);
}

.NewsCardDate {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.articleTitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main, #1e293b);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.NewsCardItem a:hover .articleTitle {
  color: var(--primary-color, #3D4B5B);
}

.NewsCardAction {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-color, #e78d09);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.NewsCardItem a:hover .NewsCardAction {
  opacity: 1;
  transform: translateX(4px);
}

/* 常見問題列表卡片含封面圖 (.FAQCardWithImg) */
.FAQCardWithImg a {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  min-height: 180px;
}

.FAQCardImg {
  width: 280px;
  min-width: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.FAQCardWithImg a:hover .FAQCardImg {
  transform: scale(1.05);
}

.FAQCardContent {
  flex: 1;
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .FAQCardWithImg a {
    flex-direction: column;
  }
  .FAQCardImg {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }
  .FAQCardContent {
    padding: 20px;
  }
}

/* 右側側邊廣告 banner卡片 */
.IndexNewsAD {
  flex-shrink: 0;
  width: 380px;
  margin-top: 76px;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.IndexNewsAD a {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 380px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.IndexNewsAD img, .IndexNewsAD a img {
  width: 100%;
  height: auto !important;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.IndexNewsAD:hover a, .IndexNewsAD:hover img, .IndexNewsAD:hover a img {
  transform: scale(1.06);
}

.IndexAD {
  max-width: 1320px;
  margin: 40px auto;
  padding: 0 4%;
}

.IndexAD a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  min-height: 250px;
  max-height: 400px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.IndexAD img, .IndexAD a img {
  width: 100%;
  height: auto !important;
  display: block;
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.IndexAD:hover a {
  transform: scale(1.02);
}

/* ==========================================================================
   6. 產品展示精品 3D 懸浮網格 (.IndexProducts & .ProductCardItem)
   ========================================================================== */
.IndexProducts {
  max-width: 1320px;
  margin: 80px auto 100px;
  padding: 0 4%;
}

.IndexProductsList ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.ProductCardItem a {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-lg, 20px);
  border: 1px solid var(--border-color, #e2e8f0);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.ProductCardItem a:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(231, 141, 9, 0.4);
}

.ProductsImgWrap {
  position: relative;
  width: 100%;
  padding-top: 49.5%;
  overflow: hidden;
}

.ProductsImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ProductCardItem a:hover .ProductsImg {
  transform: scale(1.1);
}

.ProductHoverOverlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ProductCardItem a:hover .ProductHoverOverlay {
  opacity: 1;
}

.HoverViewBtn {
  padding: 10px 22px;
  background: #ffffff;
  color: var(--primary-color, #3D4B5B);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ProductCardBody {
  padding: 20px 20px 10px;
  flex: 1;
}

.ProductsType {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-color, #e78d09);
  background: var(--accent-light, #FFF8EE);
  border-radius: var(--radius-sm, 6px);
  margin-bottom: 10px;
}

.ProductsName {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main, #1e293b);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ProductCardFooter {
  padding: 14px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: #64748b;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  transition: color 0.3s ease;
}

.ProductCardItem a:hover .ProductCardFooter {
  color: var(--accent-color, #e78d09);
}

.MoreBtn {
  text-align: center;
  margin-top: 48px;
}

.MoreBtn a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color, #3D4B5B);
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 8px 20px rgba(61, 75, 91, 0.25);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.MoreBtn a:hover {
  background: var(--accent-color, #e78d09);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(231, 141, 9, 0.35);
}

/* ==========================================================================
   7. 頁尾品牌合作呼籲橫幅與深色精品 Footer (.FooterCTA & .ModernFooter)
   ========================================================================== */
.FooterCTA {
  background: linear-gradient(135deg, var(--primary-color, #3D4B5B) 0%, #1e293b 100%);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.FooterCTAWrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.CTAText h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.CTAText p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-color, #3D4B5B);
  background: #ffffff;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-cta:hover {
  background: var(--accent-color, #e78d09);
  color: #ffffff;
  transform: translateY(-4px) scale(1.04);
}

.ModernFooter {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 30px;
}

#footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 4%;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.2fr 1.3fr;
  gap: 40px;
}

.FootColTitle {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 12px;
}

.FootColTitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent-color, #e78d09);
  border-radius: 2px;
}

.FootLogo img {
  max-height: 80px;
  width: auto;
  /*filter: brightness(0) invert(1);*/
  margin-bottom: 20px;
}

.FootWebSiteName {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.FootTaxID {
  font-size: 0.92rem;
  color: #94a3b8;
}

.FootMenu ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.FootMenu ul li a {
  color: #94a3b8;
  font-size: 0.96rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.FootMenu ul li a:hover {
  color: #fff;
  transform: translateX(6px);
}

.FootContactList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.FootContactList li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
}

.FootBadge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-color, #e78d09);
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  margin-top: 2px;
}

.FootContactList li a {
  color: inherit;
  transition: color 0.3s ease;
}

.FootContactList li a:hover {
  color: var(--accent-color, #e78d09);
}

.copyright {
  max-width: 1320px;
  margin: 50px auto 0;
  padding: 24px 4% 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* ==========================================================================
   8. 內頁共用導覽、麵包屑、大標與列表排版 (Subpages Layout & Headings)
   ========================================================================== */
#Breadcrumb {
  background: #ffffff;
  padding: 18px 4%;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
}

.BreadcrumbIcon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-color, #3D4B5B);
}

.BreadcrumbIcon svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-color, #3D4B5B);
}

.BreadIconColor {
  fill: var(--primary-color, #3D4B5B);
}

.cd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cd-breadcrumb li:not(.current) {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.cd-breadcrumb li::after {
  content: "/";
  margin: 0 6px;
  color: #cbd5e1;
}

.cd-breadcrumb li:last-child::after {
  display: none;
}

.cd-breadcrumb li a {
  color: #64748b;
}

.cd-breadcrumb li a:hover {
  color: var(--accent-color, #e78d09);
}

.cd-breadcrumb li.current {
  color: var(--primary-color, #3D4B5B);
  font-weight: 700;
  word-break: break-word;
}

/* 內頁共用大標題系統 (h1, .NewsHead, .ProductsHead) */
article > section > h1,
.NewsHead h1,
.ProductsHead h1 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary-color, #3D4B5B);
  text-align: center;
  margin: 36px auto 28px;
  position: relative;
  padding-bottom: 18px;
  letter-spacing: 1px;
}

article > section > h1::after,
.NewsHead h1::after,
.ProductsHead h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: var(--accent-color, #e78d09);
  border-radius: 2px;
}

/* ==========================================================================
   關於我們與最新消息分類選單 (.aboutMenu)
   ========================================================================== */
.aboutMenu {
  margin: 40px auto;
  max-width: 1320px;
  padding: 0 4%;
}

.aboutMenu ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  justify-content: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.aboutMenu ul::-webkit-scrollbar {
  height: 6px;
}

.aboutMenu ul::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.aboutMenu ul li {
  flex: 0 0 auto;
}

.aboutMenu ul li a {
  display: block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-full, 9999px);
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aboutMenu ul li.active a,
.aboutMenu ul li a:hover {
  color: #fff;
  background: var(--primary-color, #3D4B5B);
  border-color: var(--primary-color, #3D4B5B);
  box-shadow: none;
}

/* ==========================================================================
   產品列表頁 2.0 現代化左側分類邊欄 + 右側商品展示排版
   ========================================================================== */
.ProductsCatalogSection {
  max-width: 1400px;
  margin: 40px auto 80px;
  padding: 0 4%;
}

.ProductsCatalogLayout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* 左側：分類導覽側邊欄 (.ProductsSidebar) */
.ProductsSidebar {
  background: #ffffff;
  border-radius: var(--radius-lg, 20px);
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: sticky;
  top: 100px; /* 當右側往下滑動時，左側選單優雅停留在頂部！ */
  transition: box-shadow 0.3s ease;
}
.ProductsSidebar:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.SidebarHeader {
  background: var(--primary-color, #3D4B5B);
  color: #ffffff;
  padding: 20px 24px;
  border-bottom: 3px solid var(--accent-color, #e78d09);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.SidebarTitle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.SidebarTitle h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}
.SidebarIcon {
  color: var(--accent-color, #e78d09);
}
.SidebarSub {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

.ProductsSidebar .ProductsTypeList {
  margin: 0;
  padding: 12px;
  max-width: none;
}
.ProductsSidebar .ProductsTypeList ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.ProductsSidebar .ProductsTypeList ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm, 10px);
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.ProductsSidebar .ProductsTypeList ul li.active a,
.ProductsSidebar .ProductsTypeList ul li a:hover {
  color: #ffffff;
  background: var(--primary-color, #3D4B5B);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(61, 75, 91, 0.15);
}
.ProductsSidebar .ProductsTypeList ul li.active a {
  font-weight: 700;
  background: var(--primary-color, #3D4B5B);
  border-left: 4px solid var(--accent-color, #e78d09);
}
.ProductsSidebar .ProductsTypeList ul li a .CateIcon {
  font-size: 0.75rem;
  opacity: 0.4;
  transition: all 0.25s ease;
}
.ProductsSidebar .ProductsTypeList ul li.active a .CateIcon,
.ProductsSidebar .ProductsTypeList ul li a:hover .CateIcon {
  opacity: 1;
  color: var(--accent-color, #e78d09);
  transform: translateX(3px);
}

/* 右側：主區塊與廣告輪播 */
.ProductsMain {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 0; /* 確保 CSS Grid 內的網格不會撐破容器！ */
}

.ProductsMain .ProductsAD {
  max-width: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
/* 產品列表頁廣告高度優化：縮小至 240px，讓第一排產品一目了然！ */
.ProductsMain .ProductsAD .BannerW,
.ProductsAD .BannerW {
  padding-top: 0 !important;
  height: 240px !important;
}
.ProductsMain .ProductsAD .BannerM,
.ProductsAD .BannerM {
  padding-top: 0 !important;
  height: 160px !important;
}

.ProductsMain .ProductsList {
  max-width: none;
  margin: 0;
  padding: 0;
}
/* 在雙欄佈局中，右側商品卡片改為 3 欄排列 */
.ProductsMain .ProductsList ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: all 0.3s ease;
}

/* 側邊欄收合模式 (.sidebar-collapsed) 擴展至 4 欄商品展示 */
.ProductsCatalogLayout.sidebar-collapsed {
  grid-template-columns: 68px 1fr;
}
.ProductsCatalogLayout.sidebar-collapsed .ProductsSidebar {
  border-radius: var(--radius-full, 9999px);
}
.ProductsCatalogLayout.sidebar-collapsed .SidebarTitle h3,
.ProductsCatalogLayout.sidebar-collapsed .SidebarSub,
.ProductsCatalogLayout.sidebar-collapsed .ProductsTypeList {
  display: none !important;
}
.ProductsCatalogLayout.sidebar-collapsed .SidebarHeader {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-bottom: none;
}
.ProductsCatalogLayout.sidebar-collapsed .SidebarTitle {
  justify-content: center;
}
.ProductsCatalogLayout.sidebar-collapsed .SidebarHeaderRight {
  margin: 0;
}
.ProductsCatalogLayout.sidebar-collapsed .ProductsMain .ProductsList ul {
  grid-template-columns: repeat(4, 1fr);
}

.SidebarHeaderRight {
  display: flex;
  align-items: center;
  margin: 0;
}
.SidebarToggleBtn {
  font-size: 0.85rem;
  color: var(--accent-color, #e78d09);
  background: rgba(255, 255, 255, 0.15);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-style: normal;
  transition: all 0.2s ease;
}
.SidebarHeader:hover .SidebarToggleBtn {
  background: var(--accent-color, #e78d09);
  color: #fff;
  transform: scale(1.1);
}

/* AJAX 載入更多與分頁底部區塊 */
.ProductListFooter {
  margin-top: 50px;
  text-align: center;
}
.AjaxLoadMoreWrap {
  display: flex;
  justify-content: center;
}
.AjaxLoadMoreBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 48px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-color, #3D4B5B) 0%, #2c3847 100%);
  border: none;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 10px 25px rgba(61, 75, 91, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.AjaxLoadMoreBtn:hover {
  background: linear-gradient(135deg, var(--accent-color, #e78d09) 0%, #d17c05 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(231, 141, 9, 0.35);
}
.AjaxLoadMoreBtn:active {
  transform: translateY(-1px);
}
.AjaxLoadMoreBtn.loading {
  pointer-events: none;
  opacity: 0.8;
}
.NoMoreProducts {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border-radius: var(--radius-full, 9999px);
}

/* 兼容無側邊欄時的獨立產品網格與廣告展示 */
.ProductsList {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 4%;
}
.ProductsList ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ProductsAD {
  max-width: 1320px;
  margin: 0 auto 36px;
  padding: 0 4%;
}

/* RWD 自適應：平板與手機視窗 (< 992px) */
@media (max-width: 992px) {
  /* 防止電腦版 sidebar-collapsed 在平板與手機生效造成 4 欄大跑版 */
  .ProductsCatalogLayout.sidebar-collapsed {
    grid-template-columns: 1fr !important;
  }
  .ProductsCatalogLayout.sidebar-collapsed .ProductsMain .ProductsList ul {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .ProductsCatalogLayout.sidebar-collapsed .ProductsSidebar {
    border-radius: var(--radius-lg, 20px) !important;
  }
  .ProductsCatalogLayout.sidebar-collapsed .SidebarTitle h3,
  .ProductsCatalogLayout.sidebar-collapsed .ProductsTypeList {
    display: block !important;
  }
  .ProductsCatalogLayout.sidebar-collapsed .SidebarHeader {
    flex-direction: row !important;
    padding: 14px 20px !important;
  }

  .ProductsCatalogLayout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ProductsSidebar {
    position: static;
  }
  .SidebarHeader {
    padding: 14px 20px;
  }
  /* 手機與平板上，分類選單改為橫向平滑捲動，不換行！解決 20 幾個分類佔滿螢幕問題 */
  .ProductsSidebar .ProductsTypeList ul {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  /* 當按鈕點擊展開 (.mobile-expanded) 時，轉為多列標籤清晰排版，一覽無遺 */
  .ProductsSidebar.mobile-expanded .ProductsTypeList ul {
    flex-direction: row;
    flex-wrap: wrap;
    overflow-x: visible;
    width: 100%;
    gap: 8px;
  }
  .ProductsSidebar .ProductsTypeList ul::-webkit-scrollbar {
    height: 6px;
  }
  .ProductsSidebar .ProductsTypeList ul::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
  }
  .ProductsSidebar .ProductsTypeList ul li {
    flex: 0 0 auto;
  }
  .ProductsSidebar .ProductsTypeList ul li a {
    padding: 10px 18px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius-full, 9999px);
    transform: none !important;
    box-shadow: none !important;
  }
  .ProductsSidebar .ProductsTypeList ul li.active a,
  .ProductsSidebar .ProductsTypeList ul li a:hover {
    border-left: 1px solid var(--primary-color, #3D4B5B);
    box-shadow: none !important;
  }
  .ProductsSidebar .ProductsTypeList ul li a .CateIcon {
    display: none; /* 橫向標籤不需右箭頭 */
  }
  .ProductsMain .ProductsList ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .ProductsMain .ProductsList ul,
  .ProductsCatalogLayout.sidebar-collapsed .ProductsMain .ProductsList ul {
    grid-template-columns: 1fr !important;
  }
  .ProductsSidebar.mobile-expanded .ProductsTypeList ul {
    flex-direction: column;
    align-items: stretch;
  }
  .ProductsSidebar.mobile-expanded .ProductsTypeList ul li a {
    text-align: center;
  }
}

/* 最新消息列表頁 (.NewsList) */
.NewsList {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 4%;
}

.NewsList ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 最新消息與產品詳情頁標頭區域 (.NewsHead, .ProductsHead) */
.NewsHead, .ProductsHead {
  max-width: 1040px;
  margin: 20px auto;
  text-align: center;
  padding: 0 4%;
}

.NewsHead .NewsType, .ProductsHead .productsType {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color, #3D4B5B);
  border-radius: var(--radius-full, 9999px);
  margin-bottom: 12px;
}

.NewsHead .NewsDate {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 600;
}

/* 消息/常見問題封面圖展示區 (.NewsCoverImg) */
.NewsCoverImg {
  width: 100%;
  max-width: 1040px;
  margin: 20px auto 36px;
  padding: 0;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.NewsCoverImg img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg, 20px);
  border: 1px solid var(--border-color, #e2e8f0);
}

.ProductsHead {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  text-align: left;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 4%;
}

/* 商品照片輪播區塊 */
.ProductsHead .ProductsImg {
  flex: 1;
  min-width: 340px;
  max-width: 550px;
  background: #ffffff;
  border-radius: var(--radius-lg, 20px);
  padding: 24px;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 110px;
  align-self: flex-start;
  z-index: 5;
}
.ProductsLImg {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}
.ProductsLImg .fancybox-link {
  display: block;
  position: relative;
  cursor: zoom-in;
}
.ProductsLImg .fancybox-link::after {
  content: '🔍 點擊看大圖';
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(30, 41, 59, 0.75);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  opacity: 0.85;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.ProductsLImg .fancybox-link:hover::after {
  opacity: 1;
  background: var(--accent-color, #e78d09);
  transform: scale(1.05);
}
.ProductsLImg ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ProductsLImg ul li div {
  width: 100%;
  height: 420px;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.3s ease;
}
.ProductsSImg {
  margin-top: 16px;
}
.ProductsSImg ul {
  list-style: none;
  padding: 0;
  margin: 0 -6px;
}
.ProductsSImg ul li {
  padding: 0 6px;
  cursor: pointer;
}
.ProductsSImg ul li div {
  width: 100%;
  height: 84px;
  background-size: cover !important;
  background-position: center !important;
  border-radius: 8px;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: all 0.2s ease;
}
.ProductsSImg ul li:hover div,
.ProductsSImg ul li.slick-current div {
  border-color: var(--accent-color, #e78d09);
  opacity: 1;
  transform: scale(0.96);
}

/* 右側商品資訊 */
.ProductsHead .ProductsInfo {
  flex: 1.2;
  min-width: 340px;
}
.ProductsHead .ProductsInfo h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  line-height: 1.35;
  margin-bottom: 20px;
}
.ProductsInfoTxt {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #475569;
  background: #f8fafc;
  padding: 24px;
  border-radius: 14px;
  border-left: 4px solid var(--accent-color, #e78d09);
  margin: 24px 0;
}
.ProductsInfoTxt p {
  margin: 0 0 10px 0;
}
.ProductsInfoTxt p:last-child {
  margin-bottom: 0;
}

/* 分享與附件、賣場連結標題與列表 */
.ProductsShare, .ProductsDowload, .ProductsShop {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-color, #e2e8f0);
}
.ProductsHeadTxt {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ProductsShareBtn {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ProductsShareBtn li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  transition: all 0.2s ease;
}
.ProductsShareBtn li a:hover {
  transform: translateY(-3px);
  background: var(--primary-color, #3D4B5B);
}
.ProductsShareBtn li a svg {
  width: 24px;
  height: 24px;
}
.ProductsDowload ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ProductsDowload ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.ProductsDowload ul li a:hover {
  background: #fff;
  border-color: var(--accent-color, #e78d09);
  color: var(--accent-color, #e78d09);
  transform: translateX(4px);
}
.ProductsDowload ul li a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.ProductsShop ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ProductsShop ul li a {
  display: block;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.ProductsShop ul li a:hover {
  border-color: var(--accent-color, #e78d09);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.ProductsShop ul li a img {
  height: 32px;
  width: auto;
  display: block;
}
.ProductsShop ul li a.btn-other-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--primary-color, #3D4B5B) 0%, #2c3e50 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(61, 75, 91, 0.2);
  height: 50px;
  box-sizing: border-box;
}
.ProductsShop ul li a.btn-other-shop:hover {
  background: linear-gradient(135deg, var(--accent-color, #e78d09) 0%, #d67f05 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(231, 141, 9, 0.3);
}
.ProductsShop ul li a.btn-other-shop svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}
.ProductsShop ul li a.btn-other-shop span {
  white-space: nowrap;
}
.ProductsShop ul li a.btn-other-shop .arrow {
  font-style: normal;
  transition: transform 0.2s ease;
  margin-left: 4px;
}
.ProductsShop ul li a.btn-other-shop:hover .arrow {
  transform: translateX(4px);
}


@media (max-width: 768px) {
  .ProductsHead .ProductsImg {
    position: static;
  }
  .ProductsHead .ProductsImg, .ProductsHead .ProductsInfo {
    min-width: 100%;
  }
  .ProductsLImg ul li div {
    height: 300px;
  }
}

.ProductsContentMenu {
  max-width: 1040px;
  margin: 40px auto 0;
  padding: 0 4%;
}

.ProductsContentMenu ul {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-color, #e2e8f0);
  list-style: none;
  padding: 0;
  margin: 0;
}

.ProductsContentMenu ul li a {
  display: block;
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #64748b;
  border-radius: 12px 12px 0 0;
  transition: all 0.3s ease;
}

.ProductsContentMenu ul li.active a,
.ProductsContentMenu ul li a:hover {
  color: #fff;
  background: var(--primary-color, #3D4B5B);
}

.BackLink {
  text-align: center;
  margin: 50px 0;
}

.BackLink a {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color, #3D4B5B);
  border-radius: var(--radius-full, 9999px);
  transition: all 0.3s ease;
}

.BackLink a:hover {
  background: var(--accent-color, #e78d09);
  transform: translateY(-2px);
}

/* 您也可能感興趣的內容 - 相關推薦商品專區 */
.RelatedProductsSection {
  max-width: 1200px;
  margin: 60px auto 30px;
  padding: 0 4%;
}
.RelatedHead {
  text-align: center;
  margin-bottom: 36px;
}
.RelatedBadge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-color, #e78d09);
  background: rgba(231, 141, 9, 0.1);
  border-radius: 9999px;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.RelatedHead h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main, #1e293b);
  margin: 0;
}
.RelatedProductsSection .ProductsList ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 1024px) {
  .RelatedProductsSection .ProductsList ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .RelatedProductsSection .ProductsList ul {
    grid-template-columns: 1fr;
  }
}

.pageContent, .PgContent, .fr-view {
  max-width: 1040px;
  margin: 40px auto 80px;
  padding: 50px;
  background: #ffffff;
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color, #e2e8f0);
  line-height: 1.85;
  font-size: 1.08rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* 1. 文本與文字對齊 (Text Alignment) */
.pageContent .fr-text-left, .pageContent [style*="text-align: left"], .pageContent [align="left"] { text-align: left !important; }
.pageContent .fr-text-center, .pageContent [style*="text-align: center"], .pageContent [align="center"] { text-align: center !important; }
.pageContent .fr-text-right, .pageContent [style*="text-align: right"], .pageContent [align="right"] { text-align: right !important; }
.pageContent .fr-text-justify, .pageContent [style*="text-align: justify"], .pageContent [align="justify"] { text-align: justify !important; }

/* 2. 圖片與媒體置中與浮動對齊 (Froala Image & Media Alignment) */
.pageContent img, .pageContent video, .pageContent iframe {
  max-width: 100%;
  height: auto;
}
/* 解決 YouTube 等 embedded iframe 在編輯器內容中跑版或比例失衡問題 */
.pageContent iframe[src*="youtube"],
.pageContent iframe[src*="youtu.be"],
.pageContent iframe[src*="vimeo"],
.fr-view iframe[src*="youtube"],
.fr-view iframe[src*="youtu.be"],
.fr-view iframe[src*="vimeo"] {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 360px;
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  display: block;
  margin: 20px auto;
}
/* 讓內嵌在置中段落 <p style="text-align: center;"> 裡的 display:block 圖片也能完美置中！ */
.pageContent [style*="text-align: center"] img,
.pageContent [style*="text-align:center"] img,
.pageContent .fr-text-center img,
.pageContent [align="center"] img,
.pageContent img.fr-fin,
.pageContent img.fr-dib.fr-fin {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.pageContent img.fr-fil, .pageContent img.fr-dib.fr-fil {
  float: left !important;
  margin: 5px 20px 15px 0 !important;
}
.pageContent img.fr-fir, .pageContent img.fr-dib.fr-fir {
  float: right !important;
  margin: 5px 0 15px 20px !important;
}
.pageContent img.fr-dii {
  display: inline-block !important;
}
.pageContent img.fr-dib {
  display: block !important;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* 3. 清單與項目符號 (Lists & Bullets) - 恢復編輯器原生的清單樣式 */
.pageContent ul, .pageContent ol {
  margin: 1rem 0 1rem 1.5rem;
  padding-left: 1.5rem;
}
.pageContent ul {
  list-style: disc outside !important;
}
.pageContent ul ul {
  list-style: circle outside !important;
}
.pageContent ol {
  list-style: decimal outside !important;
}
.pageContent li {
  margin-bottom: 0.5rem;
  display: list-item !important;
}

/* 4. 表格與外框 (Tables) - 讓編輯器產生的表格具有清晰現代的邊框與排版 */
.pageContent table, .pageContent .fr-table table {
  width: 100% !important;
  max-width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse !important;
  border: 1px solid var(--border-color, #cbd5e1) !important;
}
.pageContent th, .pageContent td {
  border: 1px solid var(--border-color, #cbd5e1) !important;
  padding: 12px 16px;
  text-align: inherit;
}
.pageContent th {
  background-color: #f8fafc;
  font-weight: 700;
  color: var(--primary-color, #3D4B5B);
}
.pageContent tr:nth-child(even) {
  background-color: #fcfcfd;
}

/* 5. 標題與段落間距 (Headings & Paragraphs) */
.pageContent h1, .pageContent h2, .pageContent h3,
.pageContent h4, .pageContent h5, .pageContent h6 {
  color: var(--primary-color, #3D4B5B);
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  font-weight: 700;
  line-height: 1.4;
}
.pageContent h1 { font-size: 2rem; border-bottom: 2px solid var(--accent-color, #e78d09); padding-bottom: 8px; }
.pageContent h2 { font-size: 1.65rem; border-bottom: 1px solid var(--border-color, #e2e8f0); padding-bottom: 6px; }
.pageContent h3 { font-size: 1.4rem; }
.pageContent h4 { font-size: 1.2rem; }
.pageContent h5 { font-size: 1.1rem; }
.pageContent h6 { font-size: 1rem; }
.pageContent p { margin-bottom: 1.2em; line-height: 1.85; }
.pageContent blockquote, .pageContent .fr-text-bordered {
  border-left: 4px solid var(--accent-color, #e78d09);
  margin: 1.5rem 0;
  padding: 10px 20px;
  background: #f8fafc;
  color: #475569;
  font-style: italic;
}
.pageContent hr {
  border: 0;
  height: 1px;
  background: var(--border-color, #e2e8f0);
  margin: 2rem 0;
}
.pageContent .fr-video, .pageContent iframe {
  max-width: 100%;
  border-radius: var(--radius-sm, 10px);
  overflow: hidden;
}

.PageCtrl {
  display: flex;
  justify-content: center;
  margin: 60px 0 40px;
}

.PageCtrl ol {
  display: flex;
  gap: 8px;
}

.PageCtrl ol li a, .PageCtrl ol li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm, 8px);
  font-weight: 700;
  background: #ffffff;
  color: #334155;
  border: 1px solid var(--border-color, #e2e8f0);
}

.PageCtrl ol li a:hover,
.PageCtrl ol li.active a,
.PageCtrl ol li.active span {
  background: var(--primary-color, #3D4B5B);
  color: #fff;
  border-color: var(--primary-color, #3D4B5B);
}

/* 聯絡表單 */
#contactForm, .contactFormBk {
  max-width: 820px;
  margin: 40px auto 80px;
  padding: 50px;
  background: #ffffff;
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color, #e2e8f0);
}

.contactForm ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contactForm ul li input[type="text"],
.contactForm ul li textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
  font-size: 1rem;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.contactForm ul li input[type="text"]:focus,
.contactForm ul li textarea:focus {
  border-color: var(--accent-color, #e78d09);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-light, #FFF8EE);
}

/* 性別單選、驗證碼與隱私權同意欄位 */
.ginder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 6px 4px;
  flex-wrap: wrap;
}

.ginder label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.ginder input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color, #e78d09);
  cursor: pointer;
}

.contactForm ul li.vCode {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contactForm ul li.vCode input[type="text"] {
  flex: 1;
  min-width: 180px;
  width: auto;
}

.contactForm ul li.vCode a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  background: #fff;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.contactForm ul li.vCode img {
  height: 44px;
  width: auto;
  display: block;
}

.privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0;
  font-size: 0.98rem;
  color: #475569;
}

.privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color, #e78d09);
  cursor: pointer;
}

.privacy label a {
  color: var(--accent-color, #e78d09);
  font-weight: 700;
  text-decoration: underline;
}

/* Google 地圖精品全寬大器排版 */
.GoogleMap {
  width: 100%;
  max-width: 100%;
  margin: 60px 0 0 0;
  padding: 0;
}

.GoogleMap iframe {
  width: 100%;
  height: 520px;
  border-radius: 0;
  box-shadow: none;
  border: none !important;
  display: block;
}

.SendBtn {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.SendBtn input[type="button"], .SendBtn input[type="submit"] {
  padding: 18px 64px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary-color, #3D4B5B);
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  border: none;
  transition: all 0.35s ease;
}

.SendBtn input[type="button"]:hover, .SendBtn input[type="submit"]:hover {
  background: var(--accent-color, #e78d09);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(231, 141, 9, 0.35);
}

/* 搜尋結果與社群分享樣式 */
.SearchResultHead {
  max-width: 1040px;
  margin: 30px auto;
  padding: 24px 4%;
  background: #f8fafc;
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--border-color, #e2e8f0);
}

.SearchWhat {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color, #3D4B5B);
  margin-bottom: 8px;
}

.SearchResultTxt {
  font-size: 0.95rem;
  color: #64748b;
}

.SearchList {
  max-width: 1040px;
  margin: 0 auto 50px;
  padding: 0 4%;
}

.searchResultTitle {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color, #3D4B5B);
  margin-top: 24px;
}

.searchResultPlace {
  font-size: 0.88rem;
  color: var(--accent-color, #e78d09);
  font-weight: 700;
  margin: 4px 0 8px;
}

.searchResultInfo {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.NewsShare, .ProductsShare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px auto;
  padding: 24px;
  background: #f8fafc;
  border-radius: var(--radius-md, 14px);
  max-width: 600px;
}

.ShareTxt {
  font-weight: 700;
  color: #475569;
}

.ShareList, .ShareList ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ShareList li {
  margin: 0;
  padding: 0;
  display: flex;
}

.ShareList svg {
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ShareList svg:hover {
  transform: scale(1.15);
}

.copyComplete {
  text-align: center;
  padding: 12px;
  background: var(--primary-color, #3D4B5B);
  color: #fff;
  border-radius: 8px;
  margin: 10px auto;
  max-width: 300px;
  display: none;
}

/* ==========================================================================
   文章上下篇導覽區塊 (.PostNav & .navItem)
   ========================================================================== */
.PostNav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 40px auto 20px;
  padding: 0 4%;
}

.PostNav .navItem {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 16px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.PostNav a.navItem:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color, #e78d09);
  box-shadow: 0 12px 25px rgba(231, 141, 9, 0.12);
}

.PostNav .navItem.next {
  align-items: flex-end;
  text-align: right;
}

.PostNav .navItem.prev {
  align-items: flex-start;
  text-align: left;
}

.PostNav .navLabel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-color, #e78d09);
  margin-bottom: 8px;
}

.PostNav .navTitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color, #3D4B5B);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.PostNav .navItem.disabled {
  background: #f8fafc;
  border-color: #f1f5f9;
  box-shadow: none;
  cursor: default;
}

.PostNav .navItem.disabled .navLabel,
.PostNav .navItem.disabled .navTitle {
  color: #94a3b8;
}

/* ==========================================================================
   9. 自適應響應式設計 (RWD Media Queries)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .IndexProductsList ul, .ProductsList ul {
    grid-template-columns: repeat(3, 1fr);
  }
  #footer {
    grid-template-columns: repeat(2, 1fr);
  }
  .HeroTitle { font-size: 2.2rem; }
}

@media screen and (max-width: 860px) {
  #header { height: 70px; padding: 0 4%; }
  .Logo img { max-height: 60px; }
  .mob-hide { display: none !important; }
  .MobileMenu { display: block; }

  /* 手機選單漢堡轉 X 動效 */
  .MobileMenu.active a span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .MobileMenu.active a span:nth-child(2) {
    opacity: 0;
  }
  .MobileMenu.active a span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* 側滑選單抽屜 - 改由右側進出 */
  .MenuBk {
    position: fixed;
    top: 70px;
    right: -100%;
    left: auto;
    width: 300px;
    max-width: 85vw;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 20px;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
  }
  .MenuBk.open, .MenuBk.active { right: 0; left: auto; }

  #Menu { width: 100%; }
  #Menu ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    gap: 6px;
  }
  #Menu ul li { width: 100%; }
  #Menu ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 1.05rem;
    color: var(--text-main, #334155);
    border-radius: var(--radius-sm, 10px);
  }

  /* 手機版下拉子選單重設為縮排排版 */
  #Menu ul li ul {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 0 8px 16px;
    opacity: 1;
    visibility: visible;
    display: flex;
    min-width: auto;
    border-left: 2px solid var(--border-color, #e2e8f0);
    margin: 4px 0 4px 12px;
  }
  #Menu ul li ul li a {
    padding: 8px 14px;
    font-size: 0.95rem;
  }

  .IndexNewsBk { flex-direction: column; }
  .IndexNewsAD { width: 100%; margin-top: 30px; }
  .IndexNewsAD a { min-height: 280px; }
  .IndexAD a { min-height: 160px; }
  .IndexProductsList ul, .ProductsList ul { grid-template-columns: repeat(2, 1fr); }
  .BannerW { display: none; }
  .BannerM { display: block; }
}

@media screen and (max-width: 600px) {
  /* 關鍵字搜尋彈窗滿版自適應 */
  #SearchToolBk {
    top: 76px;
    left: 4%;
    right: 4%;
    width: auto;
  }
  .SearchTool {
    flex-direction: column;
  }
  .SearchTool input[type="search"],
  .SearchTool input[type="button"] {
    width: 100%;
  }

  .HeroTitle { font-size: 1.65rem; }
  .Bktitle { font-size: 1.7rem; }
  .articleList { grid-template-columns: 1fr; }
  .IndexNewsAD a { min-height: 230px; }
  .IndexAD a { min-height: 130px; }
  .IndexProductsList ul, .ProductsList ul { grid-template-columns: 1fr; }
  #footer { grid-template-columns: 1fr; gap: 28px; }
  .pageContent, #contactForm, .contactFormBk { padding: 20px; }
  .FooterCTAWrap { flex-direction: column; text-align: center; }
  .PostNav { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   全站共用精品蓋版對話框彈窗 (#customModalOverlay)
   ========================================================================== */
#customModalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#customModalOverlay.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg, 20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 440px;
  padding: 36px 30px 28px 30px;
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

#customModalOverlay.active .custom-modal-box {
  transform: translateY(0) scale(1);
}

.custom-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background: rgba(61, 75, 91, 0.08);
  color: var(--primary-color, #3D4B5B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.custom-modal-message {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main, #1e293b);
  line-height: 1.6;
  margin-bottom: 28px;
  word-break: break-word;
}

.custom-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.custom-modal-btn {
  appearance: none;
  border: none;
  background: var(--primary-color, #3D4B5B);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: var(--radius-full, 9999px);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(61, 75, 91, 0.25);
  transition: all 0.25s ease;
}

.custom-modal-btn:hover,
.custom-modal-btn:focus {
  background: var(--accent-color, #e78d09);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231, 141, 9, 0.35);
  outline: none;
}
