/* ==========================================================================
   Haiyo 海優｜亞洲直播主的全球找貨總部｜全站樣式
   --------------------------------------------------------------------------
   改顏色：只要改下面 :root 的變數，全站會一起變。
   版面工具類：.g2 .g3 .g4 .g5 是格線欄數（手機自動變單欄），
   不要在 HTML 寫 style="grid-template-columns:..."，會蓋掉手機版設定。
   ========================================================================== */

:root {
  /* 品牌色 */
  --brown-900: #2f2118;   /* 最深咖啡：頁尾、CTA 底 */
  --brown-800: #4a3324;   /* 主按鈕 */
  --brown-700: #6b4b35;   /* 按鈕 hover、強調文字 */
  --gold-600:  #a67c45;   /* 香檳金：小標、圖示 */
  --gold-500:  #b8925a;
  --gold-300:  #dcc29b;
  --gold-100:  #f3e8d8;

  /* 中性色 */
  --bg:        #faf6f0;   /* 全站米白底 */
  --bg-alt:    #f4ede3;   /* 區塊交錯底色 */
  --card:      #fffdf9;   /* 卡片底 */
  --line:      #e8dccb;   /* 框線 */
  --text:      #2e241d;   /* 內文 */
  --muted:     #75685c;   /* 次要文字 */

  /* 字型 */
  --font-serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --font-sans:  "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-script: "Allura", "Brush Script MT", cursive;

  /* 尺寸 */
  --wrap: 1240px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(74, 51, 36, .08);
  --shadow-hover: 0 16px 40px rgba(74, 51, 36, .14);
  --header-h: 76px;
}

/* ---------- 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brown-700); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--brown-900); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--brown-800); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 200; }
.skip-link:focus { left: 8px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 格線工具類 ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .82em 1.7em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 1rem; line-height: 1.2; transition: .2s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brown-800); color: #fff; box-shadow: 0 8px 20px rgba(74, 51, 36, .22); }
.btn-primary:hover { background: var(--brown-700); color: #fff; }
.btn-outline { border-color: var(--brown-800); color: var(--brown-800); background: rgba(255, 255, 255, .6); }
.btn-outline:hover { background: var(--brown-800); color: #fff; }
.btn-light { background: #fff; color: var(--brown-900); }
.btn-light:hover { background: var(--gold-100); color: var(--brown-900); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--brown-900); }
.btn-sm { padding: .6em 1.2em; font-size: .92rem; }

/* ---------- 頁首 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid rgba(232, 220, 203, .7);
}
/* 毛玻璃放在 ::before，避免影響手機側滑選單定位 */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 246, 240, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; color: var(--brown-900); }
.brand:hover { color: var(--brown-900); }
.brand-name { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; letter-spacing: .06em; }
.brand-name sup { font-size: .7em; vertical-align: .45em; color: var(--gold-600); margin-left: 1px; }
.brand-tag { font-size: .52rem; letter-spacing: .2em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }

