@charset "utf-8";
/* =============================================================
   ReSarah — Desktop A04「婚鞋租借 Rental」切版
   來源：Figma Untitled → Desktop - A04（node 782:835，1440 × 10276）

   規則（與 a01 / a02 / custom-made-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. 本檔自成一份，不依賴 common.css / a01.css / a02.css / custom-made-shoes.css
   ============================================================= */

/* =============================================================
   Design Tokens（取自 Figma Variables）
   ============================================================= */
:root {
  --fs-price:   clamp(76px, 8.33vw, 120px);
  --lh-price: 1.025;
  --canvas:     1440px;
  --container:  1200px;
  --hero-h:     900px;
}

/* =============================================================
   Reset
   ============================================================= */

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

/* =============================================================
   共用元件
   ============================================================= */

/* Didot 大標 / 巨型襯底字 */

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

/* 內文級距 */
.t-titleb  { font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.t-title   { font-size: var(--fs-title);  line-height: var(--lh-title);  font-weight: 500; }
.t-bodyb   { font-size: var(--fs-bodyb);  line-height: var(--lh-bodyb);  font-weight: 600; }
.t-body    { font-size: var(--fs-body);   line-height: var(--lh-body); }
.t-caption { font-size: var(--fs-caption);line-height: var(--lh-caption); }

/* =============================================================
   01 HERO（Figma 0–900）
   文案是階梯狀：主標 x152 / 中標 x342 / 內文與按鈕 x489
   ============================================================= */
.hero { position: relative; height: var(--hero-h); background: #7c5a4a; }

.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.05) 34%, rgba(0,0,0,.24) 100%);
}
.hero__inner { position: relative; height: 100%; padding-top: 300px; }
.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: 2.67%; }
.hero__lead  { margin: 9px 0 0 18.5%;  font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.hero__desc  { margin: 11px 0 0 30.75%; max-width: 306px; }
.hero__cta   { margin: 8px 0 0 30.75%; display: flex; gap: 18px; }

/* =============================================================
   02 WHY RENT（Figma 900–3350，白底）
   Figma 內容帶 x206–1406；這裡改成置中的 1200 內容欄
   ============================================================= */
.why { padding: 23px 0 103px; }

.why__intro { display: flex; align-items: flex-start; }
.why__display { flex: 0 0 25.6%; margin-top: 24px; }
.why__text    { flex: 0 1 41.8%; min-width: 0; margin: 18px 0 0 11.4%; }
.why__desc    { margin-top: 17px; }

.why__hero { width: 75.83%; margin: 0px 0 0 24.17%; aspect-ratio: 910 / 584; }

.why__when { display: flex; align-items: flex-start; margin-top: 44px; }
.why__when-display { flex: 0 0 24.17%; margin-top: 131px; }
.why__grid { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 27px 20px; }
.why__grid-title { flex: 0 0 auto; width: 83.1%; margin-left: 16.9%; margin-bottom: 17px; }

.scene { flex: 0 0 calc(50% - 10px); aspect-ratio: 1 / 1; }
.scene__cap {
  position: absolute; left: 0; bottom: 0; padding: 16px 20px;
  color: #fff; font-size: var(--fs-bodyb); line-height: var(--lh-bodyb); font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}

/* =============================================================
   03 COLLECTION 中式禮鞋系列（Figma 3350–5103，白底）
   四張款式卡是拼貼版位：桌機用絕對定位，手機自動變單欄
   ============================================================= */
.collection { position: relative; padding: 60px 0 100px;background: var(--c-brand2); }
.collection > .container { position: relative; z-index: 5; }
.collection__display { margin-top: 35px; }
.collection__sub { margin-top: 3px; }

.collection__stage {
  position: relative;
  width: calc(100% - 40px); max-width: 1144px;   /* Figma 拼貼帶 1144 */
  margin: -140px auto 0;            /* 02 號卡的上緣要比「Collection」還高 */
  aspect-ratio: 1144 / 1569;
}
.stylecard { position: absolute; }
.stylecard__top { position: relative; }
.stylecard__fig { width: 100%; }
.stylecard__no {
  position: absolute; left: 3.8%; top: 100%;
  transform: translateY(-49%);
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-display); line-height: var(--lh-display);
}
.stylecard__title {
  margin: 16px 0 0 clamp(85px, 8.54vw, 123px);
  font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500;
}
.stylecard__title .en { font-family: var(--ff-display); font-weight: 400; }

.stylecard--01 { left: 0;      top: 21.22%; width: 46.33%; z-index: 1; }
.stylecard--02 { left: 42.40%; top: 0;      width: 51.31%; z-index: 4; }
.stylecard--03 { left: 15.99%; top: 60.17%; width: 44.14%; z-index: 3; }
.stylecard--04 { left: 65.03%; top: 43.72%; width: 34.97%; z-index: 2; }
.stylecard--01 .stylecard__fig { aspect-ratio: 530 / 436; }
.stylecard--02 .stylecard__fig { aspect-ratio: 587 / 539; }
.stylecard--03 .stylecard__fig { aspect-ratio: 1 / 1; }
.stylecard--04 .stylecard__fig { aspect-ratio: 1 / 1; }

/* =============================================================
   04 RENT FIRST, OWN LATER（Figma 5103–5688，底色 #ead8d8）
   ============================================================= */
.rentfirst {  padding: 0 0 53px; }
.rentfirst__inner { position: relative; padding-top: 83px; }
.rentfirst__display { margin: 0 0 0 20.25%; }
.rentfirst__fig {
  position: absolute; left: 66.37%; top: 26px;
  width: 22.34%; aspect-ratio: 277 / 306;
  overflow: hidden; background: var(--c-ph);
}
.rentfirst__fig img { width: 100%; height: 100%; object-fit: cover; }
.rentfirst__body { margin: 9px 0 0 41%; max-width: 600px; }
.rentfirst__desc { margin-top: 9px; max-width: 418px; }
.rentfirst__body .btn { margin-top: 9px; }

/* =============================================================
   05 THE PLAN 官網預約限定方案（Figma 5688–7028，底色 #efe7dc）
   卡片 808 × 991，所有內容置中疊在裝飾底圖上
   ============================================================= */
.plan { background: var(--c-surface); padding: 71px 0 26px; }
.plan__display { margin-left: 26.75%; }
.plan__kicker  { margin: -14px 0 0 45.83%; }

.plan__card {
  position: relative;
  width: 100%; max-width: 808px; margin: 47px auto 0;
  padding: 72px 20px 55px;
  text-align: center;
}
.plan__frame { position: absolute; inset: 0; z-index: 0; }
.plan__frame img { width: 100%; height:95%; object-fit: cover; }
.plan__body { position: relative; z-index: 1;padding: 30px 0; }
.plan__note  { margin-top: 16px; font-size: var(--fs-bodyb); line-height: var(--lh-bodyb); font-weight: 600; }
.plan__price {
  margin-top: 15px;
  font-family: var(--ff-display); font-weight: 400;
  font-size: 280px; line-height: var(--lh-price);
    text-align: center;
}
.plan__list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.plan__logo { width: 22.8%; margin: 30px auto 0; aspect-ratio: 184 / 71; }
.plan__logo img { width: 100%; height: 100%; object-fit: contain; }
.plan__btn  { margin-top: 38px; }
.plan__fine { margin-top: 9px; font-size: var(--fs-small); line-height: var(--lh-small); }

.plan__foot { margin-top: 35px; }
.plan__foot .btn { margin-left: 19.08%; }

/* =============================================================
   06 HOW IT WORKS 租借流程（Figma 7028–7404，白底）
   ============================================================= */
.howto { padding: 56px 0 79px; }
.howto__sub { margin-top: 0; }
.howto__steps { display: flex; align-items: flex-start; margin-top: 40px; }
.step { position: relative; flex: 1 1 0; min-width: 0; text-align: center; padding-inline: 6px; }
.step__title { font-size: var(--fs-body); line-height: var(--lh-body); }
.step__desc  { margin-top: 17px; font-size: var(--fs-caption); line-height: var(--lh-caption); opacity: .8; }
/* 步驟之間的箭頭：線 + 箭頭尖（Figma 的 _印刷 115 × 24） */
.step:not(:last-child)::before {
  content: ''; position: absolute; top: 14px; left: 76%; width: 48%; height: 1px;
  background: var(--c-rule);
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 11px; left: 124%;
  width: 7px; height: 7px;
  border-top: 1px solid var(--c-rule); border-right: 1px solid var(--c-rule);
  transform: translateX(-7px) rotate(45deg);
}

/* =============================================================
   07 GOOD TO KNOW 租借小提醒（Figma 7404–7908，白底）
   六則：桌機用 flex 直向換行（column wrap）排成 2 欄 × 3 列
   ============================================================= */
.know { padding: 0 0 158px; }
.know__inner { display: flex; align-items: flex-start; }
.know__head { flex: 0 0 39.25%; }
.know__sub  { margin-top: -2px; }

.know__list {
  flex: 0 0 55.58%; min-width: 0; margin-top: 52px;
  display: flex; flex-direction: column; flex-wrap: wrap;
  height: 294px; align-content: flex-start;
}
.know__item { display: flex; align-items: center; gap: 0; width: 50%; height: 98px; }
.know__no {
  flex: 0 0 31.2%;              /* Figma 104 / 333 */
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-display); line-height: 1.07;
}
.know__txt { flex: 1 1 auto; min-width: 0; font-size: var(--fs-title); line-height: var(--lh-title); }

