/* ============================================
   泛亞優質食品 — 網站樣式
   風格：日式高端食材 / 深色質感 / 金色點綴
   ============================================ */

:root {
  --bg: #0b0d0f;
  --bg-2: #111417;
  --bg-3: #171b1f;
  --surface: #1b2024;
  --surface-2: #22282d;
  --gold: #c9a55c;
  --gold-light: #e4c88a;
  --gold-dim: rgba(201, 165, 92, 0.22);
  --text: #eceae4;
  --text-mid: #a8aca8;
  --text-dim: #727873;
  --line: rgba(255, 255, 255, 0.09);
  --font-serif: "Noto Serif TC", "Songti TC", serif;
  --font-sans: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-en: "Cormorant Garamond", Georgia, serif;
  --maxw: 1200px;
  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(calc(100% - 48px), var(--maxw)); margin: 0 auto; }

/* ---------- 通用元件 ---------- */
.section { padding: 110px 0; position: relative; }
.section-eyebrow {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.section-title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.section-sub {
  color: var(--text-mid);
  font-size: 16px;
  max-width: 640px;
  margin-top: 20px;
  font-weight: 300;
}
.section-head { margin-bottom: 56px; }
.section-head.light .section-title { color: #f5f3ee; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.btn span { transition: transform var(--transition); font-size: 18px; }
.btn:hover span { transform: translateX(5px); }
.btn-gold {
  background: var(--gold);
  color: #14110b;
  font-weight: 600;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 165, 92, 0.25); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; justify-content: center; }

/* 入場動畫 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- 導覽列 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(11, 13, 15, 0.94);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 22px;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201, 165, 92, 0.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--font-serif); font-size: 17px; font-weight: 600; letter-spacing: 0.08em; }
.brand-text small { font-family: var(--font-en); font-size: 10px; letter-spacing: 0.18em; color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  position: relative;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 100%; }
.main-nav .nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--gold); color: #14110b; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 120; }
.nav-toggle span { width: 25px; height: 2px; background: var(--text); display: block; transition: var(--transition); }
/* 側邊欄打開時，漢堡圖示變為 X */
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 側邊欄遮罩 */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* ---------- 首頁主視覺 ---------- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero.png") center center / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,13,15,0.96) 0%, rgba(11,13,15,0.82) 38%, rgba(11,13,15,0.35) 70%, rgba(11,13,15,0.55) 100%),
              linear-gradient(0deg, rgba(11,13,15,1) 0%, transparent 25%);
}
.hero-content { position: relative; z-index: 2; padding-top: 80px; }
.hero-eyebrow {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(46px, 7.5vw, 92px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.hero-title span, .hero-title em { display: block; opacity: 0; animation: fadeUp 0.9s forwards; }
.hero-title span { animation-delay: 0.35s; }
.hero-title em {
  font-style: normal;
  color: var(--gold);
  animation-delay: 0.55s;
  text-shadow: 0 4px 30px rgba(201, 165, 92, 0.25);
}
.hero-desc {
  color: var(--text-mid);
  font-size: 17px;
  font-weight: 300;
  line-height: 2;
  margin-bottom: 38px;
  max-width: 600px;
  opacity: 0;
  animation: fadeUp 0.9s 0.75s forwards;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.9s 0.95s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  border-top: 1px solid var(--line);
  background: rgba(11, 13, 15, 0.55);
  backdrop-filter: blur(8px);
}
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 26px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat:last-child { border-right: none; }
.stat strong { font-family: var(--font-en); font-size: 38px; font-weight: 500; color: var(--gold); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--text-mid); letter-spacing: 0.08em; }
.scroll-hint {
  position: absolute;
  bottom: 130px; right: 40px;
  z-index: 4;
  width: 24px; height: 42px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-hint span { width: 3px; height: 8px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0.2; } }

/* ---------- 關於我們 ---------- */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; padding: 20px; }
.about-img-wrap::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 70%; height: 80%;
  border: 1px solid var(--gold-dim);
  z-index: 0;
}
.about-img-wrap img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(0.9); }
.about-badge {
  position: absolute;
  bottom: 0; right: -10px;
  z-index: 2;
  background: var(--gold);
  color: #14110b;
  padding: 18px 26px;
  text-align: center;
}
.about-badge span { display: block; font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.about-badge small { font-family: var(--font-en); font-size: 11px; letter-spacing: 0.2em; }
.about-text .lead { color: var(--text); font-size: 16px; margin: 24px 0 16px; line-height: 2; }
.about-text > p:not(.lead):not(.section-eyebrow) { color: var(--text-mid); font-size: 15px; font-weight: 300; margin-bottom: 14px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { color: var(--gold); font-size: 16px; margin-top: 3px; }
.feature strong { display: block; font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.feature small { display: block; color: var(--text-dim); font-size: 12px; font-weight: 300; }

/* ---------- 產品目錄 ---------- */
.products { background: var(--bg); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 42px; }
.filter-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-mid);
  font-family: var(--font-sans);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); color: #14110b; border-color: var(--gold); font-weight: 600; }
.filter-btn .filter-count { font-size: 11px; opacity: 0.7; margin-left: 5px; }

.category-banner {
  position: relative;
  height: 240px;
  margin-bottom: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.cat-banner-img { position: absolute; inset: 0; background-size: cover; background-position: center 55%; transition: background-image 0.4s; }
.cat-banner-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,15,0.92), rgba(11,13,15,0.45) 70%, rgba(11,13,15,0.2)); }
.cat-banner-content { position: relative; z-index: 2; padding: 0 48px; }
.cat-banner-en { font-family: var(--font-en); font-size: 14px; letter-spacing: 0.25em; color: var(--gold); }
.cat-banner-content h3 { font-family: var(--font-serif); font-size: 34px; font-weight: 500; margin: 6px 0 8px; }
.cat-banner-content p { color: var(--text-mid); font-size: 14px; font-weight: 300; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px 26px 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height var(--transition);
}
.product-card:hover { background: var(--surface-2); border-color: var(--gold-dim); transform: translateY(-4px); }
.product-card:hover::before { height: 100%; }
.product-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.product-cat-tag {
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 3px 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.product-idx { font-family: var(--font-en); font-size: 14px; color: var(--text-dim); }
.product-card h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 500; line-height: 1.5; margin-bottom: 14px; min-height: 51px; }
.product-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-mid); }
.product-meta div { display: flex; gap: 8px; }
.product-meta .meta-label { color: var(--text-dim); min-width: 42px; flex-shrink: 0; }
.product-note { font-size: 12px; color: var(--gold); opacity: 0.85; margin-top: 6px; }
.product-action {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-placeholder { font-size: 13px; color: var(--text-dim); font-style: italic; }
.inquire-btn {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.inquire-btn:hover, .inquire-btn.added { background: var(--gold); color: #14110b; border-color: var(--gold); }
/* 產品卡 WhatsApp 按鈕 */
.wa-product-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: #25d366; border-color: #25d366; color: #fff;
  text-decoration: none; font-weight: 600; white-space: nowrap;
}
.wa-product-btn:hover { background: #20bd5a; border-color: #20bd5a; color: #fff; }
.wa-product-btn.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.products-note { text-align: center; margin-top: 40px; color: var(--text-dim); font-size: 14px; }
.products-note a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }

/* ---------- 優勢 ---------- */
.strength { background: #0e1113; overflow: hidden; }
.strength-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,165,92,0.08), transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(201,165,92,0.05), transparent 45%);
  pointer-events: none;
}
.strength-content { position: relative; z-index: 1; }
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.strength-card { padding: 40px 26px; border-right: 1px solid var(--line); transition: var(--transition); }
.strength-card:last-child { border-right: none; }
.strength-card:hover { background: rgba(255,255,255,0.02); }
.strength-num { font-family: var(--font-en); font-size: 44px; color: var(--gold-dim); line-height: 1; display: block; margin-bottom: 22px; }
.strength-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 500; margin-bottom: 14px; }
.strength-card p { color: var(--text-mid); font-size: 14px; font-weight: 300; line-height: 1.9; }

