@charset "utf-8";
/* =============================================================
   ReSarah — Desktop A06「婚鞋選購指南」切版
   來源：Figma Untitled → Desktop - A06（node 784:309，1440 × 7628）

   規則（與 a01 / a02 / custom-made-shoes / rent-wedding-shoes 同一套）：
   1. 版位一律用 flex，全檔沒有任何 display:grid
   2. 只有「一個」斷點：1024px
        ≥ 1024 → 桌機版（內容欄 1200px 置中，1024~1440 之間用 clamp 等比縮）
        < 1024 → 手機版（全部單欄）
   3. 圖片一律寫在 HTML 的 <img src="img/…">，CSS 不放任何 background-image，
      而且 <img> 不寫 width / height 屬性 —— 版位高度全部由 aspect-ratio 撐
   4. 本檔自成一份，不依賴其他頁的 CSS
   ============================================================= */

/* =============================================================
   Design Tokens
   ============================================================= */
:root {
  /* Color */
  --c-text:        #212121;
  --c-text-invert: #ffffff;
  --c-surface:     #efe7dc;   /* Surface Default 米 */
  --c-brand2:      #ead8d8;   /* Brand Secondary 粉 */
  --c-pink:        #eda3c6;   /* Icon Default／主要 CTA */
  --c-gold:        #caa561;   /* Text Secondary／Nav CTA */
  --c-line:        #d9d9d9;
  --c-rule:        rgba(33,33,33,.35);
  --c-ph:          #ded8ce;

  /* Typography */
  --ff-display: 'Didot', 'Bodoni 72', 'Prata', 'Playfair Display', 'Times New Roman', serif;
  --ff-base:    'Noto Serif TC', 'Songti TC', 'PMingLiU', serif;

  /* 1024→1440 之間等比縮，1440 時等於 Figma 原值 */
  --fs-display: clamp(62px, 6.25vw, 90px);  --lh-display: 1.111; /* H1-desk Didot 90/100 */
  --fs-titleb:  clamp(30px, 2.78vw, 40px);  --lh-titleb: 1.3;    /* Title-big 40/52 */
  --fs-h2:      clamp(27px, 2.50vw, 36px);  --lh-h2: 1.58;       /* 文章大標 36/57 */
  --fs-title:   20px;  --lh-title:   27px;
  --fs-body:    16px;  --lh-body:    28px;
  --fs-bodyb:   16px;  --lh-bodyb:   24px;
  --fs-caption: 14px;  --lh-caption: 22px;
  --fs-small:   12px;  --lh-small:   18px;

  /* Layout */
  --canvas:     1440px;
  --container:  1200px;
  --band:       1250px;                      /* 延伸閱讀那一段的內容帶 */
  --header-pad: clamp(24px, 4.51vw, 65px);
  --hero-h:     900px;
}

/* =============================================================
   Reset
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

/* 內容欄 */
.container {
  width: 100%; max-width: calc(var(--container) + 40px);
  margin-inline: auto; padding-inline: 20px;
}
.band {
  width: 100%; max-width: calc(var(--band) + 40px);
  margin-inline: auto; padding-inline: 20px;
}

/* =============================================================
   圖片版位
   ============================================================= */
.media { position: relative; overflow: hidden; background: var(--c-ph); }
.media--fill { position: absolute; inset: 0; }
.media > img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =============================================================
   共用元件
   ============================================================= */
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__main { font-family: var(--ff-display); font-size: clamp(42px, 4.44vw, 64px); letter-spacing: .01em; white-space: nowrap; }
.brand__sub  { font-family: var(--ff-display); font-size: clamp(10px, .9vw, 13px); letter-spacing: .18em; margin-top: 12px; text-align: center; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 4px 20px;
  border-radius: 999px;
  font-size: var(--fs-bodyb); line-height: var(--lh-bodyb); font-weight: 600;
  white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
}
.btn:hover  { opacity: .85; }
.btn:active { transform: translateY(1px); }
.btn--pink    { background: var(--c-pink); color: var(--c-text); }
.btn--outline { border: 1px solid var(--c-pink); color: var(--c-text); }
.btn--gold    { background: var(--c-gold); color: var(--c-text); border-radius: 4px; font-weight: 400; }

