/* Dense editorial grid, with a single centered entry to sorting and filters. */
.catalogue-page .catalog-heading {
  position: relative;
  text-align: left;
  padding-top: 30px;
  padding-bottom: 0
}

.catalogue-page .catalog-heading .breadcrumb {
  font-size: .625rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: #80847b
}

.catalogue-page .catalog-heading h1 {
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  letter-spacing: .015em;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 0
}

.catalogue-page .catalog-toolbar {
  position: relative;
  display: flex;
  justify-content: center;
  border: 0;
  padding: 18px 0 22px;
  margin: 0;
  min-height: 77px
}

.catalog-filter-toggle {
  border: 0;
  background: none;
  padding: 12px 18px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer
}

.catalog-filter-toggle[hidden] {
  display: none
}

.catalog-filter-toggle:hover {
  opacity: .65
}

.filter-count {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #242620;
  color: #fff;
  font-size: .6rem;
  letter-spacing: 0;
  width: 18px;
  height: 18px
}

.catalogue-page .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 5px
}

.catalogue-page .product-image {
  aspect-ratio: 7/10;
  border-radius: 7px
}

.product-card-compact .product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 13px;
  padding: 0 2px
}

.product-card-compact .product-meta h3 {
  font-size: .7rem;
  line-height: 1.45;
  letter-spacing: .025em;
  text-transform: uppercase;
  font-weight: 500
}

.product-card-compact .product-meta>span {
  font-size: .725rem;
  line-height: 1.4
}

.product-sizes {
  position: relative;
  font-size: .6rem;
  color: #777d71;
  line-height: 1.5;
  letter-spacing: .025em;
  margin: 6px 2px 0
}

.product-card-compact .quick-add {
  opacity: 1;
  transform: none;
  left: auto;
  right: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  background: #161914;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  font-size: 1rem
}

.product-card-compact .quick-add:hover {
  background: #3a3e35
}

.catalogue-page .catalog-section {
  padding-bottom: 60px
}

.catalog-filters-fallback {
  margin: 0 auto 2rem;
  max-width: 620px
}

.catalog-filters-fallback summary {
  list-style: none
}

.catalog-filters-fallback [data-catalog-filter-content] {
  padding: 20px;
  background: var(--color-surface);
  border-radius: 8px
}

.catalog-filter-summary {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  font-size: .7rem;
  color: var(--color-text-muted);
  margin: 0 0 18px
}

.catalog-filter-summary a {
  text-decoration: underline;
  text-underline-offset: 3px
}

@media(max-width:1000px) {
  .catalogue-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }

  .catalogue-page .catalog-heading {
    padding-top: 25px
  }

  .product-card-compact .product-meta h3 {
    font-size: .65rem
  }
}

@media(max-width:700px) {
  .catalogue-page .catalog-heading {
    padding-top: 24px
  }

  .catalogue-page .catalog-heading .breadcrumb {
    margin-bottom: 20px;
    font-size: .6rem
  }

  .catalogue-page .catalog-heading h1 {
    font-size: 1.7rem
  }

  .catalogue-page .catalog-toolbar {
    padding: 12px 0 15px;
    min-height: 65px
  }

  .catalogue-page .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 8px
  }

  .catalogue-page .product-meta h3 {
    font-size: .65rem
  }

  .product-card-compact .quick-add {
    width: 40px;
    height: 40px;
    min-height: 40px;
    right: 7px;
    bottom: 7px
  }

  .product-card-compact .product-meta {
    margin-top: 11px
  }

  .catalogue-page .catalog-section {
    padding-bottom: 40px
  }
}
