

/* ══════════════════════════════════
   TOKENS
══════════════════════════════════ */
:root {
  --neu-base:  #EBEBEB;
  --neu-d:     #C8C5BF;
  --neu-l:     #FFFFFF;
  --dark:      #141414;

  --t0:  #1A1A1A;
  --t1:  #6B6B6B;
  --t2:  #ACACAC;
  --tdk: #F0EFEB;

  --s-sm: 3px 3px 7px var(--neu-d), -3px -3px 7px var(--neu-l);
  --s-md: 6px 6px 14px var(--neu-d), -6px -6px 14px var(--neu-l);
  --s-lg: 10px 10px 24px var(--neu-d), -10px -10px 24px var(--neu-l);
  --s-in: inset 3px 3px 8px var(--neu-d), inset -3px -3px 8px var(--neu-l);

  /* 全站唯一警示色（UI元件規格 v1.1 §15） */
  --err: #C0392B;

  /* Mobile 圓圈直徑約 44vw，不再接近手機滿版。 */
  --mob-circle-r: clamp(80px, 22vw, 344px);
  --mob-off-x: -30px;
  --mob-off-y:  0px;

  /* Mobile Hero 調節器輸出值 */
  --hero-circle-scale: .96;
  --hero-circle-x: 0px;
  --hero-circle-y: -57px;
  --hero-product-scale: .88;
  --hero-product-rotate: 7deg;
  --desktop-product-scale: 1.4;
  --desktop-product-rotate: 6deg;
  --section-product-scale: 1.75;
  --desktop-section-product-scale: 1.66;
  --hero-cta-x: 4px;
  --hero-cta-y: -81px;
  --hero-type-x: 23px;
  --hero-type-y: 1px;
  --hero-type-scale: .71;
  --hero-vol-x: 30px;
  --hero-vol-y: -51px;
  --hero-vol-scale: .73;
}

/* ══════════════════════════════════
   RESET
══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background: var(--neu-base);
  color: var(--t0);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ══════════════════════════════════
   NAV — MOBILE FIRST
══════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(235,235,235,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(200,197,191,0.3);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--t0);
  display: flex;
  align-items: center;
}
.nav-logo img { width: 88px; height: auto; }

.nav-links { display: none; }

.nav-right { display: flex; align-items: center; gap: 8px; }

.nav-icon {
  width: 36px; height: 36px;
  background: var(--neu-base);
  border: none; border-radius: 50%;
  box-shadow: var(--s-sm);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.2s;
}
.nav-icon:hover { box-shadow: var(--s-md); }
.nav-icon svg { width: 15px; height: 15px; stroke: var(--t1); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.nav-hamburger {
  width: 36px; height: 36px;
  background: none;
  border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 20px; height: 0.5px;
  background: var(--t1); transition: all 0.25s;
}

.nav-drawer {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0; bottom: 0;
  background: rgba(235,235,235,0.97);
  backdrop-filter: blur(20px);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-drawer.open { display: flex; }
.nav-drawer-link {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t1);
}

@media (min-width: 768px) {
  .nav { height: 64px; padding: 0 40px; }
  .nav-links { display: flex; gap: 44px; }
  .nav-link {
    font-size: 9px; font-weight: 400;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--t1); transition: color 0.2s;
  }
  .nav-link:hover { color: var(--t0); }
  .nav-hamburger { display: none; }
  .nav-logo img { width: 104px; }
}
@media (min-width: 1280px) { .nav { padding: 0 60px; } }

/* ══════════════════════════════════
   BUTTONS
══════════════════════════════════ */
.btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: none; border-radius: 8px;
  padding: 13px 28px; cursor: pointer;
  transition: box-shadow 0.2s, transform 0.12s;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary {
  background: var(--neu-base); color: var(--t0);
  box-shadow: var(--s-sm); width: 100%;
}
.btn-primary:hover { box-shadow: var(--s-md); }
.btn-primary:active { box-shadow: var(--s-in); transform: scale(0.98); }

