/* JA Showroom — Quiet Showroom (Charcoal x Brass) */

:root {
  --jashow-paper: #F6F5F2;
  --jashow-char: #232220;
  --jashow-ink: #1A1917;
  --jashow-stone: #716C63;
  --jashow-line: #E4E1DB;
  --jashow-brass: #A98147;
  --jashow-brass-ink: #80622F;
  --jashow-line-green: #06C755;
}

body.woocommerce {
  background-color: var(--jashow-paper);
  color: var(--jashow-ink);
}

body.woocommerce .product_title,
body.woocommerce .woocommerce-loop-product__title,
body.woocommerce h2.woocommerce-loop-product__title {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
}

/* 展間標籤 / 編號 */
.jashow-eyebrow,
.jashow-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jashow-stone);
  margin: 0 0 0.5em;
}
.jashow-eyebrow-dot {
  margin: 0 0.5em;
  color: var(--jashow-line);
}

/* 客製服務說明文案 */
.jashow-custom-note {
  font-family: 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.92rem;
  color: var(--jashow-stone);
  line-height: 1.7;
  max-width: 38em;
  border-top: 1px solid var(--jashow-line);
  padding-top: 1em;
  margin-top: 1.2em;
}

/* 分類頁頂部編輯短語 */
.jashow-archive-intro {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: 1.05rem;
  color: var(--jashow-ink);
  max-width: 40em;
  margin: 0 0 1.5em;
  padding-bottom: 1.2em;
  border-bottom: 1px solid var(--jashow-line);
}

/* dossier 式:CATALOG eyebrow 自成一行(在上),中文計數在下。
   不可把 uppercase/letter-spacing 套在中文句子上;eyebrow 與內文分行避免重疊。 */
body.woocommerce .woocommerce-result-count {
  position: relative;
  float: none;
  display: block;
  margin: 0 0 clamp(26px, 4vw, 38px);
  padding-top: 1.7rem;
  border-top: 1px solid var(--jashow-line);
  color: var(--jashow-stone);
  font-family: 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

body.woocommerce .woocommerce-result-count::before {
  content: "CATALOG";
  position: absolute;
  top: 0.6rem;
  left: 0;
  color: var(--jashow-brass-ink);
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

body.woocommerce .woocommerce-result-count::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.45rem;
  height: 1px;
  background: var(--jashow-brass);
}

body.woocommerce .woocommerce-ordering {
  display: none;
}

/* 價格 */
body.woocommerce .price,
body.woocommerce .woocommerce-Price-amount {
  font-family: 'Inter', sans-serif;
  color: var(--jashow-brass-ink);
  font-variant-numeric: tabular-nums;
}

/* CTA:Like + 聯絡我們(取代購物車) */
.jashow-cta {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.jashow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  font-family: 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.jashow-btn-like {
  background-color: var(--jashow-brass);
  color: #fff;
}
.jashow-btn-like:hover {
  background-color: var(--jashow-brass-ink);
  transform: translateY(-1px);
}
.jashow-heart {
  font-size: 0.85em;
}
.jashow-btn-line {
  background-color: var(--jashow-line-green);
  color: #fff;
}
.jashow-btn-line:hover {
  background-color: #05a847;
  color: #fff;
  transform: translateY(-1px);
}
.jashow-btn-ghost {
  background: transparent;
  border-color: var(--jashow-line);
  color: var(--jashow-ink);
}
.jashow-btn-ghost:hover {
  background-color: var(--jashow-line);
}

/* Like 彈窗 */
.jashow-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 25, 23, 0.55);
  z-index: 9998;
}
.jashow-popup[hidden] {
  display: none;
}
.jashow-popup-content {
  background-color: var(--jashow-paper);
  padding: 2rem;
  max-width: 22rem;
  text-align: center;
  border: 1px solid var(--jashow-line);
}
.jashow-popup-content h3 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  margin-top: 0;
  color: var(--jashow-ink);
}
.jashow-popup-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* 單品頁:div.product 缺 clearfix,浮動的 gallery(float:left)/summary(float:right)
   需要 ::after clearfix 撐開容器高度,並讓下方全寬的相關商品 clear 到兩欄底部,避免重疊。
   註:原本的 position:sticky 已移除 — gallery 常比視窗高,sticky 釘住後,捲動時下方
   全寬的相關商品區會疊到被釘住的 gallery 上(實測捲動 400px 時垂直重疊 376px)。
   移除 sticky 後 gallery 為正常浮動欄位、跟著頁面捲動,任何捲動位置都不會與相關商品重疊。 */
body.single-product div.product::after {
  content: "";
  display: table;
  clear: both;
}
.related.products {
  clear: both;
}

/* 全站不開放線上購買:單品頁隱藏加入購物車按鈕與數量選擇器,保留可變商品的規格/價格選單 */
body.single-product .single_add_to_cart_button,
body.single-product .quantity {
  display: none !important;
}

/* 分類/商店頁:留白藝廊 grid(覆寫 Astra 浮動欄位排版) */
body.ast-woo-shop-archive ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
}
@media (min-width: 768px) {
  body.ast-woo-shop-archive ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
  }
}
@media (min-width: 1280px) {
  body.ast-woo-shop-archive ul.products {
    grid-template-columns: repeat(4, 1fr);
  }
}
body.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

/* 首頁商品區（Showroom Index 展間 grid）:沿用分類頁 showroom 視覺。
   注意:首頁已 dequeue WooCommerce 樣式,故此處需自備清單重置與卡片字級。
   結構為 .jashow-home-grid > ul.products(由 [ja_products] 短碼輸出)。 */
body.home .jashow-home-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.home .jashow-home-grid ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
  float: none !important;
  list-style: none;
}
body.home .jashow-home-grid ul.products li.product::marker { content: ""; }

body.home .jashow-home-grid .astra-shop-thumbnail-wrap {
  margin: 0;
}

body.home .jashow-home-grid ul.products li.product .astra-shop-thumbnail-wrap .jashow-card-label {
  margin: 0.8rem 0 0.35rem !important;
}

body.home .jashow-home-grid .astra-shop-summary-wrap {
  padding: 0;
}

body.home .jashow-home-grid .woocommerce-loop-product__title,
body.home .jashow-home-grid h2.woocommerce-loop-product__title {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  font-size: 1rem;
  line-height: 1.45;
  margin: 0.75rem 0 0.35rem;
}

body.home .jashow-home-grid ul.products li.product .price,
body.home .jashow-home-grid ul.products li.product .woocommerce-Price-amount {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0;
}

body ul.products li.product .ast-woo-product-category,
body.home .jashow-home-grid .ast-woo-product-category {
  display: none !important;
}

@media (min-width: 768px) {
  body.home .jashow-home-grid ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 2rem;
  }
}

@media (min-width: 1280px) {
  body.home .jashow-home-grid ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* 全站無購物車:隱藏頁首購物車圖示 */
.ast-site-header-cart {
  display: none !important;
}

/* 尊重減少動態偏好 */
@media (prefers-reduced-motion: reduce) {
  .jashow-btn {
    transition: none;
  }
}

/* 鍵盤可見焦點 */
.jashow-btn:focus-visible {
  outline: 2px solid var(--jashow-brass-ink);
  outline-offset: 2px;
}

/* ============================================================
   About 頁(1867)— Quiet Showroom 製程檔案 / Workshop Dossier
   嚴格作用域於 .jashow-about,勿污染單品/分類/首頁
   ============================================================ */
.jashow-about {
  font-family: 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--jashow-ink);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 24px) 0 0;
}
.jashow-about *,
.jashow-about *::before,
.jashow-about *::after { box-sizing: border-box; }

