/* 18.Woodart product detail page (from demo/product-pages.css) */
#page-product-detail, .phase1-product-detail {
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --v2-gold-grad-h: linear-gradient(90deg, transparent 0%, var(--v2-gold) 20%, var(--v2-oak) 50%, var(--v2-gold-soft) 80%, transparent 100%);
  --v2-gold-grad-h-label: linear-gradient(90deg, transparent 0%, var(--v2-gold-soft) 25%, var(--v2-gold) 55%, var(--v2-oak) 100%);
  --v2-gold-grad-h-left: linear-gradient(90deg, transparent 0%, var(--v2-gold) 35%, var(--v2-oak) 100%);
  --v2-gold-grad-h-right: linear-gradient(90deg, var(--v2-oak) 0%, var(--v2-gold-soft) 55%, transparent 100%);
  --v2-gold-grad-v-taper: linear-gradient(180deg, var(--v2-gold-soft) 0%, var(--v2-gold) 48%, var(--v2-gold) 52%, var(--v2-gold-soft) 100%);
  --v2-gold-mask-v-taper: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

/* 區塊分隔線（漸變金線，同 demo/product-pages.css） */
.pd-gold-line {
  height: 1px;
  background: var(--v2-gold-grad-h);
  margin: 1.35rem 0;
  border: none;
  display: block;
  border-radius: 1px;
}
/* 產品區 ↔ 相關作品：再收窄金線上下留白 */
.pd-related-wrap > .pd-gold-line {
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

/* 標題置中 + 左右金線（分享區等） */
.pd-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1.1rem;
}
.pd-section-title__line {
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
  border: none;
  display: block;
}
.pd-section-title__line--left {
  background: var(--v2-gold-grad-h-left);
  border-radius: 1px;
}
.pd-section-title__line--right {
  background: var(--v2-gold-grad-h-right);
  border-radius: 1px;
}
.pd-section-title__text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--v2-wood);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.35;
  margin: 0;
}

/* 頂部留白：全站 body --v2-top-chrome-pad 處理；此處只設錨點 scroll-margin */
#page-product-detail.page-offset {
  padding-top: 0;
  scroll-margin-top: calc(var(--v2-header-h-measured, var(--v2-header-h)) + 14px);
}
body.has-promo-bar #page-product-detail.page-offset {
  scroll-margin-top: calc(
    var(--v2-header-h-measured, var(--v2-header-h))
    + var(--v2-promo-bar-h-measured, var(--v2-promo-bar-h))
    + 14px
  );
}
body.phase1-product-detail.has-promo-bar .pd-topbar {
  padding-top: 1rem;
}
@media (min-width: 900px) {
  body.phase1-product-detail.has-promo-bar .pd-info {
    position: sticky;
    top: calc(
      var(--v2-header-h-measured, var(--v2-header-h))
      + var(--v2-promo-bar-h-measured, var(--v2-promo-bar-h))
      + 0.75rem
    );
    align-self: start;
    z-index: 2;
  }
}
@media (max-width: 899px) {
  body.phase1-product-detail.has-promo-bar .pd-topbar {
    padding-top: 0.85rem;
  }
  body.phase1-product-detail.has-promo-bar .pd-layout {
    padding-top: 0.85rem;
  }
}

