/* JGS2 only: preserve the established v2 layout and shared pages. */
.jgs2-product .line-scale-v2-hero-media img { object-fit: contain; }
body.site-detail-layout[data-page]:has(.jgs2-product) #main .section-index-nav { width: 100%; max-width: none; padding-inline: max(var(--detail-gutter),calc((100% - 1280px) / 2)); border-bottom: 0; background: #f0f0f0; }
.jgs2-product .line-scale-v2-specs { background: #fff; }
body.site-detail-layout[data-page] #main .jgs2-product .material-v2-spec-table :is(th,td) { color: #171717; border-color: #f0f0f0; font-size: 16px; line-height: 1.65; }
.jgs2-product .material-v2-spec-table thead th { background: #f0f0f0; }
.jgs2-geometry { padding-block: 64px; }
.jgs2-geometry-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,5vw,72px); align-items: center; }
.jgs2-geometry figure { margin: 0; }
.jgs2-geometry img { display: block; width: 100%; height: auto; }
.jgs2-geometry figcaption { margin-top: 12px; color: #626b75; font-size: 14px; }
.jgs2-geometry dl { margin: 0; }
.jgs2-geometry dl div { padding-block: 18px; }
.jgs2-geometry dt { font-size: 18px; font-weight: 500; color: #171717; }
.jgs2-geometry dd { margin: 10px 0 0; font-size: 16px; line-height: 1.7; color: #171717; }
.jgs2-selection { background: #f0f0f0; }
.jgs2-selection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 36px; }
.jgs2-selection-grid h3 { color: #171717; font-size: 22px; }
.jgs2-selection-grid p { color: #171717; font-size: 16px; line-height: 1.7; }
@media (max-width: 800px) {
  .jgs2-geometry-grid, .jgs2-selection-grid { grid-template-columns: minmax(0,1fr); }
  .jgs2-geometry figure { max-width: 560px; width: 100%; }
  .jgs2-geometry { padding-block: 48px; }
  .jgs2-selection-grid { gap: 24px; }
}
