/* ============================================================
   裏物 LIWU HOME COLLECTION — 品牌樣式表
   風格依據：安靜、極簡、輕奢；無彩度中性灰階（R=G=B，無暖調）＋白＋黑；
   字距極寬；細字體；情境攝影為主角；價格用白/炭灰，不用紅（紅僅限 LIVE）。
   ============================================================ */

:root {
  /* 固定頁首實際高度（含上方留白）：內容 padding 與錨點捲動都以此為準，手機另有數值 */
  --header-height: 96px;
  --white: #FFFFFF;
  --offwhite: #FAFAFA;
  --brand-grey: #808080;
  --brand-grey-dark: #6B6B6B;
  --text-mid: #8A8A8A;
  --text-charcoal: #2E2E2E;
  --line: #E9E9E9;
  /* 佔位照片色階：純無彩度灰階，R=G=B，完全去除暖調 */
  --grey-1: #F0F0F0;
  --grey-2: #DBDBDB;
  --grey-3: #BEBEBE;
  --grey-4: #979797;
  --serif: 'Noto Serif TC', serif;
  --sans: 'Noto Sans TC', sans-serif;
  --wide: 'Jost', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text-charcoal);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- placeholder image block ----------------
   拿掉真實照片前的暫代視覺：暖中性灰底 + 細斜紋，維持品牌無彩度質感。
   之後把 <div class="ph"> 換成 <img src="..."> 即可。
------------------------------------------------------------- */
.ph {
  position: relative;
  background-color: var(--grey-2);
  background-image: repeating-linear-gradient(135deg, rgba(53,53,53,0.05) 0 1px, transparent 1px 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-mid);
  font-family: var(--wide);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 12px;
  border-radius: 16px;
}
/* 滿版出血區塊（主視覺）維持直角，不套用圓角 */
.hero-full .ph { border-radius: 0; }
.ph.tone-a { background-color: var(--grey-1); }
.ph.tone-b { background-color: var(--grey-2); }
.ph.tone-c { background-color: var(--grey-3); color: rgba(53,53,53,0.6); }
.ph.tone-d { background-color: var(--grey-4); color: rgba(255,255,255,0.85); }

.ratio-45 { aspect-ratio: 4/5; }
.ratio-43 { aspect-ratio: 4/3; }
.ratio-169 { aspect-ratio: 16/9; }
.ratio-1610 { aspect-ratio: 16/10; }
.ratio-11 { aspect-ratio: 1/1; }
.ratio-1611 { aspect-ratio: 16/11; }

/* ---------------- header ----------------
   整條橢圓形浮動導覽列（參考 DARION）：白色膠囊、陰影浮在畫面上方，
   logo 放大，選單項目 hover 呈橢圓底色。
------------------------------------------- */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 24px 0;
  background: transparent;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 0 28px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 34px rgba(26,26,26,0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 32px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--text-charcoal);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
nav.main-nav a:hover { background: var(--grey-1); color: var(--brand-grey-dark); }

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--text-charcoal);
  border: 1px solid var(--text-charcoal);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--white);
  white-space: nowrap;
  transition: background .25s ease, color .25s ease;
}
.header-cta:hover { background: var(--brand-grey-dark); border-color: var(--brand-grey-dark); }

.nav-toggle {
  display: none;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  font-family: var(--wide);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-charcoal);
}

