/* ALLCUT — Products page: intro and the index table.
   The machine cards (types and machines) are in products-cards.css, the full-screen Machine Reel in products-xr.css. */

/* ───────────── intro ───────────── */
.pp-intro { padding: clamp(28px, 3.2vw, 44px) 0 clamp(24px, 2.6vw, 36px); }
.pp-intro__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 60ch); align-items: end; gap: 20px 48px;
}
.pp-intro .h1 { margin-top: 18px; }
.pp-intro .lede { margin: 0; font-size: calc(clamp(17px, 1.3vw, 19px) * var(--fs)); }
.pp-intro__links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 14px 0 0; font-size: calc(16px * var(--fs)); }
@media (max-width: 860px) { .pp-intro__row { grid-template-columns: 1fr; } }

/* ───────────── index table ───────────── */
.ix { border-top: 1px solid var(--rule); }
.ix-table { min-width: 900px; }
.ix-table col, .ix-table th, .ix-table td { vertical-align: baseline; }
td.ix-no { width: 64px; font: 600 calc(16.3px * var(--fs))/1.3 var(--f-sans); color: var(--ink-2); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ix-model { font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ink); white-space: normal; }
.ix-table tbody th.ix-model { font: 700 calc(17px * var(--fs))/1.3 var(--f-sans); letter-spacing: 0; color: var(--ink); text-transform: none; white-space: normal; }
.ix-model .badge-new { margin-left: 10px; vertical-align: middle; }
.ix-model a { transition: color .15s; }
.ix-model a:hover { color: var(--red-ink); }
.ix-c-no { width: 64px; }
.ix-c-model { width: 22%; }
.ix-c-cap { width: 34%; }
.ix-c-pw, .ix-c-wt { width: 12%; }
.ix-v { font-weight: 700; font-variant-numeric: tabular-nums; }
.ix-cap .ix-v { margin-right: 10px; }
.ix-k { font: 500 calc(15.3px * var(--fs))/1.3 var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); white-space: nowrap; }
.ix-na { color: var(--ink-2); font-weight: 500; font-size: calc(16.3px * var(--fs)); }
.ix-doc {
  display: inline-flex; align-items: center; gap: 8px; font: 600 calc(15px * var(--fs))/1.2 var(--f-sans); letter-spacing: 0;
  color: var(--ink); border-bottom: 1px solid var(--rule-2); padding-bottom: 2px; white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.ix-doc svg { width: 14px; height: 14px; }
.ix-doc:hover { color: var(--red-ink); border-color: var(--red); }

.ix-range th {
  padding: 30px 16px 10px 0; border-bottom: 1px solid var(--ink-4);
  font: 700 calc(20px * var(--fs))/1.2 var(--f-sans); letter-spacing: 0; color: var(--ink); text-transform: none; white-space: normal;
}
.ix-table tbody:first-of-type .ix-range th { padding-top: 22px; }
.ix-range a { transition: color .15s; }
.ix-range a:hover { color: var(--red-ink); }
.ix-range__meta { margin-left: 12px; font: 500 calc(15.3px * var(--fs))/1.3 var(--f-sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.ix-table tbody tr.ix-range:hover { background: none; }
/* Magnetic Drills: a bigger heading over its four sub-type headings, which sit indented */
.ix-group th {
  padding: 30px 16px 6px 0; border-bottom: 1px solid var(--ink);
  font: 800 calc(24px * var(--fs))/1.2 var(--f-sans); letter-spacing: -0.01em; color: var(--ink); text-transform: none; white-space: normal;
}
.ix-table tbody:first-of-type .ix-group th { padding-top: 22px; }
.ix-group a { transition: color .15s; }
.ix-group a:hover { color: var(--red-ink); }
.ix-table tbody tr.ix-group:hover { background: none; }
.ix-range--sub th { padding-top: 22px; padding-left: 16px; font-size: calc(18px * var(--fs)); }

/* index on small screens: the table scrolls sideways, model names stay put */
@media (max-width: 759.98px) {
  .ix-table { min-width: 720px; }
  .ix-c-no, .ix-no { display: none; }
  .ix-table .ix-model {
    position: sticky; left: 0; z-index: 1; background: var(--paper);
    box-shadow: inset -1px 0 0 var(--rule); padding-right: 12px; width: 160px;
  }
  .ix-table tbody tr:hover .ix-model { background: var(--white); }
  .ix-range__in { position: sticky; left: 0; display: inline-block; max-width: calc(100vw - 2 * var(--gutter)); }
  .ix-range__meta { display: block; margin: 4px 0 0; }
}

/* range colour square in the index table's range headings */
.ix-range__in .swatch { margin-right: 10px; }
