:root {
  --ing-scale: 0.85;

  /* ================= 60-30-10 色彩系統變數 ================= */
  --c-base: #e2f0d9;
  --c-base-soft: #edf5e8;
  --c-card-bg: #ffffff;
  --c-deep: #1a301c;
  --c-text-muted: #4d7350;
  --c-watermark: rgba(255, 255, 255, 0.22);
  --c-accent: #3b693d;
  --c-accent-hover: #2d522f;
}

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

html { 
  scroll-behavior: smooth; 
}

/* 桌機維持 105% 縮放，手機嚴格排除防跑版 */
@media (min-width: 1025px) {
  body {
    zoom: 1.05;
  }
}

body { 
  background-color: var(--c-base); 
  color: var(--c-deep); 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Noto Sans TC", sans-serif; 
  overflow-x: hidden; 
  transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
  position: relative;
  width: 100%;

  /* 1.8cm 正方形網格背景，白色透明度 30% */
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 1.8cm 1.8cm;
  background-position: 0 0;
}

body.dark-theme, body.light-theme { color: var(--c-deep); }
section { scroll-margin-top: 80px; position: relative; }

/* 液體式主內容容器 */
main { 
  opacity: 1; 
  padding-top: 75px; 
  position: relative; 
  z-index: 2; 
  width: 100%; 
  overflow-x: hidden; 
  transition: opacity 0.4s ease;
}

/* ================= 轉場與開場遮罩 ================= */
#hero-color-curtain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 99990;
  pointer-events: none;
  transform: translateX(-100%);
  will-change: transform;
}

#loader-overlay { 
  position: fixed; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  height: 100dvh;
  background: #1b2e1e; 
  z-index: 99999; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transform: translateZ(0);
  will-change: opacity, transform;
}

.savage-loader-container { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 20px; 
  will-change: transform, opacity; 
  transform: translateZ(0); 
}

/* 4 排 Logo 逐行亮起掃描（純 CSS GPU 關鍵幀，解除主線程負擔） */
@keyframes savageLedPulse {
  0%, 100% { opacity: 0.08; transform: translateZ(0); }
  50% { opacity: 1; transform: translateZ(0) scale(1.02); }
}

.led-row { display: flex; align-items: center; justify-content: center; }
.led-logo { 
  width: 260px; 
  max-width: 75vw; 
  height: auto; 
  opacity: 0.08; 
  display: block; 
  filter: brightness(1.2); 
  will-change: opacity, transform; 
  transform: translateZ(0); 
  animation: savageLedPulse 0.8s ease-in-out infinite;
}

/* 逐行交錯延遲，形成 4 排流水波浪 */
.savage-loader-container .led-row:nth-child(1) .led-logo { animation-delay: 0s; }
.savage-loader-container .led-row:nth-child(2) .led-logo { animation-delay: 0.12s; }
.savage-loader-container .led-row:nth-child(3) .led-logo { animation-delay: 0.24s; }
.savage-loader-container .led-row:nth-child(4) .led-logo { animation-delay: 0.36s; }

/* ================= 自動交錯背景變色層 ================= */
main > div[id$="-container"] > section::before { 
  content: ""; 
  position: absolute; 
  top: 0; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 100vw; 
  height: 100%; 
  z-index: -1; 
  transition: background-color 0.6s ease;
  pointer-events: none;
}

/* 奇數區塊：深底主色 */
main > div[id$="-container"]:nth-of-type(odd) > section::before {
  background-color: var(--c-base);
}

/* 偶數區塊：柔和淺米白色 */
main > div[id$="-container"]:nth-of-type(even) > section::before {
  background-color: var(--c-base-soft);
}

/* Hero 區塊保持通透底色 */
#section-hero::before {
  display: none !important;
}

/* ================= 各模組通用邊界 ================= */
#section-hero, #section-news, #section-shop, #section-menu, #section-stores, #section-concept, #section-social, #section-contact, #section-franchise {
  padding: clamp(40px, 6vw, 70px) clamp(16px, 4vw, 24px);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  width: 100%;
}

