/* Product catalog cards: WB-like structure without prices. */
body.home-layout-ref .zp-product-strip {
  padding-top: clamp(0px, 0.5vw, 8px);
}

body.home-layout-ref .zp-product-strip__lead {
  max-width: 760px;
  margin: -8px auto 24px;
  color: #5c5470;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  text-align: center;
}

body.home-layout-ref section.zp-home-cases .zp-product-card,
.zp-product-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #242424;
}

.zp-product-card__link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.zp-product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(243, 243, 247, 0.9), rgba(235, 233, 242, 0.95)),
    #f3f3f7;
}

.zp-product-card__discount {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 8px;
  background: #f91155;
  color: #fff;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(249, 17, 85, 0.28);
}

.zp-product-card__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px dashed rgba(100, 64, 191, 0.28);
  border-radius: 999px;
  color: rgba(59, 19, 92, 0.62);
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 12px;
  font-weight: 600;
}

.zp-product-card__photo,
.zp-product-card__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zp-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 2px;
}

.zp-product-card__rating {
  margin: 0;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
}

/* Brand label removed from cards (2026-07-20); keep hide for stale HTML */
.zp-product-card__brand {
  display: none !important;
}

.zp-product-card__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #242424;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zp-product-card__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  color: #8b8799;
  font-size: 13px;
  line-height: 1.2;
}

.zp-product-card__rating-value {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #242424;
  font-weight: 500;
}

.zp-product-card__rating-value::before {
  content: "★";
  color: #ffb020;
  font-size: 12px;
  line-height: 1;
}

.zp-product-card__rating-count {
  color: #8b8799;
  font-weight: 400;
}

.zp-product-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 2px 0 0;
  min-width: 0;
}

.zp-product-card__price-sbp,
.zp-product-card__price-old {
  margin: 0;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
}

.zp-product-card__price-sbp {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.zp-product-card__price-sbp-value {
  color: #cb11ab;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.zp-product-card__price--on-request .zp-product-card__price-sbp-value {
  font-size: 16px;
  letter-spacing: 0;
}

.zp-product-card__price-sbp-label {
  color: #cb11ab;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.zp-product-card__split {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  width: max-content;
  box-sizing: border-box;
  padding: 6px 12px 6px 8px;
  background: #fff;
  border: 1px solid rgba(25, 25, 26, 0.08);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(25, 25, 26, 0.04);
}

.zp-product-card__split-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: url("/images/payments/yandex-split.svg") center / contain no-repeat;
}

.zp-product-card__split-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.zp-product-card__split-title {
  color: #6c6c6c;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.zp-product-card__split-amount {
  color: #19191a;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.zp-product-card__price-old {
  color: #8b8799;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  padding-left: 2px;
}

.zp-product-card__price-old span {
  text-decoration: line-through;
}