/* Hero 編輯式標題 */
.jashow-about-hero {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(20px, 6vw, 64px) 20px clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--jashow-line);
}
.jashow-about-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jashow-stone);
  margin: 0 0 1.4em;
}
.jashow-about-eyebrow::before,
.jashow-about-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--jashow-brass);
  opacity: 0.7;
}
.jashow-about-eyebrow-en { color: var(--jashow-brass-ink); }
.jashow-about-title {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 0 0 0.5em;
}
/* Latin 品牌字改用較有重量的 serif,並避免 "JA" 孤字斷行 */
.jashow-about-title-en {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.jashow-about-lede {
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.8;
  color: var(--jashow-stone);
  margin: 0 0 1.2em;
}
.jashow-about-hint {
  font-family: 'Inter', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--jashow-brass-ink);
  margin: 0;
}

/* 四道工序交錯圖文列 */
.jashow-about-rows {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vw, 88px);
  padding: clamp(40px, 7vw, 80px) 20px;
}
.jashow-about-row {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
  align-items: center;
}
.jashow-about-figure { margin: 0; position: relative; }
.jashow-about-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--jashow-line);
}
/* Signature:博物館式展件標籤 exhibit label */
.jashow-about-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em 0.9em;
  margin-top: 0.85em;
  padding-top: 0.7em;
  border-top: 1px solid var(--jashow-line);
  font-family: 'Inter', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.jashow-about-label-no {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--jashow-brass-ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.jashow-about-label-craft {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--jashow-ink);
  font-weight: 500;
}
.jashow-about-label-en {
  color: var(--jashow-stone);
  font-size: 0.82em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 0.3em;
}
.jashow-about-label-spec {
  margin-left: auto;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--jashow-stone);
  text-transform: uppercase;
}
.jashow-about-text h2 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 0 0 0.7em;
}
.jashow-about-text p {
  font-size: clamp(15px, 1.7vw, 16.5px);
  line-height: 1.9;
  color: #403D39;
  margin: 0;
}
.jashow-about-text strong { color: var(--jashow-ink); font-weight: 600; }

@media (min-width: 880px) {
  .jashow-about-row { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); }
  .jashow-about-row .jashow-about-text { grid-column: 1; grid-row: 1; }
  .jashow-about-row .jashow-about-figure { grid-column: 2; grid-row: 1; }
  .jashow-about-row:nth-child(even) .jashow-about-text { grid-column: 2; }
  .jashow-about-row:nth-child(even) .jashow-about-figure { grid-column: 1; }
}

/* 實際案例 */
.jashow-about-cases {
  text-align: center;
  padding: clamp(8px, 3vw, 24px) 20px clamp(40px, 6vw, 64px);
}
.jashow-about-cases h2 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.03em;
  color: var(--jashow-ink);
  margin: 0 0 0.8em;
}
.jashow-about-caselink {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: 'Inter', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--jashow-brass-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--jashow-brass);
  padding-bottom: 0.2em;
  transition: gap 0.15s ease, color 0.15s ease;
}
.jashow-about-caselink:hover { color: var(--jashow-ink); gap: 0.85em; }
.jashow-about-arrow { transition: transform 0.15s ease; }
.jashow-about-caselink:hover .jashow-about-arrow { transform: translateX(3px); }
.jashow-about-caselink:focus-visible { outline: 2px solid var(--jashow-brass); outline-offset: 3px; }

/* 服務流程:炭黑深色段(畫廊重量感) */
.jashow-about-flow {
  background: var(--jashow-char);
  color: var(--jashow-paper);
  margin: 0 0 clamp(20px, 4vw, 40px);
}
.jashow-about-flow-inner {
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 24px;
}
.jashow-about-flow-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--jashow-brass);
  margin: 0 0 0.8em;
  text-align: center;
}
.jashow-about-flow-title {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--jashow-paper);
  margin: 0 0 clamp(28px, 5vw, 52px);
}
.jashow-about-flow-steps { list-style: none; margin: 0; padding: 0; }
.jashow-about-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(22px, 3.5vw, 32px) 0;
  border-top: 1px solid rgba(246, 245, 242, 0.16);
}
.jashow-about-step:last-child { border-bottom: 1px solid rgba(246, 245, 242, 0.16); }
.jashow-about-step-no {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--jashow-brass);
  line-height: 1;
}
.jashow-about-step-body h3 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 0.02em;
  color: var(--jashow-paper);
  margin: 0.1em 0 0.7em;
}
.jashow-about-step-body h4 {
  font-family: 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--jashow-brass);
  margin: 1.4em 0 0.6em;
}
.jashow-about-step-body p {
  font-size: 15px;
  line-height: 1.9;
  color: #D8D4CC;
  margin: 0 0 0.9em;
}
.jashow-about-step-body ul,
.jashow-about-step-body ol {
  margin: 0 0 0.9em;
  padding-left: 1.3em;
  color: #D8D4CC;
}
.jashow-about-step-body li { font-size: 15px; line-height: 1.85; margin: 0.3em 0; }
.jashow-about-step-body ul ul,
.jashow-about-step-body ol ul { margin: 0.4em 0; }
.jashow-about-step-body li::marker { color: var(--jashow-brass); }
.jashow-about-step-body strong { color: var(--jashow-paper); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .jashow-about-caselink,
  .jashow-about-arrow { transition: none; }
}

/* ============================================================
   單篇文章(blog single)— Quiet Showroom 內文排版
   嚴格限定 .single-post .entry-content,不影響商品/分類/about
   ============================================================ */
.single-post .entry-content {
  font-family: 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #403D39;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.95;
}
.single-post .entry-content article { margin: 0; }
.single-post .entry-content h2 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 1.9em 0 0.7em;
}
.single-post .entry-content h3 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: clamp(18px, 2.3vw, 21px);
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 1.5em 0 0.6em;
}
.single-post .entry-content p { margin: 0 0 1.1em; }
.single-post .entry-content strong { color: var(--jashow-ink); font-weight: 600; }
.single-post .entry-content ul,
.single-post .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.single-post .entry-content li { margin: 0.4em 0; line-height: 1.9; }
.single-post .entry-content ul li::marker { color: var(--jashow-brass); }
.single-post .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.95em;
}
.single-post .entry-content th,
.single-post .entry-content td {
  border: 1px solid var(--jashow-line);
  padding: 0.7em 0.9em;
  text-align: left;
  vertical-align: top;
}
.single-post .entry-content thead th {
  background: var(--jashow-char);
  color: var(--jashow-paper);
  font-weight: 600;
  font-family: 'Inter', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  letter-spacing: 0.04em;
}
.single-post .entry-content tbody tr:nth-child(even) { background: rgba(228, 225, 219, 0.35); }
.single-post .entry-content a {
  color: var(--jashow-brass-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--jashow-line);
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
.single-post .entry-content a:hover {
  color: var(--jashow-ink);
  text-decoration-color: var(--jashow-brass);
}
.single-post .entry-content a#line-btn {
  display: inline-block;
  margin: 1.4em 0 0.4em;
  padding: 0.85rem 1.5rem;
  background: var(--jashow-line-green);
  color: #fff;
  border-radius: 2px;
  font-family: 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.single-post .entry-content a#line-btn:hover {
  background: #05A847;
  color: #fff;
  transform: translateY(-1px);
}
.single-post .entry-content a#line-btn:focus-visible {
  outline: 2px solid var(--jashow-brass-ink);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .single-post .entry-content a,
  .single-post .entry-content a#line-btn { transition: none; }
}