/* =============================================================
   08 BOOKING 預約租借（Figma 7908–8585，白底）
   ============================================================= */
.booking { padding: 0 0 78px; }
.booking__inner { display: flex; align-items: flex-start; }
.booking__head { flex: 0 0 39.25%; }
.booking__sub  { margin-top: 3px; }
.booking__desc { margin-top: 9px; max-width: 244px; }

.booking__form { flex: 0 0 54.08%; min-width: 0; margin-top: 52px; }
.field-row { display: flex; gap: 35px; }
.field-row + .field-row { margin-top: 22px; }
.field {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: baseline; gap: 12px;
  padding-bottom: 42px; border-bottom: 1px solid var(--c-rule);
}
.field--full { flex: 1 1 100%; }
.field__label { flex: 0 0 auto; font-size: var(--fs-body); line-height: var(--lh-body); }
.field__input {
  flex: 1 1 auto; min-width: 0;
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  line-height: var(--lh-body);
}
.field__input::placeholder { color: rgba(33,33,33,.45); }
.field__input:focus { outline: none; }
.field:focus-within { border-bottom-color: var(--c-pink); }
select.field__input { appearance: none; cursor: pointer; }

.btn-submit { display: block; width: 100%; margin-top: 48px; border-radius: 999px; background: var(--c-pink); color: var(--c-text); transition: opacity .25s ease; }
.btn-submit:hover { opacity: .85; }