/* Buttons */
.v2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem; font-family: var(--v2-font-sans);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.03em;
  text-decoration: none; border: none; border-radius: 999px; cursor: pointer;
  transition: transform 0.25s var(--v2-ease), box-shadow 0.25s, background 0.25s, color 0.25s;
}
.v2-btn--primary {
  background: var(--v2-accent); color: #fff;
  box-shadow: 0 4px 20px var(--v2-accent-glow);
}
.v2-btn--primary:hover {
  background: var(--v2-accent-light); transform: translateY(-2px);
}
.v2-btn--outline {
  background: transparent; color: var(--v2-wood);
  border: 1.5px solid var(--v2-border);
}
.v2-btn--outline:hover {
  border-color: var(--v2-accent); color: var(--v2-accent);
  background: rgba(168, 92, 42, 0.05);
}
.v2-btn--wa {
  background: #25d366; color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
}
.v2-btn--wa:hover { background: #20bd5a; transform: translateY(-2px); }
.v2-btn--block { width: 100%; }

/* Section typography */
.v2-section-wrap { max-width: 1200px; margin: 0 auto; padding: 3.5rem 1.25rem 5rem; }
.v2-section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--v2-gold); margin-bottom: 0.65rem;
}
.v2-section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--v2-gold-grad-h-label);
  border-radius: 1px;
}
.v2-section-heading {
  font-family: var(--v2-font-serif); font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 600; color: var(--v2-ink); line-height: 1.28; margin-bottom: 0.65rem;
}
.v2-section-desc {
  font-size: var(--text-base); line-height: 1.75; color: var(--v2-ink-muted);
  max-width: 52ch; margin-bottom: 2.25rem;
}
/* ═══ 頂部：返回 + 麵包屑同一行 ═══ */
.pd-topbar {
  max-width: 1200px; margin: 0 auto;
  padding: 1.75rem 1.25rem 0.25rem;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.pd-back {
  display: inline-flex; align-items: center; gap: 0.3rem;
  flex-shrink: 0;
  font-size: var(--text-sm); font-weight: 500; color: var(--v2-ink-muted);
  text-decoration: none; white-space: nowrap;
  transition: color 0.2s;
}
.pd-back:hover { color: var(--v2-accent); }
.pd-back::after {
  content: '';
  display: inline-block;
  width: 1px; height: 14px;
  background: var(--v2-gold-soft);
  margin-left: 0.5rem;
}
.pd-breadcrumb {
  flex: 1; min-width: 0;
  font-size: var(--text-sm); color: var(--v2-ink-muted);
  line-height: 1.4;
}
.pd-breadcrumb a {
  color: var(--v2-ink-muted); text-decoration: none;
  transition: color 0.2s;
}
.pd-breadcrumb a:hover { color: var(--v2-accent); }
.pd-breadcrumb span[aria-hidden] { margin: 0 0.35rem; opacity: 0.4; color: var(--v2-gold); }
.pd-breadcrumb #bc-title { color: var(--v2-ink-soft); font-weight: 500; }
@media (max-width: 520px) {
  .pd-topbar { gap: 0.65rem 1rem; padding-top: 1.35rem; }
  .pd-back::after { display: none; }
  .pd-breadcrumb { font-size: 0.75rem; }
}

.pd-layout {
  max-width: 1200px; margin: 0 auto;
  padding: 1.25rem 1.25rem 1.5rem;
  display: grid; gap: 2.25rem;
}
@media (min-width: 900px) {
  .pd-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: 3.25rem;
    align-items: stretch;
    padding-bottom: 1.75rem;
  }
}

/*
 * 修復 style.min.css 的 html/body/main{overflow-x:hidden} 令 position:sticky 失效。
 * clip 仍可能建立 containing block，產品分頁改回 visible。
 */
html:has(body.phase1-product-detail) {
  overflow-x: visible !important;
}
body.phase1-product-detail {
  overflow-x: visible !important;
}
body.phase1-product-detail main#page-product-detail,
body.phase1-product-detail .pd-layout,
body.phase1-product-detail .pd-gallery-wrap {
  overflow: visible !important;
}

/* Gallery：wrapper 撐滿 grid 列高，內層 sticky 先可黏住至右欄捲完 */
.pd-gallery-wrap { min-width: 0; }
.pd-gallery { position: relative; }
@media (min-width: 900px) {
  .pd-gallery-wrap {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .pd-gallery {
    position: sticky;
    top: calc(var(--v2-header-h) + 1rem);
    z-index: 2;
    flex: 0 0 auto;
  }
  body.has-promo-bar .pd-gallery {
    top: calc(
      var(--v2-header-h-measured, var(--v2-header-h))
      + var(--v2-promo-bar-h-measured, var(--v2-promo-bar-h))
      + 1rem
    );
  }
  .pd-info { align-self: start; }
}
.pd-gallery__main {
  position: relative; aspect-ratio: 4/5; border-radius: var(--v2-radius-lg);
  overflow: hidden; background: #e8e2da; cursor: zoom-in;
}
.pd-gallery__main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--v2-ease);
}
.pd-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--v2-wood);
  font-size: 1.1rem; cursor: pointer; box-shadow: var(--v2-shadow-sm);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.pd-gallery__nav--prev { left: 0.65rem; }
.pd-gallery__nav--next { right: 0.65rem; }
.pd-gallery__counter {
  position: absolute; bottom: 0.65rem; right: 0.65rem;
  padding: 0.2rem 0.55rem; font-size: 0.7rem; font-weight: 600;
  background: rgba(42,34,24,0.6); color: #fff; border-radius: 999px;
}
.pd-gallery__thumbs { display: flex; gap: 0.45rem; margin-top: 0.65rem; flex-wrap: wrap; }
.pd-gallery__thumb {
  padding: 0; border: 2px solid transparent; border-radius: 9px;
  background: none; cursor: pointer; opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}