/* =========================================================
   Phase 3: native blog index and 404 after Elementor removal
   ======================================================= */
.jashow-blog-index {
  background: var(--jashow-paper);
  color: var(--jashow-ink);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(56px, 7vw, 96px) 20px;
}

.jashow-blog-hero {
  border-bottom: 1px solid var(--jashow-line);
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: 24px;
  text-align: center;
}

.jashow-blog-eyebrow,
.jashow-notfound-eyebrow {
  color: var(--jashow-brass-ink);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.jashow-blog-hero h1,
.jashow-notfound h1 {
  color: var(--jashow-ink);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
}

.jashow-blog-grid {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jashow-blog-card {
  border-bottom: 1px solid var(--jashow-line);
  margin: 0;
  padding-bottom: 22px;
}

.jashow-blog-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.jashow-blog-thumb {
  aspect-ratio: 4 / 3;
  background: var(--jashow-line);
  margin: 0 0 18px;
  overflow: hidden;
}

.jashow-blog-thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.jashow-blog-meta {
  color: var(--jashow-stone);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}

.jashow-blog-body h2 {
  color: var(--jashow-ink);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 12px;
}

.jashow-blog-excerpt,
.jashow-blog-excerpt p,
.jashow-blog-empty,
.jashow-notfound p {
  color: var(--jashow-stone);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.jashow-blog-card-link:hover h2,
.jashow-blog-card-link:focus h2,
.jashow-notfound a:hover,
.jashow-notfound a:focus {
  color: var(--jashow-brass-ink);
}

.jashow-blog-card-link:focus-visible,
.jashow-notfound a:focus-visible {
  outline: 2px solid var(--jashow-brass-ink);
  outline-offset: 4px;
}

body.woocommerce nav.woocommerce-pagination {
  position: relative;
  width: min(100%, 1180px);
  margin: clamp(38px, 5vw, 58px) auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--jashow-line);
  text-align: center;
}

body.woocommerce nav.woocommerce-pagination::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(10rem, 42vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--jashow-brass) 0 2.5rem, var(--jashow-line) 2.5rem 100%);
}

body.woocommerce nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

body.woocommerce nav.woocommerce-pagination ul.page-numbers li {
  margin: 0;
  border: 0;
}

body.woocommerce nav.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--jashow-line);
  color: var(--jashow-ink);
  background: var(--jashow-paper);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

body.woocommerce nav.woocommerce-pagination .page-numbers.current {
  position: relative;
  border-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
  background: rgba(228, 225, 219, 0.28);
}

body.woocommerce nav.woocommerce-pagination .page-numbers.current::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1.65rem;
  height: 1px;
  background: var(--jashow-brass);
}

body.woocommerce nav.woocommerce-pagination a.page-numbers:hover,
body.woocommerce nav.woocommerce-pagination a.page-numbers:focus {
  border-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
  background: rgba(228, 225, 219, 0.28);
}

body.woocommerce nav.woocommerce-pagination a.page-numbers:focus-visible {
  outline: 2px solid var(--jashow-brass-ink);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  body.woocommerce nav.woocommerce-pagination {
    margin-top: 34px;
    padding-top: 0.9rem;
  }

  body.woocommerce nav.woocommerce-pagination ul.page-numbers {
    gap: 8px;
  }

  body.woocommerce nav.woocommerce-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 0.85rem;
  }
}
/* 部落格分頁:對齊 WooCommerce 分頁的 Quiet Showroom 語言(brass 細線 rule / tabular 方格)2026-07-05 */
.jashow-blog-pagination {
  position: relative;
  width: min(100%, 1180px);
  margin: clamp(38px, 5vw, 58px) auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--jashow-line);
  text-align: center;
}

.jashow-blog-pagination::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(10rem, 42vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--jashow-brass) 0 2.5rem, var(--jashow-line) 2.5rem 100%);
}

.jashow-blog-pagination .nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.jashow-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--jashow-line);
  color: var(--jashow-ink);
  background: var(--jashow-paper);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.jashow-blog-pagination .page-numbers.dots {
  min-width: 0;
  padding: 0 4px;
  border-color: transparent;
  background: transparent;
  color: var(--jashow-stone);
}

.jashow-blog-pagination .page-numbers.current {
  position: relative;
  border-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
  background: rgba(228, 225, 219, 0.28);
}

.jashow-blog-pagination .page-numbers.current::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 1.65rem;
  height: 1px;
  background: var(--jashow-brass);
}

.jashow-blog-pagination a.page-numbers:hover,
.jashow-blog-pagination a.page-numbers:focus {
  border-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
  background: rgba(228, 225, 219, 0.28);
}

.jashow-blog-pagination a.page-numbers:focus-visible {
  outline: 2px solid var(--jashow-brass-ink);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .jashow-blog-pagination {
    margin-top: 34px;
    padding-top: 0.9rem;
  }

  .jashow-blog-pagination .nav-links {
    gap: 8px;
  }

  .jashow-blog-pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 0.85rem;
  }
}

/* 停用前台留言後,隱藏殘留的留言區/表單/既有留言 2026-07-05 */
.comments-area,
#comments,
.comment-respond {
  display: none !important;
}

.jashow-notfound {
  align-items: center;
  background: var(--jashow-paper);
  color: var(--jashow-ink);
  display: flex;
  justify-content: center;
  min-height: 55vh;
  padding: clamp(56px, 8vw, 110px) 20px;
  text-align: center;
}

.jashow-notfound-panel {
  max-width: 560px;
}

.jashow-notfound-spinner {
  animation: jashow-spin 1s linear infinite;
  border: 5px solid rgba(35, 34, 32, 0.12);
  border-radius: 50%;
  border-top-color: var(--jashow-char);
  height: 72px;
  margin: 26px auto;
  width: 72px;
}

.jashow-notfound a {
  color: var(--jashow-brass-ink);
  text-decoration-color: var(--jashow-line);
  text-underline-offset: 0.18em;
}

@keyframes jashow-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .jashow-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .jashow-blog-index {
    padding-left: 16px;
    padding-right: 16px;
  }

  .jashow-blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jashow-notfound-spinner {
    animation: none;
  }
}
/* ============================================================
   Spec Dossier signature overrides
   ============================================================ */
:root {
  --jashow-radius: 2px;
  --jashow-radius-media: 0;
  --jashow-radius-avatar: 50%;
  --jashow-shadow-float: 0 4px 14px rgba(26, 25, 23, 0.14);
}