/* =============================================================
   09 FIRST TIME HERE（Figma 8585–9362 底色 #efe7dc）
   三張卡的下半（標題 + 按鈕）會壓到下一段的白底上 → 用 ::before 畫底色帶
   ============================================================= */
.first { position: relative; padding: 60px 0;    background: var(--c-surface); }
.first::before {
  content: ''; position: absolute; inset: 0px 0 auto 0;
  height: 777px; background: var(--c-surface);
}
.first > .container { position: relative; z-index: 1; }

.first__head { display: flex; align-items: flex-start; }
.first__display { flex: 0 0 20.2%; min-width: 0; white-space: nowrap; }
.first__lead { flex: 0 0 29.2%; margin-top: 105px; }
.first__desc { flex: 0 1 34.8%; min-width: 0; margin-top: 108px; }

.first__cards { width: 75.83%; margin: 28px 0 0 24%; display: flex; gap: 20px; }
.nextcard { flex: 1 1 0; min-width: 0; }
.nextcard__fig { width: 100%; aspect-ratio: 290 / 435; }
.nextcard__title { margin-top: 3px; font-size: var(--fs-titleb); line-height: var(--lh-titleb); font-weight: 500; }
.nextcard .btn { margin-top: 3px; }

/* =============================================================
   10 RENTAL 結語（Figma 9362–10018，白底）
   「Rental」是 300px 巨型襯底字，向左出血 44px
   ============================================================= */
.rental { position: relative; overflow: hidden; padding: 2px 0 47px;background-color: var(--c-brand2); }
.rental__mega { max-width: var(--canvas); margin-inline: auto; }
.rental__mega span {
  display: block; margin-left: -44px;
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-mega); line-height: var(--lh-mega);
  white-space: nowrap;
}
.rental__cta { text-align: center; }
.rental__desc { margin: 15px 0; }
.rental__btns { margin-top: 0; display: flex; justify-content: center; gap: 18px; }

/* =============================================================
   ★ 唯一的斷點：1024px
     ≥ 1024 → 上面的桌機版
     < 1024 → 以下的手機版（全部單欄）
   ============================================================= */
