/* Product discovery: clear sections, compact controls and complete product photography. */
.product-index-page > .section {
  padding-top: 34px;
  padding-bottom: 56px;
}

.product-index-page .showcase-heading,
.product-index-page .catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  margin-bottom: 20px;
}

.product-index-page :is(.showcase-heading, .catalog-heading) h2,
.series-page .series-listing-title h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.35;
}

.product-index-page :is(.showcase-heading, .catalog-heading) h2 small,
.series-page .series-listing-title h2 small {
  display: inline;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #718076;
}

.product-index-page :is(.showcase-heading, .catalog-heading) p,
.series-page .series-listing-title p {
  max-width: 680px;
  margin: 8px 0 0;
  color: #6a786e;
  font-size: 14px;
  line-height: 1.65;
}

.product-index-page :is(.showcase-heading, .catalog-heading) > a {
  flex-shrink: 0;
  color: var(--green);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.product-index-page .directory-grid .series-item {
  min-height: 124px;
  padding-top: 12px;
  padding-bottom: 12px;
  transition: background-color .18s, border-color .18s;
}

.product-index-page .directory-grid .series-item:hover {
  background: #f7f9f6;
  border-color: #8daa94;
}

.product-index-page .directory-grid .series-label small {
  margin-bottom: 8px;
}

.product-index-page .catalog-section {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid #cfdacf;
}

.product-index-page .catalog-heading {
  margin-bottom: 16px;
}

.series-page {
  padding-top: 26px;
  padding-bottom: 52px;
}

.series-page .series-listing-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: end;
  margin: 0 0 2px;
  padding: 0 0 20px;
  border: 0;
}

.series-page .series-listing-header > .breadcrumb {
  grid-column: 1 / -1;
  width: fit-content;
  font-size: 13px;
  line-height: 1.5;
  color: #6e7b72;
}



.series-page .series-listing-title {
  grid-column: 1;
  min-width: 0;
}

.series-page .series-listing-header > p {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
}

.series-page .series-listing-header > p small {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.5;
}

:is(.product-index-page, .series-page) .catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, .85fr) minmax(240px, 1.55fr) auto;
  align-items: end;
  gap: 16px 20px;
  margin-bottom: 22px;
  padding: 16px 0 18px;
  border-top: 1px solid #dce4dc;
  border-bottom: 1px solid #e7ece7;
  border-radius: 0;
  background: transparent;
}

.series-page .catalog-toolbar {
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
}

:is(.product-index-page, .series-page) .catalog-toolbar label {
  min-width: 0;
  margin: 0;
  color: #65756a;
  font-size: 14px;
  line-height: 1.45;
}

:is(.product-index-page, .series-page) .catalog-toolbar :is(input, select) {
  height: 40px;
  margin-top: 6px;
  padding: 8px 11px;
  border: 1px solid #d2ddd3;
  border-radius: 0;
  background-color: #fff;
  color: #273b2e;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: none;
}

:is(.product-index-page, .series-page) .catalog-toolbar select {
  padding-right: 30px;
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px;
}

:is(.product-index-page, .series-page) .catalog-toolbar input::placeholder {
  color: #8a958d;
  opacity: 1;
}

:is(.product-index-page, .series-page) .catalog-toolbar > [data-product-count] {
  justify-self: end;
  padding: 0 0 10px;
  color: #617367;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
}

:is(.product-index-page, .series-page) .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 20px;
  align-items: stretch;
}

:is(.product-index-page, .series-page) .product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #dce4dd;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
  transform: none;
  transition: border-color .18s, box-shadow .18s;
}

:is(.product-index-page, .series-page) .product-card:hover {
  border-color: #78a38a;
  box-shadow: 0 3px 14px #1539210a;
  transform: none;
}

:is(.product-index-page, .series-page) .card-visual {
  flex: 0 0 auto;
  height: 132px;
  padding: 12px 18px;
  background: #f7f9f6;
}

