.product-category-page {
  --font: MorinagaFallback, Arial, sans-serif;
  background: #fff;
}
.product-category-page .site-footer__masthead {
  background: #fff;
  color: #000;
}

.product-category {
  background: #fff;
  color: #1d1d1d;
  font-family: MorinagaFallback, Arial, sans-serif;
}
.product-category *, .product-category *::before, .product-category *::after {
  box-sizing: border-box;
}
.product-category h1, .product-category h2, .product-category p {
  margin: 0;
}
.product-category a {
  color: inherit;
  text-decoration: none;
}
.product-category a:focus-visible {
  outline: 3px solid #102c54;
  outline-offset: 4px;
}
.product-category__hero {
  background: #f62837;
}
.product-category__hero img {
  display: block;
  width: 100%;
  height: auto;
}
.product-category__width {
  width: min(1192px, 100% - 48px);
  margin-inline: auto;
}
.product-category__listing {
  padding: 48px 0 160px;
}
.product-category h1 {
  font-size: 48px;
  line-height: 64px;
  text-transform: uppercase;
  font-weight: 700;
}
.product-category__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 32px 0 40px;
}
.product-category__filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #1d1d1d;
  border-radius: 24px;
  opacity: 0.5;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
}
.product-category__filters a[aria-current] {
  opacity: 1;
  border-color: #f62837;
  color: #f62837;
}
.product-category__filters a:hover {
  opacity: 1;
}
.product-category__status:not(:empty):not(.is-sr-only) {
  margin-bottom: 20px;
  color: #4e4e4e;
  font-size: 14px;
  line-height: 22px;
}
.product-category__status.is-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.product-category__status a {
  color: #f62837;
  text-decoration: underline;
}
.product-category__listing[aria-busy=true] .product-category__results {
  opacity: 0.5;
}
.product-category__results {
  scroll-margin-top: 24px;
}
.product-category__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
.product-category__card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #afafaf;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.product-category__visual {
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 1;
}
.product-category__visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-category__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 87px;
  min-height: 46px;
  padding: 8px 12px;
  border: 3px solid #f62837;
  border-radius: 50%;
  color: #f62837;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.product-category__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-category__copy h2 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  text-transform: uppercase;
}
.product-category__copy strong {
  font-size: 16px;
  line-height: 24px;
  color: #4e4e4e;
}
.product-category__copy p {
  color: #4e4e4e;
  font-size: 16px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-category__card:hover h2 {
  color: #f62837;
}
.product-category__empty {
  grid-column: 1/-1;
  color: #4e4e4e;
  padding: 32px 0;
}
.product-category__pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.product-category__pagination a {
  min-width: 42px;
  height: 42px;
  padding: 8px;
  display: grid;
  place-items: center;
  border: 1px solid #afafaf;
  border-radius: 50%;
}
.product-category__pagination a[aria-current] {
  background: #f62837;
  color: #fff;
  border-color: #f62837;
}

@media (min-width: 1051px) {
  .product-category__grid--one {
    grid-template-columns: minmax(0, calc((100% - 48px) / 3));
    justify-content: center;
  }
  .product-category__grid--two {
    grid-template-columns: repeat(2, minmax(0, calc((100% - 48px) / 3)));
    justify-content: center;
  }
}
@media (max-width: 1050px) {
  .product-category__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-category__grid--one {
    grid-template-columns: minmax(0, calc((100% - 24px) / 2));
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .product-category__hero {
    padding-top: 64px;
  }
  .product-category__width {
    width: calc(100% - 32px);
  }
  .product-category__listing {
    padding: 32px 0 72px;
  }
  .product-category h1 {
    font-size: 28px;
    line-height: 40px;
  }
  .product-category__filters {
    gap: 10px;
    margin: 24px 0 28px;
  }
  .product-category__filters a {
    font-size: 14px;
    padding-inline: 12px;
    max-width: 100%;
  }
  .product-category__grid, .product-category__grid--one {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-category__card {
    padding: 20px;
  }
}
