.product-showcase,
.home-supplement-guides__header,
.supplements-section__header {
  --showcase-green: #087443;
}

.product-showcase {
  --showcase-border: #d4e9dc;
  --showcase-width: min(1440px, calc(100vw - 48px));
  width: var(--showcase-width);
  margin: 0 calc((100% - var(--showcase-width)) / 2) 24px;
}

.product-showcase__header {
  display: grid;
  justify-items: center;
  gap: 8px;
  /* Use the blank space after the category cards and above the listing. */
  margin: -144px 0 26px;
  padding: 0;
  border: 0;
  background: none;
}

.product-showcase__header .product-showcase__badge {
  padding: 6px 14px;
  color: #fff;
  font-size: 14px;
}

.product-showcase__title-row {
  display: grid;
  grid-template-columns: clamp(16px, 7vw, 110px) minmax(0, auto) clamp(16px, 7vw, 110px);
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  max-width: 100%;
}

.product-showcase__title-row::before,
.product-showcase__title-row::after {
  content: "";
  height: 1px;
  background: var(--showcase-green);
}

:is(.product-showcase, .home-supplement-guides__header, .supplements-section__header) .product-showcase__heading {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #111827 !important;
  font: 700 clamp(23px, 3.2vw, 42px)/1.15 "PT Sans", sans-serif !important;
  text-align: center;
}

.product-showcase__heading::before,
.product-showcase__heading::after {
  content: none;
}

:is(.product-showcase, .home-supplement-guides__header, .supplements-section__header) .product-showcase__intro {
  max-width: 58ch;
  margin: 0 !important;
  color: #53636a;
  font: 400 clamp(15px, 1.5vw, 17px)/1.45 "PT Sans", sans-serif;
  text-align: center;
}

@media (max-width: 1100px) {
  .product-showcase__header {
    margin-top: -124px;
  }
}

.product-showcase__header.supplements-section__header {
  margin: 0 0 46px;
}

.supplements-section__header .product-showcase__intro {
  color: var(--showcase-green);
}

@media (max-width: 620px) {
  .product-showcase__title-row {
    grid-template-columns: 17px minmax(0, auto) 17px;
  }
}

.product-showcase__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.product-showcase[data-enhanced] .product-showcase__layout {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
}

.product-showcase__track {
  --showcase-visible: 4;
  --showcase-gap: 16px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  grid-auto-columns: calc((100% - (var(--showcase-visible) - 1) * var(--showcase-gap)) / var(--showcase-visible));
  gap: var(--showcase-gap);
  margin: 0;
  padding: 4px 0 12px;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  list-style: none;
}

.product-showcase[data-enhanced] .product-showcase__track {
  scrollbar-width: none;
}

.product-showcase__card {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 10px;
  align-items: start;
  justify-items: start;
  min-width: 0;
  padding: clamp(14px, 1.6vw, 22px);
  border: 1px solid var(--showcase-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 12px #004f4612;
  scroll-snap-align: start;
}

.product-showcase__image {
  display: block;
  width: 100%;
  height: clamp(180px, 18vw, 250px);
  object-fit: scale-down;
  object-position: center;
}

.product-showcase .product-showcase__category {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 999px;
  color: #065c38;
  background: #e6f5eb;
  font-weight: 700;
  font-size: 13px;
}

.product-showcase .product-showcase__card h3 {
  margin: 0 !important;
  color: #111827 !important;
  font: 700 22px/1.2 "PT Sans", sans-serif !important;
}

.product-showcase .product-showcase__card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  block-size: 7.25em;
  overflow: hidden;
  margin: 0;
  color: #43545e;
  font: 400 16px/1.45 "PT Sans", sans-serif;
  text-align: left;
}

.product-showcase .product-showcase__cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--showcase-green);
  color: #fff;
  font: 700 14px/1.25 "PT Sans", sans-serif !important;
  text-decoration: none;
}

.product-showcase .product-showcase__cta:not([aria-disabled]):hover {
  background: #00583b;
  color: #fff;
}

.product-showcase .product-showcase__cta[aria-disabled="true"] {
  cursor: not-allowed;
}

.product-showcase__arrow,
.product-showcase__dot {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--showcase-border);
  border-radius: 50%;
  color: #065c38;
  background: #fff;
  cursor: pointer;
}

.product-showcase [hidden] {
  display: none;
}

.product-showcase .product-showcase__arrow {
  width: 40px !important;
  height: 40px !important;
  min-width: 0;
  min-height: 0;
  border: 1px solid #a1d2b8;
  border-radius: 50%;
  background: #e6f5eb;
  color: #065c38;
  box-shadow: 0 3px 8px #004f4620;
  translate: 0 -4px;
}

.product-showcase .product-showcase__arrow:hover:not([aria-disabled="true"]) {
  border-color: var(--showcase-green);
  background: #d5eddf;
}

.product-showcase__arrow[aria-disabled="true"] {
  opacity: .5;
  cursor: default;
}

.product-showcase__pagination:not([hidden]) {
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}

.product-showcase .product-showcase__dot {
  flex: 0 0 26px;
  width: 26px !important;
  min-width: 26px !important;
  max-width: 26px !important;
  height: 28px !important;
  border: 0;
  box-shadow: none !important;
}

