/*=== 新產品發佈內容特效 ==*/
.NewPost-product-reveal {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 52%; /* 16:9 ratio */
  overflow: hidden;
  background: radial-gradient(circle at center, #2b2b2b 0%, #141414 100%);
  font-family: "Segoe UI", Arial, sans-serif;
}
.NewPost-metalParticles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  opacity: 0;
  animation: NewPost-particlesFade 2s ease-out forwards;
}
@keyframes NewPost-particlesFade {
  from { opacity: 0; }
  to { opacity: 0.45; }
}
.NewPost-product-img {
  position: absolute;
  width: 80%;
  max-width: 440px;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 0;
  animation: 
  NewPost-productIn 5s 1s ease-out forwards, /* 淡入 5 秒、延遲 1 秒 */
  NewPost-heartbeat 20s 5s ease-in-out infinite forwards; /* 淡入完成後開始3秒後無限循環心跳動畫 */
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.2));
  border-radius: 16px; /* 圓角 */
  z-index:999;
}
@keyframes NewPost-productIn {
  0% {
    opacity: 0;
    filter: blur(12px) drop-shadow(0 0 20px rgba(255,255,255,0.1));
    transform: translate(-50%, -50%) scale(1.15);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 10px rgba(255,255,255,0.25));
    transform: translate(-50%, -50%) scale(1);
  }
}
.NewPost-text-box {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 15%;
  opacity: 0;
  animation: NewPost-textFade 2s 0.1s ease-out forwards;  
}
.NewPost-text-box h1 {
  font-family: "Segoe UI", Arial, sans-serif;	
  font-size: 6vw;
  margin: 0;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #e6e6e6 0%, #9f9f9f 50%, #d0d0d0 100%);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(255,255,255,0.15);
  z-index: 3;
}
.NewPost-text-box p {
  font-size: 3vw;
  margin: 0.5em 0 0;
  color: #cfcfcf;
  opacity: 0.9;
}
@keyframes NewPost-textFade {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes NewPost-heartbeat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  25% { transform: translate(-50%, -50%) scale(1.05); }
  50% { transform: translate(-50%, -50%) scale(0.95); }
  75% { transform: translate(-50%, -50%) scale(1.03); }
}

@media(max-width:768px){
  .NewPost-product-img { width: 90%; }
  .NewPost-text-box h1 { font-size: 8vw; }
  .NewPost-text-box p { font-size: 4vw; }
}

/*=== 產品列表-現有桌機與行動版CSS，保持不變 ==*/
/* 產品外層結構，預設垂直排列置中 */
.proItem-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 產品圖片區塊 */
.proItem-wrap .proList {
  width: 100%;
  margin-bottom: 10px;
  position: relative;
}

/* 產品圖片 */
.proItem-wrap .proList img {
  width: 100%;
  height: auto;
  display: block;
}

/* 文字區 */
.proItem-wrap .proText {
  width: 100%;
  text-align: center;
}

/* 標題與簡述 */
.proItem-wrap h4,
.proItem-wrap .modelText {
  margin: 5px 0;
  word-break: break-word;
}

/* 只針對平板尺寸 768 ~ 991 px 調整 */
@media (min-width: 768px) and (max-width: 991px) {

  /* 產品外層欄位，強制寬度 50% (一行兩個) */
  .proTop {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
    box-sizing: border-box;
  }

  /* 產品縮圖區塊使用flex垂直排列 */
  .thumbnail.proItem-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* 文字區置中 */
  .proText {
    text-align: center;
  }

  /* 標題與簡述間距 */
  .proText h4 {
    margin-bottom: 6px;
  }

  .proText p.modelText {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 0.9em;
    color: #666;
  }
}
/*=== 產品列表-現有桌機與行動版CSS，保持不變 ==*/


/*=== 產品內頁圖片輪播VK-mygallery Start === */
/* 圖片輪播最外層容器 */
.VK-mygallery {
  position: relative;           /* 為內部的指示點設定位參考 */
  width: 100%;                  /* 寬度為容器寬 */
  max-width: 1024px;             /* 最大寬度限制在 800px */
  margin: 10px auto;            /* 垂直外距 40px，水平置中 */
  overflow: hidden;             /* 隱藏超出範圍的內容 */
  border-radius: 10px;          /* 圓角效果 */
}

