/* AOS transforms on the product grid create a stacking context. Keep the
   category dropdown above that grid while it is open. */
.category {
  padding-top: 4rem;
}

.category-heading {
  z-index: 5;
}

.category-heading-title ul {
  z-index: 6;
}

/* Empty category messages are a page-level state, not a fourth-width card. */
.category-item.category-item-empty {
  display: flex;
  justify-content: center;
  width: 100%;
}

.category-item.category-item-empty .product-box {
  width: min(100%, 48rem);
  margin-inline: auto;
}

/* Keep the empty-state call to action aligned with its centered message. */
.category-item.category-item-empty .product-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.category-item.category-item-empty .product-content .text-16 {
  max-width: 40rem;
  margin-inline: auto;
}
