@charset "utf-8";
/* =============================================================
   ReSarah — A02-1-1「單一鞋款頁：月光尖頭緞面婚鞋」切版
   來源：Figma Untitled → A02-1-1（node 986:1441，1440 × 6860）

   規則（與之前各頁同一套）：
   1. 版位一律用 flex，全檔沒有任何 display:grid
   2. 只有「一個」斷點：1024px（≥1024 桌機／<1024 手機單欄）
   3. 圖片一律寫在 HTML 的 <img>，CSS 不放 background-image；
      <img> 不寫 width / height，版位高度由 .media 的 aspect-ratio 撐
   4. Tokens／Reset／按鈕／Header／Footer 等共用樣式在 common.css（2026-11-01 彙整），本檔只放本頁專屬區塊
   ※ 百分比 margin / padding 以「父層寬度」換算 → 1024~1440 跟著等比縮
   ============================================================= */

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

/* =============================================================
   01 INTRO（Figma 0–467）
   左：縮圖 220 + 品號 + 按鈕 ／ 右：主標 x943
   ============================================================= */
.intro { padding: clamp(150px, 13.542vw, 195px) 0 clamp(28px, 2.847vw, 41px); }
.intro__inner { max-width: var(--canvas); margin-inline: auto; display: flex; align-items: flex-start; }

.intro__item { flex: 0 0 36.042%; margin-left: 4.236%; display: flex; align-items: flex-end; }  /* x61 w519 */
.intro__thumb { flex: 0 0 42.389%; }                                   /* 220 / 519 */
.intro__thumb .media { position: relative; aspect-ratio: 1 / 1; }
.intro__meta { flex: 1 1 auto; min-width: 0; margin-left: 6.551%; padding-bottom: 7px; }  /* x315 */
.intro__code { font-size: var(--fs-caption); line-height: 27px; color: var(--c-muted); }
.intro__btns { margin-top: 13px; display: flex; flex-wrap: nowrap; gap: 8px 11px; }

