:root {
  /* 主色系：取自菜單實際用色 */
  --green: #43766C;         /* 菜單底色（佔比 83.8%） */
  --green-dark: #35594F;    /* 深一階，訂購區的抬升面板 */
  --green-light: #5C8F84;   /* 淺一階，只可用於邊框與大字，內文對比不足 */
  --gold: #F8B858;          /* 菜單金黃（標題、標價、CTA） */
  --gold-light: #F8D858;    /* 菜單亮黃，用於亮色強調區塊 */
  --gold-deep: #8A5D10;     /* 金色文字用，只可用在亮底（如 .booking） */
  --green-deepest: #233B34; /* 金底上的深色字 */
  --ivory: #F8F8E8;         /* 菜單米白 */
  --raspberry: #9A1B27;     /* 原 CIS 紅，只給 NEW 標籤的底色 */
  --line-green: #06C755;    /* LINE 品牌色，不可更動 */

  /* 深色版面（2026-08-12 改版：參考柴窯的深色大圖版型，但用自家墨綠不用黑） */
  --bg: #233B34;            /* 頁面底 深墨綠 */
  --surface: #2C4A42;       /* 卡片／商品列底，比 --bg 亮一階 */
  --ink: #1A2C27;           /* 頁首與頁尾，比 --bg 再深一階 */
  --text: #F8F8E8;          /* 主文字（在 --bg 上 11.2:1） */
  --text-mute: #B7C7C1;     /* 次要文字（在 --bg 上 6.9:1，仍達 AA） */
  --border: rgba(248, 248, 232, 0.14);
  --raspberry-light: #FF9AA2; /* 深底上的紅，原 --raspberry 在深底看不見 */

  --radius: 14px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 活動公告條：整站唯一的亮金色橫幅，放在頁首之上，滑過去就不擋畫面 */
.promo-bar {
  display: block;
  background: var(--gold);
  color: var(--green-deepest);
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.6;
}
.promo-bar b { font-weight: 700; }
.promo-bar span {
  opacity: 0.85;
  font-size: 0.84rem;
  margin-left: 8px;
}
.promo-bar:hover { background: var(--gold-light); }
.promo-bar[hidden] { display: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--ivory);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
/* 品牌區＝廚師帽標誌＋中文字。整組是回頂端連結（網頁通例）。
   完整 logo 的 Boss Jia 花體字在頁首那麼小的高度會糊掉，所以只取廚師帽。 */
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-decoration: none;
}
.brand img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--gold); color: var(--green-deepest); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-add {
  background: var(--gold);
  color: var(--green-deepest);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
.btn-add:hover { background: var(--gold-light); }

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  background: var(--ink);
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(26,44,39,0.3) 0%, rgba(26,44,39,0.85) 100%);
  color: var(--ivory);
  padding: 20px;
}
.hero-overlay h1 {
  font-size: 3rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-overlay p {
  font-size: 1.15rem;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* Section shared */
section { padding: 64px 0; }
.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-mute);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ── 分類大圖導覽（2026-08-12 新增，本次改版主角）──────────────
   不用文字清單當入口，用照片。整塊可點，連到商品區既有的 #cat-1~#cat-6。 */
.cat-nav { padding-top: 56px; padding-bottom: 56px; }
.cat-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.cat-nav-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cat-nav-item:hover,
.cat-nav-item:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.cat-nav-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.cat-nav-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat-nav-item:hover .cat-nav-media img { transform: scale(1.06); }
.cat-nav-body { padding: 14px 16px 18px; }
.cat-nav-name {
  display: block;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.cat-nav-desc {
  display: block;
  color: var(--text-mute);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 照片佔位：老闆家補一張換一張，沒補完也不開天窗。要看起來像設計的一部分。 */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 16px;
  border: 2px dashed rgba(248, 184, 88, 0.45);
  background:
    repeating-linear-gradient(45deg,
      transparent, transparent 10px,
      rgba(248, 184, 88, 0.05) 10px, rgba(248, 184, 88, 0.05) 20px),
    var(--bg);
}
.ph-emoji { font-size: 2rem; line-height: 1; }
.ph-name { color: var(--gold); font-weight: 700; font-size: 0.95rem; }
.ph-size { color: var(--text-mute); font-size: 0.72rem; }

/* Features */
.features { background: var(--surface); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 12px; }
.feature-card h3 { color: var(--gold); margin-bottom: 10px; }
.feature-card p { color: var(--text-mute); font-size: 0.95rem; }

/* 輪播圓點：桌機三欄並排時用不到，只在手機顯示（見 600px 的 media query） */
.feature-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.feature-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(248, 248, 232, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.feature-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--gold);
}

/* ── 品牌故事 ────────────────────────────────────────────
   沒有製作過程照，所以不放照片，改成置中宣言＋廚師帽標誌當定錨。 */
.story { background: var(--bg); }
.story-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.story-mark {
  width: 78px;
  height: auto;
  margin: 0 auto 20px;
  opacity: 0.95;
}
.story-inner h2 {
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1.6;
  margin-bottom: 26px;
}
/* 標題下方的金色短線，讓純文字區塊有個收束 */
.story-inner h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  background: var(--gold);
  margin: 22px auto 0;
  opacity: 0.7;
}
/* 品牌命名的那句話，字級拉大當副標 */
.story-lead {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 34px;
}
/* 內文改靠左：長段落置中很難讀 */
.story-body {
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
}
.story-body p {
  color: var(--text-mute);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 2;
}
.story-close {
  text-align: center;
  color: var(--text) !important;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 30px;
  margin-bottom: 0 !important;
}

