/* =========================================================
   鷹之翼股份有限公司｜EAGLE WING 官方網站樣式
   ========================================================= */

:root {
  --ink: #0d1a24;
  --ink-2: #14283a;
  --ink-3: #1d3d57;
  --gold: #c9983f;
  --gold-2: #e2ba6d;
  --gold-soft: rgba(201, 152, 63, .14);
  --paper: #ffffff;
  --sand: #f8f5ef;
  --sand-2: #f1ece1;
  --line: #e5dfd3;
  --line-2: #d8d1c3;
  --text: #1a2530;
  --muted: #6d7a87;
  --ok: #2f8f5b;
  --warn: #b5721d;
  --err: #b83a3a;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 8px 24px rgba(13, 26, 36, .07);
  --shadow-lg: 0 24px 56px rgba(13, 26, 36, .16);
  --wrap: 1180px;
  --font: "Noto Sans TC", "PingFang TC", "Hiragino Sans TC", "Microsoft JhengHei",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: .01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
s { color: var(--muted); }
button { font: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.18em;
}

/* =========================================================
   頁首
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13, 26, 36, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: #eef3f7;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--gold), #a87a24);
  color: #14202b;
  box-shadow: 0 6px 18px rgba(201, 152, 63, .35);
}
.brand-mark .ico { width: 23px; height: 23px; stroke-width: 1.5; }
.brand-mark-lg { width: 58px; height: 58px; border-radius: 18px; margin: 0 auto 6px; }
.brand-mark-lg .ico { width: 32px; height: 32px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: .12em; }
.brand-text small { font-size: 9.5px; letter-spacing: .3em; color: var(--gold-2); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  color: rgba(238, 243, 247, .78);
  transition: .18s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-link.is-active { color: #101c26; background: var(--gold-2); font-weight: 600; }

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.head-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 7px 14px;
  color: rgba(238, 243, 247, .7);
  transition: .18s;
}
.head-search:focus-within { background: rgba(255, 255, 255, .16); border-color: var(--gold); }
.head-search input {
  border: 0;
  background: none;
  color: #fff;
  outline: none;
  width: 150px;
  font-size: 14px;
}
.head-search input::placeholder { color: rgba(238, 243, 247, .55); }

.cart-link {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: .18s;
}
.cart-link .ico { width: 20px; height: 20px; }
.cart-link:hover { background: var(--gold); color: #14202b; border-color: var(--gold); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #14202b;
  font-size: 11.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.cart-badge.is-on { background: var(--gold-2); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
  place-items: center;
}
.nav-toggle .ico { width: 22px; height: 22px; }

/* =========================================================
   Flash
   ========================================================= */

.flash-wrap { padding-top: 18px; display: grid; gap: 10px; }

.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  border: 1px solid;
  animation: flashIn .28s ease-out;
}
.flash-success { background: #eef7f1; border-color: #c8e5d3; color: #226a44; }
.flash-error { background: #fdf0ef; border-color: #f0cdc9; color: #97322f; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-6px); } }

/* =========================================================
   首頁 HERO
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 560px at 12% -14%, #1f4c6b 0%, rgba(31, 76, 107, 0) 62%),
    radial-gradient(880px 520px at 88% 4%, rgba(201, 152, 63, .34) 0%, rgba(201, 152, 63, 0) 58%),
    linear-gradient(180deg, #0d1a24 0%, #0b1620 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 56px;
  align-items: center;
  padding: 84px 24px 88px;
}

.eyebrow {
  font-size: 11.5px;
  letter-spacing: .26em;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(30px, 4.1vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(96deg, var(--gold-2), #f0dcb4 60%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 16px;
  color: rgba(238, 243, 247, .78);
  max-width: 30em;
  line-height: 1.85;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }

.hero-stats {
  display: flex;
  gap: 38px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 24px;
}
.hero-stats dt { font-size: 12.5px; letter-spacing: .08em; color: rgba(238, 243, 247, .55); }
.hero-stats dd { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #fff; margin: 2px 0 0; }
.hero-stats dd small { font-size: 13px; font-weight: 500; color: var(--gold-2); }

/* HERO 卡片 */

.hero-panel { perspective: 1200px; }

.hero-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, .97), rgba(243, 240, 233, .94));
  color: var(--text);
  border-radius: 20px;
  padding: 18px 20px 0;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-2);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(47, 143, 91, .16);
}

