/* specs.css — product / technical data. The section Libyan industrial and
   trade clients actually get judged on: buyers scan specs before prose. */

/* --- A. table: many products, same attributes -------------------------- */
.specs__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.specs__table {
  width: 100%; min-width: 44rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.specs__table caption {
  text-align: start; color: var(--muted); font-size: var(--step--1);
  padding-block-end: .9rem;
}
.specs__table th, .specs__table td {
  text-align: start;                      /* mirrors automatically in RTL */
  padding: .95rem 1.1rem;
  border-block-end: 1px solid var(--line-soft);
}
.specs__table thead th {
  font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border-block-end: 1px solid var(--line);
  position: sticky; inset-block-start: 0; background: var(--bg);
}
[lang|="ar"] .specs__table thead th { text-transform: none; letter-spacing: 0; }
.specs__table tbody tr:hover { background: var(--surface); }
.specs__table td:first-child { font-family: var(--font-display); }
/* Units read better de-emphasised and never wrap off their number. */
.specs__unit { color: var(--muted); font-size: .85em; white-space: nowrap; }

/* --- B. pairs: one product, attribute/value list ----------------------- */
.specs__pairs {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-block-start: 1px solid var(--line);
}
@media (min-width: 760px) { .specs__pairs { grid-template-columns: repeat(2, 1fr); column-gap: clamp(2rem, 5vw, 4rem); } }
.specs__pair {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding-block: .95rem; border-block-end: 1px solid var(--line-soft);
}
.specs__key { color: var(--muted); }
.specs__val { font-variant-numeric: tabular-nums; text-align: end; }
