.catalog-document {
  scroll-padding-top: 88px;
}

.catalog-site {
  background: #0a0e14;
}

.catalog-site #main {
  background: #fff;
}

.catalog-hero {
  border-bottom: 1px solid #293447;
}

.catalog-hero nav a {
  display: inline-block;
  padding-block: 4px;
}

#catalog-search {
  max-width: 42rem;
  margin-top: 1.65rem;
}

#catalog-search label {
  display: block;
  margin-bottom: .5rem;
  color: #fff;
  font-size: .9375rem;
  font-weight: 650;
}

.catalog-search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
}

.catalog-search-controls input,
.catalog-search-controls button {
  min-height: 48px;
  border-radius: .5rem;
  font: inherit;
}

.catalog-search-controls input {
  width: 100%;
  min-width: 0;
  border: 1px solid #566780;
  background: #f5f7fa;
  color: #0a0e14;
  padding: .55rem .875rem;
  font-size: 1rem;
}

.catalog-search-controls input::placeholder {
  color: #4a5568;
}

.catalog-search-controls button {
  width: auto;
  border: 1px solid #566780;
  background: #141a24;
  color: #fff;
  padding: .55rem .875rem;
}

.catalog-search-controls button:hover {
  border-color: #7bb6ff;
}

#catalog-results {
  min-height: 1.4em;
  margin: 0;
  color: #aebace;
  font-size: .875rem;
}

.catalog-search-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .875rem;
  min-height: 40px;
  margin-top: .25rem;
}

#catalog-view-results,
.catalog-series-jump,
.catalog-reset-results {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  align-items: center;
  gap: .35rem;
  padding-block: .3rem;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: .18em;
}

#catalog-view-results,
.catalog-series-jump {
  color: #b5dcff;
}

#catalog-view-results[hidden],
.catalog-reset-results[hidden] {
  display: none;
}

.catalog-reset-results {
  color: #1455be;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.catalog-actions a {
  justify-content: center;
}

.catalog-content {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  color: #4a5568;
}

.catalog-series-title,
.catalog-content > section h2 {
  color: #0a0e14;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.catalog-series-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.catalog-index {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-index a {
  display: flex;
  height: 100%;
  min-height: 44px;
  align-items: center;
  border: 1px solid #dbe3ed;
  border-radius: .5rem;
  background: #f5f7fa;
  color: #18263a;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 550;
  line-height: 1.35;
}

.catalog-index a:hover {
  border-color: #7fa9e9;
  background: #eef5ff;
  color: #1455be;
}

.catalog-content > section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.catalog-content > section > p {
  margin-top: .65rem;
  color: #4a5568;
}

.catalog-content > section > p a,
.catalog-model-quote {
  color: #1455be;
  font-weight: 650;
}

.catalog-model-quote {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: .1rem;
  font-size: .9rem;
}

.catalog-content > section > p a:hover,
.catalog-model-quote:hover {
  text-decoration: underline;
  text-underline-offset: .16em;
}

.catalog-content section[id],
.catalog-site .catalog-product-card[id],
.catalog-site h2[id],
.catalog-site h3[id] {
  scroll-margin-top: 0;
}

.catalog-site .catalog-product-card {
  border-color: #dbe3ed;
  background: #fff;
}

.catalog-site .catalog-product-photos {
  border-bottom: 1px solid #e2e8f0;
}

.catalog-site .catalog-product-description h3 {
  color: #0a0e14;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.catalog-site .catalog-product-description p {
  margin-top: .45rem;
  color: #4a5568;
}

.catalog-site .catalog-product-specs {
  border-top: 1px solid #e2e8f0;
  background: #f5f7fa;
  color: #1e2d42;
}

.catalog-content table {
  width: 100%;
  margin-top: .75rem;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: .9rem;
  color: #1e2d42;
}

.catalog-content caption {
  padding-bottom: .35rem;
  text-align: left;
  font-weight: 650;
}

.catalog-content th,
.catalog-content td {
  padding: .5rem .625rem;
  border-bottom: 1px solid #dbe5ed;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.catalog-content thead th {
  background: #eaf2f8;
  color: #183a54;
}

.catalog-content th:first-child {
  width: 42%;
}

.catalog-content th small {
  display: block;
  font-weight: 500;
}

.catalog-content > .catalog-contact-panel {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #dbe3ed;
  border-radius: .75rem;
  background: #f5f7fa;
}

.catalog-contact-panel .btn-primary {
  background: #1b66ed;
}

.catalog-contact-panel .btn-primary:hover {
  background: #1557d6;
}

.catalog-contact-panel .btn-ghost {
  border-color: #a8b7cb;
  color: #1455be;
}

.catalog-contact-panel .btn-ghost:hover {
  border-color: #7fa9e9;
  background: #eef5ff;
}

.catalog-hero a:focus-visible,
.catalog-search-status button:focus-visible,
.catalog-site :where(#site-header, #mobile-menu, #site-footer) :is(a, button):focus-visible,
.catalog-search-controls :focus-visible {
  outline: 2px solid #8dc9ff;
  outline-offset: 3px;
}

.catalog-content :is(a, button, h2, summary):focus-visible {
  outline: 2px solid #1455be;
  outline-offset: 3px;
}

@media (max-width: 639px) {
  .catalog-hero > div {
    padding-bottom: 2rem;
  }

  .catalog-content {
    padding-top: 1.75rem;
  }

  .catalog-actions a {
    flex: 1 1 auto;
  }

  .catalog-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-content th,
  .catalog-content td {
    padding: .45rem;
  }
}
