.catalog-page.catalog-page--new-design {
  padding: 2rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  background: #ffffff;
}

/* Catalog hero: breadcrumbs + page title in one block */
html.new-design .catalog-page .catalog-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8rem;
  align-self: stretch;
  width: 100%;
}

html.new-design .catalog-page .catalog-hero .breadcrumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0 !important;
  overflow-x: auto;
  white-space: nowrap;
}

html.new-design .catalog-page .catalog-hero .breadcrumbs a,
html.new-design .catalog-page .catalog-hero .breadcrumbs span {
  color: #222222;
  font-family: var(--primary-font);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.03em;
  text-decoration: none !important;
}

html.new-design .catalog-page .catalog-hero .breadcrumbs span:last-child,
html.new-design .catalog-page .catalog-hero .breadcrumbs .breadcrumb_last,
html.new-design .catalog-page .catalog-hero .breadcrumbs [property="itemListElement"]:last-child span {
  color: rgba(34, 34, 34, 0.3);
}

html.new-design .catalog-page .catalog-hero__description {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 2.8rem;
  align-self: stretch;
  width: 100%;
}

html.new-design .catalog-page .catalog-hero__heading,
html.new-design .catalog-page .catalog-hero h1.page-title {
  margin: 0;
  max-width: 84.3rem;
  color: #222222;
  font-family: var(--primary-font);
  font-size: 8.1rem;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: -0.03em;
  text-align: left;
}

@media (max-width: 1079px) {
  html.new-design .catalog-page .catalog-hero {
    gap: 2rem;
  }

  html.new-design .catalog-page .catalog-hero__heading,
  html.new-design .catalog-page .catalog-hero h1.page-title {
    font-size: 5.6rem;
  }
}

@media (max-width: 767px) {
  html.new-design .catalog-page .catalog-hero {
    gap: 1.6rem;
  }

  html.new-design .catalog-page .catalog-hero .breadcrumbs a,
  html.new-design .catalog-page .catalog-hero .breadcrumbs span {
    font-size: 1.4rem;
  }

  html.new-design .catalog-page .catalog-hero__heading,
  html.new-design .catalog-page .catalog-hero h1.page-title {
    font-size: 4rem;
  }
}

@media (max-width: 1079px) {
  .catalog-page.catalog-page--new-design {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .catalog-page.catalog-page--new-design {
    padding: 1.6rem;
  }
}

/* Catalog product grid — same card language as recommended-goods */
html.new-design .catalog-page .products,
html.new-design .catalog-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

html.new-design .catalog-page .products::before,
html.new-design .catalog-page .products::after,
html.new-design .catalog-page ul.products::before,
html.new-design .catalog-page ul.products::after {
  display: none;
}

html.new-design .catalog-page .products > li,
html.new-design .catalog-page ul.products > li {
  width: auto!important;
  margin: 0!important;
  float: none!important;
  clear: none!important;
}

.nd-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 !important;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.nd-product-card__image-link {
  display: block;
  width: 100%;
  padding: 2rem;
  margin: 0 0 8rem;
  background: #d9d9d9;
}

.nd-product-card__image {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.nd-product-card__body {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 1.2rem;
  padding: 1.2rem 0 0;
  background: #ffffff;
  position: absolute;
  left: 0;
  bottom: -5.3rem;
  width: 100%;
  transition: bottom 300ms ease-in-out;
}

.nd-product-card:hover .nd-product-card__body {
  bottom: 0;
}

.nd-product-card__brand {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--primary-font);
  font-size: 1.6rem;
  line-height: 130%;
  letter-spacing: -0.048rem;
  color: #222222;
}

.nd-product-card__title-link {
  grid-column: 1;
  grid-row: 2;
  color: inherit;
}

.nd-product-card__title {
  margin: 0;
  font-family: var(--primary-font);
  font-size: 1.6rem;
  line-height: 130%;
  font-weight: 400;
  letter-spacing: -0.048rem;
  color: #222222;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.nd-product-card__price {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--primary-font);
  font-size: 1.6rem;
  line-height: 130%;
  letter-spacing: -0.04rem;
  color: #222222;
  text-align: right;
  white-space: nowrap;
}

.nd-product-card__price del {
  margin-left: 0;
  color: rgba(34, 34, 34, 0.45);
}

.nd-product-card__price ins {
  text-decoration: none;
}

.nd-product-card__cart {
  grid-column: 1 / -1;
  margin-top: 1.2rem;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}

.nd-product-card__add-to-cart,
.nd-product-card__details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 5.3rem;
  border-radius: 0;
  background: #222222;
  color: #ffffff;
  font-family: var(--primary-font);
  font-size: 1.6rem;
  line-height: 130%;
  font-weight: 400;
  letter-spacing: -0.048rem;
  text-decoration: none;
}

.nd-product-card__add-to-cart--disabled {
  background: rgba(34, 34, 34, 0.2);
  cursor: default;
}

.nd-product-card__cart .count-switch {
  min-height: 5.3rem;
  width: 100%;
  border-radius: 0;
  background: #222222;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.nd-product-card__cart .count-switch-action {
  width: auto;
  padding: 1.65rem 1.7rem;
  cursor: pointer;
}

.nd-product-card__cart .count-swith_number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-family: var(--primary-font);
  font-size: 1.6rem;
  line-height: 120%;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
}

.nd-product-card__wishlist {
  position: absolute;
  top: 0;
  right: .4rem;
  z-index: 3;
  cursor: pointer;
}

