/* ============================================================
   筱草工坊 GRASS STUDIO — 網站重建示範站
   共用樣式：品牌設計系統（LOGO 橘 × 紙感，2026-08-19 依客戶 LOGO 主色調整）
   本站為示範頁面，供網站重建提案討論用。
   ============================================================ */

:root {
  --ink: oklch(0.25 0.03 55);
  --text: oklch(0.32 0.025 60);
  --muted: oklch(0.52 0.025 65);
  --line: oklch(0.90 0.02 70);
  --line-soft: oklch(0.935 0.018 70);
  --wash: oklch(0.97 0.012 80);
  --cream: oklch(0.975 0.012 95);
  --paper: #ffffff;
  --pine: oklch(0.58 0.145 62);
  /* 白字按鈕專用底色：--pine 配白字僅 4.46:1 未達 AA，此色為 4.64:1。
     刻意獨立於 --pine，不動品牌識別本身。 */
  --pine-btn: oklch(0.57 0.145 62);
  --pine-deep: oklch(0.44 0.13 55);
  --pine-ink: oklch(0.33 0.10 50);
  --pine-soft: oklch(0.955 0.04 75);
  --gold: oklch(0.62 0.09 85);
  --gold-deep: oklch(0.50 0.09 80);
  --gold-soft: oklch(0.965 0.03 92);
  --accent-orange: #F5A623;
  --accent-orange-deep: #B94708;
  --accent-orange-ink: #3B2408;
  --accent-orange-soft: #FFF1D6;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px oklch(0.25 0.04 55 / 0.06), 0 8px 24px oklch(0.25 0.04 55 / 0.07);
  --shadow-lift: 0 2px 4px oklch(0.25 0.04 55 / 0.08), 0 14px 36px oklch(0.25 0.04 55 / 0.12);
  --font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft JhengHei', sans-serif;
  --font-serif: 'Noto Serif TC', 'Songti TC', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--pine-deep); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.serif { font-family: var(--font-serif); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---- 示範頁橫幅 ---- */
.demo-banner {
  background: var(--gold-soft);
  border-bottom: 1px solid oklch(0.88 0.04 90);
  color: oklch(0.40 0.06 80);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.demo-banner .shell {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 34px; flex-wrap: wrap; text-align: center;
  padding-top: 4px; padding-bottom: 4px;
}
.demo-banner strong { font-weight: 700; }
.demo-banner .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex: none;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---- 列頂資訊列 ---- */
.utility-bar {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--muted);
}
.utility-bar .shell {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; min-height: 36px; flex-wrap: wrap;
}
.utility-links { display: flex; gap: 16px; align-items: center; }
.utility-links a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.utility-links a:hover { color: var(--pine); }
.utility-links svg { width: 14px; height: 14px; }

/* ---- 主導覽 ---- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: oklch(1 0 0 / 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 78px;
  width: min(1280px, calc(100% - 40px));
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: none; }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--pine), var(--pine-ink));
  display: grid; place-items: center;
  color: #fff;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-copy { line-height: 1.25; min-width: 0; }
.brand-copy strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 900; color: var(--ink);
  white-space: nowrap;
}
.brand-copy span {
  display: block;
  font-size: 10.5px; letter-spacing: 0.22em;
  color: var(--muted); text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text);
  white-space: nowrap;
}
.nav > a:hover { background: var(--pine-soft); color: var(--pine-deep); }
.nav > a[aria-current="page"] {
  color: var(--accent-orange-ink); font-weight: 800;
  background: var(--accent-orange);
}
.nav-cta {
  margin-left: 10px;
  height: 40px; padding: 0 20px !important;
  background: var(--pine-btn); color: #fff !important;
  font-weight: 700;
}
.nav-cta:hover { background: var(--pine-deep) !important; }

.nav-member {
  margin-left: 10px;
  min-height: 40px; padding: 8px 16px;
  border: 0; border-radius: 8px;
  background: var(--accent-orange); color: var(--accent-orange-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 14px; font-weight: 800; line-height: 1.25;
  text-align: center; white-space: nowrap;
}
.nav-member[disabled] { opacity: 1; cursor: not-allowed; }

.nav-admin {
  margin-left: 8px;
  min-height: 40px; padding: 8px 16px;
  border: 1px solid rgba(15, 23, 42, 0.15); border-radius: 8px;
  background: #111827; color: #ffffff !important;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-size: 14px; font-weight: 800; line-height: 1.25;
  text-align: center; white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  text-decoration: none !important;
  transition: all 0.15s ease-in-out;
}
.nav-admin:hover {
  background: #1f2937 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px; flex: none;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--paper); cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch;
    gap: 2px; padding: 10px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav > a { padding: 11px 12px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-member { margin: 8px 0 0; width: 100%; }
  .nav-admin { margin: 8px 0 0; width: 100%; }
}

/* ---- 按鈕 ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 46px; padding: 0 26px;
  border-radius: 9px;
  background: var(--pine-btn); color: #fff;
  font-family: var(--font-sans);
  font-size: 14.5px; font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { background: var(--pine-deep); color: #fff; box-shadow: var(--shadow-lift); }
.btn.ghost {
  background: transparent; color: var(--pine-deep);
  border-color: var(--pine);
}
.btn.ghost:hover { background: var(--pine-soft); box-shadow: none; }
.btn.light { background: #fff; color: var(--pine-ink); }
.btn.light:hover { background: var(--pine-soft); }
.btn.small { min-height: 38px; padding: 0 18px; font-size: 13.5px; }
.btn svg { width: 16px; height: 16px; }

/* ---- 區段 ---- */
section { padding: 72px 0; }
section.tint { background: var(--paper); border-block: 1px solid var(--line); }
section.cream { background: var(--cream); border-block: 1px solid oklch(0.92 0.025 90); }

.num {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
h2.sec {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 31px);
  line-height: 1.35; font-weight: 900;
  color: var(--ink);
  margin-bottom: 14px;
  text-wrap: balance;
}
.lead {
  max-width: 640px;
  color: var(--muted); font-size: 15.5px;
  margin-bottom: 0;
}
.sec-head { margin-bottom: 36px; }
.sec-head.center { text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--gold-deep); text-transform: uppercase;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1.5px; background: var(--gold);
}

/* ---- 首頁 Hero ---- */
.hero {
  background: var(--accent-orange);
  color: var(--accent-orange-ink);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M30 96c0-18 8-30 8-48s-6-26-2-40'/%3E%3Cpath d='M38 96c6-16 18-24 34-26M38 70c-10-4-18-12-20-24M38 52c8-8 20-12 32-10M44 26c-2-6 0-12 4-16'/%3E%3Cpath d='M86 100c0-14 6-24 6-38s-4-22-2-34'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .shell { position: relative; z-index: 1; padding: 84px 0 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.26em;
  color: oklch(0.88 0.09 75);
  margin-bottom: 22px;
}
.hero-kicker::before,
.hero-kicker::after { content: ''; width: 30px; height: 1.5px; background: oklch(0.75 0.15 70); }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(31px, 5vw, 48px);
  line-height: 1.26; font-weight: 900;
  max-width: 640px;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero .sub {
  max-width: 560px;
  font-size: 16px;
  color: #5A3410;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 64px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(0.95 0.02 165 / 0.22);
  font-size: 13px; color: oklch(0.94 0.015 75);
}
.trust-chip svg { width: 14px; height: 14px; color: oklch(0.88 0.09 75); }

