/* site/css/v2-products.css — product pages only (v0.12.0). Tokens only. */

/* Product detail hero: copy left, photo right */
.pdp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: var(--space-8, 3rem);
  align-items: center;
}

.pdp-hero-media img {
  max-height: 520px;
  height: auto;
}

@media (max-width: 760px) {
  .pdp-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }
}

/* Bullet list in "Used for" */
.pdp-list {
  padding-left: 0;
}

.pdp-list li {
  position: relative;
  padding-left: var(--space-5);
}

.pdp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

.pdp-list li + li {
  margin-top: var(--space-2);
}

/* Fujiro page: two cards side by side, capped width */
.pdp-pair {
  max-width: 720px;
}

.pdp-same {
  margin-top: var(--space-5);
}

/* Space between the spec heading and its table */
.h2 + .table-scroll {
  margin-top: var(--space-5);
}

.h2 + .video-plate {
  margin-top: var(--space-5);
}

/* Detail hero photo on the same product stage as the cards */
.pdp-hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--stage-product);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
}

.pdp-hero-media img {
  display: block;
  width: 100%;
  max-width: min(100%, var(--native-w, 100%));
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Fujiro page: 1st Gen and Latest Gen as two equal full-width columns */
.pdp-pair {
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .pdp-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pdp-wide .section-grid {
  display: block;
}

.pdp-wide .section-content {
  max-width: none;
}
