/* Botão coração — favoritos */

.card__media,
.lp-card__media-wrap,
.pd-gallery__frame {
  position: relative;
}

.wishlist-btn--lp {
  top: 0.55rem;
  right: 0.55rem;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
}

.wishlist-btn--lp .wishlist-btn__icon {
  width: 17px;
  height: 17px;
}

.card__media .card__img {
  display: block;
}

.wishlist-btn {
  position: absolute;
  z-index: 3;
  top: 0.5rem;
  right: 0.5rem;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  box-shadow: 0 4px 14px rgba(18, 16, 14, 0.08);
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.wishlist-btn:hover {
  transform: scale(1.06);
  color: var(--gold-dark);
  background: #fff;
}

.wishlist-btn__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linejoin: round;
}

.wishlist-btn.is-active {
  color: var(--gold-deep);
}

.wishlist-btn.is-active .wishlist-btn__icon {
  fill: var(--gold-display, #c5a059);
  stroke: var(--gold-dark);
}

.wishlist-btn--pd {
  top: 0.65rem;
  right: 0.65rem;
  width: 42px;
  height: 42px;
}

.wishlist-btn--pd .wishlist-btn__icon {
  width: 20px;
  height: 20px;
}

.wishlist-btn.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

.hbtn--wishlist .wishlist-head-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.hbtn--wishlist.is-active .wishlist-head-icon {
  fill: var(--gold-display, #c5a059);
  stroke: var(--gold-dark);
}

.badge[hidden] {
  display: none !important;
}

.catalog-ml__grid .card__media {
  position: relative;
}

@media (max-width: 760px) {
  .hbtn--wishlist .hbtn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
}