/* 四段歷程。沒有照片時給這一區一個視覺骨架 */
.story-timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 44px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.story-timeline li {
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.7;
}
.story-timeline b {
  display: block;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.story-timeline span { color: var(--text-mute); }

/* Products / Menu */
.products { background: var(--bg); }
.menu-version {
  font-size: 0.8rem;
  color: var(--text-mute);
}
.shipping-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  background: var(--gold-light);
  color: var(--green-dark);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 40px;
  font-size: 0.92rem;
  text-align: center;
}
.menu-download {
  text-align: center;
  margin: -24px 0 32px;
  font-size: 0.9rem;
}
.menu-download a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.menu-download a:hover { color: var(--gold-light); }

.cat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.35rem;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin: 40px 0 18px;
  scroll-margin-top: 72px; /* 錨點跳過來時不被 sticky 頁首擋住 */
}
.cat-title:first-of-type { margin-top: 0; }
/* 每個分類標題自帶回分類入口：客人看完一區就能換下一區，不用刮回頁首 */
.cat-back {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-mute);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.cat-back:hover,
.cat-back:focus-visible { color: var(--gold); border-color: var(--gold); }
/* 分類料理實拍：桌機浮右、手機置中 */
.cat-photo {
  float: right;
  width: 240px;
  margin: 0 0 16px 24px;
  text-align: center;
}
.cat-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cat-photo figcaption {
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-top: 8px;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
}
/* 圖片浮動後要清除，否則下一個分類標題會被推歪 */
.menu-list::after { content: ""; display: block; clear: both; }

/* LINE QR（位於 .booking 亮金底上，故用深色字） */
.qr-block {
  margin: 28px auto 0;
  max-width: 190px;
}
.qr-block img {
  width: 100%;
  height: auto;
  background: #fff;
  padding: 10px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.qr-block figcaption {
  font-size: 0.8rem;
  color: #6B5410;
  margin-top: 10px;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.item-name {
  flex: 1;
  font-weight: 700;
  color: var(--text);
  font-size: 0.98rem;
}
.tag-new {
  display: inline-block;
  background: var(--raspberry);
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 4px;
}
.item-variant,
.item-option {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--ink);
  font-family: inherit;
  cursor: pointer;
}
/* 選配的第二個下拉（辣度）。用金色框跟規格下拉區隔，客人才不會漏看 */
.item-option {
  border-color: var(--gold);
  color: var(--gold);
}

/* Order（比頁面底色亮一階，做出抬升的面板感） */
.order { background: var(--green-dark); color: var(--ivory); }
.order .section-title { color: var(--gold-light); }
.order .section-subtitle { color: var(--ivory); }
.order-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.step {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.92rem;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deepest);
  font-weight: 700;
  margin-right: 10px;
}
.cart-box {
  background: var(--ink);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.cart-box h3 { color: var(--gold); margin-bottom: 16px; }
.cart-list { list-style: none; text-align: left; margin-bottom: 16px; }
.cart-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.cart-empty { color: var(--text-mute); justify-content: center !important; border-bottom: none !important; }
.cart-remove {
  background: none;
  border: none;
  color: var(--raspberry-light);
  cursor: pointer;
  font-size: 0.85rem;
  margin-left: 10px;
}
.cart-total { font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; }

/* ── 食譜建議 ────────────────────────────────────────────
   沿用問答的摺疊樣式，客人一眼看得到有幾道菜，不用先滑過整篇。 */
.recipes { background: var(--bg); }
.recipes .section-subtitle a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.recipe-list { max-width: 720px; margin: 0 auto; }
.recipe-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.recipe-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--gold);
  list-style: none;
}
.recipe-item summary::-webkit-details-marker { display: none; }
.recipe-item summary::before { content: "🍳 "; }
.recipe-item summary::after {
  content: "＋";
  float: right;
  color: var(--gold);
}
.recipe-item[open] summary::after { content: "－"; }
.recipe-body { padding: 0 20px 22px; }