.jashow-eyebrow,
.jashow-card-label,
.jashow-about-label,
.jashow-blog-eyebrow,
.jashow-notfound-eyebrow {
  position: relative;
  padding-top: 0.72rem;
  color: var(--jashow-brass-ink);
  font-family: 'Inter', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.jashow-eyebrow::before,
.jashow-card-label::before,
.jashow-about-label::before,
.jashow-blog-eyebrow::before,
.jashow-notfound-eyebrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 13rem);
  height: 1px;
  background: linear-gradient(to right, var(--jashow-brass) 0 2.25rem, var(--jashow-line) 2.25rem 100%);
}

.jashow-eyebrow-dot {
  color: var(--jashow-stone);
  margin: 0 0.55em;
}

body.woocommerce ul.products li.product,
body.home .jashow-home-grid ul.products li.product {
  position: relative;
  padding-top: 0.95rem;
  border-top: 1px solid var(--jashow-line);
}

body.woocommerce ul.products li.product::before,
body.home .jashow-home-grid ul.products li.product::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.35rem;
  height: 1px;
  background: var(--jashow-brass);
}

body.woocommerce ul.products li.product a img,
body.home .jashow-home-grid ul.products li.product a img {
  border-radius: var(--jashow-radius-media);
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.home .jashow-home-grid .woocommerce-loop-product__title,
body.home .jashow-home-grid h2.woocommerce-loop-product__title {
  margin-top: 0.85rem;
  margin-bottom: 0.32rem;
}

body.woocommerce ul.products li.product .price,
body.home .jashow-home-grid ul.products li.product .price {
  display: block;
  margin-top: 0.35rem;
  color: var(--jashow-brass-ink);
  font-family: 'Inter', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

body.woocommerce ul.products li.product:hover .jashow-card-label,
body.home .jashow-home-grid ul.products li.product:hover .jashow-card-label {
  color: var(--jashow-ink);
}

body.woocommerce ul.products li.product:hover .jashow-card-label::after,
body.home .jashow-home-grid ul.products li.product:hover .jashow-card-label::after {
  content: " ↗";
  color: var(--jashow-brass-ink);
}

.jashow-btn,
.single-post .entry-content a#line-btn {
  border-radius: var(--jashow-radius);
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jashow-action-mark {
  color: currentColor;
  font-family: 'Inter', sans-serif;
  font-size: 0.86em;
  line-height: 1;
}

.single-post .entry-content a#line-btn::after {
  content: " ↗";
  font-family: 'Inter', sans-serif;
}

.jashow-btn-ghost:hover {
  border-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
}

.jashow-popup-content {
  position: relative;
  border-color: var(--jashow-line);
  border-radius: var(--jashow-radius);
  box-shadow: none;
  text-align: left;
}

.jashow-popup-content::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 2.75rem;
  height: 1px;
  background: var(--jashow-brass);
}

.jashow-popup-code {
  margin: 0 0 1rem;
  padding-bottom: 0.72rem;
  border-bottom: 1px solid var(--jashow-line);
  color: var(--jashow-brass-ink);
  font-family: 'Inter', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.jashow-popup-actions {
  justify-content: flex-start;
}

.jashow-about-eyebrow {
  position: relative;
  padding-top: 0.8rem;
  color: var(--jashow-stone);
}

.jashow-about-eyebrow::before,
.jashow-about-eyebrow::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: 9rem;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--jashow-brass) 0 2.25rem, var(--jashow-line) 2.25rem 100%);
  opacity: 1;
}

.jashow-about-eyebrow::after {
  content: none;
}

.jashow-about-label {
  border-top: 0;
}

.jashow-about-label-no,
.jashow-about-step-no {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .jashow-btn,
  .single-post .entry-content a#line-btn {
    transition: none;
  }
}

/* Bugfix: neutralize theme ol indentation while preserving the About flow pattern. */
.jashow-about .jashow-about-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
}

@media (max-width: 640px) {
  .jashow-about .jashow-about-flow-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .jashow-about .jashow-about-step {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
  }
}

/* About-to-footer handoff: extend the final charcoal flow into the footer plinth. */
body.page-id-1867 .site-content {
  overflow-x: hidden;
}

body.page-id-1867 .jashow-about .jashow-about-flow {
  position: relative;
  left: 50%;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  transform: translateX(-50%);
}

body.page-id-1867 .jashow-about .jashow-about-flow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(to right, var(--jashow-brass) 0 3rem, rgba(246, 245, 242, 0.22) 3rem 100%);
}
/* L6: 分類頁底部保留空間,避免內容被浮動 LINE 按鈕遮住 2026-07-03 */
.tax-product_cat .site-main,
.post-type-archive-product .site-main {
  padding-bottom: 70px;
}

/* H3 商品描述區:標準化內容套用 Spec Dossier 排印(Quiet Showroom)2026-07-03 */
body.single-product .woocommerce-Tabs-panel--description {
  font-family: 'Noto Sans TC', 'Inter', sans-serif;
  color: var(--jashow-char);
}
body.single-product .woocommerce-Tabs-panel--description > p,
body.single-product .woocommerce-Tabs-panel--description > ul,
body.single-product .woocommerce-Tabs-panel--description > h2,
body.single-product .woocommerce-Tabs-panel--description > h3 {
  max-width: 46rem;
}
body.single-product .woocommerce-Tabs-panel--description p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0 0 1.15em;
}
body.single-product .woocommerce-Tabs-panel--description > p:first-child {
  font-size: 1.02rem;
  color: var(--jashow-ink);
}
body.single-product .woocommerce-Tabs-panel--description h2 {
  position: relative;
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 2.8rem 0 0.9rem;
  padding-top: 0.85rem;
}
body.single-product .woocommerce-Tabs-panel--description h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 13rem);
  height: 1px;
  background: linear-gradient(to right, var(--jashow-brass) 0 2.25rem, var(--jashow-line) 2.25rem 100%);
}
body.single-product .woocommerce-Tabs-panel--description h3 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 1.6rem 0 0.5rem;
}
body.single-product .woocommerce-Tabs-panel--description li {
  line-height: 1.85;
  margin-bottom: 0.4em;
}
body.single-product .woocommerce-Tabs-panel--description a {
  color: var(--jashow-brass-ink);
  text-decoration: underline;
  text-decoration-color: var(--jashow-line);
  text-underline-offset: 3px;
}
body.single-product .woocommerce-Tabs-panel--description a:hover {
  color: var(--jashow-brass-ink);
  text-decoration-color: var(--jashow-brass);
}

/* 分類頁 term-description:Quiet Showroom 排印 2026-07-03 */
.woocommerce-products-header .term-description {
  font-family: 'Noto Sans TC', 'Inter', sans-serif;
  color: var(--jashow-char);
  max-width: 46rem;
}
.woocommerce-products-header .term-description p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0 0 1.1em;
}
/* sofa/custom-bed 舊資料的 h1 在描述內(該頁唯一 h1):比照商品頁標題字系 */
.woocommerce-products-header .term-description h1,
.woocommerce-products-header .term-description h2 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 0 0 0.6em;
}
.woocommerce-products-header .term-description h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
/* 桌子/單人椅:首行 tagline(WP 過濾後為 p)當 subtitle,配 dossier hairline */
.woocommerce-products-header .term-description > p:first-child {
  position: relative;
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  padding-top: 0.85rem;
  margin-bottom: 0.9em;
}
.woocommerce-products-header .term-description > p:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 13rem);
  height: 1px;
  background: linear-gradient(to right, var(--jashow-brass) 0 2.25rem, var(--jashow-line) 2.25rem 100%);
}
.woocommerce-products-header .term-description li {
  line-height: 1.85;
  margin-bottom: 0.4em;
  font-size: 0.95rem;
}
.woocommerce-products-header .term-description strong {
  font-weight: 600;
  color: var(--jashow-ink);
}
.woocommerce-products-header .term-description a {
  color: var(--jashow-brass-ink);
  text-decoration: underline;
  text-decoration-color: var(--jashow-line);
  text-underline-offset: 3px;
}
.woocommerce-products-header .term-description a:hover {
  color: var(--jashow-brass-ink);
  text-decoration-color: var(--jashow-brass);
}


