@charset "utf-8";
/* =============================================================
   ReSarah — Desktop A02-1「情境找鞋：第一次穿高跟鞋的推薦鞋款」切版
   來源：Figma Untitled → A02-1（node 963:667，1440 × 5153）

   規則（與 a01 / a02 / custom-made-shoes / rent-wedding-shoes /
         product / about-us / reservation 同一套）：
   1. 版位一律用 flex，全檔沒有任何 display:grid
   2. 只有「一個」斷點：1024px
        ≥ 1024 → 桌機版（1024~1440 之間用 % 與 clamp 等比縮，1440 時等於 Figma 原值）
        < 1024 → 手機版（全部單欄）
   3. 圖片一律寫在 HTML 的 <img src="img/…">，CSS 不放任何 background-image，
      而且 <img> 不寫 width / height 屬性 —— 版位高度全部由 aspect-ratio 撐
   4. Tokens／Reset／按鈕／Header／Footer 等共用樣式在 common.css（2026-11-01 彙整），本檔只放本頁專屬區塊

   ※ 垂直間距大量使用「百分比 margin / padding」。
     百分比的 margin/padding 一律以「父層的寬度」換算，
     所以 1024~1440 之間整塊會跟著圖片一起等比縮放。
   ============================================================= */

/* =============================================================
   Design Tokens
   ============================================================= */
:root {
  --canvas:     1440px;
}

/* =============================================================
   01 HERO（Figma 0–900）
   左圖 747 ｜ 右文 693
   ============================================================= */
.hero { display: flex; align-items: stretch;  }

/* 左：747 / 900 —— flex-grow 直接用 Figma 的 px 寬，比例就對了 */
.hero__figure { flex: 747 1 0; min-width: 0; position: relative; }
.hero__figure .media { position: relative; aspect-ratio: 747 / 900; }

/* 右：693 寬。以下所有百分比都以 693 為基準換算 */
.hero__body {
  flex: 693 1 0; min-width: 0; position: relative;
  display: flex; flex-direction: column;
}

.hero__copy { flex: 1 1 auto; padding: 20% 0 0 15.296%; }  /* 259 / 106 */
.hero__eyebrow { margin-left: -7.836%; }                        /* x807（比內文左緣再外推 46） */
.hero__title {
  margin: 2.215% 0 0 9.540%;                                    /* 上 13 ／ x909 */
  font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500;
}
.hero__desc {
  margin-top: 1.363%;                                           /* 8 */
  font-size: var(--fs-lead); line-height: var(--lh-lead);
}
.hero__cta { margin-top: 4.940%; display: flex; flex-wrap: wrap; gap: 14px; }  /* 29 */

/* 小圖卡（Group 106，220 × 290，x1188 / y541） */
.hero__chip {
  position: absolute; left: 63.636%; top: 50%;
  width: 31.746%;
}
.hero__chip .media { position: relative; aspect-ratio: 220 / 290;z-index: 2; }

/* 數據色帶（Rectangle 39，693 × 234） */
.hero__band {
  flex: 0 0 auto; position: relative; z-index: 1;
  background: var(--c-surface);
  padding: 5.916% 0 10.390%;                                    /* 上 41 ／ 下 72 */
}
.stats { display: flex; align-items: flex-start; gap: 5.339%; padding-left: 9.380%; }  /* 37 ／ 65 */
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.stat__num {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(38px, 4.17vw, 60px); line-height: 1.517;     /* 91 高 */
  white-space: nowrap;
}
.stat__label { font-size: var(--fs-caption); line-height: 30px; white-space: nowrap; }

/* =============================================================
   02 ABOUT（Figma 900–1450，色帶 1440 × 550）
   百分比以 1440 為基準
   ============================================================= */

.about { background: var(--c-brand2); padding: 6.528% 0 5%; }   /* 上 94 ／ 下 72 */
.about__inner { max-width: var(--canvas); margin-inline: auto; }

.about__top { display: flex; align-items: flex-start; }
.about__word { flex: 0 0 auto; margin: 1.389% 0 0 -2.847%; white-space: nowrap; }  /* y1014 ／ x-41 */
.about__copy { margin-left: auto; margin-right: 6.458%; width: 33.333%; }          /* x867 w480 */
.about__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: .03em; }
.about__desc { margin-top: 7px; font-size: var(--fs-lead); line-height: 27.75px; }

/* =============================================================
   05 Details
   ============================================================= */