.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav a { font-size: .95rem; font-weight: 500; white-space: nowrap; padding: 6px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-500); transform: scaleX(0); transition: .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--brown-700); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-actions .login { font-size: .95rem; font-weight: 500; white-space: nowrap; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; color: var(--brown-900); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.mobile-only { display: none; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; background: #f5ede2; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250, 246, 240, .97) 0%, rgba(250, 246, 240, .9) 32%, rgba(250, 246, 240, .2) 58%, rgba(250, 246, 240, 0) 75%);
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: 600px; padding: 64px 24px 56px; }
.hero-copy { max-width: 560px; }
.eyebrow { display: inline-block; font-size: .92rem; letter-spacing: .14em; color: var(--gold-600); font-weight: 500; margin-bottom: 14px; }
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: 1.08rem; color: #4d4036; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: #5a4c40; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--brown-700); }
.hero-script {
  position: absolute; right: 38%; top: 40px; font-family: var(--font-script); font-size: 2.4rem; line-height: 1.1;
  color: rgba(110, 80, 55, .75); transform: rotate(-8deg); pointer-events: none;
}
.live-card {
  position: absolute; right: 4%; bottom: 42px; width: 220px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-hover); overflow: hidden; font-size: .82rem;
}
.live-card .live-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.live-card .live-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 30%; }
.live-badge { position: absolute; left: 10px; top: 10px; background: #e0313b; color: #fff; font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 4px; letter-spacing: .06em; }
.live-card .live-body { padding: 12px 14px 14px; }
.live-card strong { display: block; font-size: .88rem; color: var(--brown-900); margin-bottom: 2px; }
.live-card .live-price { color: #c0392b; font-weight: 700; }

/* ---------- 區塊通用 ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head h2 { margin-bottom: .2em; }
.section-head p { color: var(--muted); margin: 0; }
.script-note { font-family: var(--font-script); font-size: 1.6rem; color: var(--gold-600); font-weight: 400; margin-left: .5em; }
.kicker { display: block; font-size: .78rem; letter-spacing: .22em; color: var(--gold-600); text-transform: uppercase; margin-bottom: 10px; font-weight: 500; }
.lead { font-size: 1.08rem; color: #4d4036; }
.center { text-align: center; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; color: var(--muted); white-space: nowrap; }
.more-link svg { width: 16px; height: 16px; }

/* ---------- 身分入口 ---------- */
.roles { margin-top: -1px; padding-top: 44px; }
.role-card {
  position: relative; display: flex; align-items: center; min-height: 290px; border-radius: var(--radius);
  overflow: hidden; background: #efe5d8; box-shadow: var(--shadow); isolation: isolate;
}
.role-card .role-bg { position: absolute; inset: 0; z-index: -2; }
.role-card .role-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .6s ease; }
.role-card:hover .role-bg img { transform: scale(1.04); }
.role-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(250, 244, 236, .97) 0%, rgba(250, 244, 236, .88) 45%, rgba(250, 244, 236, 0) 78%);
}
.role-body { padding: 36px 40px; max-width: 64%; }
.role-body h3 { font-size: 1.6rem; margin-bottom: .45em; }
.role-body p { color: #5a4c40; font-size: .95rem; margin-bottom: 1.4em; }

/* ---------- 商品卡 ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 16px;
  font-size: .86rem; color: var(--text); transition: .2s;
}
.filter-tabs button:hover { border-color: var(--gold-500); }
.filter-tabs button[aria-pressed="true"] { background: var(--brown-800); border-color: var(--brown-800); color: #fff; }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.product-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.product-card[hidden] { display: none; }
.product-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f1e9de; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-chip { position: absolute; left: 8px; bottom: 8px; background: rgba(74, 51, 36, .86); color: #fff; font-size: .72rem; padding: 1px 9px; border-radius: 4px; }
.product-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.product-origin { font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.product-origin svg { width: 13px; height: 13px; }
.product-name { font-family: var(--font-sans); font-size: .93rem; font-weight: 500; color: var(--text); line-height: 1.5; margin: 4px 0 8px; }
.product-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.product-price { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.product-price b { display: block; font-size: 1rem; color: var(--brown-900); font-family: var(--font-serif); }
.fav { border: 0; background: none; padding: 2px; color: var(--muted); }
.fav svg { width: 20px; height: 20px; display: block; }
.fav[aria-pressed="true"] { color: #c0392b; }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.demo-note { font-size: .8rem; color: var(--muted); margin-top: 16px; }
/* 示意商品標記（商品卡左上角） */
.product-demo { position: absolute; left: 8px; top: 8px; background: rgba(255, 253, 249, .94); color: var(--brown-800); border: 1px solid var(--line); font-size: .72rem; font-weight: 700; padding: 1px 9px; border-radius: 4px; letter-spacing: .1em; }
.empty-state { display: none; text-align: center; padding: 40px 0; color: var(--muted); }
.empty-state.show { display: block; }

/* ---------- 功能卡（圖示＋標題＋說明） ---------- */
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  display: flex; gap: 16px; align-items: flex-start; transition: .25s; height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow); border-color: var(--gold-300); }
.feature-card.stack { flex-direction: column; }
.icon-circle {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-100); color: var(--brown-700); border: 1px solid #ead8bd;
}
.icon-circle svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: .35em; font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.75; }
.feature-card .num { font-family: var(--font-serif); color: var(--gold-500); font-size: .85rem; letter-spacing: .1em; }

