/* 2026-10-10 視覺改版：對齊參考站（112.74.46.172 海迪爾）的設計語言。
   只動視覺層——配色、容器寬度、圓角／陰影、按鈕體系、卡片質感；
   版式結構與文案一律不動。主要變化：
   ① 由「純藍單色」改為「品牌藍 + 橙強調色」，主按鈕改橙（參考站的簽名特徵）；
   ② 容器由 1080 加寬到 1200，內距 20→24，頁面更透氣；
   ③ 圓角三級（6/10/16）、陰影三級，卡片 hover 上浮。 */
:root{
  --ink:#16191d; --ink-soft:#4a5259; --ink-mute:#7b858e;
  --line:#e4e8ec; --line-soft:#f1f4f7;
  --bg:#ffffff; --bg-alt:#f7f9fb;
  --brand:#0b4f8a; --brand-dark:#0a3f6e; --brand-soft:#eaf2fa; --brand-line:#c3d9ee;
  --accent:#e8590c; --accent-dark:#c74a08; --accent-soft:#fff3e9;
  --silver:#c7d0db;
  --radius-sm:6px; --radius:10px; --radius-lg:16px;
  --shadow-1:0 1px 2px rgba(16,25,36,.06), 0 1px 3px rgba(16,25,36,.04);
  --shadow-2:0 4px 12px rgba(16,25,36,.08), 0 1px 3px rgba(16,25,36,.04);
  --shadow-3:0 12px 32px rgba(16,25,36,.10);
  --wrap:1200px; --narrow:760px;
}
*{box-sizing:border-box}
/* 頂部資訊條 + 主導航合計約 104px，錨點跳轉（如 /products/#ups）要預留這段高度 */
html{-webkit-text-size-adjust:100%; scroll-padding-top:118px}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang HK","PingFang TC","Microsoft JhengHei","Noto Sans TC",sans-serif;
  font-size:16px; line-height:1.75; -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:var(--wrap); margin:0 auto; padding:0 24px}
