/* カードは相対位置の基準にしておく */
.rw-product-card {
  position: relative;
}

/* 透明リンク：カード全面を覆うけど、一段下のレイヤーに */
.rw-card-link {
  position: absolute;
  inset: 0;          /* top:0; right:0; bottom:0; left:0 と同じ */
  z-index: 1;
}

/* お気に入りボタンはリンクより上に (z-index:2) */
.product__fav-item {
  position: relative;
  z-index: 2;
}

/* もし効きが弱ければボタン自体にも */
.product__fav-item .favorite-button {
  position: relative;
  z-index: 3;
}

.product__fav-item {
  text-align: right;
  margin-top: 5px;
}