/* 老闆家做的圖卡：適合存手機、傳 LINE，所以整張可點開看大圖 */
.recipe-card {
  display: block;
  max-width: 340px;
  margin: 0 auto 20px;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink);
}
.recipe-card img { width: 100%; height: auto; }
.recipe-card-hint {
  display: block;
  padding: 8px 10px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-mute);
}
.recipe-card:hover { border-color: var(--gold); }
.recipe-card:hover .recipe-card-hint { color: var(--gold); }

.recipe-ing {
  background: var(--ink);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--text-mute);
  line-height: 1.9;
}
.recipe-ing b { color: var(--gold); }
.recipe-body ol {
  margin: 0 0 16px 1.4em;
  color: var(--text-mute);
  font-size: 0.93rem;
  line-height: 1.85;
}
.recipe-body ol li { margin-bottom: 10px; }
.recipe-tip {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 0.86rem;
  color: var(--text-mute);
  line-height: 1.85;
}
.recipe-tip b { color: var(--gold); }

/* ── 常見問題 自助問答 ─────────────────────────────────── */
.faq { background: var(--surface); }
.faq-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 16px;
}
.faq-input {
  flex: 1;
  min-width: 0;
  background: var(--ink);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 1rem;
  font-family: inherit;
}
.faq-input::placeholder { color: var(--text-mute); opacity: 0.75; }
.faq-input:focus {
  outline: none;
  border-color: var(--gold);
}
.faq-submit { flex-shrink: 0; padding: 12px 22px; }

