/* Category pages use the catalog components without empty presentation columns. */
.public-page-category .section {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}
.public-page-category[data-density='compact'] .section {
  padding-block: 2rem;
}
.public-page-category .module-categoryHero {
  min-height: 0;
  padding-block: clamp(2rem, 3vw, 3rem);
}
.public-page-category .module-categoryHero::after {
  display: none;
}
.public-page-category .module-categoryHero .hero-content {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}
.public-page-category .module-categoryHero .hero-content:has(.hero-visual) {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
}
.category-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-end: 1.5rem;
  color: #aeb1ab;
  font-size: var(--text-xs);
}
.category-breadcrumbs a {
  text-decoration: none;
}
.category-breadcrumbs a:hover {
  color: #e1c38b;
}
.public-page-category .hero-kicker {
  margin-block-end: 1.25rem;
}
.public-page-category .hero h1 {
  letter-spacing: -0.035em;
}
.public-page-category .hero .lead {
  margin-block-end: 1.25rem;
  font-size: var(--text-base);
  line-height: 1.85;
}
.public-page-category .hero-visual {
  min-height: 0;
}
.public-page-category .hero-media {
  height: 18rem;
  object-fit: contain;
}
.category-product-count {
  color: #bebeb3;
  font-size: var(--text-sm);
}
.category-hero-preview {
  display: grid;
  width: min(100%, 27rem);
  padding: 1.25rem;
  color: #252a28;
  border: 1px solid #d6c49e;
  background: #f2eee5;
  text-decoration: none;
}
.category-hero-preview > img,
.category-preview-fallback {
  width: 100%;
  height: clamp(12rem, 17vw, 16rem);
  object-fit: contain;
}
.category-preview-fallback {
  display: grid;
  place-items: center;
  color: var(--sortino-gold-deep);
}
.category-preview-fallback .public-section-icon {
  width: 5rem;
  height: 5rem;
}
.category-preview-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-block-start: 0.75rem;
  padding-block-start: 0.75rem;
  border-block-start: 1px solid #d6d0c1;
  font-size: var(--text-sm);
  font-weight: 650;
}
.category-preview-caption b {
  color: #8d6c37;
}
.public-page-category .section-heading {
  margin-block-end: 1.5rem;
}
.public-page-category .product-collection-section .section-heading-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.public-page-category .product-collection-section .section-heading-split > div:first-child {
  flex: 1;
  min-width: 0;
}
.public-page-category .section-heading-aside {
  width: auto;
  max-width: 34rem;
}
.public-page-category .product-collection-section .eyebrow {
  margin-block-end: 0.5rem;
}
.category-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.category-product-grid-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.category-product-grid .product-card-media {
  aspect-ratio: 16 / 10;
  max-height: 16rem;
  background: #e9e6de;
}
.category-product-grid .product-card-content {
  min-height: 0;
  padding: 1.25rem;
}
.category-product-grid .product-card-meta {
  margin-block-end: 0.65rem;
}
.category-product-grid .product-card-content h2 {
  font-size: var(--text-lg);
  line-height: 1.5;
}
.category-product-grid .product-card-content p {
  margin-block-end: 1.25rem;
  font-size: var(--text-sm);
  line-height: 1.85;
}
.category-product-grid-count-1 {
  grid-template-columns: minmax(0, 1fr);
}
.category-product-grid-count-1 .product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}
.category-product-grid-count-1 .product-card-media {
  height: 100%;
  min-height: 16rem;
  max-height: none;
  aspect-ratio: auto;
}
.category-product-grid-count-1 .product-card-content {
  align-self: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.category-product-grid-count-1 .product-card-actions {
  max-width: 24rem;
}
.category-products-empty {
  padding: 1.5rem;
  margin: 0;
  border: 1px solid var(--border-light);
  background: #fff;
  font-size: var(--text-base);
}
.public-page-category .editorial-section:not(.editorial-section-has-media) .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 4rem);
}
.public-page-category .editorial-lead {
  display: block;
  margin: 0;
}
.public-page-category .editorial-lead .section-heading {
  margin: 0;
}
.public-page-category .editorial-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  border: 0;
}
.public-page-category .editorial-grid article {
  display: grid;
  min-height: 0;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.85rem;
  padding: 1.1rem;
  border: 1px solid #ded9cd;
  background: #fbf9f4;
}
.public-page-category .editorial-card-icon {
  grid-column: 1;
  grid-row: 1;
  width: 2.5rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #f1ebdd;
}
.public-page-category .editorial-card-index {
  grid-column: 3;
  grid-row: 1;
}
.public-page-category .editorial-grid article h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.6;
}
.public-page-category .editorial-grid article p {
  grid-column: 2 / -1;
  margin: 0;
  line-height: 1.85;
}
.public-page-category .editorial-section-has-media .editorial-lead {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-block-end: 1.5rem;
}
@media (max-width: 1000px) {
  .category-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-product-grid-count-1 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .public-page-category .module-categoryHero .hero-content:has(.hero-visual),
  .public-page-category .editorial-section:not(.editorial-section-has-media) .section-inner,
  .public-page-category .editorial-section-has-media .editorial-lead {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-hero-preview {
    width: 100%;
  }
  .category-hero-preview > img {
    height: 12rem;
  }
}
@media (max-width: 580px) {
  .category-product-grid,
  .category-product-grid-count-1 .product-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-product-grid-count-1 .product-card-media {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .public-page-category .editorial-grid article p {
    grid-column: 1 / -1;
  }
  .public-page-category .product-collection-section .section-heading-split {
    display: block;
  }
}
