body.catalog-view {
  margin: 0;
  padding-top: 148px;
  background: #f6f5f3;
  color: #27282a;
}
.catalog-view .products-grid {
  width: 100%;
  margin: 0;
  padding: 0;
}
.catalog-view .product-card-link {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.catalog-view #catalogCategories a {
  font-size: 13px !important;
}
.catalog-page {
  width: min(1240px, 100% - 80px);
  margin: 0 auto;
  padding: 64px 0 72px;
}
.catalog-page * {
  box-sizing: border-box;
}
.catalog-intro {
  padding-bottom: 30px;
}
.catalog-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #85817d;
}
.catalog-view .category-title {
  font-size: 44px !important;
  line-height: 1.15 !important;
  font-weight: 600;
  letter-spacing: -1.5px;
  margin: 18px 0;
}
.catalog-view .catalog-intro p {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #71716f !important;
  max-width: 650px;
}
#catalogCategories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 30px;
  border-bottom: 1px solid #deddda;
  margin-bottom: 24px;
}
#catalogCategories a {
  padding: 9px 16px;
  border: 1px solid #dad9d6;
  border-radius: 5px;
  color: #5d5e60;
  font-size: 13px;
  background: #fbfbfa;
  transition: background 0.2s;
}
#catalogCategories a:hover {
  background: #e9e8e5;
}
#catalogCategories a[aria-current] {
  color: white;
  background: #343638;
  border-color: #343638;
}
.products-panel {
  display: flex;
  flex-direction: column;
}
.products-topbar {
  display: flex;
  justify-content: flex-end;
  order: 0;
}
.products-topbar .topbar-right {
  display: flex;
  gap: 22px;
  align-items: center;
}
.page-size-wrapper,
.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-size-label,
.sort-label {
  font-size: 13px;
  color: #727271;
}
.catalog-page select {
  padding: 11px 30px 11px 12px;
  border: 1px solid #d8d7d4;
  border-radius: 5px;
  background: #fff;
  color: #383a3c;
  font-size: 14px;
  height: 46px;
}
.products-search {
  margin-top: -46px;
  width: calc(100% - 460px);
}
.products-search input {
  width: 100%;
  height: 46px;
  padding: 12px 16px;
  border: 1px solid #d8d7d4;
  border-radius: 5px;
  background: white;
  font-size: 14px;
}
#catalogSummary {
  padding: 24px 0 16px;
  color: #82827e;
  font-size: 12px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card-link {
  display: flex;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.product-card {
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e2df;
  border-radius: 7px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.product-card-link:hover .product-card {
  transform: translateY(-3px);
  border-color: #c2c1be;
  box-shadow: 0 12px 28px #2424240c;
}
.product-image {
  height: 248px;
  padding: 26px;
  background: #fafafa;
  border-bottom: 1px solid #efeeeb;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.product-type {
  font-size: 11px;
  color: #92918d;
  line-height: 1.6;
  margin-bottom: 9px;
}
.catalog-view .product-name {
  font-size: 17px !important;
  font-weight: 600;
  line-height: 1.6 !important;
  margin: 0 0 14px;
  color: #333537 !important;
}
.product-price {
  margin-top: auto;
  font-size: 12px;
  color: #81817e;
  padding-bottom: 20px;
}
.product-button {
  border-top: 1px solid #e9e8e5;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
  color: #a5292e;
}
.product-button::after {
  content: '↗';
  font-size: 18px;
  line-height: 1;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
}
.pag-btn {
  border: 1px solid #d9d8d5;
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 13px;
  background: white;
}
.pag-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.pag-btn:not(:disabled):hover {
  background: #e9e8e5;
}
.page-info {
  font-size: 12px;
  color: #777;
  margin: 0 12px;
}
.catalog-page :focus-visible {
  outline: 2px solid #a5292e;
  outline-offset: 4px;
}
.products-grid > p {
  padding: 64px 20px;
  background: #fff;
  border: 1px solid #e3e2df;
  border-radius: 6px;
}
@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .products-search {
    width: 100%;
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  body.catalog-view {
    padding-top: 104px;
  }
  .catalog-page {
    width: calc(100% - 36px);
    padding: 36px 0 48px;
  }
  .catalog-view .category-title {
    font-size: 34px !important;
  }
  .catalog-view .catalog-intro p {
    font-size: 14px !important;
  }
  .catalog-intro {
    padding-bottom: 22px;
  }
  .products-grid {
    gap: 16px;
  }
  .product-info {
    padding: 18px;
  }
  .product-image {
    height: 210px;
    padding: 20px;
  }
  .products-topbar {
    justify-content: flex-start;
  }
  .products-topbar .topbar-right {
    gap: 12px;
    flex-wrap: wrap;
  }
  .page-size-wrapper,
  .sort-wrapper {
    gap: 7px;
  }
}
@media (max-width: 540px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 250px;
  }
  #catalogCategories {
    gap: 6px;
  }
  #catalogCategories a {
    padding: 8px 11px;
    font-size: 12px;
  }
  .page-size-label,
  .sort-label {
    font-size: 12px;
  }
  .catalog-page select {
    font-size: 12px;
    padding-right: 20px;
  }
  .pagination {
    gap: 6px;
  }
  .pag-btn {
    padding: 8px;
    font-size: 11px;
  }
  .page-info {
    margin: 0 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }
  .product-card-link:hover .product-card {
    transform: none;
  }
}