.brand-title-wrap { text-align: center; margin-bottom: 30px; }
.brand-title-wrap .sub-lead { display: block; color: var(--c-accent); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.section-title { 
  font-size: clamp(26px, 5vw, 36px); 
  letter-spacing: 2px; 
  text-align: center; 
  margin-bottom: 8px; 
  color: var(--c-deep); 
  font-weight: 900; 
  transition: color 0.6s ease; 
}

/* ================= Hero 區塊 ================= */
#section-hero { 
  padding: 10px 16px 40px; 
  text-align: center; 
  max-width: 1300px; 
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-banner-title { 
  margin-bottom: 12px; 
  position: relative;
  z-index: 12;
}

.hero-banner-title .sub-lead { 
  display: inline-block;
  color: var(--c-accent);
  letter-spacing: 3px; 
  font-size: 13px; 
  font-weight: 800; 
  text-transform: uppercase; 
  transition: color 0.6s ease; 
}

.hero-banner-title h2 { 
  font-size: clamp(26px, 5.5vw, 44px); 
  margin: 4px 0 8px; 
  letter-spacing: 1.5px; 
  font-weight: 900; 
  color: var(--c-deep); 
  transition: color 0.6s ease; 
  line-height: 1.25;
}

.turntable-wrapper { 
  position: relative; 
  width: 100%; 
  max-width: 1240px; 
  margin: 0 auto; 
  padding: 0 clamp(10px, 4vw, 50px); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.turntable-stage { 
  position: relative; 
  width: 100%; 
  min-height: 520px; 
  display: grid; 
  grid-template-columns: 240px 1fr 240px; 
  align-items: center; 
  justify-content: center; 
  gap: 15px; 
}

.hero-left-col { 
  text-align: left; 
  z-index: 12; 
  padding-left: 10px; 
  display: flex; 
  flex-direction: column; 
  gap: 16px; 
}

.price-large { font-size: clamp(32px, 5vw, 42px); font-weight: 900; color: var(--c-deep); line-height: 1; letter-spacing: -1px; transition: color 0.6s ease; }
.price-sub-row { display: flex; gap: 8px; margin-top: 4px; }
.price-sub-tag { font-size: 12px; font-weight: 700; color: #ffffff; background: var(--c-deep); padding: 4px 10px; border-radius: 6px; }
.spec-capsule-tag { margin-top: 4px; font-size: 12px; color: var(--c-text-muted); font-weight: 600; }
.hero-cta-group { display: flex; flex-direction: column; gap: 10px; }

/* 經典美型流體膠囊按鈕 */
.hero-capsule-btn { 
  display: inline-block; 
  text-align: center; 
  padding: 12px 22px; 
  border-radius: 999px !important; 
  font-size: 13.5px; 
  font-weight: 800; 
  text-decoration: none; 
  transition: transform 0.2s, background-color 0.2s; 
  cursor: pointer; 
  border: none;
}

.hero-capsule-btn.primary { 
  background: var(--c-accent); 
  color: #ffffff; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}
.hero-capsule-btn.primary:hover { 
  background: var(--c-accent-hover);
  transform: translateY(-2px);
}

.hero-capsule-btn.outline { 
  background: rgba(255, 255, 255, 0.95); 
  color: var(--c-deep); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.hero-capsule-btn.outline:hover { 
  background: #ffffff;
  transform: translateY(-2px);
}

.hero-center-col { 
  position: relative; 
  width: 100%; 
  height: 100%; 
  min-height: 480px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

/* 同心圓水波漣漪動畫 */
.hero-ripple-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.ripple-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-accent);
  opacity: 0;
  animation: rippleSpread 4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.ripple-ring.r1 { animation-delay: 0s; }
.ripple-ring.r2 { animation-delay: 1.3s; }
.ripple-ring.r3 { animation-delay: 2.6s; }

@keyframes rippleSpread {
  0% { transform: scale(0.3); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-en-bg { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  pointer-events: none; 
  z-index: 2; 
  user-select: none; 
}

.en-word-row { 
  width: 100%; 
  text-align: center; 
  line-height: 0.88; 
  text-transform: uppercase; 
  font-weight: 900; 
  font-family: 'Arial Black', Impact, sans-serif; 
  font-size: clamp(2.8rem, 6.2vw, 5.4rem); 
  color: var(--c-watermark); 
  letter-spacing: 0.06em; 
}

.ingredient-layer { 
  position: absolute !important; 
  top: 0 !important; 
  left: 0 !important; 
  width: 100% !important; 
  height: 100% !important; 
  pointer-events: none; 
  transform: scale(var(--ing-scale)); 
}

.ing-item { 
  position: absolute !important; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  will-change: transform, opacity; 
  transform: translateZ(0);
  pointer-events: none;
}

.ing-item img { 
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}
.ing-layer-back { z-index: 1; }
.ing-layer-front { z-index: 14; }

.ing-pos-1, #ing1 { width: 220px !important; height: 220px !important; top: -30px !important; left: -15px !important; transform: rotate(-24deg); opacity: 0.85; z-index: 1 !important; }
.ing-pos-2, #ing2 { width: 140px !important; height: 140px !important; top: 15px !important; right: 10px !important; transform: scaleX(-1) rotate(42deg); z-index: 14 !important; }
.ing-pos-3, #ing3 { width: 210px !important; height: 210px !important; bottom: -20px !important; left: -50px !important; transform: scaleX(-1) rotate(16deg); z-index: 14 !important; }
.ing-pos-4, #ing4 { width: 180px !important; height: 180px !important; bottom: 10px !important; right: -25px !important; transform: rotate(-38deg); opacity: 0.85; z-index: 1 !important; }

.drink-card { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 12; width: 100%; }
.cup-display { width: clamp(220px, 35vw, 340px); height: clamp(290px, 42vw, 420px); margin: 0 auto; display: flex; align-items: center; justify-content: center; user-select: none; filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.18)); }
.cup-real-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
#hero-drink-name { font-size: clamp(22px, 4.2vw, 32px); font-weight: 900; color: var(--c-deep); letter-spacing: 1px; margin-top: 6px; text-shadow: 0 4px 15px rgba(255,255,255, 0.85); transition: color 0.6s ease; }
.mobile-price-row { display: none; margin-top: 6px; font-size: 20px; font-weight: 900; color: var(--c-accent); letter-spacing: 0.5px; }

.hero-right-col { text-align: right; z-index: 12; padding-right: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hero-series-tag { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--c-accent); text-transform: uppercase; }
.hero-desc-paragraph { font-size: 14px; line-height: 1.8; color: var(--c-deep); font-weight: 500; max-width: 230px; opacity: 0.9; }
.hero-ice-badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--c-deep); background: rgba(255,255,255,0.7); padding: 4px 10px; border-radius: 6px; }

/* 經典圓形導航切換按鈕 */
.wheel-nav { 
  position: absolute; 
  background: var(--c-accent); 
  border: none !important; 
  color: #ffffff; 
  font-size: 28px; 
  width: 48px; 
  height: 48px; 
  border-radius: 50% !important; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  user-select: none; 
  transition: transform 0.2s, background-color 0.2s; 
  z-index: 25; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
}
.wheel-nav.prev { left: 5px; }
.wheel-nav.next { right: 5px; }
.wheel-nav:hover { background: var(--c-accent-hover); transform: scale(1.08); }

.dots-indicator { display: flex; justify-content: center; gap: 10px; margin: 15px 0 10px; }
.dot { width: 10px; height: 10px; border-radius: 50% !important; background: var(--c-deep); opacity: 0.2; border: none; transition: width 0.3s, opacity 0.3s; cursor: pointer; }
.dot.active { background: var(--c-accent); opacity: 1; width: 28px; border-radius: 6px !important; }

/* ================= 手機液體式響應 ================= */
@media (max-width: 900px) {
  #loader-overlay,
  #campaign-modal,
  #site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  #campaign-modal {
    background: rgba(0, 0, 0, 0.9) !important;
  }

  main { 
    padding-top: 140px !important; 
  }

  #section-hero {
    padding-top: 0 !important;
    padding-bottom: 25px !important;
  }

  .hero-banner-title {
    margin-bottom: 6px;
  }

  .turntable-wrapper {
    padding: 0 10px;
  }

  .turntable-stage {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
    gap: 12px !important;
  }

  .hero-center-col {
    min-height: 290px !important;
    height: 290px !important;
    order: 1;
  }

  .cup-display {
    width: 210px !important;
    height: 250px !important;
  }

  .hero-left-col {
    order: 2;
    text-align: center;
    align-items: center;
    padding: 0;
    width: 100%;
    gap: 10px;
  }

  .desktop-price-area .hero-price-wrap {
    display: none !important;
  }

  .mobile-price-row {
    display: block !important;
    font-size: 19px !important;
  }

  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 8px;
  }

  .hero-capsule-btn {
    padding: 10px 18px;
    font-size: 12.5px;
  }

  .hero-right-col {
    order: 3;
    text-align: center;
    align-items: center;
    padding: 0;
    width: 100%;
    gap: 6px;
  }

  .hero-desc-paragraph {
    max-width: 92%;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.6;
  }

  .wheel-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .wheel-nav.prev { left: -6px; }
  .wheel-nav.next { right: -6px; }

  .ing-pos-1, #ing1 { width: 95px !important; height: 95px !important; top: -10px !important; left: -10px !important; }
  .ing-pos-2, #ing2 { width: 75px !important; height: 75px !important; top: 10px !important; right: 0 !important; }
  .ing-pos-3, #ing3 { width: 90px !important; height: 90px !important; bottom: -15px !important; left: -10px !important; }
  .ing-pos-4, #ing4 { width: 90px !important; height: 90px !important; bottom: 10px !important; right: -10px !important; }
}

