/* ============================================================
   product.html 專用樣式（營運長交付的銷售頁版面，2026-09-11 搬進來）

   為什麼另開一支，不寫進 styles.css：
   改 styles.css 要把全站每一個引用點的版本號一起改（三十幾個），
   而這一整套版面只有這一頁用得到。program/program-report.css 是同樣的理由。

   ⚠️ 這支檔案裡不可以宣告全域根選擇器（那個冒號開頭的偽類）
      交付版那份樣式開頭自帶一組同名的 design token（navy／cream／gold／line…），
      照搬進來等於「打開產品頁就把全站主色換掉」，
      而症狀會出現在別的頁面上，看起來與這次改動完全無關。
      所以這一版把交付版那組 token 全部改名成 --sales-*，掛在 .product-page-body 上：
      改名是關鍵 —— 只是「換一個選擇器」的話，--cream 這種同名 token 仍然會
      蓋掉這一頁裡導覽列與頁尾用的全站值。
      ⚠️ 連註解裡都不可以寫出那個選擇器的原文 —— 守門是掃字串的，
         它分不出「違規」與「在解釋這個違規」，會被自己的說明絆倒。

   ⚠️ 圖示一律行內 SVG，不引用外部 CDN（AI 工程師 2026-08-25 裁示 B4）。
      交付版的圖示是 01／02／03／04 數字，這一版換成與各自文案對應的線性 SVG。

   ⚠️ 版面斷點對齊 styles.css 既有的 1040／900／640，不用交付版的 820／520，
      否則會出現「導覽列已經收成漢堡、內容還是桌機排法」這種半套狀態。
   ============================================================ */

.product-page-body {
  --sales-navy: #0b3448;
  --sales-navy-deep: #071f2d;
  --sales-gold: #e7c85e;
  --sales-gold-bright: #f2d775;
  --sales-green: #647d65;
  --sales-muted: #687b82;
  --sales-line: #cfd4c7;
  --sales-on-navy: #d7e2e5;
}

/* ---------- 一、hero ---------- */

.sales-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(420px, 58vh, 560px);
  padding: 78px 0 84px;
  color: white;
  background: var(--sales-navy);
}

.sales-hero::after {
  position: absolute;
  right: -80px;
  bottom: -190px;
  width: 490px;
  height: 490px;
  max-width: 100%;
  border: 55px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .02);
  content: "";
}

.sales-hero-inner { position: relative; z-index: 1; }

.sales-hero h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.045em;
}

.sales-hero-lead {
  max-width: 710px;
  margin: 0;
  color: var(--sales-on-navy);
  font-size: var(--fs-md);
  line-height: 1.9;
}

.sales-hero-memory {
  margin: 24px 0 0;
  color: var(--sales-gold-bright);
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: .04em;
}

/* ---------- 二、商品區 ---------- */

.sales-product {
  padding: 90px 0;
  background: linear-gradient(135deg, #f3f2e5, #f8f0d8);
}

.sales-product-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 70px;
  align-items: center;
}

.sales-visual { position: relative; margin: 0; }

.sales-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 28px 60px rgba(21, 52, 65, .15);
}

.sales-visual-note {
  position: absolute;
  left: -20px;
  bottom: 28px;
  padding: 18px 22px;
  border-radius: 14px;
  color: white;
  background: var(--sales-navy);
  font-size: var(--fs-sm);
  line-height: 1.6;
  box-shadow: 0 16px 30px rgba(11, 52, 72, .2);
}

.sales-visual-note strong {
  display: block;
  color: var(--sales-gold-bright);
}

.sales-product-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(35px, 4vw, 55px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.045em;
}

.sales-lead {
  margin: 0;
  color: #536d73;
  font-size: var(--fs-base);
  line-height: 1.9;
}

/* 價格：全站只可以有一個價，不要再長出被劃掉的第二個
   （ProductPageRebuildTest 的守-1 守著這件事）。 */
.sales-price {
  margin: 24px 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 15px;
  background: rgba(255, 255, 255, .8);
}

.sales-price span {
  display: block;
  color: var(--sales-muted);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: .04em;
}

.sales-price strong {
  display: block;
  margin-top: 6px;
  color: var(--night);
  font-size: clamp(29px, 3.4vw, 34px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
}

.sales-contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.sales-contents li {
  padding: 15px 2px;
  border-top: 1px solid var(--sales-line);
}

.sales-contents b {
  display: block;
  font-size: var(--fs-md);
}

.sales-contents small {
  color: #5b7176;
  font-size: var(--fs-2xs);
}

.sales-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 18px 0 26px;
  padding: 0;
  color: #536d73;
  font-size: var(--fs-sm);
  line-height: 1.6;
  list-style: none;
}