/* 商品頁:收斂 summary dossier 間距,避免 eyebrow/title/quote 區塊過鬆。 */
body.single-product .summary .jashow-eyebrow {
  padding-top: 0.48rem;
  margin: 0 0 0.32rem;
  line-height: 1.35;
}
body.single-product .summary .jashow-eyebrow::before {
  width: min(100%, 8.5rem);
}
body.single-product .summary .woocommerce-breadcrumb {
  display: block;
  margin: 0.28rem 0 0.42rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--jashow-stone);
}
body.single-product .summary .product_title {
  margin: 0 0 0.38rem;
  line-height: 1.24;
}
body.single-product .summary .jashow-quote-hint {
  padding-top: 0.48rem;
  margin: 0.48rem 0 0.1rem;
  line-height: 1.35;
}
body.single-product .summary .jashow-quote-hint::before {
  width: min(100%, 8.5rem);
}
body.single-product .summary .woocommerce-product-details__short-description {
  margin-top: 0.72rem;
}
body.single-product .summary .woocommerce-product-details__short-description p {
  margin-bottom: 0.68em;
}
body.single-product .summary .jashow-custom-note {
  margin-top: 0.82rem;
  margin-bottom: 0.95rem;
  padding-top: 0.72rem;
}
body.single-product .summary .jashow-cta {
  margin-top: 0.95rem;
}
/* 商品短描述(summary 區):Quiet Showroom 排印 2026-07-03 */
body.single-product .woocommerce-product-details__short-description {
  font-family: 'Noto Sans TC', 'Inter', sans-serif;
  color: var(--jashow-char);
  font-size: 0.93rem;
  line-height: 1.85;
}
body.single-product .woocommerce-product-details__short-description p {
  margin: 0 0 0.9em;
}
body.single-product .woocommerce-product-details__short-description h2,
body.single-product .woocommerce-product-details__short-description h3 {
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 1.2rem 0 0.5rem;
}
body.single-product .woocommerce-product-details__short-description li {
  line-height: 1.8;
  margin-bottom: 0.35em;
}
body.single-product .woocommerce-product-details__short-description strong {
  font-weight: 600;
  color: var(--jashow-ink);
}
body.single-product .woocommerce-product-details__short-description a {
  color: var(--jashow-brass-ink);
  text-decoration: underline;
  text-decoration-color: var(--jashow-line);
  text-underline-offset: 3px;
}
body.single-product .woocommerce-product-details__short-description a:hover {
  color: var(--jashow-brass-ink);
  text-decoration-color: var(--jashow-brass);
}

/* ============ H7 (2026-07-04): 文章內比較表 — 首欄維度名不換行、表格窄幅可橫捲 ============ */
.single-post .entry-content table th:first-child,
.single-post .entry-content table td:first-child {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .single-post .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============ C5b (2026-07-04): 禁用合成粗斜體 — Sans 700 移除後 strong/UA bold 乾淨回退真 600 face
   (shorthand 覆蓋 Safari 9+/Firefox 34+;faux italic 全站僅 custom-bed FAQ 一處 em,可忽略) ============ */
html { font-synthesis: none; }

/* ============ H6 (2026-07-04): 商品頁 mobile 首屏 — 詢價引導行 + 主圖縮寬置中 ============ */
.jashow-quote-hint {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  font-family: 'Noto Sans TC', 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--jashow-stone);
  padding-top: 0.72rem;
  margin: 0.9rem 0 0.15rem;
}
.jashow-quote-hint::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(100%, 13rem);
  height: 1px;
  background: linear-gradient(to right, var(--jashow-brass) 0 2.25rem, var(--jashow-line) 2.25rem 100%);
}
.jashow-quote-hint-label {
  color: var(--jashow-ink);
}

@media (max-width: 640px) {
  body.single-product .woocommerce-product-gallery {
    /* 2026-07-05:改為與內文同寬(左右對齊 #content),移除原 H6 74% 置中造成的兩側留白
       (視覺一致性優先;gallery 已有固定保留高度,不再需要縮寬來把 H1 擠進首屏) */
    width: 100% !important;
    float: none;
    margin: 0 0 0.25rem !important;
  }
}

/* ============ C5-CLS (2026-07-05): 保留 product gallery 高度 → 消除 CLS(實測 1.18→~0.19)
   Playwright 實測診斷:gallery 於 flexslider 初始化「前」所有圖直疊到 ~1239px、init「中」瞬間衝到 ~3250px,
   之後才收斂到 主圖+縮圖列;這些「暫態暴增」把下方 summary/tabs 推來推去,才是 1.18 的元凶。
   → 掛穩定節點 .woocommerce-product-gallery 保留高度 + overflow 裁掉「暫態暴增」(非裁最終縮圖)。
   img 交回 width/height 屬性推導比例(不硬寫 1:1,非正方不變形)。 ============ */
body.single-product .woocommerce-product-gallery {
  background: var(--jashow-paper); /* 暖中性佔位底,圖片載入前不白閃 */
}
body.single-product .woocommerce-product-gallery img {
  height: auto; /* 用屬性推導 intrinsic ratio,勿對 img 硬寫 aspect-ratio:1/1(非正方會變形) */
}
/* 桌機:float 兩欄佈局本身已隔開 summary;保留主圖+縮圖列高度避免下方 tabs 位移(實測 CLS 0.015) */
@media (min-width: 641px) {
  body.single-product .woocommerce-product-gallery {
    aspect-ratio: 1 / 1.55; /* 主圖(方) + 縮圖列(桌機 columns-4);較短商品底部留少量暖底空白(非位移) */
  }
}
/* 行動:gallery 為 100% block、summary 疊其下 → 暫態暴增會直接推 summary。
   保留「主圖正方 + 單排縮圖」高度(固定比例)+ overflow:hidden 裁掉 1239/3250 暫態。
   縮圖改「單排橫向捲動」→ gallery 高度不隨商品圖數變動(cloud/pebble 同 gH≈393),
   點縮圖仍切換主圖;橫捲不顯示捲軸(觸控 touch-action:pan-x、桌機垂直滾輪由 product-cta.js shim 轉水平)。
   實測 CLS(正式站):cloud ~0.15 / pebble ~0.03(gallery 已穩定;cloud 殘留為字型 swap 標題/內文回流,非 gallery,徹底降需字型自架子集化)。 */
