.page-intro-title-prefix {
  display: block;
  margin-bottom: 6px;
  font-size: .58em;
  font-weight: 400;
  letter-spacing: -.02em;
  text-transform: none;
}

.page-intro-main-with-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--footer-address-width);
  align-items: center;
  gap: 16px 28px;
  padding-block: clamp(20px, 2.4vw, 34px) 16px;
}

.page-intro-main-with-details .page-intro-aside {
  grid-column: 2;
  grid-row: 1;
}

.page-intro-details {
  max-width: 100%;
  font-size: var(--type-body);
  line-height: 1.45;
}

.catalog-order-terms {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-inline-start: 1.15em;
}

.catalog-order-terms li::marker {
  color: var(--intro-rule);
}

.catalog-manufacture {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 16px;
  color: var(--intro-detail-ink);
}

.catalog-manufacture p {
  margin: 0;
}

.catalog-controls {
  position: relative;
  display: grid;
  border: 1px solid #a4bbb0;
  border-radius: 24px;
  background: #fff;
}

.catalog-controls:has(.catalog-filter) {
  grid-template-columns: minmax(0, 2fr) minmax(112px, 1fr);
}

.catalog-results .catalog-controls .catalog-search input[type=search] {
  height: 46px;
  border: 0;
  background: transparent;
}

.catalog-results .catalog-controls .catalog-search button { width: 44px; height: 44px; }
.catalog-results .catalog-controls .catalog-search input:focus-visible,
.catalog-filter summary:focus-visible { outline: 2px solid var(--action-green); outline-offset: -3px; }

.catalog-filter summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 4px 8px;
  border-inline-start: 1px solid #a4bbb0;
  border-radius: 0 23px 23px 0;
  background: #edf4ef;
  color: var(--green);
  font-weight: 650;
  font-size: 16px;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

.catalog-filter summary::-webkit-details-marker { display: none; }

.catalog-filter[open] summary,
.catalog-filter summary:hover { background: #e0eee4; }

.catalog-filter-count:not([hidden]) {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 12px;
  background: var(--action-green);
  color: #fff;
  font-size: 12px;
}

.catalog-filter-panel {
  position: absolute;
  inset: calc(100% + 8px) 0 auto;
  z-index: 5;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  max-height: 65svh;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid #c5d8cc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px #102f2520;
}

.catalog-filter-fields {
  display: grid;
  gap: 16px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.catalog-filter-panel fieldset { min-width: 0; padding: 0; border: 0; margin: 0; }
.catalog-filter-panel legend { margin-bottom: 8px; font-size: 15px; font-weight: 650; }
.catalog-filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-filter-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #d5e0d5;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--green);
  cursor: pointer;
}
.catalog-filter-options label:has(input:checked) { border-color: #85ae98; background: #e0eee4; }
.catalog-filter-options input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--action-green); }
.catalog-filter-panel .catalog-filter-submit { justify-self: end; }

@media (max-width: 480px) {
  .catalog-filter summary:has(.catalog-filter-count:not([hidden])) > svg { display: none; }
}

@media (max-width: 380px) {
  .catalog-results .catalog-controls .catalog-search input[type=search] { padding-inline: 12px 38px; }
  .catalog-results .catalog-controls .catalog-search button { width: 38px; }
  .catalog-filter summary > svg { display: none; }
}

.catalog-results .catalog-card-body {
  padding-block: 16px;
}

.catalog-results .catalog-card-body h2 {
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.catalog-results .catalog-card-description {
  margin-bottom: 0;
}

.catalog-results .catalog-details {
  justify-content: center;
  min-height: 46px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--action-green);
  color: #fff;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-results .catalog-details:hover {
  background: var(--deep);
  color: #fff;
}

@supports (grid-template-rows: subgrid) {
  .catalog-results .catalog-details {
    align-self: end;
    margin-top: 8px;
  }
}

@supports not (grid-template-rows: subgrid) {
  .catalog-results .catalog-card-body {
    row-gap: 8px;
  }

  .catalog-results .catalog-card-body h2 {
    margin-bottom: 0;
  }
}

.product-summary .product-summary-registry { margin-top: 16px; gap: 14px; }
.product-summary-registry .registry-badge:hover { --origin-icon-ink: var(--red); }
.product-summary .product-tags { margin-block: 16px 0; }
.product-summary .product-tags a {
  padding: 6px 10px;
  border: 1px solid #d5e0d5;
  border-radius: 5px;
  background: var(--surface);
  color: var(--green);
  font-size: 13px;
  line-height: 1.35;
}
.product-summary .product-tags a:hover { background: #e0eee4; }
.product-summary-actions { display: grid; gap: 8px; padding-top: 24px; }
.product-summary .product-summary-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 27px;
  gap: 8px;
  padding: 4px 12px;
  font-size: 14px;
  line-height: 1.2;
}

.product-summary-actions .button svg { width: 16px; height: 16px; flex: none; }

@media (width <= 700px) {
  .product-summary .product-summary-actions .button { min-height: 44px; }
}

@media (width > 700px) {
  .product-intro { row-gap: 0; }
  .product-gallery { display: contents; }
  .product-gallery .gallery-stage { grid-area: 1 / 1; align-self: stretch; min-width: 0; }
  .product-gallery .gallery-thumbs { grid-area: 2 / 1; min-width: 0; }
  .product-summary {
    grid-area: 1 / 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .product-summary-actions { margin-top: auto; }
}

.document-grid .document-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px clamp(12px, 1.4vw, 20px);
  background: #edf4ef;
}

.document-grid .document-card:hover {
  border-color: #a4bea6;
  background: #e3eee6;
}

.registry-document-grid .document-card {
  min-block-size: 176px;
}

.document-registry-type {
  display: grid;
  place-items: center;
  padding-block: 5px;
  --origin-mark-size: 23px;
}

.document-card h3 {
  overflow-wrap: anywhere;
}

.document-card .file-meta {
  margin-top: 8px;
}

.document-card .document-card-action {
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  justify-self: end;
  align-self: end;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #c5d8cc;
  border-radius: 4px;
  background: #fff;
  color: var(--action-green);
  font-size: var(--type-button);
  font-weight: 650;
}

.document-card-action svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.pdf-contents-grid > a {
  background: #e4ece2;
}

.pdf-contents-grid > a:hover {
  background: #dce9dd;
}

.pdf-contents-grid .contents-page {
  color: #41675a;
}

@media (max-width: 760px) {
  .page-intro-main-with-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block: 14px 6px;
  }

  .page-intro-main-with-details .page-intro-aside {
    grid-column: auto;
    grid-row: auto;
  }

  .catalog-manufacture {
    margin-top: 10px;
  }

}