.pd-gallery__thumb.is-active, .pd-gallery__thumb:hover { opacity: 1; border-color: var(--v2-gold); }
.pd-gallery__thumb img { width: 58px; height: 58px; object-fit: cover; border-radius: 7px; }

/* Info */
.pd-info__tag {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--v2-accent); margin-bottom: 0.45rem;
}
.pd-info__head {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 0.75rem 1.25rem; margin-bottom: 0.75rem;
}
.pd-info__title {
  font-family: var(--v2-font-serif); font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 600; color: var(--v2-wood); line-height: 1.28; flex: 1; min-width: 0;
}
.pd-info__price-block { text-align: right; flex-shrink: 0; }
.pd-info__price-label {
  font-size: 0.75rem; font-weight: 600; color: var(--v2-ink-muted);
  letter-spacing: 0.04em;
}
.pd-info__price {
  font-family: var(--v2-font-serif); font-size: 1.125rem; font-weight: 600; color: var(--v2-wood);
  line-height: 1.2;
}
.pd-info__price--soldout { color: #a33; }
.pd-info__status {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-bottom: 1rem; padding: 0.3rem 0.7rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 999px; background: rgba(34,139,34,0.09); color: #1a6b1a;
}
.pd-info__status--sold { background: rgba(163,51,51,0.09); color: #a33; }
.pd-info__status--preorder { background: rgba(168,92,42,0.09); color: var(--v2-accent); }
.pd-info__status-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ═══ 內容區塊（產品內容 / 加購項目） ═══ */
.pd-block { margin-bottom: 1.75rem; }
.pd-block__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--v2-wood);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.pd-block__text {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--v2-ink-muted);
  white-space: pre-line;
}
.pd-block__text:has(.pd-dropdown) {
  white-space: normal;
  line-height: 1.5;
}

/* ═══ 選項區 ═══ */
.pd-options { margin-bottom: 1.75rem; }
.pd-option-group { margin-bottom: 1.25rem; }
.pd-option-group:last-of-type { margin-bottom: 0; }
.pd-option-group__label {
  display: block; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--v2-ink-muted); margin-bottom: 0.5rem;
}

/* 尺寸 / 木材：統一格子大小 */
.pd-chips {
  display: grid; gap: 0.5rem;
  grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr));
}
.pd-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 4.75rem; padding: 0.55rem 0.5rem;
  font-family: inherit; text-align: center;
  background: var(--v2-surface); border: 1.5px solid var(--v2-border);
  border-radius: 10px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.pd-chip:hover { border-color: var(--v2-gold-soft); }
.pd-chip.is-selected {
  border-color: var(--v2-gold); background: rgba(184,149,106,0.08);
  box-shadow: 0 0 0 1px rgba(184,149,106,0.12);
}
.pd-chip__label {
  font-size: var(--text-sm); font-weight: 600; color: var(--v2-wood); line-height: 1.25;
}
.pd-chip__note {
  font-size: 0.65rem; color: var(--v2-ink-muted); margin-top: 0.2rem; line-height: 1.3;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.pd-chip__price {
  font-size: 0.625rem; font-weight: 600; color: var(--v2-accent); margin-top: 0.15rem;
}

/* 加購：下拉多選 */
.pd-dropdown { position: relative; }
.pd-dropdown__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  width: 100%; padding: 0.8rem 1rem;
  font-family: inherit; font-size: var(--text-sm); font-weight: 500;
  color: var(--v2-ink-soft); text-align: left;
  background: var(--v2-surface); border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius); cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pd-dropdown__trigger:hover { border-color: var(--v2-gold-soft); }
