/* ===== 产品中心：八大系列、系列合集与单品详情 ===== */
.products-page {
  background:
    radial-gradient(circle at 10% 18%, rgba(201, 164, 92, .08), transparent 24rem),
    var(--paper);
}

.products-page .page-hero {
  min-height: 340px;
  padding: 0;
}

.products-page .page-hero p:not(.crumb) {
  letter-spacing: .16em;
}

.product-intro {
  padding: 72px 0 56px;
}

.product-intro .split {
  grid-template-columns: .92fr 1.08fr;
}

.product-intro .img-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-intro .eyebrow,
.series-kicker {
  color: var(--cinnabar);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.product-intro h2 {
  margin-top: 8px;
}

.series-overview {
  padding: 72px 0 90px;
  background: #15408b;
  color: rgba(255,255,255,.82);
}

.series-overview .sec-head h2,
.series-overview .sec-head p {
  color: #fff;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.series-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.series-card::after {
  content: none;
  position: absolute;
  inset: auto -30px -50px auto;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(201,164,92,.16);
  border-radius: 50%;
}

.series-card:hover,
.series-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(201,164,92,.66);
  background: rgba(255,255,255,.075);
  outline: none;
}

.series-number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border-radius: 50%;
  background: rgba(21,64,139,.9);
  color: var(--gold);
  font-family: var(--font-accent);
  font-size: .9rem;
}

.series-count {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(21,64,139,.9);
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  letter-spacing: .08em;
}

.series-card h3 {
  margin: 0 20px 10px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.45;
  text-align: center;
}

.series-cover {
  display: block;
  order: -1;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255,255,255,.08);
}

.series-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.series-card p {
  margin: 0 24px;
  color: rgba(255,255,255,.62);
  font-size: .86rem;
}

.series-card .series-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  margin-left: 24px;
  margin-right: 24px;
  padding-top: 20px;
  color: var(--gold);
  font-size: .8rem;
  letter-spacing: .12em;
}

.series-card .series-link::after {
  content: "→";
  transition: transform .2s ease;
}

.series-card:hover .series-link::after {
  transform: translateX(4px);
}

.series-disclaimer {
  max-width: 820px;
  margin: 44px auto 0;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  line-height: 1.8;
  text-align: center;
}

.catalog-shell {
  padding: 48px 0 88px;
}

.series-directory {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 14px 0;
  border-bottom: 1px solid rgba(21,64,139,.1);
  background: rgba(247,244,238,.94);
  backdrop-filter: blur(10px);
}

.series-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.series-tab {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(21,64,139,.12);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: .78rem;
  line-height: 1.35;
  transition: .2s ease;
}

.series-tab b {
  color: var(--gold);
  font-family: var(--font-accent);
  font-size: .72rem;
}

.series-tab:hover,
.series-tab:focus-visible,
.series-tab.active {
  border-color: var(--cinnabar);
  background: var(--cinnabar);
  color: #fff;
  outline: none;
}

.series-tab.active b,
.series-tab:hover b {
  color: #fff;
}

.catalog-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 44px;
  align-items: end;
  margin: 52px 0 34px;
}

.catalog-head h2 {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
}

.catalog-head p {
  color: var(--muted);
}

.catalog-note {
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(201,164,92,.1);
  color: var(--text);
  font-size: .86rem;
}

.product-collection {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.series-brand-intro {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 32px;
  margin-bottom: 34px;
  padding: 28px 30px;
  border: 1px solid rgba(21,64,139,.1);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  background: var(--paper-2);
}

.series-brand-intro[hidden] { display: none; }
.series-brand-intro h3 { margin: 10px 0 8px; color: var(--ink); font-size: 1.7rem; }
.series-brand-intro p { color: var(--muted); font-size: .9rem; line-height: 1.9; }
.series-brand-intro p + p { margin-top: 12px; }
.series-brand-intro .brand-tagline,
.product-brand-profile .brand-tagline { color: var(--cinnabar); }
.product-brand-profile { margin-top: 22px; }
.product-brand-profile p + p { margin-top: 12px; }

.catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(21,64,139,.1);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: 0 8px 24px rgba(21,64,139,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.catalog-card:hover,
.catalog-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(201,164,92,.62);
  box-shadow: var(--shadow);
}

.catalog-card .media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef1f4;
}

