/* D24 PDP wish — PulseHeart island (P0 LIVE)
   Syncs visually from #wishBtn aria-pressed / .active. Does not own click/API. */
#wishBtn.d24-ph-host {
  position: relative;
  overflow: visible;
}
#wishBtn .d24-ph-root {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
#wishBtn.d24-ph-host > svg {
  position: relative;
  z-index: 1;
}
.d24-ph-ring {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(13, 148, 136, 0.55);
  opacity: 0;
  transform: scale(0.55);
}
.d24-ph-heart {
  width: 18px;
  height: 18px;
  color: inherit;
  opacity: 0; /* existing SVG remains the visible heart */
}
#wishBtn[aria-pressed="true"] .d24-ph-ring,
#wishBtn.active .d24-ph-ring {
  animation: d24-ph-pulse 1.1s ease-out;
}
#wishBtn[aria-pressed="true"] > svg,
#wishBtn.active > svg {
  animation: d24-ph-pop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
  color: #0d9488;
}
@keyframes d24-ph-pulse {
  0% { opacity: 0.7; transform: scale(0.55); }
  70% { opacity: 0.25; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.55); }
}
@keyframes d24-ph-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.28); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  #wishBtn[aria-pressed="true"] .d24-ph-ring,
  #wishBtn.active .d24-ph-ring,
  #wishBtn[aria-pressed="true"] > svg,
  #wishBtn.active > svg {
    animation: none !important;
  }
}