.btn-dark {
  background: var(--dark); color: var(--tdk);
  box-shadow: none; width: 100%;
}
.btn-dark:hover { background: #2A2A2A; }

.btn-text-link {
  background: none; color: var(--t1);
  padding: 13px 0;
  border-bottom: 0.5px solid var(--t2); border-radius: 0;
  box-shadow: none; width: auto;
}
.btn-text-link:hover { color: var(--t0); border-color: var(--t0); }

.btn-light {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: var(--tdk); color: var(--dark);
  border: none; border-radius: 8px;
  padding: 14px 36px; cursor: pointer;
  transition: background 0.2s;
}
.btn-light:hover { background: #fff; }

@media (min-width: 768px) {
  .btn-primary { width: auto; }
  .btn-dark    { width: auto; }
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--dark);
  border-top: 0.5px solid rgba(255,255,255,0.05);
  padding: 40px 24px;
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 24px; text-align: center;
}
.footer-logo img { height: 13px; width: auto; opacity: 0.28; filter: invert(1); }
.footer-logo-text { font-size: 10px; letter-spacing: 0.18em; color: rgba(255,255,255,0.28); font-weight: 200; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-link { font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.22); transition: color 0.2s; }
.footer-link:hover { color: rgba(255,255,255,0.45); }
.footer-copy { font-size: 8px; letter-spacing: 0.1em; color: rgba(255,255,255,0.13); }

@media (min-width: 768px) {
  footer { padding: 36px 40px; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 1280px) { footer { padding: 36px 60px; } }

/* ══════════════════════════════════
   STICKY CTA — MOBILE ONLY
══════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--neu-base);
  box-shadow: 0 -3px 12px rgba(0,0,0,0.07);
  padding: 12px 20px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-name  { font-size: 11px; font-weight: 400; color: var(--t0); }
.sticky-cta-price { font-size: 13px; font-weight: 200; color: var(--t0); }
.sticky-cta .btn-primary { width: auto; flex-shrink: 0; padding: 11px 24px; }

@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ══════════════════════════════════
   共用元件（UI元件規格 v1.1 §9–16）
══════════════════════════════════ */

/* §9 購物車徽章 */
.nav-icon { position: relative; }
.cart-badge {
  position: absolute;
  top: -5px; right: -6px;
  min-width: 17px; height: 17px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--dark);
  color: var(--tdk);
  font-size: 9px;
  font-weight: 400;
  line-height: 17px;
  text-align: center;
  letter-spacing: 0;
}
.cart-badge[hidden], .cart-badge:empty { display: none; }

/* §10 幣別切換 */
.currency-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--neu-base);
  box-shadow: var(--s-in);
}
.currency-switch__opt {
  min-height: 32px;
  padding: 0 13px;
  border: none;
  border-radius: 7px;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--t1);
  cursor: pointer;
  transition: box-shadow .2s ease, color .2s ease;
}
.currency-switch__opt:hover { color: var(--t0); }
.currency-switch__opt.is-active {
  background: var(--neu-base);
  box-shadow: var(--s-sm);
  color: var(--t0);
}
.currency-switch__opt:focus-visible { outline: 2px solid var(--t1); outline-offset: 2px; }

/* §11 步驟指示器 */
.step-indicator {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0; padding: 0;
  list-style: none;
}
.step-indicator__item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  position: relative;
}
.step-indicator__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px);
  height: 1px;
  background: var(--neu-d);
}
.step-indicator__dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--neu-base);
  box-shadow: var(--s-in);
  font-size: 11px;
  color: var(--t2);
  transition: box-shadow .25s ease, background .25s ease, color .25s ease;
}
.step-indicator__label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--t2);
  white-space: nowrap;
}
.step-indicator__item.is-done .step-indicator__dot      { box-shadow: var(--s-sm); color: var(--t0); }
.step-indicator__item.is-done .step-indicator__label    { color: var(--t1); }
.step-indicator__item.is-current .step-indicator__dot   { background: var(--dark); box-shadow: var(--s-sm); color: var(--tdk); }
.step-indicator__item.is-current .step-indicator__label { color: var(--t0); }
.step-caption { font-size: 11px; letter-spacing: .06em; color: var(--t1); text-align: center; margin-bottom: 14px; }
@media (max-width: 767px) {
  .step-indicator__label { display: none; }
}
@media (min-width: 768px) { .step-caption { display: none; } }

