[data-favorites-toggle].wb-favorite-toggle,
[data-favorites-toggle] .wb-favorite-icon-stack {
  pointer-events: auto;
}

[data-favorites-toggle].wb-favorite-toggle {
  position: relative;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f397c1;
  background: transparent;
  touch-action: manipulation;
}

.wb-favorite-icon-stack {
  position: relative;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.wb-favorite-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.wb-favorite-icon--filled {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(.84);
}

[data-favorites-toggle].ms3f--active .wb-favorite-icon--outlined,
[data-favorites-toggle].is-active .wb-favorite-icon--outlined {
  opacity: 0;
  transform: scale(.84);
}

[data-favorites-toggle].ms3f--active .wb-favorite-icon--filled,
[data-favorites-toggle].is-active .wb-favorite-icon--filled {
  opacity: 1;
  transform: scale(1);
}

.wb-catalog-card__favorite .wb-favorite-icon-stack,
.wb-product-card__favorite .wb-favorite-icon-stack,
.wb-related-card__fav .wb-favorite-icon-stack,
.wb-item-fav .wb-favorite-icon-stack,
.wb-basket-icon-action .wb-favorite-icon-stack,
.wb-account-product__favorite .wb-favorite-icon-stack {
  width: 24px;
  height: 24px;
}

.wb-account-product__favorite,
body.wb-account-page .wb-account-product__favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Favorites only. Geometry: WOOLBRIDGE.fig Desktop 0:45745, Mobile 0:68720. */
body.wb-account-page .wb-account-favorites-toolbar[hidden] {
  display: none;
}

body.wb-account-page .wb-account-list-panel:has(.wb-account-favorites) {
  min-height: 0;
  padding: 30px;
  border-radius: 16px;
  background: #fbfbfb;
  box-shadow: none;
}

body.wb-account-page .wb-account-list-panel:has(.wb-account-favorites) > .wb-account-section-title {
  margin: 0 0 20px;
  padding: 0;
  color: #1b1b1b;
  font-family: 'Magnet Trial', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
}

body.wb-account-page .wb-account-favorites .wb-account-favorite-list {
  display: grid;
  gap: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Guest favorites reuse the existing product list without the private account shell navigation. */
body.wb-account-page .wb-account-shell--favorites-guest .wb-account-panels {
  width: 100%;
  min-width: 0;
  margin: 0;
}

body.wb-account-page .wb-account-shell--favorites-guest .wb-account-list-panel {
  margin: 0;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 239px;
  grid-template-rows: 124px 40px 52px;
  column-gap: 10px;
  row-gap: 5px;
  align-items: start;
  width: 100%;
  min-width: 0;
  min-height: 266px;
  margin: 0;
  padding: 20px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  opacity: 1;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival {
  grid-template-rows: 59px 124px 40px 52px;
  min-height: 330px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__arrival {
  position: static;
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(601px, 100%);
  max-width: 100%;
  height: 54px;
  min-height: 54px;
  margin: 0;
  padding: 10px;
  border-radius: 16px;
  color: #1b1b1b;
  background: #ffeef5;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__arrival > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 34px;
  padding: 0 12px;
  border-radius: 16px;
  color: #fff;
  background: #ef85b5;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

body.wb-account-page .wb-account-favorites .wb-account-product__arrival-text {
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

body.wb-account-page .wb-account-favorites .wb-account-product__arrival-text strong {
  display: inline;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__media-col {
  grid-column: 1;
  grid-row: 1;
  display: block;
  justify-items: unset;
  align-self: start;
  width: 124px;
  min-width: 0;
  height: 124px;
  margin: 0;
  padding: 0;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__media-col,
body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__content {
  grid-row: 2;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__media {
  display: block;
  width: 124px;
  height: 124px;
  overflow: hidden;
  border-radius: 14px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__mobile-gallery {
  display: none;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__content {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  min-width: 0;
  margin: 0;
  padding: 0;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__articul {
  margin: 0 0 4px;
  color: #b3b3b3;
  font-family: 'Magnet Trial', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__title {
  max-width: none;
  margin: 0 0 8px;
  color: #1b1b1b;
  font-family: 'Magnet Trial', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 23.68px;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__title a {
  color: inherit;
  text-decoration: none;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__props {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__props li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid #535353;
  border-radius: 16px;
  color: #535353;
  background: #fff;
  font-family: 'Rounded Mplus 1c', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: normal;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__price-col {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  align-self: start;
  gap: 12px;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0;
  transform: translateY(-17px);
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__price-col {
  grid-row: 3;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-sale,
body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-price {
  flex: 0 0 auto;
  min-width: 0;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-sale > span,
body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-price > span {
  display: block;
  margin-bottom: 2px;
  color: #535353;
  font-family: 'Magnet Trial', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-sale strong,
body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-price strong {
  display: inline;
  color: #1b1b1b;
  font-family: 'Magnet Trial', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  white-space: nowrap;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-sale strong {
  color: #ff3f42;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-price del {
  display: inline;
  margin-left: 6px;
  color: #ff3f42;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__favorite-controls {
  display: contents;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__favorite-controls {
  display: contents;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__favorite {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0;
  transform: translateY(-17px);
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty > span {
  min-width: 15px;
  font-size: 14px;
  font-weight: 700;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-count {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: max-content;
  margin: 0 0 0 117px;
  white-space: nowrap;
  transform: translateY(-17px);
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-count > span,
body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-count > strong {
  display: block;
  margin: 0;
  color: #535353;
  font-family: 'Magnet Trial', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-count > strong {
  display: block;
  color: #1b1b1b;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-count > strong > [data-wb-account-qty-mirror] {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  white-space: nowrap;
}

/* Shared functional controls are direct CSS Grid items on desktop. */
body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__favorite,
body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product-qty,
body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product-count {
  grid-row: 3;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__unit-price {
  display: none;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action-col {
  position: static;
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: start;
  margin: 0;
  padding: 0;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__action-col {
  grid-row: 4;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action-col form {
  display: block;
  width: max-content;
  max-width: 100%;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 226px;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1.5px solid #f397c1;
  border-radius: 16px;
  color: #fff;
  background: #f397c1;
  font-family: 'Magnet Trial', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  transition: background-color 180ms ease, border-color 180ms ease;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action:not(.wb-account-product__action--notify):not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible) {
  color: #fff;
  background-color: #dd7eae;
  border-color: #dd7eae;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action:not(.wb-account-product__action--notify):focus-visible {
  outline: 2px solid #844c6a;
  outline-offset: 2px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action--notify {
  color: #f397c1;
  background: #fff;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action img {
  width: 20px;
  height: 20px;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite.is-disabled {
  opacity: 1;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite.is-disabled :is(.wb-account-product__media, .wb-account-product__content, .wb-account-product__price-col, .wb-account-product__favorite, .wb-account-product-qty, .wb-account-product-count, .wb-account-product__unit-price) {
  opacity: .55;
}

body.wb-account-page .wb-account-favorites .wb-account-product--favorite.is-disabled .wb-account-product__action-col {
  opacity: 1;
}

@media (max-width: 767.98px) {
  body.wb-account-page .wb-account-list-panel:has(.wb-account-favorites) {
    position: relative;
    left: 50%;
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 14px;
    transform: translateX(-50%);
    border-radius: 16px;
  }

  body.wb-account-page .wb-account-shell--favorites-guest {
    padding-top: 18px;
  }

  body.wb-account-page .wb-account-shell--favorites-guest .wb-account-panels {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  body.wb-account-page .wb-account-list-panel:has(.wb-account-favorites) > .wb-account-section-title {
    height: 35px;
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
  }

  body.wb-account-page .wb-account-favorites .wb-account-favorite-list {
    gap: 20px;
  }

  /* Mobile card height follows actual article, option chips, and preorder content. */
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite,
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 20px 14px;
    border: 0;
    border-radius: 14px;
    overflow-x: clip;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival {
    min-height: 0;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__arrival {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    height: auto;
    min-height: 88px;
    margin: 0 0 10px;
    padding: 10px;
    border-radius: 16px;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__arrival > span {
    min-height: 34px;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__media-col,
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__media-col {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 94px;
    margin: 0 0 14px;
    padding: 0;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__media {
    display: none;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__mobile-gallery {
    display: flex;
    gap: 4px;
    width: 100%;
    height: 94px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__mobile-gallery::-webkit-scrollbar {
    display: none;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__mobile-gallery a {
    display: block;
    flex: 0 0 94px;
    width: 94px;
    height: 94px;
    overflow: hidden;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__mobile-gallery img {
    display: block;
    width: 94px;
    height: 94px;
    border-radius: 14px;
    object-fit: cover;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__content,
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__content {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    white-space: normal;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__price-col,
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__price-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 197px);
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    flex: 0 0 auto;
    width: 100%;
    height: 48px;
    margin: 26px 0 0;
    padding: 0;
    transform: none;
  }

  /* Без скидки цену располагаем у левого края только на мобильной ширине. */
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__price-col:not(:has(.wb-account-product-sale)) {
    grid-template-columns: minmax(0, 1fr);
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__price-col:not(:has(.wb-account-product-sale)) .wb-account-product-price {
    grid-column: 1;
    justify-self: start;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__price-col :is(.wb-account-product-sale, .wb-account-product-price) {
    min-width: 0;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-price del {
    margin-left: 4px;
    font-size: 12px;
    line-height: 20px;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__favorite-controls,
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__favorite-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    /* Постоянная высота ряда исключает вертикальный сдвиг основной кнопки при входе товара в корзину. */
    height: 32px;
    min-height: 32px;
    margin: 26px 0 0;
    padding: 0;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__favorite {
    flex: 0 0 24px;
    width: 24px;
    min-width: 24px;
    height: 24px;
    /* Сердечко входит в тот же ряд: auto-margin разрывал расстояние до счётчика. */
    margin-right: 0;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty {
    display: inline-flex;
    align-self: center;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    height: 30px;
    margin: 0;
    transform: none;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    line-height: 30px;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-count {
    display: none;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__unit-price {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex: 0 0 auto;
    height: 30px;
    min-width: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action-col,
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite.has-arrival .wb-account-product__action-col {
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    height: 52px;
    margin: 10px 0 0;
    padding: 0;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action-col form,
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__action {
    width: 100%;
    height: 52px;
    min-height: 52px;
    border-radius: 16px;
  }

  body.wb-account-page .wb-account-favorites .wb-account-product--favorite.is-disabled .wb-account-product__mobile-gallery {
    opacity: .55;
  }
}

/* На десктопе цены остаются у правого края третьей колонки Grid.
   Смещение цены без скидки влево разрешено только в мобильном @media. */

/* Клиентская корзина является источником состояния: до чтения API действия недоступны. */
body.wb-account-page .wb-account-favorites .wb-account-product--favorite[data-cart-state="loading"] .wb-account-product__action {
  cursor: wait;
}

/* Вне корзины и при неоднозначных вариантах количество не меняется из карточки избранного. */
body.wb-account-page .wb-account-favorites .wb-account-product--favorite:not([data-cart-state="in"]) :is(.wb-account-product-qty, .wb-account-product-count, .wb-account-product__unit-price) {
  display: none;
}

/* Во всех состояниях сохраняется одинаковая высота мобильного ряда управления.
   Скрытие количества не должно сдвигать расположенную ниже кнопку корзины. */

/* Удаление корзинной строки подтверждается сервером; кнопка использует то же состояние hover. */
body.wb-account-page .wb-account-favorites .wb-account-product--favorite[data-cart-state="in"] .wb-account-product__action img {
  display: none;
}

body.wb-account-page .wb-account-favorites-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 42px 20px;
  text-align: center;
}

body.wb-account-page .wb-account-favorites-empty__title {
  margin: 0;
  color: #f397c1;
  font-size: 1.2rem;
  font-weight: 900;
}

body.wb-account-page .wb-account-favorites-empty__text {
  max-width: 420px;
  margin: 0;
  color: #8d8791;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Favorites V13. Local state and glyph rules; base layout remains unchanged. */
body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty button:is([data-wb-account-qty-plus], [data-wb-account-qty-minus]) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
}
body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty button:is([data-wb-account-qty-plus], [data-wb-account-qty-minus])::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty button[data-wb-account-qty-plus]::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  height: 10px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product-qty button[data-wb-account-qty-plus]:disabled {
  opacity: .4;
  pointer-events: none;
  cursor: not-allowed;
}
body.wb-account-page .wb-account-favorites .wb-account-product--favorite :is(.wb-account-product-qty, .wb-account-product-count, .wb-account-product__unit-price)[hidden],
body.wb-account-page .wb-account-favorites .wb-account-product--favorite:not([data-cart-state="in"]) :is(.wb-account-product-qty, .wb-account-product-count, .wb-account-product__unit-price) {
  display: none;
}
@media (min-width: 768px) {
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite :is(.wb-account-product-qty, .wb-account-product-count) {
    align-self: center;
  }
}
@media (min-width: 768px) {
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__price-col {
    justify-content: flex-end;
  }
}
@media (max-width: 767.98px) {
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__price-col:not(:has(.wb-account-product-sale)) {
    grid-template-columns: minmax(0, 1fr);
  }
  body.wb-account-page .wb-account-favorites .wb-account-product--favorite .wb-account-product__price-col:not(:has(.wb-account-product-sale)) .wb-account-product-price {
    grid-column: 1;
    justify-self: start;
  }
}

/* WB_FAVORITES_QTY_VISIBILITY_V14 */
/* Only quantity widgets are hidden. The favorite heart is never a target. */
.wb-account-favorites .wb-account-product--favorite:is([data-cart-state="out"], [data-cart-state="multiple"], [data-cart-state="unavailable"]) :is(.wb-account-product-qty, .wb-account-product-count),
.wb-account-favorites .wb-account-product--favorite:has(form:is([data-cart-state="add"], [data-cart-state="out"], [data-cart-state="multiple"], [data-cart-state="unavailable"])) :is(.wb-account-product-qty, .wb-account-product-count),
.wb-account-favorites .wb-account-product--favorite :is(.wb-account-product-qty, .wb-account-product-count)[hidden] {
    display: none !important;
}