/* 通路媒合區 */
.matching { background: linear-gradient(180deg, #f2e9dd 0%, var(--bg) 100%); }
.matching .section-head .en { text-align: right; font-family: var(--font-serif); letter-spacing: .16em; color: var(--gold-600); font-size: .85rem; line-height: 1.6; }

/* 交易保障區 */
.trust-wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust-aside {
  background: linear-gradient(160deg, #6b4b35 0%, #3b2a1e 100%); color: #f6ead8; padding: 40px 32px;
  display: flex; flex-direction: column; justify-content: center; position: relative;
}
.trust-aside .quote { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.6; color: #fff; margin: 0 0 14px; }
.trust-aside small { color: var(--gold-300); letter-spacing: .14em; font-size: .75rem; }
.trust-main { padding: 36px 36px 40px; }
.trust-main .grid { gap: 18px; }

/* 物流區 */
.logistics-band { position: relative; overflow: hidden; background: #eef0f0; }
.logistics-band .band-media { position: absolute; inset: 0; }
.logistics-band .band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.logistics-band .band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250, 246, 240, .98) 0%, rgba(250, 246, 240, .93) 45%, rgba(250, 246, 240, .45) 72%, rgba(250, 246, 240, .1) 100%);
}
.logistics-band .wrap { position: relative; }
.logistics-band .band-copy { max-width: 620px; margin-bottom: 32px; }
.logi-card { background: rgba(255, 253, 249, .95); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 16px; display: flex; gap: 12px; align-items: flex-start; height: 100%; }
.logi-card .icon-circle { width: 44px; height: 44px; }
.logi-card .icon-circle svg { width: 22px; height: 22px; }
.logi-card h3 { font-size: 1rem; margin-bottom: .2em; }
.logi-card p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* 五步驟 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { position: relative; padding-right: 18px; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; right: -6px; top: 18px; width: 22px; height: 1px; background: var(--gold-300);
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold-500); color: #fff; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; margin-bottom: 12px;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .3em; }
.steps p { font-size: .87rem; color: var(--muted); margin: 0; line-height: 1.7; }

/* CTA 橫幅 */
.cta-band {
  position: relative; overflow: hidden; color: #f7ecdc;
  background: radial-gradient(circle at 85% 30%, rgba(184, 146, 90, .35), transparent 45%), linear-gradient(120deg, #3b2a1e 0%, #5a3f2c 55%, #2f2118 100%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 52px 24px; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; color: #e8d6bd; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 內頁 ---------- */
.page-hero { background: linear-gradient(180deg, #f2e8db 0%, var(--bg) 100%); padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero.has-img { position: relative; overflow: hidden; }
.page-hero.has-img .ph-media { position: absolute; inset: 0; }
.page-hero.has-img .ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.page-hero.has-img .ph-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250, 246, 240, .98) 0%, rgba(250, 246, 240, .92) 48%, rgba(250, 246, 240, .3) 80%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 760px; }
.page-hero .lead { max-width: 720px; margin-bottom: 26px; }
.breadcrumb { font-size: .83rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--gold-300); }
.breadcrumb a:hover { color: var(--brown-700); }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul li { margin-bottom: .35em; }
.answer-box { background: var(--card); border-left: 4px solid var(--gold-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 20px 24px; margin-bottom: 30px; box-shadow: var(--shadow); }
.answer-box p:last-child { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; aspect-ratio: 3 / 2; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-100);
  box-shadow: inset 0 0 0 1px var(--gold-300);
}
.check-list li::after { content: ""; position: absolute; left: 6px; top: calc(.45em + 4px); width: 6px; height: 9px; border: solid var(--brown-700); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* 服務詳細卡（物流頁等） */
.service-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; margin-bottom: 24px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; scroll-margin-top: calc(var(--header-h) + 20px); }
.service-block .icon-circle { width: 64px; height: 64px; }
.service-block .icon-circle svg { width: 30px; height: 30px; }
.service-block h2 { font-size: 1.45rem; margin-bottom: .4em; }
.service-block .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tag { display: inline-block; font-size: .8rem; padding: 2px 12px; border-radius: 999px; background: var(--gold-100); color: var(--brown-700); border: 1px solid #ead8bd; }

/* 表格 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
.sp-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.sp-table th, .sp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.sp-table th { background: #f3eadf; font-weight: 500; color: var(--brown-900); white-space: nowrap; }
.sp-table tr:last-child td { border-bottom: 0; }

/* 媒合示意圖 */
.flow-diagram { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; }
.flow-node { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; box-shadow: var(--shadow); }
.flow-node .icon-circle { margin: 0 auto 12px; }
.flow-node h3 { margin-bottom: .3em; }
.flow-node p { margin: 0; font-size: .88rem; color: var(--muted); }
.flow-node.core { background: linear-gradient(160deg, #6b4b35, #3b2a1e); border-color: transparent; }
.flow-node.core h3, .flow-node.core p { color: #fbefdf; }
.flow-node.core .icon-circle { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); }
.flow-arrow { color: var(--gold-500); text-align: center; font-size: .78rem; line-height: 1.3; }
.flow-arrow svg { width: 34px; height: 34px; display: block; margin: 0 auto 4px; }

/* 階梯批發 */
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.tier { padding: 30px 26px; border-right: 1px solid var(--line); position: relative; }
.tier:last-child { border-right: 0; background: #f6eee3; }
.tier .bar { display: flex; align-items: flex-end; gap: 4px; height: 50px; margin-bottom: 16px; }
.tier .bar span { width: 14px; background: var(--gold-300); border-radius: 3px 3px 0 0; }
.tier h3 { margin-bottom: .3em; }
.tier p { margin: 0; font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 880px; }
.faq-item { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative; font-weight: 500; color: var(--brown-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold-600); transition: .2s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 22px 20px; color: #4d4036; }
.faq-item .faq-a p:last-child { margin: 0; }
.faq-group-title { margin: 42px 0 16px; font-size: 1.3rem; }

/* 表單 */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; color: var(--brown-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font: inherit; font-size: .95rem; color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(184, 146, 90, .18); }
.role-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.role-pick label { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; background: #fff; }
.role-pick input { margin-top: 6px; accent-color: var(--brown-800); }
.role-pick label:has(input:checked) { border-color: var(--brown-800); background: var(--gold-100); }
.role-pick span { font-size: .85rem; color: var(--muted); display: block; }
.role-pick strong { color: var(--brown-900); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
/* 加入／聯絡頁：Google 申請與 LINE 官方帳號區塊（取代原表單） */
.join-panel { display: grid; gap: 18px; }
.join-panel h3 { margin: 0 0 8px; }
.join-panel .btn { margin-top: 8px; }
.qr-placeholder { width: 168px; height: 168px; margin: 12px 0 4px; border: 1.5px dashed var(--gold-500); border-radius: var(--radius-sm); background: #fff; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .88rem; line-height: 1.6; }
/* 服務條款／隱私權政策：草案說明 */
.draft-note { background: var(--gold-100); border-left: 4px solid var(--gold-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; color: var(--brown-900); font-weight: 500; margin: 0 0 8px; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-list .icon-circle { width: 44px; height: 44px; }
.contact-list .icon-circle svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }

/* 服務總覽（關於頁） */
.service-index h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.service-index ol { padding-left: 1.4em; color: #4d4036; }
.service-index li { margin-bottom: .5em; }
.service-index li a { border-bottom: 1px solid var(--gold-300); }

/* ---------- 頁尾 ---------- */
.site-footer { background: #f1e8dc; border-top: 1px solid var(--line); padding: 60px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; }
.site-footer h2 { font-family: var(--font-sans); font-size: .92rem; font-weight: 700; color: var(--brown-900); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; color: #5a4c40; }
.footer-about p { color: #5a4c40; margin-top: 16px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--brown-700); }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: var(--brown-800); color: #fff; display: grid; place-items: center; }
.social a:hover { background: var(--gold-600); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 44px; border-top: 1px solid var(--line); padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .82rem; }
.footer-bottom nav a + a::before { content: "｜"; color: var(--gold-300); margin: 0 4px; }

/* ==========================================================================
   響應式
   ========================================================================== */
/* 導覽列收合成漢堡選單 */
@media (max-width: 1080px) {
  .nav-toggle { display: block; order: 3; }
  .header-actions { margin-left: auto; }
  .header-actions .login { display: none; }
  .mobile-only { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(320px, 86vw); z-index: 90;
    background: var(--card); box-shadow: -10px 0 30px rgba(0, 0, 0, .08); padding: 20px 26px;
    transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; flex: none;
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 14px 0; font-size: 1.02rem; }
  .main-nav a::after { display: none; }
  /* 遮罩：z-index 要比頁首低，否則會蓋住選單 */
  .nav-overlay { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(47, 33, 24, .35); z-index: 50; opacity: 0; pointer-events: none; transition: .3s; }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }

  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .steps.steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .steps li::after { display: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
  .hero-script { display: none; }
  .trust-wrap { grid-template-columns: minmax(0, 1fr); }
  .flow-diagram { grid-template-columns: minmax(0, 1fr); }
  .flow-arrow svg { transform: rotate(90deg); }
}
@media (min-width: 1081px) {
  .nav-overlay { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .matching .section-head .en { display: none; }
  .g2, .g3, .split { grid-template-columns: minmax(0, 1fr); }
  .split { gap: 28px; }
  .hero-inner { min-height: 0; padding: 0 20px 44px; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; aspect-ratio: 16 / 10; }
  .hero-media::after { background: linear-gradient(180deg, rgba(250, 246, 240, 0) 55%, rgba(245, 237, 226, 1) 100%); }
  .hero-copy { max-width: none; }
  .live-card { display: none; }
  .role-body { max-width: 100%; padding: 30px 26px; }
  .role-card { min-height: 0; align-items: flex-end; }
  .role-card .role-bg { position: relative; inset: auto; height: 220px; }
  .role-card { flex-direction: column; align-items: stretch; }
  .role-card::before { display: none; }
  .tier-grid { grid-template-columns: minmax(0, 1fr); }
  .tier { border-right: 0; border-bottom: 1px solid var(--line); }
  .service-block { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; gap: 14px; }
  .logistics-band .band-media::after { background: linear-gradient(180deg, rgba(250, 246, 240, .88) 0%, rgba(250, 246, 240, .96) 100%); }
  .page-hero.has-img .ph-media::after { background: rgba(250, 246, 240, .9); }
  .trust-main { padding: 26px 22px 30px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero-inner { padding: 0 16px 40px; }
  .brand-name { font-size: 1.5rem; }
  .brand-tag { display: none; }
  .header-actions .btn { padding: .55em 1.1em; font-size: .88rem; }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .g4, .g5 { grid-template-columns: minmax(0, 1fr); }
  .steps, .steps.steps-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row, .role-pick { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 26px 20px; }
  .cta-inner { padding: 44px 16px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .product-body { padding: 10px 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