/* §12 Radio 選項卡 */
.option-card {
  display: flex; align-items: center; gap: 16px;
  min-height: 64px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--neu-base);
  box-shadow: var(--s-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.option-card__input { position: absolute; opacity: 0; pointer-events: none; }
.option-card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.option-card__title { font-size: 13px; color: var(--t0); }
.option-card__desc  { font-size: 11px; color: var(--t2); line-height: 1.6; }
.option-card__price { font-size: 13px; color: var(--t0); flex-shrink: 0; }
.option-card:hover { box-shadow: var(--s-md); }
.option-card.is-selected { box-shadow: var(--s-in); }
.option-card.is-selected::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--dark);
}
.option-card.is-disabled { opacity: .45; cursor: not-allowed; }
.option-card:focus-within { outline: 2px solid var(--t1); outline-offset: 2px; }

/* §13 Tab 切換 */
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--neu-base);
  box-shadow: var(--s-in);
}
.tabs__btn {
  min-height: 44px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--t1);
  cursor: pointer;
  transition: box-shadow .2s ease, color .2s ease;
}
.tabs__btn.is-active { background: var(--neu-base); box-shadow: var(--s-sm); color: var(--t0); }
.tabs__btn:focus-visible { outline: 2px solid var(--t1); outline-offset: 2px; }

/* §14 手風琴 */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion__item {
  border-radius: 12px;
  background: var(--neu-base);
  box-shadow: var(--s-sm);
  overflow: hidden;
}
.accordion__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.accordion__head::-webkit-details-marker { display: none; }
.accordion__q { font-size: 13px; line-height: 1.6; color: var(--t0); }
.accordion__icon { flex-shrink: 0; width: 16px; height: 16px; position: relative; }
.accordion__icon::before, .accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--t1);
  transition: transform .25s ease;
}
.accordion__icon::before { top: 7.5px; left: 0; width: 16px; height: 1px; }
.accordion__icon::after  { left: 7.5px; top: 0; width: 1px; height: 16px; }
.accordion__item[open] .accordion__icon::after { transform: scaleY(0); }
.accordion__body {
  margin: 0 20px 20px;
  padding: 16px 18px;
  border-radius: 9px;
  box-shadow: var(--s-in);
  font-size: 13px;
  line-height: 1.9;
  color: var(--t1);
}

/* §15 表單欄位與錯誤訊息 */
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field__label {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t1);
}
.field__input, .field__select, .field__textarea {
  width: 100%;
  min-height: 46px;
  padding: 13px 16px;
  border: none;
  border-radius: 10px;
  background: var(--neu-base);
  box-shadow: var(--s-in);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--t0);
}
.field__textarea { min-height: 96px; resize: vertical; line-height: 1.7; }
.field__input::placeholder, .field__textarea::placeholder { color: var(--t2); }
.field__input:focus, .field__select:focus, .field__textarea:focus {
  outline: none;
  box-shadow: var(--s-in), 0 0 0 1px var(--t2);
}
.field__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--t1) 50%), linear-gradient(135deg, var(--t1) 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field__hint { margin-top: 6px; font-size: 10px; line-height: 1.6; color: var(--t2); }
.field--error .field__input,
.field--error .field__select,
.field--error .field__textarea {
  outline: 1px solid var(--err);
  outline-offset: -1px;
}
.field__error {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--err);
}
.field__error:empty { display: none; }

/* §16 Toast */
.toast-region {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0 20px 24px;
  padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 24px));
  pointer-events: none;
}
.toast {
  max-width: 420px;
  padding: 13px 22px;
  border-radius: 10px;
  background: var(--neu-base);
  box-shadow: var(--s-lg);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--t0);
  opacity: 0;
  transform: translateY(12px);
  animation: toast-in .25s ease forwards;
}
.toast.is-leaving { animation: toast-out .2s ease forwards; }
@keyframes toast-in  { to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  .toast, .toast.is-leaving { animation: none; opacity: 1; transform: none; }
}

