/**
 * Empty model archive — the sourcing request shown when a model has no parts.
 *
 * Rendered by inc/model-no-parts.php in place of the parts grid. Typography
 * tokens come from css/typography.css, so this file owns only layout and the
 * brand accent.
 */

.cp-no-parts {
  --cp-no-parts-accent: #002e95;

  max-width: 46rem;
  margin: 2em 0 3em;
  padding: 1.75em 1.75em 1.5em;
  border: 1px solid #e2e4ea;
  border-left: 4px solid var(--cp-no-parts-accent);
  border-radius: 4px;
  background: #fafbfc;
}

.cp-no-parts__title {
  margin: 0 0 0.75em;
  font-family: var(--cp-font-display, inherit);
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: #1a1a1a;
}

.cp-no-parts__body {
  margin: 0 0 0.9em;
  font-family: var(--cp-font-body, inherit);
  font-size: 1em;
  line-height: 1.6;
  color: #3a3f4a;
}

.cp-no-parts__actions {
  margin: 1.25em 0 0;
}

/* Storefront colours links aggressively, hence the two !important values. */
.cp-no-parts__cta {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 3px;
  background: var(--cp-no-parts-accent);
  color: #ffffff !important;
  font-family: var(--cp-font-display, inherit);
  font-size: var(--cp-font-size-cta, 0.875em);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
}

.cp-no-parts__cta:hover,
.cp-no-parts__cta:focus {
  background: #00227a;
  color: #ffffff !important;
}

.cp-no-parts__hint {
  margin: 1.25em 0 0;
  font-family: var(--cp-font-body, inherit);
  font-size: var(--cp-font-size-meta, 0.8125em);
  line-height: 1.5;
  color: #6b7280;
}

@media (max-width: 600px) {
  .cp-no-parts {
    padding: 1.25em;
  }

  .cp-no-parts__cta {
    display: block;
    text-align: center;
  }
}
