.favorite-button {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  aspect-ratio: 1/1;

  background-color: var(--bg-primary);

  box-shadow: var(--shadow-primary);
  border-radius: 50%;

  .favorited {
    --fill: var(--red-100);
  }

  .counter {
    position: absolute;
    top: 100%;
    right: 0;
    transform: translate(+25%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 8px;

    color: var(--text-secondary);

    background-color: var(--bg-primary);
    box-shadow: var(--shadow-primary);
    border-radius: 20px;
  }
}