/* ══ 數量選擇器 ══ */
.qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--neu-base);
  box-shadow: var(--s-in);
}
.qty__btn {
  width: 44px; height: 44px;
  border: none;
  border-radius: 8px;
  background: var(--neu-base);
  box-shadow: var(--s-sm);
  font-size: 15px;
  font-weight: 300;
  color: var(--t0);
  cursor: pointer;
  transition: box-shadow .15s ease;
}
.qty__btn:hover:not(:disabled) { box-shadow: var(--s-md); }
.qty__btn:active:not(:disabled) { box-shadow: var(--s-in); }
.qty__btn:disabled { opacity: .35; cursor: not-allowed; }
.qty__val {
  min-width: 46px;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--t0);
}

/* ══ 頁面通用容器 ══ */
.page {
  padding: 96px 20px 60px;
  min-height: 70vh;
}
.page-inner { max-width: 1080px; margin: 0 auto; }
.page-narrow { max-width: 560px; margin: 0 auto; }
.page-head { margin-bottom: 32px; }
.page-eyebrow {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--t2);
  margin-bottom: 10px;
}
.page-title {
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 0.06em;
  color: var(--t0);
}
@media (min-width: 768px) {
  .page { padding: 120px 40px 80px; }
  .page-title { font-size: 28px; }
}
@media (min-width: 1280px) { .page { padding: 130px 60px 90px; } }

/* ══ 空狀態 ══ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state__title { font-size: 15px; font-weight: 300; color: var(--t0); margin-bottom: 10px; }
.empty-state__desc  { font-size: 12px; line-height: 1.9; color: var(--t2); margin-bottom: 26px; }
.empty-state .btn { display: inline-flex; width: auto; }

/* ══ 摘要卡 ══ */
.summary {
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--neu-base);
  box-shadow: var(--s-md);
}
.summary__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  font-size: 12px;
  color: var(--t1);
}
.summary__row--total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 0.5px solid var(--neu-d);
  font-size: 15px;
  color: var(--t0);
}
.summary__row--total .summary__val { font-size: 19px; font-weight: 200; }
.summary__val { color: var(--t0); }
.summary__note { margin-top: 12px; font-size: 10px; line-height: 1.7; color: var(--t2); }

/* ══ 無障礙 ══ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* ══════════════════════════════════
   區塊元件（沿用 index.html，供各頁共用）
══════════════════════════════════ */
.section-head {
  display: flex; flex-direction: column;
  gap: 6px; margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 0.5px solid rgba(200,197,191,0.5);
}
.section-eyebrow { font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t2); }
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200; font-size: clamp(22px, 6vw, 32px);
  letter-spacing: 0.04em; color: var(--t0);
}

/* 規格卡 */
.spec-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.spec-card {
  background: var(--neu-base); border-radius: 10px;
  padding: 14px 8px; box-shadow: var(--s-sm); text-align: center;
}
.spec-label { font-size: 7px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t2); margin-bottom: 5px; }
.spec-value { font-size: 15px; font-weight: 200; color: var(--t0); }
.spec-unit  { font-size: 9px; color: var(--t2); }

/* 三步驟卡 */
.steps { display: flex; flex-direction: column; gap: 16px; }
.step-card { background: var(--neu-base); border-radius: 14px; padding: 26px 24px; box-shadow: var(--s-md); }
.step-num {
  width: 38px; height: 38px; background: var(--neu-base);
  border-radius: 50%; box-shadow: var(--s-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 200; color: var(--t1); margin-bottom: 18px;
}
.step-title { font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--t0); margin-bottom: 10px; }
.step-desc  { font-size: 12px; font-weight: 300; line-height: 1.8; color: var(--t1); }

/* 指南入口按鈕 */
.guide-neu-button {
  width: auto; min-height: 44px;
  background: var(--neu-base); color: var(--t0);
  box-shadow: var(--s-sm);
}
.guide-neu-button:hover  { box-shadow: var(--s-md); }
.guide-neu-button:active { box-shadow: var(--s-in); transform: scale(.98); }

