/* ═══════════════════════════════════════════
   PRODUCT DETAIL — page-specific styles
   Shared styles live in common.css
═══════════════════════════════════════════ */
body { background: #F3EFE3; }

/* Hero top-left is nearly cream — disable dark veil and use gold/brown nav */
body.page-detail::before { display: none; }
body.page-detail .main-nav a { color: var(--gold-1); text-shadow: none; }
body.page-detail .main-nav a:hover { color: var(--brown); }
body.page-detail .main-nav a.active { color: var(--brown); border-color: var(--brown); }
body.header-scrolled.page-detail .main-nav a { color: var(--gold-1); text-shadow: none; }
body.header-scrolled.page-detail .main-nav a.active { color: var(--brown); border-color: var(--brown); }

/* ═══════════════════════════════════════════
   SHARED BACKGROUND — breadcrumb + hero
═══════════════════════════════════════════ */
.detail-top {
  position: relative;
  background: url("../assets/images/detail-hero-bg.jpg") right center / 100% auto no-repeat;
}

/* ═══════════════════════════════════════════
   BACK LINK (sits above heading inside hero text)
═══════════════════════════════════════════ */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--brown);
  transition: color 0.2s;
  margin-bottom: 56px;
}
.btn-back:hover { color: var(--gold-1); }
.btn-back svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
}


/* ═══════════════════════════════════════════
   DETAIL HERO
═══════════════════════════════════════════ */
#detail-hero {
  position: relative;
  padding: 120px 0 120px;
}

/* Left-to-right cream wash — near-opaque on left, fades to transparent */
#detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(243, 239, 227, 0.97) 0%,
    rgba(243, 239, 227, 0.92) 28%,
    rgba(243, 239, 227, 0.60) 50%,
    rgba(243, 239, 227, 0.10) 68%,
    rgba(243, 239, 227, 0)    80%
  );
  pointer-events: none;
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 124px;
}

.detail-hero-text { max-width: 520px; }

/* STANDARDIZED: Product title — 34px (between Section H2 36px and Sub-H3 28px) */
.detail-heading {
  font-family: var(--font-h);
  font-size: 34px;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: 0.06em;
  color: var(--brown);
  font-style: italic;
  margin-bottom: 12px;
}

/* STANDARDIZED: Tagline — 17px */
.detail-tagline {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--brown);
  margin-bottom: 20px;
}

/* STANDARDIZED: Body — 16px */
.detail-desc {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0.14em;
  color: rgba(96, 58, 23, 0.82);
  margin-bottom: 28px;
}

.detail-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* STANDARDIZED: Caption — 14px */
.spec-line {
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 22px;
  color: rgba(96, 58, 23, 0.80);
}

/* ═══════════════════════════════════════════
   PRODUCT INFO + HOW IT WORKS — shared molecule background
═══════════════════════════════════════════ */
.info-science-wrap {
  background:
    linear-gradient(rgba(255,255,255,0.70), rgba(255,255,255,0.70)),
    url("../assets/images/molecule-bg.jpg") center / cover no-repeat;
}

#product-info {
  padding: 80px 0 20px;
}

.product-info-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 124px;
}

/* STANDARDIZED: Sub-heading H3 — 28px */
.info-heading {
  font-family: var(--font-h);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--gold-1);
  margin-bottom: 32px;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
  max-width: 700px;
}

/* STANDARDIZED: Body — 16px */
.info-list li {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0.14em;
  color: var(--gray);
  padding-left: 24px;
  position: relative;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-1);
}



/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
#how-it-works {
  padding: 20px 0 96px;
}

.how-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 124px;
}

/* STANDARDIZED: Label H4 — 20px */
.how-usage-label {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold-1);
  text-align: center;
  margin-bottom: 10px;
}

/* STANDARDIZED: Sub-heading H3 — 30px */
.how-heading {
  font-family: var(--font-h);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--brown);
  margin-bottom: 56px;
  text-align: center;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-top: 0;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  padding: 0 8px;
}

/* Arrow between steps */
.step-item:not(:last-child)::after {
  content: '⟶';
  position: absolute;
  top: 30px;
  right: -14px;
  transform: translateY(-50%);
  color: var(--gold-1);
  font-size: 18px;
  line-height: 1;
  z-index: 2;
}

.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--gold-1);
  flex-shrink: 0;
  gap: 1px;
}

/* STANDARDIZED: Step number — 18px */
.step-hash {
  font-family: var(--font-b);
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  line-height: 1;
  letter-spacing: 0.05em;
}

.step-num {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}

/* STANDARDIZED: Small body — 15px */
.step-label {
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--brown);
  text-align: center;
  line-height: 22px;
}


/* ═══════════════════════════════════════════
   USER EXPERIENCE + USAGE + MARKET — shared yoga background
═══════════════════════════════════════════ */
#user-experience {
  position: relative;
  overflow: hidden;
}