/* 輪播內容的內層容器（包住所有圖片） */
.vk-carousel-inner {
  display: flex;                /* 用 flex 排列圖片 */
  transition: transform 0.5s ease-in-out; /* 切換時平滑滑動動畫 */
  width: 100%;
}

/* 每張輪播圖片的區塊（預設隱藏） */
.vk-carousel-item {
  flex: 0 0 100%;               /* 每一張圖片寬度為容器的 100% */
  display: none;                /* 預設不顯示 */
}

/* 當前顯示的圖片（加上 active 類別） */
.vk-carousel-item.active {
  display: block;              /* 顯示目前這一張圖片 */
}

/* 圖片樣式 */
.vk-carousel-item img {
  width: 100%;                 /* 圖片寬度填滿容器 */
  height: auto;                /* 保持圖片比例 */
  display: block;              /* 移除圖片底部空隙 */
}

/* 指示點容器（通常在圖片下方） */
.vk-carousel-indicators {
  position: relative;            /* 改為相對定位，脫離圖片區塊 */
  margin-top: 6px;              /* 與圖片間距（可依需求調整） */
  left: 50%;                   /* 水平置中基準點 */
  transform: translateX(-50%); /* 水平偏移自身寬度一半，達成置中 */
  z-index: 10;                 /* 層級提高，避免被圖片蓋住 */
  display: flex;               /* 水平排列指示點 */
  justify-content: center;     /* 水平置中排列 */
  align-items: center;         /* 垂直置中（較少影響） */
  width: 100%;
}

/* 單一指示點的樣式（未啟用狀態） */
.vk-carousel-indicators .vk-dot {
  width: 30px;                 /* 初始寬度為 30px（長條狀） */
  height: 18px;                /* 高度 14px */
  margin: 0 6px;               /* 左右間距 6px */
  border-radius: 3px;          /* 圓角（形成膠囊狀） */
  background-color: rgba(211, 211, 211, 0.5); /* 半透明白色 */
  border: none;                /* 移除邊框 */
  cursor: pointer;             /* 滑鼠移上為可點擊樣式 */
  transition: background-color 0.3s ease, width 0.3s ease; /* 點選動畫效果 */
}

/* 當前啟用的指示點（與目前顯示圖片對應） */
.vk-carousel-indicators .vk-dot.active {
  background-color: #FFEB3B;   /* 高亮黃色（可視為品牌色） */
  width: 40px;                 /* 加寬以做為當前項目指示 */
}
/*===產品內頁圖片輪播VK-mygallery End===*/


/*===首頁index-modal廣告彈出BANNER Start===*/
/* 重置 body 的邊距和內邊距，避免預設空白影響排版 */
body {
    margin: 0;
    padding: 0;
}

/* 當首頁彈出 BANNER 的連結 href="#" 時，游標改成預設箭頭 並且停用點擊事件，避免使用者誤觸無效連結 */
#banner-popup a[href="#"] {
    cursor: default;
    pointer-events: none; /* 停用點擊事件 */
}

/* 彈出遮罩的容器樣式 覆蓋整個視窗，置中顯示內容 半透明黑色背景讓彈窗更突出 */
.banner-popup {
    position: fixed;
    top: 60px; /* 往下偏移60px，避免覆蓋頂部導覽（可依需要調整） */
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明黑色遮罩 */
    display: flex;
    justify-content: center; /* 水平置中 */
    align-items: center; /* 垂直置中 */
    z-index: 1000; /* 確保浮在最上層 */
    display: none; /* 預設不顯示，透過 JS 控制顯示 */
    /*backdrop-filter: blur(5px); /* 背景模糊效果，暫時移除 */
    backdrop-filter: none;
}

/* 彈出內容盒子的樣式 白色背景、圓角和白色邊框讓彈窗乾淨且具層次感 */
.banner-content {
    position: relative;
    background: white;
    padding: 8px; /* 內距調整，讓內容不貼邊 */
    border: 1px solid white;
    border-radius: 8px; /* 圓角 */
    text-align: center; /* 文字置中 */
    width: 100%; /* 滿寬 */
    max-width: 600px; /* 最大寬度限制，桌機版適用 */
    box-sizing: border-box; /* 包含邊框和內距在寬度計算 */
    margin: 2px; /* 四周留白 */
}