.zp-product-card__price--request {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.zp-product-card__price-request {
  margin: 0;
  color: #242424;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.zp-product-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--zp-holst-cta-min-height, 46px);
  margin-top: auto;
  padding: var(--zp-holst-cta-pad-y, 12px) var(--zp-holst-cta-pad-x-primary, 24px);
  border: 0;
  border-radius: 16px;
  background: #6440bf;
  color: #fff;
  box-shadow: none;
  font-family: var(--zp-font-ui, Nunito, sans-serif);
  font-size: var(--zp-holst-cta-font-size, 16px);
  font-weight: 600;
  line-height: var(--zp-holst-cta-line-height, 22px);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

/* Cart icon to the right of «Заказать» (WB-like) */
.zp-product-card__cta::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill='%23000' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.2 4h14.1a1 1 0 0 1 .98 1.2l-1.4 7A2 2 0 0 1 17.92 14H9.1a2 2 0 0 1-1.96-1.6L5.2 4.8 4.3 2H2a1 1 0 1 1 0-2h3.2a1 1 0 0 1 .96.72L6.2 4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill='%23000' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.2 4h14.1a1 1 0 0 1 .98 1.2l-1.4 7A2 2 0 0 1 17.92 14H9.1a2 2 0 0 1-1.96-1.6L5.2 4.8 4.3 2H2a1 1 0 1 1 0-2h3.2a1 1 0 0 1 .96.72L6.2 4Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.zp-product-card__cta:hover,
.zp-product-card__cta:focus-visible {
  background: #4c3191;
  color: #fff;
  outline: none;
}

.zp-product-card--compact .zp-product-card__body {
  min-height: 0;
}

.zp-products-page {
  background: #fbfafc;
  gap: 0;
}

.zp-products-hero {
  padding: calc(var(--hero-pad-top, 110px) + 20px) clamp(16px, 4vw, 32px) 46px;
  background:
    radial-gradient(900px 420px at 18% -10%, rgba(150, 111, 247, 0.28), transparent 58%),
    linear-gradient(135deg, #17122f 0%, #24154d 100%);
  color: #fff;
}

.zp-products-hero__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.zp-products-hero__eyebrow {
  margin: 0 0 12px;
  color: rgba(240, 207, 129, 0.95);
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zp-products-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--zp-font-heading, var(--zp-font-ui, system-ui, sans-serif));
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
}

.zp-products-hero p {
  max-width: 820px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.zp-products-hero__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #f3f3f7;
  color: #242424;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.zp-products-hero__back:hover,
.zp-products-hero__back:focus-visible {
  background: #ebe9f2;
  color: #242424;
  outline: none;
}

.zp-products-catalog {
  width: min(1440px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: 8px 0 64px;
  box-sizing: border-box;
}

.zp-product-strip__grid {
  /* Не calc(100vw - 32px): внутри padded-секции даёт +8…24px горизонтальный скролл (1024/1280). */
  width: min(1440px, 100%);
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Услуги: на mobile/tablet сетка на всю ширину секции (карточки крупнее) */
@media (max-width: 1023px) {
  body.page-usluga-interior .zp-product-strip__grid {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

.zp-products-catalog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 12px;
}

.zp-products-filters {
  margin: 0 0 14px;
}

.zp-products-filters-block {
  position: relative;
  width: 100%;
  overflow: visible;
}

.zp-products-filters-scroll {
  overflow: visible;
}

.zp-products-filters--desktop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  overflow: visible;
  padding: 0 0 2px;
}

.zp-products-filters__sale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 10px 0 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff3fb4 0%, #e12cf1 100%);
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.zp-products-filters__sale input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.zp-products-filters__sale-label {
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.zp-products-filters__switch {
  position: relative;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.15s ease;
}

.zp-products-filters__switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.zp-products-filters__sale:has(input:checked) .zp-products-filters__switch {
  background: rgba(255, 255, 255, 0.42);
}

.zp-products-filters__sale:has(input:checked) .zp-products-filters__switch::after {
  transform: translateX(14px);
}

.zp-products-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: 36px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #f3f3f7;
  color: #242424;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.zp-products-filter-chip--select {
  position: relative;
  padding: 0 28px 0 0;
  cursor: pointer;
}

.zp-products-filter-chip__text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 36px;
  max-width: min(240px, 34vw);
  padding: 0 0 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
}

.zp-products-filter-chip--select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8b8799;
  border-bottom: 1.5px solid #8b8799;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.zp-products-filter-chip--select select {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  /* Keep chip look via overlay label; opacity 0 + transparent color
     makes the native Windows dropdown unreadable. */
  background-color: #ffffff;
  color: #1a1228;
  font: inherit;
  cursor: pointer;
  opacity: 0.01;
  appearance: none;
  -webkit-appearance: none;
}

.zp-products-filter-chip--select select option,
.zp-products-filter-chip--select select optgroup {
  color: #1a1228;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.zp-products-filter-chip--select:focus-within {
  box-shadow: inset 0 0 0 2px rgba(100, 64, 191, 0.35);
}

.zp-products-filter-chip--sort {
  position: relative;
  padding: 0;
}

.zp-products-filter-chip__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 28px 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.zp-products-filter-chip__trigger:hover,
.zp-products-filter-chip__trigger:focus-visible {
  outline: none;
}

.zp-products-filter-chip--sort.is-open,
.zp-products-filter-chip--sort .zp-products-filter-chip__trigger:hover {
  background: #ebe9f2;
}

.zp-products-filter-chip__sort-icon {
  flex: 0 0 auto;
  color: #242424;
}

.zp-products-filter-chip--sort .zp-products-filter-chip__text {
  padding-left: 0;
}

.zp-products-filter-chip__chevron {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8b8799;
  border-bottom: 1.5px solid #8b8799;
  transform: translateY(-35%) rotate(45deg);
  transition: transform 0.15s ease;
  pointer-events: none;
}

.zp-products-filter-chip--sort.is-open .zp-products-filter-chip__chevron,
.zp-products-filter-chip--category.is-open .zp-products-filter-chip__chevron,
.zp-products-filter-chip--price.is-open .zp-products-filter-chip__chevron {
  transform: translateY(-15%) rotate(-135deg);
}

.zp-products-filter-chip--category {
  position: relative;
  padding: 0;
}

.zp-products-filter-chip--category.is-open,
.zp-products-filter-chip--category .zp-products-filter-chip__trigger:hover,
.zp-products-filter-chip--price.is-open,
.zp-products-filter-chip--price .zp-products-filter-chip__trigger:hover {
  background: #ebe9f2;
}

.zp-products-filter-chip--category.is-active,
.zp-products-filter-chip--price.is-active {
  background: #ebe9f2;
  font-weight: 700;
}

.zp-products-filter-chip--category .zp-products-filter-chip__text {
  padding-left: 12px;
}

.zp-products-filter-dropdown--checks {
  min-width: 280px;
  max-width: min(360px, 92vw);
  max-height: min(420px, 70vh);
  overflow: auto;
  padding: 8px 0 12px;
  scrollbar-width: thin;
}

.zp-products-filter-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
}

.zp-products-filter-check:hover {
  background: #f7f7fa;
}

.zp-products-filter-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.zp-products-filter-check__box {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid #c8c8d3;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.zp-products-filter-check__box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(45deg);
}

.zp-products-filter-check:has(input:checked) .zp-products-filter-check__box {
  border-color: #a73afd;
  background: #a73afd;
}

.zp-products-filter-check:has(input:checked) .zp-products-filter-check__box::after {
  border-color: #fff;
}

.zp-products-filter-check__text {
  color: #242424;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.zp-products-filter-dropdown__done {
  display: block;
  width: calc(100% - 24px);
  min-height: 44px;
  margin: 8px 12px 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #a73afd;
  color: #fff;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease;
}

.zp-products-filter-dropdown__done:hover,
.zp-products-filter-dropdown__done:focus-visible {
  background: #9440db;
  outline: none;
}

.zp-products-filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 236px;
  padding: 8px 0;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 4px 24px rgba(16, 12, 28, 0.08),
    0 0 0 1px rgba(16, 12, 28, 0.04);
}

.zp-products-filter-chip--category .zp-products-filter-dropdown {
  left: auto;
  right: 0;
}

.zp-products-filter-chip--price {
  position: relative;
  padding: 0;
}

.zp-products-filter-chip--price .zp-products-filter-dropdown {
  left: auto;
  right: 0;
  min-width: 296px;
  padding: 16px 12px 12px;
}

.zp-products-filter-dropdown--price .zp-products-filter-dropdown__done {
  width: 100%;
  margin: 12px 0 0;
}

.zp-products-filter-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.zp-products-filter-price__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.zp-products-filter-price__label {
  color: #8b8799;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.zp-products-filter-price__input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #e3e1ea;
  border-radius: 12px;
  background: #fff;
  color: #242424;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  appearance: textfield;
  -moz-appearance: textfield;
}

.zp-products-filter-price__input::-webkit-outer-spin-button,
.zp-products-filter-price__input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.zp-products-filter-price__input:focus {
  outline: none;
  border-color: #a73afd;
  box-shadow: 0 0 0 3px rgba(167, 58, 253, 0.16);
}

.zp-products-filter-price__input::placeholder {
  color: #b0adc0;
}

.zp-products-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  cursor: pointer;
  user-select: none;
}