@media (max-width: 860px) {
  header.site-header { padding: 14px 16px 0; }
  .header-inner { padding: 0 10px 0 20px; height: 60px; }
  .logo-link img { height: 26px; }
  nav.main-nav {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(26,26,26,0.14);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    width: 100%;
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  nav.main-nav a:last-child { border-bottom: none; }
  nav.main-nav a:hover { background: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { padding: 8px 14px; font-size: 12px; }
  .main-nav .nav-cta-mobile { display: block; }
}
.main-nav .nav-cta-mobile { display: none; }

/* ---------------- hero ---------------- */
.hero {
  padding: 72px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: end;
}
/* nendo 風：主視覺照片往右邊出血到視窗邊緣，更有戲劇感 */
@media (min-width: 1241px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero-grid > .ph {
    margin-right: calc(-1 * ((100vw - 1240px) / 2) - 32px);
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--wide);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--brand-grey-dark);
}
.eyebrow .bar { width: 26px; height: 1px; background: var(--brand-grey-dark); }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.hero p.lead {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.95;
  color: #5c5c5c;
  font-weight: 300;
  margin: 0 0 36px;
}
.btn-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.btn-dark {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  background: var(--text-charcoal);
  color: var(--white);
  font-size: 14.5px;
  letter-spacing: 0.1em;
  transition: background .3s ease;
}
.btn-dark:hover { background: var(--brand-grey-dark); }
.btn-line {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  background: #4A4A4A;
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.btn-line:hover { background: #353535; }
.btn-outline {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  border: 1px solid var(--text-charcoal);
  color: var(--text-charcoal);
  font-size: 14.5px;
  letter-spacing: 0.1em;
}
.link-underline {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-charcoal);
  border-bottom: 1px solid var(--text-charcoal);
  padding-bottom: 3px;
  white-space: nowrap;
}
.link-underline.light { color: var(--white); border-bottom-color: rgba(255,255,255,0.85); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  h1 { font-size: 36px; }
}

/* ---------------- trust / feature row（DARION 風信任列，黑底白字） ---------------- */
.trust-band { background: var(--text-charcoal); }
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.trust-item .icon {
  flex: none;
  width: 26px;
  height: 26px;
  color: rgba(246,246,246,0.85);
}
.trust-item .icon svg { width: 100%; height: 100%; }
.trust-item .text-en { display: none; }
.trust-item .text-zh {
  display: block;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: rgba(246,246,246,0.88);
  white-space: nowrap;
}
@media (max-width: 860px) {
  .trust-row { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .trust-item { justify-content: flex-start; }
}
@media (max-width: 540px) {
  .trust-row { grid-template-columns: 1fr; }
}

/* ---------------- full-bleed overlay hero（DARION 風：圖上疊字＋深色漸層） ---------------- */
.hero-full { position: relative; overflow: hidden; }
.hero-full .ph {
  width: 100%;
  aspect-ratio: 21/9;
  margin: 0;
}
@media (max-width: 860px) {
  .hero-full { height: 82vh; min-height: 520px; }
  .hero-full > img,
  .hero-full .ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    margin: 0;
  }
}
.hero-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.62) 0%, rgba(20,20,20,0.22) 44%, rgba(20,20,20,0) 70%);
  pointer-events: none;
}
.hero-full-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 32px 52px;
}
.hero-full-content .inner { max-width: 1240px; margin: 0 auto; }
.hero-full-content .eyebrow { color: rgba(246,246,246,0.8); }
.hero-full-content .eyebrow .bar { background: rgba(246,246,246,0.8); }
.hero-full-content h1 { color: var(--white); }
.hero-full-content p.lead { color: rgba(246,246,246,0.85); }
@media (max-width: 860px) {
  .hero-full-content { padding: 0 22px 42px; }
  .hero-full-content .eyebrow { margin-bottom: 16px; font-size: 11px; letter-spacing: 0.18em; }
  .hero-full-content h1 { font-size: 33px; line-height: 1.34; margin-bottom: 16px; }
  .hero-full-content p.lead { font-size: 14.5px; line-height: 1.85; max-width: 100%; margin-bottom: 26px; }
  .hero-full-content .btn-row { gap: 20px; }
}

/* ---------------- editorial split section（大圖＋文字，propro/DARION 風） ---------------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.editorial .content { max-width: 420px; }
.editorial .eyebrow-sm {
  display: block;
  font-family: var(--wide);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-mid);
  margin-bottom: 18px;
}
.editorial h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
  color: var(--text-charcoal);
}
.editorial p {
  font-size: 15px;
  line-height: 1.9;
  color: #6e6e6e;
  font-weight: 300;
  margin: 0 0 30px;
}
@media (max-width: 860px) {
  .editorial { grid-template-columns: 1fr; gap: 32px; }
  .editorial .content { max-width: none; }
}

/* ---------------- pill buttons（黑色圓角膠囊，DARION 風） ---------------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--text-charcoal);
  color: var(--white);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  transition: background .25s ease;
}
.btn-pill:hover { background: var(--brand-grey-dark); }
.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-charcoal);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.btn-pill-outline:hover { border-color: var(--text-charcoal); }
.btn-pill-outline.on-dark { border-color: rgba(246,246,246,0.4); color: var(--offwhite); }
.btn-pill-outline.on-dark:hover { border-color: var(--white); color: var(--white); }

/* ---------------- 深色版 band（Bestseller 風） ---------------- */
.band-dark .tag { color: rgba(246,246,246,0.55); }
.band-dark .section-head p { color: rgba(246,246,246,0.65); }
.band-dark .link-underline { color: var(--offwhite); border-color: var(--offwhite); }
.band-dark .prod-card h4 { color: var(--offwhite); }
.band-dark .prod-card .price,
.band-dark .prod-card .cat-label { color: rgba(246,246,246,0.55); }

/* ---------------- section headings ---------------- */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  margin: 14px 0 0;
  line-height: 1.35;
}
.section-head p {
  max-width: 440px;
  font-size: 15px;
  line-height: 1.9;
  color: #6e6e6e;
  font-weight: 300;
  margin: 12px 0 0;
}
.tag {
  font-family: var(--wide);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--brand-grey-dark);
}

