.store-favorite-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--store-color-text-muted);
    cursor: pointer;
    min-height: 44px;
    font-size: 13px;
    box-sizing: border-box;
}

.store-favorite-toggle:hover,
.store-favorite-toggle:focus,
.store-favorite-toggle:focus-visible {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.store-favorite-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.store-favorite-toggle__icon::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask: var(--store-icon-mask-heart) center / contain no-repeat;
    mask: var(--store-icon-mask-heart) center / contain no-repeat;
}

.store-favorite-toggle.is-favorited,
.store-favorite-toggle[data-favorited="1"] {
    color: var(--store-color-favorite);
}

.store-favorite-toggle.is-favorited:hover,
.store-favorite-toggle.is-favorited:focus,
.store-favorite-toggle.is-favorited:focus-visible,
.store-favorite-toggle[data-favorited="1"]:hover,
.store-favorite-toggle[data-favorited="1"]:focus,
.store-favorite-toggle[data-favorited="1"]:focus-visible {
    color: var(--store-color-favorite);
}

.store-favorite-toggle--card {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50% !important;
    background: var(--store-role-elevated-bg) !important;
    box-shadow: var(--store-shadow-control) !important;
    color: var(--store-color-text-muted);
}

.store-favorite-toggle--card:hover,
.store-favorite-toggle--card:focus,
.store-favorite-toggle--card:focus-visible {
    background: var(--store-role-elevated-bg) !important;
    box-shadow: var(--store-shadow-control) !important;
}

.store-favorite-toggle--card.is-favorited,
.store-favorite-toggle--card[data-favorited="1"] {
    color: var(--store-color-favorite);
}

.store-favorite-toggle--card.is-favorited:hover,
.store-favorite-toggle--card.is-favorited:focus,
.store-favorite-toggle--card.is-favorited:focus-visible,
.store-favorite-toggle--card[data-favorited="1"]:hover,
.store-favorite-toggle--card[data-favorited="1"]:focus,
.store-favorite-toggle--card[data-favorited="1"]:focus-visible {
    color: var(--store-color-favorite);
}

.store-favorite-toggle--card .store-favorite-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.store-favorite-toggle--card .store-favorite-toggle__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.store-favorite-toggle--card .store-favorite-toggle__icon::before {
    width: 18px;
    height: 18px;
}

.product-card-favorite {
    position: absolute;
    top: var(--store-space-3);
    right: var(--store-space-3);
    z-index: 3;
    padding: 4px;
    margin: -4px -4px 0 0;
    pointer-events: auto;
}

.store-product-detail__favorite {
    margin-bottom: var(--store-space-3, 12px);
}

.store-account-favorites__title {
    margin: 0 0 var(--store-space-5);
    font-size: 1.35rem;
    color: var(--store-color-title);
}

.store-account-favorites__empty {
    margin: 0;
    color: var(--store-color-text-muted);
}

.store-account-favorites__grid {
    margin-top: var(--store-space-4);
}