/* ---------- 送貨須知 ---------- */
.delivery { background: var(--bg-2); }
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.delivery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 40px;
  position: relative;
}
.delivery-card::before {
  content: attr(data-num);
  position: absolute;
  top: 24px; right: 30px;
  font-family: var(--font-en);
  font-size: 60px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}
.delivery-card h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; margin-bottom: 6px; color: var(--gold); }
.delivery-card .dc-en { font-family: var(--font-en); font-size: 13px; letter-spacing: 0.2em; color: var(--text-dim); margin-bottom: 24px; display: block; }
.delivery-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.delivery-row:last-child { border-bottom: none; }
.delivery-row .dr-label {
  flex-shrink: 0;
  width: 76px;
  color: var(--gold);
  font-size: 13px;
  padding-top: 2px;
}
.delivery-row .dr-value { color: var(--text-mid); font-size: 14px; font-weight: 300; line-height: 1.8; }
.delivery-note {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--gold-dim);
  border-left: 2px solid var(--gold);
  font-size: 14px;
  color: var(--text-mid);
}
.note-icon { color: var(--gold); font-weight: 700; font-size: 18px; }

/* ---------- 聯絡詢價 ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info .lead { color: var(--text-mid); font-size: 16px; font-weight: 300; margin: 20px 0 32px; max-width: 440px; }
.contact-detail { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 18px; align-items: center; }
.contact-icon {
  width: 46px; height: 46px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item small { display: block; font-size: 11px; color: var(--text-dim); letter-spacing: 0.1em; }
.contact-item strong { display: block; font-size: 15px; font-weight: 400; line-height: 1.5; }
.contact-quote { margin-top: 40px; padding: 24px 28px; border-left: 2px solid var(--gold); background: var(--bg-2); }
.contact-quote p { font-family: var(--font-serif); font-size: 17px; font-style: italic; line-height: 1.8; }
.contact-quote small { font-size: 12px; color: var(--text-dim); display: block; margin-top: 10px; }

.inquiry-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 42px;
}
.inquiry-form h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 500; margin-bottom: 4px; }
.form-sub { font-size: 12px; color: var(--text-dim); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; color: var(--text-mid); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a55c' d='M6 8L2 4h8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group select option { background: var(--bg-2); }
.field-hint { display: block; font-size: 11px; color: var(--text-dim); margin-top: 6px; }
.form-group .error-msg { display: block; color: #e07a5f; font-size: 12px; margin-top: 5px; }
.form-msg { margin-top: 16px; font-size: 14px; text-align: center; min-height: 22px; }
.form-msg.success { color: var(--gold); }
.form-msg.error { color: #e07a5f; }

/* ---------- 頁尾 ---------- */
.site-footer { background: #08090a; border-top: 1px solid var(--line); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 60px; padding-bottom: 50px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; font-weight: 300; margin-top: 20px; max-width: 300px; }
.footer-col h4 { font-family: var(--font-serif); font-size: 15px; font-weight: 600; margin-bottom: 20px; color: var(--gold); }
.footer-col a { display: block; color: var(--text-mid); font-size: 14px; margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: var(--text-mid); font-size: 13px; font-weight: 300; margin-bottom: 10px; line-height: 1.9; }
.footer-col p span { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; color: var(--text-dim); font-size: 12px; }

.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 50;
  width: 44px; height: 44px;
  background: var(--gold);
  color: #14110b;
  display: grid;
  place-items: center;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ---------- WhatsApp 懸浮按鈕 ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px; right: 84px;
  z-index: 60;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); background: #20bd5a; box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6); }