.details { position: relative; background: var(--c-brand-primary); padding: 60px 0 90px; overflow: hidden; }
.details__mega { position: absolute; left: 0; top: 0; color: var(--c-surface-white); }
.details__inner { position: relative; }
.details__intro { margin: 50px 0 70px auto; max-width: 400px; }
.details__intro h2 { font-size: var(--fs-bodyb); line-height: var(--lh-bodyb); font-weight: 700; margin-bottom: 10px; }
.details__intro p  { font-size: var(--fs-caption); line-height: var(--lh-caption); }

/* repeat start：.detail-item */
.detail-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 46px 60px;max-width: 960px;justify-self: end; }
.detail-item { display: flex; gap: 18px; align-items: flex-start; }
.detail-item__no { font-family: var(--ff-display); font-size: var(--fs-num); line-height: .8; color: var(--c-accent-pink); flex: none; }
.detail-item__t { font-size: var(--fs-bodyb); line-height: var(--lh-bodyb); font-weight: 700; margin-bottom: 4px; }
.detail-item__d { font-size: var(--fs-caption); line-height: var(--lh-caption); }

/* 四個說明項目（Group 20，x509 y1148 w860，2 欄 × 2 列） */
.facts {
  margin-left: 35.347%; width: 59.722%;                          /* x509 ／ w860 */
  display: flex; flex-wrap: wrap;
  row-gap: clamp(26px, 2.639vw, 38px);                           /* 38 */
}
.fact { flex: 0 0 43.953%; min-width: 0; display: flex; align-items: flex-start; }  /* 378 / 860 */
.fact__no {
  flex: 0 0 27.513%; min-width: 0;                               /* 104 / 378 */
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-num); line-height: 1.2;
}
.fact__body { flex: 0 0 100%; min-width: 0; padding-top: 28px; }
.fact__label { font-size: var(--fs-title); line-height: 32px; color: var(--c-muted); }
.fact__value { font-size: var(--fs-t4); line-height: 31px; letter-spacing: .05em; }

/* =============================================================
   03 篩選 + 鞋款列表（Figma 1450–3790，色帶 1440 × 2340）
   ============================================================= */
.picks { background: var(--c-surface); padding: 6.875% 0 5.833%; }  /* 上 99 ／ 下 84 */
.picks__inner { max-width: var(--canvas); margin-inline: auto; }

/* ---------- 篩選列（1549–1607） ---------- */
.filters { width: 100%; display: flex; align-items: flex-start; margin-bottom: 15px;}  /* x164 w1145 */
.filters__group { flex: 0 0 auto; min-width: 0;flex-basis: 25%; }
.filters__group--heel  { }   /* 397 / 1145 */
.filters__group--scene {  }   /* 406 / 1145 */
.filters__group--trait { flex: 1 1 auto; }
.filters__label { font-size: var(--fs-caption); line-height: 27px; color: var(--c-muted); letter-spacing: .1em; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 36px; }
.chip {
  font-size: var(--fs-btn); line-height: var(--lh-btn);   /* 篩選標籤也是按鈕 → 20px */
  padding: 4px 14px; margin-inline: -14px;
  border-radius: 999px; white-space: nowrap;
  transition: background-color .2s ease, opacity .2s ease;
}
.chip:hover { opacity: .65; }
.chip.is-on { background: var(--c-pink); color: var(--c-text); }

/* ---------- 鞋款卡（1634–3706） ---------- */
.cards {
  margin:0 auto;
    width: 100%;                     /* 上 27 ／ x136 w1216 */
  display: flex; flex-wrap: wrap;
  gap: 20px;
}
.card { flex: 0 0 calc(100% / 3 - 20px); min-width: 0; display: flex; flex-direction: column; }  /* 400 / 1216 */
.card__fig { position: relative; }
.card__fig .media { position: relative; aspect-ratio: 1 / 1; }

.card__panel {
  flex: 1 1 auto;
  background: #fff;
  aspect-ratio: 400 / 230;
  padding: 3.5% 5% 3.25%;                                   /* 14 / 44.4 / 13 */
  display: flex; flex-direction: column;
}
.card__tag {
  align-self: flex-start; margin-left: -2.232%;                  /* 膠囊往左多凸 6.94 */
  padding: 3px 7px; border-radius: 999px;
  background: var(--c-brand2);
  font-size: var(--fs-small); line-height: 19px;
}
.card__name { margin-top: 9px; font-size: var(--fs-title); line-height: 27px; font-weight: 500; }
.card__spec { font-size: var(--fs-caption); line-height: 24px; color: var(--c-muted); }
.card__desc { margin-top: 7px; font-size: var(--fs-small); line-height: var(--lh-small); }