@media (max-width: 1023.98px) {
  :root {
  --fs-price:   56px;
}

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

  

  

  

  
  .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,
  .hero__lead,
  .hero__desc,
  .hero__cta { margin-left: 0; }
  .hero__desc { max-width: none; }
  .hero__cta { flex-wrap: wrap; gap: 12px; margin-top: 22px; }

  

  /* ---------- 02 Why rent ---------- */
  .why { padding: 28px 0 48px; }
  .why__intro { flex-direction: column; }
  .why__display,
  .why__text { flex: 0 0 auto; width: 100%; margin: 0; }
  .why__text { margin-top: 20px; }
  .why__hero { width: 100%; margin: 32px 0 0; }
  .why__when { flex-direction: column; margin-top: 40px; }
  .why__when-display { flex: 0 0 auto; width: 100%; margin: 0 0 20px; }
  .why__grid { width: 100%; gap: 20px; }
  .why__grid-title { margin: 0 0 4px; }
  .scene { flex: 0 0 calc(50% - 10px); }

  /* ---------- 03 Collection ---------- */
  .collection { padding-bottom: 48px; }
  .collection__display { margin-top: 20px; }
  .collection__stage {
    position: static; width: 100%; max-width: calc(var(--container) + 40px);
    margin: 28px auto 0; aspect-ratio: auto;
    display: flex; flex-direction: column; gap: 40px;
    padding-inline: 20px;
  }
  .stylecard { position: static; width: 100%; }
  .stylecard--01 .stylecard__fig,
  .stylecard--02 .stylecard__fig,
  .stylecard--03 .stylecard__fig,
  .stylecard--04 .stylecard__fig { aspect-ratio: 4 / 3; }
  .stylecard__no { left: 0; }
  .stylecard__title { margin-left: 60px; }

  /* ---------- 04 Rent first ---------- */
  .rentfirst { padding: 40px 0 48px; }
  .rentfirst__inner { padding-top: 0; }
  .rentfirst__display { margin: 0; }
  .rentfirst__fig { position: static; width: 60%; margin: 24px 0 0 auto; }
  .rentfirst__body { margin: 24px 0 0; max-width: none; }
  .rentfirst__desc { max-width: none; }

  /* ---------- 05 The plan ---------- */
  .plan { padding: 40px 0 48px; }
  .plan__display { margin-left: 0; }
  .plan__kicker  { margin: 4px 0 0; }
  .plan__card { margin-top: 28px; padding: 40px 20px 40px; }
  .plan__price { margin-top: 40px; font-size: min(30vw, 200px); }   /* 桌機寫死 280px，手機「$1314」會寬到 700px 把整頁撐出去 */
  .plan__list { margin-top: 28px; gap: 10px; }
  .plan__logo { width: 140px; margin-top: 32px; }
  .plan__btn { margin-top: 24px; }
  .plan__foot { margin-top: 28px; }
  .plan__foot .btn { margin-left: 0; }

  /* ---------- 06 How it works ---------- */
  .howto { padding: 40px 0 40px; }
  .howto__steps { flex-direction: column; gap: 20px; margin-top: 24px; }
  .step { text-align: left; padding-inline: 0; }
  .step:not(:last-child)::before,
  .step:not(:last-child)::after { content: none; }
  .step__desc { margin-top: 2px; }

  /* ---------- 07 Good to know ---------- */
  .know { padding-bottom: 48px; }
  .know__inner { flex-direction: column; }
  .know__head, .know__list { flex: 0 0 auto; width: 100%; }
  .know__list { margin-top: 24px; height: auto; flex-wrap: nowrap; }
  .know__item { width: 100%; height: auto; padding: 10px 0; }
  .know__no { flex: 0 0 72px; }

  /* ---------- 08 Booking ---------- */
  .booking { padding-bottom: 48px; }
  .booking__inner { flex-direction: column; }
  .booking__head, .booking__form { flex: 0 0 auto; width: 100%; }
  .booking__desc { max-width: none; }
  .booking__form { margin-top: 28px; }
  .field-row { flex-direction: column; gap: 22px; }
  .field { padding-bottom: 16px; }
  .btn-submit { margin-top: 32px; }

  /* ---------- 09 First time here ---------- */
  .first { padding-top: 48px; }
  .first::before { inset: 0px 0 auto 0; height: 100%; }
  .first__head { flex-direction: column; }
  .first__display,
  .first__lead,
  .first__desc { flex: 0 0 auto; width: 100%; margin: 0; }
  .first__display { white-space: normal; }
  .first__lead { margin-top: 16px; }
  .first__desc { margin-top: 16px; }
  .first__cards { width: 100%; margin: 32px 0 0; flex-direction: column; gap: 36px; }
  .nextcard__fig { max-height: 480px; }

  /* ---------- 10 Rental ---------- */
  .rental { padding: 48px 0 48px; }
  .rental__mega span { margin-left: -8px; }
  .rental__cta { text-align: left; }
  .rental__btns { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }

  

  
}

