/* ============================================================
   minoii · LV 式商品详情页（仅 .is-product 生效）
   ------------------------------------------------------------
   紧凑单行 Header + 左侧大图画布 + 右侧克制商品信息 +
   SKU / 价格 / 颜色与规格 / 黑色胶囊主按钮 / 详情长图。
   复用 .is-category 的 Header 与左侧抽屉，保留商品数据与交互。
   ============================================================ */

/* ---------- 1. 商品主区：左图右信息 ---------- */
.is-product .detail { padding: 0; background: var(--white); }
.is-product .detail > .container { width: 100%; max-width: none; padding: 0; }
.is-product .detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 0;
  align-items: stretch;
  min-height: calc(100vh - 76px);
}
.is-product .detail__gallery {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 70px 7vw;
  background: #ECEAE7;
}
.is-product .detail__stage { width: min(520px, 100%); margin: 0 auto; }
.is-product .detail__main-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--oat);
  box-shadow: 0 24px 70px rgba(46, 42, 37, 0.12);
}
.is-product .detail__main-video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #ECEAE7;
  box-shadow: 0 24px 70px rgba(46, 42, 37, 0.12);
}
.is-product .detail__thumbs {
  width: min(520px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.is-product .detail__thumb {
  aspect-ratio: 1 / 1;
  border: 1px solid transparent;
  background: var(--oat);
  opacity: 0.58;
  transition: opacity 0.25s, border-color 0.25s;
}
.is-product .detail__thumb.is-active,
.is-product .detail__thumb:hover { opacity: 1; border-color: var(--ink); }
.is-product .detail__play { background: rgba(46, 42, 37, 0.28); }

/* ---------- 2. 右侧信息 ---------- */
.is-product .detail__info {
  align-self: center;
  width: 100%;
  max-width: 560px;
  padding: 70px 7vw;
}
.is-product .detail__ref {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-family: var(--font-english);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}
.is-product .detail__wish {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.is-product .detail__wish svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.is-product .detail__wish.is-active svg { fill: currentColor; }
.is-product .detail__name {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
}
.is-product .detail__series {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.is-product .detail__desc { display: none; }
.is-product .detail__price {
  margin: 0 0 42px;
  padding: 0;
  border: none;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ---------- 3. 颜色 / 规格 ---------- */
.is-product .detail__opt { margin-bottom: 30px; }
.is-product .detail__opt-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.is-product .detail__opt-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}
.is-product .detail__opt-current {
  color: var(--ink);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: right;
}
.is-product .detail__swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.is-product .detail__swatch {
  width: 62px;
  height: 62px;
  padding: 3px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.is-product .detail__swatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.is-product .detail__swatch.is-active { border-color: var(--ink); }
.is-product .detail__opt-values { display: flex; gap: 10px; flex-wrap: wrap; }
.is-product .opt-chip {
  min-width: 54px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 0.78rem;
}
.is-product .opt-chip.is-active { border-color: var(--ink); background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.is-product .detail__opt-values--variants { gap: 12px; }
.is-product .variant-card {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 12px 8px 8px;
  background: transparent;
}
.is-product .variant-card.is-active { border-color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.is-product .variant-card__img { width: 48px; height: 48px; flex-basis: 48px; }

/* ---------- 4. 购买区 ---------- */
.is-product .detail__buy {
  margin-top: 38px;
  padding-top: 0;
  border-top: none;
}
.is-product .detail__buy-label {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--font-english);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}
.is-product .detail__add {
  width: 100%;
  max-width: 360px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.25s;
}
.is-product .detail__add:hover { opacity: 0.86; transform: translateY(-1px); }
.is-product .detail__add svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.is-product .detail__cart-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}
.is-product .detail__buy-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.is-product .buy-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}
.is-product .buy-link:hover { transform: none; box-shadow: none; background: none; color: var(--ink); }
.is-product .buy-link img { width: 20px; height: 20px; border-radius: 0; }
.is-product .detail__actions {
  display: block;
  margin-top: 22px;
  max-width: 360px;
}
.is-product .detail__actions .btn--outline {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  border-color: var(--line);
  font-weight: 400;
}
.is-product .detail__note,
.is-product .detail__feature { display: none; }

/* ---------- 5. 商品长图与细节 ---------- */
.is-product .detail__editorial {
  padding: 96px 24px 30px;
  background: var(--cream);
}
.is-product .detail__editorial-head {
  max-width: 760px;
  margin: 0 auto 54px;
}
.is-product .detail__editorial-head .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
}
.is-product .detail__editorial-head h2 {
  margin: 0 0 18px;
  font-size: 1.5rem;
  font-weight: 400;
}
.is-product .detail__editorial-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 2;
}
.is-product .detail__showcase {
  margin: 0;
  padding: 0;
  border: none;
}
.is-product .detail__showcase-head { display: none; }
.is-product .detail__showcase-imgs { max-width: 900px; gap: 0; }
.is-product .related { padding: 90px 0 130px; background: var(--cream); }
.is-product .related .section__title { text-align: center; font-size: 1.5rem; margin-bottom: 44px; }

/* ---------- 6. 移动端 ---------- */
@media (max-width: 860px) {
  .is-product .detail__grid { grid-template-columns: 1fr; min-height: 0; }
  .is-product .detail__gallery { padding: 26px 22px 30px; gap: 18px; }
  .is-product .detail__main-img,
  .is-product .detail__main-video { aspect-ratio: 1 / 1; box-shadow: none; }
  .is-product .detail__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .is-product .detail__info { padding: 34px 24px 46px; max-width: none; }
  .is-product .detail__ref { margin-bottom: 18px; }
  .is-product .detail__price { margin-bottom: 30px; }
  .is-product .detail__swatch { width: 54px; height: 54px; }
  .is-product .detail__add { max-width: none; }
  .is-product .detail__editorial { padding: 62px 20px 20px; }
  .is-product .detail__editorial-head { margin-bottom: 34px; }
  .is-product .related { padding: 62px 0 90px; }
}
