.bsj-card__wish {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(12, 29, 64, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #173c70;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(12, 29, 64, .14), inset 0 1px 0 rgba(255, 255, 255, .8);
  isolation: isolate;
  touch-action: manipulation;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}

@media (hover: hover) {
  .bsj-card__wish:hover {
    background: #fff;
    border-color: rgba(13, 57, 123, .22);
    color: #173c70;
    box-shadow: 0 8px 22px rgba(12, 29, 64, .2), inset 0 1px 0 #fff;
    transform: translateY(-1px) scale(1.06);
  }
}

.bsj-card__wish:active {
  box-shadow: 0 3px 10px rgba(12, 29, 64, .16);
  transform: scale(.94);
}

.bsj-card__wish:focus-visible {
  outline: 3px solid rgba(13, 57, 123, .34);
  outline-offset: 3px;
}

.bsj-card__wish[aria-pressed="true"] {
  background: linear-gradient(145deg, #f5f9ff, #fff);
  border-color: rgba(13, 57, 123, .2);
  color: #0d397b;
  box-shadow: 0 6px 18px rgba(13, 57, 123, .18), inset 0 1px 0 #fff;
}

.bsj-card__wish[aria-busy="true"] {
  cursor: wait;
  color: #0d397b;
}

.bsj-card__wish[aria-busy="true"] > span {
  opacity: 0;
}

.bsj-card__wish[aria-busy="true"]::after {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(13, 57, 123, .2);
  border-top-color: #0d397b;
  border-radius: 50%;
  content: "";
  position: absolute;
  animation: bsj-favorite-button-spin .7s linear infinite;
}

.bsj-card__wish[data-bsj-favorite-unavailable="true"] {
  cursor: not-allowed;
  opacity: .65;
}

.bsj-card__wish > span {
  display: grid;
  place-items: center;
  transition: opacity .15s ease, transform .18s ease;
}

.bsj-card__wish svg {
  display: block;
  width: 19px;
  height: 19px;
  overflow: visible;
}

.bsj-card__wish path {
  fill: rgba(255, 255, 255, .15);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill .18s ease, stroke .18s ease;
  vector-effect: non-scaling-stroke;
}

.bsj-card__wish[aria-pressed="true"] path {
  fill: currentColor;
}

.bsj-card__wish[aria-pressed="true"]:not([aria-busy="true"]) > span {
  animation: bsj-favorite-button-pop .28s cubic-bezier(.2, .8, .25, 1.25);
}

@keyframes bsj-favorite-button-spin {
  to { transform: rotate(360deg); }
}

@keyframes bsj-favorite-button-pop {
  0% { transform: scale(.75); }
  65% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

@media (max-width: 767px) {
  .bsj-card__wish {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .bsj-card__wish svg {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsj-card__wish {
    transition: none;
  }

  .bsj-card__wish[aria-pressed="true"]:not([aria-busy="true"]) > span,
  .bsj-card__wish[aria-busy="true"]::after {
    animation: none;
  }
}