.intro__copy { flex: 0 0 28.056%; margin: 4.028% 6.458% 0 auto; }     /* x943 w404 ／ 上 58 */
.intro__title { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.intro__desc  { margin-top: 13px; font-size: var(--fs-lead); line-height: var(--lh-lead); }

/* =============================================================
   02 BANNER Moonlight（Figma 467–1076，1440 × 609）
   ============================================================= */
.banner { position: relative; }
.banner__fig .media { position: relative; aspect-ratio: 1440 / 609; }
.banner__word { position: absolute; left: 7.014%; top: 45.32%; color: var(--c-text-invert); }  /* x101 y+276 */

/* =============================================================
   03 商品細節（Figma 1076–3327）
   左：750 × 750 大圖 ×3 ／ 右：規格欄（sticky）
   ============================================================= */
.detail { display: flex; align-items: flex-start; }
.detail__gallery { flex: 0 0 52.083%; min-width: 0; display: flex; flex-direction: column; }  /* 750 / 1440 */
.detail__left { flex: 0 0 52.083%; min-width: 0; display: flex; flex-direction: column; }      /* 商品DB版左欄：輪播 + 下方細節圖 */
.detail__left .detail__gallery { flex: 0 0 auto; width: 100%; }                                 /* 包在左欄時由左欄決定寬 */
.detail__below { display: flex; flex-direction: column; }                                        /* 下方固定細節圖：沿用原本直向排列（flush） */
.detail__fig .media { position: relative; aspect-ratio: 1 / 1; }

.detail__panel {
  flex: 1 1 0; min-width: 0;
  position: sticky; top: 0;
  /* padding 百分比以 .detail 寬 1440 換算：上 58 ／ 左 138（x888）／ 右 158 → 內容 394 */
  padding: 4.028% 10.972% 40px 9.583%;
}
.detail__title { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.detail__desc  { margin-top: 12px; font-size: var(--fs-body); line-height: 29px; }

.spec { margin: 23px 0 0; border-bottom: 1px solid var(--c-rule); }
.spec__row { display: flex; border-top: 1px solid var(--c-rule); padding: 12px 0 15px; line-height: 29px; }
.spec dt { flex: 0 0 37.563%; color: var(--c-muted); }                /* 148 / 394 */
.spec dd { flex: 1 1 auto; min-width: 0; margin: 0; }
.spec__sub { display: block; color: var(--c-muted); }

.detail__btns { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 10px 14px; }   /* 1440 一列三顆；空間不夠自動換行 */

/* =============================================================
   04 SEEN IN THESE MOMENTS（Figma 3327–4184）
   卡片從 x220 排到右緣出血
   ============================================================= */
.moments { padding: 4.375% 0 1.875%; }                                 /* 上 63 ／ 下 27 */
.moments__head { display: flex; align-items: flex-start; }
.moments__display { flex: 0 0 44.306%; margin-left: 8.472%; }          /* x122，h2 落在 x760 */
.moments__title { margin-top: 6.181%; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }  /* 上 89 */

.moments__list { margin: 2.569% 0 0 15.278%; display: flex; gap: 1.639%; }  /* 上 37 ／ x220 ／ 間距 20 */
.moment { flex: 0 0 23.770%; min-width: 0; }                           /* 290 / 1220 */
.moment__fig .media { position: relative; aspect-ratio: 290 / 435; }
.moment__name { margin-top: 10px; padding-left: 7px; font-family: var(--ff-display); font-size: var(--fs-title); line-height: 28px; }
.moment__cap  { margin-top: 6px; padding-left: 7px; max-width: 83.45%; font-size: var(--fs-body); line-height: 25.5px; }

/* =============================================================
   05 FITTING（Figma 4184–4646，色帶 1440 × 462）
   ============================================================= */
.fitting { background: var(--c-brand2); padding: 6.528% 0 3.333%; }   /* 上 94 ／ 下 48 */
.fitting__top { display: flex; align-items: flex-start; }
.fitting__word { flex: 0 0 auto; margin: 1.389% 0 0 -2.847%; white-space: nowrap; }  /* y+114 ／ x-41 */
.fitting__copy { margin-left: auto; margin-right: 4.931%; width: 31.319%; }          /* x918 w451 */
.fitting__lead { font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: .03em; }
.fitting__desc { margin-top: 7px; font-size: var(--fs-lead); line-height: 27.75px; }

/* 三個特色：x130 ~ 1315 左右貼齊、平均分配 */
.facts { margin: 4.861% 0 0 9.028%; width: 82.292%; display: flex; justify-content: space-between; gap: 24px; }
.fact { display: flex; align-items: flex-start; }
.fact__no {
  flex: none; margin-right: clamp(14px, 1.667vw, 24px);
  font-family: var(--ff-display); font-size: var(--fs-num); line-height: 1.2;
}
.fact__body  { padding-top: 28px; }
.fact__label { font-size: var(--fs-title); line-height: 32px; font-weight: 500; }
.fact__value { font-size: var(--fs-body); line-height: 31px; }

/* =============================================================
   06 AFTER THE WEDDING（Figma 4646–5255，1440 × 609）
   ============================================================= */
.after { position: relative; }
.after__fig .media { position: relative; aspect-ratio: 1440 / 609; }
.after__copy {
  position: absolute; inset: 0;
  padding: 5.556% 0 0 9.444%;                                         /* y+80 ／ x136 */
  color: var(--c-text-invert);
  background: linear-gradient(90deg, rgba(33,33,33,.38), rgba(33,33,33,0) 62%);
}
/* 以下百分比以 .after__copy 內容寬 1304 換算 */
.after__title { margin: .920% 0 0 5.752%; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }  /* x211 */
.after__desc  { margin: 1.074% 0 0 6.135%; max-width: 27.3%; font-size: var(--fs-body); line-height: var(--lh-body); }     /* x216 w356 */

/* =============================================================
   07 推薦鞋款（Figma 5255–6072）
   ============================================================= */
.recs { background: var(--c-surface); padding: 2.292% 0 4.444%; }    /* 上 33 ／ 下 64 */
.recs__head { margin-left: 8.403%; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }  /* x121 */
.recs__head .sec-label { flex: 0 0 21.304%; }                         /* Figma 標籤框 281 寬 → 副標落在 x414 */
.recs__sub  { font-size: var(--fs-title); line-height: 28px; }

.cards { margin: 1.597% 0 0 9.236%; width: 84.444%; display: flex; column-gap: .658%; }  /* 上 23 ／ x133 w1216 */
.card { flex: 0 0 32.895%; min-width: 0; display: flex; flex-direction: column; }         /* 400 / 1216 */
.card__fig .media { position: relative; aspect-ratio: 400 / 440; }
.card__panel {
  background: #fff;
  aspect-ratio: 400 / 203;
  padding: 3.5% 11.111% 4.25%;                                        /* 14 / 44.4 / 17 */
  display: flex; flex-direction: column;
}
.card__tag {
  align-self: flex-start; margin-left: -2.232%;
  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__link {
  margin-top: auto; 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__link:hover { opacity: .6; }

/* =============================================================
   08 TAKE YOUR TIME（Figma 6072–6602）
   ============================================================= */
.still { background: #fff; padding: 5.208% 0 9.236%; }                 /* 上 75 ／ 下 133 */
.still__display { margin-left: 19.792%; }                              /* x285 */
.still__row  { margin-top: .833%; display: flex; align-items: flex-start; }  /* 12 */
.still__copy { flex: 0 0 25%; margin-left: 34.097%; }                  /* x491 w360 */
.still__title { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.still__desc  { margin-top: 2.778%;   /* 10（以 .still__copy 寬 360 換算）*/ font-size: var(--fs-lead); line-height: var(--lh-lead); }
.still__btns  { margin-top: 4.167%;   /* 15 */ display: flex; flex-wrap: wrap; gap: 12px; }
/* 圖片往上提 112、往下凸 45，但不撐高這一列 */
.still__fig { flex: 0 0 20.417%; margin: -7.778% 0 -3.125% .139%; }  /* x853 w294 */
.still__fig .media { position: relative; aspect-ratio: 294 / 367; }

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

  /* ---------- Header → 漢堡選單 ---------- */

  

  

  

  

  

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

  /* ---------- 01 Intro ---------- */
  .intro { padding: 104px 20px 36px; }
  .intro__inner { flex-direction: column; }
  .intro__item { flex: 0 0 auto; width: 100%; margin-left: 0; }
  .intro__thumb { flex: 0 0 38%; }
  .intro__meta { margin-left: 16px; padding-bottom: 0; }
  .intro__btns { flex-wrap: wrap; }
  .intro__copy { flex: 0 0 auto; width: 100%; margin: 28px 0 0; }

  /* ---------- 02 Banner ---------- */
  .banner__fig .media { aspect-ratio: 4 / 3; }
  .banner__word { left: 20px; top: auto; bottom: 20px; }

  /* ---------- 03 商品細節：大圖改成左右滑動 ---------- */
  .detail { flex-direction: column; align-items: stretch; }
  .detail__gallery {
    flex: 0 0 auto; flex-direction: row; gap: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding-inline: 20px; scrollbar-width: none;
  }
  .detail__gallery::-webkit-scrollbar { display: none; }
  .detail__fig { flex: 0 0 86%; scroll-snap-align: center; }
  .detail__left { flex: 0 0 auto; }
  .detail__below { padding-inline: 20px; margin-top: 8px; }
  .detail__below .detail__fig { flex: 0 0 auto; }
  .detail__panel { flex: 0 0 auto; position: static; padding: 28px 20px 8px; }
  .detail__btns { flex-wrap: wrap; gap: 10px 12px; }

  /* ---------- 04 Moments：卡片改成左右滑動 ---------- */
  .moments { padding: 44px 0 40px; }
  .moments__head { flex-direction: column; padding-inline: 20px; }
  .moments__display, .moments__title { flex: 0 0 auto; margin: 0; }
  .moments__title { margin-top: 12px; }
  .moments__list {
    margin: 24px 0 0; padding-inline: 20px; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .moments__list::-webkit-scrollbar { display: none; }
  .moment { flex: 0 0 68%; scroll-snap-align: start; }

  /* ---------- 05 Fitting ---------- */
  .fitting { padding: 40px 20px 44px; }
  .fitting__top { flex-direction: column; }
  .fitting__word { margin: 0; }
  .fitting__copy { width: 100%; margin: 20px 0 0; }
  .fitting__desc { line-height: 26px; }
  .facts { width: 100%; margin: 32px 0 0; flex-direction: column; gap: 22px; }
  .fact__no { width: 64px; margin-right: 12px; font-size: var(--fs-num); line-height: 1.1; }
  .fact__body { padding-top: 4px; }
  .fact__label { font-size: var(--fs-title); line-height: 28px; }
  .fact__value { line-height: 26px; }

  /* ---------- 06 After the wedding：文字移到圖片下方 ---------- */
  .after__fig .media { aspect-ratio: 4 / 3; }
  .after__copy { position: static; padding: 28px 20px 44px; color: var(--c-text); background: none; }
  .after__title, .after__desc { margin: 12px 0 0; max-width: none; }

  /* ---------- 07 推薦鞋款 ---------- */
  .recs { padding: 36px 20px 44px; }
  .recs__head { margin-left: 0; }
  .recs__head .sec-label { flex: 0 0 auto; }
  .cards { width: 100%; margin: 20px 0 0; flex-direction: column; row-gap: 28px; }
  .card { flex: 0 0 auto; width: 100%; }
  .card__fig .media { max-height: 60vh; }
  .card__panel { aspect-ratio: auto; padding: 20px; }
  .card__tag { margin-left: 0; }
  .card__link { margin-top: 18px; }

  /* ---------- 08 Take your time ---------- */
  .still { padding: 40px 20px 48px; }
  .still__display { margin-left: 0; }
  .still__row { flex-direction: column; margin-top: 16px; }
  .still__copy { flex: 0 0 auto; width: 100%; margin: 0; }
  .still__title br { display: none; }
  .still__desc { margin-top: 12px; }
  .still__btns { margin-top: 20px; }
  .still__fig { flex: 0 0 auto; width: 100%; max-width: 280px; margin: 28px 0 0; }

  

  
}