.band { background: var(--grey-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: #4A4A4A; color: var(--offwhite); border-top: none; border-bottom: none; }

/* ---------------- grids ---------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-4.tiles { gap: 3px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

@media (max-width: 860px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}

/* ---------------- category poster tiles (MUJI-style 圖上疊字) ---------------- */
.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}
.cat-card .ph { margin-bottom: 0; border-radius: 0; }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(53,53,53,0.62) 0%, rgba(53,53,53,0.08) 45%, rgba(53,53,53,0) 62%);
  pointer-events: none;
  transition: background .3s ease;
}
.cat-card:hover::after { background: linear-gradient(to top, rgba(53,53,53,0.72) 0%, rgba(53,53,53,0.12) 45%, rgba(53,53,53,0) 62%); }
.cat-card .en {
  position: absolute;
  left: 20px;
  bottom: 52px;
  z-index: 2;
  font-family: var(--wide);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.78);
  display: block;
  margin: 0;
}
.cat-card .name {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: 0.14em;
  color: var(--white);
}

/* ---------------- catalog product grid (propro 風：無框、簡潔) ---------------- */
/* hidden 屬性一律不顯示——任何 display 規則都不得把 hidden 的元素撐出來 */
[hidden] { display: none !important; }

/* 錨點捲動不被固定頁首蓋住 */
main [id], [data-prod-room], .subcat-head { scroll-margin-top: calc(var(--header-height) + 20px); }

.prod-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
/* 卡片的「看詳情」是一顆真正的按鈕（不再用 a 包 button） */
.prod-card__detail {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer;
}
.prod-card__detail:focus-visible { outline: 2px solid var(--text-charcoal); outline-offset: 4px; border-radius: 16px; }
.prod-card .info { display: block; padding: 16px 2px 0; }
.prod-card__name {
  display: block;
  font-family: var(--sans); font-weight: 400; font-size: 15.5px;
  letter-spacing: 0.03em; line-height: 1.5; margin: 10px 0 8px; color: var(--text-charcoal);
}
/* 商品卡媒體容器（規格七）：框大小一致；家具在框內的大小／位置由後台構圖設定
   以 CSS 變數控制（--card-fit/--card-x/--card-y/--card-scale/--card-bg，
   手機另有 --card-mx/--card-my/--card-mscale，沒設就沿用桌面）。
   預設 cover 滿版、無背景、無 padding——維持官網原本自然的商品卡。 */
.product-card__media {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; border-radius: 16px;
  background: var(--card-bg, transparent);
}
.product-card__image {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  object-fit: var(--card-fit, cover);
  object-position: calc(var(--card-x, 50) * 1%) calc(var(--card-y, 50) * 1%);
  transform: scale(var(--card-scale, 1));
  transform-origin: calc(var(--card-x, 50) * 1%) calc(var(--card-y, 50) * 1%);
  transition: opacity 0.25s ease;
}
@media (max-width: 767px) {
  .product-card__image {
    object-position: calc(var(--card-mx, var(--card-x, 50)) * 1%) calc(var(--card-my, var(--card-y, 50)) * 1%);
    transform: scale(var(--card-mscale, var(--card-scale, 1)));
    transform-origin: calc(var(--card-mx, var(--card-x, 50)) * 1%) calc(var(--card-my, var(--card-y, 50)) * 1%);
  }
}
.prod-card .cat-label {
  font-family: var(--wide);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-mid);
}
.prod-card h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15.5px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 10px 0 8px;
  color: var(--text-charcoal);
}
.prod-card .price {
  font-size: 13.5px;
  color: var(--text-mid);
  letter-spacing: 0.05em;
}
.prod-card { cursor: pointer; }
.prod-card img { transition: opacity 0.25s ease; }
.prod-card:hover img { opacity: 0.88; }

/* 房間內的子分類分組 */
[data-prod-room] .grid-4 { margin-bottom: 46px; }
[data-prod-room] .grid-4:last-child { margin-bottom: 0; }
.subcat-head { margin: 6px 0 20px; }
.subcat-en {
  font-family: var(--wide); font-size: 11px;
  letter-spacing: 0.16em; color: var(--text-mid); text-transform: uppercase;
}
.subcat-zh {
  font-family: var(--serif); font-weight: 500; font-size: 19px;
  letter-spacing: 0.03em; color: var(--text-charcoal); margin: 6px 0 0;
}

