.products-page {
  padding-bottom: 5rem;
  background-color: var(--bs-light);
}

.products-hero {
  position: relative;
  isolation: isolate;
  min-height: 34rem;
  overflow: hidden;
  background-color: var(--color-background-dark);
}

.products-hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("../images/products-hero-process-control.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.products-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 34rem;
  align-items: center;
  padding-block: 4.5rem;
}

.products-hero-content {
  display: flex;
  width: min(100%, 37rem);
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
}

.products-hero-content .section-subtitle {
  color: var(--brand-color);
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.products-page-title {
  margin: 0;
  color: var(--bs-white);
  font-size: clamp(2.625rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: 0;
}

.products-page-intro {
  max-width: 33rem;
  margin: 0;
  color: rgb(255 255 255 / 78%);
  font-size: 1rem;
  line-height: 1.7;
}

.products-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.products-hero-actions .btn {
  padding-inline: 1.25rem;
  font-size: 0.9375rem;
}

.products-hero-secondary {
  background-color: rgb(0 18 38 / 46%);
}

.products-hero-secondary:hover,
.products-hero-secondary:focus-visible {
  color: var(--bs-white) !important;
}

.products-hero-range {
  color: rgb(255 255 255 / 72%);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.6;
}

.products-filter-nav {
  margin-bottom: 3rem;
}

.products-section-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.products-category-section {
  scroll-margin-top: calc(var(--inner-scroll-nav-sticky-top, 84px) + 96px);
}

.products-category-header {
  margin-bottom: 2rem;
}

.products-category-header h2 {
  margin-bottom: 0.875rem;
  color: var(--color-background-dark);
  font-size: 1.875rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
}

.products-category-header p {
  margin-bottom: 0;
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.75;
}

.products-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  background-color: var(--bs-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--bs-box-shadow-sm);
  text-decoration: none;
  transition: box-shadow var(--animation-duration-normal) ease;
}

.products-card-link:hover {
  box-shadow: var(--bs-box-shadow);
}

.products-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.products-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.28s ease-in-out;
}

.products-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.375rem;
  background-color: var(--bs-white);
}

.products-card-category {
  margin-bottom: 0.625rem;
  color: var(--brand-color);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.products-card-title {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.3;
}

.products-card-summary {
  margin-bottom: 1rem;
  color: var(--color-muted-foreground);
  font-size: 0.8125rem;
  line-height: 1.65;
}

.products-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: auto;
}

.products-card-cta .bx {
  font-size: 20px;
}

.products-cta {
  padding: 1.5rem;
  background-color: var(--bs-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.products-cta-icon-wrapper {
  display: flex;
  min-width: 78px;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  color: var(--brand-color);
  background-color: rgb(var(--brand-color-rgb) / 6%);
  border: 1px solid rgb(var(--brand-color-rgb) / 28%);
  border-radius: 50%;
  font-size: 2.25rem;
}

.products-cta-title {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.25;
}

.products-cta-description {
  max-width: 620px;
  margin: 0;
  color: var(--color-muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.products-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.products-cta-actions .btn {
  display: inline-flex;
  gap: 0.375rem;
  align-items: center;
  justify-content: center;
}

@media (width < 1200px) {
  .products-hero {
    min-height: 32rem;
  }

  .products-hero-inner {
    min-height: 32rem;
  }

  .products-hero-content {
    width: min(100%, 33rem);
  }

  .products-page-title {
    font-size: clamp(2.5rem, 4.5vw, 3.25rem);
  }
}

@media (width < 992px) {
  .products-hero {
    min-height: 44rem;
  }

  .products-hero-art {
    background-position: 76% 100%;
    background-size: 74rem auto;
  }

  .products-hero-inner {
    min-height: 44rem;
    align-items: flex-start;
    padding-block: 3.5rem 21rem;
  }

  .products-hero-content {
    width: min(100%, 37rem);
  }
}

@media (width < 768px) {
  .products-hero {
    min-height: 46rem;
  }

  .products-hero-art {
    background-position: 66% 100%;
    background-size: 64rem auto;
  }

  .products-hero-inner {
    min-height: 46rem;
    padding-block: 3.25rem 19rem;
  }

  .products-page-title {
    font-size: clamp(2.35rem, 9vw, 3.25rem);
  }

  .products-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (width < 576px) {
  .products-hero {
    min-height: 48rem;
  }

  .products-hero-art {
    background-position: 64% 100%;
    background-size: 58rem auto;
  }

  .products-hero-inner {
    min-height: 48rem;
    padding-block: 3rem 18rem;
  }

  .products-hero-content {
    gap: 0.875rem;
  }

  .products-page-title {
    font-size: clamp(2.25rem, 11vw, 2.875rem);
  }

  .products-page-intro {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .products-hero-actions,
  .products-hero-actions .btn {
    width: 100%;
  }

  .products-hero-actions .btn {
    justify-content: center;
  }

  .products-hero-range {
    font-size: 0.75rem;
  }

  .products-cta-icon-wrapper {
    min-width: 58px;
    min-height: 58px;
    font-size: 1.5rem;
  }

  .products-cta-title,
  .products-cta-description {
    text-align: center;
  }

  .products-cta-actions {
    flex-direction: column;
    align-items: center;
  }
}