.faq-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto 28px;
}
.faq-chip,
.faq-suggest {
  background: transparent;
  color: var(--text-mute);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.faq-chip:hover, .faq-chip:focus-visible,
.faq-suggest:hover, .faq-suggest:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.faq-answer {
  max-width: 640px;
  margin: 0 auto 32px;
  background: var(--ink);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.faq-answer[hidden] { display: none; }
.faq-answer-q { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.faq-answer-body p { margin-bottom: 10px; font-size: 0.95rem; }
.faq-answer-body ul,
.faq-answer-body ol { margin: 0 0 10px 1.3em; font-size: 0.95rem; }
.faq-answer-body li { margin-bottom: 6px; }
.faq-answer-more {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-mute);
}
.faq-answer-link { color: var(--gold); font-weight: 700; margin-left: 4px; }

/* 答不出來時：把客人打的原句一鍵帶進 LINE，不用重打 */
.faq-miss { font-size: 1rem; margin-bottom: 16px; }
.faq-ask-line { display: inline-block; }
.faq-suggest-title {
  margin: 20px 0 10px;
  font-size: 0.85rem;
  color: var(--text-mute);
}
.faq-suggest-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* 全部攤開的問答清單：沒有 JavaScript 也讀得到，搜尋引擎也爬得到 */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list-title {
  font-size: 0.95rem;
  color: var(--text-mute);
  font-weight: 400;
  text-align: center;
  margin-bottom: 14px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋";
  float: right;
  color: var(--gold);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "－"; }
.faq-item summary:hover { color: var(--gold); }
.faq-a {
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--text-mute);
}
.faq-a p { margin-bottom: 9px; }
.faq-a ul, .faq-a ol { margin: 0 0 9px 1.3em; }
.faq-a li { margin-bottom: 6px; }
.faq-a b { color: var(--text); }

/* Booking（整站唯一的亮色區塊，讓最後的 CTA 跳出來） */
.booking { background: var(--gold-light); text-align: center; }
.booking .section-title { color: var(--green-dark); }
.booking .section-subtitle { color: #6B5410; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d6e4df;
  padding: 48px 0 28px;
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  text-align: left;
}
.footer-col h4 {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.footer-col p { margin-bottom: 5px; }
.footer-col a {
  color: #d6e4df;
  text-decoration: none;
  display: block;
  padding: 3px 0;
}
.footer-col a:hover { color: var(--gold); }
.footer-brand-slogan {
  color: var(--text-mute);
  font-size: 0.82rem;
  margin-top: 8px;
  line-height: 1.6;
}
/* 尚未取得的資訊用這個樣式標示，一律留白不編造 */
.footer-todo {
  color: var(--text-mute);
  font-size: 0.78rem;
  opacity: 0.7;
  font-style: italic;
}
/* 法定揭露資訊：商號、統編、食品業者登錄字號 */
.footer-legal {
  color: var(--text-mute);
  font-size: 0.8rem;
  line-height: 1.9;
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 18px;
  text-align: center;
}
.footer-note { margin-top: 6px; font-size: 0.78rem; color: var(--text-mute); }

/* 配送方式選擇 */
.shipping-picker {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px 12px;
  margin: 0 0 16px;
  text-align: left;
}
.shipping-picker legend {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  padding: 0 6px;
}
.shipping-picker label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.92rem;
}
.shipping-picker label:hover { background: rgba(248, 248, 232, 0.06); }
.shipping-picker input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.shipping-picker input[type="radio"]:checked + span {
  font-weight: 700;
  color: var(--gold);
}

.shipping-hint {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 700;
}

/* Mini cart bar */
.mini-cart {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 60;
}
.mini-cart[hidden] { display: none; }
.mini-cart-go {
  background: var(--gold);
  color: var(--green-deepest);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.9rem;
}
.nav-links a:hover { color: var(--gold); }

/* 回頂端（左下角：右下是 LINE、正中是購物車，三個角各司其職不打架）
   預設可見 = 沒有 JavaScript 也能用；載入 ui.js 後才改成滾過首圖才出現 */
.fab-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  z-index: 60;
  transition: opacity 0.25s ease, visibility 0.25s ease,
              transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.fab-top:hover,
.fab-top:focus-visible {
  transform: translateY(-3px);
  background: var(--gold);
  color: var(--green-deepest);
}
.js-scroll-aware .fab-top { opacity: 0; visibility: hidden; }
.js-scroll-aware .fab-top.is-visible { opacity: 1; visibility: visible; }

/* Floating LINE button */
.fab-line {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--line-green);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  z-index: 60;
}


@media (max-width: 600px) {
  .hero-overlay h1 { font-size: 2.1rem; }
  .hero-slogan { font-size: 1rem; }
  .section-title { font-size: 1.5rem; }
  .nav-links { display: none; }
  .menu-list { grid-template-columns: 1fr; }

  /* 商品特色改成一次一張的輪播，省掉手機上三張直排的長度。
     用原生的橫向捲動 + scroll-snap：手指滑就會一張一張定位，不需要 JavaScript。 */
  .feature-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* 負邊距抵銷 .container 的內距，讓卡片能滑到貼齊螢幕邊緣 */
    margin: 0 -20px;
    padding: 0 20px;
  }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 26px 20px;
  }
  .feature-dots { display: flex; }
  .cat-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-nav-body { padding: 10px 12px 14px; }
  .cat-nav-name { font-size: 0.92rem; }
  .cat-nav-desc { display: none; }
  .ph-emoji { font-size: 1.5rem; }
  .ph-name { font-size: 0.82rem; }
  .ph-size { display: none; }
  .cat-photo { float: none; width: 100%; max-width: 320px; margin: 0 auto 18px; }
  .menu-item { flex-wrap: wrap; }
  .item-name { flex: 1 1 100%; margin-bottom: 6px; }
  .item-variant { flex: 1; }
  .mini-cart { bottom: 16px; font-size: 0.85rem; padding: 10px 18px; }
  .fab-line { bottom: 80px; }
  /* 手機上公告條的補充說明另起一行，不要擠成一團 */
  .promo-bar { padding: 9px 16px; font-size: 0.84rem; }
  .promo-bar span { display: block; margin-left: 0; font-size: 0.76rem; }
  .story-inner h2 { font-size: 1.3rem; }
  .story-mark { width: 62px; }
  .story-lead { font-size: 1.02rem; margin-bottom: 26px; }
  .story-body p { font-size: 0.95rem; line-height: 1.95; }
  .story-timeline { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
}