/* 小標籤（Figma Group 41 的膠囊） */
.tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 25px; padding: 3px 14px;
  border: 1px solid var(--c-pink); border-radius: 999px;
  font-size: var(--fs-small); line-height: var(--lh-small); font-weight: 600;
}

/* 區塊標籤：圓圈 + 線 + 文字（Figma 的 image 2，97 × 40） */
.sec-label { display: flex; align-items: center; min-height: 54px; font-size: var(--fs-body); line-height: var(--lh-body); }
.sec-label::before {
  content: ''; width: 28px; height: 28px; flex: none;
  border: 1px solid currentColor; border-radius: 50%; opacity: .55;
}
.sec-label span { position: relative; padding-left: 76px; }
.sec-label span::before {
  content: ''; position: absolute; left: 12px; top: 50%;
  width: 52px; height: 1px; background: currentColor; opacity: .45;
}

.display { font-family: var(--ff-display); font-weight: 400; font-size: var(--fs-display); line-height: var(--lh-display); }
.en      { font-family: var(--ff-display); font-weight: 400; }


/* =============================================================
   01 HERO（Figma 0–900）
   文案階梯：主標 x584 / 中標 x919 / 內文 x923（中標會咬到主標最後一行）
   ============================================================= */
.hero { position: relative; height: var(--hero-h); background: #6f6152; }
.hero__slider,
.hero__slider .slick-list,
.hero__slider .slick-track,
.hero__slide { height: var(--hero-h); }
.hero__slide { position: relative; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.04) 32%, rgba(0,0,0,.22) 100%);
}
.hero__inner { position: relative; height: 100%; padding-top: 335px; }
.hero__copy { color: var(--c-text-invert); }
.hero__title { font-family: var(--ff-display); font-weight: 400; font-size: var(--fs-display); line-height: var(--lh-display); margin-left: 38.67%; }
.hero__lead  { margin: -97px 0 0 66.58%; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.hero__desc  { margin: 8px 0 0 66.92%; }

/* slick dots：Figma 60 × 3px 短線，y=854 靠右 */
.hero .slick-dots {
  position: absolute; bottom: 43px; left: 50%; transform: translateX(-50%);
  width: min(100%, var(--canvas)); padding-inline: var(--header-pad);
  display: flex !important; justify-content: flex-end; gap: 6px; z-index: 5;
}
.hero .slick-dots li { width: 60px; height: 3px; }
.hero .slick-dots li button {
  display: block; width: 60px; height: 3px; padding: 0;
  text-indent: -9999px; background: var(--c-line);
  transition: background .25s ease;
}
.hero .slick-dots li.slick-active button,
.hero .slick-dots li button:hover { background: var(--c-gold); }

/* =============================================================
   02 常見問題 FAQ（Figma 900–1487）
   四張 281 × 400 的框線卡，內容靠上（Figma 下半是留白）
   ============================================================= */
.faq { padding: 23px 0 50px; }
.faq__title { margin: -27px 0 0 51.75%; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.faq__list { margin-top: 35px; display: flex; gap: 21px; }
.faqcard {
  flex: 1 1 0; min-width: 0;
  aspect-ratio: 281 / 400;
  border: 1px solid var(--c-rule);
  padding: 26px 20px 0;
  overflow: hidden;
}
.faqcard__q { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.faqcard__a { margin-top: 17px; }

/* =============================================================
   03 指南本文（Figma 1487–3788）
   左：目錄（左右各一條直線，左線只到目錄結束、右線貫穿整篇）
   右：文章（大標置中、內文靠左，欄寬 808）
   ============================================================= */
.guide { padding: 0 0 116px; }
.guide__inner { display: flex; align-items: stretch; }

.guide__toc { position: relative; flex: 0 0 25.17%; min-width: 0; padding: 21px 20px 0; }
.guide__toc::before {   /* Figma Line 14：左線，只有 444 高 */
  content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 444px; background: var(--c-rule);
}
.guide__toc::after {    /* Figma Line 15：右線，貫穿整篇 */
  content: ''; position: absolute; right: 0; top: 0; width: 1px; height: 100%; background: var(--c-rule);
}
.toc { display: flex; flex-direction: column; gap: 18px; font-size: var(--fs-body); line-height: var(--lh-body); }
.toc a { transition: opacity .25s ease; }
.toc a:hover { opacity: .6; }
.toc__sub { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; padding-left: 22px; }
.toc__sub a { font-size: var(--fs-caption); line-height: var(--lh-caption); opacity: .75; }

.guide__body { flex: 0 0 67.33%; min-width: 0; margin-left: 3.67%; }
.guide__body > * + * { margin-top: 23px; }
.guide__h2 {
  text-align: center; margin-top: 44px;
  font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 500;
}
.guide__body > .guide__h2:first-child { margin-top: 0; }
.guide__h2 .no { margin-right: .12em; font-family: var(--ff-display); }
.guide__h3 { font-size: var(--fs-bodyb); line-height: var(--lh-body); font-weight: 600; }
.guide__h3 + p { margin-top: 0; }
.guide__tip { margin-top: 18px; }
.guide__list { display: flex; flex-direction: column; }
.guide__list li { position: relative; padding-left: 16px; }
.guide__list li::before { content: '・'; position: absolute; left: -2px; }
.guide__fig { margin-top: 5px; width: 102.97%; margin-left: -1.485%; aspect-ratio: 832 / 327; }
.guide__cta { display: flex; gap: 18px; }

/* =============================================================
   04 推薦鞋款（Figma 3873–5259）
   五張 400 × 643 的卡（圖 440 + 資訊面板 203），一列三張
   ============================================================= */
.picks { padding: 50px 0 50px;background:var(--c-surface); }
.picks__head { display: flex; align-items: flex-start; }
.picks__head .sec-label { flex: 0 0 24.75%; min-width: 0; }
.picks__note { margin-top: 16px; }
.picks__list { margin-top: 23px; display: flex; flex-wrap: wrap; gap: 23px 8px; }
.pick { flex: 0 0 calc((100% - 16px) / 3); min-width: 0;background:#FFF; }
.pick__fig { width: 100%; aspect-ratio: 400 / 440; }
.pick__info {  padding: 14px 11.1% 17px; }
.pick__info .tag { margin-left: -1.7%; }
.pick__name { margin-top: 9px; font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 600; }
.pick__spec { font-size: var(--fs-bodyb); line-height: var(--lh-bodyb); }
.pick__desc { margin-top: 7px; min-height: 48px; font-size: var(--fs-caption); line-height: 24px; }
.pick__more {
  display: block; margin-top: 4px; padding-top: 10px;
  border-top: 1px solid var(--c-rule);
  font-size: var(--fs-small); line-height: var(--lh-small);
  transition: opacity .25s ease;
}
.pick__more:hover { opacity: .6; }

/* =============================================================
   05 從情境開始挑（Figma 5309–5967）
   滿版輪播，一格 294 × 440（1440 時約 4.9 格）
   ============================================================= */
.scenes { padding: 0 0 35px; background:var(--c-surface);}
.scenes__slider { margin-top: 25px; }
.scenes__slider .slick-slide { padding-right: 1px; }
.scene__fig { width: 100%; aspect-ratio: 294 / 440; }

.scenes__ctrl { margin-top: 25px; min-height: 79px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.progress { flex: 0 1 316px; height: 1px; background: var(--c-rule); position: relative; }
.progress__bar { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--c-gold); transition: left .35s ease, width .35s ease; }
.arrow {
  width: 44px; height: 44px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-rule); border-radius: 50%;
  transition: background .25s ease, color .25s ease;
}
.arrow:hover { background: var(--c-text); color: #fff; }
.scenes__ctrl .btn { margin-left: 12px; }

/* =============================================================
   06 延伸閱讀（Figma 5967–7370，底色 #efe7dc，內容帶 1250）
   ============================================================= */
.related { background: #FFF; padding: 30px 0 50px; }
.related__head { display: flex; align-items: flex-start; }
.related__head .sec-label { flex: 0 0 25.76%; min-width: 0; }
.related__note { margin-top: 13px; font-size:1.5rem;}

.related__list { margin-top: 41px; display: flex; gap: 25px; }
.relcard { flex: 1 1 0; min-width: 0; }
.relcard__title { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.relcard__fig { width: 100%; aspect-ratio: 1 / 1; }
.relcard .tag { margin-top: 17px; }
.relcard__desc { margin-top: 9px; }

.pager {
  margin-top: 30px; min-height: 68px;margin-bottom:30px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px 40px; background: #fff;
  font-size: var(--fs-caption); line-height: var(--lh-caption);
    background-color:var(--c-brand2);
}
.pager a { transition: opacity .25s ease; }
.pager a:hover { opacity: .6; }
.pager__next { text-align: right; }

/* =============================================================
   07 WHAT'S NEXT（Figma 6989–7370，接續同一塊底色）
   ============================================================= */
.next { background: var(--c-surface); padding: 199px 0 106px; }
.next__inner { text-align: center; }
.next__lead { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.next__quote { margin-top: 15px; }
.next__btns { margin-top: 15px; display: flex; justify-content: center; gap: 18px; }

/* =============================================================
   FOOTER（Figma 7370–7628）
   ============================================================= */
.site-footer { background: var(--c-text); color: var(--c-text-invert); }
.footer__inner {
  max-width: 1158px; margin-inline: auto;
  padding: 75px 20px 40px;
  display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 28px 0;
  min-height: 258px;
}
.footer__brand { flex: 0 1 152px; min-width: 0; display: flex; flex-direction: column; line-height: 1; }
.footer__brand .brand__main { font-size: 28px; }
.footer__brand .brand__sub  { font-size: 8px; margin-top: 7px; letter-spacing: .14em; text-align: left; }
.footer__col { flex: 0 1 219px; min-width: 0; padding-right: 24px; }
.footer__col--social { flex-basis: 165px; }
.footer__col--last   { flex: 1 1 104px; min-width: 0; padding-right: 0; }
.footer__list { font-size: var(--fs-caption); line-height: var(--lh-caption); }
.footer__list li { position: relative; padding-left: 14px; }
.footer__list li::before { content: '・'; position: absolute; left: -2px; color: rgba(255,255,255,.75); }
.footer__list a { transition: opacity .25s ease; }
.footer__list a:hover { opacity: .65; }
.footer__list--plain li::before { content: none; }
.footer__list--hours { margin-top: 22px; }
.footer__social { display: flex; gap: 48px; margin-top: 60px; }
.footer__social svg { width: 28px; height: 28px; }

/* =============================================================
   ★ 唯一的斷點：1024px
   ============================================================= */
@media (max-width: 1023.98px) {
  :root {
    --header-pad: 20px;
    --fs-display: 40px;  --lh-display: 1.2;
    --fs-titleb:  24px;  --lh-titleb: 1.5;
    --fs-h2:      24px;  --lh-h2: 1.5;
    --fs-title:   18px;  --lh-title: 26px;
  }

  /* ---------- Header → 漢堡選單 ---------- */
  .header__inner { padding-top: 18px; align-items: center; }
  .header__inner .brand { margin-top: 0; }
  .brand__main { font-size: 32px; }
  .brand__sub  { font-size: 10px; margin-top: 5px; }


  .nav {
    position: absolute; inset: 100% 0 auto 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px;
    color: var(--c-text);
    background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .site-header.is-open .nav { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: 12px 0; border-bottom: 1px solid rgba(33,33,33,.08); }
  .nav .btn--gold { margin-top: 16px; align-self: flex-start; }

  /* ---------- 01 Hero ---------- */
  .hero,
  .hero__slider,
  .hero__slider .slick-list,
  .hero__slider .slick-track,
  .hero__slide { height: auto; }
  .hero__inner { min-height: 560px; padding: 148px 0 90px; }
  .hero__title { margin-left: 0; }
  .hero__lead  { margin: 20px 0 0; }
  .hero__desc  { margin: 12px 0 0; }
  .hero .slick-dots { bottom: 26px; justify-content: flex-start; padding-inline: 20px; }
  .hero .slick-dots li, .hero .slick-dots li button { width: 36px; }

  /* ---------- 02 FAQ ---------- */
  .faq { padding: 28px 0 40px; }
  .faq__title { margin: 8px 0 0; }
  .faq__list { margin-top: 24px; flex-direction: column; gap: 16px; }
  .faqcard { flex: 0 0 auto; width: 100%; aspect-ratio: auto; padding: 24px 20px; }

  /* ---------- 03 指南本文 ---------- */
  .guide { padding-bottom: 48px; }
  .guide__inner { flex-direction: column; }
  .guide__toc,
  .guide__body { flex: 0 0 auto; width: 100%; margin: 0; }
  .guide__toc { padding: 20px 0 20px 16px; border-left: 1px solid var(--c-rule); }
  .guide__toc::before,
  .guide__toc::after { content: none; }
  .toc { gap: 12px; }
  .toc__sub { gap: 12px; margin-top: 12px; }
  .guide__body { margin-top: 32px; }
  .guide__h2 { text-align: left; margin-top: 36px; }
  .guide__fig { width: 100%; margin-left: 0; }
  .guide__cta { flex-wrap: wrap; gap: 12px; }

  /* ---------- 04 推薦鞋款 ---------- */
  .picks { padding-bottom: 40px; }
  .picks__head { flex-direction: column; }
  .picks__head .sec-label { flex: 0 0 auto; width: 100%; }
  .picks__note { margin-top: 0; }
  .picks__list { margin-top: 20px; flex-direction: column; gap: 32px; }
  .pick { flex: 0 0 auto; width: 100%; }
  .pick__fig { max-height: 460px; }
  .pick__info { padding: 20px; }
  .pick__desc { min-height: 0; }
  .pick__info .tag { margin-left: 0; }

  /* ---------- 05 情境輪播 ---------- */
  .scenes { padding-bottom: 32px; }
  .scenes__slider { margin-top: 20px; }
  .scenes__ctrl { margin-top: 20px; min-height: 0; justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
  .progress { flex: 1 1 100%; order: 3; }
  .scenes__ctrl .btn { margin-left: 0; }
  .arrow { width: 40px; height: 40px; }

  /* ---------- 06 延伸閱讀 ---------- */
  .related { padding-top: 28px; }
  .related__head { flex-direction: column; }
  .related__head .sec-label { flex: 0 0 auto; width: 100%; }
  .related__note { margin-top: 0; }
  .related__list { margin-top: 24px; flex-direction: column; gap: 36px; }
  .relcard { flex: 0 0 auto; width: 100%; }
  .pager { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
  .pager__next { text-align: left; }

  /* ---------- 07 What's next ---------- */
  .next { padding: 56px 0 56px; }
  .next__inner { text-align: left; }
  .next__btns { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }

  /* ---------- Footer ---------- */
  .footer__inner { flex-direction: column; gap: 26px; padding: 48px 20px 40px; min-height: 0; }
  .footer__inner > * { flex: 0 0 auto; width: auto; }
  .footer__col { padding-right: 0; }
  .footer__social { margin-top: 24px; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
