{{--
Heart toggle for one product. A real form, so it works without JS; the
`wishlist` Stimulus controller turns the submit into a fetch and flips
aria-pressed, which the CSS (group-aria-pressed) uses to swap the icons.
Usage:
--}}
@props(['productId'])
@php
$active = app(\App\Services\Wishlist::class)->has((int) $productId);
$addLabel = __('storefront.wishlist.add');
$removeLabel = __('storefront.wishlist.remove');
@endphp