/* Flipped + zoomed-out — inset:-18% compensates for scale(0.78) shrink */
#user-experience::before {
  content: '';
  position: absolute;
  inset: -18%;
  background: url("../assets/images/pd-yoga-woman-hq.jpg") center 40% / cover no-repeat;
  transform: scaleX(-1) scale(0.78);
  z-index: 0;
}

/* Left-to-right cream gradient — keeps text readable */
#user-experience::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(243, 239, 227, 0.97) 0%,
    rgba(243, 239, 227, 0.88) 32%,
    rgba(243, 239, 227, 0.45) 58%,
    rgba(243, 239, 227, 0)    72%
  );
  pointer-events: none;
  z-index: 1;
}

.experience-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 96px 124px;
}

.experience-content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.ux-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* STANDARDIZED: Label H4 — 22px */
.ux-label {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--brown);
}

/* check-list — outlined circle + checkmark (用戶感受) */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 2px solid var(--gold-1);
  padding-left: 24px;
}

/* STANDARDIZED: Body — 16px */
.check-list li {
  position: relative;
  padding-left: 34px;
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--gray);
  line-height: 26px;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border: 1.5px solid var(--gold-1);
  border-radius: 50%;
}

.check-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 9px; height: 5px;
  border-left: 1.5px solid var(--gold-1);
  border-bottom: 1.5px solid var(--gold-1);
  transform: rotate(-45deg);
}

/* usage row — capsule SVG icon + dot bullets (建議使用) */
.usage-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.capsule-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--gold-1);
  margin-top: 2px;
}

.usage-dot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* STANDARDIZED: Body — 16px */
.usage-dot-list li {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.14em;
  line-height: 28px;
  color: var(--gray);
}

.usage-dot-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-1);
}

/* market block (BNB獨特市場機會) */
/* STANDARDIZED: Section H2 — 40px */
.market-heading {
  font-family: var(--font-h);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.10em;
  color: var(--brown);
}

/* STANDARDIZED: Lead — 18px */
.market-sub {
  font-family: var(--font-b);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(96, 58, 23, 0.72);
  margin-top: -16px;
}

.market-stat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* STANDARDIZED: Body — 16px */
.market-stat-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  letter-spacing: 0.14em;
  color: var(--gray);
}

.market-stat-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-1);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1280px) {
  .detail-hero-inner,
  .product-info-inner,
  .how-inner { padding: 0 80px; }
  .experience-inner { padding: 80px; }
}

@media (max-width: 1024px) {
  .detail-hero-inner,
  .product-info-inner,
  .how-inner { padding: 0 56px; }
  .experience-inner { padding: 80px 56px; }
}

@media (max-width: 900px) {
  .product-info-inner,
  .how-inner { padding: 0 40px; }
  .detail-hero-inner { padding: 0 40px; }
  .detail-hero-text { max-width: 100%; }
  .detail-heading { font-size: 28px; line-height: 40px; }
  #detail-hero::before {
    background: linear-gradient(
      to right,
      rgba(243, 239, 227, 0.97) 0%,
      rgba(243, 239, 227, 0.90) 45%,
      rgba(243, 239, 227, 0.50) 75%,
      rgba(243, 239, 227, 0)    100%
    );
  }

  .steps-row { flex-wrap: wrap; gap: 28px; }
  .step-item { flex: 0 0 calc(33.33% - 20px); }
  .step-item::after { display: none; }

  .experience-inner { padding: 72px 40px; }
  .experience-content { max-width: 100%; }
  #user-experience::after {
    background: linear-gradient(
      to right,
      rgba(243, 239, 227, 0.97) 0%,
      rgba(243, 239, 227, 0.92) 50%,
      rgba(243, 239, 227, 0.65) 78%,
      rgba(243, 239, 227, 0.30) 100%
    );
  }
}

@media (max-width: 640px) {
  .product-info-inner,
  .how-inner { padding: 0 24px; }
  .detail-hero-inner { padding: 0 24px; }
  #detail-hero { padding: 96px 0 72px; }
  #detail-hero::before { background: rgba(243, 239, 227, 0.95); }
  .detail-heading { font-size: 24px; line-height: 36px; }
  .detail-tagline { font-size: 14px; }
  .detail-desc { font-size: 14px; line-height: 26px; }
  .step-item { flex: 0 0 calc(50% - 14px); }
  .experience-inner { padding: 64px 24px; }
  .market-heading { font-size: 28px; }
  .market-sub { font-size: 15px; }
  .how-heading { font-size: 24px; margin-bottom: 48px; }
  .info-heading { font-size: 24px; }
  .ux-label { font-size: 18px; }
  #user-experience::after { background: rgba(243, 239, 227, 0.95); }
}

@media (max-width: 480px) {
  .product-info-inner,
  .how-inner { padding: 0 20px; }
  .detail-hero-inner { padding: 0 20px; }
  .detail-heading { font-size: 22px; line-height: 32px; }
  .step-item { flex: 0 0 calc(100%); }
  .experience-inner { padding: 56px 20px; }
  .market-heading { font-size: 24px; }
}
