.mb-wishlist-link {
  position: relative;
}

.mb-wishlist-link img {
  transition: opacity .18s ease;
}

.mb-wishlist-link.is-active img {
  opacity: 0;
}

.mb-wishlist-link.is-active::after {
  content: "\2665";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: #e1192b;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.mb-wishlist-count {
  position: absolute;
  top: -5px;
  right: -4px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d2a501;
  color: #061633;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

[data-mb-wishlist-toggle] {
  position: relative;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

[data-mb-wishlist-toggle].is-active:not(.mb-gp-wishlist-btn):not(.mb-gp-heart):not(.mb-gp-cs-heart) img {
  opacity: 0;
  filter: none !important;
}

[data-mb-wishlist-toggle].is-active:not(.mb-gp-wishlist-btn):not(.mb-gp-heart):not(.mb-gp-cs-heart)::after {
  content: "\2665";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #e1192b;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.mb-wishlist-page {
  padding: 44px 0 70px;
}

.mb-wishlist-page__head {
  margin-bottom: 24px;
}

.mb-wishlist-page__head h1 {
  margin: 0 0 8px;
  color: #143b60;
  font-size: 34px;
  line-height: 1.16;
  font-weight: 900;
}

.mb-wishlist-page__head p {
  margin: 0;
  color: #52677d;
  font-size: 15px;
}

.mb-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mb-wishlist-card,
.mb-wishlist-empty {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(10, 34, 56, .10);
}

.mb-wishlist-card {
  overflow: hidden;
}

.mb-wishlist-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 0;
  background: #f5f8fc;
  overflow: hidden;
}

.mb-wishlist-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mb-wishlist-card__body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.mb-wishlist-card__title {
  color: #102f50;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
  text-decoration: none;
}

.mb-wishlist-card__title:hover {
  color: #1d5f9a;
  text-decoration: none;
}

.mb-wishlist-card__body strong {
  color: #061633;
  font-size: 18px;
  font-weight: 900;
}

.mb-wishlist-card__actions {
  display: flex;
  gap: 10px;
}

.mb-wishlist-card__actions a,
.mb-wishlist-card__actions button,
.mb-wishlist-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #062656;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.mb-wishlist-card__actions button {
  background: #eef3f8;
  color: #263a4d;
}

.mb-wishlist-empty {
  padding: 34px;
  text-align: center;
}

.mb-wishlist-empty h2 {
  margin: 0 0 8px;
  color: #143b60;
}

.mb-wishlist-empty p {
  margin: 0 0 18px;
  color: #52677d;
}

.mb-product-wishlist-btn {
  position: relative;
}

.mb-product-wishlist-btn.is-active {
  box-shadow: none;
}

.mb-gp-wishlist-btn {
  cursor: pointer;
}

.mb-gp-wishlist-btn.is-active {
  background: #fff !important;
  color: #263a4d !important;
  border-color: rgba(187, 129, 32, .58) !important;
  box-shadow: none;
}

.mb-gp-wishlist-btn.is-active .mb-gp-svg,
.mb-gp-heart.is-active .mb-gp-svg,
.mb-gp-cs-heart.is-active .mb-gp-svg {
  color: #e1192b;
}

.mb-gp-wishlist-btn.is-active .mb-gp-svg path,
.mb-gp-heart.is-active .mb-gp-svg path,
.mb-gp-cs-heart.is-active .mb-gp-svg path {
  fill: #e1192b;
  stroke: #e1192b;
}

.mb-gp-heart.is-active,
.mb-gp-cs-heart.is-active {
  color: #e1192b;
}

@media (max-width: 1199px) {
  .mb-wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mb-wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .mb-wishlist-grid {
    grid-template-columns: 1fr;
  }
}