@media (max-width: 640px) {
  body.single-product .woocommerce-product-gallery {
    --jashow-product-thumb-size: clamp(48px, 14.4vw, 62px);
    --jashow-product-thumb-gap: clamp(3px, 1vw, 5px);
    aspect-ratio: 1 / 1.18; /* 全寬:主圖正方 + RWD 單排縮圖;保留少量餘裕避免 overflow 裁到 */
    overflow: hidden;
  }
  /* 收緊主圖↔縮圖間距(移除 WooCommerce 預設 flex-viewport margin-bottom ~14.6px) */
  body.single-product .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 0 !important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-nav {
    display: flex !important;
    flex-wrap: nowrap;
    /* !important 壓過 flexslider 自帶的 overflow:hidden,否則縮圖無法橫向捲動看後面 */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    /* touch-action:pan-x 讓瀏覽器接管水平滑動,不被 flexslider 觸控 handler 攔截(手機才捲得動) */
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* 不顯示捲軸(設計一致性);仍可觸控/滾輪捲動 */
    gap: var(--jashow-product-thumb-gap);
    margin: 2px 0 0 !important;
    padding: 0 0 4px !important;
    cursor: grab;
    user-select: none;
  }
  body.single-product .woocommerce-product-gallery .flex-control-nav.jashow-thumb-dragging {
    cursor: grabbing;
  }
  body.single-product .woocommerce-product-gallery .flex-control-nav::-webkit-scrollbar {
    display: none; /* 隱藏 WebKit 捲軸 */
  }
  body.single-product .woocommerce-product-gallery .flex-control-nav li {
    flex: 0 0 var(--jashow-product-thumb-size) !important;
    width: var(--jashow-product-thumb-size) !important;
    height: var(--jashow-product-thumb-size) !important;
    margin: 0 !important;
  }
  body.single-product .woocommerce-product-gallery .flex-control-nav img {
    width: var(--jashow-product-thumb-size) !important;
    height: var(--jashow-product-thumb-size) !important;
    object-fit: cover !important;
    -webkit-user-drag: none;
    user-select: none;
  }
}

/* ============ H6 (2026-07-04): 分類頁 term-description mobile 摺疊(term-toggle.js 加 class 才生效,無 JS 全文展開) ============ */
.jashow-td-toggle {
  display: none; /* 桌機/未摺疊不佔位 */
}

@media (max-width: 640px) {
  .woocommerce-products-header .term-description.jashow-td-folded:not(.jashow-td-open) {
    position: relative; /* ::after 錨點——term-description 與祖先皆無定位,缺這行漸層會錨到 body */
    max-height: var(--jashow-td-fold, 12rem);
    overflow: hidden;
  }
  .woocommerce-products-header .term-description.jashow-td-folded:not(.jashow-td-open)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3.25rem;
    background: linear-gradient(to bottom, rgba(246, 245, 242, 0), var(--jashow-paper));
    pointer-events: none;
  }
  .jashow-td-folded + .jashow-td-toggle {
    display: inline-flex;
    align-items: center;
    position: relative;
    padding: 0.72rem 0 0;
    margin: 0.15rem 0 1.1rem;
    border: 0;
    background: none;
    cursor: pointer;
    font-family: 'Inter', 'Noto Sans TC', "PingFang TC", "Microsoft JhengHei", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em; /* 中文不套 uppercase/大字距(站規) */
    color: var(--jashow-brass-ink);
  }
  .jashow-td-folded + .jashow-td-toggle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(100%, 13rem);
    height: 1px;
    background: linear-gradient(to right, var(--jashow-brass) 0 2.25rem, var(--jashow-line) 2.25rem 100%);
  }
}

/* =========================================================
   C2 case_study templates — Quiet Showroom 改版(2026-07-12)
   簽名:拆題排印(地區=Inter 眉標、風格=serif 大字)+ dossier hairline
   ======================================================= */
.jashow-case-archive,
.jashow-case-single {
  background: var(--jashow-paper);
  color: var(--jashow-ink);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(48px, 7vw, 92px) 20px;
}

/* ── hero:左對齊 + 底線上的黃銅 dossier 段 ── */
.jashow-case-archive-hero,
.jashow-case-hero {
  border-bottom: 1px solid var(--jashow-line);
  margin-bottom: clamp(30px, 5vw, 52px);
  padding-bottom: clamp(20px, 3vw, 30px);
  position: relative;
  text-align: left;
}

/* single hero:雜誌式題圖分割(有主圖時)——crumb 釘頂、標題群貼齊圖底 */
.jashow-case-hero.has-media {
  align-items: stretch;
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.jashow-case-hero.has-media .jashow-case-hero-text {
  display: flex;
  flex-direction: column;
}

.jashow-case-hero.has-media .jashow-case-hero-text .jashow-case-eyebrow {
  margin-top: auto;
}

.jashow-case-hero-media {
  margin: 0;
}

.jashow-case-hero-media img {
  aspect-ratio: 4 / 5;
  display: block;
  height: auto;
  max-height: min(60vh, 560px);
  object-fit: cover;
  width: 100%;
}

.jashow-case-hero.has-media h1 {
  font-size: clamp(32px, 5vw, 60px);
}

.jashow-case-archive-hero::after,
.jashow-case-hero::after {
  background: var(--jashow-brass);
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 2.35rem;
}

.jashow-case-crumb {
  color: var(--jashow-stone);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin: 0 0 clamp(16px, 3vw, 26px);
}

.jashow-case-crumb a {
  border-bottom: 1px solid var(--jashow-line);
  color: var(--jashow-stone);
  text-decoration: none;
}

.jashow-case-crumb a:hover,
.jashow-case-crumb a:focus {
  border-bottom-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
}

.jashow-case-crumb span {
  margin: 0 0.45em;
}

.jashow-case-eyebrow,
.jashow-case-card-meta {
  color: var(--jashow-brass-ink);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.jashow-case-archive h1,
.jashow-case-hero h1 {
  color: var(--jashow-ink);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.22;
  margin: 0;
}

.jashow-case-lede,
.jashow-case-term-description,
.jashow-case-empty {
  color: var(--jashow-stone);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  margin: 14px 0 0;
  max-width: 46rem;
}

.jashow-case-empty a {
  border-bottom: 1px solid var(--jashow-brass);
  color: var(--jashow-brass-ink);
  text-decoration: none;
}

/* ── 分類導覽列 ── */
.jashow-case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: clamp(20px, 3.5vw, 30px);
}

.jashow-case-filter a {
  border-bottom: 2px solid transparent;
  color: var(--jashow-stone);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0 1px 7px;
  text-decoration: none;
}

.jashow-case-filter a:hover,
.jashow-case-filter a:focus {
  color: var(--jashow-brass-ink);
}

.jashow-case-filter a.is-active {
  border-bottom-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
  font-weight: 600;
}

.jashow-case-filter-count {
  color: var(--jashow-stone);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  margin-left: 5px;
  vertical-align: 0.12em;
}

.jashow-case-filter a.is-active .jashow-case-filter-count {
  color: var(--jashow-brass-ink);
}

/* ── 案例卡 ── */
.jashow-case-grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px) clamp(20px, 2.6vw, 30px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jashow-case-card {
  border-top: 1px solid var(--jashow-line);
  margin: 0;
  padding-top: 0.95rem;
  position: relative;
}

.jashow-case-card::before {
  background: var(--jashow-brass);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: -1px;
  width: 2.35rem;
}

.jashow-case-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

.jashow-case-card-media {
  aspect-ratio: 4 / 3;
  background: var(--jashow-line);
  margin: 0 0 16px;
  overflow: hidden;
}

.jashow-case-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .jashow-case-card-media img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .jashow-case-card-link:hover .jashow-case-card-media img,
  .jashow-case-card-link:focus .jashow-case-card-media img {
    transform: scale(1.03);
  }
}