.card__links { margin-top: 15px; }
.card__links a {
  display: block;
  border-top: 1px solid var(--c-rule);
  padding-top: 9px;
  font-size: var(--fs-small); line-height: var(--lh-small);
  transition: opacity .25s ease;
}
.card__links a:first-child { padding-bottom: 6px; }
.card__links a:hover { opacity: .6; }

/* =============================================================
   04 STILL NOT SURE（Figma 3790–4239）
   ============================================================= */
.still { background: #fff; padding: 3.611% 0 5%; }               /* 上 52 ／ 下 72 */
.still__inner { max-width: var(--canvas); margin-inline: auto; }
.still__display { margin-left: 23.750%;position: relative;z-index: 2;}                        /* x342 */

.still__row { margin-top: 1.042%; display: flex; align-items: flex-start; }  /* 15 */
.still__copy { flex: 0 0 auto; margin-left: 32.153%; width: 26.389%; }       /* x463 w380 */
.still__title { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.still__desc  { margin-top: 20px;margin-bottom:10px; font-size: var(--fs-lead); line-height: var(--lh-lead); }  /* 10 */
.still__cta   { margin-top: 1.042%; display: flex; flex-wrap: wrap; gap: 18px; }              /* 15 */

.still__fig {
  flex: 0 0 auto; width: 17.639%;                                /* 254 */
  margin: -5.625% auto 0 .972%;                                  /* 上提 81 ／ 左 14 */
  margin-bottom: -1.875%;                                        /* 不讓圖片把列撐高 27 */
}
.still__fig .media { position: relative; aspect-ratio: 254 / 318; }

/* =============================================================
   05 YOU MAY ALSO BE LOOKING FOR（Figma 4239–4895，色帶 1440 × 656）
   ============================================================= */
.also { background: var(--c-brand2); padding: 3.194% 0 5.694%; } /* 上 46 ／ 下 82 */
.also__inner { max-width: var(--canvas); margin-inline: auto; }
.also__label {
  margin-left: 11.458%;                                          /* x165 */
  font-family: var(--ff-display);
  font-size: var(--fs-body); line-height: 28px; letter-spacing: .06em;
  color: var(--c-muted);
}
.also__head {
  margin: .139% 0 0 11.458%; width: 80.486%;                     /* 上 2 ／ x165 w1159 */
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
}
.also__title { font-size: var(--fs-title); line-height: 28px; font-weight: 500; letter-spacing: .02em; }
.also__more  { font-size: var(--fs-title); line-height: 28px; transition: opacity .25s ease; }
.also__more:hover { opacity: .6; }

.occasions {
  margin: 2.083% 0 0 9.444%; width: 83.530%;                     /* 上 30 ／ x136 w1202.83 */
  display: flex; flex-wrap: wrap; gap: .762%;                    /* 9.17 */
}
.occ { flex: 0 0 24.428%; min-width: 0; }                        /* 293.83 / 1202.83 */
.occ__link { position: relative; display: block; }
.occ__fig .media { position: relative; aspect-ratio: 293.83 / 440; }
.occ__tag {
  position: absolute; left: 8.849%; top: 5.454%;                 /* +26 / +24 */
  font-size: var(--fs-caption); line-height: 22px;
  color: var(--c-text-invert);
}
.occ__rule {
  position: absolute; left: 10.040%; top: 15.682%;               /* +29.5 / +69 */
  width: 1px; height: 68.636%;                                   /* 302 / 440 */
  background: rgba(255,255,255,.7);
}
.occ__name {
  position: absolute; left: 8.849%; bottom: 24px;
  font-size: var(--fs-title); line-height: 28px; color: var(--c-text-invert);
}
.occ__link:hover .media > img { transform: scale(1.04); }
.occ__link .media > img { transition: transform .6s ease; }

/* =============================================================
   ★ 唯一的斷點：1024px
   ============================================================= */
@media (max-width: 1023.98px) {

     /* 手機版整列都壓在大圖上 */

  

  

  
  .nav .btn--gold { margin-top: 16px; align-self: flex-start; }

  /* ---------- 01 Hero ---------- */
  .hero { flex-direction: column; }
  .hero__figure, .hero__body { flex: 0 0 auto; width: 100%; }
  .hero__figure .media { aspect-ratio: 4 / 5; max-height: 70vh; }
  .hero__copy { padding: 28px 20px 0; }
  .hero__eyebrow { margin-left: 0; }
  .hero__title { margin: 12px 0 0; }
  .hero__desc  { margin-top: 12px; }
  .hero__desc br { display: none; }
  .hero__cta   { margin-top: 20px; }

  .hero__chip { position: static; width: 44%; margin: 24px 20px 0 auto; }
  .hero__band { margin-top: 24px; padding: 24px 20px 28px; }
  .stats { padding-left: 0; gap: 0; justify-content: space-between; }
  .stat__num { line-height: 1.25; }
  .stat__label { font-size: var(--fs-small); line-height: 22px; }

  /* ---------- 02 About ---------- */
  .about { padding: 40px 20px 44px; }
  .about__top { flex-direction: column; }
  .about__word { margin: 0; }
  .about__copy { width: 100%; margin: 20px 0 0; }
  .about__desc { line-height: 26px; }

  .facts { width: 100%; margin: 32px 0 0; row-gap: 26px; }
  .fact { flex: 0 0 100%; }
  .fact__no { flex: 0 0 76px; font-size: var(--fs-num); line-height: 1.1; }
  .fact__body { flex: 1 1 auto; padding-top: 6px; }
  .fact__label { font-size: var(--fs-title); line-height: 24px; }
  .fact__value { font-size: var(--fs-t4); line-height: 28px; }

  /* ---------- 03 篩選 + 鞋款 ---------- */
  .picks { padding: 40px 0 44px; }
  .filters {
    width: 100%; margin: 0; padding: 0 20px;
    flex-direction: column; gap: 20px;
  }
  .filters__group { flex: 0 0 auto !important; width: 100%; }
  .chips { gap: 10px 14px; }
  .chip { margin-inline: 0; padding: 4px 14px; border: 1px solid var(--c-rule); }
  .chip.is-on { border-color: var(--c-pink); }

  .cards { width: 100%; margin: 28px 0 0; padding: 0 20px; flex-direction: column; row-gap: 32px; }
  .card { flex: 0 0 auto; width: 100%; }
  .card__fig .media { aspect-ratio: 1 / 1; max-height: 60vh; }
  .card__panel { aspect-ratio: auto; padding: 20px; }
  .card__tag { margin-left: 0; }
  .card__links { margin-top: 20px; }

  /* ---------- 04 Still not sure ---------- */
  .still { padding: 40px 20px 44px; }
  .still__display { margin-left: 0; }
  .still__row { flex-direction: column; margin-top: 16px; }
  .still__copy { width: 100%; margin: 0; }
  .still__title br { display: none; }
  .still__desc { margin-top: 12px; }
  .still__cta  { margin-top: 20px; gap: 12px; }
  .still__fig  { width: 100%; max-width: 280px; margin: 28px auto 0 0; }

  /* ---------- 05 妳可能也會想看 ---------- */
  .also { padding: 40px 20px 44px; }
  .also__label { margin-left: 0; }
  .also__head { width: 100%; margin: 6px 0 0; }
  .also__title, .also__more { font-size: var(--fs-title); }
  .occasions { width: 100%; margin: 24px 0 0; flex-direction: column; gap: 20px; }
  .occ { flex: 0 0 auto; width: 100%; }
  .occ__fig .media { aspect-ratio: 3 / 2; max-height: 50vh; }

  

  
}

/* =============================================================
   RWD 修正（2026-10-01）
   ============================================================= */
@media (max-width: 1023.98px) {
  /* Hero：common.css 的 .hero 是給首頁滿版輪播用的「固定高度 + overflow:hidden」（手機 560px），
     本頁 hero 手機是上圖下文，會把標題、按鈕、小圖、數據色帶全部切掉 → 高度改回自動 */
  .hero { height: auto; }

  /* About：minmax(380px) 兩欄 + 靠右對齊，窄螢幕會把 01 / 02 擠到畫面左邊外面 → 固定兩等分 */
  .details__intro { margin: 40px 0 40px auto; }
  .detail-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: none; justify-self: stretch; }
}
@media (max-width: 767px) {
  .details__intro { margin: 50px 0 32px; max-width: none; }
  .detail-list { grid-template-columns: 1fr; gap: 24px; }
  .detail-item { gap: 14px; }
  .detail-item__no { font-size: var(--fs-num); min-width: 52px; }
  /* HTML 是照桌機兩欄的讀法寫的（01,03,02,04），單欄時排回 01→04（新增項目時要一併調整） */
  .detail-item:nth-child(3) { order: 1; }
  .detail-item:nth-child(2) { order: 2; }
  .detail-item:nth-child(4) { order: 3; }
}
