/* catalog-parts-page.css — szkielet strony modulu doboru czesci.
   Wyodrebnione z dzialajacego modulu MCR3 Evo, nazwy klas ujednolicone na cat-*,
   zeby strona nie zalezala od pliku stylu konkretnego modelu. */

.cat-app {
  --mcr3-red: #b50000;
  
  --mcr3-red-dark: #880000;
  
  --mcr3-ink: #202020;
  
  --mcr3-muted: #666;
  
  --mcr3-line: #e1e1e1;
  
  --mcr3-soft: #f6f6f6;
  
  --mcr3-warn: #fff7e8;
  
  color: var(--mcr3-ink);
  
  max-width: 100%;
  
  overflow-x: hidden;
}

.cat-app * {
  box-sizing: border-box;
}

.cat-header {
  display: flex;
  
  justify-content: space-between;
  
  gap: 24px;
  
  padding: 22px clamp(12px, 3vw, 28px);
  
  background: #fff;
  
  border-bottom: 4px solid var(--mcr3-red);
}

.cat-header .eyebrow {
  margin: 0 0 6px;
  
  color: var(--mcr3-red);
  
  font-size: 12px;
  
  font-weight: 700;
  
  text-transform: uppercase;
}

.cat-header h1 {
  margin: 0;
  
  font-size: 30px;
  
  line-height: 1.2;
  
  letter-spacing: 0;
}

.cat-header .model-line {
  display: inline-block;
}

.cat-contact {
  display: grid;
  
  gap: 4px;
  
  align-content: center;
  
  min-width: 220px;
  
  font-size: 14px;
}

.cat-contact span,
.cat-muted {
  color: var(--mcr3-muted);
}

.cat-app a {
  color: var(--mcr3-red);
  
  font-weight: 700;
}

.cat-help-panel {
  display: flex;
  
  align-items: center;
  
  justify-content: space-between;
  
  gap: 18px;
  
  margin: 0;
  
  padding: 16px clamp(12px, 3vw, 28px);
  
  background: #fff7e8;
  
  border-bottom: 1px solid #ead8bd;
  
  box-shadow: inset 5px 0 0 var(--mcr3-red);
}

.cat-help-panel strong {
  display: block;
  
  margin-bottom: 4px;
  
  font-size: 18px;
  
  line-height: 1.25;
}

.cat-help-panel span {
  display: block;
  
  color: var(--mcr3-muted);
  
  line-height: 1.45;
}

.cat-help-actions {
  display: flex;
  
  flex-wrap: wrap;
  
  gap: 8px;
  
  justify-content: flex-end;
  
  min-width: 270px;
}

.cat-help-actions a {
  display: inline-flex;
  
  align-items: center;
  
  justify-content: center;
  
  min-height: 42px;
  
  padding: 9px 14px;
  
  border: 1px solid var(--mcr3-red);
  
  border-radius: 6px;
  
  background: #fff;
  
  text-decoration: none;
  
  text-align: center;
}

.cat-header,
  .cat-help-panel,
  .cat-toolbar,
  .cat-workspace {
  grid-template-columns: 1fr;
}

.cat-header {
  display: grid;
}

.cat-help-panel {
  display: grid;
}

.cat-help-actions {
  justify-content: stretch;
  
    min-width: 0;
}

.cat-help-actions a {
  flex: 1 1 190px;
}

.cat-header h1 {
  font-size: 24px;
}

.cat-header .model-line {
  display: block;
}

.cat-toolbar,
  .cat-workspace,
  .cat-help-panel,
  .cat-header {
  padding-left: 10px;
  
    padding-right: 10px;
}