.jashow-case-card-meta {
  margin: 0 0 8px;
}

.jashow-case-card-meta span + span::before {
  color: var(--jashow-stone);
  content: "· ";
  margin: 0 0.15em 0 0.35em;
}

.jashow-case-card h2 {
  color: var(--jashow-ink);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

.jashow-case-card-link:hover h2,
.jashow-case-card-link:focus h2 {
  color: var(--jashow-brass-ink);
}

.jashow-case-card-link:focus-visible {
  outline: 2px solid var(--jashow-brass-ink);
  outline-offset: 4px;
}

/* ── single:內文段(圖文交錯,多個區塊) ── */
.jashow-case-content {
  color: #403D39;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 15.5px;
  line-height: 1.9;
  margin: 0 0 clamp(30px, 5vw, 52px);
  max-width: 46rem;
}

.jashow-case-content p {
  margin: 0 0 1.15em;
}

.jashow-case-content p:last-child {
  margin-bottom: 0;
}

/* ── single:案例照(滿版/雙欄)+ 編號圖說 ── */
.jashow-case-shot {
  margin: 0 0 clamp(30px, 5vw, 52px);
}

.jashow-case-shot img {
  background: var(--jashow-line);
  display: block;
  height: auto;
  width: 100%;
}

.jashow-case-shot figcaption {
  border-bottom: 1px solid var(--jashow-line);
  color: var(--jashow-stone);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-top: 10px;
  padding-bottom: 10px;
}

.jashow-case-shot figcaption span {
  color: var(--jashow-brass-ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-right: 0.7em;
}

.jashow-case-gallery {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 clamp(34px, 5vw, 56px);
}

.jashow-case-gallery .jashow-case-shot {
  margin: 0;
}

/* ── 區段標頭與產品區 ── */
.jashow-case-section-head {
  border-top: 1px solid var(--jashow-line);
  margin: clamp(36px, 6vw, 68px) 0 24px;
  padding-top: 18px;
  position: relative;
}

.jashow-case-section-head::before {
  background: var(--jashow-brass);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: -1px;
  width: 2.35rem;
}

.jashow-case-section-head h2,
body.single-product .related.products > h2 {
  color: var(--jashow-ink);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.35;
}

.jashow-case-section-head h2 {
  margin: 0;
}

body.single-product .related.products > h2 {
  border-top: 1px solid var(--jashow-line);
  margin: clamp(36px, 6vw, 68px) 0 24px;
  padding-top: 18px;
  position: relative;
}

body.single-product .related.products > h2::before {
  color: var(--jashow-brass-ink);
  content: "PRODUCTS";
  content: "PRODUCTS" / "";
  display: block;
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  margin: 0 0 12px;
  text-transform: uppercase;
}

body.single-product .related.products > h2::after {
  background: var(--jashow-brass);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: -1px;
  width: 2.35rem;
}

.jashow-related-cases,
.jashow-case-products {
  clear: both;
  margin-top: clamp(42px, 6vw, 72px);
}

.jashow-case-products ul.products {
  display: grid !important;
  gap: 2.5rem 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

/* case 頁非 body.woocommerce,商品卡樣式在此命名空間內補齊 */
.jashow-case-products ul.products li.product {
  float: none;
  list-style: none;
  margin: 0;
  width: auto;
}

.jashow-case-products ul.products li.product::marker {
  content: "";
}

.jashow-case-products ul.products li.product img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.jashow-case-products .woocommerce-loop-product__title,
.jashow-case-products h2.woocommerce-loop-product__title {
  color: var(--jashow-ink);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0.7rem 0 0;
  padding: 0;
}

.jashow-case-products ul.products li.product a {
  color: inherit;
  text-decoration: none;
}

.jashow-case-products ul.products li.product a:hover .woocommerce-loop-product__title,
.jashow-case-products ul.products li.product a:focus .woocommerce-loop-product__title {
  color: var(--jashow-brass-ink);
}

/* ── single:上一案/下一案 ── */
.jashow-case-adjacent {
  align-items: start;
  border-top: 1px solid var(--jashow-line);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto 1fr;
  margin-top: clamp(42px, 6vw, 72px);
  padding-top: 22px;
}

.jashow-case-adjacent-prev { text-align: left; }
.jashow-case-adjacent-next { text-align: right; }

.jashow-case-adjacent-prev a,
.jashow-case-adjacent-next a {
  color: var(--jashow-ink);
  display: inline-block;
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 22rem;
  text-decoration: none;
}

.jashow-case-adjacent-prev a:hover,
.jashow-case-adjacent-next a:hover,
.jashow-case-adjacent-prev a:focus,
.jashow-case-adjacent-next a:focus {
  color: var(--jashow-brass-ink);
}

.jashow-case-adjacent-prev a span,
.jashow-case-adjacent-next a span {
  color: var(--jashow-stone);
  display: block;
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.jashow-case-adjacent-index {
  align-self: center;
  border-bottom: 1px solid var(--jashow-line);
  color: var(--jashow-stone);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.jashow-case-adjacent-index:hover,
.jashow-case-adjacent-index:focus {
  border-bottom-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
}

/* ── single:CTA 帶 ── */
.jashow-case-cta {
  border-top: 1px solid var(--jashow-line);
  margin-top: clamp(42px, 6vw, 72px);
  padding-top: clamp(26px, 4vw, 40px);
  position: relative;
}

.jashow-case-cta::before {
  background: var(--jashow-brass);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: -1px;
  width: 2.35rem;
}

.jashow-case-cta h2 {
  color: var(--jashow-ink);
  font-family: "Noto Serif TC", "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 12px;
}

.jashow-case-cta p:not(.jashow-case-eyebrow) {
  color: var(--jashow-stone);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
  max-width: none;
}

.jashow-case-cta-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 12px);
  justify-content: center;
  margin-top: 24px;
}

.jashow-case-cta-actions .jashow-btn {
  flex: 0 1 auto;
  font-size: clamp(0.85rem, 3.8vw, 0.95rem);
  padding-inline: clamp(0.75rem, 4vw, 1.5rem);
  white-space: nowrap;
}

.jashow-case-pagination {
  margin-top: clamp(36px, 5vw, 56px);
  text-align: center;
}

.jashow-case-pagination .page-numbers {
  border-bottom: 1px solid transparent;
  color: var(--jashow-stone);
  display: inline-block;
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  margin: 0 9px;
  padding: 2px 1px 6px;
  text-decoration: none;
}

.jashow-case-pagination a.page-numbers:hover,
.jashow-case-pagination a.page-numbers:focus {
  border-bottom-color: var(--jashow-brass);
  color: var(--jashow-brass-ink);
}

.jashow-case-pagination .page-numbers.current {
  border-bottom: 2px solid var(--jashow-brass);
  color: var(--jashow-brass-ink);
  font-weight: 600;
}

/* ── RWD ── */
@media (max-width: 1000px) {
  .jashow-case-products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .jashow-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jashow-case-hero.has-media {
    grid-template-columns: 1fr;
  }

  .jashow-case-hero-media img {
    aspect-ratio: 4 / 3;
  }

  .jashow-case-gallery {
    grid-template-columns: 1fr;
  }

  .jashow-case-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jashow-case-adjacent {
    gap: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .jashow-case-adjacent-index {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }
}


@media (max-width: 560px) {
  .jashow-case-grid,
  .jashow-case-products ul.products {
    grid-template-columns: 1fr;
  }

  .jashow-case-filter {
    gap: 4px 20px;
  }

  .jashow-case-adjacent-next {
    text-align: left;
  }
}

/* ============ /showroom/ 門市 dossier 頁(footer 整併改版)2026-07-12 ============ */
/* 標題:SHOWROOM DOSSIER eyebrow + brass-tab hairline(全站簽名元素) */
body.page-id-3257 .entry-title {
  position: relative;
  padding-top: 2.1rem;
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  text-align: center;
}

body.page-id-3257 .entry-title::before {
  content: "SHOWROOM DOSSIER";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.7rem;
  color: var(--jashow-brass-ink);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

body.page-id-3257 .entry-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 13rem);
  height: 1px;
  background: linear-gradient(to right, var(--jashow-line) 0 calc(50% - 1.125rem), var(--jashow-brass) calc(50% - 1.125rem) calc(50% + 1.125rem), var(--jashow-line) calc(50% + 1.125rem) 100%);
}

/* 內文排印:比照商品描述 Spec Dossier(46rem 行寬、serif h2 + brass-tab) */
body.page-id-3257 .jashow-showroom-page {
  max-width: 62rem;
  margin: 0 auto;
  font-family: 'Noto Sans TC', 'Inter', sans-serif;
  color: var(--jashow-char);
}

body.page-id-3257 .jashow-showroom-page > p,
body.page-id-3257 .jashow-showroom-page > ul,
body.page-id-3257 .jashow-showroom-page > h2 {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

body.page-id-3257 .jashow-showroom-page p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0 auto 1.15em;
}

body.page-id-3257 .jashow-showroom-page > p:first-child {
  font-size: 1.02rem;
  color: var(--jashow-ink);
}

body.page-id-3257 .jashow-showroom-page h2 {
  position: relative;
  font-family: 'Noto Serif TC', "Source Han Serif TC", "Songti TC", PMingLiU, serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--jashow-ink);
  margin: 2.8rem auto 0.9rem;
  padding-top: 0.85rem;
  text-align: center;
}

body.page-id-3257 .jashow-showroom-page h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 13rem);
  height: 1px;
  background: linear-gradient(to right, var(--jashow-line) 0 calc(50% - 1.125rem), var(--jashow-brass) calc(50% - 1.125rem) calc(50% + 1.125rem), var(--jashow-line) calc(50% + 1.125rem) 100%);
}