/* ---------------- 商品詳情視窗（modal / lightbox） ---------------- */
.prod-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.prod-modal[hidden] { display: none; }
.prod-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(30, 30, 30, 0.55);
  backdrop-filter: blur(2px);
}
.prod-modal__panel {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  width: min(920px, 100vw - 40px); max-height: 90dvh; min-height: 0;
  background: var(--white); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.prod-modal__x {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--text-charcoal);
  font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.prod-modal__x:hover { background: #fff; }
/* 詳情主圖（規格七）：完整顯示、置中；只有 data-fit="cover"（後台明確選情境裁切）才裁 */
.prod-modal__media {
  position: relative; background: #f7f5f1;
  display: grid; place-items: center; overflow: hidden; min-width: 0; min-height: 0;
}
.prod-modal__img {
  display: block; width: 100%; height: 100%; max-width: 100%; max-height: 90dvh;
  object-fit: var(--detail-fit, contain);
  object-position: calc(var(--detail-x, 50) * 1%) calc(var(--detail-y, 50) * 1%);
  transform: scale(var(--detail-scale, 1));
  transform-origin: calc(var(--detail-x, 50) * 1%) calc(var(--detail-y, 50) * 1%);
  padding: clamp(12px, 2vw, 32px);
}
.prod-modal__media[style*="--detail-fit:cover"] .prod-modal__img { padding: 0; }
.prod-modal__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.82); color: var(--text-charcoal);
  font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.prod-modal__nav:hover { background: #fff; }
.prod-modal__nav.prev { left: 12px; }
.prod-modal__nav.next { right: 12px; }
.prod-modal__dots {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2;
  display: flex; gap: 6px; justify-content: center;
}
.prod-modal__dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.prod-modal__dots span.on { background: #fff; }
.prod-modal__body {
  padding: 44px 38px 38px; overflow-y: auto;
  display: flex; flex-direction: column;
}
.prod-modal__title {
  font-family: var(--serif); font-weight: 500; font-size: 24px;
  letter-spacing: 0.02em; color: var(--text-charcoal);
  margin: 10px 0 6px;
}
.prod-modal__price {
  font-family: var(--wide); font-size: 18px; letter-spacing: 0.04em;
  color: var(--text-charcoal); margin-bottom: 4px;
}
/* 尺寸選擇 */
.prod-modal__sizes { margin: 4px 0 16px; }
.prod-modal__sizes[hidden] { display: none; }
.prod-modal__sizes-label {
  font-family: var(--wide); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-mid); margin-bottom: 10px;
}
.prod-modal__size-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size-opt { position: relative; display: block; margin: 0; cursor: pointer; }
.size-opt input {
  position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0;
  top: 12px; left: 12px; /* 保留在視窗內，維持鍵盤與螢幕閱讀器可及 */
}
.size-opt__inner {
  display: block; min-height: 44px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.size-opt__label {
  display: block; font-size: 14.5px; font-weight: 500;
  color: var(--text-charcoal); letter-spacing: 0.02em; line-height: 1.35;
}
.size-opt__price {
  display: block; margin-top: 3px; font-family: var(--wide);
  font-size: 13px; letter-spacing: 0.03em; color: var(--brand-grey-dark);
}
.size-opt__note {
  display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.5;
  color: var(--text-mid); font-weight: 300;
}
.size-opt input:checked + .size-opt__inner {
  border-color: var(--text-charcoal);
  box-shadow: inset 0 0 0 1px var(--text-charcoal);
  background: #fafafa;
}
.size-opt input:focus-visible + .size-opt__inner {
  outline: 2px solid var(--brand-grey-dark); outline-offset: 2px;
}
.size-opt--custom { grid-column: 1 / -1; }
.prod-modal__price-note {
  font-size: 11.5px; line-height: 1.6; color: var(--text-mid);
  font-weight: 300; letter-spacing: 0.02em; margin: 0 0 16px;
}
.prod-modal__price-note[hidden] { display: none; }
/* 已複製提示（浮動於行動列上方） */
.prod-modal__copied {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%);
  z-index: 1100; pointer-events: none; margin: 0;
  background: var(--text-charcoal); color: #fff;
  font-size: 12.5px; letter-spacing: 0.03em; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.prod-modal__copied[hidden] { display: none; }
@media (max-width: 720px) {
  .prod-modal__copied { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
.prod-modal__specs { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.prod-modal__specs th,
.prod-modal__specs td {
  text-align: left; vertical-align: top;
  padding: 9px 0; font-size: 13.5px; font-weight: 400;
  border-bottom: 1px solid #eee; line-height: 1.7;
}
.prod-modal__specs th {
  width: 34%; color: var(--text-mid);
  font-family: var(--wide); letter-spacing: 0.04em;
}
.prod-modal__specs td { color: var(--text-charcoal); }
.prod-modal__desc {
  font-size: 14px; line-height: 1.9; color: var(--brand-grey-dark);
  font-weight: 300; margin: 0 0 24px;
}
/* 一句話賣點 */
.prod-modal__headline {
  font-family: var(--serif); font-size: 16px; line-height: 1.7;
  color: var(--brand-grey-dark); font-weight: 400;
  margin: 0 0 16px;
}
/* 特色亮點清單 */
.prod-modal__highlights {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.prod-modal__highlights li {
  position: relative; padding-left: 26px;
  font-size: 13.5px; line-height: 1.65; color: var(--text-charcoal); font-weight: 300;
}
.prod-modal__highlights li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 15px; height: 8px; border-left: 2px solid var(--brand-grey-dark);
  border-bottom: 2px solid var(--brand-grey-dark); transform: rotate(-45deg);
  opacity: 0.7;
}
/* 信任區塊 */
.prod-modal__trust {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  margin: 4px 0 26px; padding: 20px; border-radius: 14px;
  background: #f5f5f5;
}
.prod-modal__trust .trust-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; line-height: 1.55; color: var(--text-mid); font-weight: 300;
}
.prod-modal__trust .trust-ic {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 28px; height: 28px; border: 1px solid #cfcfcf; border-radius: 50%;
  font-family: var(--wide); font-size: 9px; letter-spacing: .05em; line-height: 1;
}
.prod-modal__trust .trust-item b {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-charcoal); margin-bottom: 2px;
}
.prod-modal__fit-title { margin: 4px 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .05em; }
/* 行動按鈕 */
.prod-modal__actions {
  margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.prod-modal__actions .btn-line { width: fit-content; }
.prod-modal__cta { align-self: flex-start; }
@media (max-width: 720px) {
  .prod-modal__actions { align-items: stretch; }
  .prod-modal__actions .btn-dark,
  .prod-modal__actions .btn-line,
  .prod-modal__actions .btn-outline { flex: 1; width: auto; justify-content: center; padding: 0 12px; text-align: center; }
  /* 手機層級：LINE 詢價主按鈕獨佔一列；預約與比較並排第二列，不擠成三個窄鈕 */
  .prod-modal__actions .prod-modal__line { flex: 1 1 100%; }
  .prod-modal__actions .btn-outline,
  .prod-modal__actions .cmp-add { flex: 1 1 calc(50% - 6px); margin-top: 0; min-height: 46px; }
}
@media (max-width: 720px) {
  .prod-modal { padding: 0; }
  .prod-modal__panel {
    grid-template-columns: 1fr; max-height: 100dvh; height: 100dvh;
    width: 100%; border-radius: 0;
    grid-template-rows: auto 1fr;
  }
  .prod-modal__media { height: clamp(260px, 52dvh, 480px); }
  .prod-modal__img { height: 100%; max-height: none; padding: 12px; }
  .prod-modal__body { padding: 22px 20px 106px; }
  .prod-modal__title { font-size: 25px; margin-top: 7px; }
  .prod-modal__price { font-size: 14px; margin-bottom: 14px; }
  .prod-modal__trust { padding: 16px; margin-bottom: 8px; }
  .prod-modal__actions {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 4;
    gap: 10px; margin: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(0,0,0,.08);
  }
  .prod-modal__actions a { height: 50px; }
}

/* ---------------- process steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; }
.step .circle {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(53,53,53,0.10);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--brand-grey-dark);
}
.step .step-en {
  font-family: var(--wide); font-size: 12px; letter-spacing: 0.16em;
  color: var(--brand-grey-dark); margin-bottom: 8px;
}
.step h4 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 0 0 8px; }
.step p { font-size: 13.5px; color: #6e6e6e; font-weight: 300; line-height: 1.8; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------------- contact / visit ---------------- */
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: stretch; }
.visit-grid > *, .grid-2 > *, .editorial > *, .hero-grid > * { min-width: 0; }
.info-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 32px; }
.info-list .row { display: flex; gap: 16px; }
.info-list .label {
  font-family: var(--wide); font-size: 12px; letter-spacing: 0.1em;
  color: var(--text-mid); min-width: 56px; padding-top: 2px;
}
.info-list .val { font-size: 15px; color: var(--text-charcoal); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(26,26,26,0.14);
  background: #EDEBE8;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(0.92) brightness(1.06);
}
/* 極簡黑白示意地圖 */
.map-clean { background: #FCFCFB; }
.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* 品牌資訊標籤（浮在地圖左上，仿參考圖的圓角標籤） */
.map-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 11px 20px 11px 15px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(26,26,26,0.14);
  pointer-events: none;
  max-width: calc(100% - 36px);
}
.map-badge-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #A2917C;
  box-shadow: 0 0 0 4px rgba(162,145,124,0.22);
}
.map-badge .b-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.map-badge strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-charcoal);
  white-space: nowrap;
}
.map-badge .b-text span {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 導航按鈕（右下，仿控制項，品牌深灰） */
.map-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text-charcoal);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(26,26,26,0.24);
  transition: background .25s ease;
}
.map-open:hover { background: #000; }
@media (max-width: 540px) {
  .map-frame { border-radius: 16px; box-shadow: 0 16px 40px rgba(26,26,26,0.13); }
  .map-badge { top: 12px; left: 12px; padding: 8px 15px 8px 11px; gap: 9px; }
  .map-badge strong { font-size: 12px; }
  .map-badge .b-text span { font-size: 11px; }
  .map-open { right: 12px; bottom: 12px; height: 36px; padding: 0 14px; font-size: 12px; }
}

/* ---------------- footer（淺灰底） ---------------- */
footer.site-footer {
  background: #EAEAEA;
  color: var(--text-charcoal);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 64px 0 44px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.footer-grid h5 {
  font-family: var(--wide);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-mid);
  margin: 0 0 16px;
  font-weight: 400;
}
.footer-grid a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: rgba(53,53,53,0.78);
  margin-bottom: 12px;
}
.footer-grid a:hover { color: var(--text-charcoal); }
/* LINE「加入好友」按鈕：還原置中，避免被 .footer-grid a 的 display:block 蓋掉 */
.footer-grid a.btn-line {
  display: inline-flex;
  align-items: center;
  color: #fff;
  margin-bottom: 0;
}
/* 官方 IG 按鈕：與「加入好友」同尺寸的外框弧形按鈕 */
.footer-grid a.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  margin-top: 12px;
  margin-bottom: 0;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #6e6e6e;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-grid a.footer-ig svg { flex: none; }