.nd-product-card__wishlist > span {
  display: block;
  padding: 0.8rem;
  height: 4rem;
  width: 4rem;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.nd-product-card__wishlist:hover > span,
.nd-product-card__wishlist > span.active {
  opacity: 1;
}
.nd-product-card__wishlist svg {
  height: 100%;
  width: 100%;
}

.nd-product-card__wishlist svg .like--default {
  display: block;
}

.nd-product-card__wishlist svg .like--active {
  display: none;
}

.nd-product-card__wishlist .active svg .like--active {
  display: block;
}

.nd-product-card__wishlist .active svg .like--default {
  display: none;
}

.nd-product-card__tags {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.nd-product-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  min-height: 3.2rem;
  padding: 0.7rem 1rem;
  border-radius: 0;
  font-family: var(--primary-font);
  font-size: 1.2rem;
  line-height: 130%;
  font-weight: 350;
  letter-spacing: -0.036rem;
}

.nd-product-card__tag--sale {
  background: #ba0c2f;
  color: #ffffff;
}

.nd-product-card__tag--hit {
  background: #222222;
  color: #ffffff;
}

.nd-product-card__tag--new {
  background: #e8f5e9;
  color: #222222;
}

.nd-product-card__tag--attention {
  background: #f5e9a8;
  color: #383105;
}

.nd-product-card__tag--attention svg {
  display: block;
}

@media (max-width: 1200px) {
  html.new-design .catalog-page .products,
  html.new-design .catalog-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1079px) and (min-width: 768px) {
  .nd-product-card__brand,
  .nd-product-card__title,
  .nd-product-card__price,
  .nd-product-card__add-to-cart,
  .nd-product-card__details,
  .nd-product-card__cart .count-swith_number {
    font-size: 1.4rem;
    letter-spacing: -0.042rem;
  }

  .nd-product-card__add-to-cart,
  .nd-product-card__details,
  .nd-product-card__cart .count-switch {
    min-height: 4.2rem;
  }

  .nd-product-card {
    overflow: visible;
  }

  .nd-product-card__image-link {
    margin-bottom: 0;
  }

  .nd-product-card__body {
    position: relative;
    left: auto;
    bottom: auto;
  }
}

@media (max-width: 767px) {
  html.new-design .catalog-page .products,
  html.new-design .catalog-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem 1.2rem;
  }

  .nd-product-card {
    overflow: visible;
  }

  .nd-product-card__image-link {
    margin-bottom: 0;
    padding: 1.2rem;
  }

  .nd-product-card__body {
    position: relative;
    left: auto;
    bottom: auto;
  }

  .nd-product-card__brand,
  .nd-product-card__title,
  .nd-product-card__price,
  .nd-product-card__add-to-cart,
  .nd-product-card__details {
    font-size: 1.2rem;
    letter-spacing: -0.036rem;
  }

  .nd-product-card__add-to-cart,
  .nd-product-card__details {
    min-height: 3.6rem;
  }
}

/* Catalog pagination — show-more button (matches recommended-goods) */
html.new-design .woocommerce-pagination .catalog-pagination__actions {
  display: flex;
  justify-content: center;
  margin-top: 8rem;
  transition: opacity 0.3s ease;
}

html.new-design .woocommerce-pagination .catalog-pagination__actions:hover {
  opacity: 0.6;
}

html.new-design .woocommerce-pagination .catalog-pagination__actions .show-more {
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

html.new-design .woocommerce-pagination .button-icon-down {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  padding: 0;
}

html.new-design .woocommerce-pagination .button-icon-down__button {
  color: #222222;
  text-align: left;
  font-family: var(--primary-font);
  font-size: 2rem;
  line-height: 140%;
  letter-spacing: -0.02em;
  font-weight: 400;
  position: relative;
}

html.new-design .woocommerce-pagination .button-icon-down___24-px-arrow-down {
  display: flex;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  position: relative;
  top: 0;
  overflow: visible;
  transition: top 0.3s ease;
}

html.new-design .woocommerce-pagination .catalog-pagination__actions:hover .button-icon-down___24-px-arrow-down {
  top: -0.4rem;
}

html.new-design .woocommerce-pagination .button-icon-down___24-px-arrow-down svg {
  width: 100%;
  height: 100%;
}

/* Catalog empty state — typography aligned with empty-cart */
html.new-design .product_category__loop .catalog-empty,
html.new-design .catalog-page .catalog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32rem;
  padding: 6rem 0;
  margin: 0;
  background: transparent;
  text-align: center;
}

html.new-design .catalog-empty__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  max-width: 67rem;
  margin: 0 auto;
}

html.new-design .catalog-empty__title {
  margin: 0;
  color: #222222;
  font-family: var(--secondary-font);
  font-size: 5.4rem;
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -0.16rem;
  text-align: center;
}

html.new-design .catalog-empty__subtitle {
  margin: 0;
  max-width: 60rem;
  color: #222222;
  font-family: var(--primary-font);
  font-size: 2rem;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.04rem;
  text-align: center;
}

html.new-design .catalog-empty__reset {
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #222222;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

html.new-design .catalog-empty__reset:hover {
  opacity: 0.7;
}

@media (max-width: 1200px) {
  html.new-design .catalog-empty__container {
    gap: 1.6rem;
  }

  html.new-design .catalog-empty__title {
    font-size: 3.8rem;
    line-height: 1.2;
  }

  html.new-design .catalog-empty__subtitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  html.new-design .product_category__loop .catalog-empty,
  html.new-design .catalog-page .catalog-empty {
    min-height: 24rem;
    padding: 4rem 0;
  }

  html.new-design .catalog-empty__container {
    gap: 1.2rem;
  }

  html.new-design .catalog-empty__title {
    font-size: 2.8rem;
  }

  html.new-design .catalog-empty__subtitle {
    font-size: 1.6rem;
  }
}

