body.catalog-collection .collection-heading {
  width: min(100%, 1760px);
  margin-inline: auto;
  padding: clamp(18px, 3vw, 42px) var(--ag-gutter, 5%) 8px;
}
.collection-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #466451;
  font-size: .875rem;
  font-weight: 650;
}
.collection-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.collection-heading h1 {
  margin: 8px 0 0;
  color: #173a2c;
  font-size: clamp(1.9rem, 4.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.046em;
  overflow-wrap: anywhere;
}

body.catalog-collection .manufacturer-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  width: 100%;
  min-height: clamp(290px, 43vw, 600px);
  padding-block: clamp(30px, 5vw, 78px);
  background: #172e24;
  color: #f6faee;
}
.manufacturer-cover-image, .manufacturer-cover::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.manufacturer-cover-image { z-index: -2; object-fit: cover; object-position: center 56%; }
.manufacturer-cover::before {
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, #10231aea, #10231a28 80%), linear-gradient(90deg, #10231a9c, transparent 74%);
}
.manufacturer-cover .collection-heading-inner { width: min(100%, 1600px); margin-inline: auto; }
.manufacturer-cover .collection-crumb { color: #f0f8e5; flex-wrap: wrap; }
.manufacturer-cover h1 { color: #fff; font-size: clamp(2.4rem, 6.2vw, 6rem); }
.manufacturer-cover p { max-width: 48ch; margin-block: 15px 20px; font-size: clamp(1rem, 1.6vw, 1.25rem); }
.manufacturer-cover-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 6px;
  background: #deefa6;
  color: #173a2c;
  font-weight: 750;
  text-decoration: none;
}
.manufacturer-cover-link:is(:hover, :focus-visible) { background: #f2fad3; }
.manufacturer-cover + .catalog { margin-top: clamp(18px, 3vw, 40px); }

body.catalog-collection main .catalog { padding-block: 0 clamp(36px, 6vw, 80px); }
body.catalog-collection .catalog > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  column-gap: 16px;
  max-width: 1760px;
}
body.catalog-collection .catalog-navigation { flex: none; margin-block: 1px 8px; }
body.catalog-collection .catalog-navigation:has(details[open]) { flex-basis: 100%; }
body.catalog-collection .catalog .bar {
  display: grid;
  flex: 1 1 240px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-block: 0 14px;
  padding-block: 0;
}
body.catalog-collection .catalog .bar .counter { grid-area: 1 / 2; padding: 0; white-space: nowrap; }
body.catalog-collection .catalog .bar:has(.catalog-group-filter:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 270px) auto;
}
body.catalog-collection .catalog .bar:has(.catalog-group-filter:not([hidden])) .counter { grid-area: 1 / 3; }
.catalog-group-filter {
  grid-area: 1 / 2;
  width: 100%;
  min-height: 46px;
  padding: 8px;
  border: 1px solid #78917c;
  border-radius: 8px;
  background: #f8faf4;
  color: #173a2c;
  font: 650 .9rem/1.3 Manrope, sans-serif;
  text-overflow: ellipsis;
}
body.catalog-collection .catalog-search-field { min-width: 0; }
body.catalog-collection .catalog .bar .search { width: 100%; min-width: 0; }
body.catalog-collection .catalog-search-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.catalog-collection #products {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.65vw, 25px);
  margin: 0;
}
body.catalog-collection #products .catalog-model-card {
  grid-template: "photo" auto "specs" 1fr / minmax(0, 1fr);
  min-height: 0;
  color: #193a2c;
  background: #f8faf2;
  border: 1px solid #c9d7c0;
  border-radius: 10px;
  box-shadow: none;
  transform: none;
}
body.catalog-collection #products .catalog-model-card > :is(.product-image, .catalog-card-gallery) {
  grid-area: photo;
  min-height: 0;
  aspect-ratio: 16 / 10;
}
body.catalog-collection #products .catalog-model-card .product-image { min-height: 0; }
body.catalog-collection #products .catalog-model-card img { object-position: center; }
body.catalog-collection[data-category="agroapollo"] #products .catalog-model-card img {
  object-fit: contain;
  object-position: center;
  padding: 0;
  background: #e4ebdb;
}
body.catalog-collection #products .catalog-model-card .gallery-step {
  top: 50%;
  width: 44px;
  height: 44px;
  font-size: 32px;
}
body.catalog-collection #products .catalog-model-card .product-content {
  grid-area: specs;
  align-self: stretch;
  justify-content: space-between;
  gap: 11px;
  padding: clamp(12px, 1.5vw, 23px);
  background: none;
  pointer-events: auto;
}
.catalog-model-card h2 {
  margin: 0;
  color: #173a2c;
  font-size: clamp(1.22rem, 2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-shadow: none;
  overflow-wrap: anywhere;
}
.catalog-model-specs { margin: 0; }
.catalog-model-type {
  margin: 0;
  color: #486352;
  font-size: .9375rem;
  line-height: 1.4;
}
.catalog-model-specs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
  padding: 7px 0;
  border-top: 1px solid #dbe5d4;
  font-size: clamp(.8125rem, 1.1vw, .975rem);
}
.catalog-model-specs dt { color: #486352; }
.catalog-model-specs dd {
  max-width: 22ch;
  margin: 0;
  color: #173a2c;
  font-weight: 800;
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.catalog-model-specs .catalog-spec-note { display: block; }
.catalog-model-specs .catalog-spec-note dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.catalog-model-specs .catalog-spec-note dd { max-width: none; text-align: start; }
body.catalog-collection #products .catalog-model-card .links {
  margin-top: auto;
  gap: 8px;
}
body.catalog-collection #products .catalog-model-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #b6cdb2;
  border-radius: 6px;
  background: #e9f1df;
  color: #173a2c;
}
body.catalog-collection #products .catalog-model-card .more:is(:hover, :focus-visible) { background: #dcebcf; }
body.catalog-collection #products .catalog-model-card .call {
  padding: 7px 8px;
  background: transparent;
  color: #2d6143;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  body.catalog-collection #products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.catalog-collection .catalog .bar:has(.catalog-group-filter:not([hidden])) { grid-template-columns: minmax(0, 1fr) auto; }
  body.catalog-collection .catalog .bar:has(.catalog-group-filter:not([hidden])) .counter { grid-area: 1 / 2; }
  .catalog-group-filter { grid-area: 2 / 1 / 3 / -1; }
}
@media (max-width: 560px) {
  .collection-heading h1 { font-size: clamp(1.45rem, 6.9vw, 1.9rem); }
  body.catalog-collection .catalog-navigation { flex-basis: 100%; }
  body.catalog-collection #products { grid-template-columns: minmax(0, 1fr); }
  body.catalog-collection #products .catalog-model-card > :is(.product-image, .catalog-card-gallery) { aspect-ratio: 16 / 9; }
}