.footer-grid a.footer-ig:hover { color: var(--text-charcoal); border-color: #c9c9c4; }
.footer-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand-row img { height: 26px; width: auto; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; font-size: 12px; letter-spacing: 0.04em; color: var(--text-mid);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------- generic content page ---------------- */
.page-hero {
  padding: 134px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 42px; margin-bottom: 14px; }
.page-hero p { max-width: 560px; font-size: 15.5px; line-height: 1.9; color: #6e6e6e; font-weight: 300; margin: 0; }
.mobile-only { display: none; }
.catalog-quick-actions { display: flex; gap: 12px; margin-top: 28px; }
.catalog-quick-actions .btn-dark,
.catalog-quick-actions .btn-outline { justify-content: center; }

.prose p { font-size: 15.5px; line-height: 2; color: #5c5c5c; font-weight: 300; margin: 0 0 20px; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 16px; }

.filter-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-row a {
  text-decoration: none;
  font-family: var(--wide);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-charcoal);
  border: 1px solid var(--line);
  padding: 10px 20px;
}
.filter-row a.active { background: var(--text-charcoal); color: var(--white); border-color: var(--text-charcoal); }

/* 手機購物動線：壓低裝飾、放大商品、讓主要行動一直清楚可見 */
@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  :root { --header-height: 74px; }   /* 手機實際頁首高度：10 + 54 + 10 */
  header.site-header { padding: 10px 12px 0; }
  .header-inner { height: 54px; padding: 0 8px 0 16px; box-shadow: 0 7px 24px rgba(26,26,26,.12); }
  .logo-link img { height: 22px; }
  .nav-toggle { height: 38px; padding: 0 15px; }
  nav.main-nav { top: 68px; left: 12px; right: 12px; }

  .hero-full { height: auto; min-height: 690px; }
  .hero-full::after { background: linear-gradient(to top, rgba(20,20,20,.76), rgba(20,20,20,.14) 72%); }
  .hero-full-content { padding: 0 20px 34px; }
  .hero-full-content h1 { font-size: clamp(30px, 9vw, 36px); }
  .hero-full-content p.lead { line-height: 1.75; }
  .hero-full-content .btn-row { gap: 14px; }
  .hero-full-content .btn-dark { flex: 1; justify-content: center; min-width: 150px; }

  .trust-row { grid-template-columns: 1fr 1fr; gap: 0; padding: 10px 0; }
  .trust-item { padding: 12px 4px; gap: 8px; }
  .trust-item .icon { width: 21px; height: 21px; }
  .trust-item .text-zh { font-size: 12px; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 28px; }
  .editorial { gap: 24px; }
  .editorial h2 { font-size: 26px; }
  .footer-grid { padding: 46px 0 32px; gap: 30px; }

  .page-hero { padding: 104px 0 34px; }
  .page-hero h1 { font-size: 32px; line-height: 1.35; margin: 9px 0 12px; }
  .page-hero p { font-size: 14px; line-height: 1.75; }
  .mobile-only { display: initial; }
  .catalog-quick-actions { margin-top: 22px; }
  .catalog-quick-actions > a { flex: 1; height: 48px; padding: 0 12px; font-size: 13px; letter-spacing: .04em; }
  .filter-row {
    position: sticky; top: 72px; z-index: 20; flex-wrap: nowrap;
    margin: -20px -20px 34px; padding: 10px 20px;
    overflow-x: auto; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
  }
  .filter-row a { flex: 1 0 auto; text-align: center; padding: 10px 14px; border-radius: 999px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .prod-card img { border-radius: 12px !important; aspect-ratio: 1/1 !important; }
  .prod-card .info { padding-top: 11px; }
  .prod-card h4 { margin: 6px 0 4px; font-size: 15px; }
  .prod-card .price { font-size: 12.5px; }
  [data-prod-room] .grid-4 { margin-bottom: 38px; }
  .subcat-head { margin-bottom: 15px; }
}

/* ============================================================
   預約體驗頁（book/）
   ============================================================ */
.header-cta-line {
  background: transparent;
  color: var(--text-charcoal);
  border: 1px solid var(--line);
}
.header-cta-line:hover { background: var(--grey-1); border-color: var(--grey-2); color: var(--text-charcoal); }

.book-page { padding: 150px 0 96px; background: #FFFFFF; }
.book-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.book-head .tag {
  display: inline-block;
  font-family: var(--wide);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-mid);
  margin-bottom: 22px;
}
.book-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--text-charcoal);
}
.book-head h1 .sep { color: var(--grey-3); font-weight: 300; margin: 0 4px; }
.book-head p {
  font-size: 15px;
  line-height: 1.9;
  font-weight: 300;
  color: var(--text-mid);
  margin: 0;
}

.book-form {
  max-width: 620px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 48px 40px;
  box-shadow: 0 24px 60px rgba(26,26,26,0.06);
}
.field { margin-bottom: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-charcoal);
  margin-bottom: 12px;
  font-weight: 400;
}
.field label b { color: #C0392B; font-weight: 400; }
.field label .opt { color: var(--grey-3); font-size: 12px; letter-spacing: 0.02em; }

.book-form input[type="text"],
.book-form input[type="tel"],
.book-form input[type="date"],
.book-form select,
.book-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-charcoal);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 2px;
  transition: border-color .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.book-form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.7;
}
.book-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23888' stroke-width='1.4'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.book-form input::placeholder,
.book-form textarea::placeholder { color: var(--grey-3); font-weight: 300; }
.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus { outline: none; border-color: var(--text-charcoal); }
.book-form input:focus-visible,
.book-form select:focus-visible,
.book-form textarea:focus-visible { outline: 2px solid var(--text-charcoal); outline-offset: 2px; }
.book-form [aria-invalid="true"] { border-color: #C0392B; }

.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; padding: 0; }
.chip span {
  display: inline-block;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--brand-grey);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: all .18s ease;
  user-select: none;
}
.chip:hover span { border-color: var(--grey-3); color: var(--text-charcoal); }
.chip input:checked + span {
  background: var(--text-charcoal);
  border-color: var(--text-charcoal);
  color: #fff;
}
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(46,46,46,0.15); }

