@charset "UTF-8";
/* ==========================================================================
   得意中華食品 — 官網樣式表
   版本:v1-three(基礎樣式與 v2-plain 相同,檔案最後段為 three.js 專用樣式)
   ========================================================================== */

/* ---------- 1. 設計變數 ---------- */
:root {
  /* 「暖日系全齡家庭餐桌」色票（2026-08-13 客戶指定）
     家庭溫度 50% / 日式簡約 30% / 安心專業 20% */
  --apricot:      #EE9B62;   /* 杏桃橘：品牌主色與主要按鈕 */
  --apricot-dark: #D9814A;   /* 主按鈕 hover */
  --apricot-soft: #FBE7D6;   /* 淺色底、標籤 */
  --butter:       #F5D989;   /* 奶油黃：親子、優惠與重點標籤 */
  --butter-soft:  #FCF1D6;
  --sage:         #8FA88E;   /* 鼠尾草綠：銀髮友善、食材與安心製程 */
  --sage-soft:    #E7EDE5;
  --terra:        #C9664D;   /* 暖陶紅：價格與活動重點 */
  --cocoa:        #49372F;   /* 深可可棕：標題與內文 */

  /* 舊變數名沿用，指向新色票，避免漏改造成色系混雜 */
  --red:         var(--apricot);
  --red-dark:    var(--apricot-dark);
  --red-soft:    var(--apricot-soft);
  --cream:       #FFF8EE;    /* 網站主背景：暖米白 */
  --sand:        #FDF1E2;    /* 次背景：比主背景再暖一階 */
  --sand-deep:   #F8E7D3;
  --brown:       var(--cocoa);
  --brown-deep:  #3B2C25;
  --green:       var(--sage);
  --green-soft:  var(--sage-soft);
  --amber:       var(--butter);
  --clay:        #F3E3D3;
  --ink:         var(--cocoa);
  --muted:       #7A6659;    /* 深可可棕的淡版，避免低對比淺灰字 */
  --line:        rgba(73, 55, 47, .14);
  --white:       #FFFFFF;

  /* 卡片圓角 16～24px（客戶指定） */
  --radius-s:  16px;
  --radius:    20px;
  --radius-l:  24px;
  --shadow:    0 10px 30px rgba(73, 55, 47, .06);
  --shadow-h:  0 18px 44px rgba(73, 55, 47, .12);

  --container: 1280px;
  --gutter:    24px;

  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基礎 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  /* 電腦版內文至少 18px、手機至少 16px（客戶指定） */
  font-size: 18px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; letter-spacing: .01em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- 3. 共用元件 ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em;
  color: var(--red); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow .num { font-variant-numeric: tabular-nums; }
.eyebrow .bar { width: 1px; height: 14px; background: currentColor; opacity: .5; }

.sec-title { font-size: clamp(26px, 3.1vw, 42px); letter-spacing: .02em; }
.sec-lead  { margin-top: 14px; color: var(--muted); font-size: 18px; line-height: 1.85; }

.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.sec-head .more { font-size: 16px; color: var(--muted); white-space: nowrap; transition: color .2s var(--ease); }
.sec-head .more:hover { color: var(--red); }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--sand  { background: var(--sand); }
.section--cream { background: var(--cream); }
/* 不要大面積純白：改成比主背景亮一階的暖白 */
.section--white { background: #FFFCF7; }
/* 原本是大面積深咖啡，改成鼠尾草綠的淡色底＋深可可棕文字 */
.section--brown { background: var(--sage-soft); color: var(--cocoa); }
.section--green { background: var(--sage); color: #FFF8EE; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  /* 按鈕高度至少 48px（客戶指定） */
  min-height: 48px; padding: 12px 30px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
  border: 2px solid transparent; transition: all .22s var(--ease);
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--apricot-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(238, 155, 98, .34); }
.btn--ghost { background: var(--white); color: var(--red); border-color: var(--red); }
.btn--ghost:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--cocoa); border-color: rgba(73, 55, 47, .18); }
.btn--light:hover { background: var(--apricot); color: #fff; border-color: var(--apricot); }
.btn--sm { min-height: 44px; padding: 9px 22px; font-size: 15px; border-radius: 999px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
}

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; letter-spacing: .02em;
}
.badge--light { background: var(--white); color: var(--red); }

.ratio { position: relative; overflow: hidden; background: var(--sand-deep); }
.ratio > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 2026-08-26 客戶：滑過（觸動）圖片要有放大效果 —— 全站比例圖容器通用 */
.ratio > img { transition: transform .55s var(--ease); }
.ratio:hover > img { transform: scale(1.06); }
.ratio--16x9 { padding-top: 56.25%; }
.ratio--4x3  { padding-top: 75%; }
.ratio--3x2  { padding-top: 66.6%; }
.ratio--21x9 { padding-top: 42.8%; }

/* ---------- 4. 頂部宣告列 ---------- */
.topbar { background: var(--red); color: #FBE9E4; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; gap: 12px 40px; flex-wrap: wrap; min-height: 46px; padding-block: 8px; }
.topbar__msgs { display: flex; flex-wrap: wrap; gap: 8px 40px; }
.topbar__meta { margin-left: auto; display: flex; align-items: center; gap: 10px; opacity: .92; }
.topbar__meta .sep { opacity: .4; }
.topbar__meta a { padding: 2px 4px; border-radius: 4px; }
.topbar__meta a:hover { background: rgba(255, 255, 255, .15); }
.topbar__meta a.is-active { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 5. 頁首 ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--cream); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 6px 22px rgba(61, 41, 33, .08); }
.header .container { display: flex; align-items: center; gap: 20px; min-height: 84px; }

.logo { flex: none; display: block; width: 148px; }
.logo img { width: 100%; height: auto; border-radius: 6px; }

.nav { margin-inline: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 34px); }
.nav a { position: relative; display: block; padding: 8px 2px; font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--red); font-weight: 700; }

.header__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; background: var(--white);
  transition: all .2s var(--ease); position: relative;
}
.icon-btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center;
}
.currency-btn { border-radius: 10px; width: auto; padding: 0 16px; font-size: 14px; font-weight: 700; }