.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid oklch(0.50 0.10 55);
}
.hero-facts > div { padding: 24px 0 30px; }
.hero-facts > div + div { border-left: 1px solid oklch(0.50 0.10 55); padding-left: 30px; }
.hero-facts strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 27px; font-weight: 900; color: var(--accent-orange-ink);
}
.hero-facts span { font-size: 12.5px; color: #5A3410; }
@media (max-width: 760px) {
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts > div:nth-child(3) { border-left: none; padding-left: 0; }
  .hero-facts > div:nth-child(n+3) { border-top: 1px solid oklch(0.50 0.10 55); }
  .hero-facts > div + div { padding-left: 20px; }
}

/* ---- 分類入口 ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.cat-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 20px 18px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: oklch(0.82 0.06 70);
}
.cat-tile .cat-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--pine-soft);
  color: var(--pine-deep);
  display: grid; place-items: center;
}
.cat-tile .cat-icon svg { width: 23px; height: 23px; }
.cat-tile strong { font-size: 14.5px; color: var(--ink); font-weight: 700; line-height: 1.4; }
.cat-tile span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cat-tile .cat-arrow {
  margin-top: auto;
  font-size: 12.5px; font-weight: 700; color: var(--gold-deep);
}
@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- 商品卡 ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product-card > a { display: flex; flex-direction: column; flex: 1; color: inherit; }

/* 商品詳情：訪客當日瀏覽紀錄（只存本機，隔日重置） */
.recently-viewed {
  margin-top: 44px;
  padding: 38px 0 0;
  border-top: 1px solid var(--line);
}
.recently-viewed .sec-head { margin-bottom: 24px; }
.recently-viewed-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.recently-viewed-empty {
  margin: 0;
  padding: 18px 20px;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}
.recently-viewed .btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.ph-art {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  position: relative;
  background:
    radial-gradient(240px 120px at 30% 20%, oklch(0.97 0.02 120 / 0.9), transparent 70%),
    linear-gradient(155deg, oklch(0.96 0.02 80), oklch(0.93 0.03 75));
  border-bottom: 1px solid var(--line-soft);
}
.ph-art::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke='%232f5f53' stroke-opacity='0.07'%3E%3Crect x='14' y='14' width='52' height='52' rx='8'/%3E%3Ccircle cx='104' cy='40' r='18'/%3E%3Cpath d='M14 104h52v22H14zM86 86l36 36M122 86l-36 36'/%3E%3C/g%3E%3C/svg%3E");
}
.ph-art svg { width: 64px; height: 64px; color: var(--pine); opacity: 0.85; position: relative; }
.ph-art .product-card__image { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 0; }
.ph-art .art-tag {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: 999px;
  background: oklch(1 0 0 / 0.92);
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.04em; z-index: 1;
}
.ph-art .art-flag {
  position: absolute; top: 10px; right: 10px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  background: var(--gold-soft); color: var(--gold-deep);
  border: 1px solid oklch(0.88 0.05 90); z-index: 1;
}
.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body .p-cat { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-deep); }
.product-body h3 {
  font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.5;
}
.product-body .p-desc {
  font-size: 12.5px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta {
  margin-top: auto; padding-top: 10px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed var(--line);
}
.product-meta .moq { font-size: 12px; color: var(--muted); }
.product-meta .moq b { color: var(--pine-deep); font-size: 13px; }
.product-meta .go {
  font-size: 12.5px; font-weight: 700; color: var(--pine);
  display: inline-flex; align-items: center; gap: 4px;
}

/* ---- 服務保證 ---- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card {
  padding: 24px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.value-card .v-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--pine-soft); color: var(--pine-deep);
  display: grid; place-items: center; margin-bottom: 14px;
}
.value-card .v-icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---- 詢價流程 ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  position: relative;
  padding: 26px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.step-card::before {
  content: counter(step, cjk-ideographic);
  position: absolute; top: -16px; left: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--pine-btn); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 900; font-size: 16px;
  border: 3px solid var(--wash);
}
.steps { padding-top: 16px; }
.step-card h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; margin-top: 6px; }
.step-card p { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ---- 最新消息 ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.news-card .news-date {
  padding: 14px 18px 0;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--muted);
}
.news-card .news-date b {
  font-family: var(--font-serif);
  font-size: 15px; color: var(--pine-deep);
}
.news-card .news-tag {
  padding: 2px 9px; border-radius: 999px;
  background: var(--pine-soft); color: var(--pine-deep);
  font-size: 11px; font-weight: 700;
}
.news-card .news-body { padding: 10px 18px 18px; }
.news-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.55; margin-bottom: 6px; }
.news-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---- CTA 帶 ---- */
.cta-band {
  background: var(--accent-orange);
  color: var(--accent-orange-ink);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 900; margin-bottom: 12px;
}
.cta-band p { color: #5A3410; margin-bottom: 26px; }
.cta-band .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---- 頁首（內頁） ---- */
.page-head {
  background: var(--accent-orange);
  color: var(--accent-orange-ink);
  padding: 46px 0 42px;
}
.page-head .num { color: #6D3908; }
.page-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 900; margin-bottom: 10px;
}
.page-head p { color: #5A3410; max-width: 620px; }
.page-head .crumbs, .page-head .crumbs a, .page-head .crumbs b { color: #4A2B0A; }
.page-head .crumbs .sep { color: #5E360E; } /* 原 #8A551E 配橘底僅 3.05:1，加深至約 5:1 */

.crumbs {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 14px 0 0;
  font-size: 12.5px; color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--pine); }
.crumbs .sep { color: var(--line); }
.crumbs b { color: var(--ink); font-weight: 600; }

/* ---- 商品頁工具列 ---- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.search-box {
  display: flex; align-items: center; gap: 8px;
  flex: 1; min-width: 220px;
  border: 1px solid var(--line); border-radius: 9px;
  padding: 0 12px; height: 42px;
  background: var(--wash);
}
.search-box:focus-within { border-color: var(--pine); background: #fff; }
.search-box svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.search-box input {
  border: none; outline: none; background: transparent;
  font-family: var(--font-sans); font-size: 14px; color: var(--text);
  width: 100%;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px; padding: 0 16px;
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--pine); color: var(--pine-deep); }
.chip.on {
  background: var(--accent-orange); border-color: var(--accent-orange-deep);
  color: var(--accent-orange-ink); font-weight: 800;
}
.chip small { font-weight: 400; opacity: 0.75; }
.result-note { font-size: 13px; color: var(--muted); margin: 0 0 14px 4px; }
.result-note b { color: var(--pine-deep); }
.empty-note {
  padding: 48px 20px; text-align: center;
  background: var(--paper); border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted); font-size: 14px;
}

/* ---- 商品詳情 ---- */
.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
@media (max-width: 900px) { .pd-layout { grid-template-columns: 1fr; } }
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }
.pd-gallery .ph-art { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-thumb {
  aspect-ratio: 4 / 3; border-radius: 9px;
  border: 1px solid var(--line);
  background:
    radial-gradient(140px 70px at 35% 25%, oklch(0.965 0.02 130 / 0.9), transparent 70%),
    linear-gradient(155deg, oklch(0.95 0.02 80), oklch(0.92 0.03 75));
  display: grid; place-items: center;
  cursor: pointer;
}
.pd-thumb svg { width: 30px; height: 30px; color: var(--pine); opacity: 0.7; }
.pd-thumb.on { border: 2px solid var(--pine); }

.pd-info h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 900; color: var(--ink);
  margin: 6px 0 12px;
}
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
  background: var(--pine-soft); color: var(--pine-deep);
}
.tag.gold { background: var(--gold-soft); color: var(--gold-deep); }
.tag.line { background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.pd-price-note {
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pine);
  border-radius: 8px;
  font-size: 13.5px; color: var(--text);
  margin-bottom: 18px;
}
.pd-price-note b { color: var(--pine-deep); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 22px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td {
  text-align: left; vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.spec-table th {
  width: 118px;
  color: var(--muted); font-weight: 500;
  white-space: nowrap;
}
.spec-table td { color: var(--text); }

.tier-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tier-table th, .tier-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.tier-table thead th {
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--muted); font-weight: 700;
  border-bottom: 1.5px solid var(--line);
}
.tier-table td b { color: var(--pine-deep); }
.tier-table .dim { color: var(--muted); }

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.info-card h3 {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.info-card h3 svg { width: 18px; height: 18px; color: var(--gold-deep); }
.info-card p, .info-card li { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.info-card ul { display: grid; gap: 4px; }
.info-card ul li { padding-left: 18px; position: relative; }
.info-card ul li::before {
  content: ''; position: absolute; left: 2px; top: 0.72em;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--gold);
}
.pd-sections { margin-top: 40px; display: grid; gap: 18px; }
.diecut-card {
  border-color: color-mix(in oklch, var(--accent-orange) 55%, var(--line));
  background: var(--accent-orange-soft);
}
.diecut-card h3 { color: var(--accent-orange-ink); }
.diecut-status {
  display: inline-flex; align-items: center; justify-content: center;
  margin: 2px 0 12px; padding: 4px 10px;
  border-radius: 999px; background: var(--accent-orange);
  color: var(--accent-orange-ink); font-size: 12px; font-weight: 800;
}
.diecut-card .diecut-note { color: var(--text); font-size: 14px; }
.diecut-card .diecut-demo-note { margin-top: 10px; font-size: 12.5px; }

/* ---- 表單 ---- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 34px 30px;
}
@media (max-width: 640px) { .form-card { padding: 24px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px; font-weight: 700; color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
}
.field label .req { color: var(--gold-deep); }
.field label .opt { font-weight: 400; color: var(--muted); font-size: 12px; }
.field input, .field select, .field textarea {
  font-family: var(--font-sans);
  font-size: 14px; color: var(--text);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pine);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--wash);
  font-size: 13.5px; cursor: pointer;
}
.radio-pill input { accent-color: var(--pine); margin: 0; }
.radio-pill:has(input:checked) {
  border-color: var(--pine);
  background: var(--pine-soft);
  color: var(--pine-deep); font-weight: 700;
}
.upload-zone {
  border: 1.5px dashed oklch(0.85 0.04 75);
  border-radius: var(--radius);
  background: var(--wash);
  padding: 26px 20px;
  text-align: center;
  color: var(--muted); font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.upload-zone:hover { border-color: var(--pine); background: var(--pine-soft); }
.upload-zone svg { width: 26px; height: 26px; color: var(--pine); margin: 0 auto 8px; }
.form-actions {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.form-note { font-size: 12.5px; color: var(--muted); }
.form-ok {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 9px;
  background: var(--pine-soft);
  border: 1px solid oklch(0.86 0.05 72);
  color: var(--pine-deep);
  font-size: 13.5px; line-height: 1.7;
}
.form-ok.show { display: block; }

/* ---- FAQ ---- */
.qa-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
details.qa {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
details.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px;
  font-size: 15px; font-weight: 700; color: var(--ink);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .q-sign {
  flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pine-soft); color: var(--pine-deep);
  font-weight: 900; font-size: 15px;
  transition: transform 0.2s ease;
}
details.qa[open] summary .q-sign { transform: rotate(45deg); background: var(--pine-btn); color: #fff; }
details.qa .qa-body { padding: 0 20px 18px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
details.qa .qa-body a { font-weight: 700; }

/* ---- 頁尾 ---- */
footer {
  background: var(--pine-ink);
  color: oklch(0.86 0.015 72);
  padding: 52px 0 0;
  margin-top: 72px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 40px;
}
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand .brand-mark { width: 44px; height: 44px; }
.foot-brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 900; color: #fff;
}
.foot-brand span { font-size: 10.5px; letter-spacing: 0.22em; color: oklch(0.68 0.035 70); text-transform: uppercase; }
footer h4 {
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: 0.1em; margin-bottom: 14px;
}
footer li { font-size: 13px; padding: 3px 0; }
footer li a { color: oklch(0.86 0.015 72); }
footer li a:hover { color: #fff; }
.foot-note { font-size: 12.5px; line-height: 1.8; color: oklch(0.74 0.03 70); }
/* issue #56：頁尾公司簡介下方的公司標語（客戶提供圖檔「用心看世界，開創新視界」）
   issue #58：改透明背景 PNG 直接壓頁尾底色（去黑底、去外框），
   並縮小到與右側「商品分類／服務說明」清單高度相稱、不超出範圍
   issue #64：客戶反映仍超出底部範圍、希望再縮小，且圖片下方要與右側文字區塊
   底部對齊——再縮 max-width 232→200px，左欄改 flex 讓標語 margin-top:auto
   推到欄底、與同列最高欄（右側清單）底部對齊；窄版單欄時 auto 歸零、
   由 padding-top 保留與上方文字的間距 */
.foot-grid > div:first-child { display: flex; flex-direction: column; }
.foot-slogan {
  display: block; width: auto; max-width: 200px; height: auto;
  margin-top: auto; padding-top: 14px;
}
.foot-contact li { display: flex; gap: 8px; align-items: baseline; }
.foot-contact svg { width: 14px; height: 14px; flex: none; transform: translateY(2px); color: oklch(0.72 0.06 70); }
.foot-bottom {
  border-top: 1px solid oklch(0.38 0.06 55);
  padding: 18px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: oklch(0.64 0.03 70);
}
.foot-bottom .demo-flag { color: var(--accent-orange-ink); }
.foot-bottom-meta { display: inline-flex; align-items: center; gap: 8px; }
.foot-admin-sep { opacity: 0.4; user-select: none; }
.foot-admin-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: inherit !important; opacity: 0.55; text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.foot-admin-link:hover {
  opacity: 1; text-decoration: underline;
}
.foot-admin-link svg { transform: translateY(-0.5px); }

/* ---- 淡入 ---- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Hero 多檔輪播（對應參考站首頁宣傳輪播架構） ---- */
.hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.on { display: block; animation: heroIn 0.6s ease; }
@keyframes heroIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-slide h1, .hero-slide .sub { max-width: 640px; }
.hero-slide .sub { margin-bottom: 24px; }
.hero-banner-image { display: block; max-width: 100%; max-height: 320px; object-fit: contain; margin-bottom: 24px; }
.hero-dots { display: flex; gap: 8px; margin: 0 0 30px; }
.hero-dots button {
  width: 34px; height: 5px; border-radius: 999px;
  border: none; cursor: pointer; padding: 0;
  background: oklch(0.45 0.10 60);
  transition: background 0.2s ease;
}
.hero-dots button.on { background: oklch(0.88 0.09 75); }
@media (prefers-reduced-motion: reduce) { .hero-slide.on { animation: none; } }

/* ---- 最新商品（NEW ARRIVALS）橫向列 ---- */
.new-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 980px) { .new-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---- 商品頁：分層導覽（主要分類／精選專區／熱門標籤） ---- */
.facet-block { margin-bottom: 14px; }
.facet-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 8px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud .tag-pill {
  padding: 5px 13px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--text); cursor: pointer;
}
.tag-cloud .tag-pill::before { content: '# '; color: var(--gold-deep); font-weight: 700; }
.tag-cloud .tag-pill:hover { border-color: var(--pine); color: var(--pine-deep); }

/* ---- 詢價頁：分眾選擇＋賣點 ---- */
.audience-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 640px) { .audience-row { grid-template-columns: 1fr; } }
.audience-card {
  display: block; padding: 18px 20px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.audience-card input { position: absolute; opacity: 0; pointer-events: none; }
.audience-card strong { display: block; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.audience-card span { font-size: 12.5px; color: var(--muted); line-height: 1.65; display: block; }
.audience-card:has(input:checked) { border-color: var(--pine); background: var(--pine-soft); }
.audience-card:has(input:checked) strong { color: var(--pine-deep); }
.sellpoint-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; }
@media (max-width: 980px) { .sellpoint-grid { grid-template-columns: repeat(2, 1fr); } }
.sellpoint {
  padding: 16px 16px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.sellpoint strong { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 3px; }
.sellpoint span { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---- 關於頁 ---- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-fact {
  padding: 18px 18px 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.about-fact strong { display: block; font-family: var(--font-serif); font-size: 19px; color: var(--pine-deep); }
.about-fact span { font-size: 12.5px; color: var(--muted); }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line); padding-left: 22px; margin: 8px 0 0; }
.timeline > div { position: relative; padding: 0 0 22px; }
.timeline > div::before {
  content: ''; position: absolute; left: -28px; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--wash); border: 2.5px solid var(--pine);
}
.timeline b { display: block; font-size: 13px; color: var(--gold-deep); letter-spacing: 0.06em; }
.timeline p { font-size: 13px; color: var(--muted); margin: 2px 0 0; }

/* ---- 浮動留言反映按鈕與彈窗 ---- */
.fb-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  height: 48px; padding: 0 20px;
  border-radius: 999px;
  background: var(--pine-btn); color: #fff;
  border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 20px oklch(0.25 0.05 170 / 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}
.fb-launcher:hover { background: var(--pine-deep); transform: translateY(-2px); }
.fb-launcher svg { width: 18px; height: 18px; }
@media (max-width: 480px) { .fb-launcher { right: 14px; bottom: 14px; padding: 0 16px; } }

.fb-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: oklch(0.2 0.03 170 / 0.45);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.fb-overlay.open { display: flex; }
.fb-modal {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  padding: 26px 26px 24px;
}
.fb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.fb-head h2 { font-family: var(--font-serif); font-size: 19px; font-weight: 900; color: var(--ink); margin: 0; }
.fb-close {
  width: 34px; height: 34px; flex: none;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--wash); color: var(--muted); cursor: pointer;
  font-size: 16px; line-height: 1;
}
.fb-close:hover { color: var(--ink); border-color: var(--muted); }
.fb-modal .fb-sub { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; }
.fb-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.fb-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.fb-field label small { font-weight: 400; color: var(--muted); }
.fb-field input, .fb-field select, .fb-field textarea {
  font-family: var(--font-sans); font-size: 14px; color: var(--text);
  background: var(--wash); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px;
}
.fb-field input:focus, .fb-field select:focus, .fb-field textarea:focus { outline: none; border-color: var(--pine); background: #fff; }
.fb-field textarea { min-height: 110px; resize: vertical; }
.fb-page-note {
  font-size: 12px; color: var(--muted);
  background: var(--pine-soft); border-radius: 7px; padding: 7px 11px;
  word-break: break-all;
}
.fb-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.fb-actions { display: flex; gap: 10px; margin-top: 4px; }
.fb-msg { font-size: 13px; margin: 10px 0 0; display: none; }
.fb-msg.ok { display: block; color: var(--pine-deep); background: var(--pine-soft); border-radius: 7px; padding: 9px 12px; }
.fb-msg.err { display: block; color: oklch(0.45 0.13 40); background: oklch(0.95 0.03 40); border-radius: 7px; padding: 9px 12px; }

/* ---- AI 留言反映：對話介面 ---- */
.fb-ai-badge {
  display: inline-block; vertical-align: 4px; margin-left: 6px;
  padding: 2px 9px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold-deep);
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
}
.fb-chat-modal { width: min(560px, 100%); display: flex; flex-direction: column; padding: 24px 22px 18px; }
.fb-chat {
  flex: 1; min-height: 240px; max-height: 46vh;
  overflow-y: auto; padding: 4px 2px 10px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--wash);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 14px 12px;
}
.fb-bubble { max-width: 86%; display: flex; flex-direction: column; gap: 3px; }
.fb-bubble.fb-ai { align-self: flex-start; }
.fb-bubble.fb-me { align-self: flex-end; }
.fb-bubble-text {
  padding: 10px 13px; border-radius: 13px;
  font-size: 13.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-word;
}
.fb-ai .fb-bubble-text { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--text); }
.fb-me .fb-bubble-text { background: var(--pine-btn); color: #fff; border-top-right-radius: 4px; }
.fb-bubble-time { font-size: 10.5px; color: var(--muted); padding: 0 4px; }
.fb-typing { color: var(--muted); font-size: 12.5px; padding: 8px 12px; }
.fb-inputbar { display: flex; gap: 8px; margin-top: 12px; align-items: flex-end; }
.fb-inputbar textarea {
  flex: 1; resize: none;
  font-family: var(--font-sans); font-size: 13.5px; color: var(--text);
  background: var(--wash); border: 1px solid var(--line); border-radius: 9px;
  padding: 10px 12px; min-height: 42px; max-height: 120px; line-height: 1.5;
}
.fb-inputbar textarea:focus { outline: none; border-color: var(--pine); background: #fff; }
.fb-inputbar .btn { min-height: 42px; padding: 0 18px; font-size: 13.5px; flex: none; }
.fb-footbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.fb-turns { font-size: 11.5px; color: var(--muted); }
@media (max-width: 480px) {
  .fb-chat-modal { padding: 18px 14px 14px; }
  .fb-bubble { max-width: 92%; }
}

/* ---- AI 留言反映：圖片附加 ---- */
.fb-attach {
  flex: none; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 9px;
  background: var(--wash); color: var(--muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.fb-attach:hover { color: var(--pine-deep); border-color: var(--pine); }
.fb-attach svg { width: 18px; height: 18px; }
.fb-attach-preview {
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px; padding: 8px 10px;
  background: var(--pine-soft); border: 1px solid oklch(0.89 0.045 72);
  border-radius: 9px; font-size: 12.5px; color: var(--pine-deep);
}
.fb-attach-preview img {
  width: 52px; height: 52px; object-fit: cover;
  border-radius: 7px; border: 1px solid var(--line);
}
.fb-attach-preview span { flex: 1; }
.fb-attach-preview button {
  flex: none; width: 26px; height: 26px; border-radius: 7px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer;
}
.fb-attach-preview button:hover { color: oklch(0.45 0.13 40); border-color: oklch(0.7 0.1 40); }
.fb-bubble-img {
  max-width: 230px; max-height: 180px; border-radius: 10px;
  border: 1px solid oklch(0.86 0.015 72); display: block; margin-bottom: 4px;
  background: #fff;
}

/* ============================================================
   2026-08-19 新增（GitHub issues #5 #7 #8 #9）
   浮動連結／子分類／成果展示／商品介紹／詢價帶入／聯絡清單
   ============================================================ */

/* ---- 右側浮動快速連結（issue #7） ---- */
#xcFloatRail {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px; z-index: 60;
}
#xcFloatRail a {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #fff;
  box-shadow: 0 3px 12px oklch(0.45 0.10 60 / 0.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
#xcFloatRail a svg { width: 24px; height: 24px; }

/* 品牌配色圓鈕（issue #21：客戶要求改用各平台官方色圖示，較直覺） */
#xcFloatRail a[data-brand="line"] { background: #06C755; }
#xcFloatRail a[data-brand="fb"] { background: #1877F2; }
#xcFloatRail a[data-brand="ig"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
#xcFloatRail a[data-brand="messenger"] {
  background: radial-gradient(circle at 30% 107%, #00B2FF 0%, #006AFF 60%, #0099FF 100%);
}
#xcFloatRail a[data-brand="email"] { background: var(--pine-deep); }
#xcFloatRail a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px oklch(0.45 0.10 60 / 0.26); }
@media (max-width: 900px) {
  #xcFloatRail { right: 8px; }
  #xcFloatRail a { width: 40px; height: 40px; }
  #xcFloatRail a svg { width: 21px; height: 21px; }
}
@media (max-width: 620px) {
  #xcFloatRail {
    position: static; transform: none; flex-direction: row;
    justify-content: center; flex-wrap: wrap; padding: 16px;
  }
}

/* ---- 示範橫幅內社群連結（issue #9 改版資訊） ---- */
.demo-socials { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; margin-left: 10px; }
.demo-socials a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .demo-socials { display: block; margin: 6px 0 0; } }

/* ---- 種類分類（子分類列，issue #5） ---- */
.subcat-block { border-left: 3px solid var(--pine); padding-left: 12px; }
.subcat-row .chip.sub { font-size: 12.5px; padding: 5px 12px; background: oklch(0.97 0.03 78); }
.subcat-row .chip.sub.on { background: var(--accent-orange); border-color: var(--accent-orange-deep); color: var(--accent-orange-ink); }

/* ---- 成果展示（issue #7 建立；issue #33 客戶指定改用 B 款版型） ----
   B 款（ui-b/index.html「05 成果展示」）的版型特徵：
     1. 固定 3 欄網格、gap 16px（原本是 auto-fill minmax(240px)，欄數會隨寬度浮動）
     2. 定高 180px 的案例圖帶（原本是 aspect-ratio 4/3）
     3. 卡片文字區為「標題 + 單行說明」的兩段式（原本是 tag/日期/標題/內文四段）
   ui-b 是 canvas 匯出的 inline 樣式且僅含桌機版；此處以現行版的設計系統
   （品牌色票變數、既有圓角與陰影層級、既有斷點慣例）重寫，並補上 900/430
   兩個斷點的欄數收斂，避免直接貼上異質樣式。 */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.works-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 3px oklch(0.25 0.04 55 / 0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.works-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.works-art {
  position: relative; margin: 0; height: 180px; background: oklch(0.96 0.035 75);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.works-art svg { width: 46px; height: 46px; color: var(--pine); opacity: 0.55; }
.works-art-label { font-size: 11px; letter-spacing: 0.08em; color: var(--pine-ink); }
.works-date {
  position: absolute; top: 10px; right: 10px;
  font-size: 11px; font-weight: 700; color: var(--pine-ink);
  background: oklch(1 0 0 / 0.92); border-radius: 999px; padding: 2px 9px;
}
.works-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; }
.works-body h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0; }
.works-meta { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.7; }
.works-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  background: oklch(0.95 0.045 75); color: var(--pine-ink);
  border-radius: 999px; padding: 1px 9px; margin-right: 6px;
}
@media (max-width: 980px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .works-grid { grid-template-columns: 1fr; } }

/* ---- issue #59：works 型錄卡變體（正方形圖、無標題、無連結、LINE 詢價鈕） ---- */
.works-card--product { cursor: default; }
.works-card--product:hover { transform: none; box-shadow: 0 1px 3px oklch(0.25 0.04 55 / 0.07); } /* 中和假可點的 hover */
.works-art--square { aspect-ratio: 1 / 1; height: auto; } /* 客戶要求正方形、不要橫長形 */
.works-fields { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.works-fields > div { display: flex; gap: 8px; align-items: baseline; }
.works-fields dt {
  flex: none; font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  background: oklch(0.95 0.045 75); color: var(--pine-ink);
  border-radius: 999px; padding: 1px 9px;
}
.works-fields dd { margin: 0; font-size: 13px; color: var(--text); line-height: 1.7; }
.works-line-btn {
  margin-top: 10px; align-self: stretch; justify-content: center;
  background: #06C755; border-color: #06C755; color: #fff; /* LINE 品牌綠 */
}
.works-line-btn:hover { background: #05a648; border-color: #05a648; color: #fff; }

/* ---- 商品介紹區塊（issue #8：條件式顯示） ---- */
.pd-intro-block { border-top: 1px dashed var(--line-soft); padding: 14px 0 6px; margin-top: 12px; }
.pd-intro-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 4px; }
.pd-intro-block h4 {
  font-size: 14px; margin: 0 0 6px; color: var(--pine-deep);
  display: flex; align-items: center; gap: 8px;
}
.pd-intro-block h4::before {
  content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--pine);
  display: inline-block;
}
.pd-intro-block .note-body { font-size: 13.5px; line-height: 1.7; color: var(--ink-soft, #444); }
.color-dots { display: flex; gap: 8px; margin: 10px 0 2px; }
.color-dots span { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-soft); }

/* ---- 詢價表單：帶入提示卡（issue #5） ---- */
.brought-card {
  background: oklch(0.96 0.04 75); border: 1px solid oklch(0.87 0.07 70);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 18px;
  font-size: 13.5px; line-height: 1.7;
}
.brought-card strong { color: var(--pine-deep); }
.hint-inline { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 6px; }

/* ---- 關於頁聯絡清單（issue #7） ---- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; font-size: 14px; }
.contact-list b {
  min-width: 88px; color: var(--pine-deep); font-size: 12.5px;
  background: oklch(0.96 0.035 75); border-radius: 6px; padding: 3px 8px; text-align: center;
}
.contact-list a { font-weight: 700; }

/* ---- 客戶官方 LOGO（2026-08-19，官網改版LOGO.ai 轉出） ---- */
.brand-logo { display: block; height: 56px; width: auto; max-width: none; }
.foot-logo { display: block; height: 48px; width: auto; margin-bottom: 6px; }
@media (max-width: 720px) {
  .brand-logo { height: 42px; }
  .foot-logo { height: 40px; }
}
.about-logo-show {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 18px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.about-logo-show img { height: 56px; width: auto; }
.about-logo-show figcaption { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ---- 頁尾配色（issue #15：客戶指定橘 M50 Y100＝#FF8000，深棕文字保對比） ---- */
footer {
  background: #FF8000;
  color: oklch(0.30 0.07 50);
}
footer h4 { color: oklch(0.24 0.09 50); }
footer li a { color: oklch(0.28 0.08 50); }
footer li a:hover { color: oklch(0.20 0.09 50); text-decoration: underline; }
.foot-brand span { color: oklch(0.36 0.07 50); }
.foot-note { color: oklch(0.34 0.06 50); }
.foot-contact svg { color: oklch(0.30 0.08 50); }
.foot-contact a { color: oklch(0.26 0.08 50); font-weight: 700; }
footer .foot-bottom { border-top: 1px solid oklch(0.40 0.09 50 / 0.45); color: oklch(0.28 0.06 50); }
footer .foot-logo { background: #fff; padding: 6px 10px; border-radius: 8px; }

/* ---- 十分蓮花專區橫幅（issue #14：客戶 LOGO＋參考 smartlotus.store） ---- */
.lotus-hero {
  background:
    radial-gradient(600px 240px at 12% 0%, oklch(0.93 0.04 350 / 0.7), transparent 70%),
    linear-gradient(150deg, oklch(0.965 0.022 350), oklch(0.955 0.018 330));
  border-bottom: 1px solid oklch(0.88 0.03 350);
}
.lotus-hero-in {
  display: flex; gap: 30px; align-items: center; padding: 34px 0; flex-wrap: wrap;
}
.lotus-logo-img { height: 108px; width: auto; flex: none; }
.lotus-hero-text { min-width: 260px; flex: 1; }
.lotus-patent {
  display: inline-block; font-size: 12px; font-weight: 700;
  background: oklch(0.90 0.05 350); color: oklch(0.35 0.09 10);
  border: 1px solid oklch(0.82 0.06 350); border-radius: 999px; padding: 3px 12px;
  margin-bottom: 10px;
}
.lotus-hero-text h2 {
  font-family: var(--font-serif); font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 900; color: var(--ink); margin-bottom: 8px;
}
.lotus-hero-text p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.8; }

/* ---- 影音專區（issue #16：首頁影音區塊，檔案上傳播放） ---- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.video-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.video-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px oklch(0.45 0.10 60 / 0.14); }
.video-card video {
  width: 100%; aspect-ratio: 16 / 9; display: block;
  background: var(--pine-ink); object-fit: cover;
}
.video-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.video-date { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.video-body h3 {
  font-family: var(--font-serif); font-size: 17px; font-weight: 800;
  color: var(--ink); margin: 0; line-height: 1.5;
}
.video-body p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.8; }
@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ---- 政策條文小標（issue #11：服務聲明分節） ---- */
.policy-sub {
  font-size: 14px; font-weight: 800; color: var(--pine-deep);
  margin: 16px 0 6px; letter-spacing: 0.01em;
}

/* ---- 詢價表單：後加工複選與配送地點快捷（issues #17 #19） ---- */
.area-row { margin-top: 8px; gap: 6px; flex-wrap: wrap; }
.area-row .chip { font-size: 12px; padding: 4px 12px; }
#qFinishRow { gap: 8px; flex-wrap: wrap; }
#qFinishRow.need-pick {
  outline: 2px solid #d98f6f; outline-offset: 4px; border-radius: 10px;
}
#qFinishRow.need-pick::after {
  content: '請至少勾選一項（不需要後加工也請勾選）';
  display: block; width: 100%; font-size: 12.5px; color: #8c3d22; margin-top: 4px;
}

/* ---- Email 詢價提示（issue #19） ---- */
.email-tip {
  margin-top: 10px; font-size: 13px; color: var(--pine-deep);
  background: oklch(0.96 0.03 150); border: 1px solid var(--line-soft);
  border-radius: 8px; padding: 8px 12px;
}
.email-tip a { color: var(--pine); font-weight: 700; }

/* ============================================================
   客戶回饋 #27：主視覺改用既有明亮橘色，文字改深棕維持可讀性。
   頁尾沿用 #FFA726 明亮黃橘。
   ============================================================ */
.hero {
  background: var(--accent-orange);
}
.hero-kicker { color: #5A3410; }
.hero-kicker::before,
.hero-kicker::after { background: #6D3908; }
.hero .btn.ghost { border-color: var(--accent-orange-ink) !important; color: var(--accent-orange-ink) !important; }
.hero .btn.ghost:hover { background: rgba(255,255,255,.35); }
.trust-chip { background: rgba(255,255,255,.30); border-color: rgba(59,36,8,.35); color: var(--accent-orange-ink); }
.trust-chip svg { color: var(--accent-orange-ink); }

footer {
  background: #FFA726;
  color: oklch(0.32 0.075 55);
}
footer h4 { color: oklch(0.26 0.09 52); }
footer li a { color: oklch(0.30 0.085 52); }
footer li a:hover { color: oklch(0.22 0.09 52); text-decoration: underline; }
.foot-brand span { color: oklch(0.38 0.07 55); }
.foot-note { color: oklch(0.36 0.065 55); }
.foot-contact svg { color: oklch(0.32 0.085 52); }
.foot-contact a { color: oklch(0.28 0.085 52); font-weight: 700; }
footer .foot-bottom { border-top: 1px solid oklch(0.42 0.09 52 / 0.45); color: oklch(0.30 0.07 52); }

/* ============================================================
   十分蓮花專區獨立頁 lotus.html（issue #20）
   客戶指定：獨立於筱草／大豎的專區頁，四區塊＋線上訂購試算
   視覺沿用 #14 已定調的「白淨基底＋蓮花粉紫」，與主站橘綠區隔
   ============================================================ */
.lotus-page {
  --lt-deep: #6b3f7a;
  --lt-mid: #a56bb5;
  --lt-soft: #f6effa;
  --lt-line: #e6d9ee;
  background: #fdfbfe;
}
.lotus-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lt-line);
}
.lotus-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; flex-wrap: wrap; }
.lotus-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lotus-brand img { height: 54px; width: auto; }
.lotus-patent-mini { font-size: 11px; color: var(--lt-deep); font-weight: 700; letter-spacing: 0.02em; }
.lotus-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.lotus-nav a {
  font-size: 14px; font-weight: 700; color: var(--lt-deep);
  padding: 7px 14px; border-radius: 999px; text-decoration: none;
}
.lotus-nav a:hover { background: var(--lt-soft); }

.lotus-cover {
  background: linear-gradient(150deg, #fbf5fd 0%, #f2e6f8 55%, #e9dcf5 100%);
  padding: 66px 0 60px; text-align: center;
}
.lotus-kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.16em; color: var(--lt-deep); margin-bottom: 12px; }
.lotus-cover h1 {
  font-family: var(--font-serif); font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 900; color: var(--lt-deep); line-height: 1.35; margin-bottom: 14px;
}
.lotus-sub { font-size: 15.5px; color: #6a5a72; max-width: 620px; margin: 0 auto 26px; line-height: 1.9; }
.lotus-cover-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lotus-page .btn { background: var(--lt-deep); border-color: var(--lt-deep); }
.lotus-page .btn.ghost { background: transparent; color: var(--lt-deep); border: 1px solid var(--lt-mid); }
.lotus-page .btn.ghost:hover { background: var(--lt-soft); }
/* --lt-mid (#a56bb5) 作為文字色在白底僅 3.80:1、在 --lt-soft 底僅 3.47:1，未達 AA 4.5:1；
   改用 --lt-deep（白底 7.79:1）。同一條規則同時涵蓋獨立頁與 products.html 的當頁載入版。 */
.lotus-page .num, .lotus-zone .num { color: var(--lt-deep); }
.lotus-page .sec { color: var(--lt-deep); }
.lotus-page section.tint { background: var(--lt-soft); }

/* ============================================================
   十分蓮花專區：products.html 當頁載入版（issue #34）
   客戶要求在商品列表頁點「十分蓮花專區」時不跳轉、不另開視窗，
   直接於當頁呈現專區版型與內容。專區色票原本綁在 body.lotus-page，
   這裡讓同一組變數也作用於嵌入用的容器。
   ============================================================ */
.lotus-zone {
  --lt-deep: #6b3f7a;
  --lt-mid: #a56bb5;
  --lt-soft: #f6effa;
  --lt-line: #e6d9ee;
  background: #fdfbfe;
}
.lotus-zone[hidden] { display: none; }
.lotus-zone .btn { background: var(--lt-deep); border-color: var(--lt-deep); }
.lotus-zone .btn.ghost { background: transparent; color: var(--lt-deep); border: 1px solid var(--lt-mid); }
.lotus-zone .btn.ghost:hover { background: var(--lt-soft); }
.lotus-zone .sec { color: var(--lt-deep); }
.lotus-zone section.tint { background: var(--lt-soft); }
/* 主站 topbar 為 sticky，錨點捲動需讓開其高度 */
.lotus-zone section[id] { scroll-margin-top: 96px; }

/* 專區識別列：lotus.html 的 header 是 sticky，但本頁已有主站 sticky topbar，
   兩層 sticky 會互相遮蔽，故此處改為非 sticky 的識別列。 */
.lotus-zone-bar { background: oklch(1 0 0 / 0.94); border-bottom: 1px solid var(--lt-line); }
.lotus-zone-bar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0; flex-wrap: wrap;
}
.lotus-zone-bar .lotus-brand { cursor: default; }
.lotus-zone-back {
  background: var(--paper); border: 1px solid var(--lt-line); color: var(--lt-deep);
  font-family: var(--font-sans); font-size: 13px; font-weight: 700;
  border-radius: 999px; padding: 7px 15px; cursor: pointer;
}
.lotus-zone-back:hover { background: var(--lt-soft); }
@media (max-width: 620px) {
  .lotus-zone-bar-in { gap: 10px; }
  .lotus-zone-bar .lotus-brand img { height: 44px; }
}

.lotus-about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 30px; align-items: start; }
.lotus-about-text p { font-size: 14.5px; line-height: 2; color: #5c5162; margin-bottom: 14px; }
.lotus-feature-list { display: grid; gap: 12px; }
.lotus-feature {
  background: #fff; border: 1px solid var(--lt-line); border-radius: 12px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
}
.lotus-feature b { font-size: 14.5px; color: var(--lt-deep); }
.lotus-feature span { font-size: 13px; color: var(--muted); line-height: 1.8; }

.lotus-news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.lotus-news-item { background: #fff; border: 1px solid var(--lt-line); border-radius: 14px; padding: 18px 20px; }
.lotus-news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lotus-news-tag {
  font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 999px;
  background: var(--lt-soft); color: var(--lt-deep);
}
.lotus-news-meta time { font-size: 12px; color: var(--muted); }
.lotus-news-item h3 { font-size: 16px; font-weight: 800; color: var(--lt-deep); margin-bottom: 6px; }
.lotus-news-item p { font-size: 13.5px; color: var(--muted); line-height: 1.85; margin: 0; }

.lotus-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.lotus-step { background: #fff; border: 1px solid var(--lt-line); border-radius: 14px; padding: 18px 20px; }
.lotus-step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--lt-soft); color: var(--lt-deep);
  font-weight: 900; font-size: 13px; margin-bottom: 10px;
}
.lotus-step b { display: block; font-size: 15px; color: var(--lt-deep); margin-bottom: 6px; }
.lotus-step p { font-size: 13.5px; color: var(--muted); line-height: 1.85; margin: 0; }

.lotus-shop-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.lotus-goods { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.lotus-goods-card {
  background: #fff; border: 1px solid var(--lt-line); border-radius: 14px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 8px;
}
.lotus-goods-art {
  display: grid; place-items: center; min-height: 176px; overflow: hidden;
  border: 1px solid var(--lt-line); border-radius: 11px; background: var(--lt-soft);
}
.lotus-goods-art:hover { border-color: var(--lt-mid); box-shadow: var(--shadow); }
.lotus-goods-art svg { width: 100%; max-height: 176px; }
.lotus-detail-link { font-size: 13px; font-weight: 800; color: var(--lt-deep); }
.lotus-detail-link:hover { text-decoration: underline; }
.lotus-goods-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lotus-sku { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.03em; }
.lotus-sale-flag {
  font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px;
  background: #ffe9ef; color: #b5306a;
}
.lotus-goods-card h3 { font-size: 16px; font-weight: 800; color: var(--lt-deep); margin: 0; line-height: 1.5; }
.lotus-goods-desc { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0; flex: 1; }
.lotus-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lotus-price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.lotus-price-now { font-size: 20px; font-weight: 900; color: #b5306a; font-family: var(--font-serif); }
.lotus-unit { font-size: 12.5px; color: var(--muted); }
.lotus-qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.lotus-qty-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--lt-line);
  background: #fff; color: var(--lt-deep); font-size: 17px; font-weight: 800; cursor: pointer;
}
.lotus-qty-btn:hover { background: var(--lt-soft); }
.lotus-qty-input {
  width: 74px; height: 32px; text-align: center; font-size: 14px; font-weight: 700;
  border: 1px solid var(--lt-line); border-radius: 8px; color: var(--ink);
}

.lotus-order {
  background: #fff; border: 1px solid var(--lt-line); border-radius: 16px;
  padding: 22px 22px 24px; position: sticky; top: 92px;
}
.lotus-order h3 { font-size: 17px; font-weight: 900; color: var(--lt-deep); margin-bottom: 14px; font-family: var(--font-serif); }
.lotus-order-items { display: grid; gap: 8px; margin-bottom: 12px; }
.lotus-empty { font-size: 13px; color: var(--muted); margin: 0; }
.lotus-order-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; align-items: baseline; }
.lotus-order-row span { color: var(--ink); display: flex; flex-direction: column; }
.lotus-order-row i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.lotus-order-row b { color: var(--lt-deep); white-space: nowrap; }
.lotus-total { border-top: 1px dashed var(--lt-line); padding-top: 12px; margin: 0 0 16px; display: grid; gap: 7px; }
.lotus-total > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lotus-total dt { font-size: 13.5px; color: var(--muted); margin: 0; }
.lotus-total dt span { font-size: 11.5px; color: var(--lt-deep); }
.lotus-total dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.lotus-total .grand dt { font-size: 15px; font-weight: 800; color: var(--lt-deep); }
.lotus-total .grand dd { font-size: 20px; font-weight: 900; color: #b5306a; font-family: var(--font-serif); }
.lotus-submit { width: 100%; justify-content: center; margin-top: 6px; }
.lotus-order-note { font-size: 12px; color: var(--muted); line-height: 1.75; margin-top: 10px; }
.lotus-ok {
  margin-top: 12px; font-size: 13.5px; line-height: 1.8;
  background: var(--lt-soft); border: 1px solid var(--lt-line); color: var(--lt-deep);
  border-radius: 10px; padding: 12px 14px;
}
.lotus-ok.warn { background: #fdf1ec; border-color: #e8c3b2; color: #8c3d22; }

.lotus-product-main { padding: 42px 0 72px; }
.lotus-product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr); gap: 34px; align-items: start; }
.lotus-product-art {
  width: 100%; min-height: 420px; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--lt-line); border-radius: 18px; background: var(--lt-soft);
  cursor: zoom-in; overflow: hidden;
}
.lotus-product-art:hover, .lotus-product-art:focus-visible { border-color: var(--lt-mid); box-shadow: var(--shadow-lift); outline: none; }
.lotus-product-art svg { width: 100%; max-height: 520px; }
.lotus-zoom-hint { margin-top: 10px; color: var(--muted); font-size: 12.5px; text-align: center; }
.lotus-product-info { background: #fff; border: 1px solid var(--lt-line); border-radius: 18px; padding: 26px; }
.lotus-product-info h1 { color: var(--lt-deep); font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.35; margin: 8px 0 12px; }
.lotus-product-info .lotus-goods-desc { font-size: 15px; margin-bottom: 18px; }
.lotus-product-info .lotus-price { margin-bottom: 20px; }
.lotus-product-points { display: grid; gap: 8px; margin: 20px 0; }
.lotus-product-points li { padding-left: 20px; position: relative; color: #5c5162; font-size: 13.5px; }
.lotus-product-points li::before { content: '✓'; position: absolute; left: 0; color: var(--lt-mid); font-weight: 900; }
.lotus-product-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.lotus-lightbox { width: min(900px, calc(100% - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 18px; padding: 16px; background: #fff; }
.lotus-lightbox::backdrop { background: rgba(32, 20, 38, .72); }
.lotus-lightbox-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.lotus-lightbox-head strong { color: var(--lt-deep); }
.lotus-lightbox-close { border: 1px solid var(--lt-line); background: #fff; border-radius: 8px; padding: 7px 14px; color: var(--lt-deep); cursor: pointer; }
.lotus-lightbox-art { display: grid; place-items: center; background: var(--lt-soft); border-radius: 12px; overflow: auto; }
.lotus-lightbox-art svg { width: min(760px, 100%); height: auto; }

.lotus-footer { background: var(--lt-deep); color: #f1e6f6; padding: 40px 0 26px; }
.lotus-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; }
.lotus-footer img { background: #fff; border-radius: 10px; padding: 6px 10px; }
.lotus-footer p { font-size: 12.5px; line-height: 1.9; margin-top: 12px; color: #e3d3ec; }
.lotus-footer h4 { font-size: 13px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.lotus-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.lotus-footer a, .lotus-footer span { color: #e3d3ec; font-size: 13px; text-decoration: none; }
.lotus-footer a:hover { color: #fff; text-decoration: underline; }
.lotus-foot-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.22); margin-top: 26px; padding-top: 16px;
  font-size: 12px; color: #dcc9e6;
}
@media (max-width: 900px) {
  .lotus-about-grid, .lotus-shop-layout, .lotus-foot-grid, .lotus-product-layout { grid-template-columns: 1fr; }
  .lotus-order { position: static; }
  .lotus-product-art { min-height: 300px; }
}

/* ============================================================
   issues #49 #50 #51 #45 #42（2026-08-25 客戶反映批次）
   最新消息圖文列表＋內頁、服務指南、主題頁面
   ============================================================ */

/* ---- 最新消息：圖文列表卡（issue #51，參考 smartlotus 圖文樣式） ---- */
.newsx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .newsx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .newsx-grid { grid-template-columns: 1fr; } }
.newsx-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden;
  color: inherit; text-decoration: none;
  box-shadow: 0 1px 3px oklch(0.25 0.04 55 / 0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}
.newsx-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: inherit; }
.newsx-art {
  /* issue #60：列表首圖維持長方形但客戶覺得 2:1（150px 定高）太扁，改 3:2 比例隨卡寬縮放；
     內頁 .newsx-article .newsx-art 的 190px 定高 specificity 較高、不受影響 */
  position: relative; margin: 0; aspect-ratio: 3 / 2; background: oklch(0.96 0.035 75);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.newsx-art[data-cat="knowhow"] { background: oklch(0.965 0.028 95); }
.newsx-art[data-cat="event"] { background: var(--accent-orange-soft); }
.newsx-art[data-cat="lotus"] { background: oklch(0.96 0.025 350); }
/* issue #52：服務指南併入消息系統的兩個新分類底色 */
.newsx-art[data-cat="starter"] { background: oklch(0.955 0.03 155); }
.newsx-art[data-cat="artwork"] { background: oklch(0.955 0.03 250); }
.newsx-art svg { width: 42px; height: 42px; color: var(--pine); opacity: 0.55; }
.newsx-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.news-category-group { padding: 24px; margin: 20px 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.news-category-group h2 { font-size: 24px; margin: 0 0 12px; color: var(--ink); }
.news-category-group > p { color: var(--muted); margin-bottom: 16px; }
.news-category-group .detail-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.news-category-group .detail-list li { padding: 16px; border: 1px solid var(--line-soft); border-radius: 10px; }
.news-category-group .detail-list a { font-weight: 700; }
.news-category-group .detail-list p { margin: 8px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.newsx-art figcaption { font-size: 11px; letter-spacing: 0.06em; color: var(--pine-ink); }
.newsx-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; }
.newsx-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.newsx-meta time { font-size: 12px; color: var(--muted); }
.newsx-sub { font-size: 12px; color: var(--muted); }
.newsx-body h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.55; margin: 0; }
.newsx-body p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
.newsx-more { font-size: 13px; font-weight: 800; color: var(--pine-deep); margin-top: 2px; }

/* ---- 最新消息內頁（issue #51：快速分類＋圖文＋相同分類連結） ---- */
.newsx-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .newsx-article-layout { grid-template-columns: 1fr; } }
.newsx-article {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 26px 28px 30px; box-shadow: var(--shadow);
}
.newsx-article h1 { font-size: 22px; line-height: 1.5; color: var(--ink); margin: 10px 0 16px; }
.newsx-article .newsx-art { height: 190px; border-radius: var(--radius); margin: 0 0 18px; }
.newsx-article > p { font-size: 14.5px; line-height: 1.95; color: var(--text); margin-bottom: 12px; }
.newsx-aside { display: flex; flex-direction: column; gap: 18px; }
.newsx-quick {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 16px 18px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.newsx-quick-label { flex-basis: 100%; font-size: 12.5px; font-weight: 800; color: var(--pine-ink); letter-spacing: 0.05em; }
.newsx-quick .chip { text-decoration: none; }
.newsx-related {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 16px 18px 18px;
}
.newsx-related h2 { font-size: 14.5px; color: var(--pine-ink); margin-bottom: 10px; }
.newsx-rel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.newsx-rel-list a {
  display: flex; flex-direction: column; gap: 2px; padding: 8px 10px;
  border-radius: var(--radius); color: inherit;
}
.newsx-rel-list a:hover { background: var(--wash); }
.newsx-rel-list time { font-size: 11.5px; color: var(--muted); }
.newsx-rel-list span { font-size: 13.5px; font-weight: 600; color: var(--pine-deep); line-height: 1.55; }

/* ---- 服務指南（issue #45：大分類→小分類條列→說明頁；#42 後台自建示範） ---- */
.guide-group { margin-bottom: 30px; }
.guide-group-head { margin-bottom: 14px; }
.guide-group-head h2 { font-size: 17px; color: var(--pine-ink); margin-bottom: 4px; }
.guide-group-head p { font-size: 13px; color: var(--muted); }
.guide-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 780px) { .guide-items { grid-template-columns: 1fr; } }
.guide-item {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 18px 20px;
  color: inherit; box-shadow: 0 1px 3px oklch(0.25 0.04 55 / 0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.guide-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: inherit; }
.guide-item h3 { font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.55; margin: 0; }
.guide-item p { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 0; }
.guide-art-actions { margin: 20px 0 24px; }
#guideArticleView .newsx-related { margin-top: 8px; }

/* ---- 主題頁面模板（issue #42） ---- */
.theme-page {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 28px 30px 32px;
  box-shadow: var(--shadow); max-width: 880px;
}
.theme-page h1 { font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.theme-page > p { font-size: 14.5px; line-height: 1.95; color: var(--text); margin-bottom: 12px; }

/* G-002: visible filter state, responsive catalogue cards. */
.category-filter { margin-bottom: 24px; }
.category-filter .tag-pill { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.category-filter .tag-pill[aria-current="page"] { background: var(--pine); color: #fff; border-color: var(--pine); }
.category-filter .tag-pill[aria-current="page"]::before { color: inherit; }
.category-filter .tag-pill:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
.works-card .works-media--square { aspect-ratio: 1; height: auto; display: grid; place-items: center; overflow: hidden; }
.works-media--square img { width: 100%; height: 100%; object-fit: cover; }
.works-fields dd { min-width: 0; overflow-wrap: anywhere; }
.works-line-btn { white-space: normal; text-align: center; min-height: 44px; color: #fff; background: #087b35; border-color: #087b35; }
.detail-panel .tag-cloud { margin: 16px 0 24px; }