.wrap-narrow{max-width:var(--narrow)}
.skip{position:absolute; left:-9999px}
.skip:focus{left:12px; top:12px; background:#fff; padding:8px 12px; border:1px solid var(--line); z-index:99}

/* header */
.site-header{position:sticky; top:0; z-index:40; background:rgba(255,255,255,.96); border-bottom:1px solid var(--line); backdrop-filter:saturate(180%) blur(10px)}
/* 頂部資訊條：深藍窄條（36px），左側業務一句話、右側快捷入口。
   放在 sticky 的 .site-header 之內，捲動時與主導航一起固定在頂部。 */
.topbar{background:var(--brand-dark); color:rgba(255,255,255,.84); font-size:13px}
.topbar-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; height:36px}
.topbar-info{overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.topbar-links{display:flex; align-items:center; gap:9px; flex:none}
.topbar-links .sep{color:rgba(255,255,255,.35)}
.topbar a{color:rgba(255,255,255,.84)}
.topbar a:hover{color:#fff; text-decoration:none}
.header-inner{display:flex; align-items:center; gap:20px; min-height:68px}
.brand{display:flex; align-items:center; gap:10px; color:var(--ink); flex:none}
.brand:hover{text-decoration:none}
.brand-logo{display:block; height:42px; width:auto; object-fit:contain}
.brand-text{display:flex; flex-direction:column; line-height:1.25}
.brand-text strong{font-size:16px}
.brand-text em{font-style:normal; font-size:12px; color:var(--ink-mute)}
.site-nav{display:flex; gap:18px; margin-left:auto; font-size:14.5px}
.site-nav a{color:var(--ink-soft); padding:6px 0; border-bottom:2px solid transparent}
.site-nav a:hover{color:var(--brand); text-decoration:none}
.site-nav a.active{color:var(--brand); border-bottom-color:var(--brand); font-weight:500}
.header-call{flex:none; text-align:right; line-height:1.3; border-left:1px solid var(--line); padding-left:18px; color:var(--ink)}
.header-call:hover{text-decoration:none}
.header-call-label{display:block; font-size:11.5px; color:var(--ink-mute)}
.header-call strong{font-size:15px; color:var(--brand)}
/* 語言切換（EN / 繁中）：實心品牌藍藥丸按鈕，緊跟在電話按鈕右側 */
.lang-switch{flex:none; display:inline-flex; align-items:center; gap:5px;
  font-size:13px; font-weight:700; letter-spacing:.3px;
  color:#fff; background:var(--brand); border:1px solid var(--brand);
  border-radius:999px; padding:6px 13px; line-height:1;
  box-shadow:0 2px 8px rgba(11,61,145,.28)}
.lang-switch svg{width:13px; height:13px; flex:none}
.lang-switch:hover{background:var(--brand-dark); border-color:var(--brand-dark); color:#fff; text-decoration:none}

/* 產品目錄兩層下拉：滑過或鍵盤聚焦時展開 */
.site-nav .nav-item{position:relative; display:flex; align-items:center}
.site-nav .nav-item > a{display:inline-flex; align-items:center; gap:5px}
.nav-caret{width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent;
  border-top:5px solid currentColor; opacity:.55; margin-top:2px}
.site-nav .nav-item:hover .nav-caret,
.site-nav .nav-item:focus-within .nav-caret{opacity:1}

.nav-sub{display:none; position:absolute; top:100%; left:-14px; min-width:216px; z-index:40;
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:8px;
  box-shadow:0 16px 34px rgba(11,61,145,.12)}
.site-nav .nav-item:hover .nav-sub,
.site-nav .nav-item:focus-within .nav-sub{display:block}

/* 兩層大菜單：左側一級分類，右側為其對應二級分類 */
.nav-sub--mega{padding:0; min-width:260px}
.nav-l1{list-style:none; margin:0; padding:8px}
.nav-l1-item{position:relative; display:flex; align-items:center; flex-wrap:wrap}
.nav-l1-item > a{flex:1 1 auto; display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:9px 12px; border-radius:8px; color:var(--ink-soft); font-size:14px; line-height:1.5; white-space:nowrap}
.nav-l1-item > a:hover{background:var(--brand-soft); color:var(--brand); text-decoration:none}
.nav-l1-all > a{color:var(--brand); font-size:13.5px}
.nav-l1-all > a:hover{background:var(--brand-soft)}

.nav-caret-right{width:0; height:0; border-top:4px solid transparent; border-bottom:4px solid transparent;
  border-left:5px solid currentColor; opacity:.55}
.nav-l1-item:hover .nav-caret-right{opacity:1}

/* 懸停橋：大分類條目與右側小分類面板之間有 margin-left:4px 的視覺縫隙，
   滑鼠直線往右移時會有一瞬間「兩邊都不在」，hover 中斷、面板瞬間收起，
   永遠滑不進去。用一條隱形橋（偽元素）把縫隙蓋住——寬 8px（縫隙 4px＋
   與面板左緣重疊 4px），滑鼠經過時仍屬於該條目的 hover 範圍。 */
.nav-l1-item--has-children::after{content:""; position:absolute; top:0; bottom:0;
  left:100%; width:8px}

.nav-sub2{display:none; position:absolute; left:100%; top:0; min-width:200px; z-index:41;
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:8px;
  box-shadow:0 16px 34px rgba(11,61,145,.12); margin-left:4px}
.nav-l1-item:hover .nav-sub2,
.nav-l1-item:focus-within .nav-sub2{display:block}
.nav-sub2 a{display:block; padding:9px 12px; border-radius:8px; white-space:nowrap;
  color:var(--ink-soft); font-size:14px; line-height:1.5}
.nav-sub2 a:hover{background:var(--brand-soft); color:var(--brand); text-decoration:none}
.nav-sub2 a.active{background:var(--brand-soft); color:var(--brand); font-weight:500}

/* 桌面端隱藏手機專用的二級展開按鈕 */
.nav-l2-toggle{display:none}

/* hero —— 2026-10-10：中藍漸層 + 白字，並疊加藍圖網格層（對齊參考站首屏） */
.hero{position:relative; overflow:hidden; color:#fff; padding:64px 0 68px;
  background:linear-gradient(155deg,#15598f 0%, #1d70ad 52%, #2f8ac8 100%)}
/* 藍圖網格疊加層（參考站寫法）：56px 方格 + 徑向遮罩淡出，做出「有背景圖」的層次感。
   遮罩偏向畫面右側（74% 32%），左側文字區保持乾淨。 */
.hero::after{content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse 85% 75% at 74% 32%, #000 18%, transparent 78%);
          mask-image:radial-gradient(ellipse 85% 75% at 74% 32%, #000 18%, transparent 78%)}
.eyebrow{display:inline-block; font-size:12.5px; font-weight:600; letter-spacing:.08em;
  color:var(--accent-dark); background:var(--accent-soft); border:1px solid #f6cdb2;
  padding:4px 13px; border-radius:999px; margin:0 0 14px}
.hero h1{font-size:34px; line-height:1.35; margin:0 0 16px; max-width:760px; color:#fff}
.hero-lead{font-size:17px; color:rgba(255,255,255,.85); max-width:700px; margin:0 0 26px}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px; margin-bottom:30px}
.hero-points{list-style:none; display:flex; flex-wrap:wrap; gap:10px 26px; padding:0; margin:0; font-size:14.5px; color:rgba(255,255,255,.8)}
.hero-points li{position:relative; padding-left:18px}
.hero-points li::before{content:""; position:absolute; left:0; top:9px; width:7px; height:7px; border-radius:2px; background:var(--accent)}
/* 深色 hero 內的元素改為淺色系：眉標用半透明白藥丸（參考站 badge 寫法），
   次要按鈕改透明底白描邊，圖片框線也調淡 */
.hero .eyebrow{color:#fff; background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.26)}
.hero .btn-ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.45)}
.hero .btn-ghost:hover{background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.7)}
.hero .hero-media{border-color:rgba(255,255,255,.15)}

/* buttons —— 2026-10-10 改版：主按鈕由品牌藍改為橙強調色（參考站簽名），
   次要按鈕改為「白底 + 品牌藍字 + 品牌描邊」。 */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:var(--radius-sm); font-size:15.5px; font-weight:500;
  border:1px solid transparent;
  transition:background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease}
.btn:hover{text-decoration:none}
.btn-primary{background:var(--accent); color:#fff; box-shadow:var(--shadow-1)}
.btn-primary:hover{background:var(--accent-dark)}
.btn-ghost{background:#fff; color:var(--brand); border-color:var(--brand-line)}
.btn-ghost:hover{background:var(--brand-soft); border-color:var(--brand)}
.btn-lg{padding:16px 34px; font-size:17px}

/* sections */
.section{padding:76px 0}
.section-alt{background:var(--bg-alt); border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft)}
.section-head{max-width:720px; margin-bottom:28px}
.section-head h2{font-size:24px; margin:0 0 8px}
.section-head p{margin:0; color:var(--ink-soft); font-size:15.5px}
.section-more{margin:28px 0 0}

/* cards */
.card-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px}
.card-grid-4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card-grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.card{display:block; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; color:var(--ink); transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease}
.card:hover{text-decoration:none; border-color:var(--brand-line); box-shadow:var(--shadow-2); transform:translateY(-2px)}
.card h3{font-size:17px; margin:0 0 8px; line-height:1.45}
.card p{margin:0; font-size:14.5px; color:var(--ink-soft)}
.card-sm{padding:18px 20px}
.card-more{display:inline-block; margin-top:12px; font-size:14px; color:var(--brand)}
.tag{display:inline-block; font-size:12px; font-weight:500; color:var(--accent-dark); background:var(--accent-soft); border-radius:5px; padding:2px 8px; margin-bottom:10px}
.case-card .case-config{margin-top:8px; font-size:13.5px; color:var(--ink-mute)}

/* breadcrumb */
.breadcrumb{background:var(--bg-alt); border-bottom:1px solid var(--line-soft); font-size:13.5px}
.breadcrumb .wrap{display:flex; flex-wrap:wrap; gap:8px; padding-top:12px; padding-bottom:12px; color:var(--ink-mute)}
.breadcrumb a{color:var(--ink-soft)}

/* page */
.page-head{padding:40px 0 8px}
.page-head h1{font-size:30px; line-height:1.4; margin:0 0 12px}
.page-lead{font-size:17px; color:var(--ink-soft); margin:0}
.page .prose{padding:28px 0 40px}

/* prose */
.prose{font-size:16.5px}
.prose h2{font-size:22px; margin:38px 0 14px; padding-top:6px}
.prose h3{font-size:18px; margin:28px 0 10px}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{padding-left:22px; margin:0 0 18px}
.prose li{margin-bottom:8px}
.prose li::marker{color:var(--brand)}
.prose strong{font-weight:600}
.prose table{width:100%; border-collapse:collapse; margin:0 0 20px; font-size:15px}
.prose th,.prose td{border:1px solid var(--line); padding:10px 12px; text-align:left}
.prose th{background:var(--bg-alt); font-weight:500}
.prose blockquote{margin:0 0 20px; padding:14px 18px; background:var(--brand-soft); border-left:3px solid var(--brand); color:var(--ink-soft)}
.prose blockquote p:last-child{margin:0}
.prose img{border-radius:var(--radius); border:1px solid var(--line)}

/* faq */
.faq{margin:8px 0 36px}
.faq h2{font-size:20px; margin:0 0 14px}
.faq details{border:1px solid var(--line); border-radius:var(--radius); padding:14px 18px; margin-bottom:10px; background:#fff}
.faq summary{cursor:pointer; font-weight:500; font-size:16px}
.faq-body{margin-top:10px; color:var(--ink-soft); font-size:15.5px}

/* downloads（產品手冊/彩頁下載） */
.downloads{margin:8px 0 36px}
.downloads h2{font-size:20px; margin:0 0 14px}
.dl-list{list-style:none; margin:0; padding:0}
.dl-item{display:flex; align-items:center; gap:14px; border:1px solid var(--line); border-radius:var(--radius); padding:14px 18px; margin-bottom:10px; background:#fff; text-decoration:none; transition:border-color .15s, box-shadow .15s}
.dl-item:hover{border-color:var(--brand); box-shadow:0 1px 8px rgba(0,0,0,.06)}
.dl-icon{flex:none; width:44px; height:44px; border-radius:8px; background:var(--bg-alt); display:flex; align-items:center; justify-content:center; font-size:11.5px; font-weight:700; letter-spacing:.04em; color:var(--ink-soft)}
.dl-name{flex:1; min-width:0; font-size:16px; font-weight:500}
.dl-file{display:block; font-size:12.5px; font-weight:400; color:var(--ink-soft); margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.dl-cta{flex:none; font-size:13.5px; color:var(--ink-soft)}
.dl-item:hover .dl-cta{color:var(--brand)}
.dl-note{margin:12px 2px 0; color:var(--ink-soft); font-size:13.5px}
.dl-note a{text-decoration:underline}

/* inline cta */
.inline-cta{background:var(--bg-alt); border:1px solid var(--line); border-radius:var(--radius); padding:26px 28px; margin-bottom:56px}
.inline-cta h2{font-size:20px; margin:0 0 8px}
.inline-cta p{margin:0 0 18px; color:var(--ink-soft); font-size:15.5px}

/* product table */
.product-group{margin-bottom:52px}
.product-group h2{font-size:20px; margin:0 0 6px}
.product-note{color:var(--ink-mute); font-size:14.5px; margin:0 0 18px}
.group-count{font-size:13px; font-weight:400; color:var(--ink-mute); margin-left:10px}
/* 二級分類：一級分類底下再分組，每組自帶小標題與說明 */
.product-subgroup{margin:0 0 24px}
.product-subgroup:last-child{margin-bottom:0}
.product-subgroup h3{font-size:16px; margin:0 0 6px; padding-left:11px; border-left:3px solid var(--brand); line-height:1.35}
.sub-count{font-size:12.5px; font-weight:400; color:var(--ink-mute); margin-left:8px}
.product-subnote{color:var(--ink-mute); font-size:13.5px; margin:0 0 10px; padding-left:14px}
.product-subgroup-loose h3{border-left-color:var(--line)}
/* 二級分組標題本身就是通往分類頁的連結（hover 才顯示底線，平時維持標題外觀） */
.product-subgroup h3 a{color:var(--ink)}
.product-subgroup h3 a:hover{color:var(--brand)}
.sub-more{margin:10px 0 0; padding-left:14px; font-size:14px}
.group-intro{margin-bottom:34px}
/* 未分類型號區塊：大分類被刪或產品漏填分類時的兜底，外觀刻意低調 */
.product-group-orphan{border-top:1px dashed var(--line); padding-top:28px}
.product-group-orphan h2{color:var(--ink-soft)}
.table-scroll{overflow-x:auto}
.spec-table{width:100%; min-width:640px; border-collapse:collapse; font-size:14.5px}
/* 多一欄「功率段」：加寬最小寬度，並讓功率段不換行（否則「25–1200 kW」會被折成兩行） */
.spec-table--power{min-width:780px}
.spec-table .cell-power{white-space:nowrap; color:var(--ink-soft)}
.spec-table th,.spec-table td{border:1px solid var(--line); padding:10px 12px; text-align:left}
.spec-table th{background:var(--bg-alt); font-weight:500}
.spec-table tbody tr:nth-child(even){background:#fbfcfd}
.product-cta-note{background:var(--brand-soft); border-radius:var(--radius); padding:14px 18px; font-size:15px; color:var(--ink-soft); margin:0}
.spec-thumb{width:56px; height:56px; object-fit:contain; background:#fff; border:1px solid var(--line); border-radius:6px; padding:3px; margin-right:10px; vertical-align:middle}

/* cta band */
.cta-band{background:var(--brand); color:#fff; padding:48px 0; margin-top:8px}
.cta-inner{display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between}
.cta-band h2{font-size:23px; margin:0 0 8px; color:#fff}
.cta-band p{margin:0; color:#c6d2e6; max-width:560px; font-size:15.5px}
.cta-actions{display:flex; flex-wrap:wrap; gap:12px}
.cta-band .btn-primary{background:var(--accent); color:#fff}
.cta-band .btn-primary:hover{background:var(--accent-dark)}
.cta-band .btn-ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.5)}
.cta-band .btn-ghost:hover{background:rgba(255,255,255,.12)}

/* ── 聯絡表單 ── */
.cform{background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; margin:10px 0 34px; box-shadow:0 4px 18px rgba(11,61,145,.06)}
.cform-row{display:grid; grid-template-columns:1fr 1fr; gap:0 16px}
.cform-field{display:block; margin-bottom:14px}
.cform-field > span{display:block; font-size:14px; font-weight:500; margin-bottom:6px; color:var(--ink-soft)}
.cform-field > span b{color:#c0271f; font-weight:600}
.cform-field input, .cform-field select, .cform-field textarea{
  width:100%; font:inherit; font-size:15px; color:var(--ink); background:#fff;
  border:1px solid var(--line); border-radius:8px; padding:11px 12px; line-height:1.5}
.cform-field textarea{resize:vertical; min-height:120px}
.cform-field input::placeholder, .cform-field textarea::placeholder{color:#9aa7b4}
.cform-field input:focus, .cform-field select:focus, .cform-field textarea:focus{
  outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft)}
.cform-hp{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
.cform-actions{display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:4px}
.cform-note{font-size:13px; color:var(--ink-mute); line-height:1.6}
.cform-status{display:none; margin:14px 0 0; font-size:14.5px; font-weight:500}
.cform-status.ok{display:block; color:#1a7f37}
.cform-status.err{display:block; color:#b3261e}
.cform button[type="submit"][disabled]{opacity:.6; cursor:default}
@media (max-width:600px){
  .cform{padding:16px}
  .cform-row{grid-template-columns:1fr}
}

/* footer */
.site-footer{background:#10222f; color:#9fb0c0; padding:56px 0 20px; font-size:14.5px}
.footer-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:28px}
/* 寬螢幕固定四欄，且「聯絡方式」欄加寬，容納完整電郵地址不折行 */
@media (min-width:1025px){
  .footer-grid{grid-template-columns:.85fr 1.4fr 1.1fr .9fr}
}
/* 電郵地址一律單行顯示（sales@generalpowertech.com，勿折行） */
.footer-mail{white-space:nowrap}
.site-footer a{color:#cfdcea}
.site-footer p{margin:0 0 8px; line-height:1.7}
.footer-name{color:#fff; font-weight:500; font-size:16px; margin-bottom:2px}
.footer-en{color:#7b8b9c; font-size:13px; margin-bottom:12px}
.footer-h{color:#fff; font-weight:500; margin-bottom:10px}
.footer-bottom{display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; border-top:1px solid #1e2b37; margin-top:34px; padding-top:18px; font-size:13.5px; color:#7b8b9c}

/* mobile cta */
.mobile-cta{display:none}

/* 漢堡按鈕（僅小屏顯示） */
.nav-toggle{display:none; flex:none; width:42px; height:42px; border:1px solid var(--line);
  border-radius:9px; background:#fff; cursor:pointer; padding:0 10px;
  flex-direction:column; justify-content:center; align-items:stretch; gap:5px}
.nav-toggle span{display:block; height:2px; background:var(--ink); border-radius:2px; transition:transform .2s, opacity .2s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:900px){
  .site-nav{display:none; position:absolute; top:100%; left:0; right:0;
    background:#fff; border-bottom:1px solid var(--line);
    flex-direction:column; gap:0; margin-left:0; padding:8px 20px 14px;
    box-shadow:0 12px 28px rgba(11,61,145,.10); font-size:15.5px}
  .site-nav.open{display:flex}
  .site-nav a{padding:12px 4px; border-bottom:1px solid var(--line-soft)}
  .site-nav a:last-child{border-bottom:none}
  /* 手機沒有 hover，二級選單改為折疊展開 */
  .site-nav .nav-item{display:block}
  .nav-caret{display:none}
  .site-nav .nav-sub{display:block; position:static; min-width:0; padding:0 0 6px 0;
    border:none; border-radius:0; margin-left:0;
    background:transparent; box-shadow:none}
  .site-nav .nav-sub--mega{padding:0; background:transparent; border:none; box-shadow:none}
  .nav-l1{padding:0; margin:0}
  .nav-l1-item{display:flex; align-items:center; flex-wrap:wrap}
  .nav-l1-item > a{flex:1 1 auto; justify-content:flex-start; padding:10px 4px; font-size:15px; color:var(--ink-mute);
    border-bottom:1px solid var(--line-soft); border-radius:0}
  .nav-l1-item > a:hover{background:transparent; color:var(--brand)}
  .nav-l1-all > a{border-bottom:none; color:var(--brand); font-size:14px}
  .nav-caret-right{display:none}

  .nav-sub2{display:none; width:100%; position:static; padding:0 0 4px 14px; margin:0;
    border:none; border-left:2px solid var(--line-soft); border-radius:0; background:transparent; box-shadow:none}
  .nav-l1-item.open .nav-sub2{display:block}
  .nav-sub2 a{padding:9px 4px; font-size:14.5px; color:var(--ink-mute); border-bottom:1px solid var(--line-soft)}
  .nav-sub2 a:last-child{border-bottom:none}

  .nav-l2-toggle{display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px;
    margin-left:8px; border:none; background:transparent; color:var(--ink-mute); cursor:pointer;
    border-radius:6px}
  .nav-l2-toggle:hover{background:var(--brand-soft); color:var(--brand)}
  .nav-l2-toggle[aria-expanded="true"] .nav-caret-sm{transform:rotate(180deg)}
  .nav-caret-sm{width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent;
    border-top:5px solid currentColor}
  .nav-toggle{display:flex}
  .header-call{border-left:none; padding-left:0; margin-left:auto}
  .hero h1{font-size:27px}
  .hero{padding:40px 0 32px}
  .section{padding:44px 0}
  .page-head h1{font-size:25px}
}
@media (max-width:700px){
  /* 小屏：資訊條只留業務一句話，隱藏右側快捷入口，避免與主導航搶高度 */
  .topbar-inner{height:32px}
  .topbar{font-size:12px}
  .topbar-links{display:none}
}
@media (max-width:600px){
  body{font-size:15.5px}
  .brand-logo{height:36px}
  .brand-text em{display:none}
  .header-call-label{display:none}
  .lang-switch{padding:5px 10px; font-size:12px}
  .lang-switch svg{width:12px; height:12px}
  .hero-actions .btn{width:100%; text-align:center}
  .cta-actions .btn{width:100%; text-align:center}
  .mobile-cta{display:grid; grid-template-columns:1fr 1fr; gap:1px; position:sticky; bottom:0; z-index:50; background:var(--line); border-top:1px solid var(--line)}
  .mobile-cta a{padding:15px 8px; text-align:center; font-size:15px; font-weight:500; background:#fff; color:var(--brand)}
  .mobile-cta a.wa{background:var(--brand); color:#fff}
  .mobile-cta a:hover{text-decoration:none}
  .site-footer{padding-bottom:76px}
}

/* ── 產品詳情頁 ───────────────────────────── */
.product-hero{display:grid; grid-template-columns:minmax(0,230px) 1fr; gap:26px; align-items:start;
  margin:0 0 34px; padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:var(--bg-alt)}
.product-hero-media{margin:0; background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius); padding:12px}
.product-hero-media img{display:block; width:100%; height:auto}
.product-facts{display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px 24px; margin:0; padding:0}
.product-facts dt{font-size:12.5px; color:var(--ink-mute); margin:0 0 2px; letter-spacing:.02em}
.product-facts dd{margin:0; font-size:15px; color:var(--ink); line-height:1.6}

.prod-block{margin:40px 0 0}
.prod-block > h2{font-size:21px; margin:0 0 14px}
/* 2026-10-08 型號表前移：分類落地頁的型號表變成頁面第一塊，
   上面的 40px 邊距要多餘、下面又缺間距，故只給該頁一個修飾類。
   ⚠️ .prod-block 同時被產品詳情頁的區塊共用，別直接改上面的規則。 */
.prod-block--first{margin:0 0 48px}
.check-list{list-style:none; padding:0; margin:0; display:grid; gap:9px}
.check-list li{position:relative; padding-left:24px; color:var(--ink-soft)}
.check-list li::before{content:""; position:absolute; left:3px; top:9px; width:5px; height:9px;
  border-right:2px solid var(--brand); border-bottom:2px solid var(--brand); transform:rotate(40deg)}

.spec-table-kv th{width:32%; white-space:normal; text-align:left; font-weight:500; color:var(--ink-soft); background:var(--bg-alt)}
.spec-disclaimer{font-size:13px; color:var(--ink-mute); margin:10px 0 0}
.inline-note{margin:36px 0 0; padding:16px 20px; background:var(--brand-soft); border-radius:var(--radius); font-size:15px; color:var(--ink-soft)}

/* ── 產品頁頁籤（產品詳情／規格參數／資料下載）──────────
   2026-10-13：對齊參考站 EATON 產品頁的資訊架構（概述／規格／資源），
   把「規格參數」與「資料下載」各自獨立成一個頁籤，預設停在「產品詳情」，
   進站第一屏不再被長規格表與檔案清單撐長。
   實作＝radio + label 的純 CSS 切換：
     · 零 JS 也能正常切換（漸進增強只補深連結與鍵盤操作）；
     · 面板內容一律留在 HTML 內，不是 AJAX 載入 → 搜尋引擎照樣抓得到；
     · 沒有規格也沒有下載檔案的型號不加 .ptabs--on，面板回到 display:block，
       版面與改版前完全相同；只有規格的型號就只出現「產品詳情／規格參數」。
   ⚠️ sticky 的 top:104px = 頂部資訊條 36px + 主導航 68px，
      與 html{scroll-padding-top:118px} 同一組數字，改 header 高度要一起改。 */
.ptabs{margin:34px 0 0; scroll-margin-top:118px}
.ptab-radio{position:absolute; width:1px; height:1px; opacity:0; pointer-events:none}
.ptab-nav{display:none}
.ptabs--on > .ptab-nav{display:flex; flex-wrap:wrap; gap:2px; position:sticky; top:104px; z-index:20;
  margin:0 0 30px; background:var(--bg); border-bottom:2px solid var(--line)}
.ptab-btn{position:relative; display:inline-flex; align-items:center;
  padding:12px 20px 11px; margin-bottom:-2px; font-size:16px; font-weight:500;
  color:var(--ink-soft); border-bottom:3px solid transparent; cursor:pointer;
  transition:color .15s, border-color .15s}
.ptab-btn:hover{color:var(--brand)}
.ptab-btn:focus-visible{outline:2px solid var(--brand); outline-offset:-4px; border-radius:4px 4px 0 0}
/* 選中態：品牌藍文字 + 底部指示條（沿用主導航 .site-nav a.active 的視覺語言） */
.ptabs--on #ptab-detail:checked ~ .ptab-nav .ptab-btn[for="ptab-detail"],
.ptabs--on #ptab-specs:checked ~ .ptab-nav .ptab-btn[for="ptab-specs"],
.ptabs--on #ptab-downloads:checked ~ .ptab-nav .ptab-btn[for="ptab-downloads"]{
  color:var(--brand); font-weight:600; border-bottom-color:var(--brand)}
.ptab-panel{display:block}
.ptabs--on > .ptab-panel{display:none}
.ptabs--on #ptab-detail:checked ~ #panel-detail,
.ptabs--on #ptab-specs:checked ~ #panel-specs,
.ptabs--on #ptab-downloads:checked ~ #panel-downloads{display:block}
/* 面板內第一塊不再額外頂開（.prod-block 預設 margin-top:40px）；
   限定 .ptabs--on，未啟用頁籤的型號版面與改版前逐像素相同 */
.ptabs--on .ptab-panel > :first-child{margin-top:0}
/* 啟用頁籤後，正文原本的 padding-top:28px 會疊在頁籤條的 30px 下邊距上，
   空隙過大，壓回 6px（未啟用頁籤的型號不受影響） */
.ptabs--on .ptab-panel > .prose{padding-top:6px}

/* 規格參數頁籤內有兩個區塊：「型號一覽」（從正文抽出的 .prose）＋「規格參考」
   （.prod-block）。把型號一覽那顆 h2 的字級與上方間距對齊 .prod-block > h2，
   兩個標題才不會一高一低、一鬆一緊。 */
.ptabs--on #panel-specs > .prose > h2:first-child{margin-top:0}
.ptabs--on #panel-specs > .prose h2{font-size:21px}

/* ── 案例詳情頁 ───────────────────────────── */
.case-fact{display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 14px; padding:16px 20px;
  background:var(--brand-soft); border-radius:var(--radius); margin:0 0 26px}
.case-fact-label{font-size:12.5px; color:var(--brand); letter-spacing:.04em}
.case-fact strong{font-size:16px}
.case-photo{margin:0 0 26px}
.case-photo img{border-radius:var(--radius); border:1px solid var(--line)}
.prevnext{margin:36px 0 0; padding-top:20px; border-top:1px solid var(--line); font-size:15px}

@media (max-width:640px){
  .product-hero{grid-template-columns:1fr; padding:16px; gap:18px}
  .spec-table-kv th{width:36%}
  /* 小屏 header 高度不固定，頁籤條取消吸附以免與導航疊在一起 */
  .ptabs--on > .ptab-nav{position:static; margin-bottom:22px}
  .ptab-btn{padding:11px 14px 10px; font-size:15px}
}

/* ── 圖片與視覺系統 ───────────────────────────── */
img{display:block; max-width:100%; height:auto}
figure{margin:0}

.img-badge{position:absolute; right:10px; bottom:10px; z-index:2;
  background:rgba(0,0,0,.55); color:#fff; font-size:12px; padding:3px 8px;
  border-radius:4px; letter-spacing:.02em; backdrop-filter:blur(2px)}

/* 首頁 hero 雙欄（position/z-index 讓內容浮在網格疊加層之上） */
.hero-inner{position:relative; z-index:1; display:grid; grid-template-columns:1fr .85fr; gap:40px; align-items:center}
.hero-text{min-width:0}
.hero-media{position:relative; margin:0; border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--line-soft); box-shadow:var(--shadow-3)}
.hero-media img{width:100%; aspect-ratio:3/2; object-fit:cover}

/* 卡片縮圖 */
.card{overflow:hidden}
.card-thumb{height:150px; background-size:cover; background-position:center;
  border-bottom:1px solid var(--line); margin:-20px -22px 16px; border-radius:10px 10px 0 0}
.card-sm .card-thumb{margin:-18px -20px 14px; height:130px}
/* 白底產品圖縮圖：完整顯示不裁切（場景照仍用 cover 滿鋪） */
.card-thumb--fit{background-size:contain; background-color:#fff; background-repeat:no-repeat}
.card.has-thumb h3{margin-top:0}

/* 內頁橫幅 */
.page-banner{position:relative; margin:0; max-height:340px; overflow:hidden}
.page-banner img{width:100%; height:340px; object-fit:cover; display:block}

/* 產品與案例圖說 */
.product-hero-media, .case-photo{position:relative}
.product-hero-media figcaption, .case-photo figcaption{font-size:12.5px; color:var(--ink-mute); text-align:center; margin-top:8px; line-height:1.5}
.product-hero-media .img-badge, .case-photo .img-badge{bottom:38px}
.case-photo figcaption{margin-bottom:4px}

@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr}
  .hero-media{max-width:680px; margin:0 auto; width:100%}
  .page-banner{max-height:260px}
  .page-banner img{height:260px}
}
@media (max-width:600px){
  .card-thumb{height:130px}
  .card-sm .card-thumb{height:110px}
  .product-hero-media .img-badge, .case-photo .img-badge{bottom:34px}
}

/* ── 英文「型號總表」頁（/en/models/）：可即時篩選的型號卡片清單 ──────────
   說明：
   1. .wrap-models 讓這一頁的內容比一般內頁寬一些，型號才有空間分兩欄排列
   2. .mf-filter 在桌機固定在頁首下方，捲到清單中段也能隨時改關鍵字
   3. 篩選邏輯在 static/model-filter.js，這裡只負責顯示與隱藏 */
.wrap-models{max-width:900px}
.mf-filter{margin:0 0 26px; padding:14px 16px; border:1px solid var(--line);
  border-radius:var(--radius); background:var(--bg-alt)}
.mf-filter-label{display:block; font-size:13px; font-weight:600; color:var(--ink-soft); margin-bottom:6px}
.mf-filter input{width:100%; font:inherit; font-size:16px; padding:10px 12px;
  border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink)}
.mf-filter input:focus{outline:2px solid var(--brand); outline-offset:1px; border-color:var(--brand)}
.mf-count{margin:8px 0 0; font-size:13px; color:var(--ink-mute); min-height:1.1em}
.mf-empty{margin:10px 0 0; font-size:13.5px; color:var(--brand); background:#fff;
  border:1px dashed var(--line); border-radius:8px; padding:9px 11px}
.mf-intro{margin:6px 0 18px; color:var(--ink-soft)}
.mfsection{margin:0 0 34px}
.mfgroup{margin:0 0 22px}
.mfgroup > h3{margin:20px 0 6px; font-size:15.5px; color:var(--brand)}
.mfrow{padding:12px 0; border-top:1px solid var(--line-soft)}
.mfgroup > .mfrow:first-of-type{border-top:1px solid var(--line)}
.mf-head{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px}
.mf-name{font-weight:600; font-size:16.5px}
.mf-meta{font-size:13px; color:var(--ink-mute)}
.mf-note{margin:4px 0 0; font-size:14px; color:var(--ink-soft)}
.mf-models{list-style:none; margin:9px 0 0; padding:0; columns:2; column-gap:28px}
.mf-models li{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:13px; line-height:1.85; color:var(--ink); break-inside:avoid; padding-right:6px}
.mflist{margin:8px 0 0; padding-left:20px}
.mflist li{font-size:14.5px; color:var(--ink-soft); margin:5px 0}
.mflist strong{color:var(--ink)}
.mf-hide{display:none !important}
@media (min-width:701px){
  /* 頂部資訊條（36px）+ 主導航（68px）= 104px，篩選框要貼在其下方 */
  .mf-filter{position:sticky; top:106px; z-index:6}
}
@media (max-width:700px){
  .mf-models{columns:1}
  .mf-filter{margin-bottom:20px}
}