.zp-products-filter-option:hover {
  background: #f7f7fa;
}

.zp-products-filter-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.zp-products-filter-option__dot {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid #c8c8d3;
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.zp-products-filter-option:has(input:checked) .zp-products-filter-option__dot {
  border-color: #a73afd;
  box-shadow: inset 0 0 0 4px #a73afd;
}

.zp-products-filter-option__text {
  color: #242424;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.zp-products-filter-option:has(input:checked) .zp-products-filter-option__text {
  font-weight: 500;
}

.zp-products-filter-chip--filters {
  cursor: pointer;
}

.zp-products-filter-chip--filters:hover,
.zp-products-filter-chip--filters:focus-visible {
  background: #ebe9f2;
  outline: none;
}

.zp-products-filter-chip__icon {
  flex: 0 0 auto;
  color: #242424;
}

.zp-products-filter-chip--brand,
.zp-products-filter-chip--stub {
  color: #242424;
}

.zp-products-filter-chip--stub {
  padding-right: 28px;
  opacity: 0.72;
}

.zp-products-filter-chip--stub::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #8b8799;
  border-bottom: 1.5px solid #8b8799;
  transform: translateY(-15%) rotate(45deg);
}

.zp-products-filter-chip--brand,
.zp-products-filter-chip--stub {
  position: relative;
}

