/* Herz-Buttons und Favoriten im Vereinsdesign. */
.favorite-toggle[hidden],
.favorites-page [hidden],
.favorites-count[hidden] { display: none !important; }
.favorite-toggle {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    border: 1px solid var(--homeofgrizzlys-border);
    background: var(--homeofgrizzlys-black);
    color: var(--homeofgrizzlys-white);
    font-family: 'Exo 2', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.favorite-toggle svg { width: 22px; height: 22px; flex-shrink: 0; }
.favorite-toggle:hover,
.favorite-toggle[aria-pressed="true"] { background: var(--homeofgrizzlys-green); border-color: var(--homeofgrizzlys-green); }
.favorite-toggle[aria-pressed="true"] svg { fill: currentColor; }
.favorite-toggle:focus-visible { outline: 2px solid var(--homeofgrizzlys-white); outline-offset: 3px; }
.woocommerce ul.products li.product { position: relative; }
.favorite-toggle--catalog { position: absolute; top: 12px; right: 12px; z-index: 2; }
.woocommerce div.product div.images .favorite-toggle--detail {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 100;
}
.site-header .shop-actions .shop-favorites-link {
    position: relative;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    min-height: 44px;
}
.shop-favorites-link > svg { flex-shrink: 0; }
.favorites-count {
    position: absolute;
    top: 0;
    right: 0;
    box-sizing: border-box;
    min-width: 18px;
    padding: 2px 3px;
    background: var(--homeofgrizzlys-green);
    color: var(--homeofgrizzlys-white);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    letter-spacing: normal;
}
.favorites-summary { margin: 0 0 28px; font-size: 14px; color: var(--homeofgrizzlys-muted); }
.favorites-error { padding: 24px; border: 1px solid var(--homeofgrizzlys-border); margin-bottom: 28px; }
.favorites-error p { margin: 0 0 16px; }
.favorites-sync-status { padding: 16px; margin-bottom: 24px; border: 1px solid var(--homeofgrizzlys-border); }
.favorites-sync-status p { margin: 0 0 12px; color: var(--homeofgrizzlys-muted); }
.favorites-products ul.products { margin-bottom: 24px; }
@media (max-width: 900px) {
    .site-header .shop-actions .shop-favorites-link { height: 44px; min-height: 44px; }
    .favorites-count { top: 1px; right: 1px; }
    .favorite-toggle--catalog { top: 8px; right: 8px; }
    .woocommerce div.product div.images .favorite-toggle--detail { top: 8px; left: 8px; }
}
@media (prefers-reduced-motion: reduce) { .favorite-toggle { transition: none; } }