.whatsapp-float::after {
  content: '';
  position: absolute;
  top: -3px; right: -3px;
  width: 14px; height: 14px;
  background: #25d366;
  border-radius: 50%;
  border: 2px solid var(--bg);
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.wa-tooltip {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: #1b2024;
  color: var(--text);
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: 1px solid var(--line);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ---------- 響應式 ---------- */
@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-card:nth-child(2) { border-right: none; }
  .strength-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-grid { gap: 40px; }
  .footer-grid { gap: 30px; }
}

@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .container { width: min(calc(100% - 36px), var(--maxw)); }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 78%; max-width: 320px;
    height: 100vh;
    background: var(--bg-2);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .main-nav.open { right: 0; }
  .main-nav a { font-size: 16px; }
  .hero-title { font-size: clamp(42px, 11vw, 64px); }
  .hero-desc { font-size: 15px; }
  .hero-stats { position: relative; margin-top: 60px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .scroll-hint { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { max-width: 420px; }
  .about-features { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-banner-content { padding: 0 24px; }
  .cat-banner-content h3 { font-size: 26px; }
  .category-banner { height: 200px; }
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-card { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 420px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 10px; }
  .stat strong { font-size: 30px; }
  .about-features { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* 列印 */
@media print {
  .site-header, .back-to-top, .hero-stats, .inquire-btn, .hero-actions { display: none !important; }
  body { background: #fff; color: #000; }
}
