.pm-products {
  padding: 52px 0 62px;
  overflow: hidden;
  background: #fff;
}

.pm-products .page-width {
  width: min(calc(100% - 64px), 1280px);
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 0;
}

.pm-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.pm-section-heading h2 {
  margin: 0;
  color: #111;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.pm-section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.pm-section-heading__link span {
  font-size: 18px;
  transition: transform .2s ease;
}

.pm-section-heading__link:hover span {
  transform: translateX(3px);
}

.pm-products__track {
  display: grid;
  grid-auto-columns: minmax(190px, 1fr);
  grid-auto-flow: column;
  gap: 12px;
  padding: 0 0 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
}

.pm-product-card {
  min-width: 0;
  scroll-snap-align: start;
}

.pm-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f4f4;
}

.pm-product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s ease, transform .45s ease;
}

.pm-product-card__image--hover {
  opacity: 0;
}

.pm-product-card__media:hover .pm-product-card__image:first-child {
  transform: scale(1.025);
}

.pm-product-card__media:hover .pm-product-card__image--hover {
  opacity: 1;
  transform: scale(1.025);
}

.pm-product-card__pick {
  position: absolute;
  inset: auto 10px 10px auto;
  z-index: 2;
  min-width: 52px;
  padding: 8px 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  background: #111;
}

.pm-product-card__content {
  padding: 11px 7px 6px;
}

.pm-product-card h3 {
  min-height: 38px;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.pm-product-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  color: #222;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pm-product-card__price {
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

.pm-product-card__button {
  display: inline-flex;
  margin-top: 8px;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 960px) {
  .pm-products__track {
    grid-auto-columns: calc((100% - 48px) / 5);
  }
}

@media (max-width: 959px) {
  .pm-products {
    padding: 36px 0 44px;
  }

  .pm-products .page-width {
    width: min(calc(100% - 32px), 1280px);
  }

  .pm-products__track {
    grid-auto-columns: minmax(43vw, 180px);
  }
}