.pd-dropdown.is-open .pd-dropdown__trigger {
  border-color: var(--v2-gold); box-shadow: 0 4px 16px rgba(42,34,24,0.06);
}
.pd-dropdown__trigger-text { flex: 1; min-width: 0; }
.pd-dropdown__trigger-text.has-selection { color: var(--v2-wood); font-weight: 600; }
.pd-dropdown__arrow {
  flex-shrink: 0; font-size: 0.75rem; color: var(--v2-ink-muted);
  transition: transform 0.25s var(--v2-ease);
}
.pd-dropdown.is-open .pd-dropdown__arrow { transform: rotate(180deg); }
.pd-dropdown__panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  max-height: 240px; overflow-y: auto;
  background: var(--v2-surface); border: 1.5px solid var(--v2-border);
  border-radius: var(--v2-radius); box-shadow: var(--v2-shadow);
  padding: 0.35rem;
}
.pd-dropdown__panel[hidden] { display: none; }
.pd-dropdown__item {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.7rem 0.75rem; border-radius: 8px;
  cursor: pointer; transition: background 0.15s;
}
.pd-dropdown__item:hover { background: var(--v2-bg-soft); }
.pd-dropdown__item.is-checked { background: rgba(184,149,106,0.08); }
.pd-dropdown__item input {
  flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--v2-accent); cursor: pointer;
}
.pd-dropdown__item-body { flex: 1; min-width: 0; }
.pd-dropdown__item-name { font-size: var(--text-sm); font-weight: 600; color: var(--v2-wood); }
.pd-dropdown__item-note { font-size: 0.7rem; color: var(--v2-ink-muted); margin-top: 0.05rem; }
.pd-dropdown__item-price {
  flex-shrink: 0; font-size: 0.75rem; font-weight: 600; color: var(--v2-accent);
}
.pd-dropdown__tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem;
}
.pd-dropdown__tags:empty { display: none; }
.pd-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.55rem 0.3rem 0.65rem;
  font-size: 0.75rem; font-weight: 500; color: var(--v2-wood);
  background: rgba(184,149,106,0.12); border: 1px solid var(--v2-gold-soft);
  border-radius: 999px;
}
.pd-tag__remove {
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; padding: 0;
  border: none; border-radius: 50%; background: rgba(74,55,40,0.1);
  color: var(--v2-ink-muted); font-size: 0.85rem; line-height: 1;
  cursor: pointer; transition: background 0.15s, color 0.15s;
}
.pd-tag__remove:hover { background: rgba(163,51,51,0.15); color: #a33; }

/* 選擇摘要 */
.pd-summary {
  padding: 1rem 1.15rem; margin-top: 0.25rem;
  background: linear-gradient(135deg, rgba(244,241,234,0.9), rgba(255,255,255,0.95));
  border: 1px solid var(--v2-gold-soft); border-radius: var(--v2-radius);
}
.pd-summary__label {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--v2-gold); margin-bottom: 0.45rem;
}
.pd-summary__choices {
  font-size: var(--text-sm); color: var(--v2-ink-soft); line-height: 1.6; margin-bottom: 0.65rem;
}
.pd-summary__total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-top: 0.65rem; border-top: 1px solid var(--v2-gold-soft);
}
.pd-summary__total-label { font-size: var(--text-sm); color: var(--v2-ink-muted); }
.pd-summary__total-value {
  font-family: var(--v2-font-serif); font-size: 1.25rem; font-weight: 600; color: var(--v2-wood);
}
.pd-summary__hint {
  font-size: 0.7rem; color: var(--v2-ink-muted); margin-top: 0.45rem; line-height: 1.5;
}

/* CTA */
.pd-cta-desktop { display: none; gap: 0.65rem; margin: 1.35rem 0 0; }
@media (min-width: 900px) { .pd-cta-desktop { display: flex; } }
.pd-cta-desktop .v2-btn { flex: 1; }

.pd-accordion details {
  border: 1px solid var(--v2-border); border-radius: var(--v2-radius);
  margin-bottom: 0.5rem; overflow: hidden; background: var(--v2-surface);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.pd-accordion details[open] {
  border-color: var(--v2-gold-soft);
  box-shadow: 0 4px 16px rgba(42,34,24,0.04);
}
.pd-accordion details:last-child { margin-bottom: 0; }
.pd-accordion summary {
  padding: 0.95rem 1.1rem; font-size: var(--text-sm); font-weight: 600;
  color: var(--v2-wood); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; transition: background 0.2s;
}
.pd-accordion summary:hover { background: rgba(244,241,234,0.5); }
.pd-accordion summary::-webkit-details-marker { display: none; }
.pd-accordion summary::after {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-right: 1.5px solid var(--v2-gold);
  border-bottom: 1.5px solid var(--v2-gold);
  transform: rotate(45deg);
  transition: transform 0.3s var(--v2-ease);
}
.pd-accordion details[open] summary::after {
  transform: rotate(-135deg);
}
.pd-accordion__body {
  padding: 0.85rem 1.1rem 1.05rem;
  font-size: var(--text-sm);
  line-height: 1.75;
  color: #72685c;
  border-top: 1px solid rgba(184,149,106,0.15);
}

/* 分享區 */
.pd-share-box {
  padding: 1.35rem 1.25rem;
  background: linear-gradient(160deg, rgba(244,241,234,0.65), rgba(255,255,255,0.9));
  border: 1px solid var(--v2-gold-soft);
  border-radius: var(--v2-radius-lg);
}
.pd-share-box .pd-section-title { margin-bottom: 1.15rem; }
.pd-share__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem;
}
@media (max-width: 400px) {
  .pd-share__actions { grid-template-columns: 1fr; }
}
.pd-share__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 1rem; font-family: inherit;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.02em;
  border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform 0.2s var(--v2-ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.pd-share__btn:active { transform: scale(0.98); }
.pd-share__btn--copy {
  background: var(--v2-surface); color: var(--v2-wood);
  border: 1.5px solid var(--v2-wood);
  box-shadow: 0 2px 8px rgba(42,34,24,0.05);
}
.pd-share__btn--copy:hover {
  border-color: var(--v2-gold); color: var(--v2-accent);
  box-shadow: 0 4px 14px rgba(42,34,24,0.08);
}
.pd-share__btn--copy.is-copied {
  border-color: #2d8a4e; color: #2d8a4e; background: rgba(45,138,78,0.06);
}
.pd-share__btn--wa {
  background: #25d366; color: #fff; border: none;
}
.pd-share__btn--wa:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}
.pd-share__btn-icon { font-size: 1rem; line-height: 1; opacity: 0.9; }