/* 橫幅圖片的基本樣式 寬度100%，高度自動調整，維持比例 */
.banner {
    width: 100%;
    height: auto;
    display: block; /* 預防 inline 元素間距影響 */
}

/* 輪播區塊容器 相對定位方便子元素絕對定位（如指示條） 隱藏超出容器的圖片區域，避免滾動條 */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 單張輪播圖片 初始隱藏，只有被激活(active)的才顯示 滑鼠游標變成手指，提示可點擊 */
.banner-slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

/* 被激活的圖片顯示 */
.banner-slide.active {
    display: block;
}

/* 輪播指示條容器 使用 flex 排版置中，並在指示條間保留間距 */
.indicator-bar {
    display: flex;
    justify-content: center;
    gap: 8px; /* 指示點間距 */
    margin-top: 10px; /* 距離圖片底部 */
    padding-bottom: 5px; /* 底部內距，讓指示條不要太貼底 */
}

/* 單一指示點樣式 長條形狀，圓角，淺灰色背景 漸變過渡，當狀態變更時更柔和 */
.indicator-dot {
    width: 30px;
    height: 15px;
    background-color: #ccc;
    border-radius: 3px;
    transition: background-color 0.3s;
}

/* 當前活躍的指示點 深色背景強調當前位置 */
.indicator-dot.active {
    background-color: #333;
}

