/* ============================================================================
   horizon —— 上市公司官網
   THESIS       穩重、資訊清楚、一眼就知道「這是一家有規模的公司」。
   OWN-WORLD    年報與投資人關係頁：白／淺藍灰交錯，深海軍藍色帶壓住節奏。
   STORY        工具列給聯絡方式 → 形象照上的海軍藍資訊卡 → 服務卡 → 數據色帶 → 頁尾四欄。
   FIRST VIEW   滿版照片，左下海軍藍資訊卡貼齊圖底（不是整片黑漸層）。
   FORM         圓角 6px、卡片上緣 3px 主色線、Libre Franklin 數字、箭頭按鈕。
   設計系統說明：DESIGN.md（同資料夾）
   ============================================================================ */

/* ---------- 1. 色彩與尺寸 token ----------
   顏色契約：--accent / --theme-bg / --theme-ink / --theme-heading 由業主後台覆寫（theme_color_vars）。
   ⚠️ 不能寫 --accent: var(--accent, …)——自我參照會變成無效值，整套主色失效。一律轉進 --hz-*。
   海軍藍、淺藍灰都從主色「調」出來：業主換主色，色帶跟著變成同色系的深色，不會出現藍帶配紅鈕。 */
:root {
  --hz-accent: var(--accent, #2f5d8c);
  --paper: var(--theme-bg, #ffffff);
  --ink: var(--theme-ink, #2a3644);
  --heading: var(--theme-heading, #0f2238);
  --muted: #566476;
  --line: #d8e0e9;
  --line-2: #c3cedb;
  --navy: #14304f;
  --navy-deep: #0d2239;
  --soft: #eef2f6;
  --accent-soft: #eaf0f6;
  --accent-ink: #244a72;
  --accent-on-navy: #9db8d6;
  --on-navy: #ffffff;
  --on-navy-2: #c6d3e1;
  --on-navy-3: #9fb2c7;

  --maxw: 1360px;
  --gut: 32px;
  --r: 6px;
  --bar-h: 80px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-1: 0 1px 2px rgba(15, 34, 56, .06), 0 10px 28px -14px rgba(15, 34, 56, .22);
  --shadow-2: 0 2px 4px rgba(15, 34, 56, .06), 0 22px 40px -18px rgba(15, 34, 56, .32);

  --latin: 'Libre Franklin', 'Noto Sans TC', -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --sans: 'Noto Sans TC', 'Libre Franklin', -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --navy: color-mix(in srgb, var(--hz-accent) 45%, #06121f);
    --navy-deep: color-mix(in srgb, var(--hz-accent) 28%, #050d17);
    --soft: color-mix(in srgb, var(--hz-accent) 4%, #f5f7fa);
    --accent-soft: color-mix(in srgb, var(--hz-accent) 9%, #ffffff);
    --accent-ink: color-mix(in srgb, var(--hz-accent) 78%, #000000);
    --accent-on-navy: color-mix(in srgb, var(--hz-accent) 45%, #ffffff);
  }
}
@media (max-width: 760px) { :root { --gut: 20px; --bar-h: 64px; } }

/* ---------- 2. 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 12px); }
html, body { margin: 0; }
body.theme-horizon {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.8; letter-spacing: .01em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.theme-horizon img { max-width: 100%; height: auto; }
.theme-horizon a { color: var(--hz-accent); text-underline-offset: 3px; }
.theme-horizon h1, .theme-horizon h2, .theme-horizon h3, .theme-horizon h4 { color: var(--heading); text-wrap: balance; }
.theme-horizon p, .theme-horizon li { text-wrap: pretty; }
.theme-horizon :focus-visible { outline: 2px solid var(--hz-accent); outline-offset: 3px; border-radius: 2px; }
.hz-num { font-family: var(--latin); font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; }
.container, .block .wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.hz-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--navy); color: #fff !important; padding: 10px 16px; border-radius: var(--r); text-decoration: none; }
.hz-skip:focus { top: 12px; }
.preview-bar { background: #fff4d6; color: #5a4300; text-align: center; padding: 8px 16px; font-size: 15px; }
.preview-bar a { color: inherit; font-weight: 700; }

/* ---------- 3. 按鈕與表單 ---------- */
.theme-horizon .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 26px; border: 1px solid var(--hz-accent); border-radius: var(--r);
  background: var(--hz-accent); color: #fff; font: 500 16px/1.2 var(--sans); letter-spacing: .06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.theme-horizon .btn::after {
  content: ''; flex: 0 0 auto; width: 16px; height: 12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease-out);
}
.theme-horizon .btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); box-shadow: 0 8px 20px -10px rgba(15, 34, 56, .5); }
.theme-horizon .btn:hover::after { transform: translateX(4px); }
.theme-horizon .btn-secondary { background: transparent; color: var(--hz-accent); }
.theme-horizon .btn-secondary:hover { background: var(--hz-accent); color: #fff; }
.theme-horizon .btn-onnavy { background: #fff; border-color: #fff; color: var(--navy); }
.theme-horizon .btn-onnavy:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--navy); }
.block-button { padding-block: 32px; }
.block-button .wrap { text-align: center; }

.theme-horizon input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]),
.theme-horizon select, .theme-horizon textarea { font-family: inherit; }
.site-form { max-width: 680px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; color: var(--heading); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: #fff; color: var(--ink); font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.form-field input[type=file] { min-height: 0; padding: 10px; }
.form-field textarea { min-height: 150px; line-height: 1.7; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--hz-accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-hint { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.form-result { max-width: 680px; padding: 14px 18px; margin: 0 0 20px; border-radius: var(--r); font-size: 15px; }
.form-result.ok { background: #e6f4ec; color: #17603a; }
.form-result.err { background: #fbeaea; color: #9b2621; }
.block-form { padding-block: 72px; }
.block-form h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 24px; line-height: 1.35; }

/* ---------- 4. 頁首：工具列 ＋ 主列 ---------- */
.hz-util { background: var(--navy-deep); color: var(--on-navy-2); font-size: 15px; line-height: 1.4; }
.hz-util-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.hz-util-list { display: flex; flex-wrap: wrap; gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.hz-util a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--on-navy-2); text-decoration: none; transition: color .15s; }
.hz-util a:hover { color: #fff; }
.hz-util svg { color: var(--accent-on-navy); flex: 0 0 auto; }
.hz-util-k { color: var(--on-navy-3); }
.hz-util-note { margin: 0; color: var(--on-navy-3); }

.hz-bar { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.hz-bar.is-stuck { box-shadow: 0 10px 28px -18px rgba(15, 34, 56, .45); }
.hz-bar-in { display: flex; align-items: center; gap: 28px; height: var(--bar-h); }
.hz-brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; color: var(--heading) !important; text-decoration: none; }
.hz-brand img { display: block; max-height: 44px; width: auto; }
.hz-brand .brand-text { font: 800 22px/1.2 var(--latin); letter-spacing: -.01em; }

.hz-nav { margin-left: auto; align-self: stretch; display: flex; }
.hz-nav .nav-list { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.hz-nav .nav-item { position: relative; display: flex; }
.hz-nav .nav-link {
  position: relative; display: flex; align-items: center; padding: 0 15px;
  color: var(--heading); font-size: 16px; font-weight: 500; letter-spacing: .04em; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.hz-nav .nav-list > .nav-item > .nav-link::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: -1px; height: 3px; background: var(--hz-accent);
  transform: scaleX(0); transform-origin: left center; transition: transform .3s var(--ease-out);
}
.hz-nav .nav-list > .nav-item:hover > .nav-link::after,
.hz-nav .nav-list > .nav-item:focus-within > .nav-link::after,
.hz-nav .nav-list > .nav-item > .nav-link.is-active::after { transform: scaleX(1); }
.hz-nav .nav-link.is-active { color: var(--hz-accent); }
.hz-nav .nav-list > .has-children > .nav-link { padding-right: 30px; }
.hz-nav .nav-list > .has-children > .nav-link::before {
  content: ''; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.hz-nav .nav-sub {
  position: absolute; top: 100%; left: 0; z-index: 5; min-width: 230px; margin: 0; padding: 8px 0; list-style: none;
  background: #fff linear-gradient(var(--hz-accent), var(--hz-accent)) top left / 100% 3px no-repeat; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .3s var(--ease-out), visibility 0s linear .3s;
}
.hz-nav .nav-sub .nav-item { display: block; }
.hz-nav .nav-sub .nav-sub { top: -11px; left: 100%; }
.hz-nav .nav-item:hover > .nav-sub, .hz-nav .nav-item:focus-within > .nav-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hz-nav .nav-sub .nav-link { display: block; padding: 11px 22px; font-size: 15px; letter-spacing: .02em; white-space: normal; }
.hz-nav .nav-sub .nav-link:hover, .hz-nav .nav-sub .nav-link:focus-visible { background: var(--soft); color: var(--hz-accent); outline-offset: -2px; }
.hz-nav-head, .hz-nav-foot { display: none; }

.hz-tools { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; color: var(--heading); }
.theme-horizon .cms-hdr-act { width: 44px; height: 44px; border-radius: var(--r); color: var(--heading); }
.theme-horizon .cms-hdr-act:hover { background: var(--soft); color: var(--hz-accent); }
.hz-cart { position: relative; }
.hz-cart-n { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hz-accent); color: #fff; font: 600 11px/18px var(--latin); text-align: center; }
.theme-horizon .hz-cta { min-height: 44px; margin-left: 14px; padding: 0 22px; font-size: 15px; }
.theme-horizon .hz-cta::after { display: none; }
.hz-toggle { display: none; width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; background: none; color: var(--heading); cursor: pointer; border-radius: var(--r); }
.hz-toggle-bars { position: relative; display: block; width: 22px; height: 16px; margin: 0 auto; }
.hz-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 1px; }
.hz-toggle-bars span:nth-child(1) { top: 0; }
.hz-toggle-bars span:nth-child(2) { top: 7px; width: 70%; }
.hz-toggle-bars span:nth-child(3) { top: 14px; }
.hz-backdrop { display: none; }
.theme-horizon .cms-search-panel__in input:focus { border-color: var(--hz-accent); }
.theme-horizon .cms-search-panel__go { border-radius: var(--r); background: var(--hz-accent); }

/* 抽屜選單（≤1080px） */
@media (max-width: 1080px) {
  .hz-toggle { display: inline-flex; align-items: center; }
  .js .hz-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(380px, 88vw); margin: 0;
    flex-direction: column; background: #fff; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -24px 0 60px -30px rgba(8, 20, 34, .5);
    transform: translateX(102%); visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s linear .45s;
  }
  .js .nav-open .hz-nav { transform: none; visibility: visible; transition-delay: 0s; }
  .js .hz-nav-head { display: flex; align-items: center; justify-content: space-between; min-height: var(--bar-h); padding: 0 12px 0 24px; border-bottom: 1px solid var(--line); }
  .hz-nav-title { font-size: 15px; letter-spacing: .12em; color: var(--muted); }
  .hz-nav-close { width: 44px; height: 44px; border: 0; background: none; color: var(--heading); cursor: pointer; border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; }
  .js .hz-nav .nav-list { flex-direction: column; }
  .js .hz-nav .nav-item { display: block; }
  .js .hz-nav .nav-link { padding: 16px 24px; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .js .hz-nav .nav-link.is-active { background: var(--accent-soft); }
  .js .hz-nav .nav-list > .nav-item > .nav-link::after, .js .hz-nav .nav-list > .has-children > .nav-link::before { display: none; }
  .js .hz-nav .nav-sub { position: static; min-width: 0; padding: 4px 0 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: var(--soft); }
  .js .hz-nav .nav-sub .nav-link { min-height: 48px; padding: 12px 24px 12px 40px; border: 0; font-size: 15.5px; }
  .js .hz-nav-foot { display: flex; flex-direction: column; gap: 16px; margin-top: auto; padding: 28px 24px 32px; }
  .theme-horizon .hz-nav-cta { width: 100%; }
  .hz-nav-tel { display: flex; justify-content: space-between; align-items: baseline; color: var(--heading) !important; text-decoration: none; font-size: 15px; }
  .hz-nav-tel .hz-num { font-size: 20px; font-weight: 600; }
  .js .hz-backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(8, 20, 34, .55); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
  .js .nav-open .hz-backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
  body.nav-open { overflow: hidden; }
  /* 沒有 JS：選單直接攤成主列下方一排可橫向捲動的連結 */
  html:not(.js) .hz-bar-in { flex-wrap: wrap; height: auto; min-height: var(--bar-h); }
  html:not(.js) .hz-nav { order: 5; width: 100%; margin: 0; overflow-x: auto; }
  html:not(.js) .hz-nav .nav-link { min-height: 48px; }
  html:not(.js) .hz-nav .nav-sub, html:not(.js) .hz-toggle { display: none; }
  .hz-tools { margin-left: auto; }
}
@media (max-width: 760px) {
  .hz-util-mail, .hz-util-note, .hz-util-k { display: none; }
  .hz-util-in { justify-content: center; min-height: 36px; }
  .hz-util a { min-height: 36px; }
  .theme-horizon .hz-cta { display: none; }
  .hz-bar-in { gap: 12px; }
  .hz-brand img { max-height: 36px; }
}

/* ---------- 5. 麵包屑條 ＋ 內頁標題色帶 ---------- */
.hz-crumbbar { background: var(--soft); border-bottom: 1px solid var(--line); }
.theme-horizon .cms-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; padding-block: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.theme-horizon .cms-breadcrumbs a { display: inline-flex; align-items: center; min-height: 28px; color: var(--muted); text-decoration: none; }
.theme-horizon .cms-breadcrumbs a:hover { color: var(--hz-accent); text-decoration: underline; }
.theme-horizon .cms-breadcrumbs [aria-current="page"] { color: var(--heading); font-weight: 500; }
.cms-breadcrumbs-sep { margin: 0 10px; color: var(--line-2); }

/* 頁面第一個積木是「含 h1 的文字」或「標題積木」→ 變成海軍藍標題帶，麵包屑條一起轉深色接成一整塊 */
.theme-horizon #wsite-content > .block-text:first-child:has(> .wrap > h1:first-child),
.theme-horizon #wsite-content > .block-heading:first-child,
.hz-pagehead {
  position: relative; overflow: hidden; background-color: var(--navy); color: var(--on-navy-2);
  background-image: radial-gradient(90% 160% at 100% 0%, rgba(255, 255, 255, .09), transparent 60%);
  padding-block: 64px 72px;
  --heading-color: #fff; --muted-color: var(--on-navy-3);
}
.theme-horizon #wsite-content > .block-text:first-child:has(> .wrap > h1:first-child)::after,
.theme-horizon #wsite-content > .block-heading:first-child::after,
.hz-pagehead::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .1);
}
.theme-horizon #wsite-content > .block-text:first-child:has(> .wrap > h1:first-child) h1,
.hz-pagehead h1 { color: #fff; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.25; font-weight: 700; letter-spacing: .02em; margin: 0 0 16px; }
.theme-horizon #wsite-content > .block-text:first-child:has(> .wrap > h1:first-child) h1::before,
.hz-pagehead h1::before { content: ''; display: block; width: 44px; height: 3px; margin-bottom: 22px; background: var(--accent-on-navy); }
.theme-horizon #wsite-content > .block-text:first-child:has(> .wrap > h1:first-child) p,
.hz-pagehead p { color: var(--on-navy-2); font-size: 18px; max-width: 40em; margin: 0; }
.theme-horizon #wsite-content > .block-text:first-child:has(> .wrap > h1:first-child) a { color: #fff; }
.theme-horizon #wsite-content > .block-heading:first-child .wrap { text-align: left; }
.hz-crumbbar:has(+ #wsite-content > .block-text:first-child > .wrap > h1:first-child),
.hz-crumbbar:has(+ #wsite-content > .block-heading:first-child) { background: var(--navy); border-bottom-color: rgba(255, 255, 255, .1); }
.hz-crumbbar:has(+ #wsite-content > .block-text:first-child > .wrap > h1:first-child) .cms-breadcrumbs,
.hz-crumbbar:has(+ #wsite-content > .block-heading:first-child) .cms-breadcrumbs,
.hz-crumbbar:has(+ #wsite-content > .block-text:first-child > .wrap > h1:first-child) .cms-breadcrumbs a,
.hz-crumbbar:has(+ #wsite-content > .block-heading:first-child) .cms-breadcrumbs a { color: var(--on-navy-3); }
.hz-crumbbar:has(+ #wsite-content > .block-text:first-child > .wrap > h1:first-child) [aria-current="page"],
.hz-crumbbar:has(+ #wsite-content > .block-heading:first-child) [aria-current="page"],
.hz-crumbbar:has(+ #wsite-content > .block-text:first-child > .wrap > h1:first-child) .cms-breadcrumbs a:hover,
.hz-crumbbar:has(+ #wsite-content > .block-heading:first-child) .cms-breadcrumbs a:hover { color: #fff; }
.hz-crumbbar:has(+ #wsite-content > .block-text:first-child > .wrap > h1:first-child) .cms-breadcrumbs-sep,
.hz-crumbbar:has(+ #wsite-content > .block-heading:first-child) .cms-breadcrumbs-sep { color: rgba(255, 255, 255, .28); }
.hz-pagehead-k { font: 600 15px/1 var(--latin); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-on-navy) !important; margin: 0 0 18px !important; }
.hz-pagehead-k + h1::before { display: none !important; }
.hz-pagehead-sub { margin-top: 12px !important; font-size: 15px !important; color: var(--on-navy-3) !important; }

/* ---------- 6. 積木 ---------- */
.block { position: relative; }
.block h1, .block h2, .block h3, .block h4 { font-family: var(--sans); color: var(--heading); }
.block h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.35; letter-spacing: .02em; margin: 0 0 20px; }
.block h3 { font-size: 20px; font-weight: 700; line-height: 1.45; margin: 0 0 10px; }
.block h4 { font-size: 16px; font-weight: 500; line-height: 1.5; margin: 0 0 8px; }
.block p { margin: 0 0 16px; }
.block p:last-child { margin-bottom: 0; }

/* hero：滿版形象照 ＋ 左側海軍藍資訊卡貼齊圖底 */
.theme-horizon .block-hero {
  display: flex; align-items: flex-end; min-height: clamp(520px, 72vh, 760px); padding: 0;
  background-color: var(--navy); background-size: cover; background-position: center; background-repeat: no-repeat;
}
.theme-horizon .block-hero::before { content: none; }
.theme-horizon .block-hero:not(.has-bg) {
  min-height: clamp(420px, 56vh, 600px);
  background-image: radial-gradient(70% 120% at 100% 0%, rgba(255, 255, 255, .1), transparent 60%), linear-gradient(180deg, transparent 64%, rgba(255, 255, 255, .05) 64%, rgba(255, 255, 255, .05) calc(64% + 1px), transparent calc(64% + 1px));
}
.theme-horizon .block-hero > .hero-inner {
  position: relative; z-index: 2; width: calc(100% - var(--gut) * 2); max-width: 640px; padding: 52px 56px 56px;
  margin: 0 0 0 max(var(--gut), calc((100% - var(--maxw)) / 2));
  background: var(--navy) linear-gradient(var(--accent-on-navy), var(--accent-on-navy)) top left / 100% 3px no-repeat; color: var(--on-navy-2); border-radius: var(--r) var(--r) 0 0;
}
.theme-horizon .block-hero:not(.has-bg) > .hero-inner { background: transparent; border-top-color: transparent; padding-left: 0; }
.theme-horizon .block-hero.hero-no-text { min-height: 0; }
.theme-horizon .block-hero.hero-no-text > .hero-inner { background: transparent; border: 0; width: 100%; max-width: none; margin: 0; }
.theme-horizon .block-hero h1 { color: #fff; font-size: clamp(32px, 3.6vw, 50px); font-weight: 700; line-height: 1.28; letter-spacing: .02em; margin: 0 0 18px; }
.theme-horizon .block-hero .hero-sub { color: var(--on-navy-2); font-size: 18px; line-height: 1.75; margin: 0 0 32px; max-width: 30em; }
.theme-horizon .block-hero .btn { background: #fff; border-color: #fff; color: var(--navy); }
.theme-horizon .block-hero .btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--navy); }

/* text */
.block-text { padding-block: 72px; }
.block-text .wrap > * { max-width: 42em; }
.block-text[style*="center"] .wrap > * { margin-inline: auto; }
.block-text[style*="right"] .wrap > * { margin-left: auto; }
.block-text .wrap > h2::before { content: ''; display: block; width: 40px; height: 3px; margin-bottom: 20px; background: var(--hz-accent); }
.block-text[style*="center"] .wrap > h2::before { margin-inline: auto; }
.block-text h3 { margin-top: 36px; }
.block-text .wrap > h3:first-child { margin-top: 0; }
.block-text ul, .block-text ol { padding-left: 1.4em; margin: 0 0 16px; }
.block-text li + li { margin-top: 6px; }
.block-text img { border-radius: var(--r); }
.block-text blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--hz-accent); color: var(--heading); font-size: 19px; }
.block-text table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.block-text th, .block-text td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.block-text th { background: var(--soft); color: var(--heading); font-weight: 500; }
.block-text + .block-text { padding-top: 0; }

/* columns：上緣主色線的服務卡；格子裡有連結 → 整張卡可點＋「了解更多 →」
   ⚠️ 上緣那條 3px 主色線一律用背景漸層畫，不要用 border-top：border 在 6px 圓角上會被切成
      斜角、跟圓角打架，而且會把卡片往下推 3px（同一排卡片高度就差了）。 */
.block-columns { background: var(--soft); padding-block: 96px; }
.theme-horizon .columns-grid { display: grid; gap: 24px; }
.columns-grid .col {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 36px 32px 32px; background: #fff; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-1); transition: box-shadow .3s ease, transform .3s var(--ease-out);
}
.columns-grid .col::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--hz-accent); z-index: 1; }
.columns-grid .col h4 { order: -1; margin: 0 0 10px; font: 600 15px/1.4 var(--latin); letter-spacing: .16em; text-transform: uppercase; color: var(--hz-accent); }
.columns-grid .col h3 { font-size: 21px; margin: 0 0 12px; }
.columns-grid .col p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.columns-grid .col img { display: block; width: calc(100% + 64px); max-width: none; margin: -36px -32px 24px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px 3px 0 0; }
.columns-grid .col > p:last-child:has(> a:only-child) { margin-top: auto; padding-top: 20px; }
.columns-grid .col > p:last-child > a:only-child {
  display: inline-flex; align-items: center; gap: 10px; color: var(--hz-accent); font-weight: 500; text-decoration: none; letter-spacing: .04em;
}
.columns-grid .col > p:last-child > a:only-child::after {
  content: ''; width: 16px; height: 12px; background: currentColor; transition: transform .25s var(--ease-out);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.columns-grid .col > p:last-child > a:only-child::before { content: ''; position: absolute; inset: 0; border-radius: var(--r); }
.columns-grid .col:has(> p:last-child > a:only-child):hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.columns-grid .col:has(> p:last-child > a:only-child):hover > p:last-child > a::after { transform: translateX(5px); }

/* counter：整條海軍藍數據帶 */
.theme-horizon .block-counter { background: var(--navy); color: var(--on-navy-2); padding-block: 76px; border-top: 1px solid rgba(255, 255, 255, .14); }
.theme-horizon .counter-grid { display: grid; gap: 32px 0; }
.counter-item { padding: 4px 36px; border-left: 1px solid rgba(255, 255, 255, .16); }
.counter-item:first-child { border-left: 0; padding-left: 0; }
.counter-number { font: 800 clamp(44px, 5vw, 72px)/1 var(--latin); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.counter-label { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 15px; letter-spacing: .06em; color: var(--on-navy-2); }

/* gallery：4 欄時排成「一大、兩小、一橫」的拼版；其他欄數維持等比方格 */
.block-gallery { padding-block: 96px; }
.theme-horizon .gallery-grid { display: grid; gap: 16px; }
.gallery-grid > a { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease-out); }
.gallery-grid > a:hover img { transform: scale(1.04); }
.gallery-grid[style*="repeat(4"] { grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; }
.gallery-grid[style*="repeat(4"] img { height: 100%; aspect-ratio: auto; }
.gallery-grid[style*="repeat(4"] > a:nth-child(4n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid[style*="repeat(4"] > a:nth-child(4n) { grid-column: span 2; }

/* image / image_grid / video */
.block-image { padding-block: 56px; }
.block-image img { display: block; margin: 0 auto; border-radius: var(--r); }
.img-caption { margin-top: 12px; font-size: 15px; color: var(--muted); text-align: center; }
.block-image-grid { padding-block: 72px; }
.theme-horizon .image-grid-item img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.theme-horizon .image-grid-item a { color: var(--heading); text-decoration: none; }
.theme-horizon .image-grid-label { font-size: 16px !important; font-weight: 500; margin-top: 12px !important; }
.theme-horizon .image-grid-item a:hover .image-grid-label { color: var(--hz-accent); }
.block-video { padding-block: 64px; }
.theme-horizon .video-embed { border-radius: var(--r) !important; }

/* faq：年報式一列一題，上緣海軍藍粗線 */
.block-faq { padding-block: 88px; }
.block-faq .wrap { max-width: calc(920px + var(--gut) * 2); }
.block-faq .wrap > .faq-item:first-child { border-top: 2px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative; display: block; padding: 24px 64px 24px 0; cursor: pointer; list-style: none;
  color: var(--heading); font-size: 18px; font-weight: 500; line-height: 1.6; transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; position: absolute; right: 4px; top: 50%; width: 36px; height: 36px; margin-top: -18px;
  border: 1px solid var(--line-2); border-radius: 50%; color: var(--hz-accent);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.faq-item summary:hover { color: var(--hz-accent); }
.faq-item[open] summary { color: var(--hz-accent); }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--hz-accent); border-color: var(--hz-accent); color: #fff; }
.faq-answer { padding: 0 64px 28px 0; color: var(--ink); max-width: 44em; }
.faq-answer > *:last-child { margin-bottom: 0; }

/* map：滿版地圖 */
.block-map { padding: 0; background: var(--soft); }
.block-map .wrap { max-width: none; padding: 0; }
.block-map iframe { display: block; width: 100%; background: var(--soft); filter: saturate(.85); }

/* social / file / spacer / marquee */
.block-social { padding-block: 40px; }
.theme-horizon .block-social-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.theme-horizon .block-social-icons a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--heading); text-decoration: none; }
.theme-horizon .block-social-icons .social-badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r); background: var(--navy); color: #fff; transition: transform .25s var(--ease-out); }
.theme-horizon .block-social-icons .social-badge svg { width: 20px; height: 20px; }
.theme-horizon .block-social-icons a:hover .social-badge { transform: translateY(-3px); }
.theme-horizon .block-social-icons .social-label { font-size: 15px; font-weight: 500; }
.block-file { padding-block: 32px; }
.block-file .wrap { text-align: left; }
.file-download { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--heading) !important; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s; }
.file-download svg { color: var(--hz-accent); }
.file-download:hover { border-color: var(--hz-accent); color: var(--hz-accent) !important; }
.block-spacer { display: flex; align-items: center; padding: 0; }
.block-spacer .spacer-line { width: 100%; max-width: var(--maxw); height: 1px; margin: 0 auto; background: var(--line); }
.theme-horizon .block-marquee { font-size: 15px; color: var(--heading); }

/* post_list：新聞卡 */
.block-post-list { padding-block: 72px; }
.theme-horizon .post-list { display: grid; gap: 24px; }
.theme-horizon .post-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease-out); }
.theme-horizon .post-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--hz-accent); z-index: 2; }
.theme-horizon .post-card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.theme-horizon .post-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.theme-horizon .post-card h2 { order: 2; margin: 0; padding: 4px 22px 0; font-size: 18px; line-height: 1.5; font-weight: 700; }
.theme-horizon .post-card h2 a { color: var(--heading); text-decoration: none; }
.theme-horizon .post-card h2 a::after { content: ''; position: absolute; inset: 0; }
.theme-horizon .post-card:hover h2 a { color: var(--hz-accent); }
.theme-horizon .post-card .post-date { order: 1; margin: 0; padding: 20px 22px 0; font: 500 15px/1.4 var(--latin); font-variant-numeric: tabular-nums; color: var(--muted); }
.theme-horizon .post-card > p:not(.post-date) { order: 3; margin: 0; padding: 10px 22px 22px; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-horizon .post-card > a { order: 0; }
.theme-horizon .post-list-list .post-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.theme-horizon .post-list-list .post-card:hover { box-shadow: none; transform: none; }

/* 商品卡（商品清單／精選／分類頁） */
.block-product-list, .block-featured-products { padding-block: 72px; }
.theme-horizon .product-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.theme-horizon .product-card { --product-pad: 20px; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.theme-horizon .product-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.theme-horizon .product-card .product-thumb { overflow: hidden; background: var(--soft); }
.theme-horizon .product-card .product-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--ease-out); }
.theme-horizon .product-card:hover .product-thumb img { transform: scale(1.03); }
.theme-horizon .product-card h3 { margin: 0; padding: 18px var(--product-pad) 6px; font-size: 16.5px; font-weight: 500; line-height: 1.5; color: var(--heading); }
.theme-horizon .product-card .product-price { margin: 0; padding: 0 var(--product-pad) 12px; font: 600 20px/1.3 var(--latin); font-variant-numeric: tabular-nums; color: var(--heading); }
.theme-horizon .product-card .product-desc { margin: 0; padding: 0 var(--product-pad) 16px; font-size: 15px; line-height: 1.7; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.theme-horizon .product-card .product-desc p { margin: 0; }
.theme-horizon .product-card .product-add { margin-top: auto; gap: 8px; }
.theme-horizon .product-card .product-add input[type=number], .theme-horizon .product-card .product-add select { min-height: 44px; border-color: var(--line-2); border-radius: var(--r); background: #fff; }
.theme-horizon .product-card .product-add button { min-height: 44px; border: 1px solid var(--hz-accent); border-radius: var(--r); background: var(--hz-accent); color: #fff; font-weight: 500; letter-spacing: .04em; }
.theme-horizon .product-card .product-add button:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.theme-horizon .product-card .product-soldout { border-radius: 3px; background: var(--navy); }

/* ---------- 7. 消息列表（新聞稿式）＋ 文章 ---------- */
.theme-horizon .wsite-section-content { padding-block: 56px 88px; }
.theme-horizon .blog-post { display: grid; grid-template-columns: 150px minmax(0, 1fr) 40px; grid-template-areas: "date title arrow" "date body arrow"; column-gap: 32px; position: relative; padding: 28px 0; border-bottom: 1px solid var(--line); }
.theme-horizon .blog-post:first-child { border-top: 2px solid var(--navy); }
.theme-horizon .blog-header { display: contents; }
.theme-horizon .blog-title { grid-area: title; margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.5; }
.theme-horizon .blog-title a { color: var(--heading); text-decoration: none; }
.theme-horizon .blog-title a::after { content: ''; position: absolute; inset: 0; }
.theme-horizon .blog-post:hover .blog-title a { color: var(--hz-accent); }
.theme-horizon .blog-date { grid-area: date; margin: 0; padding-top: 3px; font: 500 15px/1.5 var(--latin); font-variant-numeric: tabular-nums; color: var(--muted); }
.theme-horizon .blog-content { grid-area: body; color: var(--muted); font-size: 16px; }
.theme-horizon .blog-content p { margin: 0; }
.theme-horizon .blog-separator, .theme-horizon .blog-post-separator { display: none; }
.theme-horizon .blog-post::after { content: ''; grid-area: arrow; align-self: center; justify-self: end; width: 18px; height: 14px; background: var(--hz-accent); transition: transform .25s var(--ease-out);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-horizon .blog-post:hover::after { transform: translateX(5px); }

.hz-listwrap { padding-block: 56px 96px; }
.hz-press { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.hz-press-item { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 40px; gap: 32px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.hz-press-date { padding-top: 3px; font-size: 15px; font-weight: 500; color: var(--muted); }
.hz-press-body h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.5; }
.hz-press-body h2 a { color: var(--heading); text-decoration: none; }
.hz-press-body h2 a::after { content: ''; position: absolute; inset: 0; }
.hz-press-body p { margin: 0; color: var(--muted); font-size: 16px; }
.hz-press-arrow { align-self: center; justify-self: end; color: var(--hz-accent); transition: transform .25s var(--ease-out); }
.hz-press-item:hover h2 a { color: var(--hz-accent); }
.hz-press-item:hover .hz-press-arrow { transform: translateX(5px); }
.hz-empty { padding: 64px 32px; text-align: center; background: var(--soft); border-radius: var(--r); }
.hz-empty p { margin: 0 0 8px; color: var(--muted); }
.hz-empty .hz-empty-t { font-size: 20px; font-weight: 700; color: var(--heading); }
.hz-empty .btn { margin-top: 20px; }
.theme-horizon .pager { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.theme-horizon .pager a, .theme-horizon .pager .cur { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); font-family: var(--latin); color: var(--heading); text-decoration: none; }
.theme-horizon .pager a:hover { border-color: var(--hz-accent); color: var(--hz-accent); }
.theme-horizon .pager .cur { background: var(--navy); border-color: var(--navy); color: #fff; }

.hz-article-head { background: var(--soft); border-bottom: 1px solid var(--line); padding-block: 56px 48px; }
.hz-article-head-in { max-width: calc(820px + var(--gut) * 2); }
.hz-article-date { display: inline-block; margin-bottom: 14px; padding-bottom: 12px; background: linear-gradient(var(--hz-accent), var(--hz-accent)) bottom left / 100% 3px no-repeat; font-size: 15px; font-weight: 600; color: var(--heading); }
.hz-article-head h1 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.35; font-weight: 700; letter-spacing: .02em; }
.hz-article-wrap { max-width: calc(820px + var(--gut) * 2); padding-block: 48px 88px; }
.hz-article-cover { display: block; width: 100%; margin: 0 0 40px; border-radius: var(--r); }
.theme-horizon .article-body { font-size: 17.5px; line-height: 1.9; }
.theme-horizon .article-body .block .wrap { padding-inline: 0; }
.theme-horizon .article-body .block-text { padding-block: 0 24px; }
.theme-horizon .article-body .block-text .wrap > h2::before { display: none; }
.hz-article-back { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hz-article-back a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--hz-accent); font-weight: 500; text-decoration: none; }
.hz-article-back a:hover svg { transform: translateX(-4px); }
.hz-article-back svg { transition: transform .25s var(--ease-out); }

/* ---------- 8. 內建單元（商店／會員／搜尋／FAQ／相簿／下載）：吃進這套的字、色、圓角、按鈕 ---------- */
.theme-horizon .block-product-category, .theme-horizon .block-product-view,
.theme-horizon .block-cart, .theme-horizon .block-checkout, .theme-horizon .block-order-done,
.theme-horizon .block-member-auth, .theme-horizon .block-member-center, .theme-horizon .block-member-gate,
.theme-horizon .block-search { padding-block: 48px 88px; }
.theme-horizon .cms-unit { padding-top: 48px; padding-bottom: 88px; }

/* 分類側欄 */
.theme-horizon .csb { font-size: 15px; }
.theme-horizon .csb-head { opacity: 1; color: var(--heading); font-size: 15px; letter-spacing: .1em; padding: 0 12px 14px; margin-bottom: 8px; border-bottom: 2px solid var(--navy); }
.theme-horizon .csb-link { border-radius: var(--r); min-height: 44px; color: var(--ink); }
.theme-horizon .csb-link:hover { background: var(--soft); color: var(--hz-accent); }
.theme-horizon .csb-item.is-cur > .csb-row > .csb-link { background: var(--accent-soft); color: var(--hz-accent); font-weight: 500; }
.theme-horizon .csb-n { opacity: 1; color: var(--muted); font-family: var(--latin); }
.theme-horizon .csb-bar { border-color: var(--line-2); border-radius: var(--r); background: #fff; }
.theme-horizon .cat-toolbar select, .theme-horizon .cat-toolbar input { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); font: inherit; font-size: 15px; }
.theme-horizon .block-product-category h1, .theme-horizon .block-product-category h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.35; }

/* 商品頁 */
.theme-horizon .pd-wrap { max-width: calc(1120px + var(--gut) * 2); }
.theme-horizon .pd-top { gap: 56px; }
.theme-horizon .pd-main-img { border-radius: var(--r); background: var(--soft); }
.theme-horizon .pd-thumbs button { border-radius: var(--r); }
.theme-horizon .pd-thumbs button[aria-current="true"] { border-color: var(--hz-accent); }
.theme-horizon .pd-info h1 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.35; font-weight: 700; color: var(--heading); margin-bottom: 16px; }
.theme-horizon .pd-price { font: 600 30px/1.3 var(--latin); font-variant-numeric: tabular-nums; color: var(--heading); padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.theme-horizon .pd-form select, .theme-horizon .pd-form input[type=number] { min-height: 52px; border-color: var(--line-2); border-radius: var(--r); background: #fff; }
.theme-horizon .pd-form button { min-height: 52px; border: 1px solid var(--hz-accent); border-radius: var(--r); background: var(--hz-accent); color: #fff; font-weight: 500; letter-spacing: .06em; }
.theme-horizon .pd-form button:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.theme-horizon .pd-desc { padding-top: 32px; border-top: 1px solid var(--line); color: var(--ink); }
.theme-horizon .pd-box, .theme-horizon .pd-memberonly { border-color: var(--line); border-radius: var(--r); }
.theme-horizon .pd-row button, .theme-horizon .pd-memberonly-btn { border-radius: var(--r); }
.theme-horizon .pd-related h2 { font-size: 22px; }

/* 購物車／結帳／訂單 */
.theme-horizon .shop-wrap { max-width: calc(1000px + var(--gut) * 2); }
.theme-horizon .shop-wrap h1 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.35; font-weight: 700; color: var(--heading); margin: 0 0 28px; }
.theme-horizon .shop-table th { background: var(--soft); color: var(--muted); opacity: 1; font-size: 15px; font-weight: 500; padding: 12px 14px; border-bottom: 0; }
.theme-horizon .shop-table td { padding: 16px 14px; border-bottom-color: var(--line); }
.theme-horizon .shop-table td.num { font-family: var(--latin); font-variant-numeric: tabular-nums; }
.theme-horizon .shop-thumb { border-radius: var(--r); }
.theme-horizon .shop-name { font-weight: 500; color: var(--heading); }
.theme-horizon .shop-qty, .theme-horizon .shop-field input:not([type=checkbox]):not([type=radio]), .theme-horizon .shop-field select, .theme-horizon .shop-field textarea {
  min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--ink); font-size: 16px; font-family: inherit;
}
.theme-horizon .shop-field textarea { min-height: 110px; }
.theme-horizon .shop-field input:focus, .theme-horizon .shop-field select:focus, .theme-horizon .shop-field textarea:focus, .theme-horizon .shop-qty:focus { outline: none; border-color: var(--hz-accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.theme-horizon .shop-field label { font-size: 15px; font-weight: 500; color: var(--heading); margin-bottom: 7px; }
.theme-horizon .shop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; margin-bottom: 20px; }
.theme-horizon .shop-card h2 { font-size: 18px; font-weight: 700; color: var(--heading); margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.theme-horizon .shop-total { max-width: 380px; }
.theme-horizon .shop-total div { font-variant-numeric: tabular-nums; }
.theme-horizon .shop-total .grand { font: 700 22px/1.3 var(--latin); color: var(--heading); border-top: 2px solid var(--navy); }
.theme-horizon .shop-btn, .theme-horizon .shop-btn-plain {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; color: var(--heading); font-size: 15px; font-weight: 500; letter-spacing: .03em; text-decoration: none;
  transition: border-color .2s, color .2s, background-color .2s;
}
.theme-horizon .shop-btn:hover, .theme-horizon .shop-btn-plain:hover { border-color: var(--hz-accent); color: var(--hz-accent); background: #fff; }
.theme-horizon .shop-btn-primary, .theme-horizon .shop-btn-primary:hover { background: var(--hz-accent); border-color: var(--hz-accent); color: #fff; }
.theme-horizon .shop-btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.theme-horizon .shop-btn-primary span { color: #fff; }
.theme-horizon .shop-btn-block { display: flex; width: 100%; min-height: 50px; }
.theme-horizon .shop-msg { border-radius: var(--r); }
.theme-horizon .shop-msg.ok { background: #e6f4ec; color: #17603a; }
.theme-horizon .shop-msg.err { background: #fbeaea; color: #9b2621; }
.theme-horizon .shop-note, .theme-horizon .shop-variant { opacity: 1; color: var(--muted); }
.theme-horizon .shop-empty { opacity: 1; color: var(--muted); padding: 72px 24px; background: var(--soft); border-radius: var(--r); }
.theme-horizon .shop-radio { min-height: 40px; }
.theme-horizon .shop-radio input { accent-color: var(--hz-accent); width: 18px; height: 18px; }
.theme-horizon .shop-kv b { opacity: 1; color: var(--muted); font-weight: 500; }
.theme-horizon .cvs-picked { border-color: var(--line); border-radius: var(--r); }

/* 會員登入／註冊 */
.theme-horizon .block-member-auth .shop-wrap { max-width: calc(480px + var(--gut) * 2) !important; }
.theme-horizon .block-member-auth .shop-wrap h1 { text-align: center; }
.theme-horizon .block-member-auth .shop-card { padding: 36px 32px; background: #fff linear-gradient(var(--hz-accent), var(--hz-accent)) top left / 100% 3px no-repeat; box-shadow: var(--shadow-1); }
.theme-horizon .shop-auth-alt { opacity: 1; color: var(--muted); }
.theme-horizon .shop-auth-alt a { color: var(--hz-accent); }
.theme-horizon .msoc-btn { border-radius: var(--r); min-height: 48px; }

/* 會員中心 */
.theme-horizon .block-member-center .mc-avatar { background: var(--navy); border-radius: var(--r); }
.theme-horizon .block-member-center .mc-who .mc-name { color: var(--heading); font-weight: 700; }
.theme-horizon .block-member-center .mc-points-n { font-family: var(--latin); color: var(--heading); }
.theme-horizon .block-member-center .mc-head { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.theme-horizon .block-member-center .mc-nav a, .theme-horizon .block-member-center .mc-nav button { border-radius: var(--r); opacity: 1; color: var(--ink); min-height: 44px; }
.theme-horizon .block-member-center .mc-nav a:hover, .theme-horizon .block-member-center .mc-nav button:hover { background: var(--soft); color: var(--hz-accent); }
.theme-horizon .block-member-center .mc-nav a.is-on { background: var(--accent-soft); color: var(--hz-accent); font-weight: 500; }
.theme-horizon .block-member-center .mc-tile { background: #fff linear-gradient(var(--hz-accent), var(--hz-accent)) top left / 100% 3px no-repeat; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px 18px; }
.theme-horizon .block-member-center .mc-tile .mc-ico { background: var(--accent-soft); color: var(--hz-accent); border-radius: var(--r); }
.theme-horizon .block-member-center .mc-tile .mc-t { opacity: 1; color: var(--muted); }
.theme-horizon .block-member-center .mc-tile .mc-n { font-family: var(--latin); color: var(--heading); }
.theme-horizon .block-member-center .mc-tile .mc-s { opacity: 1; color: var(--muted); }
.theme-horizon .block-member-center .mc-tile .shop-btn { min-height: 36px; padding: 0 12px; }
.theme-horizon .block-member-center .mc-status { border-radius: 3px; }
@media (max-width: 760px) {
  .theme-horizon .block-member-center .mc-nav a, .theme-horizon .block-member-center .mc-nav button { border-color: var(--line); }
  .theme-horizon .block-member-center .mc-points { background: var(--soft); border-radius: var(--r); }
}

/* 搜尋結果 */
.theme-horizon .block-search .wrap { max-width: calc(960px + var(--gut) * 2); }
.theme-horizon .cms-search-form input[type=search] { min-height: 52px; border-color: var(--line-2); border-radius: var(--r); font-size: 16px; color: var(--ink); }
.theme-horizon .cms-search-form input[type=search]:focus { border-color: var(--hz-accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.theme-horizon .cms-search-form button { min-height: 52px; border-radius: var(--r); background: var(--hz-accent); }
.theme-horizon .cms-search-form button:hover { filter: none; background: var(--accent-ink); }
.theme-horizon .cms-search-count, .theme-horizon .cms-search-hint { color: var(--muted); }
.theme-horizon .cms-search-h { font-size: 18px; color: var(--heading); padding-bottom: 12px; border-bottom: 2px solid var(--navy); }
.theme-horizon .cms-search-h span { font-family: var(--latin); color: var(--muted); background: var(--soft); border-radius: 3px; }
.theme-horizon .cms-search-list li { padding: 16px 0; border-bottom-color: var(--line); }
.theme-horizon .cms-search-list li a { color: var(--heading); font-weight: 500; }
.theme-horizon .cms-search-list li a:hover { color: var(--hz-accent); }
.theme-horizon .cms-search-list li p { color: var(--muted); font-size: 15px; }
.theme-horizon .cms-sp-card { border-color: var(--line); border-radius: var(--r); }
.theme-horizon .cms-sp-card:hover { box-shadow: var(--shadow-1); }
.theme-horizon .cms-sp-img { background: var(--soft); }
.theme-horizon .cms-sp-name { color: var(--heading); font-weight: 500; }
.theme-horizon .cms-sp-price { font-family: var(--latin); color: var(--heading); font-weight: 600; }

/* FAQ 單元 */
.theme-horizon .cms-fq-group > h3 { color: var(--heading); opacity: 1; border-bottom: 2px solid var(--navy); padding-bottom: 12px; }
.theme-horizon .cms-fq-item { border-bottom: 1px solid var(--line); }
.theme-horizon .cms-fq-item > summary { color: var(--heading); font-weight: 500; font-size: 17px; padding: 20px 48px 20px 0; }
.theme-horizon .cms-fq-item > summary:hover, .theme-horizon .cms-fq-item[open] > summary { color: var(--hz-accent); }
.theme-horizon .cms-fq-item > summary::after {
  opacity: 1; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; transform: none;
  border: 1px solid var(--line-2); border-radius: 50%; color: var(--hz-accent);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.theme-horizon .cms-fq-item[open] > summary::after { transform: rotate(45deg); margin-top: -17px; background-color: var(--hz-accent); border-color: var(--hz-accent); color: #fff; }
.theme-horizon .cms-fq-answer { opacity: 1; color: var(--ink); font-size: 16px; padding-right: 48px; }
.theme-horizon .cms-unit-tabs a, .theme-horizon .cms-ab-tabs a { border-radius: var(--r); }

/* 相簿 */
.theme-horizon .cms-ab-tabs a { min-height: 40px; padding: 8px 18px; border: 1px solid var(--line-2); color: var(--ink); opacity: 1; }
.theme-horizon .cms-ab-tabs a:hover { border-color: var(--hz-accent); color: var(--hz-accent); }
.theme-horizon .cms-ab-tabs a.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 500; }
.theme-horizon .cms-ab-thumb, .theme-horizon .cms-av-item { border-radius: var(--r); background: var(--soft); }
.theme-horizon .cms-ab-count { border-radius: 3px; background: var(--navy); font-family: var(--latin); }
.theme-horizon .cms-ab-title { color: var(--heading); font-size: 17px; font-weight: 700; }
.theme-horizon .cms-ab-card:hover .cms-ab-title { color: var(--hz-accent); }
.theme-horizon .cms-ab-meta, .theme-horizon .cms-ab-desc, .theme-horizon .cms-av-meta, .theme-horizon .cms-av-desc { opacity: 1; color: var(--muted); }
.theme-horizon .cms-av-title { color: var(--heading); font-size: clamp(26px, 2.8vw, 34px); }
.theme-horizon .cms-av-back { opacity: 1; color: var(--hz-accent); min-height: 44px; }

/* 下載 */
.theme-horizon .cms-dl-item { border-color: var(--line); }
.theme-horizon .cms-dl-item:first-of-type { border-top: 2px solid var(--navy); }
.theme-horizon .cms-dl-ico { opacity: 1; color: var(--hz-accent); }
.theme-horizon .cms-dl-title { color: var(--heading); font-weight: 500; }
.theme-horizon .cms-dl-desc, .theme-horizon .cms-dl-meta { opacity: 1; color: var(--muted); }
.theme-horizon .cms-dl-btn { min-height: 44px; border-color: var(--hz-accent); border-radius: var(--r); color: var(--hz-accent); font-weight: 500; }
.theme-horizon .cms-dl-btn:hover { opacity: 1; background: var(--hz-accent); color: #fff; }

/* ---------- 9. 頁尾：海軍藍四欄 ---------- */
.hz-footer { background: var(--navy); color: var(--on-navy-2); font-size: 15.5px; line-height: 1.75; }
.hz-foot-cta { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hz-foot-cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-block: 60px; }
.hz-foot-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; font-weight: 700; letter-spacing: .02em; }
.hz-foot-cta p { margin: 0; color: var(--on-navy-2); }
.hz-foot-cta-act { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.hz-foot-tel { display: flex; flex-direction: column; color: #fff !important; text-decoration: none; line-height: 1.2; }
.hz-foot-tel-k { font-size: 15px; letter-spacing: .12em; color: var(--on-navy-3); margin-bottom: 6px; }
.hz-foot-tel .hz-num { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; }
.hz-foot-tel:hover .hz-num { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hz-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 40px 48px; padding-block: 64px 56px; }
.hz-foot-name { margin: 0 0 12px; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.4; }
.hz-foot-desc { margin: 0; color: var(--on-navy-2); max-width: 26em; }
.theme-horizon .hz-foot-h { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .12em; }
.hz-foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hz-foot-links a, .hz-foot-dl a { color: var(--on-navy-2); text-decoration: none; transition: color .15s; }
.hz-foot-links a { display: inline-flex; align-items: center; min-height: 36px; }
.hz-foot-links a:hover, .hz-foot-dl a:hover { color: #fff; text-decoration: underline; }
.hz-foot-dl { margin: 0; display: grid; gap: 10px; }
.hz-foot-dl div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
.hz-foot-dl dt { color: var(--on-navy-3); font-size: 15px; padding-top: 1px; }
.hz-foot-dl dd { margin: 0; overflow-wrap: anywhere; }
.hz-foot-hours { margin: 0; }
.theme-horizon .cms-footer-extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px max(var(--gut), calc((100% - var(--maxw)) / 2)); background: var(--navy-deep); color: var(--on-navy-3); font-size: 15px; text-align: left; }
.theme-horizon .cms-footer-copyright { order: 1; color: var(--on-navy-3); font-family: var(--sans); }
.theme-horizon .cms-footer-copyright a { color: var(--on-navy-2); text-decoration: none; }
.theme-horizon .cms-footer-copyright a:hover { color: #fff; text-decoration: underline; }
.theme-horizon .cms-footer-social { order: 2; display: flex; gap: 8px; margin: 0; }
.theme-horizon .cms-footer-social a { display: inline-flex; }
.theme-horizon .cms-footer-social-badge { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r); }
.theme-horizon .cms-footer-address { order: 0; flex: 1 1 100%; color: var(--on-navy-2); }
.theme-horizon .cms-footer-qr { order: 0; }
.theme-horizon .cms-footer-menu { order: 0; flex: 1 1 100%; justify-content: flex-start; padding: 0; border: 0; }
.theme-horizon .cms-footer-menu a { color: var(--on-navy-2); }

/* ---------- 10. 404 ---------- */
.hz-404 { background: var(--soft); }
.hz-404-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: stretch; padding-block: 80px 96px; }
.hz-404-card { padding: 56px; background: var(--navy) linear-gradient(var(--accent-on-navy), var(--accent-on-navy)) top left / 100% 3px no-repeat; color: var(--on-navy-2); border-radius: var(--r); }
.hz-404-code { margin: 0 0 8px; font-size: clamp(72px, 9vw, 120px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--accent-on-navy); }
.theme-horizon .hz-404-card h1 { margin: 0 0 14px; color: #fff; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.35; }
.hz-404-card p { margin: 0; max-width: 30em; }
.hz-404-act { margin-top: 32px; }
.hz-404-links { align-self: center; }
.theme-horizon .hz-404-links h2 { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); font-size: 16px; letter-spacing: .12em; }
.hz-404-links ul { list-style: none; margin: 0; padding: 0; }
.hz-404-links a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--heading); text-decoration: none; font-weight: 500; }
.hz-404-links a svg { color: var(--hz-accent); transition: transform .25s var(--ease-out); }
.hz-404-links a:hover { color: var(--hz-accent); }
.hz-404-links a:hover svg { transform: translateX(5px); }

/* ---------- 11. 動態：一個主場景（hero 資訊卡升起）＋ 數字跑動（theme.js） ---------- */
@media (prefers-reduced-motion: no-preference) {
  .theme-horizon:not(.is-canvas) .block-hero.has-bg:not(.hero-no-text) > .hero-inner { animation: hz-card-rise 1s var(--ease-out) both; }
  .theme-horizon:not(.is-canvas) .block-hero.has-bg:not(.hero-no-text) > .hero-inner > * { animation: hz-fade-up .9s var(--ease-out) both; }
  .theme-horizon:not(.is-canvas) .block-hero > .hero-inner > h1 { animation-delay: .25s; }
  .theme-horizon:not(.is-canvas) .block-hero > .hero-inner > .hero-sub { animation-delay: .38s; }
  .theme-horizon:not(.is-canvas) .block-hero > .hero-inner > .btn { animation-delay: .5s; }
}
@keyframes hz-card-rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hz-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .theme-horizon *, .theme-horizon *::before, .theme-horizon *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* 畫布編輯模式：sticky 主列變一般靜態、動畫全關，不擋編輯器 */
.is-canvas .hz-bar { position: relative; }
.is-canvas .hz-bar.is-stuck { box-shadow: none; }
.is-canvas .block-hero > .hero-inner, .is-canvas .block-hero > .hero-inner > * { animation: none !important; }

/* ---------- 12. 響應式 ---------- */
@media (max-width: 1080px) {
  .hz-foot-grid { grid-template-columns: 1fr 1fr; }
  .hz-404-in { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .theme-horizon .columns-grid[style*="repeat(3"], .theme-horizon .columns-grid[style*="repeat(4"],
  .theme-horizon .columns-grid[style*="repeat(5"], .theme-horizon .columns-grid[style*="repeat(6"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .theme-horizon .gallery-grid[style*="repeat(3"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
  body.theme-horizon { font-size: 16.5px; }
  .block-text, .block-image-grid, .block-post-list, .block-product-list, .block-featured-products, .block-form { padding-block: 56px; }
  .block-columns, .block-gallery { padding-block: 64px; }
  .block-faq { padding-block: 56px; }
  .theme-horizon .block-counter { padding-block: 48px; }

  .theme-horizon .block-hero.has-bg:not(.hero-no-text) { display: block; min-height: 0; padding-top: 62vw; background-size: auto 62vw; background-position: center top; }
  .theme-horizon .block-hero > .hero-inner { width: 100%; max-width: none; margin: 0; padding: 36px var(--gut) 44px; border-radius: 0; }
  .theme-horizon .block-hero:not(.has-bg) > .hero-inner { padding-left: var(--gut); }
  .theme-horizon .block-hero:not(.has-bg) { min-height: 0; padding-top: 48px; }
  .theme-horizon .block-hero h1 { font-size: clamp(28px, 7.6vw, 36px); }
  .theme-horizon .block-hero .hero-sub { font-size: 16.5px; margin-bottom: 26px; }
  .theme-horizon .block-hero .btn { width: 100%; }

  .theme-horizon .block-columns > .columns-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .columns-grid .col { padding: 28px 24px 26px; }
  .columns-grid .col img { width: calc(100% + 48px); margin: -28px -24px 20px; }

  .theme-horizon .block-counter > .counter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0; }
  .counter-item, .counter-item:first-child { padding: 20px 0; border-left: 0; }
  .counter-item:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .16); }
  .counter-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .counter-number { font-size: clamp(34px, 10vw, 44px); }
  .counter-label { margin-top: 10px; padding-top: 0; border-top: 0; font-size: 15px; }

  .theme-horizon .block-gallery > .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .gallery-grid[style*="repeat(4"] { grid-auto-rows: 38vw; }
  .gallery-grid[style*="repeat(4"] > a:nth-child(4n+1) { grid-row: span 1; }

  .faq-item summary { padding: 20px 52px 20px 0; font-size: 17px; }
  .faq-item summary::after { width: 32px; height: 32px; margin-top: -16px; right: 0; }
  .faq-answer { padding-right: 0; }

  .theme-horizon #wsite-content > .block-text:first-child:has(> .wrap > h1:first-child),
  .theme-horizon #wsite-content > .block-heading:first-child, .hz-pagehead { padding-block: 40px 48px; }
  .theme-horizon #wsite-content > .block-text:first-child:has(> .wrap > h1:first-child) p, .hz-pagehead p { font-size: 16.5px; }

  .theme-horizon .blog-post, .hz-press-item { grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "date arrow" "title arrow" "body arrow"; column-gap: 16px; padding: 22px 0; }
  .hz-press-item { gap: 4px 16px; }
  .hz-press-date { grid-column: 1; }
  .hz-press-body { grid-column: 1; }
  .hz-press-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .theme-horizon .blog-title, .hz-press-body h2 { font-size: 18px; }
  .theme-horizon .blog-date { font-size: 15px; }

  .hz-article-head { padding-block: 36px 32px; }
  .hz-article-wrap { padding-block: 32px 64px; }

  /* 購物車表格在手機上攤成卡片：不這樣做，商品名會被擠成一個字一行（實測 390px） */
  .theme-horizon .block-cart .shop-table thead { display: none; }
  .theme-horizon .block-cart .shop-table, .theme-horizon .block-cart .shop-table tbody { display: block; }
  .theme-horizon .block-cart .shop-table tr { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 10px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .theme-horizon .block-cart .shop-table td { display: block; padding: 0; border: 0; }
  .theme-horizon .block-cart .shop-table td.hide-sm { display: none; }
  .theme-horizon .block-cart .shop-table td:nth-child(1) { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .theme-horizon .block-cart .shop-table td:nth-child(2) { grid-column: 2 / span 2; grid-row: 1; }
  .theme-horizon .block-cart .shop-table td:nth-child(4) { grid-column: 2; grid-row: 2; text-align: left; }
  .theme-horizon .block-cart .shop-table td:nth-child(5) { grid-column: 3; grid-row: 2; text-align: right; font-weight: 600; color: var(--heading); }
  .theme-horizon .block-cart .shop-table td:nth-child(6) { grid-column: 2 / span 2; grid-row: 3; text-align: right; }
  .theme-horizon .shop-card { padding: 20px; }
  .theme-horizon .block-member-auth .shop-card { padding: 28px 20px; }
  .theme-horizon .pd-top { gap: 28px; }

  .hz-foot-cta-in { padding-block: 44px; }
  .hz-foot-cta-act { width: 100%; }
  .hz-foot-cta-act .btn { width: 100%; }
  .hz-foot-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 40px; }
  .theme-horizon .cms-footer-extra { flex-direction: column; align-items: flex-start; }
  .theme-horizon .cms-footer-copyright { order: 3; }

  .hz-404-in { padding-block: 40px 64px; gap: 32px; }
  .hz-404-card { padding: 36px 24px; }
}

/* 列表積木自己的標題列（_list_title，例如標籤集合頁）排在頁面第一個時，一樣落在海軍藍標題帶上：字要轉白（2026-09-17） */
.theme-horizon #wsite-content > .cms-list-head:first-child h1,
.theme-horizon #wsite-content > .cms-list-head:first-child h2 { color: #fff; }
.theme-horizon #wsite-content > .cms-list-head:first-child p { color: var(--on-navy-2); }

/* 表單電話欄的國碼選單（2026-10-10，老大：可選國家、預設台灣）：跟同一列的 input 併排，外觀吃上面 .form-field 那套 */
.form-field .form-tel{display:flex; gap:8px; align-items:stretch;}
.form-field .form-tel .form-cc{flex:0 0 auto; width:auto; min-width:9.5em;}
.form-field .form-tel input{flex:1 1 auto; min-width:0;}

/* 文章導言（正文前的摘要句；2026-10-19 GEO 體檢 G8）。只在摘要不是正文開頭時才會出現（Seo::postLead），字級 rem、間距 px、行長 em（CSS 單位規範） */
.hz-article-wrap > .lead { margin: 0 0 28px; max-width: 30em; font-size: 1.1875rem; line-height: 1.7; letter-spacing: 0; color: var(--muted); }