/* 評價卡 */
.reviews-grid {
  display: flex; gap: 14px;
  overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.reviews-grid::-webkit-scrollbar { display: none; }
.review-card {
  background: var(--neu-base); border-radius: 14px;
  padding: 22px 20px; box-shadow: var(--s-md);
  flex: 0 0 80vw; scroll-snap-align: start;
}
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-stars span { font-size: 13px; color: #B8B4AE; }
.review-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200; font-size: 14px; line-height: 1.75;
  color: var(--t0); margin-bottom: 18px; font-style: italic;
}
.review-author { font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t2); }

@media (min-width: 768px) {
  .section-head { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 0; }
  .steps { flex-direction: row; gap: 20px; }
  .step-card { flex: 1; }
  .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow-x: visible; gap: 18px; }
  .review-card { flex: unset; }
}

/* 頁尾公司資訊 */
.footer-legal { display: flex; flex-direction: column; gap: 5px; text-align: center; }
.footer-company {
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: rgba(255,255,255,0.18);
}
@media (min-width: 768px) { .footer-legal { text-align: right; } }

/* 電話欄位：國碼前綴 */
.phone-group {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.phone-dial {
  flex: 0 0 auto;
  min-width: 74px;
  min-height: 46px;
  padding: 13px 14px;
  border-radius: 10px;
  background: var(--neu-base);
  box-shadow: var(--s-in);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--t1);
  white-space: nowrap;
  user-select: none;
}
.phone-group .field__input { flex: 1; min-width: 0; }

/* ══════════════════════════════════
   法務頁面（privacy / terms / returns / overseas）
══════════════════════════════════ */
.legal-lead {
  font-size: 13px; line-height: 2; color: var(--t1);
  padding-bottom: 26px; margin-bottom: 34px;
  border-bottom: 0.5px solid var(--neu-d);
}
.legal-updated { margin-top: 12px; font-size: 11px; color: var(--t2); }

.legal-section { margin-bottom: 38px; }
.legal-section:last-of-type { margin-bottom: 0; }
.legal-h2 {
  font-size: 14px; font-weight: 400; letter-spacing: 0.08em;
  color: var(--t0); margin-bottom: 14px;
}
.legal-h3 {
  font-size: 12px; font-weight: 400; letter-spacing: 0.06em;
  color: var(--t0); margin: 20px 0 10px;
}
.legal-p { font-size: 13px; line-height: 2; color: var(--t1); margin-bottom: 12px; }
.legal-p:last-child { margin-bottom: 0; }
.legal-list { margin: 0 0 12px; padding-left: 0; list-style: none; }
.legal-list li {
  position: relative;
  padding-left: 18px; margin-bottom: 10px;
  font-size: 13px; line-height: 2; color: var(--t1);
}
.legal-list li::before {
  content: '';
  position: absolute; left: 2px; top: 12px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--t2);
}
.legal-note {
  padding: 16px 18px; margin: 16px 0;
  border-radius: 10px; box-shadow: var(--s-in);
  font-size: 12px; line-height: 1.95; color: var(--t1);
}
.legal-note strong { color: var(--t0); font-weight: 400; }

.legal-company {
  margin-top: 48px; padding: 22px 22px;
  border-radius: 14px; box-shadow: var(--s-sm);
}
.legal-company__name { font-size: 13px; color: var(--t0); margin-bottom: 12px; }
.legal-company__row { font-size: 12px; line-height: 2; color: var(--t1); }
.legal-company__row a { border-bottom: 0.5px solid var(--t2); }
.legal-company__row a:hover { color: var(--t0); border-color: var(--t0); }

/* 法務頁互相導覽 */
.legal-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 34px; padding-top: 26px;
  border-top: 0.5px solid var(--neu-d);
}
.legal-nav a {
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--neu-base);
  box-shadow: var(--s-sm);
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--t1);
  transition: box-shadow .2s, color .2s;
}
.legal-nav a:hover { box-shadow: var(--s-md); color: var(--t0); }
.legal-nav a[aria-current="page"] { box-shadow: var(--s-in); color: var(--t0); }