/* 關閉按鈕 置於內容框的右上方外側 紅色圓形底，白色叉叉字體*/
.close-banner {
    position: absolute;
    top: -15px; /* 往上超出內容框一點 */
    right: 5px;
    /*transform: translate(-50%, -50%); /* 水平垂直置中(暫時註解) */
    background: red;
    color: white;
    border: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 響應式設計 - 大於 600px 小於等於 1200px 的寬度 */
/* 保持最大寬度 600px */
@media (max-width: 1200px) {
    .banner {
        max-width: 600px;
        height: auto;
    }
}

/* 響應式設計 - 小於等於 600px 寬度 */
/* 寬度填滿容器，保持比例高度 */
@media (max-width: 600px) {
    .banner {
        width: 100%;
        height: auto;
    }
    /* 新增行動版縮小彈窗內容框 */
    .banner-content {
        width: 90%;           /* 寬度改成90%，讓兩側有空隙 */
        max-width: 360px;     /* 最大寬度縮小 */
        margin: 10px auto;    /* 上下 10px 間距，水平置中 */
        padding: 12px;        /* 增加內距，讓內容不緊貼邊緣 */
        border-radius: 12px;  /* 圓角稍微加大 */
        box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* 陰影讓層次感更明顯 */
    }
}

/*===首頁index-modal廣告彈出BANNER End===*/

/*===產品系列選單-選中產品Start===*/
/*被選中的產品項目樣式（漸層+圓角） */
.list-group-item.menu-product-selected {
  color: #000000;
  font-weight: 900;
  background: linear-gradient(45deg,  #c1dad4, #f9eec3, #f8e2e7);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.3), /* 上方亮光 */
              inset 0 -2px 4px rgba(0,0,0,0.2); /* 下方陰影 */		  
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);    /* 細緻金屬邊框 */
  background-clip: padding-box; /* 讓背景不跑到圓角外面 */
  box-sizing: border-box; /* 確保大小包含邊框和內距 */
  text-decoration: none;
  cursor: pointer;  
}

/* 滑鼠移到「非選中產品」時：文字變漸層色 */
.list-group-item:not(.menu-product-selected):hover small {
  background: linear-gradient(90deg, #1e1e76, #a195f9, #4aa0c4);
  font-weight:bold;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 滑鼠移到「已選中產品」時：維持原樣，不變色、不變字 */
.list-group-item.menu-product-selected:hover {
  background: linear-gradient(45deg, #c1dad4, #f9eec3, #f8e2e7);
  color: #000000;
}

/* 避免已選中產品的 <small> 被漸層影響 */
.list-group-item.menu-product-selected small {
  background: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #000000;
}
/*===產品系列選單選-選中產品End===*/

/*===產品頁的內文格式Start===*/
.product-h1 {
    font-size: 17px;
	color:#e33f5c;
	line-height: 1.7;
	margin-top: 0px; /* 視覺需求調整 */	
}

.product-h2 {
    font-size: 17px;
	color:#2f4b3a;
	line-height: 1.7;
	text-decoration: underline; /* 加底線 */
	margin-bottom: 5px; /* 視覺需求調整 */		
}

.product-h3-qa {
    font-size: 16px;
	line-height: 1.7;
	background: linear-gradient(90deg, #1e1e76, #4aa0c4);
	font-weight: bold;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
    margin-top: 6px;   /* 原本 h3 可能 20px 起跳 */
    margin-bottom: 3.5px; /* 視覺需求調整 */	
}

.product-p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 4px; /* 視覺需求調整 */			
    }

.product-p-indent {
    font-size: 16px;
    line-height: 1.7;
    text-indent: -1.3em; /* 使第二行及後面的內容與首行對齊 */		
    padding-left: 1.3em;
    }

.product-list-indent {
    list-style: none;           /* 取消預設符號 */
    font-size: 16px;
    line-height: 1.7;
    padding-left: 1.3em;
    counter-reset: item;        /* 初始化計數器 */
}
.product-list-indent li {
    text-indent: -1.3em;        /* 讓第二行與第一行對齊 */
    margin-bottom: 0.2em;       /* 項目間距 */
}
.product-list-indent li::before {
    counter-increment: item;
    content: counter(item, cjk-ideographic); /* 中文數字 一二三，如果要圈號改下面方案 */
}

/* 改成圈號①②③ */
.product-list-indent li:nth-child(1)::before { content: "① "; }
.product-list-indent li:nth-child(2)::before { content: "② "; }
.product-list-indent li:nth-child(3)::before { content: "③ "; }
.product-list-indent li:nth-child(4)::before { content: "④ "; }
.product-list-indent li:nth-child(5)::before { content: "⑤ "; }
.product-list-indent li:nth-child(6)::before { content: "⑥ "; }
.product-list-indent li:nth-child(7)::before { content: "⑦ "; }
.product-list-indent li:nth-child(8)::before { content: "⑧ "; }
.product-list-indent li:nth-child(9)::before { content: "⑨ "; }
.product-list-indent li:nth-child(10)::before { content: "⑩ "; }
/* 需要更多圈號就繼續 nth-child(10) ... */	
	
/*===產品頁的內文格式End===*/

/*===NEW-產品專案的內文格式Start===*/
.project-h1 {
    font-size: 17px;
	color:#e33f5c;
	line-height: 1.7; 
}

.project-h2 {
    font-size: 17px;
	color:#2f4b3a;
	line-height: 1.7;
	text-decoration: underline; /* 加底線 */
}
.project-p {
    font-size: 16px;
    line-height: 1.7;
    }

.project-p-indent {
    font-size: 16px;
    line-height: 1.7;
    text-indent: -1.3em; /* 使第二行及後面的內容與首行對齊 */		
    padding-left: 1.3em;
    }

.project-list-indent {
    list-style: none;           /* 取消預設符號 */
    font-size: 16px;
    line-height: 1.7;
    padding-left: 1.3em;
    counter-reset: item;        /* 初始化計數器 */
}
.project-list-indent li {
    text-indent: -1.3em;        /* 讓第二行與第一行對齊 */
    margin-bottom: 0.4em;       /* 項目間距 */
}
.project-list-indent li::before {
    counter-increment: item;
    content: counter(item, cjk-ideographic); /* 中文數字 一二三，如果要圈號改下面方案 */
}

/* 改成圈號①②③ */
.project-list-indent li:nth-child(1)::before { content: "① "; }
.project-list-indent li:nth-child(2)::before { content: "② "; }
.project-list-indent li:nth-child(3)::before { content: "③ "; }
.project-list-indent li:nth-child(4)::before { content: "④ "; }
.project-list-indent li:nth-child(5)::before { content: "⑤ "; }
.project-list-indent li:nth-child(6)::before { content: "⑥ "; }
.project-list-indent li:nth-child(7)::before { content: "⑦ "; }
.project-list-indent li:nth-child(8)::before { content: "⑧ "; }
.project-list-indent li:nth-child(9)::before { content: "⑨ "; }
.project-list-indent li:nth-child(10)::before { content: "⑩ "; }
/* 需要更多圈號就繼續 nth-child(10) ... */	
	
/*===NEW-產品專案的內文格式End===*/


/*===首頁footer_r Star===*/
.footer_r {
    display: flex;
    align-items: flex-start; /* 圖標和文字的頂部對齊 */
    padding: 13px 20px 0px 20px; /* 上、右、下、左*/
    margin: 0 auto; /* 如果需要水平居中，可以添加 */
    max-width: 100%; /* 確保容器不會超出父容器寬度 */
    box-sizing: border-box; /* 確保內邊距和邊框包含在總寬度內 */
    line-height: 1.5; /* 增加行高以改善行距 */
}
.footer_r i {
    margin-right: 10px; /* 圖標與文字之間的間距 */
    vertical-align: middle; /* 確保圖標與文字在垂直方向上對齊 */
    font-size: 20px; /* 確保所有圖標大小一致 */
    position: relative; /* 使用相對定位來微調位置 */
}
.footer_r span, .footer_r a {
    display: inline-block; /* 確保文字塊在 `flex` 中正常顯示 */
    vertical-align: top; /* 確保文字垂直對齊 */
}
/*===首頁footer_r End===*/



/*===GO TOP START===*/
/* 加入產品Inquiry列表鍵樣式 */
.desktop-cart {
    width: 50px;
    height: 50px;
    position: fixed;
    right: 10px;
    bottom: 205px; /* 根據需要調整位置 */
    z-index: 1000; /* 確保在頁面上層顯示 */
    color: #ff9800;	
}

.desktop-cart:hover {
    color: #ffa726; /* 根據需求調整 hover 顏色 */
}

/* Top鍵樣式 (桌面版) */
#gotop {
    position: fixed;
    z-index: 90;
    right: 15px;
    bottom: 10px; /* GO TOP 鍵的位置設定 */
    display: none; /* 預設隱藏 */
    width: 50px;
    height: 50px;
    color: #fff;
    background: rgba(43, 82, 154, 0.8);
    line-height: 50px;
    border-radius: 50%;
    transition: all 0.5s;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 1);
    font-size: 24px;
}

#gotop:hover {
    color: #fff;
}

/* HOME鍵樣式 (桌面版) */
.desktop-home {
    position: fixed;
    z-index: 90;
    right: 15px;
    bottom: 75px; /* HOME 鍵的位置設定，往上移 */
    display: none; /* 預設隱藏 */
    width: 50px;
    height: 50px;
    color: #fff;
    background: rgba(43, 82, 154, 0.8);
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 1);
    font-size: 24px;
    text-decoration: none;
}