.book-error {
  color: #C0392B;
  font-size: 13.5px;
  line-height: 1.7;
  margin: 4px 0 20px;
  padding: 12px 16px;
  background: rgba(192,57,43,0.06);
  border-radius: 10px;
}
.book-submit {
  width: 100%;
  height: 56px;
  margin-top: 8px;
  border: none;
  border-radius: 12px;
  background: var(--text-charcoal);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background .25s ease;
}
.book-submit:hover { background: #000; }
.book-submit:disabled { opacity: 0.6; cursor: default; }
.book-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--grey-3);
  font-weight: 300;
  margin: 18px 0 0;
  letter-spacing: 0.03em;
}

/* 成功畫面 */
.book-success[hidden] { display: none; }
.book-success {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(250,250,250,0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.book-success-card {
  text-align: center;
  max-width: 440px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 52px 40px 44px;
  box-shadow: 0 30px 80px rgba(26,26,26,0.12);
  animation: successIn .45s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes successIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.book-success .tick { width: 66px; height: 66px; margin: 0 auto 22px; color: var(--text-charcoal); }
.book-success .tick svg { width: 100%; height: 100%; }
.book-success h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  color: var(--text-charcoal);
}
.book-success p {
  font-size: 14.5px;
  line-height: 1.9;
  font-weight: 300;
  color: var(--text-mid);
  margin: 0 0 28px;
}
.btn-line-lg {
  height: 54px;
  width: 100%;
  justify-content: center;
  border-radius: 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  background: #06C755;
}
.btn-line-lg:hover { background: #05b34c; }
.success-back {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.success-back:hover { color: var(--text-charcoal); border-color: var(--text-charcoal); }

@media (max-width: 640px) {
  .book-page { padding: 120px 0 72px; }
  .book-head { margin-bottom: 40px; }
  .book-head h1 { font-size: 34px; }
  .book-form { padding: 32px 22px 30px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .book-success-card { padding: 42px 26px 34px; }
}

/* ---------------- 環景 hero（拖曳環視） ---------------- */
.hero-pan {
  position: absolute; inset: 0; overflow: hidden;
  cursor: grab; touch-action: pan-y;
}
.hero-pan:active { cursor: grabbing; }
.hero-pan img {
  position: absolute; top: 0; left: 0;
  max-width: none; will-change: transform;
  user-select: none; -webkit-user-drag: none;
}
.hero-pan-hint {
  position: absolute; right: 28px; bottom: 28px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(26,26,26,0.55); color: rgba(255,255,255,0.92);
  font-family: var(--sans); font-size: 12.5px; font-weight: 300; letter-spacing: 2px;
  backdrop-filter: blur(6px); pointer-events: none;
  animation: hintPulse 2.6s ease-in-out infinite;
  transition: opacity .5s;
}
.hero-pan-hint.off { opacity: 0; }
@keyframes hintPulse { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
.hero-full-content { pointer-events: none; }
.hero-full-content a { pointer-events: auto; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-list details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 17.5px; font-weight: 500; color: var(--text-charcoal);
  padding: 18px 4px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--wide); font-size: 20px; color: var(--text-mid); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .a {
  font-size: 14.5px; line-height: 1.95; color: #5c5c5c; font-weight: 300;
  padding: 0 4px 20px; max-width: 660px;
}

/* ---------------- SEO 文字帶 ---------------- */
.seo-band { border-top: 1px solid var(--line); background: var(--offwhite); }
.seo-band .cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 56px 0;
}
.seo-band h3 {
  font-family: var(--serif); font-size: 15.5px; font-weight: 500; margin: 0 0 12px; color: var(--text-charcoal);
}
.seo-band p { font-size: 13px; line-height: 1.95; color: #6e6e6e; font-weight: 300; margin: 0; }
@media (max-width: 860px) {
  .seo-band .cols { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .hero-pan-hint { right: 16px; bottom: 18px; }
}

/* 環景 hero：外層固定高度（原本由 in-flow 圖片撐高，改為絕對定位環景後需自帶高度） */
.hero-full { height: 92vh; min-height: 560px; }

/* Pannellum 環景：融入品牌（隱藏預設載入框樣式、深色底） */
#heroPan .pnlm-container { background: #2e2e2e; }
#heroPan .pnlm-load-box { background: rgba(46,46,46,0.6); border-radius: 12px; color: #f6f6f6; font-family: 'Jost','Noto Sans TC',sans-serif; }
#heroPan .pnlm-load-box p { margin: 12px; font-size: 13px; letter-spacing: 2px; }
#heroPan .pnlm-lbar { border-color: rgba(246,246,246,0.5); }
#heroPan .pnlm-lbar-fill { background: #f6f6f6; }

/* ---------------- 案例內頁 ---------------- */
.case-page { padding: 140px 0 80px; }
.case-crumb { font-size: 12.5px; color: #8a8a8a; font-weight: 300; margin-bottom: 26px; letter-spacing: 1px; }
.case-crumb a { text-decoration: none; color: #8a8a8a; }
.case-crumb a:hover { color: #2e2e2e; }
.case-crumb span { margin: 0 8px; color: #c9c9c9; }
.case-crumb em { font-style: normal; color: #2e2e2e; }
.case-page h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 14px 0 6px; color: var(--text-charcoal); }
.case-sub { font-family: var(--serif); font-size: 17px; color: #8a8a8a; font-weight: 400; margin: 0 0 26px; }
.case-p { font-size: 15px; line-height: 2.0; color: #4c4c4c; font-weight: 300; max-width: 720px; margin: 0 0 18px; }
.case-gallery { columns: 2; column-gap: 18px; margin: 38px 0 30px; }
.case-gallery img { width: 100%; border-radius: 14px; margin-bottom: 18px; break-inside: avoid; display: block; }
.case-cta-text { font-size: 14.5px; color: #5c5c5c; font-weight: 300; max-width: 720px; line-height: 1.9; }
.case-more { margin-top: 70px; border-top: 1px solid var(--line); padding-top: 40px; }
.case-more h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 24px; }
@media (max-width: 860px) {
  .case-page { padding: 110px 0 60px; }
  .case-gallery { columns: 1; }
  .case-more .grid-3 { grid-template-columns: 1fr; }
}

/* ---------------- 內容頁（總覽/專欄/預約） ---------------- */
.ct-h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 44px 0 16px; color: var(--text-charcoal); }
.pp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pp-card { background: var(--offwhite); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.pp-card h3 { font-family: var(--serif); font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.pp-card p { font-size: 13.5px; line-height: 1.9; color: #5c5c5c; font-weight: 300; margin: 0; }
.ct-guide { max-width: 720px; padding-left: 20px; margin: 0; }
.ct-guide li { font-size: 14.5px; line-height: 2.1; color: #4c4c4c; font-weight: 300; }
.bk-form { max-width: 720px; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 16px; }
.bk-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #5c5c5c; font-weight: 400; }
.bk-form input, .bk-form select, .bk-form textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 14.5px;
  font-family: var(--sans); color: var(--text-charcoal); background: #fff; outline: none;
}
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus { border-color: var(--brand-grey-dark); }
.bk-full { margin-bottom: 20px; }
@media (max-width: 860px) {
  .pp-grid { grid-template-columns: 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
}
