.category-body {
  background: #f1f2ed;
}

.category-cart {
  display: inline-flex;
  text-decoration: none;
}

.category-main {
  width: min(1240px, calc(100% - 40px));
  min-height: 620px;
  margin: 20px auto 38px;
}

.category-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 32px;
  color: #89918b;
  font-size: 9px;
}

.category-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.category-breadcrumb b {
  color: #445149;
  font-weight: 500;
}

.category-hero {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: space-between;
  padding: 30px 38px;
  background:
    radial-gradient(circle at 83% 22%, rgba(183, 201, 187, 0.3), transparent 25%),
    linear-gradient(110deg, #f7f5ef, #e8eee6);
}

.category-hero-copy > span {
  color: #89938c;
  font-size: 7px;
  letter-spacing: 0.2em;
}

.category-hero-copy h1 {
  margin: 12px 0 8px;
  color: #26352b;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.category-hero-copy p {
  margin: 0;
  color: #718078;
  font-size: 10px;
}

.category-hero-meta {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #5e7164;
}

.category-hero-meta strong {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
}

.category-hero-meta span {
  font-size: 9px;
}

.category-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 16px 0 0;
}

.category-subnav a {
  padding: 9px 15px;
  color: #58675d;
  border: 1px solid #dce2dc;
  background: white;
  font-size: 10px;
  text-decoration: none;
}

.category-subnav a.active,
.category-subnav a:hover {
  color: white;
  border-color: var(--green);
  background: var(--green);
}

.category-toolbar {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 0 20px;
  background: white;
}

.category-result-copy {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.category-result-copy b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.category-result-copy span {
  color: #919893;
  font-size: 8px;
}

.category-sort {
  display: flex;
  gap: 2px;
}

.category-sort button {
  padding: 8px 14px;
  color: #67726b;
  border: 0;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.category-sort button.active {
  color: white;
  background: var(--green);
}

.category-product-grid {
  margin-top: 12px;
  padding: 20px;
  background: white;
}

.category-product-grid .product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.category-product-grid .product-image > a {
  display: block;
  width: 100%;
  height: 100%;
}

.category-product-grid .product-image img {
  object-position: center;
}

.category-loading {
  padding: 80px;
  color: #89918b;
  background: white;
  font-size: 10px;
  text-align: center;
}

.category-empty {
  padding: 75px 20px;
  background: white;
  text-align: center;
}

.category-empty > span {
  color: #91a195;
  font-family: var(--serif);
  font-size: 28px;
}

.category-empty h2 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.category-empty p {
  margin: 0 0 18px;
  color: #858e88;
  font-size: 9px;
}

.category-empty a {
  display: inline-flex;
  padding: 9px 17px;
  color: white;
  background: var(--green);
  font-size: 9px;
  text-decoration: none;
}

.category-footer {
  display: flex;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 38px;
  align-items: center;
  justify-content: space-between;
  color: #707b73;
  border-top: 1px solid #d9ddd8;
  font-size: 9px;
}

.category-footer b {
  color: #35443a;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.category-footer p {
  margin: 5px 0 0;
  font-size: 8px;
}

.category-footer nav {
  display: flex;
  gap: 18px;
}

.category-footer a {
  color: inherit;
  text-decoration: none;
}

.category-footer small {
  font-size: 7px;
}

@media (max-width: 760px) {
  .category-main,
  .category-footer {
    width: calc(100% - 20px);
  }

  .category-hero {
    padding: 24px 20px;
  }

  .category-hero-meta {
    display: none;
  }

  .category-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .category-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .category-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}