.burger { display: none; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--sand); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 42% 58%; min-height: 620px; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 64px clamp(24px, 4vw, 72px) 64px 0; position: relative; z-index: 2; }
.hero__copy-inner { max-width: 520px; margin-left: auto; width: 100%; }
.hero h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.28; letter-spacing: .02em; }
.hero__lead { margin-top: 26px; font-size: clamp(15px, 1.2vw, 18px); color: #5C4A3E; line-height: 2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__tags .pill { background: rgba(255, 255, 255, .8); }
.hero__media { position: relative; min-height: 420px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 左側米色欄延伸至畫面邊緣 */
.hero::before {
  content: ""; position: absolute; inset: 0 58% 0 -50vw; background: var(--sand); z-index: 0;
}

/* ---------- 7. 03 生活情境 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.scene-card {
  background: var(--white); border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.scene-card .ratio { position: relative; }
.scene-card__body { padding: 22px 26px 28px; }
.scene-card h3 { font-size: 21px; }
.scene-card p { margin-top: 10px; font-size: 17px; line-height: 1.8; color: var(--muted); }

.sec-aside { font-size: 16px; color: var(--muted); letter-spacing: .04em; }

/* ---------- 8. 04 依家庭成員 ---------- */
.family-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.family-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 18px 26px;
  text-align: center; box-shadow: var(--shadow); transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  border: 1px solid transparent;
}
.family-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); border-color: var(--red-soft); }
.family-card .mark {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 999px;
  display: grid; place-items: center; font-size: 21px; font-weight: 700; color: var(--brown);
}
.mark--green { background: var(--green-soft); }
.mark--red   { background: var(--red-soft); color: var(--red); }
.mark--amber { background: var(--amber); color: #A5601F; }
.mark--sage  { background: #E2E9DE; }
.mark--clay  { background: var(--clay); }
.family-card h3 { font-size: 18px; }
.family-card p  { margin-top: 8px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.family-note { margin-top: 34px; text-align: center; font-size: 17px; color: var(--muted); }

/* ---------- 9. 05 本月主打組合 ---------- */
.set-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.set-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; position: relative;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.set-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.set-card .ratio { position: relative; }
.set-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.set-card h3 { font-size: 17.5px; }
.set-card__meta { margin-top: 12px; font-size: 16px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.set-card__meta span + span::before { content: "|"; margin-right: 10px; opacity: .45; }
.set-card__foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.price { color: var(--red); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }

/* ---------- 10. 06 商品分類 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.cat-tile img { transition: transform .55s var(--ease); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(35, 20, 14, .82) 0%, rgba(35, 20, 14, .35) 45%, rgba(35, 20, 14, 0) 75%);
}
.cat-tile__text { position: absolute; left: 26px; bottom: 22px; z-index: 2; color: #fff; }
.cat-tile__text h3 { font-size: 22px; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.cat-tile__text p { font-size: 16px; opacity: .9; margin-top: 4px; }

/* ---------- 11. 07 全齡友善 ---------- */
/* 2026-09-01 客戶要求：圖片與文字各佔一半 */
.friendly { display: grid; grid-template-columns: 50% 50%; gap: clamp(32px, 5vw, 80px); align-items: center; }
.friendly__media { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.friendly__media .tag {
  position: absolute; left: 26px; bottom: 24px; background: var(--white);
  padding: 11px 24px; border-radius: 999px; font-size: 14px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
/* 2026-09-01 客戶要求：每張卡配一個 icon，並加上色塊底色。
   底色用品牌色票的淺色版輪替，六張各一色，不用後台選。 */
.info-card {
  border: 1px solid transparent; border-radius: var(--radius-s); padding: 20px 22px 22px;
  background: var(--white); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px;
  background: var(--white); color: var(--cocoa);
}
.info-card__ic svg { width: 22px; height: 22px; display: block; }
.info-card h3 { font-size: 16px; line-height: 1.6; }
.info-card p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.9; }

.info-card:nth-child(6n+1) { background: var(--apricot-soft); }
.info-card:nth-child(6n+2) { background: var(--butter-soft); }
.info-card:nth-child(6n+3) { background: var(--sage-soft); }
.info-card:nth-child(6n+4) { background: var(--clay); }
.info-card:nth-child(6n+5) { background: var(--sand-deep); }
.info-card:nth-child(6n+6) { background: var(--green-soft); }
.info-card:nth-child(6n+1) .info-card__ic { color: var(--apricot-dark); }
.info-card:nth-child(6n+2) .info-card__ic { color: #B98A1E; }
.info-card:nth-child(6n+3) .info-card__ic { color: #5E7A5C; }
.info-card:nth-child(6n+4) .info-card__ic { color: var(--terra); }
.info-card:nth-child(6n+5) .info-card__ic { color: var(--apricot-dark); }
.info-card:nth-child(6n+6) .info-card__ic { color: #5E7A5C; }
.friendly__note {
  margin-top: 22px; background: var(--green-soft); border-radius: var(--radius-s);
  padding: 18px 24px; text-align: center; font-weight: 700; font-size: 15px; color: #3F5138;
}

/* ---------- 12. 08 不開爐 ---------- */
.nocook { display: grid; grid-template-columns: 50% 50%; gap: clamp(32px, 5vw, 70px); align-items: center; }
.nocook .sec-title, .nocook p { color: #F6EDE6; }
.nocook__lead { margin-top: 24px; color: #D9C7BB !important; line-height: 2; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 22px 22px 26px; box-shadow: var(--shadow); }
.step-card .no { font-size: 22px; font-weight: 700; color: #E2C39C; }
.step-card h3 { font-size: 16px; margin-top: 14px; }
.step-card p { font-size: 12.5px; color: #C3AFA3 !important; margin-top: 8px; }
.nocook__tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nocook__tags .pill { background: var(--white); border-color: var(--line); color: var(--cocoa); }
.nocook__media { border-radius: var(--radius); overflow: hidden; }

/* ---------- 13. 09 安心製程 ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; margin-top: 48px; }
.process::before {
  content: ""; position: absolute; top: 40px; left: 8%; right: 8%; height: 1px;
  background: #DFC9A6; z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step .no {
  width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 999px;
  border: 1.5px solid #D9BE93; background: var(--cream);
  display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--red);
  transition: all .25s var(--ease);
}
.process-step:hover .no { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-4px); }
.process-step h3 { font-size: 16.5px; }
.process-step p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.cert-bar {
  margin-top: 56px; background: var(--sand); border-radius: var(--radius);
  padding: 24px 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px 32px; flex-wrap: wrap;
}
.cert-bar h3 { font-size: 18px; }
.cert-bar__list { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 14. 10 品牌故事 ---------- */
/* 2026-09-01 客戶要求：品牌故事只留一張圖，版面從三欄改兩欄 */
/* 2026-09-01 客戶要求：圖片與文字各佔一半 */
.story { display: grid; grid-template-columns: 50% 50%; align-items: stretch; }
.story__img { position: relative; overflow: hidden; min-height: 460px; }
.story__img { overflow: hidden; }
.story__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.story__img:hover img { transform: scale(1.06); }
.story__body { background: var(--sand-deep); padding: clamp(40px, 5vw, 76px) clamp(28px, 4vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.story__quote { margin-top: 28px; color: var(--terra); font-weight: 700; font-size: clamp(16px, 1.4vw, 20px); }
.story__body p.body { margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 2; }
.story__timeline { display: flex; gap: clamp(24px, 4vw, 64px); margin-top: 40px; flex-wrap: wrap; }
.story__timeline .year { font-size: 26px; font-weight: 700; color: var(--red); }
.story__timeline p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.story__body .btn { margin-top: 40px; align-self: flex-start; }

/* ---------- 15. 11 文章 ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.article-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.article-card .tag { font-size: 13px; font-weight: 700; color: var(--red); }
.article-card h3 { font-size: 19px; margin-top: 10px; }
.article-card p { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.article-card .more { margin-top: auto; padding-top: 20px; text-align: right; font-size: 14px; font-weight: 700; color: var(--red); }

/* ---------- 16. 12 商業合作 ---------- */
.partner { display: grid; grid-template-columns: 47% 53%; gap: clamp(32px, 5vw, 70px); align-items: center; }
.partner .eyebrow { color: #E4D49F; }
.partner .sec-title { color: #FBF7EE; }
.partner__lead { margin-top: 26px; color: #DCE3D6; line-height: 2; }
.partner-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.partner-tile {
  background: rgba(255, 255, 255, .1); border-radius: var(--radius-s);
  padding: 16px 14px; flex: 1 1 92px; min-width: 92px; text-align: center; transition: background .2s var(--ease);
}
.partner-tile:hover { background: rgba(255, 255, 255, .2); }
.partner-tile h3 { font-size: 16px; color: #FBF7EE; }
.partner-tile p { font-size: 12px; color: #D5DECD; margin-top: 2px; }
.partner__media { border-radius: var(--radius); overflow: hidden; }

/* ---------- 17. 頁尾 ---------- */
.footer { background: var(--brown-deep); color: #D9CBC1; padding: 72px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 40px 32px; }
.footer .logo { width: 156px; }
.footer__about { margin-top: 26px; line-height: 2; color: #C2B2A7; }
.footer__pays { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.footer__pays .pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #EADFD6; font-weight: 700; }
.footer__col h3 { font-size: 15.5px; color: #F4EAE2; margin-bottom: 20px; }
.footer__col li + li { margin-top: 13px; }
.footer__col a { color: #C2B2A7; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__contact { margin-top: 28px; line-height: 2; color: #C2B2A7; }
.footer__contact a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 13px; color: #A6968B;
}
.footer__bottom .langs { display: flex; gap: 10px; align-items: center; }
.footer__bottom .sep { opacity: .4; }

/* ---------- 18. 內頁 ---------- */
.page-hero { background: var(--sand); padding: 56px 0 52px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.page-hero h1 { font-size: clamp(28px, 3.4vw, 42px); }
.page-hero p { margin-top: 12px; color: var(--muted); max-width: 680px; }

.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 16px; color: #5C4A3E; line-height: 2; }
.prose ul { margin-top: 16px; }
.prose ul li { position: relative; padding-left: 20px; margin-top: 10px; color: #5C4A3E; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.news-list { border-top: 1px solid var(--line); }
.news-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding: 24px 8px; border-bottom: 1px solid var(--line); transition: background .2s var(--ease); }
.news-item:hover { background: var(--sand); }
.news-item time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.news-item .cat { font-size: 12.5px; font-weight: 700; color: var(--red); background: var(--red-soft); padding: 4px 12px; border-radius: 999px; }
.news-item h3 { font-size: 17px; font-weight: 500; flex: 1; min-width: 240px; }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 24px; font-weight: 700; font-size: 16.5px; }
.faq-q .ico { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; background: var(--red); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-q .ico::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq-q .ico::after  { top: 0; bottom: 0; left: 10px; width: 2px; }
.faq-item.is-open .faq-q .ico::after { transform: scaleY(0); }
.faq-a { display: none; padding: 0 24px 22px; color: #5C4A3E; line-height: 2; }
.faq-item.is-open .faq-a { display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-s);
  font: inherit; font-size: 15px; background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(173, 52, 43, .12); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .k { flex: none; width: 88px; font-weight: 700; font-size: 14px; }
.info-list .v { font-size: 15px; color: #5C4A3E; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-bar .pill { cursor: pointer; transition: all .2s var(--ease); }
.filter-bar .pill:hover { border-color: var(--red); color: var(--red); }
.filter-bar .pill.is-active { background: var(--red); color: #fff; border-color: var(--red); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.empty-hint { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- 19. 進場動畫 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 20. 回頂端 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 46px; height: 46px; border-radius: 999px; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(173, 52, 43, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-dark); }

/* ---------- 21. 響應式 ---------- */
@media (max-width: 1180px) {
  .nav ul { gap: 16px; }
  .nav a { font-size: 14.5px; }
  .family-grid, .set-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .header .container { min-height: 72px; }
  .burger {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--white);
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: all .25s var(--ease); }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s var(--ease); }
  .burger span::before { top: -6px; }
  .burger span::after  { top: 6px; }
  .burger.is-open span { background: transparent; }
  .burger.is-open span::before { top: 0; transform: rotate(45deg); }
  .burger.is-open span::after  { top: 0; transform: rotate(-45deg); }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--cream);
    padding: 92px 28px 28px; box-shadow: -12px 0 40px rgba(61, 41, 33, .18);
    transform: translateX(105%); transition: transform .32s var(--ease); z-index: 55; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li + li { border-top: 1px solid var(--line); }
  .nav a { padding: 16px 4px; font-size: 16px; }
  .nav a::after { display: none; }

  .nav-backdrop { position: fixed; inset: 0; background: rgba(42, 29, 22, .45); opacity: 0; visibility: hidden; transition: all .3s var(--ease); z-index: 54; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero::before { display: none; }
  .hero__copy { padding: 52px 0 46px; }
  .hero__copy-inner { max-width: none; margin: 0; }
  .hero__media { min-height: 340px; height: 46vw; max-height: 460px; }

  .scene-grid, .cat-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .friendly, .nocook, .partner { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); gap: 34px 12px; }
  .process::before { display: none; }
  .story { grid-template-columns: 1fr; }
  .story__body { grid-column: 1 / -1; }
  .story__img { min-height: 300px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .topbar { font-size: 12.5px; }
  .topbar__msgs { gap: 4px 18px; }
  .topbar__meta { margin-left: 0; width: 100%; }
  .logo { width: 118px; }
  .header__tools .icon-btn:not(.cart-btn) { display: none; }
  .currency-btn { display: none; }

  .scene-grid, .cat-grid, .article-grid, .family-grid, .set-grid, .product-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cert-bar { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   v1-three 專用:three.js(WebGL)相關樣式
   ========================================================================== */

/* Hero 3D 畫布 — 鋪滿整個 hero,置於文字與照片之下 */
.hero--3d { background: linear-gradient(120deg, #FFFAF1 0%, #F7F0E3 55%, #F0E4D2 100%); }
.hero--3d .hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 1; pointer-events: none; opacity: 0;
  transition: opacity 1.1s cubic-bezier(.22,.61,.36,1);
}
.hero--3d .hero__canvas.is-ready { opacity: .88; }
.hero--3d::before { background: transparent; }
.hero--3d .hero__grid { position: relative; z-index: 2; }

/* 主視覺照片:3D 版加上圓角與浮起陰影,和背景 3D 場景區隔 */
.hero--3d .hero__media { border-radius: 0 0 0 var(--radius-l); overflow: hidden; }
.hero--3d .hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

/* 3D 提示標籤 */
.hero__3dhint {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  background: rgba(48, 33, 27, .62); color: #F6EDE6; backdrop-filter: blur(6px);
  font-size: 12.5px; letter-spacing: .04em; padding: 7px 14px; border-radius: 999px;
  opacity: 0; transition: opacity .6s ease;
}
.hero__3dhint.is-show { opacity: 1; }

/* 「不開爐」區塊的熱氣粒子疊層 */
.steam-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: 0;
  transition: opacity 1.2s ease;
}
.steam-canvas.is-ready { opacity: .85; }

@media (max-width: 1024px) {
  .hero--3d .hero__canvas { opacity: 0 !important; }   /* 行動裝置省電:不顯示 3D 背景 */
  .hero--3d .hero__media { border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero--3d .hero__canvas, .steam-canvas { display: none; }
}


/* ==========================================================================
   2026-08-24 客戶要求（TG）— 只改這幾項，其餘版面完全沿用上面的原始樣式
   ========================================================================== */

/* ── 1. 大標題統一黑體 Sans（Inter・思源黑）── */
h1, h2, h3,
.sec-title, .eyebrow, .btn, .nav a, .price {
  font-family: 'Inter', 'Noto Sans TC', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
h1, .sec-title { font-weight: 800; letter-spacing: .01em; }

/* ── 2. 移除區塊編號（02 / 03 / 04 …）──
   小標只留英文，數字與後面那條短線一起隱藏。 */
.eyebrow .num,
.eyebrow .bar { display: none !important; }

/* ── 3. Banner 改滿版 1920×900 ──
   原本 .hero__grid 是左文右圖兩欄，改成整片背景圖、文字疊上去。
   只作用在 .hero--full，舊的 .hero--3d 版型不受影響。 */
.hero--full { position: relative; min-height: min(900px, 80vh); display: flex; align-items: center; }
/* 圖層由下往上：背景照片(0) → 3D 漂浮元素(1) → 文字(2)。
   .hero__bg 不給 z-index 的話會被 3D canvas 蓋住，照片就看不到了。 */
.hero--full .hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
/* 原本 .hero--3d 的淺色漸層是給白底版型用的，這裡改用照片，把它關掉 */
.hero--full.hero--3d { background: var(--brown-deep); }
/* 3D 元素原本是深色線條、配淺底；疊在深色照片上要提亮一點才看得到 */
.hero--full.hero--3d .hero__canvas { z-index: 1; mix-blend-mode: screen; }
.hero--full.hero--3d .hero__canvas.is-ready { opacity: .55; }
/* 圖片偏亮時文字會看不清楚，壓一層由左而右的暖色漸層 */
.hero--full .hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(59,44,37,.78) 0%, rgba(59,44,37,.46) 44%, rgba(59,44,37,.05) 100%);
}
.hero--full .container { position: relative; z-index: 2; width: 100%; }
.hero--full .hero__grid { display: block; min-height: 0; }
.hero--full .hero__copy { padding: clamp(56px, 8vw, 120px) 0; }
.hero--full .hero__copy-inner { max-width: 640px; margin-left: 0; }
.hero--full .eyebrow { color: rgba(255,255,255,.85); }
.hero--full h1,
.hero--full .hero__lead { color: #fff; }
.hero--full .hero__lead { opacity: .95; }
.hero--full .hero__tags .pill { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.34); color: #fff; }
@media (max-width: 900px) {
  .hero--full { min-height: 64vh; }
  .hero--full .hero__bg::after { background: linear-gradient(180deg, rgba(59,44,37,.38) 0%, rgba(59,44,37,.8) 100%); }
  .hero--full .hero__copy-inner { max-width: none; }
}

/* ── 4. 頁頭跑馬燈 ──
   文字複製兩份接在一起，跑完第一份剛好接回開頭，看起來就是無限循環。 */
.topbar__viewport { flex: 1; overflow: hidden; }
.topbar__track { display: flex; gap: 40px; white-space: nowrap; }
.topbar__track.is-marquee { width: max-content; animation: dc-marquee 26s linear infinite; }
.topbar:hover .topbar__track.is-marquee { animation-play-state: paused; }
.topbar__msg { flex: none; }
@keyframes dc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* 使用者設定「減少動態效果」時就不要跑 */
@media (prefers-reduced-motion: reduce) {
  .topbar__track.is-marquee { animation: none; width: auto; flex-wrap: wrap; white-space: normal; }
}

/* ── 5. 本月主打組合：四欄、不換行斷行、按鈕滑過才出現 ── */
.set-grid--4 { grid-template-columns: repeat(4, 1fr); }
.set-grid--4 .set-card h3,
.set-grid--4 .set-card__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.set-card__buy { opacity: 0; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.set-card:hover .set-card__buy,
.set-card:focus-within .set-card__buy { opacity: 1; transform: none; pointer-events: auto; }
/* 手機沒有滑鼠 hover，直接顯示，不然點不到 */
@media (hover: none) { .set-card__buy { opacity: 1; transform: none; pointer-events: auto; } }
@media (max-width: 1100px) { .set-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .set-grid--4 { grid-template-columns: 1fr; } }

/* ── 6. 活動套餐區（08）文字看不清楚 ──
   .section--brown 的底色早就換成淺綠（--sage-soft），
   但 .nocook 的文字還是舊的淺色 #F6EDE6，淺配淺整段幾乎看不到。
   文字改成深可可棕，對比拉開。 */
.nocook .sec-title,
.nocook h3,
.nocook p { color: var(--cocoa); }
.nocook__lead { color: #5A4A40 !important; }
.nocook .eyebrow { color: var(--sage); opacity: 1; }
.nocook .step-card {
  background: #fff;
  border: 1px solid rgba(73,55,47,.10);
  box-shadow: 0 2px 10px rgba(73,55,47,.06);
}
.nocook .step-card h3 { color: var(--cocoa); }
.nocook .step-card p { color: #5A4A40; }
.combo-card__img { border-radius: var(--radius-s); overflow: hidden; margin-bottom: 12px; }
.combo-card__price { color: var(--terra) !important; font-weight: 700; margin: 8px 0 12px; }
.combo-card__price del { color: var(--muted) !important; font-weight: 400; font-size: .85em; margin-left: 8px; }

/* ── 7. 最新消息改左圖右文（客戶 15:20，news 頁用）── */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-item {
  display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.news-item__img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; display: block; }
.news-item__body { padding: 24px 28px 24px 0; }
.news-item__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.news-item h3 { font-size: 20px; line-height: 1.5; margin-bottom: 8px; }
.news-item p { color: var(--muted); }
@media (max-width: 800px) {
  .news-item { grid-template-columns: 1fr; }
  .news-item__body { padding: 20px; }
}

/* ── 8. 產品頁分類下拉（客戶 15:19）── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.filter-bar select {
  appearance: none; padding: 10px 40px 10px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: 15px; cursor: pointer;
}
.filter-bar select:hover { border-color: var(--apricot); }
.filter-bar__count { color: var(--muted); font-size: 14px; }

/* ── 9. 詳細頁（產品／文章／消息，這次新增的頁面）── */
.detail { padding: clamp(40px, 6vw, 80px) 0; }
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail__img { width: 100%; border-radius: var(--radius); display: block; }
.detail__title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.35; margin-bottom: 14px; }
.detail__price { font-size: 28px; color: var(--terra); font-weight: 700; margin: 12px 0 20px; }
.detail__price del { font-size: 17px; color: var(--muted); font-weight: 400; margin-left: 10px; }
.detail__specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.detail__spec { padding: 7px 14px; border-radius: 999px; background: var(--apricot-soft); color: var(--cocoa); font-size: 14px; }
.detail__body { line-height: 1.9; color: #5A4A40; }
.detail__body h2, .detail__body h3 { margin: 26px 0 10px; }
.detail__body p { margin-bottom: 14px; }
.detail__body img { max-width: 100%; height: auto; border-radius: var(--radius-s); }
.article-body { max-width: 760px; margin: 0 auto; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--apricot); }
.crumbs span { margin: 0 8px; opacity: .5; }
@media (max-width: 900px) { .detail__grid { grid-template-columns: 1fr; } }

/* ── 10. 這次新增頁面的小樣式 ── */
.page-hero { padding: clamp(48px, 6vw, 92px) 0 clamp(24px, 3vw, 40px); background: var(--sand); border-bottom: 1px solid var(--line); }
.empty-note { color: var(--muted); padding: 40px 0; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.faq-item summary { padding: 18px 52px 18px 22px; cursor: pointer; font-weight: 700; color: var(--cocoa); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--apricot); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item__a { padding: 0 22px 20px; color: #5A4A40; line-height: 1.85; }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { color: var(--cocoa); }
.contact-list span { color: #5A4A40; }

/* ── 11. 行動版選單（新版 header 用 .nav-toggle）── */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cocoa); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) { .nav-toggle { display: flex; } }


/* ==========================================================================
   2026-08-24（第二批）購物車 / 會員 / 浮動 icon / 跑馬燈修正
   ========================================================================== */

/* ── 跑馬燈修正（客戶回報：只看得到 1/3）──
   舊的 .topbar .container 有 flex-wrap:wrap，會把整條訊息擠成一行看不完。
   改成 nowrap + 一條可捲動的軌道，整串文字才會完整跑完。 */
.topbar__inner { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; min-height: 42px; }
.topbar__viewport { flex: 1 1 auto; overflow: hidden; min-width: 0; }
.topbar__track { display: inline-flex; flex-wrap: nowrap; gap: 40px; white-space: nowrap; }
/* 內容夠長才跑馬燈；訊息少時 JS 會拿掉 is-marquee 改置中，不留一大片空白 */
.topbar__track.is-marquee { width: max-content; animation: dc-marquee 30s linear infinite; }
.topbar__track:not(.is-marquee) { justify-content: center; width: 100%; }
.topbar:hover .topbar__track.is-marquee { animation-play-state: paused; }
.topbar__msg { flex: none; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .topbar__track.is-marquee { animation: none; }
}

/* ── 頁首：會員 / 購物車入口 ── */
.header__tools { display: flex; align-items: center; gap: 14px; margin-left: 20px; }
.header__tool {
  position: relative; font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 6px 4px; white-space: nowrap;
}
.header__tool:hover { color: var(--apricot); }
.header__cart-badge {
  position: absolute; top: -4px; right: -12px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--terra); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; line-height: 1;
}
@media (max-width: 900px) { .header__tools { margin-left: auto; } }

/* ── 右側浮動社群 icon（客戶 2026-08-24）── */
.side-contact {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  z-index: 80; display: flex; flex-direction: column; gap: 10px;
}
.side-contact__btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; text-align: center; line-height: 1.1;
  box-shadow: 0 4px 14px rgba(73,55,47,.22);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.side-contact__btn span { pointer-events: none; }
.side-contact__btn:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(73,55,47,.32); }
.side-contact__btn--line { background: #06C755; }
.side-contact__btn--fb   { background: #1877F2; }
.side-contact__btn--ig   { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.side-contact__btn--yt   { background: #FF0000; }
.side-contact__btn--tel  { background: var(--apricot); }
@media (max-width: 640px) {
  .side-contact { right: 10px; gap: 8px; }
  .side-contact__btn { width: 42px; height: 42px; font-size: 10px; }
}

/* ── 購物車頁 ── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 14px 10px; border-bottom: 2px solid var(--line); font-size: 14px; color: var(--muted); }
.cart-table td { padding: 16px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-item { display: flex; align-items: center; gap: 14px; }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-s); }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cart-qty button { width: 32px; height: 34px; background: #fff; border: 0; cursor: pointer; font-size: 16px; color: var(--ink); }
.cart-qty input { width: 44px; height: 34px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.cart-summary { margin-top: 28px; margin-left: auto; max-width: 360px; }
.cart-summary .line { display: flex; justify-content: space-between; padding: 8px 0; }
.cart-summary .line--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 20px; font-weight: 700; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--muted); }

/* ── 結帳頁 ── */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.checkout-box h2 { font-size: 18px; margin-bottom: 16px; }
.pay-options { display: flex; flex-direction: column; gap: 10px; }
.pay-option { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--apricot); background: var(--apricot-soft); }
.order-summary { position: sticky; top: 90px; }
.order-summary .line { display: flex; justify-content: space-between; padding: 7px 0; }
.order-summary .line--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 20px; font-weight: 700; }
.order-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } .order-summary { position: static; } }

/* ── 表單元件 ── */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-s);
  font-size: 15px; color: var(--ink); background: #fff;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--apricot); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: var(--terra); font-size: 13px; margin-top: 5px; }
.form-note { color: var(--muted); font-size: 13px; }

/* ── 會員頁 ── */
.member-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.member-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; position: sticky; top: 90px; }
.member-nav a { display: block; padding: 12px 16px; border-radius: var(--radius-s); color: var(--ink); font-weight: 600; }
.member-nav a:hover { background: var(--sand); }
.member-nav a.is-active { background: var(--apricot); color: #fff; }
.member-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.auth-wrap { max-width: 440px; margin: 0 auto; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.social-btns { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--radius-s); font-weight: 600; color: #fff; }
.social-btn--google { background: #4285F4; }
.social-btn--line { background: #06C755; }
.auth-divider { text-align: center; color: var(--muted); font-size: 13px; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--line); }
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status-badge--pending { background: var(--butter-soft); color: #8a6d1a; }
.status-badge--paid, .status-badge--done { background: var(--sage-soft); color: #47603f; }
.status-badge--shipped { background: var(--apricot-soft); color: #a15422; }
.status-badge--cancelled { background: #eee; color: #888; }
.addr-card { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px; margin-bottom: 12px; position: relative; }
.addr-card--default { border-color: var(--apricot); }
.addr-default-tag { position: absolute; top: 12px; right: 12px; font-size: 12px; color: var(--apricot); font-weight: 700; }
@media (max-width: 800px) { .member-layout { grid-template-columns: 1fr; } .member-nav { position: static; display: flex; flex-wrap: wrap; } }

/* 收藏愛心 */
.fav-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink); }
.fav-btn.is-on { border-color: var(--terra); color: var(--terra); }

/* ── 商品詳細頁（客戶 2026-08-24 21:10）── */
.pdp-gallery__main { border-radius: var(--radius); overflow: hidden; background: #fff; }
/* 2026-09-01 客戶要求：商品圖改成正方形 */
.pdp-gallery__main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.pdp-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumb { width: 72px; height: 72px; border-radius: var(--radius-s); overflow: hidden; border: 2px solid transparent; background: none; padding: 0; cursor: pointer; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.is-active { border-color: var(--apricot); }
.pdp-spec { margin: 20px 0; }
.pdp-spec__title { font-size: 16px; margin-bottom: 10px; }
.pdp-spec__table { width: 100%; border-collapse: collapse; }
.pdp-spec__table th { text-align: left; width: 110px; padding: 9px 12px; background: var(--sand); color: var(--muted); font-weight: 600; border: 1px solid var(--line); font-size: 14px; }
.pdp-spec__table td { padding: 9px 12px; border: 1px solid var(--line); font-size: 14px; }
.pdp-buy { margin-top: 24px; }
.pdp-buy__form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pdp-desc { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 40px; }
@media (max-width: 600px) { .pdp-buy__form { flex-direction: column; align-items: stretch; } .pdp-buy__form .cart-qty { align-self: flex-start; } }

/* ── 2026-08-24：清掉表單元件的瀏覽器原生樣式 ──
   數量增減鈕、數字框、下拉選單原本會露出系統預設外觀（灰底方角、上下箭頭），
   這裡統一改成跟站上一致的樣式。 */

/* 數量增減：按鈕去原生外觀，數字框拿掉上下箭頭 spinner */
.cart-qty button { -webkit-appearance: none; appearance: none; }
.cart-qty input[type="number"] { -webkit-appearance: none; -moz-appearance: textfield; appearance: none; }
.cart-qty input[type="number"]::-webkit-outer-spin-button,
.cart-qty input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-qty button:hover { background: var(--sand); }

/* 表單裡的數字框也一起去 spinner（結帳、地址等） */
.form-field input[type="number"] { -webkit-appearance: none; -moz-appearance: textfield; appearance: none; }
.form-field input[type="number"]::-webkit-outer-spin-button,
.form-field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* 下拉選單：去原生箭頭，換成自訂的 */
.form-field select, .checkout-box select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2349372F' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* 核取方塊 / 單選鈕：換成品牌色，去原生藍勾 */
.pay-option input[type="radio"],
.form-field input[type="checkbox"],
label input[type="checkbox"],
label input[type="radio"] { accent-color: var(--apricot); width: 17px; height: 17px; }

/* 數字框 / 一般 input 聚焦統一 */
.cart-qty input:focus { outline: none; }

/* 購物車移除鈕 */
.cart-remove { -webkit-appearance: none; appearance: none; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 16px; line-height: 1; padding: 6px; border-radius: 8px; }
.cart-remove:hover { color: var(--terra); background: var(--sand); }


/* ==========================================================================
   2026-08-25 客戶要求（TG 16 則）
   ========================================================================== */

/* ── 1. 主標題字體：Chiron GoRound TC（含內頁標題）──
   字體檔由 head 的 vf.css 載入，family 名稱是 'Chiron GoRound TC WS'。 */
h1, h2, h3, .sec-title, .detail__title, .hero h1, .page-hero h1 {
  font-family: 'Chiron GoRound TC WS', 'Inter', 'Noto Sans TC', system-ui, sans-serif;
}

/* ── 2. 產品列表：一列 3 個、滑過圖片放大、原價 ── */
.product-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .product-grid { grid-template-columns: 1fr; } }
/* 滑過放大：圖在 ratio 容器內 scale，容器 overflow hidden 不會爆版 */
.product-grid .set-card .ratio { overflow: hidden; }
.product-grid .set-card .ratio img { transition: transform .35s var(--ease); }
.product-grid .set-card:hover .ratio img { transform: scale(1.06); }
.price-origin { color: var(--muted); font-weight: 400; font-size: .82em; margin-left: 8px; }

/* ── 3. 商品規格選擇（詳細頁）── */
.pdp-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; margin-bottom: 4px; }
.pdp-options__label { font-size: 14px; font-weight: 700; color: var(--cocoa); margin-right: 4px; }
.pdp-option { cursor: pointer; }
.pdp-option input { position: absolute; opacity: 0; pointer-events: none; }
.pdp-option span {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.pdp-option input:checked + span { border-color: var(--apricot); background: var(--apricot-soft); font-weight: 700; }

/* ── 4. 頁首 icon（會員／購物車）── */
.header__tool { display: inline-flex; align-items: center; gap: 6px; }
.header__icon { display: inline-flex; width: 21px; height: 21px; }
.header__icon svg { width: 100%; height: 100%; }
@media (max-width: 560px) { .header__tool-text { display: none; } }

/* ── 5. 導覽「線上購物」下拉分類 ── */
.nav__has-sub { position: relative; }
/* 2026-08-25 客戶：外框對齊「線上購物」左緣、項目間距縮小。
   注意 .nav ul 的 gap/align-items 會蓋到這個子 ul（.nav ul 特異性較高），
   間距異常大就是這樣來的——用 .nav ul.nav__sub 明確壓回來。 */
.nav ul.nav__sub {
  position: absolute; top: 100%; left: 0; transform: translateY(6px);
  min-width: 180px; padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-s);
  box-shadow: 0 10px 30px rgba(73,55,47,.12);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
  display: flex; flex-direction: column; align-items: stretch; gap: 1px; z-index: 70;
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub li { list-style: none; }
.nav .nav__sub a { display: block; padding: 8px 14px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.nav .nav__sub a::after { display: none; }
.nav__sub a:hover { background: var(--sand); color: var(--apricot); }
/* 手機版側欄選單裡直接攤平顯示 */
@media (max-width: 900px) {
  .nav ul.nav__sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 16px; }
}

/* ── 6. 浮動 icon（SVG 版）── */
.side-contact__btn svg { width: 22px; height: 22px; }
.side-contact__btn span { display: none; }

/* ── 7. 社群 iconbar（頁尾與 contact 用）── */
.social-iconbar { display: flex; gap: 10px; }
.sicon {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; transition: transform .15s ease;
}
.sicon svg { width: 20px; height: 20px; }
.sicon:hover { transform: scale(1.1); }
.sicon--line { background: #06C755; }
.sicon--fb   { background: #1877F2; }
.sicon--ig   { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sicon--yt   { background: #FF0000; }

/* ── 8. 頁尾 Privacy / Terms ── */
.footer__legal { display: flex; gap: 10px; align-items: center; }
.footer__legal a { color: var(--muted); font-size: 13px; }
.footer__legal a:hover { color: var(--apricot); }
.footer__legal .sep { opacity: .4; color: var(--muted); }

/* ── 9. 問與答：左內容右分類選單 ── */
.faq-layout { display: grid; grid-template-columns: 1fr 240px; gap: 40px; align-items: start; }
.faq-side {
  position: sticky; top: 90px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px;
}
.faq-side h3 { font-size: 15px; margin-bottom: 12px; color: var(--cocoa); }
.faq-side ul { display: flex; flex-direction: column; gap: 4px; }
.faq-side li { list-style: none; }
.faq-side a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink);
}
.faq-side a:hover { background: var(--sand); color: var(--apricot); }
.faq-side__count { font-size: 12px; color: var(--muted); font-weight: 400; }
/* scroll-margin：錨點跳轉時留出 sticky header 高度，手機版分類名才不會被蓋住（2026-08-25 客戶回報） */
.faq-cat { font-size: 20px; margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--apricot); scroll-margin-top: 96px; }
@media (max-width: 900px) { .faq-cat { scroll-margin-top: 84px; } }
.faq-cat:first-of-type { margin-top: 0; }
@media (max-width: 800px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; order: -1; }
}

/* ── 10. 收藏清單（修跑版）── */
.fav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) { .fav-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .fav-grid { grid-template-columns: 1fr; } }

/* ── 2026-08-25：首頁 Banner 電腦版/手機版分開判斷 ── */
.hero__bg--mobile { display: none; }
@media (max-width: 640px) {
  .hero__bg--pc { display: none; }
  .hero__bg--mobile { display: block; }
}

/* ── 11. 商品詳細頁：只有麵包屑的那一條要矮一點（2026-08-29 客戶要求）──
   原本 .page-hero 的上下留白是給有大標題的頁面用的，商品頁沒有標題，
   整條就顯得太空，商品圖被壓得太下面。 */
.page-hero--slim { padding: 18px 0 16px; }
.page-hero--slim .breadcrumb { margin: 0; }
@media (max-width: 640px) {
  .page-hero--slim { padding: 14px 0 12px; }
}

/* 首頁「PRODUCT CATEGORIES」分類圖上的敘述最多兩行，超過的用 …（2026-08-29 客戶要求） */
.cat-tile__text { right: 26px; }
.cat-tile__text p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

/* ── 12. 限時主題商品專區（首頁第 08 區，2026-08-29 客戶要求）──
   桌機左右雙欄：左 45% 文字、右 55% 圖片；手機改上下，圖片在下、資訊在上。
   配色沿用站上的暖米白 / 杏桃橘 / 深可可棕，重點價格才用暖陶紅，
   刻意不做成高飽和的搶購版面。 */
.feature {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.feature__info { min-width: 0; }
/* 還沒上傳主題圖時單欄呈現 */
.feature--noimg { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; text-align: center; }
.feature--noimg .feature__count { max-width: 460px; margin-left: auto; margin-right: auto; }
.feature--noimg .feature__price { justify-content: center; }
.feature__tag {
  display: inline-block; margin-bottom: 10px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--apricot-soft); color: var(--terra);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.feature__info .sec-title { margin-bottom: 18px; }

/* 倒數計時：四格一定同一排 */
.feature__count {
  display: flex; gap: 10px; margin: 0 0 20px;
}
.feature__count-box {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 4px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-s); box-shadow: var(--shadow);
}
.feature__count-box b {
  font-size: clamp(24px, 3vw, 34px); line-height: 1.1;
  color: var(--cocoa); font-variant-numeric: tabular-nums;
}
.feature__count-box i {
  margin-top: 4px; font-style: normal;
  font-size: 12px; color: var(--muted); letter-spacing: .08em;
}
.feature__over {
  margin: 0 0 20px; padding: 12px 16px;
  background: var(--clay); border-radius: var(--radius-s);
  color: var(--muted); font-weight: 700;
}
.feature__name { font-size: clamp(20px, 2.2vw, 26px); color: var(--cocoa); margin-bottom: 8px; }
.feature__desc {
  color: var(--muted); line-height: 1.8; margin-bottom: 16px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  line-clamp: 3; overflow: hidden;
}
.feature__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.feature__price del { color: var(--muted); font-size: 15px; }
.feature__sale { color: var(--terra); font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.feature__deadline { color: var(--muted); font-size: 13px; margin-bottom: 16px; }

.feature__media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.feature__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature__img--sp { display: none; }

@media (max-width: 900px) {
  /* 手機：商品資訊在上、圖片在下 */
  .feature { grid-template-columns: 1fr; }
  .feature__info { order: 1; }
  .feature__media { order: 2; }
  .feature__img--pc { display: none; }
  .feature__img--sp { display: block; }
  .feature__count { gap: 6px; }
  .feature__count-box { padding: 8px 2px; }
  .feature__count-box i { font-size: 11px; }
}

/* 右側快捷聯絡列：手機一律不顯示，電腦維持原樣（2026-08-30 使用者指示）
   一開始只做商品詳細頁，但客戶截圖是在首頁看到的，改成手機版全站隱藏。
   斷點 900px，跟站上版面切換成單欄的斷點一致。 */
@media (max-width: 900px) {
  .side-contact { display: none; }
}

/* ==========================================================================
   品牌故事頁 — 區塊排版（2026-09-01）
   客戶給了整頁新文案，要求「有圖或 icon 輔助，畫面要有豐富的設計感」。
   段落內容在後台「品牌故事區塊」維護，這裡依 layout 提供五種版型：
   img-right / img-left / center / cards / band
   ========================================================================== */

.ab {
  padding: 84px 0;
  position: relative;
}
.ab--cream { background: var(--sand); }

/* 窄欄：置中與滿版版型用，長文閱讀寬度舒服一點 */
.ab__narrow {
  max-width: 760px;
  text-align: center;
}

/* ── 小標與標題 ── */
.ab__en {
  font-size: 12px;
  letter-spacing: .22em;
  font-weight: 700;
  color: var(--apricot);
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ab__en::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.ab__eyebrow {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 8px;
  letter-spacing: .04em;
}
.ab__title {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 20px;
  font-weight: 700;
}
.ab__p {
  font-size: 16px;
  line-height: 2.05;
  color: var(--muted);
  margin: 0 0 14px;
}
.ab__quote {
  margin: 22px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--apricot);
  background: rgba(238, 155, 98, .07);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  font-weight: 500;
}
/* 2026-09-01 客戶要求：這一塊要置中。
   原本用 inline-block，但父層沒有 text-align:center，實際上是靠左的。
   改成 block + margin auto，確實會置中。 */
.ab__quote--center {
  border-left: 0;
  border-top: 3px solid var(--apricot);
  border-radius: var(--radius-s);
  text-align: center;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* ── icon ── */
.ab__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--apricot);
}
.ab__icon svg { width: 100%; height: 100%; display: block; }
.ab__icon        { width: 34px; height: 34px; }
.ab__icon--lg    { width: 52px; height: 52px; margin-bottom: 18px; }
.ab__icon--xl    { width: 96px; height: 96px; }
.ab__icon--sm    { width: 30px; height: 30px; margin-bottom: 10px; }

/* ── 左右圖文 ──
   HTML 的順序是「圖、文」，所以：
   ・預設（左文右圖）要把圖用 order 推到右邊
   ・is-left（左圖右文）維持原本的順序
   2026-09-01 客戶回報「這區塊改成左文右圖」才發現這裡原本寫反了，
   兩種設定看起來都是圖在左。 */
.ab__split {
  display: grid;
  grid-template-columns: 1fr 46%;   /* 左邊文字、右邊圖 */
  gap: 56px;
  align-items: center;
}
.ab__media { order: 2; }
.ab__text  { order: 1; }

.ab--split.is-left .ab__split { grid-template-columns: 46% 1fr; }
.ab--split.is-left .ab__media { order: 1; }
.ab--split.is-left .ab__text  { order: 2; }

.ab__media {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--clay);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.ab__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 2026-09-01 客戶要求：圖片上的 01 02 03 拿掉。
   樣式先留著（萬一之後想加回來），HTML 那邊已經不輸出了。 */
.ab__no { display: none; }

/* ── 卡片 ── */
.ab__head { text-align: center; margin-bottom: 40px; }
.ab__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.ab__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ab__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.ab__card-no {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 30px;
  font-weight: 800;
  color: var(--apricot);
  opacity: .18;
  line-height: 1;
}
.ab__card .ab__icon { margin-bottom: 14px; }
.ab__card p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
  margin: 0;
}

/* ── 滿版深色（結尾行動呼籲）── */
.ab--band {
  background: var(--brown-deep);
  color: var(--white);
}
.ab--band .ab__title { color: var(--white); }
.ab--band .ab__p     { color: rgba(255, 255, 255, .82); }
.ab--band .ab__eyebrow { color: rgba(255, 255, 255, .7); }
.ab--band .ab__en    { color: var(--butter); }
.ab--band .ab__icon  { color: var(--butter); }
.ab--band .ab__quote {
  background: rgba(255, 255, 255, .07);
  border-top-color: var(--butter);
  color: var(--white);
}

/* ── 按鈕 ── */
.ab__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ab__btns--center { justify-content: center; }
.ab__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  background: var(--apricot);
  color: var(--white);
  border: 1.5px solid var(--apricot);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.ab__btn:hover { background: var(--apricot-dark); border-color: var(--apricot-dark); transform: translateY(-2px); }
.ab__btn--outline { background: transparent; color: var(--apricot); }
.ab__btn--outline:hover { background: var(--apricot); color: var(--white); }
.ab__btn--light { background: var(--butter); color: var(--brown-deep); border-color: var(--butter); }
.ab__btn--light:hover { background: var(--white); border-color: var(--white); }
.ab__btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.ab__btn--outline-light:hover { background: var(--white); color: var(--brown-deep); border-color: var(--white); }

/* ── 年份時間軸 ── */
.ab-tl {
  list-style: none;
  margin: 30px 0 0;
  padding: 0 0 0 26px;
  position: relative;
  text-align: left;
}
.ab-tl::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--apricot), var(--apricot-soft));
  border-radius: 2px;
}
.ab-tl__item { position: relative; padding: 0 0 22px; }
.ab-tl__item:last-child { padding-bottom: 0; }
.ab-tl__dot {
  position: absolute;
  left: -26px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--apricot);
  box-shadow: 0 0 0 4px rgba(238, 155, 98, .14);
}
.ab-tl__year {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: .02em;
}
.ab-tl__desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.ab--band .ab-tl__year { color: var(--white); }
.ab--band .ab-tl__desc { color: rgba(255, 255, 255, .78); }

/* ── 手機 ── */
@media (max-width: 900px) {
  .ab { padding: 56px 0; }
  .ab__split,
  .ab--split.is-left .ab__split { grid-template-columns: 1fr; gap: 26px; }
  /* 手機是單欄，一律圖在上、文字在下 */
  .ab__media, .ab--split.is-left .ab__media { order: 1; }
  .ab__text,  .ab--split.is-left .ab__text  { order: 2; }
  .ab__media { aspect-ratio: 16 / 11; }
  .ab__no { font-size: 40px; }
  .ab__btns { justify-content: center; }
  .ab__quote { font-size: 16px; padding: 15px 18px; }
}

/* 語系切換按鈕（2026-09-01 客戶要求做英文版）
   放在頁首右邊、會員與購物車旁邊，用外框跟其他 icon 區隔。 */
.header__lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.header__lang:hover { background: var(--apricot-soft); border-color: var(--apricot); }
.header__lang .header__tool-text { display: inline !important; }
@media (max-width: 640px) {
  .header__lang { padding: 5px 10px; font-size: 12px; }
}