.product-showcase__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--showcase-green);
  border-radius: 50%;
}

.product-showcase__dot[aria-current="true"]::before {
  width: 13px;
  height: 13px;
  background: var(--showcase-green);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--showcase-green);
}

.product-showcase :is(a, button, ul):focus-visible {
  outline: 2px solid #004f46;
  outline-offset: 3px;
}

.product-showcase .product-showcase__cta:focus-visible {
  outline-offset: 2px;
}

.product-showcase__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .product-showcase__track {
    --showcase-visible: 2;
  }
}

@media (max-width: 620px) {
  .product-showcase {
    --showcase-width: calc(100vw - 40px);
  }

  .product-showcase__track {
    --showcase-visible: 1;
  }

  .product-showcase[data-enhanced] .product-showcase__track {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .product-showcase .product-showcase__arrow {
    position: absolute;
    z-index: 1;
    top: calc(50% - 4px);
    width: 26px !important;
    height: 26px !important;
    translate: 0 -50%;
  }

  .product-showcase__arrow[data-showcase-previous] {
    left: -12px;
  }

  .product-showcase__arrow[data-showcase-next] {
    right: -12px;
  }
}
.product-showcase.latest-blog {
  margin-bottom: 40px;
  background: #fff;
}

.latest-blog .latest-blog__heading {
  margin: 0 0 24px;
}

.product-showcase.latest-blog .product-showcase__heading {
  font-size: clamp(23px, 2.72vw, 34.8px) !important;
}

.latest-blog .product-showcase__intro {
  max-width: 90ch;
}

.latest-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  max-width: calc(var(--blog-card-count) * 330px + (var(--blog-card-count) - 1) * 16px);
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none;
}

.latest-blog__card {
  min-width: 0;
  border: 1px solid var(--showcase-border);
  border-radius: 20px;
  padding: 7px;
  background: #fff;
  box-shadow: 0 5px 16px #004f460d;
}

.latest-blog__card article,
.latest-blog__copy {
  display: flex;
  flex-direction: column;
}

.latest-blog__card article {
  height: 100%;
}

.latest-blog__image {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 14px;
}

.latest-blog__copy {
  flex: 1;
  padding: 12px 12px 16px;
  overflow-wrap: anywhere;
}

.latest-blog__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  color: #53636a;
  font-size: 14px;
  line-height: 1.35;
}

.latest-blog__category {
  color: var(--showcase-green);
  font-weight: 700;
}

.latest-blog__category + time {
  border-inline-start: 1px solid #8db5a3;
  padding-inline-start: 8px;
}

.latest-blog .latest-blog__card h3 {
  margin: 10px 0 8px;
  color: #111827;
  font: 700 clamp(19px, 1.55vw, 24px)/1.2 "PT Sans", sans-serif;
}

.latest-blog .latest-blog__card p {
  margin: 0 0 16px;
  color: #43545e;
  font: 400 16px/1.45 "PT Sans", sans-serif;
  text-align: left;
}

.latest-blog__link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--showcase-green);
  font-weight: 700;
  text-decoration: none;
}

.latest-blog__link:hover {
  text-decoration: underline;
}

@media (max-width: 620px) {
  .latest-blog__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.blog-archive time {
  display: block;
  color: #53636a;
}

.blog-archive-page {
  width: min(1180px, calc(100% - 36px));
  margin: 48px auto;
}

.blog-archive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.latest-blog a:focus-visible,
.blog-archive a:focus-visible {
  outline: 2px solid #004f46;
  outline-offset: 3px;
}
.product-showcase.latest-products {
  margin-bottom: 40px;
  background: #fff;
}

.latest-products .latest-products__header {
  margin: 0 0 24px;
}

.latest-products .latest-products__header .product-showcase__heading {
  font-size: clamp(23px, 2.8vw, 36px) !important;
}

.latest-products__list {
  --latest-product-columns: 5;
  --latest-product-gap: clamp(12px, 1.4vw, 20px);
  --latest-product-visible-columns: min(var(--latest-product-count, 1), var(--latest-product-columns));
  display: grid;
  grid-template-columns: repeat(var(--latest-product-visible-columns), minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--latest-product-gap);
  max-width: calc(var(--latest-product-visible-columns) * 280px
    + (var(--latest-product-visible-columns) - 1) * var(--latest-product-gap));
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none;
}

.latest-products .product-showcase__card {
  display: block;
  grid-row: auto;
  padding: 0;
  border-color: #cfe7d9;
  box-shadow: 0 5px 16px #004f4612;
}

.latest-products__link {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  height: 100%;
  padding: clamp(12px, 1.45vw, 22px);
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.latest-products .product-showcase__image {
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.latest-products .product-showcase__category {
  margin-top: 4px;
}

.latest-products__action {
  margin-top: auto;
  padding-top: 6px;
  color: var(--showcase-green);
  font-weight: 700;
}

.latest-products__link:hover .latest-products__action {
  text-decoration: underline;
}

.latest-products__link:focus-visible {
  outline: 2px solid #004f46;
  outline-offset: -4px;
  border-radius: inherit;
}

@media (max-width: 1023px) {
  .latest-products__list {
    --latest-product-columns: 3;
  }
}

@media (max-width: 620px) {
  .latest-products__list {
    --latest-product-columns: 2;
  }
}
