.hero {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  padding: 42px 58px;
  background: #e5eddf;
  border-radius: 6px;
  min-height: 390px;
}
.hero h1 {
  max-width: 620px;
  font-size: 54px;
}
.hero-copy > p {
  max-width: 520px;
}
.hero-note {
  margin-top: 24px;
  font-size: 13px;
  color: #59634f;
}
.hero-art {
  min-height: 270px;
  display: grid;
  place-items: center;
  background: #cbd9bd;
  border-radius: 48% 48% 6px 6px;
}
.hero-art img {
  width: min(76%, 310px);
  max-height: 280px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.shop-promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 58px;
  border-top: 1px solid #dfd4c2;
  border-bottom: 1px solid #dfd4c2;
}
.shop-promises div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
}
.shop-promises div + div {
  border-left: 1px solid #dfd4c2;
}
.shop-promises b {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #56805a;
}
.shop-promises span {
  font-size: 14px;
  font-weight: 600;
}
.category-showcase {
  margin: 0 0 58px;
}
.category-showcase .sectionhead {
  align-items: end;
  margin-bottom: 20px;
}
.category-showcase h2,
.catalog h2 {
  margin: 8px 0 0;
}
.text-link {
  font-weight: 700;
  color: #426b48;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 15px;
}
.category-card {
  min-width: 0;
}
.category-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.28;
  background: #e5eddf;
  overflow: hidden;
  border-radius: 5px;
}
.category-card:nth-child(4n + 2) .category-image {
  background: #f1e1c2;
}
.category-card:nth-child(4n + 3) .category-image {
  background: #f1dcd5;
}
.category-card:nth-child(4n + 4) .category-image {
  background: #dce9e5;
}
.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.category-card:hover .category-image img {
  transform: scale(1.04);
}
.category-initial {
  font:
    48px Georgia,
    serif;
  color: #426b48;
}
.category-arrow {
  position: absolute;
  right: 9px;
  top: 9px;
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  background: #fffdf8;
  border-radius: 50%;
  color: #315b3c;
}
.category-name {
  display: block;
  margin-top: 10px;
  font-weight: 700;
}
.category-card small {
  color: #71685d;
}
.catalog {
  padding-top: 5px;
}
.catalog-heading {
  align-items: end;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin: 14px 0 24px;
}
.catalog-toolbar .categories {
  margin: 0;
  gap: 8px;
}
.catalog-toolbar .chip {
  border-radius: 4px;
  padding: 7px 12px;
}
.subcategory-filter {
  display: flex;
  align-items: center;
  flex: 1 0 100%;
  flex-wrap: wrap;
  order: 3;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #dfd4c2;
}
.subcategory-label {
  margin-right: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #59634f;
}
.subcategory-filter .chip {
  border-radius: 4px;
  padding: 7px 11px;
}
.subcategory-filter .chip small {
  margin-left: 4px;
  color: inherit;
  opacity: 0.72;
}
.subcategory-filter .chip.selected {
  background: #315b3c;
  border-color: #315b3c;
  color: #fffdf8;
}
.sort-form {
  display: flex;
  align-items: center;
  order: 2;
  gap: 8px;
  margin-left: auto;
  white-space: nowrap;
}
.sort-form label {
  margin: 0;
  font-size: 13px;
}
.sort-form select {
  width: auto;
  min-width: 145px;
  margin: 0;
  padding: 8px 10px;
}
.sort-form .outline {
  padding: 7px 10px;
}
.productcard {
  border-radius: 6px;
  box-shadow: 0 3px 12px #382a2410;
}
.product-image-link {
  position: relative;
  display: block;
  aspect-ratio: 1.12;
  background: #f1eadb;
  overflow: hidden;
}
.productcard .product-image-link > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.productcard:hover .product-image-link > img {
  transform: scale(1.035);
}
.productcard .placeholder {
  height: 100%;
  background: #e5eddf;
  color: #426b48;
  font-style: normal;
  font-weight: 700;
}
.productcard .placeholder span {
  margin-top: 5px;
  font:
    13px system-ui,
    sans-serif;
}
.stock-label {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  background: #fffdf8;
  color: #873b32;
  font-size: 12px;
  font-weight: 700;
}
.details {
  display: flex;
  flex-direction: column;
  min-height: 184px;
  padding: 16px;
}
.details h3 {
  margin: 9px 0;
  font-size: 20px;
}
.product-description {
  margin: 0 0 10px;
  color: #70645b;
  font-size: 13px;
}
.product-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.product-buy-row .price {
  margin: 10px 0 0;
  font-size: 20px;
}
.product-buy-row .btn {
  padding: 10px 13px;
}
.empty-catalog {
  grid-column: 1/-1;
  padding: 40px 24px;
  background: #f1eadb;
  text-align: center;
}
.empty-catalog h3 {
  margin: 10px 0;
}
.empty-catalog p {
  margin: 0 0 20px;
  color: #70645b;
}
.promise {
  border-radius: 6px;
  background: #e5eddf;
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-art {
    min-height: 220px;
  }
  .hero-art img {
    max-height: 190px;
  }
  .shop-promises {
    grid-template-columns: 1fr;
    margin: 22px 0 42px;
  }
  .shop-promises div {
    padding: 13px 8px;
  }
  .shop-promises div + div {
    border-left: 0;
    border-top: 1px solid #dfd4c2;
  }
  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-toolbar .categories {
    width: 100%;
  }
  .subcategory-filter {
    order: initial;
    width: 100%;
  }
  .sort-form {
    order: initial;
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: 34px;
  }
  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-heading .search {
    width: 100%;
  }
  .search input {
    min-width: 0;
  }
  .sort-form {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .product-buy-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-buy-row .btn {
    width: 100%;
  }
}