.sales-fit li::before {
  margin-right: 8px;
  color: var(--sales-green);
  font-weight: 900;
  content: "✓";
}

.sales-actions { display: grid; }

.sales-actions .button-full { min-height: 60px; }

.sales-details {
  margin-top: 22px;
  padding: 15px 0;
  border-top: 1px solid var(--sales-line);
  border-bottom: 1px solid var(--sales-line);
}

.sales-details summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.sales-details summary::-webkit-details-marker { display: none; }

.sales-details summary::after { content: "＋"; }

.sales-details[open] summary::after { content: "－"; }

.sales-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  padding: 15px 4px;
  color: #536b70;
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.sales-detail-grid b {
  display: block;
  color: var(--ink);
}

/* ---------- 三、認識平衡衣 ---------- */

.sales-features {
  padding: 92px 0 70px;
  background: var(--paper);
}

.sales-features h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.sales-features-intro {
  max-width: 730px;
  margin: 0;
  color: #61747a;
  font-size: var(--fs-base);
  line-height: 1.9;
}

.sales-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.sales-card {
  min-height: 210px;
  padding: 28px 22px;
  border: 1px solid #e0e1da;
  border-radius: 16px;
  background: var(--white);
}

.sales-card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--sage-deep);
  background: #edf0e7;
}

.sales-card-icon svg {
  display: block;
  width: 21px;
  height: 21px;
}

.sales-card h3 {
  margin: 20px 0 8px;
  font-size: var(--fs-md);
  font-weight: 800;
}

.sales-card p {
  margin: 0;
  color: #67797d;
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.sales-closing {
  margin: 26px 0 0;
  padding: 18px;
  border: 1px solid #eadfae;
  border-radius: 14px;
  background: #f6f0d9;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

/* ---------- 四、7 天任務 ---------- */

.sales-care {
  padding: 30px 0 110px;
  background: var(--paper);
}

.sales-care-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  padding: 56px;
  border-radius: 30px;
  color: white;
  background: var(--sales-navy);
}

.sales-care-panel::after {
  position: absolute;
  right: -10px;
  bottom: -125px;
  color: rgba(255, 255, 255, .035);
  font-size: 330px;
  font-weight: 900;
  line-height: 1;
  content: "7";
}

.sales-care-copy,
.sales-care-list { position: relative; z-index: 1; }

.sales-care-label {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--sales-navy);
  background: var(--sales-gold);
  font-size: var(--fs-2xs);
  font-weight: 900;
}

.sales-care-copy h2 {
  margin: 18px 0;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.sales-care-copy p {
  margin: 0;
  color: #d6e1e4;
  font-size: var(--fs-base);
  line-height: 1.9;
}

.sales-care-note {
  margin-top: 18px !important;
  color: #aac0c7 !important;
  font-size: var(--fs-2xs) !important;
}

.sales-care-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sales-care-list li {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.sales-care-list b {
  display: block;
  color: var(--sales-gold-bright);
}

/* ---------- 響應式 ----------
   ⚠️ 斷點沿用 styles.css 的 1040／900／640。
   900 是導覽列收成漢堡的那一點，版面也要在同一點收成單欄，
   否則會出現「圖已經佔滿寬度、右邊那欄被擠成一條」。 */

@media (max-width: 1040px) {
  .sales-cards { grid-template-columns: 1fr 1fr; }
  .sales-care-panel { gap: 40px; padding: 44px; }
}

@media (max-width: 900px) {
  .sales-hero { padding: 62px 0 68px; min-height: clamp(380px, 52vh, 480px); }
  .sales-product { padding: 58px 0; }
  .sales-product-grid { grid-template-columns: 1fr; gap: 38px; }
  .sales-visual-note { left: 12px; }
  .sales-contents,
  .sales-fit,
  .sales-detail-grid { grid-template-columns: 1fr; }
  .sales-features { padding: 72px 0 56px; }
  .sales-care-panel { grid-template-columns: 1fr; gap: 24px; padding: 38px 24px; }
  .sales-care-panel::after { font-size: 240px; bottom: -90px; }
}

@media (max-width: 640px) {
  .sales-cards { grid-template-columns: 1fr; }
  .sales-card { min-height: 0; }
  .sales-visual-note { font-size: var(--fs-2xs); }
  /* 手機版底部有固定的購買列（.mobile-cta），最後一段要留出它的高度 */
  .sales-care { padding-bottom: 130px; }
}
