@import url("products.css");
@import url("series-page.css");

.category-switch__item {
  text-decoration: none;
}

.product-intro--taxonomy {
  padding-top: clamp(120px, 12vw, 180px);
}

.product-intro--taxonomy h1 {
  font-size: var(--type-page-title);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.product-card__image-fallback,
.series-style__image-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eee8df, #dcd2c6);
}

.product-empty {
  max-width: 720px;
  padding: clamp(48px, 6vw, 80px);
  border: 1px solid var(--site-line);
  background: #f1ece5;
}

.product-empty h2 {
  font-size: clamp(30px, 3vw, 48px);
  letter-spacing: -0.035em;
}

.product-empty > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 18px;
  color: var(--site-muted);
}

.product-empty .product-card__action {
  display: inline-block;
  margin-top: 28px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(40px, 7vw, 112px);
}

.product-detail__visual {
  margin: 0;
  background: #eee8df;
}

.product-detail__visual img,
.product-detail__visual .series-style__image-fallback {
  display: block;
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.product-detail__content {
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.85;
}

.product-detail__content .series-button {
  margin-top: 36px;
}

@media (max-width: 640px) {
  /* Keep the shared Product Center hero readable when a CJK heading wraps. */
  .product-hero__content h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .product-hero__content h1 span {
    display: block;
  }

  .product-intro--taxonomy h1 {
    font-size: var(--type-page-title-mobile);
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail__visual img,
  .product-detail__visual .series-style__image-fallback {
    min-height: 0;
    aspect-ratio: 1;
  }
}