body.page-id-3257 .jashow-showroom-page li {
  line-height: 1.85;
  margin-bottom: 0.4em;
  font-size: 0.95rem;
}

body.page-id-3257 .jashow-showroom-page li::marker {
  color: var(--jashow-brass);
}

body.page-id-3257 .jashow-showroom-page a {
  color: var(--jashow-brass-ink);
  text-decoration: underline;
  text-decoration-color: var(--jashow-line);
  text-underline-offset: 3px;
}

body.page-id-3257 .jashow-showroom-page a:hover {
  text-decoration-color: var(--jashow-brass);
}

/* spec strip:門市檔案卡(沿用首頁 Spec Dossier 的 dt/dd 語言) */
body.page-id-3257 .jashow-sr-spec {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 62rem;
  margin: clamp(1.6rem, 3vw, 2.2rem) 0 0;
  border-top: 1px solid var(--jashow-line);
  border-bottom: 1px solid var(--jashow-line);
}

body.page-id-3257 .jashow-sr-spec > div {
  min-width: 0;
  margin: 0;
  padding: 0.95rem 1rem 1rem;
}

body.page-id-3257 .jashow-sr-spec > div + div {
  border-left: 1px solid var(--jashow-line);
}

body.page-id-3257 .jashow-sr-spec dt {
  margin: 0 0 0.35rem;
  color: var(--jashow-stone);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
}

body.page-id-3257 .jashow-sr-spec dd {
  margin: 0;
  text-align: center;
  color: var(--jashow-brass-ink);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

body.page-id-3257 .jashow-sr-spec dd a {
  color: inherit;
  text-decoration: none;
}

body.page-id-3257 .jashow-sr-spec dd a:hover {
  text-decoration: underline;
  text-decoration-color: var(--jashow-brass);
  text-underline-offset: 3px;
}

body.page-id-3257 .jashow-sr-note {
  display: block;
  margin-top: 0.15rem;
  color: var(--jashow-stone);
  font-size: 0.8rem;
  font-weight: 500;
}

/* CTA 列:沿用全站 .jashow-btn 元件,蓋掉頁內連結底線 */
body.page-id-3257 .jashow-showroom-page .jashow-sr-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.4em;
}

body.page-id-3257 .jashow-showroom-page .jashow-btn {
  text-decoration: none;
}

body.page-id-3257 .jashow-showroom-page .jashow-btn-line {
  color: #fff;
}

body.page-id-3257 .jashow-showroom-page .jashow-btn-ghost {
  color: var(--jashow-ink);
}

/* 地圖:MAP REF 座標簽名(自 footer 遷移至此) */
body.page-id-3257 .jashow-sr-map {
  position: relative;
  max-width: 62rem;
  margin: 1.8rem 0 0.5rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--jashow-line);
}

body.page-id-3257 .jashow-sr-map::before {
  content: "MAP REF. 25.0711 N / 121.3556 E";
  display: block;
  margin-bottom: 0.7rem;
  color: var(--jashow-brass-ink);
  font-family: 'Inter', 'Noto Sans TC', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

body.page-id-3257 .jashow-sr-map::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 1px;
  background: var(--jashow-brass);
}

body.page-id-3257 .jashow-sr-map iframe {
  display: block;
  width: 100%;
  height: auto;
  min-height: 20rem;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--jashow-line);
  background: #fff;
  filter: grayscale(1) contrast(0.92) brightness(0.98);
  transition: filter 0.2s ease, border-color 0.2s ease;
}

body.page-id-3257 .jashow-sr-map iframe:hover,
body.page-id-3257 .jashow-sr-map iframe:focus {
  border-color: var(--jashow-brass);
  filter: grayscale(0.2) contrast(0.96) brightness(1);
}

@media (max-width: 900px) {
  body.page-id-3257 .jashow-sr-spec {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-id-3257 .jashow-sr-spec > div + div {
    border-left: 0;
  }

  body.page-id-3257 .jashow-sr-spec > div:nth-child(even) {
    border-left: 1px solid var(--jashow-line);
  }

  body.page-id-3257 .jashow-sr-spec > div:nth-child(n+3) {
    border-top: 1px solid var(--jashow-line);
  }
}

@media (max-width: 520px) {
  body.page-id-3257 .jashow-sr-spec {
    grid-template-columns: 1fr;
  }

  body.page-id-3257 .jashow-sr-spec > div:nth-child(even) {
    border-left: 0;
  }

  body.page-id-3257 .jashow-sr-spec > div + div {
    border-top: 1px solid var(--jashow-line);
  }

  body.page-id-3257 .jashow-sr-map iframe {
    min-height: 15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-3257 .jashow-sr-map iframe {
    transition: none;
  }
}