.desktop-home:hover {
    color: #fff;
}

/* 客服鍵樣式 (桌面版) */
.desktop-contact {
    position: fixed;
    z-index: 90;
    right: 15px;
    bottom: 140px; /* 客服鍵的位置設定，根據需要調整 */
    display: none; /* 預設隱藏 */
    width: 50px;
    height: 50px;
    color: #fff;
    background: rgba(43, 82, 154, 0.8);
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 1);
    font-size: 24px;
    text-decoration: none;
}

.desktop-contact:hover {
    color: #fff;
}

/* 桌面版客服鍵在點擊後不變色 */
.desktop-contact:active,
.desktop-contact:focus {
    color: #fff; /* 設置為正常顏色 */
    background: rgba(43, 82, 154, 0.8); /* 保持背景色不變 */
    outline: none; /* 去掉點擊後的邊框 */
}

/* 行動版 HOME 鍵 */
.home-btn {
    display: inline-block;
    width: 50px; /* 調整寬度 */
    height: 50px; /* 調整高度 */
    color: #fff;
    background: none; /* 去掉背景色 */
    line-height: 50px; /* 調整行高 */
    text-align: center;
    font-size: 28px; /* 調整字體大小 */
    text-decoration: none;
}

/* 行動版 GO TOP 鍵 */
.go-top-btn {
    display: inline-block;
    width: 50px; /* 調整寬度 */
    height: 50px; /* 調整高度 */
    color: #fff;
    background: none; /* 去掉背景色 */
    line-height: 50px; /* 調整行高 */
    text-align: center;
    font-size: 28px; /* 調整字體大小 */
    text-decoration: none;
}