/* ================= 最新消息：梯形輪播 ================= */
.ds-trapezoid-news-section {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 16px 60px;
  overflow: hidden;
  z-index: 12;
}

.trapezoid-carousel-viewport {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0;
  z-index: 12;
}

.trapezoid-carousel-track {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.trap-card-unit {
  position: relative;
  flex: 0 0 calc(100% / 3 + 72px); 
  max-width: 380px;
  height: 500px;
  margin: 0 -36px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  user-select: none;
  overflow: visible;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 12;
}

@media (max-width: 900px) {
  .trap-card-unit { 
    flex: 0 0 85vw !important; 
    max-width: 85vw !important; 
    height: 440px; 
    margin: 0 10px !important; 
  }
  .trap-card-unit .trap-card-body {
    clip-path: none !important;
  }
}

.trap-card-body {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.trap-card-unit.pos-up .trap-card-body { clip-path: polygon(0% 0%, 100% 0%, 88% 100%, 12% 100%); }
.trap-card-unit.pos-down .trap-card-body { clip-path: polygon(12% 0%, 88% 0%, 100% 100%, 0% 100%); }

.trap-img-box { position: relative; width: 100%; flex: 1; overflow: hidden; background: #1c241f; }
.trap-img-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trap-info-box { width: 100%; height: 105px; flex: 0 0 105px; padding: 14px 16%; background: #ffffff; display: flex; flex-direction: column; justify-content: center; z-index: 14; }
.trap-card-unit.pos-up .trap-info-box { order: 2; padding-bottom: 20px; }
.trap-card-unit.pos-down .trap-info-box { order: 1; padding-top: 20px; }
.trap-date { font-size: 11px; font-weight: 800; color: #0288d1; letter-spacing: 0.5px; margin-bottom: 4px; white-space: nowrap; }
.trap-title { font-size: 13.5px; font-weight: 900; color: #1a301c; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.trap-hover-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(0px); opacity: 0; pointer-events: none; z-index: 15; transition: opacity 0.35s ease; }
.trap-vertical-more { font-family: 'Arial Black', Impact, sans-serif; font-size: 36px; font-weight: 900; line-height: 1.15; color: #ffffff; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45); }
.trap-card-unit:hover .trap-hover-overlay { opacity: 1; backdrop-filter: blur(8px); }

.trap-nav-btn { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  width: 44px; 
  height: 44px; 
  border-radius: 50%; 
  background: rgba(26, 48, 28, 0.85); 
  color: #ffffff; 
  border: none; 
  font-size: 24px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
  z-index: 30; 
  transition: opacity 0.25s ease, background-color 0.25s ease;
}
.trap-nav-btn.prev { left: 4px; }
.trap-nav-btn.next { right: 4px; }
.trap-nav-btn:hover:not(:disabled) { background: #000000; }

.trap-nav-btn:disabled {
  opacity: 0 !important;
  pointer-events: none !important;
  cursor: default;
}

/* ================= 9:16 直式雜誌專題 (CONCEPT) ================= */
.editorial-concept-section {
  padding: 60px 20px 90px;
  max-width: 1280px;
  margin: 0 auto;
}
.concept-magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}
@media (max-width: 900px) {
  .concept-magazine-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.concept-mag-unit {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.concept-mag-unit:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.concept-mag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.concept-mag-unit:hover .concept-mag-img {
  transform: scale(1.05);
}
.concept-mag-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 24px;
  color: #ffffff;
}
.concept-mag-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #22c55e;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.concept-mag-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 6px;
}
.concept-mag-desc {
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ================= 1:1 正方形信封商品展架 (SHOP) ================= */
.editorial-shop-section {
  padding: 60px 20px 90px;
  max-width: 1280px;
  margin: 0 auto;
}
.shop-envelope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  width: 100%;
}
.shop-envelope {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(26, 48, 28, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shop-envelope:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}
.shop-env-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.shop-envelope:hover .shop-env-img {
  transform: scale(1.04);
}
.shop-env-mask {
  position: absolute;
  inset: 0;
  background: rgba(26, 48, 28, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.shop-envelope:hover .shop-env-mask {
  opacity: 1;
}
.shop-btn-cta {
  background: #ffffff;
  color: var(--c-deep);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}

/* ================= 門市據點 ＋ Google Map 連動樣式 ================= */
.stores-section-editorial { padding: 50px 16px 80px; max-width: 1280px; margin: 0 auto; }
.stores-header-wrap { text-align: center; margin-bottom: 30px; }
.stores-tag-label { font-size: 11px; font-weight: 900; letter-spacing: 3px; color: var(--c-accent); text-transform: uppercase; margin-bottom: 4px; }
.stores-main-title { font-size: clamp(28px, 6vw, 38px); font-weight: 900; letter-spacing: 2px; color: var(--c-deep); font-family: 'Arial Black', Impact, sans-serif; margin-bottom: 6px; }
.stores-sub-desc { font-size: 13px; font-weight: 600; color: var(--c-text-muted); }

.stores-editorial-stage {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 20px;
  min-height: 580px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .stores-editorial-stage {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.stores-list-panel {
  background: #ffffff;
  border: 1px solid rgba(26, 48, 28, 0.18);
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}
.stores-accordion-stream { overflow-y: auto; flex: 1; max-height: 580px; }
.city-accordion-group { border-bottom: 1px solid rgba(26, 48, 28, 0.12); border-radius: 0 !important; }
.city-toggle-bar { width: 100%; padding: 14px 20px; background: #ffffff; border: none; border-radius: 0 !important; cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: all 0.25s ease; user-select: none; }
.city-toggle-bar:hover { background: var(--c-base-soft); }
.city-toggle-bar.active { background: var(--c-deep); color: #ffffff; }

.city-title-meta { display: flex; align-items: center; gap: 10px; }
.city-index-num { font-family: Impact, monospace; font-size: 13px; opacity: 0.6; }
.city-name-text { font-size: 15px; font-weight: 900; }
.city-store-counter { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border: 1px solid currentColor; }
.city-expand-indicator { font-size: 18px; transition: transform 0.25s ease; }
.city-toggle-bar.active .city-expand-indicator { transform: rotate(45deg); }

.city-stores-drawer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1); background: #fafcfa; }
.city-stores-drawer.open { max-height: 2000px; }

.store-listing-unit { padding: 14px 20px; border-bottom: 1px dashed rgba(26, 48, 28, 0.1); cursor: pointer; border-radius: 0 !important; transition: all 0.2s ease; position: relative; }
.store-listing-unit:hover { background: var(--c-base-soft); padding-left: 24px; }
.store-listing-unit.active { background: #ffffff; border-left: 4px solid var(--c-accent); }

.store-unit-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.store-unit-name { font-size: 14.5px; font-weight: 800; color: var(--c-deep); }
.store-unit-badge { font-size: 10px; font-weight: 800; color: var(--c-accent); letter-spacing: 1px; }
.store-unit-addr { font-size: 12px; color: var(--c-text-muted); line-height: 1.4; margin-bottom: 2px; }
.store-unit-phone { font-size: 11px; color: #718096; font-family: monospace; }

.stores-map-panel { background: #ffffff; border: 1px solid rgba(26, 48, 28, 0.18); border-radius: 0 !important; overflow: hidden; position: relative; min-height: 400px; }
.stores-map-viewport { width: 100%; height: 100%; min-height: 400px; position: relative; border-radius: 0 !important; }
.stores-map-viewport iframe { width: 100%; height: 100%; display: block; border: none; }

.map-pin-indicator { position: absolute; top: 12px; left: 12px; background: var(--c-deep); color: #ffffff; padding: 6px 14px; font-size: 12px; font-weight: 800; z-index: 10; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 0 !important; }
.pin-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 6px #22c55e; }

/* ================= 彈窗與全頁面控制 ================= */
.full-page-modal { 
  display: none !important;
  position: fixed !important; 
  top: 0 !important; 
  left: 0 !important; 
  width: 100vw !important; 
  height: 100vh !important; 
  height: 100dvh !important; 
  background: var(--c-base) !important; 
  z-index: 100001 !important; 
  overflow-y: auto !important; 
  flex-direction: column !important; 
}
.page-header { 
  background: var(--c-deep); 
  padding: 16px 24px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  position: sticky; 
  top: 0; 
  z-index: 10; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.page-header h2 { 
  color: #ffffff; 
  font-size: 18px; 
  font-weight: 800; 
  letter-spacing: 1px; 
  margin: 0; 
}
.page-close-btn { 
  background: var(--c-accent) !important; 
  color: #ffffff !important; 
  border: none !important; 
  padding: 8px 20px !important; 
  border-radius: 999px !important; 
  font-size: 13px !important; 
  font-weight: 800 !important; 
  cursor: pointer !important; 
  display: inline-flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}
.page-close-btn:hover { 
  background: var(--c-accent-hover) !important; 
}
.page-content { 
  padding: 30px 16px 80px; 
  max-width: 860px; 
  margin: 0 auto; 
  color: var(--c-deep); 
  width: 100%;
}

/* ================= 開頭廣告彈窗 ================= */
#campaign-modal {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99998 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

@media (min-width: 1025px) {
  #campaign-modal { 
    zoom: calc(1 / 1.05) !important; 
    width: 105vw !important;
    height: 105vh !important;
    height: 105dvh !important;
  }
  #loader-overlay { 
    zoom: calc(1 / 1.05) !important; 
    width: 105vw !important;
    height: 105vh !important;
    height: 105dvh !important;
  }
}

.campaign-card {
  position: relative;
  max-width: 780px;
  width: 90vw;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  will-change: transform, opacity;
  transform: translateZ(0);
}
.campaign-card img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  max-height: 85dvh;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}
.close-campaign-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  background: #ffffff;
  color: #1a301c;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

/* ================= Footer ================= */
#site-footer { 
  padding: 45px 16px; 
  text-align: center; 
  background-color: var(--c-deep); 
  color: #ffffff; 
  position: relative; 
  z-index: 20; 
  transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s ease;
  border-top: 1px solid var(--c-watermark);
}
.footer-nav { color: var(--c-accent); font-size: 13.5px; font-weight: 700; margin-bottom: 20px; }
.footer-nav a { color: #ffffff; text-decoration: none; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--c-accent); }
.company-legal p { color: #ffffff; opacity: 0.8; font-size: 12.5px; line-height: 1.7; }
.copyright { margin-top: 20px; color: var(--c-accent); font-size: 11.5px; }