.products-directory-page {
  background: #fff;
  color: #080808;
}

.products-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 100 / 17;
  overflow: hidden;
  background: #f3f0ed;
}

.products-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.products-directory {
  padding: clamp(58px, 6.4vw, 104px) clamp(28px, 3.15vw, 64px) clamp(110px, 10vw, 180px);
}

.products-directory h1 {
  max-width: 1120px;
  margin: 0 0 clamp(54px, 5vw, 82px);
  font-size: clamp(44px, 4.15vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 650;
}

.product-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3.45vw, 64px);
  align-items: start;
}

.product-directory-card {
  position: relative;
  min-height: 190px;
  border: 1px solid #161616;
  background: #fff;
  outline: none;
  overflow: hidden;
  z-index: 1;
  transition: border-color .25s ease, box-shadow .3s ease;
}

.product-directory-card:hover,
.product-directory-card:focus-within,
.product-directory-card.is-open {
  z-index: 10;
  border-color: #e21b2d;
  box-shadow: 0 24px 48px rgba(16, 16, 16, .11);
}

.product-card-face {
  min-height: 188px;
  padding: 26px 31px 27px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #8e8e8e;
}

.product-card-number {
  font-size: 12px;
  line-height: 1;
  letter-spacing: .02em;
}

.product-card-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #545454;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card-title-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.product-card-title-row h2 {
  margin: 0;
  max-width: 210px;
  font-size: clamp(20px, 1.45vw, 29px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 560;
}

.product-card-arrow {
  flex: none;
  color: #ed1c2f;
  font-size: 19px;
  line-height: 1;
  transition: transform .25s ease;
}

.product-directory-card:hover .product-card-arrow,
.product-directory-card:focus-within .product-card-arrow,
.product-directory-card.is-open .product-card-arrow {
  transform: translate(3px, -3px);
}

.product-card-dropdown {
  position: static;
  padding: 0 31px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border-top: 1px solid transparent;
  transform: translateY(-8px);
  transition: max-height .42s cubic-bezier(.2,.7,.2,1), opacity .22s ease, transform .3s ease, padding .3s ease;
}

.product-directory-card:hover .product-card-dropdown,
.product-directory-card:focus-within .product-card-dropdown,
.product-directory-card.is-open .product-card-dropdown {
  max-height: 520px;
  padding-top: 30px;
  padding-bottom: 38px;
  opacity: 1;
  pointer-events: auto;
  border-color: #e2e2e2;
  transform: translateY(0);
}

.product-card-dropdown .product-group {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.product-card-dropdown .product-group + .product-group {
  margin-top: 34px;
  padding-top: 0;
  border-top: 0;
}

.product-card-dropdown .product-group h3 {
  margin: 0 0 13px;
  color: #111;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: .01em;
  font-weight: 650;
}

.product-card-dropdown .product-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card-dropdown .product-group li {
  position: relative;
  padding: 5px 0 5px 13px;
  color: #656565;
  font-size: 13px;
  line-height: 1.35;
}

.product-card-dropdown .product-group li a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease;
}

.product-card-dropdown .product-group li a:hover,
.product-card-dropdown .product-group li a:focus-visible {
  color: #e21b2d;
}

.product-card-dropdown .product-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  background: #e21b2d;
}

@media (max-width: 1050px) {
  .product-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }

  .product-card-title-row h2 {
    font-size: 25px;
  }
}

@media (max-width: 900px) {
  .products-banner {
    margin-top: 72px;
  }

  .products-directory-page .footer-top nav {
    background: transparent;
  }
}

@media (max-width: 760px) {
  .products-banner {
    height: auto;
    aspect-ratio: 1944 / 809;
  }

  .products-banner img {
    object-fit: cover;
    object-position: center;
  }

  .products-directory {
    padding: 48px 20px 84px;
  }

  .products-directory h1 {
    margin-bottom: 40px;
    font-size: clamp(37px, 11.5vw, 52px);
  }

  .product-directory-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-directory-card {
    min-height: 168px;
  }

  .product-card-face {
    min-height: 166px;
    padding: 22px 24px 24px;
  }

  .product-card-title-row h2 {
    max-width: 240px;
    font-size: 25px;
  }

  .product-card-dropdown {
    border: 0;
    transform: none;
    padding-left: 24px;
    padding-right: 24px;
  }

  .product-directory-card:not(.is-open):hover .product-card-dropdown,
  .product-directory-card:not(.is-open):focus-within .product-card-dropdown {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
  }

  .product-directory-card.is-open .product-card-dropdown {
    max-height: 560px;
    padding-top: 30px;
    padding-bottom: 38px;
    border-top: 1px solid #e2e2e2;
  }

  .product-directory-card.is-open:hover .product-card-dropdown,
  .product-directory-card.is-open:focus-within .product-card-dropdown {
    max-height: 560px;
    padding-top: 30px;
    padding-bottom: 38px;
    opacity: 1;
  }

  .site-header.nav-open nav {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card-dropdown,
  .product-card-arrow {
    transition: none;
  }
}