.hero-feed { display: grid; gap: 2px; padding: 10px 0; }
.hero-feed li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sand-2);
  font-size: 13.5px;
}
.hero-feed li:last-child { border-bottom: 0; }
.hero-feed em { font-style: normal; font-size: 12px; color: var(--muted); }

.feed-tag {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 3px 0;
  border-radius: 6px;
  color: #fff;
  letter-spacing: .04em;
}
.tag-agri { background: #4f9a5b; }
.tag-auto { background: #2f628c; }
.tag-beauty { background: #b04a7a; }
.tag-drink { background: #2f8fa8; }

.hero-card-foot {
  background: var(--ink);
  color: #fff;
  margin: 12px -20px 0;
  padding: 14px 20px;
  border-radius: 0 0 20px 20px;
  font-size: 11.5px;
  display: grid;
  gap: 3px;
}
.hero-card-foot span { letter-spacing: .16em; color: var(--gold-2); font-size: 10.5px; }
.hero-card-foot strong { font-size: 13px; font-weight: 600; }

/* =========================================================
   服務條
   ========================================================= */

.strip { background: var(--sand); border-bottom: 1px solid var(--line); }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 26px 24px;
}
.strip-item { display: flex; gap: 12px; align-items: flex-start; }
.strip-item .ico { width: 26px; height: 26px; color: var(--gold); margin-top: 2px; }
.strip-item strong { display: block; font-size: 14px; }
.strip-item span { font-size: 12.5px; color: var(--muted); }

/* =========================================================
   區塊
   ========================================================= */

.section { padding: 76px 0; }
.section-tight { padding: 44px 0 72px; }
.section-sand { background: var(--sand); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.section-sub { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

.block-title {
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 800;
  margin-bottom: 26px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.link-more:hover { color: var(--gold); border-color: var(--gold); }
.link-more .ico { width: 16px; height: 16px; }

/* =========================================================
   按鈕
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
  line-height: 1.3;
  white-space: nowrap;
}
.btn .ico { width: 17px; height: 17px; }

.btn-gold {
  background: linear-gradient(150deg, var(--gold-2), var(--gold));
  color: #17130a;
  box-shadow: 0 10px 24px rgba(201, 152, 63, .3);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(201, 152, 63, .38); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }

.btn-ghost {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }

.btn-ghost-dark { border-color: var(--line-2); color: var(--text); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-ghost-dark .ico { transform: rotate(180deg); }

.btn-outline { border-color: var(--line-2); color: var(--ink-3); background: #fff; }
.btn-outline:hover { border-color: var(--ink-3); background: var(--sand); }

.btn-text { color: var(--muted); background: none; padding: 12px 6px; }
.btn-text:hover { color: var(--err); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-xs { padding: 5px 12px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* =========================================================
   分類卡
   ========================================================= */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
}

.cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: .2s;
  position: relative;
  overflow: hidden;
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--c1, var(--gold));
  opacity: .9;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.cat-glyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  color: #fff;
  flex: none;
}
.cat-glyph .ico { width: 22px; height: 22px; }

.cat-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cat-body strong { font-size: 15.5px; }
.cat-body small { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.cat-body em { font-style: normal; font-size: 12px; color: var(--gold); font-weight: 600; }

.cat-arrow { margin-left: auto; color: var(--line-2); transition: .2s; }
.cat-card:hover .cat-arrow { color: var(--gold); transform: translateX(3px); }
.cat-arrow .ico { width: 18px; height: 18px; }

/* =========================================================
   商品卡
   ========================================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 20px;
}
.grid-products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  overflow: hidden;
}
.card-ring {
  position: absolute;
  width: 140%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  top: -35%;
  right: -35%;
}
.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .22), transparent 55%);
}
.card-glyph { position: relative; color: rgba(255, 255, 255, .92); }
.card-glyph .ico { width: 58px; height: 58px; stroke-width: 1.15; }

.card-cat {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(13, 26, 36, .55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 999px;
}

.card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }

.card-title { font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.card-title a:hover { color: var(--gold); }

.card-spec {
  font-size: 12.5px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}

.card-price { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; flex-wrap: wrap; }
.price { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.price-unit { font-size: 12px; color: var(--muted); }
.price-list { font-size: 12.5px; }
.card-min { font-size: 11.5px; color: var(--muted); }

.card-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.card-form .btn { flex: 1; }

/* 數量選擇 */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  flex: none;
}
.qty-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: none;
  color: var(--ink-3);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.qty-btn:hover { background: var(--sand); }
.qty-btn .ico { width: 15px; height: 15px; }
.qty-input {
  width: 46px;
  height: 38px;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  background: none;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty-sm .qty-btn { width: 30px; height: 32px; }
.qty-sm .qty-input { width: 40px; height: 32px; font-size: 13.5px; }
.qty-unit { font-size: 12px; color: var(--muted); padding-right: 10px; }

/* =========================================================
   特色 / 區塊 CTA
   ========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}
.feature-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--gold);
}
.feature-ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 14px;
}
.feature-ico .ico { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin: 10px 0 8px; }
.feature p { font-size: 13.8px; color: var(--muted); line-height: 1.8; }

.band {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(201, 152, 63, .3), transparent 60%),
    linear-gradient(150deg, #0d1a24, #16324a);
  color: #fff;
}
.band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 24px;
  flex-wrap: wrap;
}
.band-copy h2 { font-size: clamp(24px, 2.6vw, 33px); font-weight: 800; margin-bottom: 12px; }
.band-copy p { color: rgba(238, 243, 247, .76); font-size: 15px; max-width: 34em; }

.tier-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.tier {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  display: grid;
  gap: 1px;
  min-width: 130px;
}
.tier strong { font-size: 15px; }
.tier span { color: var(--gold-2); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.tier em { font-style: normal; font-size: 11px; color: rgba(238, 243, 247, .5); }

.band-action { display: grid; gap: 12px; justify-items: start; }
.band-action p { font-size: 14px; color: rgba(238, 243, 247, .7); }
.band-phone {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--gold-2);
}

/* =========================================================
   頁面標頭 / 麵包屑
   ========================================================= */

.page-head {
  background: linear-gradient(180deg, var(--sand) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 26px 0 34px;
}
.page-head-compact { padding: 20px 0 26px; }

.crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.crumb a:hover { color: var(--gold); }
.crumb em { font-style: normal; color: var(--text); }
.crumb span { color: var(--line-2); }

.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-head h1 { font-size: clamp(25px, 2.9vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.page-sub { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 46em; }

.search-result {
  font-size: 13.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
}

/* =========================================================
   商品列表
   ========================================================= */

.products-layout {
  display: grid;
  grid-template-columns: 244px 1fr;
  gap: 36px;
  align-items: start;
}

.filters { position: sticky; top: 94px; display: grid; gap: 18px; }

.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  color: var(--muted);
}
.filter-search:focus-within { border-color: var(--gold); }
.filter-search input { border: 0; outline: none; background: none; width: 100%; font: inherit; font-size: 14px; }

.filter-title {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: -8px;
}

.filter-cats { display: grid; gap: 2px; }
.filter-cats a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: #33414e;
  transition: .15s;
}
.filter-cats a:hover { background: var(--sand); }
.filter-cats a.is-on { background: var(--ink); color: #fff; }
.filter-cats a.is-on em { color: var(--gold-2); }
.filter-cats em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }

.tone-dot {
  width: 25px; height: 25px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  color: #fff;
  flex: none;
}
.tone-dot .ico { width: 14px; height: 14px; }

.filter-note {
  background: var(--sand);
  border-radius: var(--r);
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
}
.filter-note strong { display: block; color: var(--text); margin-bottom: 4px; font-size: 13.5px; }
.filter-note p { margin-bottom: 10px; line-height: 1.7; }

.products-main { min-width: 0; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.toolbar-count strong { color: var(--text); }
.toolbar-sort { display: flex; align-items: center; gap: 8px; }
.toolbar-sort label { font-size: 13px; }
.toolbar-sort select {
  font: inherit;
  font-size: 13.5px;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 13.5px;
  background: #fff;
  transition: .15s;
}
.pager-btn:hover { border-color: var(--ink-3); }
.pager-btn.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =========================================================
   空狀態
   ========================================================= */

.empty {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  color: var(--muted);
  background: var(--sand);
  display: grid;
  justify-items: center;
  gap: 10px;
}
.empty .ico { width: 40px; height: 40px; color: var(--line-2); }
.empty h3 { font-size: 18px; color: var(--text); }
.empty p { font-size: 14px; }
.empty-lg { padding: 84px 24px; }
.empty-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.empty-help { font-size: 13px; margin-top: 10px; }

/* =========================================================
   商品詳情
   ========================================================= */

.detail {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: start;
}

.detail-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}
.detail-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .24), transparent 58%);
}
.card-ring-lg { position: absolute; width: 120%; top: -40%; right: -40%; }
.detail-glyph { position: relative; color: rgba(255, 255, 255, .93); }
.detail-glyph .ico { width: 120px; height: 120px; stroke-width: 1; }

.detail-cat {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(13, 26, 36, .45);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 999px;
}

.ribbon {
  position: absolute;
  right: -1px;
  bottom: 18px;
  background: linear-gradient(150deg, var(--gold-2), var(--gold));
  color: #17130a;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px 6px 16px;
  border-radius: 999px 0 0 999px;
}

.detail-sku { font-size: 12.5px; color: var(--muted); letter-spacing: .03em; }
.detail-info h1 { font-size: clamp(24px, 2.7vw, 33px); font-weight: 800; margin: 8px 0 12px; letter-spacing: -.02em; }
.detail-summary { color: var(--muted); font-size: 15px; line-height: 1.85; }

.detail-price {
  margin: 22px 0 18px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--sand);
  border: 1px solid var(--line);
}
.detail-price-main { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-lg { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.detail-price-hint { font-size: 12.5px; color: var(--warn); margin-top: 6px; font-weight: 600; }

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-bottom: 22px;
}
.tier-table th, .tier-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.tier-table thead th {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid var(--line-2);
}
.tier-table td:nth-child(2) { font-weight: 700; }
.tier-table td:nth-child(3) { color: var(--gold); font-weight: 700; }

.detail-buy { display: grid; gap: 14px; margin-bottom: 22px; }
.buy-qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.buy-qty label { font-size: 13.5px; color: var(--muted); }
.detail-buy .qty-input { width: 58px; }

.detail-meta { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.detail-meta li { display: flex; gap: 9px; align-items: flex-start; }
.detail-meta .ico { color: var(--gold); margin-top: 2px; }

.detail-body {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 44px;
  align-items: start;
}

.prose { font-size: 15px; line-height: 1.95; }
.prose p { margin-bottom: 16px; color: #2c3946; }
.prose h2 { font-size: 19px; margin: 30px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--gold); border-bottom: 1px solid currentColor; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 34%; font-weight: 600; color: var(--muted); background: var(--sand); white-space: nowrap; }

.detail-side { display: grid; gap: 16px; position: sticky; top: 96px; }

.side-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  background: #fff;
  display: grid;
  gap: 12px;
}
.side-card h3 { font-size: 16px; }
.side-card p { font-size: 13.5px; color: var(--muted); }
.side-card-sand { background: var(--sand); border-color: var(--line); }
.side-phone {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 17px; font-weight: 800; color: var(--ink-3);
}
.side-list { display: grid; gap: 8px; font-size: 13.2px; color: #3b4855; }
.side-list li { position: relative; padding-left: 15px; line-height: 1.7; }
.side-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* =========================================================
   購物車
   ========================================================= */

.shipbar {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
}
.shipbar-text strong { color: var(--ink); }
.shipbar-track { height: 5px; border-radius: 999px; background: var(--line-2); margin-top: 9px; overflow: hidden; }
.shipbar-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transition: width .4s;
}
.shipbar-done { display: flex; align-items: center; gap: 8px; background: #eef7f1; border-color: #c8e5d3; color: #226a44; }
.shipbar-done .ico { width: 18px; height: 18px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 348px;
  gap: 34px;
  align-items: start;
}

.cart-main { min-width: 0; }

.cart-head {
  display: grid;
  grid-template-columns: 1fr 108px 130px 110px 40px;
  gap: 14px;
  padding: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 700;
  border-bottom: 1px solid var(--line-2);
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr 108px 130px 110px 40px;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-prod { display: flex; gap: 14px; align-items: center; min-width: 0; }
.cart-thumb {
  width: 68px; height: 68px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  color: #fff;
  flex: none;
}
.cart-thumb .ico { width: 28px; height: 28px; }
.cart-prod-text { min-width: 0; display: grid; gap: 2px; }
.cart-name { font-weight: 700; font-size: 14.5px; }
.cart-name:hover { color: var(--gold); }
.cart-spec { font-size: 12px; color: var(--muted); }
.cart-sku { font-size: 11.5px; color: var(--line-2); }

.cart-unit { font-size: 14.5px; font-weight: 700; display: grid; gap: 1px; }
.cart-unit s { font-size: 11.5px; font-weight: 400; }
.cart-sub { font-size: 15.5px; font-weight: 800; }
.label-mobile { display: none; }

.cart-del { justify-self: end; }
.icon-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .15s;
}
.icon-btn:hover { color: var(--err); border-color: #f0cdc9; background: #fdf0ef; }
.icon-btn .ico { width: 16px; height: 16px; }

.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.cart-actions-right { display: flex; align-items: center; gap: 6px; }

.cart-side { display: grid; gap: 16px; position: sticky; top: 96px; }

.summary {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}
.summary h2 { font-size: 16px; }
.summary-list { display: grid; gap: 9px; font-size: 14px; }
.summary-list > div { display: flex; justify-content: space-between; gap: 12px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; font-weight: 600; }
.summary-total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  align-items: baseline;
}
.summary-total dt { color: var(--text); font-weight: 700; }
.summary-total dd { font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.summary-note { font-size: 12px; color: var(--muted); line-height: 1.7; }
.summary-link { font-size: 13px; color: var(--ink-3); text-align: center; display: inline-flex; gap: 5px; justify-content: center; align-items: center; }
.summary-link:hover { color: var(--gold); }

.summary-items { display: grid; gap: 12px; max-height: 300px; overflow: auto; }
.summary-items li { display: flex; align-items: center; gap: 11px; font-size: 13px; }
.sum-thumb {
  width: 40px; height: 40px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  color: #fff;
  flex: none;
}
.sum-thumb .ico { width: 18px; height: 18px; }
.sum-text { display: grid; min-width: 0; }
.sum-text strong { font-size: 12.8px; font-weight: 600; line-height: 1.4; }
.sum-text small { color: var(--muted); font-size: 11.5px; }
.sum-amount { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* =========================================================
   表單
   ========================================================= */

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  padding: 26px;
  margin-bottom: 18px;
}

.form-title { font-size: 16.5px; margin-bottom: 18px; }
.form-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.form-title-row .form-title { margin-bottom: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: 13px; font-weight: 600; color: #3b4855; }
.field > span em { font-style: normal; color: var(--err); }

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text);
  outline: none;
  transition: .15s;
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.field textarea { resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #a9b2bb; }

.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.radio { display: block; cursor: pointer; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio-body {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: .15s;
}
.radio-body strong { font-size: 14px; }
.radio-body small { font-size: 12px; color: var(--muted); }
.radio input:checked + .radio-body {
  border-color: var(--gold);
  background: var(--gold-soft);
  box-shadow: 0 0 0 1px var(--gold) inset;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.form-terms { font-size: 12px; color: var(--muted); margin-top: 12px; }

.steps { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); }
.steps li {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}
.steps li.is-done { color: var(--ok); border-color: #c8e5d3; background: #eef7f1; }
.steps li.is-on { color: #17130a; background: var(--gold-2); border-color: var(--gold); font-weight: 700; }

/* =========================================================
   訂單完成
   ========================================================= */

.done-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 34px; }
.done-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef7f1;
  color: var(--ok);
  flex: none;
  border: 1px solid #c8e5d3;
}
.done-icon .ico { width: 28px; height: 28px; }
.done-head h1 { font-size: clamp(24px, 2.7vw, 33px); font-weight: 800; margin-bottom: 6px; }
.done-head .eyebrow { margin-bottom: 6px; }

.order-layout {
  display: grid;
  grid-template-columns: 1fr 348px;
  gap: 34px;
  align-items: start;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  font-size: 14px;
}
.info-grid > div { display: grid; gap: 2px; }
.info-grid dt { font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
.info-grid dd { margin: 0; font-weight: 600; }
.info-full { grid-column: 1 / -1; }

.order-items { display: grid; }
.order-item {
  display: grid;
  grid-template-columns: 1fr 90px 100px 100px;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.order-item:last-child { border-bottom: 0; }
.order-item-name strong { display: block; font-size: 14px; }
.order-item-name small { font-size: 11.5px; color: var(--muted); }
.order-item-qty { color: var(--muted); }
.order-item-price, .order-item-sub { text-align: right; }
.order-item-sub { font-weight: 800; }

.badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sand-2);
  color: #4b5967;
  white-space: nowrap;
}
.badge-pending { background: #fdf3e4; color: #9a6415; }
.badge-processing { background: #e9f1fb; color: #2b5c96; }
.badge-shipped { background: #eaf4fb; color: #1f6e91; }
.badge-done { background: #eef7f1; color: #226a44; }
.badge-cancel { background: #f6f0f0; color: #8d4040; }
.badge-topic { background: var(--gold-soft); color: #8a6520; }

/* =========================================================
   服務項目 / 關於 / 聯絡
   ========================================================= */

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}
.scope-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  background: #fff;
  transition: .18s;
}
.scope-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.scope-code {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold);
  background: var(--gold-soft);
  padding: 2px 9px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.scope-item h3 { font-size: 15.5px; line-height: 1.5; margin-bottom: 6px; }
.scope-item p { font-size: 13.2px; color: var(--muted); line-height: 1.75; }

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: flow;
}
.flow li {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.flow-num { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--gold); }
.flow h3 { font-size: 16px; margin: 8px 0 6px; }
.flow p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 44px;
  align-items: start;
}
.about-side { display: grid; gap: 16px; position: sticky; top: 96px; }
.about-mark {
  border-radius: var(--r);
  background: linear-gradient(150deg, var(--ink), var(--ink-3));
  color: #fff;
  padding: 34px 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.about-mark .ico { width: 46px; height: 46px; color: var(--gold-2); }
.about-mark strong { font-size: 17px; letter-spacing: .18em; }
.about-mark small { font-size: 10px; letter-spacing: .26em; color: rgba(255, 255, 255, .5); }

.timeline { display: grid; gap: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line-2);
}
.timeline li:last-child { border-bottom: 1px solid var(--line-2); }
.tl-year { font-size: 19px; font-weight: 800; color: var(--gold); letter-spacing: -.01em; }
.timeline h3 { font-size: 16px; margin-bottom: 4px; }
.timeline p { font-size: 13.5px; color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 34px;
  align-items: start;
}
.contact-info { display: grid; gap: 16px; }
.contact-list { display: grid; gap: 15px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .ico { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.contact-list span { display: block; font-size: 11.5px; letter-spacing: .08em; color: var(--muted); }
.contact-list strong { font-size: 14.5px; font-weight: 600; }
.contact-list a:hover { color: var(--gold); }

.map-band {
  background: var(--ink);
  color: #fff;
  padding: 40px 0;
}
.map-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.map-inner h2 { font-size: 20px; margin-bottom: 4px; }
.map-inner p { color: rgba(238, 243, 247, .7); font-size: 14px; }

/* =========================================================
   頁尾
   ========================================================= */

.site-footer { background: #0b151d; color: rgba(238, 243, 247, .72); margin-top: 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1.1fr;
  gap: 36px;
  padding: 56px 24px 40px;
}
.footer-brand .brand { margin-bottom: 14px; color: #fff; }
.footer-desc { font-size: 13.2px; line-height: 1.85; max-width: 30em; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-badges span {
  font-size: 11.5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 3px 12px;
  color: rgba(238, 243, 247, .6);
}

.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col h4 { font-size: 12px; letter-spacing: .16em; color: var(--gold-2); margin-bottom: 4px; }
.footer-col > a { font-size: 13.5px; color: rgba(238, 243, 247, .7); }
.footer-col > a:hover { color: #fff; }
.footer-line { display: flex; gap: 9px; align-items: flex-start; font-size: 13.2px; }
.footer-line .ico { width: 16px; height: 16px; color: var(--gold); margin-top: 3px; }
.footer-line a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  color: rgba(238, 243, 247, .45);
}
.footer-admin { color: rgba(238, 243, 247, .45); border-bottom: 1px solid transparent; }
.footer-admin:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* =========================================================
   後台
   ========================================================= */

.admin-body { background: #f4f5f7; color: #1c2530; }

.admin-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}
.admin-brand { display: flex; align-items: center; gap: 11px; }
.admin-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
.admin-brand .brand-mark .ico { width: 19px; height: 19px; }
.admin-brand span:last-child { display: grid; line-height: 1.2; }
.admin-brand strong { font-size: 14px; letter-spacing: .1em; }
.admin-brand small { font-size: 10px; color: var(--gold-2); letter-spacing: .14em; }

.admin-nav { display: flex; align-items: center; gap: 4px; font-size: 13.5px; }
.admin-nav a {
  padding: 7px 13px;
  border-radius: 8px;
  color: rgba(238, 243, 247, .76);
}
.admin-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-logout { color: #f0c9c9 !important; }

.admin-main { padding: 28px 0 60px; }
.admin-wrap { max-width: 1100px; }

.admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-head h1 { font-size: 23px; font-weight: 800; margin-bottom: 4px; }
.admin-head p { font-size: 13px; color: #63707d; }
.admin-head .crumb { margin-bottom: 8px; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tab {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e0e4e9;
  font-size: 13px;
  color: #4a5866;
}
.tab:hover { border-color: #b9c2cc; }
.tab em { font-style: normal; color: #98a3ae; margin-left: 4px; }
.tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab.is-on em { color: var(--gold-2); }

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 12px;
}
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eef1f4; vertical-align: middle; }
.data-table thead th {
  background: #fafbfc;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: #6b7885;
  font-weight: 700;
  white-space: nowrap;
}
.data-table tbody tr:hover { background: #fafbfc; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tfoot th { border-top: 1px solid #e2e6ea; background: #fafbfc; padding: 12px 16px; }
.data-table td small { display: block; color: #7b8794; font-size: 11.5px; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink-3); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }

.admin-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; margin-bottom: 16px; }
.admin-card {
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.admin-card > h2 { font-size: 15px; margin-bottom: 16px; }
.summary-list-plain { font-size: 13.5px; }

.status-form { display: flex; align-items: center; gap: 8px; }
.status-form label { font-size: 12.5px; color: #63707d; }
.status-form select {
  font: inherit;
  font-size: 13.5px;
  padding: 8px 12px;
  border: 1px solid #d7dde3;
  border-radius: 8px;
  background: #fff;
}

.inquiry-list { display: grid; gap: 12px; }
.inquiry {
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 12px;
  padding: 18px 20px;
  display: grid;
  gap: 10px;
}
.inquiry header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13.5px; }
.inquiry header strong { font-size: 14.5px; }
.inquiry-company { color: #63707d; }
.inquiry header time { margin-left: auto; font-size: 12px; color: #98a3ae; }
.inquiry-msg { font-size: 13.8px; line-height: 1.8; color: #2c3946; }
.inquiry footer { display: flex; gap: 16px; font-size: 12.5px; color: #63707d; flex-wrap: wrap; }
.inquiry footer span { display: inline-flex; align-items: center; gap: 5px; }
.inquiry footer a { color: var(--ink-3); border-bottom: 1px solid #cfd6dd; }

.admin-login {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 40px 24px;
}
.login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 16px;
  padding: 34px 30px 28px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(13, 26, 36, .1);
  display: grid;
  gap: 12px;
}
.login-card h1 { font-size: 20px; }
.login-card p { font-size: 13px; color: #63707d; }
.login-card .field { text-align: left; margin: 6px 0 4px; }
.login-back { font-size: 12.5px; color: #98a3ae; margin-top: 6px; }
.login-back:hover { color: var(--ink-3); }

/* =========================================================
   分類色調
   ========================================================= */

.tone-auto    { --c1: #132c44; --c2: #2f628c; }
.tone-agri    { --c1: #1f5231; --c2: #4f9a5b; }
.tone-oil     { --c1: #6b3f14; --c2: #bb8340; }
.tone-drink   { --c1: #0f3d4f; --c2: #2f8fa8; }
.tone-food    { --c1: #5a3412; --c2: #a9722f; }
.tone-liquor  { --c1: #3d1a2c; --c2: #8a3b5a; }
.tone-apparel { --c1: #232a63; --c2: #5a63b0; }
.tone-home    { --c1: #33231a; --c2: #7a5a44; }
.tone-daily   { --c1: #17434b; --c2: #3f8a92; }
.tone-beauty  { --c1: #5c2040; --c2: #b04a7a; }
.tone-edu     { --c1: #1e3a63; --c2: #4a7ec0; }

/* =========================================================
   響應式
   ========================================================= */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .hero-panel { max-width: 460px; }
  .hero-card { transform: none; }
  .products-layout { grid-template-columns: 1fr; }
  .filters { position: static; grid-template-columns: 1fr; }
  .filter-cats { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-cats a { border: 1px solid var(--line); }
  .filter-cats em { display: none; }
  .tone-dot { display: none; }
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .detail-media { position: static; aspect-ratio: 16 / 10; }
  .detail-glyph .ico { width: 88px; height: 88px; }
  .detail-body { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .cart-layout, .order-layout { grid-template-columns: 1fr; }
  .cart-side { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .head-search { display: none; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute;
    left: 0; right: 0; top: 74px;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
    display: none;
  }
  body.nav-open .main-nav { display: flex; }
  .nav-link { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .cart-head { display: none; }
  .cart-line {
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 16px 0;
    position: relative;
  }
  .cart-prod { grid-column: 1 / -1; }
  .cart-unit, .cart-qty, .cart-sub { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
  .label-mobile { display: inline; font-size: 11.5px; color: var(--muted); letter-spacing: .06em; }
  .cart-unit, .cart-sub { justify-content: flex-start; }
  .cart-del { position: absolute; top: 16px; right: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .order-item { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .order-item-qty, .order-item-price { display: none; }
  .order-item-sub { grid-row: 2; }
  .form-grid, .radio-row { grid-template-columns: 1fr; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .scope-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 64px; gap: 14px; }
  .brand-text small { display: none; }
  .main-nav { top: 64px; }
  .hero-inner { padding: 48px 16px 56px; }
  .hero-stats { gap: 24px; }
  .hero-stats dd { font-size: 24px; }
  .section { padding: 52px 0; }
  .section-tight { padding: 32px 0 52px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .strip-inner { grid-template-columns: 1fr; gap: 16px; }
  .grid, .grid-products { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: 14px; }
  .card-spec { font-size: 11.5px; min-height: 0; -webkit-line-clamp: 2; }
  .price { font-size: 18px; }
  .card-form { flex-direction: column; align-items: stretch; gap: 6px; }
  .card-form .qty { justify-content: space-between; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 16px 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-side { grid-template-columns: 1fr; }
  .cart-actions { flex-direction: column; align-items: stretch; }
  .cart-actions-right { justify-content: space-between; }
  .done-head { flex-direction: column; }
  .steps { display: none; }
  .detail-media { aspect-ratio: 4 / 3; }
  .tier-table th, .tier-table td { padding: 8px; font-size: 12.5px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .admin-nav { font-size: 12.5px; gap: 0; }
  .admin-nav a { padding: 6px 8px; }
  .admin-head h1 { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