.pd-pager {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 0.15rem;
}
.pd-pager__link {
  display: flex; flex-direction: column; gap: 0.15rem;
  text-decoration: none; max-width: 42%;
}
.pd-pager__label { font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--v2-gold); }
.pd-pager__title { font-size: var(--text-sm); font-weight: 600; color: var(--v2-wood); }
.pd-pager__link:hover .pd-pager__title { color: var(--v2-accent); }
.pd-pager__link--next { text-align: right; align-items: flex-end; margin-left: auto; }

/* Sticky CTA */
.pd-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  display: flex; gap: 0.45rem; padding: 0.65rem 0.85rem;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
  border-top: 1px solid var(--v2-gold-soft);
  box-shadow: 0 -6px 28px rgba(42,34,24,0.07);
  transform: translateY(100%); transition: transform 0.35s var(--v2-ease);
}
.pd-sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 900px) { .pd-sticky-cta { display: none; } }
.pd-sticky-cta .v2-btn { flex: 1; padding: 0.7rem 0.75rem; font-size: 0.75rem; }
.pd-sticky-cta__price {
  display: flex; flex-direction: column; justify-content: center;
  flex-shrink: 0; min-width: 68px; padding-right: 0.25rem;
}
.pd-sticky-cta__price-label { font-size: 0.6rem; color: var(--v2-ink-muted); letter-spacing: 0.04em; text-transform: none; }
.pd-sticky-cta__price-value { font-weight: 700; font-size: 0.85rem; color: var(--v2-wood); }

/* ═══ 相關作品（重做） ═══ */
.pd-related-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.25rem 4rem;
}
.pd-related {
  padding-top: 0;
}
.pd-related__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.35rem; flex-wrap: wrap;
}
.pd-related__title {
  font-family: var(--v2-font-serif); font-size: 1.35rem; font-weight: 600;
  color: var(--v2-ink); line-height: 1.3;
}
.pd-related__link {
  font-size: var(--text-sm); font-weight: 600; color: var(--v2-accent);
  text-decoration: none; white-space: nowrap;
}
.pd-related__link:hover { text-decoration: underline; }
.pd-related__grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .pd-related__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.pd-related-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--v2-surface); border-radius: var(--v2-radius-lg);
  overflow: hidden; border: 1px solid var(--v2-border);
  box-shadow: var(--v2-shadow-sm);
  transition: transform 0.35s var(--v2-ease), box-shadow 0.35s, border-color 0.35s;
}
.pd-related-card:hover {
  transform: translateY(-4px); box-shadow: var(--v2-shadow);
  border-color: var(--v2-gold-soft);
}
.pd-related-card__media {
  position: relative; aspect-ratio: 4/5; overflow: hidden; background: #e8e2da;
}
.pd-related-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s var(--v2-ease);
}
.pd-related-card:hover .pd-related-card__media img { transform: scale(1.04); }
.pd-related-card__body { padding: 1rem 1.1rem 1.15rem; }
.pd-related-card__tag {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--v2-accent); margin-bottom: 0.25rem;
}
.pd-related-card__title {
  font-family: var(--v2-font-serif); font-size: 0.95rem; font-weight: 600;
  color: var(--v2-wood); line-height: 1.35; margin-bottom: 0.3rem;
}
.pd-related-card__price { font-size: 0.8rem; font-weight: 600; color: var(--v2-ink); }
.pd-related-card__cta {
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-top: 0.55rem; font-size: 0.75rem; font-weight: 600; color: var(--v2-accent);
}

/* Lightbox */
.pd-lightbox {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(26,20,16,0.92); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.pd-lightbox.is-open { opacity: 1; visibility: visible; }
.pd-lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.pd-lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff; font-size: 1.5rem; cursor: pointer;
}