/* Summa-Chem — Magmaweld dopune uz gloor.css (v1).
   Samo ono što Gloor sustav nema: višestupčane tehničke tablice s
   header-retkom, grupirane tablice specifikacija strojeva i male oznake
   pozicija zavarivanja/polariteta. Sve ostalo su postojeće g-*/ga-* klase. */

/* .mw-table and .mw-table-wrap are defined in gloor.css, which every Magmaweld
   page also loads — see the "data tables" block there. Only the Magmaweld-only
   additions remain in this file. */

/* grupni naslovi unutar tablice tehničkih karakteristika strojeva */
.mw-table .mw-group td {
  font-weight: 700;
  color: var(--l-orange-soft);
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid var(--l-line);
}

/* pozicije zavarivanja i polaritet kao tekstualne oznake */
.mw-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.mw-badges .badge { cursor: default; }

/* red s više atributa (pozicije + polaritet + zaštitni plin) */
.mw-attrs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 6px;
}
.mw-attrs h3 { margin: 0 0 4px; font-size: var(--fs-base); color: var(--l-muted); }

/* varijante/pakiranja: istakni stupac s kataloškom šifrom */
.mw-table td.mw-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: var(--fs-xs); }

/* kartica kataloga: redak s klasifikacijama */
.mw-card-std { color: var(--l-muted); font-size: var(--fs-xs); margin: 0; }
.mw-card-std b { color: var(--l-text); font-weight: 600; }

/* naslov programa unutar sekcije Program na landing stranici */
.ga-seg-title {
  margin: 26px 0 14px;
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--l-orange-soft);
}


/* subcategory groups carry their category name so duplicate labels
   (e.g. "Nehrđajući čelici" under TIG and MIG/MAG) stay distinguishable */
.g-sub-head {
  margin: 14px 0 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--l-muted);
}
.g-sub-list:first-child .g-sub-head { margin-top: 0; }

/* wide tables must be reachable by keyboard, not just by pointer */
.mw-table-wrap:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
