/* Product detail pages reuse the approved homepage and catalogue components. */
.product-page .navigation > a[aria-current="true"] { background: #e8ebec; color: #111; }
.product-heading { padding-block: 27px 30px; }
.product-heading h1 { font: 400 46px/1.15 var(--heading-font); letter-spacing: 0; color: #000; }
.product-heading > p { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.product-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: 44px; }
.product-main-photo { display: block; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.product-main-photo img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.product-thumbnails { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 15px; }
.product-thumbnails a { display: block; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.product-thumbnails img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.product-thumbnails figcaption { margin-top: 7px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.product-overview-copy h2, .product-dimensions h2, .product-applications h2 { font: 400 34px/1.2 var(--heading-font); letter-spacing: 0; color: #000; }
.product-overview-copy > p { margin-top: 17px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.product-specifications { margin: 22px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; }
.product-specifications > div { display: grid; grid-template-columns: 115px 1fr; gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.product-specifications dt { color: var(--muted); }
.product-specifications dd { margin: 0; }
.product-specifications dd span { color: var(--muted); font-size: 12px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-actions .button { min-height: 44px; padding: 13px 15px; font-size: 12px; }
.product-overview-copy .product-advice { font-size: 12px; margin-top: 18px; }
.product-advice a { white-space: nowrap; }
.product-dimensions { padding-block: 38px 48px; border-top: 1px solid var(--line); }
.product-dimensions .section-heading { margin-bottom: 17px; gap: 30px; }
.product-dimensions .section-heading > p { max-width: 300px; line-height: 1.75; }
.table-intro { max-width: 850px; margin-bottom: 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.table-scroll-hint { display: none; font-size: 12px; line-height: 1.6; color: var(--muted); margin-bottom: 12px; }
.product-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 3px; }
.product-table-scroll:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.product-weight-table { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.product-weight-table caption { text-align: left; padding: 18px 22px; background: #fff; color: var(--muted); font-size: 12px; }
.product-weight-table th, .product-weight-table td { padding: 13px 22px; border-top: 1px solid var(--line); text-align: right; }
.product-weight-table thead { background: #edf0f1; }
.product-weight-table thead th { font-size: 12px; font-weight: 600; }
.product-weight-table th span { font-weight: 400; color: var(--muted); }
.product-weight-table th[scope="colgroup"] { text-align: center; }
.product-weight-table th:first-child { text-align: left; }
.product-weight-table thead tr:nth-child(2) th { text-align: right; }
.product-weight-table tbody th { font-weight: 500; }
.product-weight-table tbody tr:nth-child(even) { background: #f8f9f9; }
.product-weight-table tbody tr:hover { background: #f1f3f3; }
.table-availability { display: inline-block; margin-left: 10px; font-size: 11px; }
.product-technical-notes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; margin-top: 16px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.product-technical-notes strong { font-weight: 500; color: var(--ink); }
.product-selection { margin-top: 28px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 3px; background: #f8f9f9; }
.product-selection h3, .product-machining h3 { font: 400 27px/1.25 var(--heading-font); letter-spacing: 0; color: #000; }
.product-selection > div > p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.product-selection-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 18px; margin-top: 22px; }
.product-selection-form label { display: grid; gap: 8px; margin: 0; font-size: 12px; }
.product-selection-form select { width: 100%; min-width: 0; min-height: 46px; padding: 10px 35px 10px 13px; background: #fff; color: var(--ink); border: 1px solid #c9cfd2; border-radius: 2px; font-size: 14px; }
.product-selection-form .button { min-height: 46px; font-size: 12px; padding: 13px 20px; }
.product-applications { background: #f0f3f4; padding-block: 44px; }
.product-applications-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-applications p { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.product-applications ul { margin: 18px 0 24px; padding-left: 18px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.product-applications li + li { margin-top: 7px; }
.product-machining { border: 1px solid #d9dfe2; border-radius: 3px; background: #fff; overflow: hidden; }
.product-machining > img { width: 100%; height: 210px; object-fit: cover; }
.product-machining > div { padding: 24px; }
.product-machining p { margin-top: 12px; }
.product-machining .button { margin-top: 20px; }
@media (max-width: 980px) {
  .product-overview, .product-applications-grid { gap: 28px; }
  .product-overview-copy h2 { font-size: 30px; }
  .product-specifications > div { grid-template-columns: 95px 1fr; gap: 12px; }
  .product-selection { padding: 24px; }
  .product-selection-form { gap: 13px; }
  .table-availability { display: block; margin-left: 0; }
}
@media (max-width: 760px) {
  .product-heading { padding-block: 24px; }
  .product-heading h1 { font-size: 37px; }
  .product-heading > p { font-size: 13px; }
  .product-overview { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .product-thumbnails { gap: 10px; margin-top: 12px; }
  .product-thumbnails figcaption { font-size: 10px; }
  .product-overview-copy h2, .product-dimensions h2, .product-applications h2 { font-size: 30px; }
  .product-specifications > div { grid-template-columns: 100px 1fr; }
  .product-actions .button { flex: 1 1 auto; justify-content: center; }
  .product-dimensions { padding-block: 30px 34px; }
  .product-dimensions .section-heading { display: block; }
  .product-dimensions .section-heading > p { max-width: none; margin-top: 12px; }
  .table-intro { margin-bottom: 14px; }
  .table-scroll-hint { display: block; }
  .product-weight-table th, .product-weight-table td { padding: 12px 17px; }
  .product-weight-table tbody th { position: sticky; left: 0; background: #fff; }
  .product-weight-table tbody tr:nth-child(even) th { background: #f8f9f9; }
  .product-weight-table thead tr:first-child th:first-child { position: sticky; left: 0; background: #edf0f1; }
  .product-technical-notes { display: block; }
  .product-technical-notes p + p { margin-top: 8px; }
  .product-selection { padding: 22px; margin-top: 24px; }
  .product-selection-form { grid-template-columns: 1fr; gap: 16px; }
  .product-selection-form .button { justify-content: center; }
  .product-applications { padding-block: 32px; }
  .product-applications-grid { grid-template-columns: 1fr; }
  .product-machining > div { padding: 22px; }
}

/* Each original photograph is shown once, in the section it illustrates. */
.product-thumbnails-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