.catalog-card .media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .45s ease;
}

.catalog-card:hover .media img {
  transform: scale(1.025);
}

.catalog-card .body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.catalog-card .brand {
  margin-bottom: 8px;
  color: var(--cinnabar);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.catalog-card h2,
.catalog-card h3 {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.45;
}

.catalog-card p {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: .88rem;
}

.catalog-card .detail-link {
  margin-top: auto;
  color: var(--indigo-700);
  font-size: .82rem;
  font-weight: 700;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 70px 24px;
  border: 1px dashed rgba(21,64,139,.2);
  border-radius: var(--radius);
  background: var(--paper-2);
  text-align: center;
}

.catalog-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.15rem;
}

.product-detail-shell {
  padding: 50px 0 88px;
}

.detail-crumb {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: .82rem;
}

.detail-crumb a:hover {
  color: var(--cinnabar);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px;
  align-items: start;
}

.product-detail-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(21,64,139,.1);
  border-radius: var(--radius);
  background: #f5f1e9;
}

.product-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Only the replacement waist-patch photo fills its existing 4:3 frame. */
.catalog-card .media img[src*="soothing-essence-updated.png"],
.product-detail-media img[src*="soothing-essence-updated.png"] {
  object-fit: cover;
  object-position: center;
}

.catalog-card .media img[src*="warm-waist-patch-updated.png"],
.product-detail-media img[src*="warm-waist-patch-updated.png"] {
  object-fit: cover;
  object-position: center bottom;
}

.product-specifications {
  margin: 22px 0 0;
  padding: 4px 22px;
  border: 1px solid rgba(21,64,139,.1);
  border-radius: 10px;
  background: var(--paper-2);
}

.product-specifications > div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(21,64,139,.08);
  font-size: .88rem;
}

.product-specifications > div:last-child { border-bottom: 0; }
.product-specifications dt { color: var(--muted); }
.product-specifications dd { margin: 0; color: var(--ink); }
.product-specifications[hidden], .detail-fact[hidden] { display: none; }

.product-detail-copy .series-kicker {
  margin-bottom: 12px;
}

.product-detail-copy h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
}

.product-detail-copy .summary {
  color: var(--text);
  font-size: 1.02rem;
}

.detail-facts {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.detail-fact {
  padding: 18px 20px;
  border: 1px solid rgba(21,64,139,.1);
  border-radius: 10px;
  background: var(--paper-2);
}

.detail-fact h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: .92rem;
}

.detail-fact p {
  color: var(--muted);
  font-size: .88rem;
}

.product-disclaimer {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--cinnabar);
  background: rgba(176,58,46,.08);
  color: var(--muted);
  font-size: .8rem;
}

.related-products {
  padding: 72px 0 88px;
  background: #eaeef5;
}

.related-products .sec-head {
  text-align: left;
}

.related-products .sec-head .kicker::before {
  display: none;
}

.related-products .product-collection {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1040px) {
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-grid { gap: 36px; }
}

@media (max-width: 820px) {
  .series-directory {
    position: static;
  }
  .series-tabs {
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-head,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .catalog-head { gap: 20px; }
}

@media (max-width: 620px) {
  .products-page .page-hero { padding: 70px 0 58px; }
  .product-intro { padding: 54px 0 40px; }
  .series-overview,
  .catalog-shell,
  .product-detail-shell,
  .related-products { padding-top: 56px; padding-bottom: 66px; }
  .series-grid,
  .product-collection,
  .related-products .product-collection { grid-template-columns: 1fr; }
  .series-card { min-height: 225px; }
  .catalog-head { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .series-card,
  .catalog-card,
  .catalog-card .media img,
  .series-card .series-link::after { transition: none; }
}