:is(.product-index-page, .series-page) .card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

:is(.product-index-page, .series-page) .card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 12px 15px;
}

:is(.product-index-page, .series-page) .card-series {
  margin: 0 0 6px;
  color: #4a8060;
  font-size: 12px;
  line-height: 1.45;
  white-space: nowrap;
}

:is(.product-index-page, .series-page) .card-copy h3 {
  min-height: 25px;
  margin: 0 0 7px;
  color: #22382a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}

:is(.product-index-page, .series-page) .card-meta {
  min-height: 18px;
  margin: 0 0 10px;
  color: #778278;
  font-size: 12px;
  line-height: 1.5;
  word-break: normal;
  overflow-wrap: break-word;
}

:is(.product-index-page, .series-page) .card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid #e3eae3;
  color: var(--green);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}



:is(.product-index-page, .series-page) .search-empty {
  padding: 30px 20px;
  border: 1px solid #e1e8e1;
  background: #f7f9f6;
  text-align: center;
  color: #697b6d;
  font-size: 15px;
}

@media (max-width: 1180px) {
  :is(.product-index-page, .series-page) .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 860px) {
  :is(.product-index-page, .series-page) .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-index-page .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  }

  .product-index-page .catalog-toolbar > [data-product-count] {
    grid-column: 1 / -1;
    padding: 0;
  }
}

@media (max-width: 600px) {
  .product-index-page > .section,
  .series-page {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .product-index-page :is(.showcase-heading, .catalog-heading) {
    display: block;
    margin-bottom: 16px;
  }

  .product-index-page :is(.showcase-heading, .catalog-heading) h2,
  .series-page .series-listing-title h2 {
    gap: 4px 10px;
    font-size: 23px;
  }

  .product-index-page :is(.showcase-heading, .catalog-heading) h2 small,
  .series-page .series-listing-title h2 small {
    font-size: 14px;
  }

  .product-index-page :is(.showcase-heading, .catalog-heading) p,
  .series-page .series-listing-title p {
    margin-top: 7px;
    font-size: 13px;
  }

  .product-index-page :is(.showcase-heading, .catalog-heading) > a {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
  }

  .product-index-page .directory-grid .series-item {
    min-height: 119px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .product-index-page .catalog-section {
    margin-top: 26px;
    padding-top: 24px;
  }

  .series-page .series-listing-header {
    gap: 12px;
    padding-bottom: 17px;
  }

  .series-page .series-listing-header > p {
    font-size: 14px;
  }

  .series-page .series-listing-header > p small {
    max-width: 100px;
    white-space: normal;
    font-size: 12px;
    line-height: 1.4;
  }

  :is(.product-index-page, .series-page) .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    padding: 14px 0 16px;
  }

  :is(.product-index-page, .series-page) .catalog-toolbar > [data-product-count] {
    grid-column: auto;
    justify-self: start;
    padding: 0;
    font-size: 12px;
  }

  :is(.product-index-page, .series-page) .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  :is(.product-index-page, .series-page) .product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 100px;
    align-items: center;
    column-gap: 14px;
    min-height: 144px;
    padding: 14px;
  }

  :is(.product-index-page, .series-page) .card-visual {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 112px;
    padding: 5px;
  }

  :is(.product-index-page, .series-page) .card-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    padding: 0;
  }

  :is(.product-index-page, .series-page) .card-series {
    margin-bottom: 5px;
    font-size: 12px;
  }

  :is(.product-index-page, .series-page) .card-copy h3 {
    min-height: 24px;
    margin-bottom: 7px;
    font-size: 17px;
    line-height: 1.4;
  }

  :is(.product-index-page, .series-page) .card-meta {
    margin-bottom: 8px;
    font-size: 12px;
  }

  :is(.product-index-page, .series-page) .card-link {
    padding-top: 8px;
    font-size: 12px;
  }
}
