/* Product catalog typography alignment: homepage-like Traditional Chinese, calmer weights. */
.secondary-page-collection .catalog-precise-page {
  font-family: var(--zh-serif), var(--serif), "Songti TC", "Noto Serif TC", serif;
  font-weight: 400;
}

.secondary-page-collection .catalog-precise-page h1,
.secondary-page-collection .catalog-precise-page h2,
.secondary-page-collection .catalog-precise-page h3,
.secondary-page-collection .catalog-precise-page h4 {
  font-family: var(--zh-serif), var(--serif), "Songti TC", "Noto Serif TC", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.secondary-page-collection .catalog-precise-page .eyebrow,
.secondary-page-collection .catalog-hero-stats dt,
.secondary-page-collection .catalog-hero-card span,
.secondary-page-collection .catalog-product-copy .tag,
.secondary-page-collection .catalog-tab,
.secondary-page-collection .catalog-tools span,
.secondary-page-collection .catalog-tools a,
.secondary-page-collection .catalog-series-overview strong {
  font-family: var(--zh-serif), var(--serif), "Songti TC", "Noto Serif TC", serif;
  font-weight: 500;
}

.secondary-page-collection .catalog-precise-page strong,
.secondary-page-collection .catalog-product-copy b {
  font-weight: 500;
}

/* Compact product cards: reduce vertical dead space without changing the catalog architecture. */
.secondary-page-collection .catalog-precise-body .catalog-product-grid {
  align-items: start;
  gap: clamp(1.25rem, 2.2vw, 2rem);
}

.secondary-page-collection .catalog-precise-body .catalog-product-card {
  align-self: start;
  min-height: 0;
}

.secondary-page-collection .catalog-precise-body .catalog-product-image {
  aspect-ratio: 1.12 / 1;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy {
  min-height: 0;
  padding: clamp(1.05rem, 1.8vw, 1.55rem) clamp(1.15rem, 2vw, 1.8rem) clamp(1rem, 1.7vw, 1.35rem);
  gap: 0.55rem;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy .tag {
  margin-bottom: 0.05rem;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy h4 {
  margin: 0 0 0.7rem;
  line-height: 1.18;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy > p:not(.tag) {
  margin: 0;
  line-height: 1.45;
}

.secondary-page-collection .catalog-precise-body .catalog-product-meta {
  margin-top: clamp(1.35rem, 2.4vw, 2.1rem);
}

@media (max-width: 720px) {
  .secondary-page-collection .catalog-precise-body .catalog-product-image {
    aspect-ratio: 1.22 / 1;
  }

  .secondary-page-collection .catalog-precise-body .catalog-product-copy {
    padding: 1rem 1.05rem 1.05rem;
  }

  .secondary-page-collection .catalog-precise-body .catalog-product-meta {
    margin-top: 1.05rem;
  }
}

/* Tighter product cards: remove the stretched lower text well. */
.secondary-page-collection .catalog-precise-body .catalog-product-card {
  display: block;
  height: auto;
  overflow: hidden;
}

.secondary-page-collection .catalog-precise-body .catalog-product-image {
  aspect-ratio: 1.18 / 1;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy {
  display: block;
  height: auto;
  min-height: auto;
  padding: clamp(0.9rem, 1.45vw, 1.25rem) clamp(1rem, 1.7vw, 1.45rem) clamp(0.9rem, 1.45vw, 1.2rem);
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy .tag {
  margin: 0 0 0.45rem;
  line-height: 1.1;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy h4 {
  margin: 0 0 1rem;
  line-height: 1.16;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy > p:not(.tag) {
  margin: 0 0 1.3rem;
  line-height: 1.35;
}

.secondary-page-collection .catalog-precise-body .catalog-product-meta {
  margin-top: 0 !important;
  padding-top: 0;
}

@media (max-width: 720px) {
  .secondary-page-collection .catalog-precise-body .catalog-product-image {
    aspect-ratio: 1.28 / 1;
  }
}

/* Compact v3: force cards to shrink to content and remove remaining dead air. */
.secondary-page-collection .catalog-precise-body .catalog-product-grid {
  align-items: flex-start !important;
  gap: clamp(1rem, 1.7vw, 1.55rem) !important;
}

.secondary-page-collection .catalog-precise-body .catalog-product-card {
  display: grid !important;
  grid-template-rows: auto auto !important;
  height: auto !important;
  min-height: 0 !important;
  align-self: flex-start !important;
}

.secondary-page-collection .catalog-precise-body .catalog-product-image {
  aspect-ratio: 1.36 / 1 !important;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy {
  display: grid !important;
  grid-template-rows: auto auto auto auto !important;
  align-content: start !important;
  justify-content: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  padding: clamp(0.72rem, 1.1vw, 1rem) clamp(0.9rem, 1.35vw, 1.2rem) clamp(0.76rem, 1.15vw, 1rem) !important;
  gap: 0 !important;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy .tag {
  margin: 0 0 0.35rem !important;
  line-height: 1 !important;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy h4 {
  margin: 0 0 0.7rem !important;
  line-height: 1.12 !important;
}

.secondary-page-collection .catalog-precise-body .catalog-product-copy > p:not(.tag) {
  margin: 0 0 0.85rem !important;
  line-height: 1.28 !important;
}

.secondary-page-collection .catalog-precise-body .catalog-product-meta {
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.secondary-page-collection .catalog-precise-body .catalog-product-meta a,
.secondary-page-collection .catalog-precise-body .catalog-product-meta span {
  line-height: 1.1 !important;
}

@media (max-width: 720px) {
  .secondary-page-collection .catalog-precise-body .catalog-product-image {
    aspect-ratio: 1.46 / 1 !important;
  }

  .secondary-page-collection .catalog-precise-body .catalog-product-copy {
    padding: 0.7rem 0.85rem 0.78rem !important;
  }
}