.zp-products-filter-chip--select.is-active,
.zp-products-filter-chip--select:has(select option:checked:not([value=""])) {
  background: #ebe9f2;
  font-weight: 700;
}

.zp-products-empty {
  margin: 22px 0;
  padding: 20px;
  border: 1px dashed rgba(78, 42, 150, 0.18);
  border-radius: 18px;
  background: #fff;
  color: #5c5470;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-weight: 800;
  text-align: center;
}

.zp-products-catalog__head h1,
.zp-products-catalog__head h2,
.zp-products-group__head h2 {
  margin: 0;
  color: #18152a;
  font-family: var(--zp-font-heading, var(--zp-font-ui, system-ui, sans-serif));
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
}

.zp-products-catalog__head p,
.zp-products-group__head p {
  margin: 0;
  color: #5c5470;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 15px;
  line-height: 1.45;
}

.zp-products-nav {
  display: none;
  gap: 10px;
  margin: 0 0 32px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.zp-products-nav::-webkit-scrollbar {
  display: none;
}

.zp-products-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(78, 42, 150, 0.16);
  border-radius: 999px;
  background: #fff;
  color: #3b2468;
  font-family: var(--zp-font-ui, system-ui, sans-serif);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.zp-products-nav__link span {
  color: #7a6d95;
  font-weight: 700;
}

.zp-products-group {
  margin-top: clamp(16px, 2.2vw, 24px);
}

.zp-products-group:first-of-type {
  margin-top: 10px;
}

.zp-products-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  margin-bottom: 12px;
}

.zp-products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 16px;
}

@media (max-width: 1199px) {
  .zp-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .zp-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .zp-products-filters-scroll {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .zp-products-filters-scroll::-webkit-scrollbar {
    display: none;
  }

  .zp-products-filters--desktop {
    flex-wrap: nowrap;
  }

  .zp-products-nav {
    display: flex;
  }

  .zp-product-strip__lead {
    text-align: left;
  }

  .zp-products-catalog {
    width: min(100% - 24px, 1440px);
  }

  .zp-product-strip__grid {
    width: min(100% - 24px, 1440px);
  }

  body.page-usluga-interior .zp-product-strip__grid {
    width: 100%;
    max-width: none;
  }

  .zp-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .zp-product-card__body {
    padding: 0 1px;
  }

  .zp-product-card__title {
    font-size: 13px;
  }

  .zp-product-card__rating {
    font-size: 12px;
  }

  .zp-product-card__split {
    padding: 5px 10px 5px 6px;
    gap: 7px;
    border-radius: 10px;
  }

  .zp-product-card__split-icon {
    width: 14px;
    height: 14px;
  }

  .zp-product-card__split-title {
    font-size: 9px;
  }

  .zp-product-card__split-amount {
    font-size: 12px;
  }

  .zp-product-card__price-sbp-value {
    font-size: 16px;
  }

  .zp-product-card__price-sbp-label {
    font-size: 11px;
  }

  .zp-product-card__cta {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 20px;
    white-space: normal;
  }

  .zp-products-filter-chip,
  .zp-products-filters__sale {
    min-height: 34px;
    font-size: 13px;
  }

  .zp-products-filters__sale-label {
    font-size: 12px;
  }
}