/* 行動版客服鍵 */
.contact-btn {
    display: inline-block;
    width: 50px; /* 調整寬度 */
    height: 50px; /* 調整高度 */
    color: #fff;
    background: none; /* 去掉背景色 */
    line-height: 50px; /* 調整行高 */
    text-align: center;
    font-size: 28px; /* 調整字體大小 */
    text-decoration: none;
}

/* 行動版購物車按鈕 */
.cart-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    color: #ff9800;
    background: none;
    line-height: 50px;
    text-align: center;
    font-size: 28px;
    position: relative;
}

.cartcount {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

/* 調整行動版按鈕間距及置中 */
@media (max-width: 768px) {
    #gotop {
        display: none; /* 行動版隱藏桌面版 GO TOP 鍵 */
    }

    #home {
        display: none; /* 行動版隱藏桌面版 HOME 鍵 */
    }
	
    .desktop-contact {
        display: none; /* 行動版隱藏桌面版询函鍵 */
    }	
	
    .desktop-cart {
        display: none; /* 行動版隱藏桌面版購物車按鈕 */
    }
	
    .navbar-bottom {
        position: fixed;
        bottom: 0;
        width: 100%;
        background: rgba(43, 82, 154, 0.8);
        z-index: 90;
        display: flex;
        justify-content: space-evenly; /* 平均分布按鈕 */
        align-items: center;
        padding: 5px 0; /* 調整高度 */
    }

    .navbar-bottom .go-top-btn,
    .navbar-bottom .home-btn {
        display: inline-block;
        width: 50px; /* 調整寬度 */
        height: 50px; /* 調整高度 */
        color: #fff;
        background: none; /* 去掉背景色 */
        line-height: 50px; /* 調整行高 */
        text-align: center;
        font-size: 28px; /* 調整字體大小 */
        text-decoration: none;
    }

    .navbar-bottom .go-top-btn:hover,
    .navbar-bottom .home-btn:hover,
    .navbar-bottom .contact-btn	{
        color: #fff;
    }

    .navbar-bottom .go-top-btn:active,
    .navbar-bottom .home-btn:active,
    .navbar-bottom .contact-btn	{
        color: #fff; /* 點擊後顯示顏色保持不變 */
    }
}

/* 隱藏桌面版的行動版 GO TOP 鍵 */
@media (min-width: 769px) {
    .navbar-bottom {
        display: none; /* 桌面版隱藏行動版 GO TOP 鍵 */
    }

    #gotop {
        display: block; /* 桌面版顯示 GO TOP 鍵 */
    }

    #home {
        display: block; /* 桌面版顯示 HOME 鍵 */
    }
	
    .desktop-contact {
        display: block; /* 桌面版顯示询函鍵 */
    }

    .cart-btn {
        display: none; /* 桌面版隱藏行動版購物車按鈕 */
    }
	
}

/* 确保 InquirySection 是在视口内 */
#InquirySection {
    padding: 10px;
}
/*===GO TOP END===*/


/*=== 展覽照片底片風格輪播 Start ==*/
/**Waverly**/
.news-scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.news-scroll-wall {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row-reverse; /* align right */ /**Arabic**/
  gap: 30px;
  will-change: transform;
  position: relative;
}
.news-scroll-wall a {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  width: 40%;
  min-width: 300px;
}

.news-scroll-wall a img {
  display: block;
  width: 100%;
  flex-shrink: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.7s;
}
.news-scroll-wall a:hover img {
  transform: scale(1.05);
}

/**Waverly end**/

/* Lightbox */
.news-lightbox {
  position: fixed;
  top: 0; /**Waverly**/
  right: 0; /**Arabic**/
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 8000;
}

.news-lightbox-content {
  position: relative;
}

.news-lightbox img {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.news-lightbox-close {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%); /* 讓中心對齊 */
  font-size: 24px;
  color: #000;
  text-decoration: none;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;  /* 確保在圖片之上 */
}

/* 手機/平板自適應 *//**Waverly hide**/
/* @media (max-width: 768px) {
  .news-scroll-wall a img {
    width: 50%;
  }
}
@media (max-width: 480px) {
  .news-scroll-wall a img {
    width: 100%;
  }
} */
/*=== 展覽照片底片風格輪播 End ==*/